/*
 * StrongSnow mobile homepage conversion pass.
 * Keep the offer section close to the first viewport without changing desktop.
 */
@media (max-width: 640px) {
  #page-home .hero {
    display: block !important;
  }

  #page-home .heroSide {
    display: none !important;
  }

  #page-home .heroBanner {
    min-height: 0 !important;
  }

  #page-home .heroText {
    height: auto !important;
    justify-content: flex-start !important;
    padding: 14px !important;
  }

  #page-home .heroTrustBar {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 5px !important;
    margin-bottom: 8px !important;
  }

  #page-home .heroTrustBar span:nth-child(2) {
    display: none !important;
  }

  #page-home .heroTrustBar span {
    min-width: 0;
    justify-content: center;
    overflow: hidden;
    white-space: nowrap;
    padding: 5px 6px !important;
    font-size: clamp(8px, 2.2vw, 9px) !important;
    letter-spacing: .02em !important;
  }

  #page-home .heroTrustBar .bi {
    flex: 0 0 auto;
  }

  #page-home .heroBanner .h1 {
    font-size: clamp(22px, 6vw, 24px) !important;
    line-height: 1.08 !important;
  }

  #page-home .heroText > .sp {
    height: 6px !important;
  }

  #page-home .heroSubtext {
    display: -webkit-box !important;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    max-width: none;
    font-size: 13px !important;
    line-height: 1.45 !important;
  }

  #page-home .heroStats {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    align-items: stretch;
    gap: 6px !important;
  }

  #page-home .heroStat {
    min-width: 0 !important;
    justify-content: center;
    padding: 8px 4px !important;
  }

  #page-home .heroStatValue {
    font-size: 20px !important;
  }

  #page-home .heroStatLabel {
    font-size: 9px !important;
    line-height: 1.2 !important;
    overflow-wrap: anywhere;
    hyphens: auto;
    text-align: center;
  }

  #page-home .heroText > .row.wrap {
    display: grid !important;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
    gap: 6px !important;
  }

  #page-home .heroCtaPrimary,
  #page-home .heroCtaSecondary {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 44px;
    padding: 9px 6px !important;
    font-size: 11px !important;
    line-height: 1.2 !important;
    text-align: center !important;
    justify-content: center !important;
  }

  #page-home .hero + .sp.lg {
    height: 14px !important;
  }
}

@media (max-width: 360px) {
  #page-home .heroTrustBar {
    grid-template-columns: 1fr;
  }

  #page-home .heroTrustBar span:nth-child(3),
  #page-home .heroCtaSecondary {
    display: none !important;
  }

  #page-home .heroText > .row.wrap {
    grid-template-columns: 1fr;
  }
}
