/* Lux membership — subscribe page + storefront CTAs */
html:has(.ms-page) {
  scroll-behavior: smooth;
}

.ms-page {
  --ms-navy: #0d1f38;
  --ms-gold: #d97706;
  --ms-gold-light: #fcd34d;
  --ms-green: #059669;
  --ms-muted: #64748b;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  padding-bottom: 3rem;
}

.ms-hero {
  background:
    radial-gradient(900px 420px at 12% 0%, rgba(217, 119, 6, 0.28), transparent 58%),
    linear-gradient(135deg, #0d1f38 0%, #1a3358 52%, #0f2744 100%);
  color: #fff;
  padding: clamp(2rem, 5vw, 3rem) 1rem 2.5rem;
}

.ms-hero__inner {
  max-width: 1080px;
  margin: 0 auto;
}

.ms-hero__eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ms-gold-light);
  margin: 0 0 0.65rem;
}

.ms-hero__title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.85rem, 4.5vw, 2.75rem);
  font-weight: 700;
  line-height: 1.12;
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
}

.ms-hero__lead {
  max-width: 42rem;
  margin: 0 0 1.25rem;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(0.95rem, 2vw, 1.05rem);
  line-height: 1.6;
}

.ms-hero__teaser {
  max-width: 42rem;
  margin: -0.5rem 0 1.25rem;
  color: var(--ms-gold-light, #f5d98a);
  font-size: clamp(0.9rem, 1.8vw, 1rem);
  font-weight: 600;
  line-height: 1.55;
}

.ms-hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.72rem 1.45rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #fbbf24 0%, #d97706 100%);
  color: #0f172a;
  font-size: 0.95rem;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 10px 26px rgba(245, 158, 11, 0.42);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.ms-hero__cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 32px rgba(245, 158, 11, 0.55);
  color: #0f172a;
  text-decoration: none;
}

.ms-hero__pricing {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
  align-items: center;
  margin-bottom: 1rem;
}

.ms-hero__price-chip {
  display: inline-flex;
  align-items: baseline;
  gap: 0.35rem;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 0.95rem;
}

.ms-hero__price-chip strong {
  font-size: 1.35rem;
  color: var(--ms-gold-light);
}

.ms-hero__save {
  color: #86efac;
  font-weight: 700;
  font-size: 0.88rem;
}

.ms-hero__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.ms-hero__pills span {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.ms-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.15rem;
}

.ms-hero__home-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.55rem 1.05rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.ms-hero__home-btn:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
  text-decoration: none;
}

.ms-layout {
  max-width: 1080px;
  margin: -1.5rem auto 0;
  padding: 0 1rem;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 1.25rem;
  align-items: start;
}

@media (max-width: 860px) {
  .ms-layout {
    grid-template-columns: 1fr;
    margin-top: 1rem;
  }
}

.ms-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
  padding: clamp(1.15rem, 3vw, 1.5rem);
}

.ms-card__title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--ms-navy);
  margin: 0 0 0.85rem;
}

.ms-benefits {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ms-benefits li {
  position: relative;
  padding-left: 1.65rem;
  margin-bottom: 0.75rem;
  color: #334155;
  line-height: 1.55;
  font-size: 0.95rem;
}

.ms-benefits li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0.05rem;
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 50%;
  background: #ecfdf5;
  color: var(--ms-green);
  font-size: 0.72rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ms-benefits li strong {
  color: var(--ms-navy);
}

.ms-note {
  margin: 1rem 0 0;
  font-size: 0.82rem;
  color: var(--ms-muted);
  line-height: 1.5;
}

.ms-billing-toggle {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.15rem;
  flex-wrap: wrap;
}

.ms-billing-option {
  flex: 1;
  min-width: 140px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
  padding: 0.75rem 0.9rem;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  cursor: pointer;
  background: #f8fafc;
  transition: border-color 0.15s, background 0.15s;
}

.ms-billing-option:has(input:checked) {
  border-color: var(--ms-gold);
  background: #fffbeb;
}

.ms-billing-option input {
  margin: 0;
}

.ms-billing-option__label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ms-muted);
}

