/*
 * Recent Searches + Popular Destinations sections on the homepage.
 * Convention used throughout this codebase: dark = default (no data-theme
 * attribute, styled here), light = html[data-theme="light"] overrides in
 * theme.css.
 */

/* ---------- Shared section heading ---------- */
body.home-page .home-section-head{
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 16px;
}

body.home-page .home-section-title{
  margin: 0;
  font-family: var(--font-display, "Space Grotesk", sans-serif);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: rgba(238, 246, 255, 0.94);
}

body.home-page .home-section-sub{
  margin: 4px 0 0;
  font-size: 0.86rem;
  color: rgba(170, 188, 210, 0.62);
}

/* ---------- Recent searches ---------- */
body.home-page .home-recent-searches{
  padding: 28px 0 4px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  margin-top: 32px;
}

body.home-page .home-recent-searches[hidden]{
  display: none !important;
}

body.home-page .home-recent-searches{
  position: relative;
}

/* The viewport is the non-scrolling edge fade sits on — a real gradient
   overlay rather than a mask on the cards themselves, so the shadow reads
   clearly regardless of how dark the card background happens to be. */
body.home-page .home-recent-viewport{
  position: relative;
}

body.home-page .home-recent-viewport::before,
body.home-page .home-recent-viewport::after{
  content: "";
  position: absolute;
  top: 0;
  bottom: 8px;
  width: 28px;
  pointer-events: none;
  z-index: 2;
  opacity: 0;
  transition: opacity .18s ease;
}

/* Fully opaque only right at the edge, clear again by 70% of the strip —
   a 40px 0%-to-100% fade was wide enough to visibly dim legible text on
   short cards instead of reading as an edge cue. */