.ms-billing-option__price {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--ms-navy);
}

.ms-billing-option__save {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--ms-green);
}

.ms-submit {
  width: 100%;
  border: none;
  border-radius: 12px;
  padding: 0.95rem 1.25rem;
  font-size: 1.05rem;
  font-weight: 800;
  cursor: pointer;
  color: #fff;
  background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
  box-shadow: 0 8px 24px rgba(217, 119, 6, 0.35);
  transition: transform 0.15s, box-shadow 0.15s;
}

.ms-submit:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(217, 119, 6, 0.42);
}

.ms-submit:disabled {
  opacity: 0.65;
  cursor: wait;
}

.ms-consent {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  margin: 1rem 0;
  font-size: 0.86rem;
  color: #475569;
  line-height: 1.45;
}

.ms-card-element {
  padding: 0.75rem;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  background: #fff;
  margin-bottom: 0.35rem;
}

.ms-card-errors {
  color: #b91c1c;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}

.ms-active-banner {
  max-width: 720px;
  margin: 2rem auto;
  padding: 1.25rem;
  border-radius: 12px;
  background: #ecfdf5;
  border: 1px solid #86efac;
  color: #065f46;
}

/* Storefront CTA buttons (homepage + credits) */
.lux-btn-membership,
.lux-hero-btn-membership {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.25rem 0.4rem;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.95rem;
  text-decoration: none;
  border: 2px solid rgba(52, 211, 153, 0.65);
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.95) 0%, rgba(5, 150, 105, 0.95) 100%);
  color: #fff !important;
  box-shadow: 0 8px 22px rgba(16, 185, 129, 0.28);
  transition: transform 0.15s, box-shadow 0.15s;
}

.lux-btn-membership:hover,
.lux-hero-btn-membership:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(16, 185, 129, 0.38);
  color: #fff !important;
}

.lux-membership-from {
  font-weight: 600;
  opacity: 0.95;
}

.lux-hero-btn-membership {
  font-size: clamp(0.88rem, 2vw, 0.98rem);
}