body.home-page .home-recent-viewport::before{
  left: 0;
  background: linear-gradient(to right, var(--bg, #06121a) 0%, transparent 70%);
}

body.home-page .home-recent-viewport::after{
  right: 0;
  background: linear-gradient(to left, var(--bg, #06121a) 0%, transparent 70%);
}

body.home-page .home-recent-searches.has-overflow-start .home-recent-viewport::before{
  opacity: 1;
}

body.home-page .home-recent-searches.has-overflow .home-recent-viewport::after{
  opacity: 1;
}

body.home-page .home-recent-scroll{
  display: flex;
  gap: 12px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  scroll-padding-inline: 4px;
  /* Horizontal scrolling clips transformed children, so reserve vertical
     breathing room for the card's hover lift and shadow. */
  padding: 10px 4px 8px;
  margin: -10px -4px 0;
  padding-left: 4px;
  /* Extra trailing space so the last card can scroll fully clear of the
     right-edge shadow instead of stopping flush underneath it. */
  padding-right: 28px;
  scrollbar-width: thin;
  scrollbar-color: rgba(148, 163, 184, 0.35) transparent;
}

body.home-page .home-recent-scroll::-webkit-scrollbar{
  height: 6px;
}

body.home-page .home-recent-scroll::-webkit-scrollbar-thumb{
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.3);
}

body.home-page .home-recent-card{
  flex: 0 0 auto;
  scroll-snap-align: start;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 280px;
  padding: 11px 16px 11px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.04);
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, transform 0.15s;
}

body.home-page .home-recent-card:hover,
body.home-page .home-recent-card:focus-visible{
  outline: none;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(148, 163, 184, 0.3);
  transform: translateY(-1px);
}

body.home-page .home-recent-icon{
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  background: rgba(99, 102, 241, 0.14);
  color: #818cf8;
}

body.home-page .home-recent-icon svg{
  width: 16px;
  height: 16px;
}

body.home-page .home-recent-text{
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

body.home-page .home-recent-title{
  font-size: 0.86rem;
  font-weight: 650;
  color: rgba(238, 246, 255, 0.94);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 210px;
}

body.home-page .home-recent-sub{
  font-size: 0.74rem;
  color: rgba(170, 188, 210, 0.6);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 210px;
}


/* ---------- Popular flights near you ---------- */
body.home-page .home-popular-flights{
  padding: 28px 0 4px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  margin-top: 32px;
}

body.home-page .home-flights-tabs{
  display: flex;
  gap: 24px;
  margin: 4px 0 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}

body.home-page .home-flights-tab{
  position: relative;
  padding: 0 2px 12px;
  border: 0;
  background: transparent;
  color: rgba(170, 188, 210, 0.72);
  font-family: inherit;
  font-size: 0.94rem;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.15s ease;
}

body.home-page .home-flights-tab::after{
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  border-radius: 2px;
  background: transparent;
  transition: background 0.15s ease;
}

body.home-page .home-flights-tab:hover{
  color: rgba(238, 246, 255, 0.9);
}

body.home-page .home-flights-tab.is-active{
  color: rgba(238, 246, 255, 0.96);
}

body.home-page .home-flights-tab.is-active::after{
  background: #818cf8;
}

body.home-page .home-flights-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

body.home-page .home-flight-card{
  display: flex;
  flex-direction: column;
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  border-radius: 14px;
  transition: transform 0.15s ease;
}

body.home-page .home-flight-card:hover,
body.home-page .home-flight-card:focus-visible{
  outline: none;
  transform: translateY(-2px);
}

body.home-page .home-flight-photo{
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  border-radius: 14px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

body.home-page .home-flight-img{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

body.home-page .home-flight-card:hover .home-flight-img{
  transform: scale(1.04);
}

body.home-page .home-flight-price-badge{
  position: absolute;
  left: 10px;
  bottom: 10px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(8, 12, 24, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #fff;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

body.home-page .home-flight-body{
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 10px;
}

body.home-page .home-flight-route{
  font-size: 0.92rem;
  font-weight: 700;
  color: rgba(238, 246, 255, 0.96);
}

body.home-page .home-flight-meta{
  font-size: 0.8rem;
  color: rgba(170, 188, 210, 0.68);
}

body.home-page .home-flights-note{
  margin: 8px 0 0;
  font-size: 0.86rem;
  color: rgba(170, 188, 210, 0.62);
}

/* Skeleton loading state — shown from first paint until geolocation +
   live-pricing resolve, then swapped for real cards by JS. */
@keyframes home-flight-shimmer{
  0%{ background-position: -200% 0; }
  100%{ background-position: 200% 0; }
}

body.home-page .home-flight-card.is-skeleton{
  cursor: default;
  pointer-events: none;
}

body.home-page .home-flight-card.is-skeleton .home-flight-photo,
body.home-page .home-flight-sk-line{
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.04) 25%, rgba(255, 255, 255, 0.09) 37%, rgba(255, 255, 255, 0.04) 63%);
  background-size: 200% 100%;
  animation: home-flight-shimmer 1.6s ease-in-out infinite;
}

body.home-page .home-flight-card.is-skeleton .home-flight-body{
  margin-top: 10px;
  gap: 6px;
}

body.home-page .home-flight-sk-line{
  display: block;
  height: 12px;
  border-radius: 6px;
}

body.home-page .home-flight-sk-line--title{
  width: 70%;
}

body.home-page .home-flight-sk-line--sub{
  width: 45%;
  height: 10px;
}

@media (max-width: 1024px){
  body.home-page .home-flights-grid{
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px){
  body.home-page .home-recent-searches,
  body.home-page .home-popular-flights{
    padding-top: 22px;
    margin-top: 24px;
  }

  body.home-page .home-recent-card{
    max-width: 240px;
  }

  body.home-page .home-flights-tabs{
    gap: 18px;
  }
}

@media (max-width: 480px){
  body.home-page .home-flights-grid{
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }
}

/* ============================================================================
   Rewards marketing band + Member Price merchandising
   (Expedia-style: gradient member-savings banner under the hero; green
   deal badges and struck compare-at prices on every card below.)
   ========================================================================= */

body.home-page .home-promo{
  order: 0;
  margin-top: 42px;
}

body.home-page .home-promo-banner{
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  padding: 38px 40px;
  border-radius: 20px;
  overflow: hidden;
  background:
    radial-gradient(46rem 20rem at 88% -30%, rgba(255, 255, 255, .16), transparent 60%),
    radial-gradient(30rem 16rem at -8% 130%, rgba(255, 255, 255, .10), transparent 55%),
    linear-gradient(118deg, #4338ca 0%, #5b34d4 52%, #6d28d9 100%);
  box-shadow: 0 18px 40px -18px rgba(67, 56, 202, .5);
}

/* Decorative concentric rings, echoing a route map. */
body.home-page .home-promo-banner::before,
body.home-page .home-promo-banner::after{
  content: "";
  position: absolute;
  border-radius: 999px;
  border: 1.5px solid rgba(255, 255, 255, .13);
  pointer-events: none;
}
body.home-page .home-promo-banner::before{
  width: 380px; height: 380px;
  right: -90px; top: -190px;
}
body.home-page .home-promo-banner::after{
  width: 230px; height: 230px;
  right: 40px; top: -140px;
  border-color: rgba(255, 255, 255, .09);
}

body.home-page .home-promo-copy{
  position: relative;
  min-width: 0;
  flex: 1;
}

body.home-page .home-promo-kicker{
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, .85);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}
body.home-page .home-promo-kicker svg{ width: 13px; height: 13px; }

body.home-page .home-promo-title{
  margin: 0;
  max-width: 480px;
  color: #fff;
  font-size: clamp(21px, 2.4vw, 28px);
  font-weight: 750;
  letter-spacing: -.02em;
  line-height: 1.2;
}

body.home-page .home-promo-sub{
  margin: 8px 0 0;
  max-width: 460px;
  color: rgba(255, 255, 255, .82);
  font-size: 14.5px;
  line-height: 21px;
}

/* Three-up feature row: Member Prices / Fare Alerts / Faster Checkout,
   divided by hairlines, echoing the icon-strip every OTA membership
   banner runs under its headline. */
body.home-page .home-promo-features{
  position: relative;
  list-style: none;
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 4px 0;
  margin: 24px 0 0;
  padding: 0;
}

body.home-page .home-promo-feature{
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 24px;
  border-left: 1px solid rgba(255, 255, 255, .18);
}
body.home-page .home-promo-feature:first-child{
  padding-left: 0;
  border-left: none;
}

body.home-page .home-promo-feature-icon{
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .16);
  color: #fff;
}
body.home-page .home-promo-feature-icon svg{ width: 19px; height: 19px; }

body.home-page .home-promo-feature-text{
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
body.home-page .home-promo-feature-text strong{
  color: #fff;
  font-size: 13.5px;
  font-weight: 700;
}
body.home-page .home-promo-feature-text span{
  color: rgba(255, 255, 255, .72);
  font-size: 12px;
  line-height: 1.35;
  white-space: nowrap;
}

/* Right column: stacked CTA buttons above a floating Member Price card. */
body.home-page .home-promo-side{
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 22px;
  flex: none;
  width: 190px;
}

body.home-page .home-promo-actions{
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
}

/* a{color:inherit!important} in style.css otherwise repaints these. */
body.home-page .home-promo-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 46px;
  padding: 0 26px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none !important;
  white-space: nowrap;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
}
body.home-page .home-promo-btn svg{ width: 15px; height: 15px; flex: none; }

body.home-page .home-promo-btn--solid{
  background: #fff;
  color: #312e81 !important;
  box-shadow: 0 2px 10px rgba(8, 12, 40, .25);
}
body.home-page .home-promo-btn--solid:hover{
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(8, 12, 40, .3);
}

body.home-page .home-promo-btn--ghost{
  border: 1.5px solid rgba(255, 255, 255, .45);
  color: #fff !important;
}
body.home-page .home-promo-btn--ghost:hover{
  background: rgba(255, 255, 255, .1);
  border-color: rgba(255, 255, 255, .7);
}

/* Floating "Member Price" merchandising card — stands in for the photo
   overlay treatment, right on the gradient itself. */
body.home-page .home-promo-price-card{
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 16px 18px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 16px 32px -12px rgba(15, 10, 50, .5);
}

body.home-page .home-promo-price-card-head{
  display: flex;
  align-items: center;
  gap: 8px;
  color: #4338ca;
  font-size: 12.5px;
  font-weight: 700;
}

body.home-page .home-promo-price-card-icon{
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #ede9fe;
  color: #4338ca;
}
body.home-page .home-promo-price-card-icon svg{ width: 11px; height: 11px; }

body.home-page .home-promo-price-card-amount{
  color: #0f172a;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -.02em;
}
body.home-page .home-promo-price-card-amount s{
  margin-left: 6px;
  color: #94a3b8;
  font-size: 15px;
  font-weight: 600;
  text-decoration: line-through;
}

body.home-page .home-promo-price-card-save{
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 5px;
  padding: 4px 10px 4px 8px;
  border-radius: 999px;
  background: #dcfce7;
  color: #15803d;
  font-size: 11.5px;
  font-weight: 700;
}
body.home-page .home-promo-price-card-save svg{ width: 10px; height: 10px; }

/* Signed-in confirmation variant: quieter, no CTA row. */
body.home-page .home-promo-banner--member{
  padding: 24px 38px;
  align-items: center;
  background:
    radial-gradient(40rem 18rem at 90% -40%, rgba(255, 255, 255, .12), transparent 60%),
    linear-gradient(118deg, #047857 0%, #059467 100%);
  box-shadow: 0 16px 36px -18px rgba(4, 120, 87, .45);
}

@media (max-width: 860px){
  body.home-page .home-promo{ margin-top: 30px; }
  body.home-page .home-promo-banner{
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
    padding: 28px 22px;
  }
  body.home-page .home-promo-features{ flex-direction: column; gap: 14px; }
  body.home-page .home-promo-feature{ border-left: none; padding: 0; }
  body.home-page .home-promo-side{ width: auto; }
  body.home-page .home-promo-actions{ flex-direction: column; align-items: stretch; }
  body.home-page .home-promo-btn{ width: 100%; }
}

/* ── Shared merchandising atoms ─────────────────────────────────────────── */

/* Green deal badge pinned to card photos. */
body.home-page .home-deal-badge{
  position: absolute;
  left: 10px;
  top: 10px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  padding: 4px 9px;
  border-radius: 999px;
  background: #067647;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .01em;
  box-shadow: 0 2px 8px rgba(6, 118, 71, .35);
}

/* Struck compare-at + bold member fare + green tag under flight cards. */
body.home-page .home-flight-price-row{
  display: flex;
  align-items: baseline;
  gap: 7px;
  margin-top: 7px;
  flex-wrap: wrap;
}

body.home-page .home-flight-strike{
  color: rgba(15, 23, 42, .38);
  font-size: .82rem;
  font-weight: 500;
}

body.home-page .home-flight-price{
  color: #0f172a;
  font-size: 1.06rem;
  font-weight: 750;
  letter-spacing: -.01em;
}

body.home-page .home-member-tag{
  color: #067647;
  font-size: .74rem;
  font-weight: 700;
}

body.home-page .home-flight-price-note{
  margin-top: 1px;
  color: rgba(15, 23, 42, .45);
  font-size: .76rem;
}

/* Card polish: white card with hairline + hover lift, Expedia-like. */
body.home-page .home-flight-card{
  border: 1px solid rgba(15, 23, 42, .09);
  border-radius: 16px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(16, 24, 40, .04);
  transition: transform .18s ease, box-shadow .18s ease;
}

body.home-page .home-flight-card:hover,
body.home-page .home-flight-card:focus-visible{
  transform: translateY(-3px);
  box-shadow: 0 14px 28px -12px rgba(16, 24, 40, .18);
}

body.home-page .home-flight-photo{
  aspect-ratio: 16 / 10;
  border-radius: 0;
  border: 0;
}

body.home-page .home-flight-body{
  padding: 12px 14px 14px;
  margin-top: 0;
}

body.home-page .home-flight-card.is-skeleton .home-flight-body{ padding: 12px 14px 14px; }

/* ============================================================================
   Skairova Rewards — photo membership campaign
   The component markup intentionally stays the same: only the visual layer
   changes, preserving the existing account links and signed-in variant.
   ============================================================================ */
body.home-page .home-promo{
  margin-top: 26px;
}

body.home-page .home-promo-banner{
  min-height: 160px;
  align-items: center;
  gap: 0;
  padding: 18px 48px;
  border-radius: 20px;
  background:
    radial-gradient(40rem 27rem at 39% 50%, rgba(111, 41, 238, .54), transparent 60%),
    linear-gradient(108deg, #101f8f 0%, #1f1899 44%, #5e2fbe 75%, #9e61c3 100%);
  box-shadow: 0 18px 42px -22px rgba(32, 25, 119, .62);
  isolation: isolate;
}

/* The original generated hotel photograph is cropped by an ellipse so its
   curved leading edge feels built into the promotion rather than bolted on. */
body.home-page .home-promo-banner::before{
  z-index: -1;
  inset: 0 0 0 auto;
  width: 62%;
  height: 100%;
  border: 0;
  border-radius: 0;
  background:
    linear-gradient(90deg, rgba(23, 17, 135, .45), rgba(23, 17, 135, 0) 30%),
    url("img/rewards-hotel-dusk.png") center right / cover no-repeat;
  clip-path: ellipse(92% 108% at 100% 50%);
}

body.home-page .home-promo-banner::after{
  z-index: -1;
  width: 510px;
  height: 510px;
  right: 28%;
  top: 50%;
  border: 1.5px solid rgba(255, 255, 255, .26);
  transform: translateY(-50%);
  box-shadow: 0 0 0 54px rgba(255, 255, 255, .055);
}

body.home-page .home-promo-copy{
  position: static;
  z-index: 1;
  flex: 0 1 48%;
  max-width: 570px;
}

body.home-page .home-promo-kicker{
  gap: 9px;
  margin-bottom: 5px;
  color: rgba(255, 255, 255, .92);
  font-size: 11px;
  letter-spacing: .13em;
}
body.home-page .home-promo-kicker svg{ width: 15px; height: 15px; }

body.home-page .home-promo-title{
  max-width: 550px;
  font-size: clamp(24px, 1.9vw, 30px);
  font-weight: 760;
  letter-spacing: -.04em;
  line-height: 1.04;
  text-wrap: balance;
}

body.home-page .home-promo-sub{
  max-width: 530px;
  margin-top: 7px;
  color: rgba(255, 255, 255, .93);
  font-size: 13px;
  line-height: 1.35;
}

body.home-page .home-promo-features{
  position: absolute;
  z-index: 1;
  bottom: 14px;
  left: 48px;
  max-width: 590px;
  margin: 0;
  flex-wrap: nowrap;
}

body.home-page .home-promo-feature{
  flex: 1 1 0;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  min-width: 0;
  padding: 0 14px;
}
body.home-page .home-promo-feature-icon{
  width: 34px;
  height: 34px;
  background: linear-gradient(145deg, #7841f5, #4d1dd1);
  box-shadow: 0 9px 18px rgba(22, 12, 101, .35), inset 0 1px 0 rgba(255, 255, 255, .17);
}
body.home-page .home-promo-feature-icon svg{ width: 16px; height: 16px; }
body.home-page .home-promo-feature-text strong{ font-size: 11px; }
body.home-page .home-promo-feature-text span{
  display: none;
}

/* Keep the calls to action high over the photograph, while the price tile
   sits by the curved media edge exactly like a hotel rate overlay. */
body.home-page .home-promo-side{
  position: absolute;
  z-index: 2;
  top: 50%;
  right: 34px;
  width: 190px;
  transform: translateY(-50%);
}
body.home-page .home-promo-actions{ gap: 7px; }
body.home-page .home-promo-btn{
  height: 39px;
  padding: 0 16px;
  font-size: 13px;
  font-weight: 750;
  letter-spacing: -.015em;
  border: 1px solid transparent;
  box-shadow: none;
  transition: transform .16s ease, background-color .16s ease, border-color .16s ease, box-shadow .16s ease, color .16s ease;
}
body.home-page .home-promo-btn--solid{
  color: #4520ce !important;
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(16, 9, 74, .2), inset 0 1px 0 rgba(255, 255, 255, .9);
}
body.home-page .home-promo-btn--solid:hover,
body.home-page .home-promo-btn--solid:focus-visible{
  background: #e9e5ff;
  color: #2f169e !important;
  box-shadow: 0 8px 18px rgba(16, 9, 74, .28);
  transform: translateY(-1px);
}
body.home-page .home-promo-btn--solid svg{
  width: 14px;
  height: 14px;
  transition: transform .16s ease;
}
body.home-page .home-promo-btn--solid:hover svg{ transform: translateX(3px); }
body.home-page .home-promo-btn:focus-visible{
  outline: 3px solid rgba(255, 255, 255, .68);
  outline-offset: 2px;
}
body.home-page .home-promo-btn--ghost{
  border-color: rgba(255, 255, 255, .52);
  background: rgba(23, 14, 88, .34);
  color: rgba(255, 255, 255, .96) !important;
  backdrop-filter: blur(8px);
}
body.home-page .home-promo-btn--ghost:hover,
body.home-page .home-promo-btn--ghost:focus-visible{
  border-color: #ffffff;
  background: rgba(255, 255, 255, .16);
  color: #ffffff !important;
  transform: translateY(-1px);
}

body.home-page .home-promo-price-card{
  position: absolute;
  top: 54px;
  right: calc(100% + 96px);
  width: 180px;
  gap: 5px;
  padding: 12px 15px;
  border-radius: 15px;
  box-shadow: 0 18px 38px -14px rgba(11, 4, 56, .48);
}

@media (min-width: 901px){
  /* In the compact campaign strip, conversion actions take priority. */
  body.home-page .home-promo-price-card,
  body.home-page .home-promo-features{ display: none; }
}
body.home-page .home-promo-price-card-head{
  color: #4c2acf;
  font-size: 13px;
}
body.home-page .home-promo-price-card-icon{
  position: absolute;
  top: -22px;
  right: -17px;
  width: 46px;
  height: 46px;
  background: linear-gradient(145deg, #7545f5, #4e1ed1);
  color: #fff;
  box-shadow: 0 12px 20px rgba(46, 15, 158, .34);
}
body.home-page .home-promo-price-card-icon svg{ width: 20px; height: 20px; }
body.home-page .home-promo-price-card-amount{
  color: #5331dc;
  font-size: 25px;
  line-height: 1;
}
body.home-page .home-promo-price-card-amount s{ font-size: 13px; }
body.home-page .home-promo-price-card-save{
  align-self: stretch;
  justify-content: center;
  min-height: 24px;
  padding: 5px 10px;
  background: linear-gradient(90deg, #e2f8e9, #d7f6e5);
  color: #169653;
  font-size: 10px;
}

body.home-page .home-promo-banner--member{
  min-height: 0;
  padding: 30px 46px;
  background: linear-gradient(110deg, #075b54, #06816d);
}
body.home-page .home-promo-banner--member::before{ display: none; }
body.home-page .home-promo-banner--member::after{
  width: 360px;
  height: 360px;
  right: -92px;
  top: -162px;
  transform: none;
  box-shadow: none;
}

@media (max-width: 1080px){
  body.home-page .home-promo-banner{ padding: 18px 36px; }
  body.home-page .home-promo-side{ right: 28px; }
  body.home-page .home-promo-price-card{ right: calc(100% + 56px); }
  body.home-page .home-promo-feature{ padding-inline: 14px; }
  body.home-page .home-promo-features{ left: 40px; }
}

@media (max-width: 900px){
  body.home-page .home-promo-banner{
    min-height: 0;
    padding: 32px 26px;
  }
  body.home-page .home-promo-banner::before{ width: 64%; opacity: .56; }
  body.home-page .home-promo-banner::after{ display: none; }
  body.home-page .home-promo-copy{ max-width: 550px; flex-basis: 58%; }
  body.home-page .home-promo-title{ font-size: clamp(30px, 5vw, 42px); }
  body.home-page .home-promo-features{
    position: relative;
    bottom: auto;
    left: auto;
    margin-top: 28px;
  }
  body.home-page .home-promo-side{ top: 32px; right: 26px; width: 205px; }
  body.home-page .home-promo-price-card{
    top: 146px;
    right: calc(100% + 24px);
    width: 190px;
    padding: 18px 20px;
  }
  body.home-page .home-promo-price-card-amount{ font-size: 30px; }
}

@media (max-width: 720px){
  body.home-page .home-promo-banner{
    flex-direction: column;
    gap: 26px;
    padding: 30px 22px;
    background: linear-gradient(145deg, #171e9f, #5a2ac5);
  }
  body.home-page .home-promo-banner::before{
    width: 100%;
    opacity: .22;
    clip-path: none;
  }
  body.home-page .home-promo-copy{ max-width: none; flex-basis: auto; }
  body.home-page .home-promo-title{ max-width: 430px; font-size: clamp(30px, 9vw, 42px); }
  body.home-page .home-promo-sub{ margin-top: 14px; font-size: 15px; }
  body.home-page .home-promo-features{
    position: relative;
    bottom: auto;
    left: auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px 0;
    margin-top: 28px;
  }
  body.home-page .home-promo-feature{ padding-inline: 12px; }
  body.home-page .home-promo-feature:first-child{ padding-left: 0; }
  body.home-page .home-promo-feature-icon{ width: 44px; height: 44px; }
  body.home-page .home-promo-feature-icon svg{ width: 21px; height: 21px; }
  body.home-page .home-promo-feature-text strong{ font-size: 12px; }
  body.home-page .home-promo-feature-text span{ font-size: 11px; }
  body.home-page .home-promo-side{
    position: relative;
    top: auto;
    right: auto;
    width: 100%;
    /* The desktop side rail is vertically centered with translateY(). Once
       it becomes a normal mobile block, reset that transform so it cannot
       pull the CTAs up over the benefit icons. */
    transform: none;
  }
  body.home-page .home-promo-actions{ flex-direction: row; }
  body.home-page .home-promo-btn{ flex: 1; padding-inline: 14px; font-size: 14px; }
  body.home-page .home-promo-price-card{ display: none; }
}

@media (max-width: 440px){
  /* One decisive action, then a quiet recovery path. Two full-width pills
     make this compact layout look like a duplicate CTA stack. */
  body.home-page .home-promo-actions{
    flex-direction: column;
    gap: 8px;
  }
  body.home-page .home-promo-btn--solid{
    min-height: 46px;
    font-size: 15px;
    border-radius: 14px;
  }
  body.home-page .home-promo-btn--ghost{
    flex: 0 0 auto;
    align-self: center;
    width: auto;
    height: 26px;
    min-height: 26px;
    padding: 0 8px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: rgba(255, 255, 255, .9) !important;
    font-size: 13px;
    font-weight: 650;
    text-decoration: underline !important;
    text-decoration-color: rgba(255, 255, 255, .52) !important;
    text-underline-offset: 3px;
    backdrop-filter: none;
  }
  body.home-page .home-promo-btn--ghost:hover,
  body.home-page .home-promo-btn--ghost:focus-visible{
    border: 0;
    background: transparent;
    color: #ffffff !important;
    transform: none;
  }
  body.home-page .home-promo-feature{ padding-inline: 8px; }
  body.home-page .home-promo-feature-text span{ display: none; }
}