.lux-membership-promo {
  padding: clamp(1.75rem, 4vw, 2.5rem) 0;
  background: linear-gradient(180deg, #ecfdf5 0%, #f0fdf4 48%, #fff 100%);
  border-top: 1px solid #bbf7d0;
  border-bottom: 1px solid #e2e8f0;
}

.lux-membership-promo__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.lux-membership-promo__copy h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  margin: 0 0 0.45rem;
  color: var(--lux-ink, #0d1f38);
}

.lux-membership-promo__copy p {
  margin: 0;
  max-width: 36rem;
  color: #475569;
  line-height: 1.55;
}

.lux-membership-promo__eyebrow {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #059669;
  margin: 0 0 0.35rem;
}

.vd-hero-cta--membership {
  color: #ecfdf5 !important;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.92) 0%, rgba(5, 150, 105, 0.92) 100%) !important;
  border: 1px solid rgba(52, 211, 153, 0.65) !important;
  font-size: 0.92rem;
  padding: 0.75rem 1.2rem;
  font-weight: 800;
  border-radius: 999px;
  box-shadow: 0 6px 18px rgba(16, 185, 129, 0.25);
}

.vd-hero-cta--membership:hover {
  transform: translateY(-1px);
  color: #fff !important;
}

/* Membership email invite — homepage banner + subscribe FOMO */
.mm-invite-home-banner {
  background: linear-gradient(90deg, #0d1f38 0%, #134e4a 55%, #0d1f38 100%);
  border-bottom: 2px solid #f59e0b;
  color: #f8fafc;
  padding: 0.85rem 1rem;
  font-size: 0.92rem;
  line-height: 1.45;
}

.mm-invite-home-banner__inner {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  align-items: center;
  justify-content: space-between;
}

.mm-invite-home-banner__copy strong {
  color: #fcd34d;
}

.mm-invite-home-banner__cta {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #0f172a !important;
  font-weight: 800;
  font-size: 0.88rem;
  text-decoration: none !important;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
}

.mm-invite-home-banner__cta:hover {
  transform: translateY(-1px);
  color: #020617 !important;
}

.mm-invite-fomo {
  max-width: 1080px;
  margin: 0 auto 1rem;
  padding: 0 1rem;
}

.mm-invite-fomo--in-card {
  max-width: none;
  margin: 0 0 1.15rem;
  padding: 0;
}

.mm-invite-fomo__inner {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  padding: 1rem 1.15rem;
  border-radius: 12px;
  border: 1px solid #fbbf24;
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  color: #78350f;
  box-shadow: 0 8px 24px rgba(217, 119, 6, 0.12);
}

.mm-invite-fomo__icon {
  font-size: 1.35rem;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.mm-invite-fomo__copy {
  font-size: 0.9rem;
  line-height: 1.55;
  flex: 1;
  min-width: 0;
}

.mm-invite-fomo__headline {
  margin: 0 0 0.35rem;
}

.mm-invite-fomo__detail {
  margin: 0;
  color: #92400e;
}

.mm-invite-fomo__copy strong {
  color: #78350f;
}

.mm-invite-prefill-note {
  margin: 0 0 0.65rem;
  padding: 0.55rem 0.75rem;
  border-radius: 8px;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
  font-size: 0.84rem;
  line-height: 1.45;
}

.ms-card-element--readonly {
  background: #f1f5f9 !important;
  color: #475569;
  cursor: not-allowed;
}

/* Subscribe page — checkout + featured getaways */
body:has(.ms-page) .sf-sp-viewers-slot {
  display: none !important;
}

.ms-page .ms-layout {
  margin-top: clamp(1.75rem, 4vw, 2.75rem);
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}

.ms-page #membership-form {
  scroll-margin-top: 90px;
}

/* Featured getaways sits directly under the hero — blend the dark seam so the
   two navy sections read as one continuous, premium band (no white gap). */
.ms-page .lux-hero-bridge--subscribe {
  margin-top: 0;
  padding-top: clamp(2rem, 4vw, 2.75rem);
  padding-bottom: clamp(2.5rem, 5vw, 3.75rem);
  z-index: 0;
  background: linear-gradient(180deg, #0f2744 0%, #13243f 48%, #0f172a 100%);
}

.ms-page .lux-hero-bridge--subscribe::before {
  background: radial-gradient(ellipse 70% 55% at 50% 0%, rgba(217, 119, 6, 0.14), transparent 62%);
}

/* Match checkout column (1080px) — base-results .container has no margin:auto */
.ms-page .lux-hero-bridge--subscribe > .container {
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

body.layout-wide .ms-page .lux-hero-bridge--subscribe > .container {
  max-width: 1080px !important;
}

.ms-page .lux-hero-bridge--subscribe .lux-hero-bridge__intro {
  margin-bottom: 2rem;
}

/* Shorter cards so pricing + CTA stay visible without excessive scroll */
.ms-page .lux-hero-bridge--subscribe.lux-hero-bridge--ar-1-1 .lux-hero-bridge__media,
.ms-page .lux-hero-bridge--subscribe.lux-hero-bridge--ar-2-3 .lux-hero-bridge__media {
  aspect-ratio: 4 / 3;
}

.ms-page .lux-hero-bridge--subscribe .lux-dest-carousel__btn--prev {
  left: -1.35rem;
}

.ms-page .lux-hero-bridge--subscribe .lux-dest-carousel__btn--next {
  right: -1.35rem;
}

@media (max-width: 900px) {
  .ms-page .lux-hero-bridge--subscribe .lux-dest-carousel__btn--prev {
    left: -0.85rem;
  }

  .ms-page .lux-hero-bridge--subscribe .lux-dest-carousel__btn--next {
    right: -0.85rem;
  }
}

@media (max-width: 860px) {
  .ms-page .ms-layout {
    margin-bottom: 1.5rem;
  }

  .ms-page .lux-hero-bridge--subscribe {
    padding-top: 2.25rem;
    padding-bottom: 2.75rem;
  }
}
