/*
 * InviteStory — Digital Wedding Card Templates
 * Direction: Refined Heritage
 * A confident, editorial take on the Indian wedding paper aesthetic — warm
 * paper grounds, deep ink, a single champagne-gold accent, and Cormorant
 * Garamond leading display moments like a boutique design magazine.
 */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,500;0,600;0,700;1,400;1,500;1,600&family=Inter:wght@300;400;500;600;700&family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
  /* ─── Surface System — Warm Paper Hierarchy ───────────────────── */
  /*   Page background, section panels, and elevated surfaces are all
       variations of the same warm paper family. No pure whites. */
  --paper-page: #f4ede0;        /* main page — slightly darker, grounds the surface */
  --paper-surface: #faf4e8;     /* section panels, cards */
  --paper-card: #fdf8ee;        /* elevated cards / hero plates */
  --paper-cream: #fdf6e7;       /* deepest cream, contrast accent */
  --paper-rim: rgba(78, 58, 30, 0.10);

  /* ─── Ink — Text & Numerals ─────────────────────────────────────── */
  --ink-primary: #1c160d;        /* deep coffee ink, headlines */
  --ink-body: #3b3024;           /* body text */
  --ink-muted: #6e5e4a;          /* secondary text */
  --ink-faint: #9b8d77;          /* meta, microcopy */
  --ink-on-dark: #f6efde;        /* text on dark surfaces */

  /* Legacy aliases — keep so older rules still resolve */
  --color-bg-white: var(--paper-card);
  --color-bg-gray: var(--paper-page);
  --color-bg-elevated: var(--paper-card);
  --color-text-dark: var(--ink-primary);
  --color-text-soft: var(--ink-body);
  --color-text-gray: var(--ink-muted);
  --color-text-muted: var(--ink-faint);
  --color-border: var(--paper-rim);
  --color-border-dark: rgba(78, 58, 30, 0.22);

  /* ─── Accent — Champagne Gold (single accent, used with restraint) ─ */
  --gold-100: #f5e7c2;
  --gold-200: #e8cf91;
  --gold-400: #c8a25a;
  --gold-500: #a88342;   /* primary gold */
  --gold-600: #8a6a2c;
  --gold-700: #5d4719;
  --color-accent: var(--gold-500);
  --color-accent-hover: var(--gold-400);
  --color-accent-deep: var(--gold-600);
  --color-accent-soft: #f1e4c2;
  --color-accent-wash: #f8efd7;

  /* System neutrals (kept for utility only — no rainbow use) */
  --color-system-green: #2c8a4a;
  --color-system-green-hover: #247839;
  --color-system-red: #d34646;
  --color-system-blue: #2c6cc4;
  --color-system-blue-hover: #235ba8;

  /* ─── Typography Stack ──────────────────────────────────────────── */
  /*  Cormorant Garamond leads as the editorial display serif.
      Outfit for compact UI labels. Inter for body. */
  --font-serif: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  --font-header: 'Outfit', -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro", "Helvetica Neue", Helvetica, Arial, sans-serif;

  /* ─── Type scale (editorial rhythm — generous display, tight body) ─ */
  --text-display: clamp(2.6rem, 5.2vw + 0.5rem, 4.4rem);
  --text-h1: clamp(2.05rem, 3.4vw + 0.4rem, 3.1rem);
  --text-h2: clamp(1.7rem, 2vw + 0.6rem, 2.4rem);
  --text-h3: clamp(1.25rem, 0.8vw + 0.7rem, 1.5rem);
  --text-body: 0.97rem;
  --text-body-lg: 1.06rem;
  --text-small: 0.86rem;
  --text-tiny: 0.74rem;
  --text-micro: 0.68rem;

  /* ─── Spacing scale (8pt grid with editorial generosity) ────────── */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 88px;
  --space-10: 120px;
  --section-y: clamp(72px, 9vw, 128px);

  /* ─── Radius — softer, more paper-like ──────────────────────────── */
  --touch-target-min: 44px;
  --radius-xs: 4px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  /* ─── Motion — slower, more deliberate ──────────────────────────── */
  --ease-refined: cubic-bezier(0.32, 0.72, 0.24, 1);
  --ease-editorial: cubic-bezier(0.16, 0.84, 0.36, 1);
  --transition-smooth: all 0.45s var(--ease-refined);
  --transition-fast: all 0.22s var(--ease-refined);
  --transition-press: transform 0.18s var(--ease-refined);

  /* ─── Shadows — warm tinted, soft falloff ──────────────────────── */
  --shadow-subtle: 0 1px 2px rgba(60, 42, 16, 0.04), 0 2px 8px rgba(60, 42, 16, 0.05);
  --shadow-card: 0 1px 2px rgba(60, 42, 16, 0.05), 0 8px 28px rgba(60, 42, 16, 0.08);
  --shadow-premium: 0 2px 4px rgba(60, 42, 16, 0.04), 0 24px 60px rgba(60, 42, 16, 0.14);
  --shadow-modal: 0 24px 80px rgba(20, 14, 4, 0.4);

  /* Legacy aliases */
  --color-brand-forest: #0d2620;
  --color-brand-gold: var(--color-accent);
  --color-brand-gold-hover: var(--color-accent-hover);
  --color-brand-gold-light: var(--color-accent-soft);
  --color-brand-gold-dark: var(--color-accent-deep);
  --border-radius-sm: var(--radius-sm);
  --border-radius-md: var(--radius-md);
  --border-radius-squircle: var(--radius-md);
  --border-radius-large: var(--radius-lg);
  --border-radius-pill: var(--radius-pill);
  --color-modal-scrim: rgba(20, 14, 4, 0.5);
}

/* Reset system */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  scroll-padding-bottom: 180px;
  scroll-padding-top: 80px;
  text-rendering: optimizeLegibility;
}

body {
  font-family: var(--font-body);
  background-color: var(--paper-page);
  color: var(--ink-primary);
  line-height: 1.62;
  font-size: var(--text-body);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  position: relative;
  transition: background-color 0.6s ease;
  font-feature-settings: "ss01", "cv11";
  letter-spacing: 0;
}

/* Page-level ambient glow — fixed at the bottom-center where the floating
   tier bar lives. Color shifts subtly based on the selected tier via
   :has() + body, creating an "atmosphere" that matches the tier mood.
   Kept subtle (damped opacity, small radius) so it reads as paper warmth,
   not a glow effect. */
body::after {
  content: '';
  position: fixed;
  left: 50%;
  bottom: -160px;
  width: min(720px, 90vw);
  height: 360px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(176, 138, 74, 0.10) 0%, rgba(176, 138, 74, 0.04) 35%, transparent 70%);
  pointer-events: none;
  z-index: 1;
  opacity: 0.5;
  filter: blur(28px);
  transition: background 0.7s ease, opacity 0.7s ease;
}

body:has(#glass-all:checked)::after {
  background: radial-gradient(ellipse at center, rgba(40, 40, 50, 0.08) 0%, rgba(40, 40, 50, 0.03) 35%, transparent 70%);
  opacity: 0.4;
}

body:has(#glass-dearly:checked)::after {
  background: radial-gradient(ellipse at center, rgba(139, 58, 93, 0.22) 0%, rgba(139, 58, 93, 0.08) 35%, transparent 70%);
  opacity: 0.7;
}

body:has(#glass-premium:checked)::after {
  background: radial-gradient(ellipse at center, rgba(160, 92, 117, 0.20) 0%, rgba(160, 92, 117, 0.06) 35%, transparent 70%);
  opacity: 0.66;
}

body:has(#glass-luxury:checked)::after {
  background: radial-gradient(ellipse at center, rgba(212, 175, 55, 0.22) 0%, rgba(212, 175, 55, 0.08) 35%, transparent 70%);
  opacity: 0.7;
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 500;
  color: var(--ink-primary);
  letter-spacing: -0.015em;
  line-height: 1.1;
}

p {
  color: var(--ink-body);
  line-height: 1.68;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

::selection {
  background: var(--color-accent-soft);
  color: var(--color-text-dark);
}

/* Core Container */
.container {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
}

.text-center {
  text-align: center;
}

.gold-text {
  color: var(--color-brand-gold);
}

/* Buttons — Locked shape & motion system */
.btn {
  display: inline-flex;
  align-items: flex-start;
  justify-content: center;
  min-height: var(--touch-target-min);
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-small);
  cursor: pointer;
  transition: var(--transition-fast);
  gap: 8px;
  border: 1px solid transparent;
  letter-spacing: -0.005em;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  line-height: 1.2;
}

.btn:active,
.filter-tag:active,
.glass-radio-group label:active,
.pricing-card-cta:active,
.btn-hero-primary:active,
.btn-hero-whatsapp:active {
  transform: scale(0.97);
  transition: var(--transition-press);
}

.btn-primary {
  background-color: var(--color-text-dark);
  color: var(--color-bg-white);
}

.btn-primary:hover {
  background-color: #000000;
  box-shadow: 0 6px 18px rgba(22, 22, 26, 0.18);
  transform: translateY(-1px);
}

.btn-gold {
  background-color: var(--color-accent);
  color: #ffffff;
}

.btn-gold:hover {
  background-color: var(--color-accent-hover);
  box-shadow: 0 6px 18px rgba(176, 138, 74, 0.30);
  transform: translateY(-1px);
}

.btn-outline {
  background-color: var(--color-bg-white);
  border: 1px solid var(--color-border-dark);
  color: var(--color-text-dark);
}

.btn-outline:hover {
  background-color: var(--color-accent-wash);
  border-color: var(--color-accent);
  color: var(--color-accent-deep);
  transform: translateY(-1px);
}

/* Header bar */
.header-bar {
  border-bottom: 1px solid var(--paper-rim);
  background-color: rgba(253, 248, 238, 0.82);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 0 rgba(78, 58, 30, 0.04), 0 8px 24px -16px rgba(78, 58, 30, 0.18);
}

/* --- PROMO TOP STRIP --- */
.promo-top-bar {
  background: linear-gradient(180deg, #161208 0%, #221a0d 50%, #161208 100%);
  color: #ffffff;
  padding: 10px 0;
  font-size: var(--text-small);
  border-bottom: 1px solid rgba(176, 138, 74, 0.35);
  position: relative;
  z-index: 100;
}

.promo-top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: nowrap;
}

.promo-top-bar-left {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.promo-badge-tag {
  background: rgba(176, 138, 74, 0.14);
  color: #d6b87c;
  border: 1px solid rgba(176, 138, 74, 0.40);
  font-size: var(--text-micro);
  font-weight: 700;
  letter-spacing: 0.10em;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  white-space: nowrap;
}

.promo-top-text {
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
  font-size: var(--text-small);
  letter-spacing: 0.005em;
  white-space: nowrap;
}

.promo-price-highlight {
  color: #d6b87c;
  font-weight: 800;
  font-size: 0.95rem;
}

.promo-top-bar-right {
  display: inline-flex;
  align-items: center;
}

.promo-top-timer-wrap {
  font-size: var(--text-small);
  color: rgba(255, 255, 255, 0.72);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.promo-timer-highlight {
  color: #d6b87c;
  font-family: var(--font-body);
  font-size: var(--text-small);
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 3px 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: var(--radius-pill);
}

/* ===== LUXURY SHOWROOM HERO ===== */
.hero-showroom {
  padding: clamp(52px, 8vw, 88px) 0 clamp(44px, 7vw, 72px);
  position: relative;
  background:
    radial-gradient(ellipse 70% 45% at 50% 0%, rgba(192, 149, 89, 0.12) 0%, transparent 70%),
    linear-gradient(180deg, #0d0714 0%, #170f22 50%, #0d0714 100%);
  border-bottom: 1px solid rgba(192, 149, 89, 0.18);
  color: #ffffff;
  text-align: center;
  overflow: hidden;
}

.hero-showroom .container {
  max-width: 1040px;
}

.hero-brand-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(192, 149, 89, 0.12);
  border: 1px solid rgba(192, 149, 89, 0.35);
  color: #ecd9ac;
  font-family: var(--font-header);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: var(--radius-pill);
  margin-bottom: 22px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}

.hero-headline {
  font-family: var(--font-header);
  font-size: clamp(2.3rem, 5.2vw, 3.8rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: #ffffff;
  margin-bottom: 18px;
}

.hero-headline-highlight {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: #dfb877;
  letter-spacing: 0.01em;
}

.hero-subheadline {
  font-size: clamp(1rem, 1.8vw, 1.18rem);
  color: rgba(243, 237, 218, 0.85);
  max-width: 680px;
  margin: 0 auto 28px;
  line-height: 1.6;
  font-weight: 350;
}

/* Primary Action CTA + WhatsApp link */
.hero-action-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}

@media (max-width: 768px) {
  .hero-action-wrapper {
    display: flex;
  }
}

.hero-primary-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, #dfb877 0%, #c09559 100%);
  color: #120c1f;
  font-family: var(--font-header);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  padding: 15px 36px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(192, 149, 89, 0.32), 0 1px 0 rgba(255, 255, 255, 0.4) inset;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-primary-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(192, 149, 89, 0.45), 0 1px 0 rgba(255, 255, 255, 0.5) inset;
  color: #120c1f;
}

.hero-wa-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #25d366;
  color: #ffffff !important;
  font-family: var(--font-header);
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  padding: 15px 30px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.35);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1), background 0.25s ease;
}

.hero-wa-cta:hover {
  transform: translateY(-2px);
  background: #22bf5b;
  box-shadow: 0 14px 36px rgba(37, 211, 102, 0.5);
  color: #ffffff !important;
}

.hero-wa-cta:active {
  transform: scale(0.98);
}

.hero-cta-arrow {
  font-size: 1.15em;
  transition: transform 0.2s ease;
}

.hero-primary-cta:hover .hero-cta-arrow {
  transform: translateX(4px);
}

.hero-secondary-action {
  font-size: 0.88rem;
  color: rgba(243, 237, 218, 0.7);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-wa-link {
  color: #25d366;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color 0.2s ease;
}

.hero-wa-link:hover {
  color: #4ade80;
  text-decoration: underline;
}

/* Trust Proof Row directly under CTA */
.hero-proof-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 0.88rem;
  color: rgba(243, 237, 218, 0.85);
  margin-bottom: 42px;
}

.hero-proof-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-star-rating {
  color: #dfb877;
  font-weight: 700;
}

.hero-proof-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(243, 237, 218, 0.35);
}

.hero-proof-divider {
  display: inline-block;
  width: 1px;
  height: 12px;
  background: rgba(83, 65, 42, 0.32);
  vertical-align: middle;
}

.hero-proof-price {
  font-weight: 600;
  color: #ecd9ac;
}

.showroom-card {
  flex: 0 1 270px;
  border-radius: 18px;
  background: #1a1424;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.45);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease;
  user-select: none;
}

.showroom-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6), 0 0 24px rgba(192, 149, 89, 0.25);
  border-color: rgba(212, 175, 55, 0.6);
  z-index: 5 !important;
}

.showroom-card-classic {
  transform: rotate(-2.5deg) translateY(8px);
  z-index: 1;
}

.showroom-card-premium.is-hero-center {
  flex: 0 1 300px;
  transform: translateY(-8px) scale(1.06);
  z-index: 3;
  border: 1.5px solid rgba(212, 175, 55, 0.7);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55), 0 0 30px rgba(192, 149, 89, 0.18);
}

.showroom-card-luxury {
  transform: rotate(2.5deg) translateY(8px);
  z-index: 1;
  border-color: rgba(192, 149, 89, 0.4);
}

.showroom-popular-pill {
  position: absolute;
  top: 10px;
  right: 12px;
  background: #dfb877;
  color: #120c1f;
  font-family: var(--font-header);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 9999px;
  z-index: 4;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.showroom-card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #120c1f;
}

.showroom-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.showroom-card:hover .showroom-card-img {
  transform: scale(1.06);
}

.showroom-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(13, 7, 20, 0.85) 100%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 16px;
  opacity: 0.85;
  transition: opacity 0.3s ease;
}

.showroom-card:hover .showroom-card-overlay {
  opacity: 1;
  background: linear-gradient(180deg, rgba(13, 7, 20, 0.2) 0%, rgba(13, 7, 20, 0.85) 100%);
}

.showroom-play-badge {
  background: rgba(20, 14, 4, 0.45);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #ffd166;
  border: 1.5px solid rgba(255, 209, 102, 0.6);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.02em;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4), 0 0 10px rgba(255, 209, 102, 0.25);
  transition: all 0.25s ease;
}

/* Classic Showroom Badge */
.showroom-card-classic .showroom-play-badge {
  color: #a7f3d0;
  border-color: rgba(167, 243, 208, 0.6);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4), 0 0 10px rgba(52, 211, 153, 0.25);
}
.showroom-card-classic:hover .showroom-play-badge {
  background: linear-gradient(135deg, #a7f3d0 0%, #34d399 100%);
  color: #062419;
  border-color: rgba(200, 250, 220, 0.95);
  box-shadow: 0 4px 18px rgba(16, 185, 129, 0.5), 0 0 14px rgba(52, 211, 153, 0.35);
}

/* Premium Showroom Badge */
.showroom-card-premium .showroom-play-badge {
  color: #fbcfe8;
  border-color: rgba(251, 207, 232, 0.6);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4), 0 0 10px rgba(244, 114, 182, 0.25);
}
.showroom-card-premium:hover .showroom-play-badge {
  background: linear-gradient(135deg, #fbcfe8 0%, #f472b6 100%);
  color: #2b0818;
  border-color: rgba(255, 225, 240, 0.95);
  box-shadow: 0 4px 18px rgba(236, 72, 153, 0.5), 0 0 14px rgba(244, 114, 182, 0.35);
}

/* Luxury Showroom Badge */
.showroom-card-luxury .showroom-play-badge {
  color: #ffd166;
  border-color: rgba(255, 209, 102, 0.6);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4), 0 0 10px rgba(255, 209, 102, 0.25);
}
.showroom-card-luxury:hover .showroom-play-badge {
  background: linear-gradient(135deg, #f5d77f 0%, #dfb877 100%);
  color: #120c1f;
  border-color: rgba(255, 240, 170, 0.95);
  box-shadow: 0 4px 18px rgba(223, 184, 119, 0.5), 0 0 14px rgba(245, 215, 127, 0.35);
}

.showroom-card-footer {
  padding: 14px 16px 16px;
  background: #140d1f;
  text-align: left;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.showroom-tier-tag {
  font-family: var(--font-header);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: inline-block;
  margin-bottom: 4px;
}

.showroom-tier-tag.tier-classic {
  color: #a8d5ba;
}

.showroom-tier-tag.tier-premium {
  color: #dfb877;
}

.showroom-tier-tag.tier-luxury {
  color: #e5b4f3;
}

.showroom-card-title {
  font-family: var(--font-header);
  font-size: 0.92rem;
  font-weight: 600;
  color: #ffffff;
  margin: 0;
  line-height: 1.3;
}

.hero-showroom-caption {
  font-size: 0.82rem;
  color: rgba(243, 237, 218, 0.6);
  margin-top: 24px;
  letter-spacing: 0.01em;
}

@media (max-width: 768px) {
  .hero-showroom-caption {
    display: none;
  }
  .hero-proof-strip {
    margin-bottom: 8px;
  }
}

.how-it-works-header {
  text-align: center;
  margin-bottom: 24px;
}

.how-section-title {
  font-family: var(--font-header);
  font-size: var(--text-h3);
  font-weight: 600;
  color: var(--color-text-dark);
  margin-bottom: 4px;
  letter-spacing: -0.012em;
}

.how-section-subtitle {
  font-size: var(--text-small);
  color: var(--color-text-gray);
}

.how-steps-visible {
  display: block !important;
  opacity: 1 !important;
  max-height: none !important;
}

.catalogue-trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: stretch;
  gap: 0;
  background: var(--color-bg-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 0;
  margin-bottom: 20px;
  box-shadow: var(--shadow-subtle);
  overflow: hidden;
}

.catalogue-trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  position: relative;
  border-right: 1px solid var(--color-border);
}

.catalogue-trust-item:last-child {
  border-right: none;
}

.catalogue-trust-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  border-radius: 8px;
  background: var(--color-accent-wash);
  color: var(--color-accent-deep);
}

.catalogue-trust-icon svg {
  width: 16px;
  height: 16px;
}

.catalogue-trust-content {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
  line-height: 1.2;
}

.catalogue-trust-content strong {
  color: var(--color-text-dark);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: -0.005em;
  white-space: nowrap;
}

.catalogue-trust-content span {
  color: var(--color-text-gray);
  font-size: 0.66rem;
  font-weight: 400;
  letter-spacing: 0.005em;
  white-space: nowrap;
}

@media (max-width: 900px) {
  .catalogue-trust-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .catalogue-trust-item {
    border-right: none;
    border-bottom: 1px solid var(--color-border);
    padding: 12px 18px;
  }

  .catalogue-trust-item:nth-child(odd) {
    border-right: 1px solid var(--color-border);
  }

  .catalogue-trust-item:nth-last-child(-n+2) {
    border-bottom: none;
  }
}

@media (max-width: 520px) {
  .catalogue-trust-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .catalogue-trust-item {
    padding: 11px 14px;
    gap: 8px;
  }

  .catalogue-trust-icon {
    width: 28px;
    height: 28px;
  }

  .catalogue-trust-icon svg {
    width: 14px;
    height: 14px;
  }

  .catalogue-trust-content strong {
    font-size: 0.72rem;
  }

  .catalogue-trust-content span {
    font-size: 0.62rem;
  }
}

.promo-urgency-banner {
  background: var(--color-bg-white);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

@media (max-width: 600px) {
  .promo-top-bar-inner {
    justify-content: center;
    text-align: center;
  }
  .hero-promo {
    padding-top: 32px;
    padding-bottom: 32px;
  }
  .hero-promo-badge {
    display: none;
  }
  .hero-desc {
    font-size: 0.92rem;
    color: var(--color-text-soft);
    line-height: 1.55;
  }
}

/* Mobile: drop the sticky behavior so the header doesn't clip the
   top of cards in the catalogue section as the user scrolls past. */
@media (max-width: 900px) {
  .header-bar {
    position: relative;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.logo-img {
  height: 30px;
  width: auto;
  max-width: 140px;
  filter: saturate(105%);
}

/* Hero Section */
.hero {
  padding: 36px 0 24px;
  text-align: center;
}

.hero-title {
  font-family: var(--font-header);
  font-size: var(--text-display);
  font-weight: 500;
  line-height: 1.06;
  color: var(--color-text-dark);
  margin-bottom: 18px;
  letter-spacing: -0.025em;
  max-width: 16ch;
  margin-left: auto;
  margin-right: auto;
}

.hero-title span {
  font-weight: 600;
  font-style: italic;
  color: var(--color-accent-deep);
}

.hero-desc {
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--color-text-soft);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.6;
  letter-spacing: -0.005em;
}

@media (max-width: 600px) {
  .hero {
    padding: 16px 0 8px;
  }

  .hero-title {
    font-size: clamp(2rem, 8vw, 2.5rem);
    line-height: 1.08;
    margin-bottom: 12px;
    max-width: 14ch;
  }

  .hero-desc {
    font-size: 0.92rem;
    max-width: 320px;
    line-height: 1.5;
  }
}

/* Pricing Grid */
.pricing-section {
  padding: var(--section-y) 0;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}

.pricing-card {
  background-color: var(--color-bg-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 32px 24px 28px;
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-subtle);
  position: relative;
  overflow: hidden;
}

.pricing-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--color-border);
  transition: var(--transition-fast);
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
  border-color: var(--color-border-dark);
}

/* Premium Card (Featured Hero Plan - MOST POPULAR) */
.pricing-card.featured,
.pricing-card.pricing-card-premium {
  border: 1.5px solid #16161a;
  background: var(--color-bg-white);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 1) inset, 0 18px 44px rgba(22, 22, 26, 0.09);
  transform: translateY(-6px);
}

.pricing-card.featured::after,
.pricing-card.pricing-card-premium::after {
  background: linear-gradient(90deg, #16161a 0%, var(--color-accent) 50%, #16161a 100%);
  height: 4px;
}

.pricing-card.featured:hover,
.pricing-card.pricing-card-premium:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 50px rgba(22, 22, 26, 0.13);
}

/* Luxury Card (Prestige with subtle gold warmth) */
.pricing-card.pricing-card-luxury {
  border: 1px solid rgba(192, 149, 89, 0.5);
  box-shadow: 0 8px 30px rgba(192, 149, 89, 0.08);
}

.pricing-card.pricing-card-luxury::after {
  background: linear-gradient(90deg, transparent 0%, #c09559 50%, transparent 100%);
  height: 3px;
}

.pricing-card.pricing-card-luxury:hover {
  border-color: #c09559;
  box-shadow: 0 12px 36px rgba(192, 149, 89, 0.16);
}

/* Most Popular Badge */
.pricing-popular-badge {
  position: absolute;
  top: 0;
  right: 18px;
  background: #16161a;
  color: #f3edda;
  font-family: var(--font-header);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px 5px;
  border-bottom-left-radius: 6px;
  border-bottom-right-radius: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.pricing-card-header {
  margin-bottom: 12px;
}

.pricing-card-name {
  font-family: var(--font-header);
  font-size: var(--text-small);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  color: var(--color-text-gray);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
}

.pricing-card-price-row {
  display: flex;
  align-items: baseline;
  margin-bottom: 8px;
}

.pricing-card-price {
  font-family: var(--font-header);
  font-size: 2.35rem;
  font-weight: 700;
  color: var(--color-text-dark);
  letter-spacing: -0.03em;
  line-height: 1;
}

.pricing-card-currency-symbol {
  font-size: 1.55rem;
  font-weight: 500;
  color: var(--color-text-gray);
  margin-right: 1px;
}

.pricing-card-tagline {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-text-dark);
  margin-bottom: 16px;
  line-height: 1.35;
}

.pricing-card-features {
  list-style: none;
  padding: 0;
  margin: 0 0 24px 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
  flex-grow: 1;
}

.pricing-card-feature-item {
  font-size: 0.86rem;
  color: var(--color-text-soft);
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.4;
}

.pricing-feature-icon {
  flex-shrink: 0;
  width: 15px;
  height: 15px;
  color: var(--color-accent-deep);
  margin-top: 2px;
}

.pricing-card-cta {
  display: block;
  text-align: center;
  border: 1px solid var(--color-border-dark);
  color: var(--color-text-dark);
  padding: 11px;
  border-radius: var(--radius-pill);
  font-size: var(--text-small);
  font-weight: 600;
  transition: var(--transition-fast);
  background: var(--color-bg-white);
  letter-spacing: -0.005em;
  text-decoration: none;
  cursor: pointer;
}

/* Premium CTA (High contrast hero) */
.pricing-card.featured .pricing-card-cta,
.pricing-card.pricing-card-premium .pricing-card-cta {
  background-color: var(--color-text-dark);
  color: #ffffff;
  border-color: var(--color-text-dark);
  box-shadow: 0 4px 14px rgba(22, 22, 26, 0.15);
}

.pricing-card.featured .pricing-card-cta:hover,
.pricing-card.pricing-card-premium .pricing-card-cta:hover {
  background-color: #000000;
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(22, 22, 26, 0.25);
  transform: translateY(-1px);
}

/* Luxury CTA (Subtle prestigious champagne warmth, not aggressive black) */
.pricing-card.pricing-card-luxury .pricing-card-cta {
  background: rgba(192, 149, 89, 0.08);
  border-color: rgba(192, 149, 89, 0.6);
  color: #845d24;
}

.pricing-card.pricing-card-luxury .pricing-card-cta:hover {
  background: #c09559;
  border-color: #c09559;
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(192, 149, 89, 0.25);
  transform: translateY(-1px);
}

.pricing-card-cta:hover {
  background: var(--color-accent-wash);
  border-color: var(--color-accent);
  color: var(--color-accent-deep);
}

/* Pricing Reassurance Bar */
.pricing-reassurance {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 24px;
  font-size: 0.88rem;
  color: var(--color-text-muted);
  text-align: center;
  flex-wrap: wrap;
}

.pricing-reassurance-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.pricing-reassurance-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: var(--color-border-dark);
  opacity: 0.6;
}

/* Catalogue Controls */
.catalogue-section {
  padding: var(--section-y) 0 calc(var(--section-y) + 180px);
  border-top: 1px solid var(--color-border);
  background: var(--color-bg-gray);
  transition: background 0.6s ease;
  position: relative;
}

/* Catalogue section picks up the tier's ambient tint via the body
   :has() selector — soft wash that fits each tier's character. */
body:has(#glass-dearly:checked) .catalogue-section {
  background: linear-gradient(180deg, var(--color-bg-gray) 0%, #f6eaf0 100%);
}

body:has(#glass-premium:checked) .catalogue-section {
  background: linear-gradient(180deg, var(--color-bg-gray) 0%, #f5e8ec 100%);
}

body:has(#glass-luxury:checked) .catalogue-section {
  background: linear-gradient(180deg, var(--color-bg-gray) 0%, #f4ead4 100%);
}

@media (max-width: 600px) {
  .catalogue-section {
    padding: 56px 0 180px;
  }
}

.controls-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 0;
  margin-bottom: 36px;
  background: none;
  border: none;
  box-shadow: none;
}

@media (max-width: 768px) {
  .controls-card {
    display: flex;
    align-items: stretch;
    gap: 10px;
    margin-bottom: 24px;
    padding: 0 4px;
  }
  .controls-card .search-box-wrapper { max-width: none; }
  .filter-tags-row {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 2px 0 6px;
    scrollbar-width: none;
  }
  .filter-tags-row::-webkit-scrollbar { display: none; }
  .filter-tags-row .filter-tag { flex: 0 0 auto; }
}

.search-box-wrapper {
  position: relative;
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
}

.search-input {
  width: 100%;
  min-height: var(--touch-target-min);
  padding: 12px 44px 12px 46px;
  border: 1px solid var(--color-border);
  background-color: var(--color-bg-white);
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 0.92rem;
  outline: none;
  transition: var(--transition-fast);
  color: var(--color-text-dark);
  box-shadow: var(--shadow-subtle);
}

.search-input:focus {
  border-color: var(--color-accent);
  background-color: var(--color-bg-white);
  box-shadow: 0 0 0 3px rgba(176, 138, 74, 0.16);
}

.search-input::placeholder {
  color: var(--color-text-muted);
}

.search-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-text-muted);
  width: 17px;
  height: 17px;
  stroke-width: 2;
}

.clear-search-btn {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--color-bg-gray);
  border: none;
  color: var(--color-text-soft);
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  transition: var(--transition-fast);
}

.clear-search-btn:hover {
  background: var(--color-accent-soft);
  color: var(--color-accent-deep);
}

.clear-search-btn svg {
  width: 12px;
  height: 12px;
}

.filter-tags-row {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  width: 100%;
  padding: 4px 0;
}

.filter-tag {
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 18px;
  background-color: var(--color-bg-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--color-text-soft);
  cursor: pointer;
  transition: var(--transition-fast);
  letter-spacing: -0.005em;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.filter-tag:hover {
  border-color: var(--color-accent);
  color: var(--color-accent-deep);
  background: var(--color-accent-wash);
}

.filter-tag.active {
  background-color: var(--color-text-dark);
  color: #ffffff;
  border-color: var(--color-text-dark);
  box-shadow: 0 4px 14px rgba(22, 22, 26, 0.18);
  font-weight: 600;
}

/* =====================================================
   Tier Selector — Glass Radio Group (Uiverse.io by chase2k25)
   Adapted for 4 options (All / Classic / Premium / Luxury),
   rendered inside the floating mobile-app bottom nav bar.
   ===================================================== */

.tier-floating-nav {
  position: fixed;
  bottom: 24px;
  left: 0;
  right: 0;
  margin: 0 auto;
  z-index: 50;
  pointer-events: none;
  width: fit-content;
  max-width: calc(100vw - 24px);
  display: flex;
  justify-content: center;
  align-items: center;
}

@media (max-width: 480px) {
  .tier-floating-nav {
    bottom: 14px;
    left: 0;
    right: 0;
    margin: 0 auto;
    max-width: calc(100vw - 16px);
  }
  .glass-radio-group label {
    min-width: 56px;
    font-size: 0.70rem;
    padding: 0.5rem 0.6rem;
    gap: 4px;
  }
  .tier-meta {
    font-size: 0.62rem;
    opacity: 0.65;
  }
}

.tier-floating-nav > .glass-radio-group {
  pointer-events: auto;
  box-shadow:
    0 8px 28px rgba(22, 14, 4, 0.16),
    0 2px 6px rgba(22, 14, 4, 0.06),
    0 0 0 1px rgba(22, 14, 4, 0.04);
  transition: background 0.45s ease, box-shadow 0.45s ease, border-color 0.45s ease;
}

.glass-radio-group {
  --bg: rgba(255, 255, 255, 0.85);
  --text: var(--color-text-gray);

  display: flex;
  position: relative;
  background: var(--bg);
  border-radius: var(--radius-pill);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border: 1px solid rgba(22, 14, 4, 0.06);
  overflow: hidden;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto;
  padding: 6px;
}

.glass-radio-group input {
  display: none;
}

.glass-radio-group label {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-width: 92px;
  font-size: 0.78rem;
  padding: 0.55rem 1.1rem;
  cursor: pointer;
  font-weight: 500;
  letter-spacing: -0.005em;
  color: var(--text);
  position: relative;
  z-index: 2;
  transition: color 0.3s ease-in-out;
  font-family: var(--font-body);
  white-space: nowrap;
  border-radius: var(--radius-pill);
}

.glass-radio-group label:hover {
  color: var(--color-text-dark);
}

.glass-radio-group input:checked+label {
  color: #ffffff;
  font-weight: 600;
}

.tier-meta {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  color: inherit;
  opacity: 0.55;
  letter-spacing: 0;
  transition: opacity 0.3s ease;
}

.glass-radio-group label:hover .tier-meta {
  opacity: 0.85;
}

.glass-radio-group input:checked+label .tier-meta {
  opacity: 0.9;
  color: rgba(255, 255, 255, 0.85);
}

.glass-glider {
  position: absolute;
  top: 0;
  bottom: 0;
  width: calc(25% - 0px);
  border-radius: var(--radius-pill);
  z-index: 1;
  transition:
    left 0.45s cubic-bezier(0.37, 1.95, 0.66, 0.56),
    background 0.45s ease-in-out,
    box-shadow 0.45s ease-in-out;
}

/* Glider: subtle color hint per tier (All stays neutral graphite) */
#glass-all:checked ~ .glass-glider {
  background: linear-gradient(180deg, #1f1f24 0%, #0d0d10 100%);
  box-shadow:
    0 2px 10px rgba(22, 14, 4, 0.30),
    inset 0 1px 0 rgba(255, 255, 255, 0.10);
}

#glass-premium:checked ~ .glass-glider {
  background: linear-gradient(180deg, #8a4a60 0%, #5a2e3f 100%);
  box-shadow:
    0 2px 12px rgba(138, 74, 96, 0.40),
    inset 0 1px 0 rgba(255, 255, 255, 0.10);
}

#glass-luxury:checked ~ .glass-glider {
  background: linear-gradient(180deg, #1a1408 0%, #0d0a04 100%);
  box-shadow:
    0 2px 12px rgba(176, 138, 74, 0.45),
    inset 0 1px 0 rgba(214, 184, 124, 0.18);
  border: 1px solid rgba(176, 138, 74, 0.40);
}

#glass-dearly:checked ~ .glass-glider {
  background: linear-gradient(180deg, #421b28 0%, #220914 100%);
  box-shadow:
    0 2px 12px rgba(185, 138, 66, 0.45),
    inset 0 1px 0 rgba(236, 217, 172, 0.25);
  border: 1px solid rgba(185, 138, 66, 0.40);
}

#glass-all:checked ~ .glass-glider      { left: 0%; }
#glass-premium:checked ~ .glass-glider  { left: 25%; }
#glass-luxury:checked ~ .glass-glider   { left: 50%; }
#glass-dearly:checked ~ .glass-glider   { left: 75%; }

/* Ambient color tint on the entire floating bar — matches the selected tier */
.tier-floating-nav:has(#glass-all:checked) > .glass-radio-group {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(245, 243, 239, 0.88) 100%);
  border-color: rgba(22, 14, 4, 0.08);
  box-shadow:
    0 10px 32px rgba(22, 14, 4, 0.18),
    0 2px 6px rgba(22, 14, 4, 0.06),
    0 0 0 1px rgba(22, 14, 4, 0.04);
}

.tier-floating-nav:has(#glass-dearly:checked) > .glass-radio-group {
  background:
    linear-gradient(180deg, rgba(253, 248, 250) 0%, rgba(246, 235, 240, 0.92) 100%);
  border-color: rgba(185, 138, 66, 0.35);
  box-shadow:
    0 10px 32px rgba(80, 20, 45, 0.22),
    0 2px 6px rgba(80, 20, 45, 0.10),
    0 0 0 1px rgba(185, 138, 66, 0.15);
}

.tier-floating-nav:has(#glass-premium:checked) > .glass-radio-group {
  background:
    linear-gradient(180deg, rgba(252, 245, 247) 0%, rgba(243, 230, 234, 0.92) 100%);
  border-color: rgba(138, 74, 96, 0.22);
  box-shadow:
    0 10px 32px rgba(138, 74, 96, 0.22),
    0 2px 6px rgba(138, 74, 96, 0.10),
    0 0 0 1px rgba(138, 74, 96, 0.08);
}

.tier-floating-nav:has(#glass-luxury:checked) > .glass-radio-group {
  background:
    linear-gradient(180deg, rgba(252, 248, 240) 0%, rgba(243, 234, 215, 0.92) 100%);
  border-color: rgba(176, 138, 74, 0.28);
  box-shadow:
    0 10px 32px rgba(176, 138, 74, 0.24),
    0 2px 6px rgba(176, 138, 74, 0.10),
    0 0 0 1px rgba(176, 138, 74, 0.10);
}

/* =====================================================
   Floating WhatsApp Button — sits above the tier glider
   ===================================================== */
.floating-whatsapp {
  position: fixed;
  bottom: 100px;
  right: 20px;
  z-index: 999 !important;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--color-system-green);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 8px 22px rgba(44, 138, 74, 0.40),
    0 2px 8px rgba(0, 0, 0, 0.15);
  transition: var(--transition-smooth);
  cursor: pointer;
  text-decoration: none;
}

.floating-whatsapp svg {
  width: 30px;
  height: 30px;
}

.floating-whatsapp:hover {
  transform: translateY(-3px) scale(1.06);
  background: var(--color-system-green-hover);
  box-shadow:
    0 12px 28px rgba(44, 138, 74, 0.50),
    0 4px 12px rgba(0, 0, 0, 0.18);
}

.floating-whatsapp:active {
  transform: translateY(-1px) scale(0.96);
}

/* Glowing pulse ring behind the button */
.floating-whatsapp::before {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  background: rgba(44, 138, 74, 0.35);
  animation: wa-pulse 2.4s ease-in-out infinite;
  z-index: -1;
}

@keyframes wa-pulse {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50%      { transform: scale(1.3); opacity: 0; }
}

/* Mobile: still sits above the glider with comfortable clearance */
@media (max-width: 600px) {
  .floating-whatsapp {
    bottom: 92px;
    right: 14px;
    width: 48px;
    height: 48px;
    z-index: 999 !important;
  }
  .floating-whatsapp svg {
    width: 26px;
    height: 26px;
  }
}

@media (max-width: 380px) {
  .floating-whatsapp {
    bottom: 86px;
    right: 12px;
    width: 44px;
    height: 44px;
  }
  .floating-whatsapp svg {
    width: 24px;
    height: 24px;
  }
}

/* ==========================================================================
   Full-Bleed Image Card with Dark Bottom Gradient Overlay
   ========================================================================== */

:root {
  --card-radius: 28px;
  --card-aspect-ratio: 4 / 5;
  --card-padding-desktop: 24px;
  --card-padding-mobile: 20px;
}

.catalogue-section .container {
  max-width: 1200px;
}

.templates-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px 22px;
  width: 100%;
}

.template-card {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  min-height: 480px;
  border-radius: var(--card-radius);
  overflow: hidden;
  background-color: #16161a;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 30px -6px rgba(0, 0, 0, 0.35), 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  isolation: isolate;
  user-select: none;
}

.template-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.26);
  box-shadow: 0 20px 48px -10px rgba(0, 0, 0, 0.55), 0 8px 20px rgba(0, 0, 0, 0.35);
}

/* Tier specific subtle rim accents */
.template-card.tier-card-3 {
  border-color: rgba(212, 175, 55, 0.35);
  box-shadow: 0 10px 30px -6px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(212, 175, 55, 0.2);
}

.template-card.tier-card-3:hover {
  border-color: rgba(212, 175, 55, 0.65);
  box-shadow: 0 20px 48px -10px rgba(0, 0, 0, 0.6), 0 0 20px rgba(212, 175, 55, 0.25);
}

/* Full-bleed Background Media */
.template-card-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.template-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.template-card:hover .template-card-img {
  transform: scale(1.04);
}

.template-card-fallback-initial {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #2b2b36, #141418);
  color: rgba(255, 255, 255, 0.7);
  font-size: 3.5rem;
  font-weight: 700;
  font-family: var(--font-header);
}

/* Bottom CTA scrim — keep top ~55–60% of artwork (toran + names) clear */
.template-card-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0) 55%,
    rgba(0, 0, 0, 0.12) 68%,
    rgba(0, 0, 0, 0.45) 82%,
    rgba(0, 0, 0, 0.78) 100%
  );
}

/* Content layer positioned at bottom */
.template-card-content {
  position: absolute;
  bottom: var(--card-padding-desktop);
  left: var(--card-padding-desktop);
  right: var(--card-padding-desktop);
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-sizing: border-box;
  /* Light plate — overlay already darkens the CTA zone; avoid a second heavy scrim */
  padding: 10px 8px 8px;
  margin: 0;
  border-radius: 16px;
  background: linear-gradient(
    to top,
    rgba(8, 6, 4, 0.22) 0%,
    rgba(8, 6, 4, 0.06) 50%,
    rgba(8, 6, 4, 0.0) 100%
  );
}

/* Header & Title */
.template-card-header {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.template-card-title {
  font-family: var(--font-header, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif);
  font-size: clamp(1.6rem, 2vw, 1.95rem);
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  line-height: 1.15;
  letter-spacing: -0.015em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
  white-space: normal;
  word-break: break-word;
}

/* Pill Tags */
.template-card-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.template-tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 11px;
  font-size: 0.75rem;
  font-weight: 500;
  color: #fdfcf7;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 9999px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  letter-spacing: 0.01em;
  line-height: 1.2;
}

.template-tag.tag-pick {
  color: #ffd166;
  background: rgba(255, 209, 102, 0.14);
  border-color: rgba(255, 209, 102, 0.35);
  font-weight: 600;
}

.template-tag.tag-style {
  color: #f5f5f7;
}

.template-tag.tag-tier.tier-1 {
  color: #86efac;
  background: rgba(134, 239, 172, 0.12);
  border-color: rgba(134, 239, 172, 0.3);
}

.template-tag.tag-tier.tier-2 {
  color: #f472b6;
  background: rgba(244, 114, 182, 0.12);
  border-color: rgba(244, 114, 182, 0.3);
}

.template-tag.tag-tier.tier-3 {
  color: #fbbf24;
  background: rgba(251, 191, 36, 0.14);
  border-color: rgba(251, 191, 36, 0.35);
}

/* Description */
.template-card-desc {
  font-size: 0.88rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.82);
  margin: 0;
  font-weight: 400;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6);
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Price */
.template-card-price-wrap {
  display: flex;
  align-items: baseline;
  margin-top: 2px;
}

.template-card-price {
  font-family: var(--font-header, -apple-system, BlinkMacSystemFont, sans-serif);
  font-size: clamp(1.65rem, 2.2vw, 1.95rem);
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
  line-height: 1;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

/* Action Buttons */
.template-card-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  margin-top: 4px;
}

.template-btn-preview {
  width: 100%;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.24) !important;
  border-radius: 9999px !important;
  font-size: 0.96rem !important;
  font-weight: 600 !important;
  letter-spacing: -0.005em !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2) !important;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.template-btn-preview:hover {
  background: rgba(255, 255, 255, 0.22) !important;
  border-color: rgba(255, 255, 255, 0.45) !important;
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3) !important;
}

.template-btn-preview:active {
  transform: scale(0.98);
}

.template-card-btn-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  width: 100%;
}

.template-btn-order {
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0071e3 !important;
  color: #ffffff !important;
  border: 1px solid #0071e3 !important;
  border-radius: 9999px !important;
  font-size: 0.95rem !important;
  font-weight: 700 !important;
  letter-spacing: -0.005em !important;
  box-shadow: 0 4px 16px rgba(0, 113, 227, 0.38) !important;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.template-btn-order:hover {
  background: #0077ed !important;
  border-color: #0077ed !important;
  box-shadow: 0 6px 22px rgba(0, 113, 227, 0.5) !important;
  transform: translateY(-1px);
}

.template-btn-order:active {
  transform: scale(0.98);
}

.template-btn-wa {
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  background: #25d366 !important;
  color: #ffffff !important;
  border: 1px solid #25d366 !important;
  border-radius: 9999px !important;
  font-size: 0.88rem !important;
  font-weight: 700 !important;
  letter-spacing: -0.005em !important;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35) !important;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.template-btn-wa:hover {
  background: #22bf5b !important;
  border-color: #22bf5b !important;
  box-shadow: 0 6px 22px rgba(37, 211, 102, 0.5) !important;
  transform: translateY(-1px);
}

.template-btn-wa:active {
  transform: scale(0.98);
}

/* Tablet & Mobile Responsiveness */
@media (max-width: 1024px) {
  .templates-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 22px 18px;
  }
}

@media (max-width: 640px) {
  .templates-grid:not(.view-list) {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
    padding: 0 4px;
  }

  .templates-grid:not(.view-list) .template-card {
    min-height: 480px !important;
    aspect-ratio: 4 / 5 !important;
    border-radius: 24px !important;
  }

  .templates-grid:not(.view-list) .template-card-content {
    bottom: 12px !important;
    left: 12px !important;
    right: 12px !important;
    gap: 6px !important;
    padding: 4px 2px 2px !important;
    margin: 0 !important;
    background: transparent !important;
  }

  .templates-grid:not(.view-list) .template-card-header {
    gap: 4px;
  }

  .templates-grid:not(.view-list) .template-card-info-side,
  .templates-grid:not(.view-list) .template-card-action-side {
    gap: 4px;
  }

  .templates-grid:not(.view-list) .template-card-title {
    font-size: 1.28rem !important;
  }

  .templates-grid:not(.view-list) .template-card-desc {
    display: none !important;
  }

  .templates-grid:not(.view-list) .template-card-price {
    font-size: 1.32rem !important;
  }

  .templates-grid:not(.view-list) .template-card-actions {
    gap: 6px !important;
    margin-top: 0 !important;
  }

  .templates-grid:not(.view-list) .template-btn-preview,
  .templates-grid:not(.view-list) .template-btn-order,
  .templates-grid:not(.view-list) .template-btn-wa {
    height: 48px !important;
    font-size: 0.9rem !important;
  }

  .templates-grid:not(.view-list) .template-card-overlay {
    background: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0) 0%,
      rgba(0, 0, 0, 0) 58%,
      rgba(0, 0, 0, 0.16) 72%,
      rgba(0, 0, 0, 0.52) 86%,
      rgba(0, 0, 0, 0.82) 100%
    );
  }
}

/* Currency switcher design */
.currency-switch-container {
  display: inline-flex;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.03);
  padding: 3px;
  border-radius: var(--border-radius-pill);
  gap: 1px;
}

.currency-btn {
  background: none;
  border: none;
  padding: 5px 12px;
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 500;
  cursor: pointer;
  color: var(--color-text-gray);
  border-radius: var(--border-radius-pill);
  transition: var(--transition-fast);
  white-space: nowrap;
}

/* Mobile header compaction & responsiveness */
.cta-text-full {
  display: inline-block;
}

.cta-text-short {
  display: none;
}

@media (max-width: 768px) {
  .header-bar {
    padding: 10px 0;
  }

  .container {
    padding: 0 12px;
  }

  .logo-img {
    height: 22px;
    max-width: 100px;
  }

  .header-container {
    gap: 6px;
  }

  .header-actions {
    gap: 6px !important;
  }

  .header-blog-btn {
    display: none !important;
  }

  .currency-switch-container {
    gap: 1px;
  }

  .currency-btn {
    padding: 4px 6px;
    font-size: 0.62rem;
    min-width: 32px;
  }

  .cta-text-full {
    display: none !important;
  }

  .cta-text-short {
    display: inline-block !important;
  }

  .header-cta {
    white-space: nowrap;
    padding: 6px 11px !important;
    font-size: 0.72rem !important;
    font-weight: 700;
  }
}

@media (max-width: 520px) {
  .budget-pill-btn {
    display: none !important;
  }
}

.currency-btn.active {
  background-color: var(--color-bg-white);
  color: var(--color-text-dark);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* Quick chips */
.suggest-chips-row {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.suggest-chip {
  font-family: var(--font-body);
  font-size: 0.68rem;
  padding: 4px 10px;
  background-color: var(--color-bg-gray);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-pill);
  color: var(--color-text-gray);
  cursor: pointer;
  transition: var(--transition-fast);
}

.suggest-chip:hover {
  border-color: var(--color-text-dark);
  color: var(--color-text-dark);
}

.no-results {
  text-align: center;
  padding: 50px 20px;
  background-color: var(--color-bg-white);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-md);
}

.no-results svg {
  width: 26px;
  height: 26px;
  color: var(--color-brand-gold);
  margin-bottom: 10px;
}

.no-results h3 {
  font-size: 1.1rem;
  font-weight: 500;
}

.no-results p {
  font-size: 0.8rem;
}

/* =====================================================
   Urgency Banner (countdown + live viewers)
   ===================================================== */

@keyframes flame-bob {

  0%,
  100% {
    transform: translateY(0) rotate(-4deg) scale(1);
  }

  50% {
    transform: translateY(-2px) rotate(4deg) scale(1.12);
  }
}

@keyframes dot-pulse {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.55);
  }

  50% {
    box-shadow: 0 0 0 5px rgba(74, 222, 128, 0);
  }
}

.urgency-banner {
  background: linear-gradient(135deg, #1a1408 0%, #2a1f0d 50%, #1a1408 100%);
  color: #e8dcc8;
  padding: 12px 0;
  border-bottom: 1px solid rgba(176, 138, 74, 0.30);
  position: relative;
  overflow: hidden;
}

.urgency-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(176, 138, 74, 0.6) 40%, #d6b87c 50%, rgba(176, 138, 74, 0.6) 60%, transparent 100%);
}

.urgency-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.urgency-countdown,
.urgency-viewers {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: var(--text-small);
  letter-spacing: 0.005em;
  color: rgba(255, 255, 255, 0.75);
}

.urgency-countdown strong {
  color: #ffffff;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.urgency-viewers strong {
  color: #ffffff;
  font-weight: 700;
}

.urgency-timer {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(176, 138, 74, 0.40);
  border-radius: var(--radius-pill);
  padding: 4px 14px;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: var(--text-small);
  color: #d6b87c;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.urgency-flame {
  display: inline-block;
  animation: flame-bob 1.4s ease-in-out infinite;
  transform-origin: bottom center;
  font-size: 1rem;
}

.urgency-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #4ade80;
  flex-shrink: 0;
  animation: dot-pulse 1.8s ease-in-out infinite;
}

.urgency-inner::after {
  content: none;
}

.urgency-text-full {
  display: inline-block;
}
.urgency-text-short {
  display: none;
}

@media (max-width: 600px) {
  .urgency-text-full {
    display: none !important;
  }
  .urgency-text-short {
    display: inline-block !important;
  }

  .urgency-banner {
    padding: 9px 0;
  }

  .urgency-inner {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 6px 14px;
  }

  .urgency-countdown,
  .urgency-viewers {
    font-size: var(--text-micro);
    gap: 5px;
  }

  .urgency-timer {
    padding: 2px 9px;
    font-size: var(--text-micro);
  }

  .urgency-dot {
    width: 7px;
    height: 7px;
  }
}

/* =====================================================
   Section title shared by Testimonials / FAQ / Guides
   ===================================================== */
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 1.6vw + 1.4rem, 2.85rem);
  font-weight: 500;
  color: var(--ink-primary);
  text-align: center;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  line-height: 1.08;
  font-feature-settings: "ss01", "lnum";
}

.section-title em {
  font-style: italic;
  color: var(--gold-600);
  font-weight: 500;
}

.section-subtitle {
  text-align: center;
  font-size: 1.02rem;
  color: var(--ink-muted);
  margin-bottom: 44px;
  line-height: 1.55;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
  font-family: var(--font-body);
  font-weight: 400;
}

@media (max-width: 600px) {
  .section-title {
    font-size: clamp(1.7rem, 1.4vw + 1.2rem, 2.1rem);
    line-height: 1.1;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 12px;
  }

  .section-subtitle {
    padding: 0 20px;
    margin-bottom: 28px;
    font-size: 0.9rem;
  }
}

/* =====================================================
   How It Works — 3-step strip
   ===================================================== */
.how-it-works {
  padding: 32px 0 12px;
}

/* Single toggle button — centered, prominent pill */

/* Glow keyframe (removed: no perpetual pulse, motion must be motivated) */

.how-it-works-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0 auto;
  background: var(--color-text-dark);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  padding: 14px 30px;
  border: none;
  border-radius: var(--radius-pill);
  cursor: pointer;
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  white-space: nowrap;
  box-shadow: 0 6px 18px rgba(22, 14, 4, 0.18);
}

.how-it-works-toggle::before {
  content: none;
}

.how-it-works-toggle:hover {
  background: #000000;
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(22, 14, 4, 0.30);
}

.how-it-works-toggle:active {
  transform: translateY(0) scale(0.99);
  box-shadow: 0 4px 12px rgba(22, 14, 4, 0.20);
}

.how-it-works-toggle[aria-expanded="true"] {
  background: var(--color-accent);
  box-shadow: 0 6px 18px rgba(176, 138, 74, 0.30);
}

.how-it-works-toggle[aria-expanded="true"]:hover {
  background: var(--color-accent-hover);
  box-shadow: 0 8px 24px rgba(176, 138, 74, 0.40);
}

.how-toggle-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  font-size: 1.25rem;
  line-height: 1;
  font-weight: 400;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.how-it-works-toggle[aria-expanded="true"] .how-toggle-icon {
  transform: rotate(45deg);
}

/* Steps wrapper — uses CSS grid-rows trick (0fr → 1fr) to animate
   the height of the collapsed content smoothly. Works in modern
   browsers (Chrome 117+, Firefox 119+, Safari 17.4+). */
.how-steps-wrap {
  display: grid;
  grid-template-rows: 0fr;
  overflow: hidden;
  transition: grid-template-rows 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  max-width: 720px;
  margin: 0 auto;
}

.how-steps-wrap[aria-hidden="true"] {
  visibility: hidden;
}

.how-steps-wrap.is-open {
  grid-template-rows: 1fr;
}

.how-steps-wrap .how-steps {
  min-height: 0;
  overflow: hidden;
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  /* No padding-top here — it would leak through when collapsed */
  padding-top: 0;
}

/* Add top spacing only when the panel is open */
.how-steps-wrap.is-open .how-steps {
  padding-top: 18px;
}

/* Reduced-motion users get an instant toggle, no animation */
@media (prefers-reduced-motion: reduce) {
  .how-steps-wrap {
    transition: none;
  }

  .how-toggle-icon {
    transition: none;
  }
}

/* Mobile: button is full-width-ish and clearly centered; slightly larger tap target */
@media (max-width: 600px) {
  .how-it-works {
    padding: 24px 16px;
    text-align: center;
  }

  .how-it-works .container {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .how-it-works-toggle {
    width: 100%;
    max-width: 320px;
    padding: 15px 24px;
    font-size: 0.95rem;
  }
}

.how-step {
  background-color: var(--color-bg-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  flex: 1 1 220px;
  max-width: 280px;
  text-align: center;
  box-shadow: var(--shadow-subtle);
  position: relative;
  transition: var(--transition-smooth);
}

.how-step:hover {
  border-color: var(--color-border-dark);
  box-shadow: var(--shadow-card);
  transform: translateY(-2px);
}

.how-step-icon {
  font-size: 1.4rem;
  margin-bottom: 12px;
  color: var(--color-accent-deep);
  font-family: var(--font-header);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-accent-wash);
  border: 1px solid rgba(176, 138, 74, 0.20);
  margin-left: auto;
  margin-right: auto;
}

.how-step-title {
  font-family: var(--font-header);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text-dark);
  margin-bottom: 6px;
  letter-spacing: -0.005em;
}

.how-step-desc {
  font-size: var(--text-small);
  color: var(--color-text-soft);
  line-height: 1.55;
}

.how-step-arrow {
  align-self: center;
  color: var(--color-text-muted);
  font-size: 1.2rem;
  opacity: 0.6;
}

/* Mobile: stack cards vertically, hide the floating-between arrows, and
   show a small integrated arrow at the top-right of each card instead. */
@media (max-width: 600px) {
  .how-it-works {
    padding: 18px 0 8px;
  }

  .how-steps {
    flex-direction: column;
    gap: 10px;
    align-items: stretch;
  }

  .how-step {
    flex: 1 1 auto;
    max-width: 100%;
    padding: 14px 16px 16px;
    text-align: left;
    display: grid;
    grid-template-columns: 36px 1fr;
    grid-template-areas:
      "icon  arrow"
      "icon  title"
      ".     desc";
    column-gap: 12px;
    row-gap: 4px;
  }

  .how-step-icon {
    grid-area: icon;
    font-size: 1.3rem;
    margin: 0;
    align-self: center;
    justify-self: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--color-brand-gold-light);
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .how-step-title {
    grid-area: title;
    font-size: 0.85rem;
    margin: 0;
  }

  .how-step-desc {
    grid-area: desc;
    font-size: 0.72rem;
    line-height: 1.45;
  }

  /* Hide the between-card arrow div, render a small arrow inside each
     card's top-right corner via a ::after on the icon (which sits in the
     top-right of the grid). */
  .how-step-arrow {
    display: none;
  }

  .how-step-icon::after {
    content: "↓";
    position: absolute;
    top: 12px;
    right: 14px;
    color: var(--color-brand-gold);
    font-size: 0.95rem;
    opacity: 0.7;
    line-height: 1;
  }
}

/* =====================================================
   Social Proof — Testimonials + Trust Badges
   ===================================================== */
.social-proof {
  padding: var(--section-y) 0;
  background-color: var(--color-bg-elevated);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  position: relative;
}

.testimonials-wrapper {
  position: relative;
  margin-bottom: 40px;
}

.testimonials-grid {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  margin: 0 -16px;
  padding: 4px 20px 14px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.testimonials-grid::-webkit-scrollbar {
  display: none;
}

.testimonial-card {
  flex: 0 0 320px;
  scroll-snap-align: start;
  background-color: var(--color-bg-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 22px 22px 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 200px;
  overflow: hidden;
  box-shadow: var(--shadow-subtle);
}

@media (max-width: 480px) {
  .testimonial-card {
    flex: 0 0 86vw;
    max-width: 420px;
  }
}

.testimonials-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--color-bg-white);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  color: var(--color-text-dark);
  z-index: 2;
  transition: var(--transition-fast);
}

.testimonials-nav-btn:hover {
  background-color: var(--color-text-dark);
  color: var(--color-bg-white);
  border-color: var(--color-text-dark);
  transform: translateY(-50%) translateY(-1px);
}

.testimonials-nav-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.testimonials-nav-prev { left: 6px; }
.testimonials-nav-next { right: 6px; }

@media (max-width: 480px) {
  .testimonials-nav-btn {
    width: 32px;
    height: 32px;
    font-size: 0.9rem;
  }
}

@media (max-width: 600px) {
  .testimonials-wrapper {
    padding-bottom: 56px;
  }

  .testimonials-nav-btn {
    top: auto;
    bottom: 8px;
    transform: none;
  }

  .testimonials-nav-prev { left: calc(50% - 50px); }
  .testimonials-nav-next { left: calc(50% + 18px); }

  .testimonials-nav-btn:hover {
    transform: translateY(-1px);
  }
}

.testimonial-quote {
  font-size: 0.95rem;
  color: var(--color-text-soft);
  line-height: 1.6;
  font-style: normal;
  font-weight: 400;
  letter-spacing: -0.005em;
}

@media (max-width: 600px) {
  .testimonial-quote {
    font-size: 0.92rem;
    line-height: 1.6;
  }
}

.testimonial-quote::before {
  content: "\201C";
  font-family: var(--font-header);
  font-size: 2.4rem;
  color: var(--color-accent);
  position: absolute;
  top: 8px;
  left: 16px;
  opacity: 0.35;
  line-height: 1;
  font-weight: 700;
}

.testimonial-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 4px;
  border-top: 1px solid var(--color-border);
  padding-top: 12px;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  font-size: var(--text-small);
}

.testimonial-author-name {
  color: var(--color-text-dark);
  font-weight: 600;
  letter-spacing: -0.005em;
}

.testimonial-author-wedding {
  color: var(--color-text-gray);
  font-size: var(--text-micro);
  margin-top: 2px;
}

/* ═══════════════════════════════════════════════════════════════ */
/* WHATSAPP REVIEWS SHOWCASE & LIGHTBOX                           */
/* ═══════════════════════════════════════════════════════════════ */

.wa-reviews-showcase {
  margin: 44px 0 40px;
  padding: 36px 28px 32px;
  background: linear-gradient(180deg, #ffffff 0%, #faf8f5 100%);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  box-shadow: 0 4px 24px rgba(22, 22, 26, 0.04);
  position: relative;
}

@media (max-width: 600px) {
  .wa-reviews-showcase {
    padding: 24px 16px 20px;
    margin: 32px 0 32px;
    border-radius: 16px;
  }
}

.wa-reviews-header {
  margin-bottom: 24px;
}

.wa-reviews-title {
  font-family: var(--font-header);
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  font-weight: 600;
  color: var(--color-text-dark);
  margin: 0 0 6px;
  letter-spacing: -0.01em;
}

.wa-reviews-subtitle {
  font-size: 0.9rem;
  color: var(--color-text-gray);
  margin: 0;
  line-height: 1.5;
  max-width: 640px;
}

.wa-reviews-carousel-wrapper {
  position: relative;
  margin: 0 -8px;
}

.wa-reviews-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 10px 8px 18px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.wa-reviews-track::-webkit-scrollbar {
  display: none;
}

.wa-reviews-nav-prev { left: -8px; }
.wa-reviews-nav-next { right: -8px; }

@media (max-width: 600px) {
  .wa-reviews-carousel-wrapper {
    padding-bottom: 48px;
  }
  .wa-reviews-nav-prev {
    top: auto;
    bottom: 4px;
    transform: none;
    left: calc(50% - 46px);
  }
  .wa-reviews-nav-next {
    top: auto;
    bottom: 4px;
    transform: none;
    left: calc(50% + 14px);
  }
}

.wa-card {
  flex: 0 0 250px;
  scroll-snap-align: start;
  background: var(--color-bg-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-subtle);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  text-align: left;
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.25s ease, border-color 0.25s ease;
  user-select: none;
  position: relative;
}

@media (max-width: 480px) {
  .wa-card {
    flex: 0 0 74vw;
    max-width: 280px;
  }
}

.wa-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(22, 22, 26, 0.09);
  border-color: rgba(176, 138, 74, 0.4);
}

.wa-card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  background: #f7f5f0;
  overflow: hidden;
}

.wa-card-media picture,
.wa-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  display: block;
  transition: transform 0.35s ease;
}

.wa-card:hover .wa-card-media img {
  transform: scale(1.035);
}

.wa-card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(18, 22, 25, 0.38);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s ease;
  backdrop-filter: blur(2px);
}

.wa-card:hover .wa-card-overlay {
  opacity: 1;
}

.wa-card-zoom-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--color-text-dark);
  font-size: 0.78rem;
  font-weight: 600;
  border-radius: 9999px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
  letter-spacing: 0.01em;
}

.wa-card-zoom-btn svg {
  width: 14px;
  height: 14px;
}

.wa-card-footer {
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: #ffffff;
  border-top: 1px solid rgba(22, 22, 26, 0.05);
}

.wa-card-tag {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-accent);
}

.wa-card-highlight {
  font-size: 0.82rem;
  color: var(--color-text-soft);
  font-weight: 500;
  line-height: 1.35;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ── Lightbox Modal ── */
.wa-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
  padding: 20px;
}

.wa-lightbox.active {
  opacity: 1;
  pointer-events: auto;
}

.wa-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(14, 14, 18, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.wa-lightbox-modal {
  position: relative;
  z-index: 2;
  max-width: min(94vw, 480px);
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: wa-lightbox-pop 0.26s cubic-bezier(0.2, 0.9, 0.3, 1.1);
}

@keyframes wa-lightbox-pop {
  from { transform: scale(0.94) translateY(8px); opacity: 0; }
  to { transform: scale(1) translateY(0); opacity: 1; }
}

.wa-lightbox-close {
  position: absolute;
  top: -46px;
  right: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.18s ease, transform 0.18s ease;
}

.wa-lightbox-close:hover {
  background: rgba(255, 255, 255, 0.32);
  transform: scale(1.08);
}

.wa-lightbox-arrow {
  position: absolute;
  top: 45%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid rgba(22, 22, 26, 0.1);
  color: #16161a;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  transition: transform 0.16s ease, background 0.16s ease, box-shadow 0.16s ease;
}

.wa-lightbox-arrow svg {
  width: 18px;
  height: 18px;
}

.wa-lightbox-arrow:hover {
  background: #f7f5f0;
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.28);
}

.wa-lightbox-arrow-prev { left: -54px; }
.wa-lightbox-arrow-next { right: -54px; }

@media (max-width: 640px) {
  .wa-lightbox-arrow-prev { left: 8px; }
  .wa-lightbox-arrow-next { right: 8px; }
}

.wa-lightbox-figure {
  width: 100%;
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  display: flex;
  flex-direction: column;
}

.wa-lightbox-figure picture {
  width: 100%;
  display: flex;
  justify-content: center;
  background: #fbfaf7;
  max-height: 68vh;
  overflow: hidden;
}

.wa-lightbox-figure img {
  width: 100%;
  height: auto;
  max-height: 68vh;
  object-fit: contain;
  display: block;
}

.wa-lightbox-info {
  padding: 14px 18px 16px;
  background: #ffffff;
  border-top: 1px solid rgba(22, 22, 26, 0.07);
}

.wa-lightbox-info-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}

.wa-lightbox-tag {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-accent);
}

.wa-lightbox-counter {
  font-size: 0.76rem;
  color: var(--color-text-muted);
  font-weight: 600;
}

.wa-lightbox-highlight {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--color-text-dark);
  line-height: 1.4;
  margin: 0;
}

/* Trust marquee */
.trust-marquee {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 92%, transparent 100%);
  mask-image: linear-gradient(90deg, #000 0%, #000 92%, transparent 100%);
}

.trust-marquee-track {
  display: flex;
  width: max-content;
  animation: trust-marquee-scroll 32s linear infinite;
}

.trust-marquee-set {
  display: flex;
  gap: 14px;
  padding-right: 14px;
  flex-shrink: 0;
}

@keyframes trust-marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.trust-marquee:hover .trust-marquee-track,
.trust-marquee:focus-within .trust-marquee-track {
  animation-play-state: paused;
}

@media (prefers-reduced-motion: reduce) {
  .trust-marquee-track {
    animation: none;
  }
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  background-color: var(--color-bg-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  flex: 0 0 280px;
  min-width: 0;
  box-shadow: var(--shadow-subtle);
}

@media (max-width: 600px) {
  .trust-item {
    flex: 0 0 82vw;
    max-width: 360px;
    min-width: 0;
  }
}

.trust-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  background: var(--color-accent-wash);
  border-radius: var(--radius-sm);
}

.trust-icon svg {
  width: 22px;
  height: 22px;
}

.trust-icon-upi svg {
  width: 32px;
  height: 32px;
  background: #097939;
  color: white;
  border-radius: 6px;
  padding: 4px;
}

.trust-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.trust-text strong {
  font-size: var(--text-small);
  font-weight: 600;
  color: var(--color-text-dark);
  letter-spacing: -0.005em;
}

.trust-text span {
  font-size: var(--text-micro);
  color: var(--color-text-gray);
}

/* =====================================================
   Featured Blog & Guides
   ===================================================== */
.guides-section {
  padding: var(--section-y) 0 calc(var(--section-y) - 24px);
  background: var(--color-bg-gray);
}

.guides-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 760px;
  margin: 0 auto;
}

.guide-card {
  background-color: var(--color-bg-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  box-shadow: var(--shadow-subtle);
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: var(--transition-smooth);
}

.guide-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
  border-color: var(--color-border-dark);
}

.guide-tag {
  font-family: var(--font-body);
  font-size: var(--text-micro);
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--color-accent-deep);
  margin-bottom: 4px;
  display: inline-block;
  align-self: flex-start;
  background: var(--color-accent-soft);
  padding: 3px 10px;
  border-radius: var(--radius-pill);
}

.guide-title {
  font-family: var(--font-header);
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.012em;
  color: var(--color-text-dark);
  margin: 0;
}

.guide-title a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

.guide-title a:hover {
  color: var(--color-accent-deep);
}

.guide-desc {
  font-family: var(--font-body);
  font-size: var(--text-small);
  line-height: 1.55;
  color: var(--color-text-soft);
  margin: 0;
}

.guide-link {
  font-family: var(--font-body);
  font-size: var(--text-small);
  font-weight: 600;
  color: var(--color-text-dark);
  text-decoration: none;
  align-self: flex-start;
  margin-top: 6px;
  transition: var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border-bottom: 1px solid var(--color-accent);
  padding-bottom: 2px;
}

.guide-link:hover {
  color: var(--color-accent-deep);
}

.guides-more {
  text-align: center;
  margin-top: 32px;
}

@media (max-width: 600px) {
  .guides-section {
    padding: 56px 0 32px;
  }

  .guide-card {
    padding: 18px 20px;
  }

  .guide-title {
    font-size: 1rem;
  }
}

/* =====================================================
   FAQ Accordion
   ===================================================== */
.faq-section {
  padding: var(--section-y) 0;
  background: var(--color-bg-elevated);
}

.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  background-color: var(--color-bg-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-subtle);
  transition: var(--transition-fast);
}

.faq-item.is-open {
  border-color: var(--color-border-dark);
  box-shadow: var(--shadow-card);
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 18px 22px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-text-dark);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transition: var(--transition-fast);
  letter-spacing: -0.005em;
}

.faq-question:hover {
  background-color: var(--color-accent-wash);
}

.faq-toggle-icon {
  font-size: 1.2rem;
  color: var(--color-accent);
  flex-shrink: 0;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  font-weight: 300;
  line-height: 1;
}

.faq-item.is-open .faq-toggle-icon {
  transform: rotate(45deg);
  color: var(--color-accent-deep);
}

.faq-answer {
  overflow: hidden;
}

.faq-answer-inner {
  padding: 0 22px 20px;
  font-size: var(--text-small);
  color: var(--color-text-soft);
  line-height: 1.65;
}

/* =====================================================
   Exit-Intent Offer Modal — single canonical definition
   (FOMO independence-day panel)
   ===================================================== */
.exit-intent-modal {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.exit-intent-modal.is-open {
  display: flex;
}

.exit-intent-scrim {
  position: absolute;
  inset: 0;
  background-color: rgba(20, 14, 4, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.exit-intent-modal.is-open .exit-intent-scrim {
  opacity: 1;
}

.exit-intent-panel {
  position: relative;
  z-index: 1;
  background: var(--color-bg-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px 28px 26px;
  max-width: 460px;
  width: 100%;
  box-shadow: var(--shadow-modal);
  text-align: center;
  transform: translateY(20px) scale(0.97);
  opacity: 0;
  transition:
    transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.exit-intent-modal.is-open .exit-intent-panel {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.exit-intent-close {
  position: absolute;
  top: 12px;
  right: 14px;
  background: var(--color-bg-gray);
  border: none;
  font-size: 1.3rem;
  line-height: 1;
  color: var(--color-text-soft);
  cursor: pointer;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: var(--transition-fast);
}

.exit-intent-close:hover {
  background: var(--color-accent-soft);
  color: var(--color-accent-deep);
}

.exit-intent-eyebrow {
  font-size: var(--text-micro);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent-deep);
  font-weight: 700;
  margin-bottom: 10px;
}

.exit-intent-title {
  font-family: var(--font-header);
  font-size: 1.55rem;
  font-weight: 600;
  color: var(--color-text-dark);
  letter-spacing: -0.020em;
  margin-bottom: 10px;
  line-height: 1.2;
}

.exit-intent-desc {
  font-size: var(--text-small);
  color: var(--color-text-soft);
  line-height: 1.55;
  margin-bottom: 18px;
}

.exit-intent-desc strong {
  color: var(--color-text-dark);
  font-weight: 600;
}

.exit-intent-cta {
  display: inline-block;
  background-color: var(--color-system-green);
  color: #ffffff;
  padding: 13px 28px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  text-decoration: none;
  transition: var(--transition-fast);
  box-shadow: 0 6px 18px rgba(44, 138, 74, 0.32);
  border: 1px solid var(--color-system-green);
}

.exit-intent-cta:hover {
  background-color: var(--color-system-green-hover);
  border-color: var(--color-system-green-hover);
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(44, 138, 74, 0.44);
}

.exit-intent-fineprint {
  font-size: var(--text-micro);
  color: var(--color-text-muted);
  margin-top: 14px;
}

/* =====================================================
   Per-tier Order button styling (subtle differentiation, not pulsing)
   ===================================================== */
.order-btn-3 {
  position: relative;
  font-size: var(--text-small) !important;
  padding: 9px 18px !important;
  background: var(--color-text-dark) !important;
  color: #ffffff !important;
  border: 1px solid var(--color-text-dark) !important;
  box-shadow: 0 4px 14px rgba(22, 22, 26, 0.20) !important;
  letter-spacing: -0.005em !important;
}

.order-btn-3:hover {
  background: #000000 !important;
  box-shadow: 0 6px 18px rgba(22, 22, 26, 0.32) !important;
  transform: translateY(-1px);
}

.order-btn-3::before {
  content: none;
}

@media (prefers-reduced-motion: no-preference) {
  /* No perpetual pulse — motion must be motivated */
  .order-btn-3 {
    animation: none;
  }
}

.order-btn-2 {
  background: var(--color-system-green) !important;
  color: #ffffff !important;
  border: 1px solid var(--color-system-green) !important;
  box-shadow: 0 4px 14px rgba(44, 138, 74, 0.30) !important;
}

.order-btn-2:hover {
  background: var(--color-system-green-hover) !important;
  border-color: var(--color-system-green-hover) !important;
  box-shadow: 0 6px 18px rgba(44, 138, 74, 0.42) !important;
  transform: translateY(-1px);
}

/* =====================================================
   Final Conversion CTA — Independence Day block
   ===================================================== */
.final-cta {
  padding: var(--section-y) 0;
  background: var(--color-bg-gray);
}

.final-cta .container {
  background: linear-gradient(165deg, #1a1408 0%, #2a1f0d 60%, #0d0a04 100%);
  border: 1px solid rgba(176, 138, 74, 0.45);
  border-radius: var(--radius-lg);
  padding: 48px 32px;
  text-align: center;
  max-width: 820px;
  position: relative;
  overflow: hidden;
  color: #ffffff;
  box-shadow: 0 24px 60px rgba(20, 14, 4, 0.30);
}

.final-cta .container::before {
  content: '';
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  bottom: 12px;
  border: 1px solid rgba(176, 138, 74, 0.20);
  border-radius: calc(var(--radius-lg) - 6px);
  pointer-events: none;
}

.final-cta-eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--text-micro);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #d6b87c;
  margin-bottom: 18px;
}

.final-cta-title {
  font-family: var(--font-header);
  font-size: clamp(1.65rem, 2.5vw + 0.6rem, 2.2rem);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.020em;
  color: #ffffff;
  margin: 0 auto 14px;
  max-width: 22ch;
}

.final-cta-title em {
  font-style: italic;
  font-weight: 500;
  color: #e8cf94;
}

.final-cta-desc {
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.78);
  margin: 0 auto 28px;
  max-width: 520px;
}

.final-cta-buttons {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 26px;
  flex-wrap: wrap;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.final-cta-buttons .btn-hero-primary {
  background: #ffffff;
  color: #1a1408;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.20);
  font-family: var(--font-header);
  font-size: 1rem;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.25s ease;
}

.final-cta-buttons .btn-hero-primary:hover {
  background: #f5ecd9;
  color: #1a1408;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.30);
  transform: translateY(-2px);
}

.final-cta-wa-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #25d366;
  color: #ffffff !important;
  font-family: var(--font-header);
  font-size: 1rem;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
  transition: all 0.25s ease;
}

.final-cta-wa-btn:hover {
  transform: translateY(-2px);
  background: #22bf5b;
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.55);
  color: #ffffff !important;
}

.final-cta-micro {
  display: block;
  text-align: center;
  margin: 18px auto 0;
  font-family: var(--font-body);
  font-size: var(--text-small);
  color: rgba(255, 255, 255, 0.72);
  letter-spacing: 0.02em;
}

@media (max-width: 600px) {
  .final-cta {
    padding: 56px 0;
  }

  .final-cta .container {
    padding: 32px 20px;
    border-radius: var(--radius-md);
  }

  .final-cta-buttons {
    gap: 8px;
  }

  .final-cta-buttons .btn-hero-primary,
  .final-cta-buttons .btn-hero-whatsapp {
    font-size: 0.78rem;
    padding: 12px 14px;
  }

  .final-cta-micro {
    gap: 6px 16px;
    font-size: var(--text-micro);
  }
}

/* =====================================================
   Footer
   ===================================================== */
.footer {
  background-color: var(--ink-primary);
  color: rgba(253, 248, 238, 0.72);
  border-top: 1px solid var(--gold-600);
  padding: clamp(56px, 6vw, 84px) 0 36px;
  font-size: var(--text-small);
  font-weight: 400;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: clamp(28px, 4vw, 56px);
  margin-bottom: 44px;
}

.footer-brand p {
  color: rgba(253, 248, 238, 0.62);
  font-size: 0.92rem;
  line-height: 1.65;
  margin-top: 16px;
  max-width: 340px;
  font-family: var(--font-body);
}

.footer-heading {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  text-transform: none;
  color: var(--ink-on-dark);
  margin: 0 0 16px;
  font-style: italic;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0;
}

.footer-links a {
  color: rgba(253, 248, 238, 0.68);
  font-size: 0.88rem;
  transition: var(--transition-fast);
  font-family: var(--font-body);
}

.footer-links a:hover {
  color: var(--gold-200);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 28px;
  border-top: 1px solid rgba(253, 248, 238, 0.10);
  font-size: 0.78rem;
  color: rgba(253, 248, 238, 0.48);
}

.footer-logo {
  max-width: 140px;
  height: auto;
  display: block;
  filter: brightness(0) invert(1);
  opacity: 0.94;
  transition: opacity 0.2s ease;
}

.footer-logo:hover {
  opacity: 1;
}

@media (max-width: 768px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer {
    padding: 48px 0 24px;
  }
}

/* Responsiveness overrides */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.1rem;
  }

  .pricing-grid {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    gap: 12px;
    padding: 6px 16px 16px;
    margin-left: -16px;
    margin-right: -16px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .pricing-grid::-webkit-scrollbar {
    display: none;
  }

  .pricing-card {
    flex: 0 0 84vw;
    max-width: 310px;
    scroll-snap-align: center;
    scroll-snap-stop: always;
    box-sizing: border-box;
    padding: 18px 16px;
    overflow: hidden;
  }

  .pricing-card.featured {
    transform: none;
    border: 1.5px solid var(--color-brand-gold);
    box-shadow: 0 8px 24px rgba(192, 149, 89, 0.15);
  }

  /* Row parameters mobile spacing — handled by the dedicated
     .template-card 3-column composition block earlier in this file. */
}

/* =====================================================
   FOMO Exit Intent Modal (canonical — re-styles for FOMO panel)
   ===================================================== */
.exit-intent-fomo-panel {
  position: relative;
  z-index: 2;
  background: var(--color-bg-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  max-width: 460px;
  width: 100%;
  padding: 32px 28px 26px;
  text-align: center;
  box-shadow: var(--shadow-modal);
  animation: exit-modal-pop 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes exit-modal-pop {
  0% { transform: scale(0.92) translateY(20px); opacity: 0; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}

/* Custom (dark) modal panel for Exclusive Customization */
#custom-modal .exit-intent-panel {
  background: linear-gradient(165deg, #1a1408 0%, #0d0a04 100%) !important;
  border: 1px solid rgba(176, 138, 74, 0.45) !important;
  box-shadow: 0 24px 80px rgba(20, 14, 4, 0.8), 0 0 30px rgba(176, 138, 74, 0.15) !important;
  color: #ffffff !important;
}

#custom-modal .exit-intent-close {
  background: rgba(255, 255, 255, 0.10) !important;
  color: rgba(255, 255, 255, 0.85) !important;
}

#custom-modal .exit-intent-close:hover {
  background: rgba(255, 255, 255, 0.20) !important;
  color: #ffffff !important;
}

/* =====================================================
   Dynamic Order Sheet / Drawer Modal
   ===================================================== */
.order-drawer-modal {
  position: fixed;
  inset: 0;
  z-index: 1250 !important;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
}

.order-drawer-modal.is-open {
  display: flex;
}

.order-drawer-scrim {
  position: absolute;
  inset: 0;
  background-color: rgba(12, 10, 6, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.order-drawer-modal.is-open .order-drawer-scrim {
  opacity: 1;
}

/* The order sheet carries the selected collection through to checkout. */
.order-drawer-modal {
  --order-panel-top: #fff9f4;
  --order-panel-bottom: #f4e5e4;
  --order-ink: #38272f;
  --order-muted: #75616a;
  --order-accent: #a52d50;
  --order-surface: rgba(255,255,255,.65);
  --order-soft: rgba(188,49,86,.07);
  --order-border: rgba(165,45,80,.2);
  --order-shadow: rgba(57,32,44,.32);
  --order-cta-start: #df7385;
  --order-cta-mid: #ca496b;
  --order-cta-end: #b52c51;
  --order-cta-ink: #fffaf7;
  --order-cta-badge: rgba(255,255,255,.18);
  --order-green: #16733e;
  color-scheme: light;
}
.order-drawer-modal[data-order-tier="3"] {
  --order-panel-top: #fff7e5;
  --order-panel-bottom: #ead5b0;
  --order-ink: #392b18;
  --order-muted: #766044;
  --order-accent: #805821;
  --order-surface: rgba(255,251,238,.65);
  --order-soft: rgba(160,113,48,.08);
  --order-border: rgba(128,88,33,.23);
  --order-shadow: rgba(64,45,20,.36);
  --order-cta-start: #f5d77f;
  --order-cta-mid: #dfb877;
  --order-cta-end: #c09559;
  --order-cta-ink: #302311;
  --order-cta-badge: rgba(255,255,255,.25);
}
.order-drawer-modal[data-order-tier="4"] {
  --order-panel-top: #49313e;
  --order-panel-bottom: #2e202b;
  --order-ink: #fff3e8;
  --order-muted: #dbc4d0;
  --order-accent: #e2bf83;
  --order-surface: rgba(255,239,228,.035);
  --order-soft: rgba(226,191,131,.09);
  --order-border: rgba(226,191,131,.26);
  --order-shadow: rgba(24,12,20,.5);
  --order-cta-start: #79506d;
  --order-cta-mid: #6b3a5d;
  --order-cta-end: #412237;
  --order-cta-ink: #fff4e5;
  --order-cta-badge: rgba(255,244,229,.12);
  --order-green: #93d9ad;
  color-scheme: dark;
}
.order-drawer-panel {
  position: relative;
  z-index: 2;
  background: linear-gradient(180deg, var(--order-panel-top), var(--order-panel-bottom));
  border: 1px solid var(--order-border);
  border-radius: 24px;
  padding: 26px 26px 22px;
  max-width: 520px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
  box-shadow: 0 30px 90px var(--order-shadow), 0 0 40px var(--order-soft), inset 0 1px 0 var(--order-border);
  color: var(--order-ink);
  transform: translateY(20px) scale(0.98);
  opacity: 0;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
  box-sizing: border-box;
}

.order-drawer-panel::-webkit-scrollbar {
  display: none;
}

.order-drawer-modal.is-open .order-drawer-panel {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.order-drawer-handle {
  display: none;
  width: 44px;
  height: 4px;
  background: var(--order-muted);
  border-radius: 99px;
  margin: 0 auto 16px;
}

.order-drawer-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--order-soft);
  border: 1px solid var(--order-border);
  color: var(--order-ink);
  font-size: 1.25rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.order-drawer-close:hover {
  background: var(--order-border);
  color: var(--order-ink);
  border-color: var(--order-border);
  transform: scale(1.08);
}

/* Header */
.order-drawer-header {
  margin-bottom: 18px;
  padding-right: 32px;
}

.order-drawer-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--order-soft);
  color: var(--order-accent);
  border: 1px solid var(--order-border);
  padding: 4px 10px;
  border-radius: 9999px;
  font-size: 0.65rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.order-drawer-title {
  color: var(--order-ink);
  font-size: 1.35rem;
  font-weight: 700;
  margin: 0 0 5px 0;
  font-family: var(--font-header), serif;
  letter-spacing: -0.01em;
}

.order-drawer-subtitle {
  color: var(--order-muted);
  font-size: 0.82rem;
  margin: 0;
  line-height: 1.45;
}

/* Spotlight Card: Chosen Design Overview */
.order-drawer-card {
  display: flex;
  align-items: center;
  gap: 15px;
  background: linear-gradient(135deg, var(--order-surface) 0%, var(--order-border) 100%);
  border: 1px solid var(--order-border);
  border-radius: 16px;
  padding: 14px 16px;
  margin-bottom: 16px;
}

.order-drawer-thumb-wrap {
  width: 74px;
  height: 74px;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
  border: 1px solid var(--order-border);
  background: #000;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
}

.order-drawer-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.order-drawer-card-details {
  flex: 1;
  min-width: 0;
}

.order-drawer-card-topline {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 5px;
  flex-wrap: wrap;
}

.order-drawer-badge {
  font-size: 0.65rem;
  font-weight: 750;
  color: var(--order-accent);
  background: var(--order-soft);
  border: 1px solid var(--order-border);
  padding: 2px 7px;
  border-radius: 99px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.order-drawer-delivery-tag {
  background: rgba(37, 211, 102, 0.12);
  color: var(--order-green);
  border: 1px solid rgba(37, 211, 102, 0.28);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 99px;
  white-space: nowrap;
}

.order-drawer-item-name {
  color: var(--order-ink);
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 2px 0;
  letter-spacing: -0.01em;
}

.order-drawer-item-style {
  color: var(--order-muted);
  font-size: 0.76rem;
  margin: 0 0 6px 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.order-drawer-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.order-drawer-price-wrap {
  display: flex;
  align-items: baseline;
  gap: 5px;
}

.order-drawer-price-label {
  font-size: 0.72rem;
  color: var(--order-muted);
}

.order-drawer-base-price {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--order-accent);
}

/* 3-Step Process - Ultra Refined Connected Stepper */
.order-drawer-steps-box {
  background: var(--order-surface);
  border: 1px solid var(--order-soft);
  border-radius: 16px;
  padding: 15px 18px;
  margin-bottom: 16px;
}

.order-drawer-steps-heading {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--order-accent);
  margin-bottom: 14px;
}

.order-drawer-steps {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.order-drawer-steps::before {
  content: "";
  position: absolute;
  top: 10px;
  bottom: 12px;
  left: 11px;
  width: 1px;
  background: linear-gradient(180deg, var(--order-border) 0%, var(--order-soft) 100%);
  z-index: 0;
}

.order-drawer-step {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.order-step-num {
  width: 23px;
  height: 23px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--order-cta-start) 0%, var(--order-cta-end) 100%);
  color: var(--order-cta-ink);
  font-size: 0.72rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 0 10px var(--order-border);
  margin-top: 1px;
}

.order-step-content {
  flex: 1;
}

.order-step-title {
  color: var(--order-ink);
  font-size: 0.84rem;
  font-weight: 700;
  margin-bottom: 2px;
  letter-spacing: -0.01em;
}

.order-step-desc {
  font-size: 0.75rem;
  color: var(--order-muted);
  line-height: 1.4;
}

/* What's Included Feature List */
.order-drawer-features {
  margin-bottom: 16px;
  padding: 0 4px;
}

.order-features-title {
  font-size: 0.74rem;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--order-accent);
  margin-bottom: 10px;
}

.order-features-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 7px;
}

.order-features-list li {
  font-size: 0.78rem;
  color: var(--order-muted);
  display: flex;
  align-items: center;
  gap: 9px;
  line-height: 1.35;
}

.order-features-list .chk-icon {
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: var(--order-soft);
  border: 1px solid var(--order-border);
  color: var(--order-accent);
  font-size: 0.7rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Add-ons List */
.order-drawer-addons {
  margin-bottom: 18px;
}

.order-addons-title {
  font-size: 0.74rem;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--order-accent);
  margin-bottom: 8px;
  padding: 0 4px;
}

.order-addon-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.order-addon-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--order-surface);
  border: 1px solid var(--order-border);
  border-radius: 14px;
  padding: 11px 15px;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.order-addon-item:hover {
  background: var(--order-soft);
  border-color: var(--order-border);
}

.order-addon-item input[type="checkbox"] {
  width: 17px;
  height: 17px;
  accent-color: var(--order-accent);
  cursor: pointer;
  flex-shrink: 0;
}

.order-addon-info {
  flex: 1;
  min-width: 0;
}

.order-addon-name {
  color: var(--order-ink);
  font-size: 0.83rem;
  font-weight: 650;
  margin-bottom: 1px;
}

.order-addon-sub {
  color: var(--order-muted);
  font-size: 0.71rem;
}

.order-addon-price {
  color: var(--order-accent);
  font-size: 0.85rem;
  font-weight: 750;
  white-space: nowrap;
}

/* Total Bar */
.order-drawer-total-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(135deg, var(--order-soft) 0%, var(--order-surface) 100%);
  border: 1px solid var(--order-border);
  border-radius: 16px;
  padding: 13px 18px;
  margin-bottom: 16px;
}

.order-drawer-total-label span {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--order-ink);
}

.order-drawer-total-label small {
  display: block;
  font-size: 0.7rem;
  color: var(--order-muted);
}

.order-drawer-total-val {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--order-accent);
  letter-spacing: -0.01em;
}

/* Checkout Button */
.order-drawer-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 14px;
}

.order-drawer-checkout-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 15px 22px;
  background: linear-gradient(135deg, var(--order-cta-start) 0%, var(--order-cta-mid) 45%, var(--order-cta-end) 100%);
  color: var(--order-cta-ink);
  border: 1.5px solid var(--order-border);
  border-radius: 9999px;
  font-family: var(--font-header), sans-serif;
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  cursor: pointer;
  box-shadow: 0 10px 32px var(--order-border), inset 0 1px 0 rgba(255, 255, 255, 0.6);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.order-drawer-checkout-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 40px var(--order-border);
  filter: brightness(1.04);
  color: var(--order-cta-ink);
}

.order-drawer-checkout-btn:active {
  transform: scale(0.98);
}

.order-drawer-cta-badge {
  background: var(--order-cta-badge);
  padding: 3px 9px;
  border-radius: 99px;
  font-size: 0.85rem;
  font-weight: 800;
}

.order-drawer-guarantee {
  margin: 0;
  text-align: center;
  font-size: 0.72rem;
  color: var(--order-muted);
  line-height: 1.35;
}

/* WhatsApp Alternative */
.order-drawer-wa-alt {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px solid var(--order-border);
  text-align: center;
}

.order-drawer-wa-alt span {
  font-size: 0.75rem;
  color: var(--order-muted);
}

.order-drawer-wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(37, 211, 102, 0.1);
  color: var(--order-green);
  border: 1px solid rgba(37, 211, 102, 0.3);
  padding: 8px 18px;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

.order-drawer-wa-btn:hover {
  background: rgba(37, 211, 102, 0.2);
  border-color: var(--order-green);
  color: var(--order-ink);
  transform: translateY(-1px);
}

/* Mobile Bottom Sheet mode */
@media (max-width: 640px) {
  .order-drawer-modal {
    padding: 0;
    align-items: flex-end;
  }
  .order-drawer-panel {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    max-height: 92vh;
    padding: 20px 18px 24px;
    transform: translateY(100%);
  }
  .order-drawer-handle {
    display: block;
  }
  .order-drawer-modal.is-open .order-drawer-panel {
    transform: translateY(0);
  }
}

/* Exit Modal Timer Box — locked gold + deep surface */
.exit-intent-timer-box {
  background: linear-gradient(165deg, #1a1408 0%, #251c0c 100%);
  border: 1px solid rgba(176, 138, 74, 0.45);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin-bottom: 22px;
  box-shadow: 0 8px 24px rgba(20, 14, 4, 0.30);
}

.exit-timer-label {
  font-size: var(--text-micro);
  font-weight: 700;
  letter-spacing: 0.16em;
  color: #d6b87c;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.exit-timer-clock {
  font-family: var(--font-body);
  font-size: 1.7rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.06em;
  font-variant-numeric: tabular-nums;
}

.exit-timer-sub {
  font-size: var(--text-micro);
  color: rgba(255, 255, 255, 0.78);
  margin-top: 4px;
}

/* =====================================================
   Preview Modal (device-frame demo viewer)
   ===================================================== */

/* --- Scrim (full-viewport backdrop) --- */
.preview-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  overscroll-behavior: contain;
  touch-action: pan-y;
}

.preview-modal.is-open {
  display: flex;
}

.preview-modal-scrim {
  position: absolute;
  inset: 0;
  background-color: rgba(8, 6, 14, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  touch-action: none;
  overscroll-behavior: none;
}

.preview-modal.is-open .preview-modal-scrim {
  opacity: 1;
}

/* Ambient Glow behind phone */
.preview-modal-ambient-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--theme-accent-glow, rgba(192, 149, 89, 0.45)) 0%, rgba(0, 0, 0, 0) 70%);
  filter: blur(90px);
  opacity: 0;
  pointer-events: none;
  z-index: 0;
  transition: opacity 0.6s ease, background 0.6s ease;
}

.preview-modal.is-open .preview-modal-ambient-glow {
  opacity: 0.95;
}

/* iOS Form Sheet Grab Handle */
.ios-sheet-grab-handle {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 36px;
  height: 5px;
  background-color: rgba(120, 120, 128, 0.4);
  border-radius: 3px;
  margin: 0;
  flex-shrink: 0;
  display: block;
  z-index: 20;
}

/* --- Panel shell (Luminous Luxury Light Glass Frame) --- */
.preview-modal-panel {
  position: relative;
  z-index: 1;
  width: min(96vw, 560px);
  max-height: 98vh;
  display: flex;
  flex-direction: column;
  background: #faf8f5;
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: var(--border-radius-large);
  box-shadow: 0 32px 100px rgba(14, 10, 22, 0.42), 0 0 0 1px rgba(255, 255, 255, 0.9), 0 0 40px var(--theme-accent-glow, rgba(192, 149, 89, 0.22));
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  overflow: hidden;
  overscroll-behavior: contain;
  transform: translateY(20px) scale(0.97);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.preview-modal.is-open .preview-modal-panel {
  transform: translateY(0) scale(1);
  opacity: 1;
}

/* --- Header --- */
.preview-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(212, 175, 55, 0.22);
  flex-shrink: 0;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  gap: 10px;
  min-height: 0;
}

/* One-row header: title · price · tier · style — no stacked meta */
.preview-modal-header-text {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 8px;
  min-width: 0;
  flex: 1;
}

.preview-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  flex-shrink: 1;
}

.preview-modal-title {
  font-family: var(--font-header);
  font-size: 1rem;
  font-weight: 700;
  color: #1a1524;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: min(280px, 36vw);
}

.preview-price-badge {
  font-family: var(--font-header);
  font-size: 0.82rem;
  font-weight: 700;
  color: #7b531a;
  background: rgba(192, 149, 89, 0.18);
  border: 1px solid rgba(192, 149, 89, 0.45);
  padding: 2px 8px;
  border-radius: var(--border-radius-pill);
  transition: all 0.3s ease;
}

/* Tier-specific Price Badge */
.preview-modal[data-preview-tier="1"] .preview-price-badge {
  color: #15803d;
  background: rgba(34, 197, 94, 0.14);
  border-color: rgba(34, 197, 94, 0.4);
}
.preview-modal[data-preview-tier="2"] .preview-price-badge {
  color: #be185d;
  background: rgba(236, 72, 153, 0.14);
  border-color: rgba(236, 72, 153, 0.4);
}
.preview-modal[data-preview-tier="3"] .preview-price-badge {
  color: #854d0e;
  background: rgba(234, 179, 8, 0.18);
  border-color: rgba(202, 138, 4, 0.45);
}

.preview-orig-price {
  font-size: 0.72rem;
  color: rgba(0, 0, 0, 0.45);
  margin-left: 4px;
  font-weight: 400;
}

.preview-modal-style-tag {
  font-size: 0.72rem;
  color: #6b6378;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 180px;
  flex-shrink: 1;
  min-width: 0;
}

/* Multi-event copy is package-level — keep out of the header chrome */
.preview-multievent-note {
  display: none !important;
}

.preview-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.preview-header-btn {
  font-size: 0.82rem;
  font-weight: 700;
  color: #120c1f;
  background: linear-gradient(135deg, #f5d77f 0%, #dfb877 100%);
  border: 1px solid rgba(255, 225, 130, 0.85);
  padding: 6px 15px;
  border-radius: var(--border-radius-pill);
  transition: all 0.2s ease;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(223, 184, 119, 0.45);
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.preview-header-btn:hover {
  background: linear-gradient(135deg, #ffffff 0%, #f5d77f 100%);
  color: #0d0817;
  transform: translateY(-1px) scale(1.04);
  box-shadow: 0 6px 18px rgba(255, 225, 120, 0.65);
}

/* Tier 1: Classic Full Demo Button (Sage Green) */
.preview-modal[data-preview-tier="1"] .preview-header-btn {
  background: linear-gradient(135deg, #a7f3d0 0%, #34d399 100%);
  color: #062419;
  border-color: rgba(200, 250, 220, 0.9);
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.45);
}
.preview-modal[data-preview-tier="1"] .preview-header-btn:hover {
  background: linear-gradient(135deg, #ffffff 0%, #a7f3d0 100%);
  color: #021a11;
  box-shadow: 0 6px 18px rgba(52, 211, 153, 0.65);
}

/* Tier 2: Premium Full Demo Button (Rose Pink) */
.preview-modal[data-preview-tier="2"] .preview-header-btn {
  background: linear-gradient(135deg, #fbcfe8 0%, #f472b6 100%);
  color: #2b0818;
  border-color: rgba(255, 225, 240, 0.9);
  box-shadow: 0 4px 14px rgba(236, 72, 153, 0.45);
}
.preview-modal[data-preview-tier="2"] .preview-header-btn:hover {
  background: linear-gradient(135deg, #ffffff 0%, #fbcfe8 100%);
  color: #1f0410;
  box-shadow: 0 6px 18px rgba(244, 114, 182, 0.65);
}

/* Tier 3: Luxury Full Demo Button (Amber Gold) */
.preview-modal[data-preview-tier="3"] .preview-header-btn {
  background: linear-gradient(135deg, #f5d77f 0%, #dfb877 100%);
  color: #120c1f;
  border-color: rgba(255, 225, 130, 0.9);
  box-shadow: 0 4px 14px rgba(223, 184, 119, 0.45);
}
.preview-modal[data-preview-tier="3"] .preview-header-btn:hover {
  background: linear-gradient(135deg, #ffffff 0%, #f5d77f 100%);
  color: #0d0817;
  box-shadow: 0 6px 18px rgba(255, 225, 120, 0.65);
}

/* FAQ Button in Preview Header */
.preview-header-btn.preview-faq-header-btn,
.preview-faq-header-btn {
  background: #ffffff !important;
  color: #1a1524 !important;
  border: 1.5px solid rgba(26, 21, 36, 0.28) !important;
  box-shadow: 0 1px 3px rgba(18, 12, 31, 0.08) !important;
  font-size: 0.76rem !important;
  font-weight: 700 !important;
  padding: 5px 12px !important;
  cursor: pointer;
  letter-spacing: 0.02em;
}

.preview-header-btn.preview-faq-header-btn:hover,
.preview-faq-header-btn:hover {
  background: #f4f1f8 !important;
  color: #000000 !important;
  border-color: rgba(26, 21, 36, 0.45) !important;
  transform: translateY(-1px) scale(1.02);
  box-shadow: 0 3px 10px rgba(18, 12, 31, 0.12) !important;
}

/* --- Preview Modal FAQ Popup System --- */
.preview-faq-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(14, 10, 22, 0.48);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 0;
}

.preview-faq-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.preview-faq-sheet {
  width: min(100%, 460px);
  max-height: min(760px, calc(100dvh - 40px));
  background: #fffaf7;
  border: 1px solid #e7dcd6;
  border-radius: 22px;
  box-shadow: 
    0 24px 60px rgba(14, 10, 22, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.9);
  padding: 22px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 0;
  overflow: hidden;
  transform: translateY(14px) scale(0.96);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.preview-faq-backdrop.is-open .preview-faq-sheet {
  transform: translateY(0) scale(1);
}

.preview-faq-sheet-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
  flex-shrink: 0;
}

.preview-faq-sheet-title-wrap {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.preview-faq-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #92400e;
  background: rgba(245, 158, 11, 0.14);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: 9999px;
  padding: 2px 7px;
}

.preview-faq-sheet-title {
  font-family: var(--font-header), sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: #1a1622;
  margin: 0;
  letter-spacing: -0.01em;
}

.preview-faq-close {
  background: rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.08);
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 50%;
  font-size: 1.25rem;
  line-height: 1;
  color: #3b334a;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.preview-faq-close:hover {
  background: rgba(0, 0, 0, 0.1);
  color: #000000;
}

.preview-faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-right: 6px;
  scrollbar-width: thin;
  scrollbar-color: var(--gallery-accent-border) transparent;
}

.preview-faq-list::-webkit-scrollbar {
  width: 4px;
}
.preview-faq-list::-webkit-scrollbar-thumb {
  background: var(--gallery-accent-border);
  border-radius: 4px;
}

.preview-faq-item {
  background: transparent;
  border: 0;
  border-bottom: 1px solid #e7dcd6;
  border-radius: 0;
  padding: 18px 0;
}
.preview-faq-item:last-child { border-bottom: 0; }

.preview-faq-q {
  display: flex;
  align-items: center;
  gap: 7px;
}

.preview-faq-icon {
  display: none;
}

.preview-faq-q h4 {
  font-family: var(--font-header), sans-serif;
  font-size: .94rem;
  font-weight: 700;
  color: #1a1622;
  margin: 0;
  line-height: 1.45;
}

.preview-faq-a {
  font-family: var(--font-body), sans-serif;
  font-size: .94rem;
  color: #655653;
  line-height: 1.6;
  margin: 7px 0 0;
}

.preview-faq-a strong {
  color: #1a1622;
  font-weight: 600;
}

.preview-faq-sheet-footer {
  padding-top: 16px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  display: flex;
  justify-content: stretch;
  flex-shrink: 0;
}

.preview-faq-gotit-btn {
  width: 100%;
  height: 46px;
  border: none;
  background: var(--gallery-accent);
  color: #ffffff;
  font-family: var(--font-header), sans-serif;
  font-size: .9rem;
  font-weight: 600;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.preview-faq-gotit-btn:hover {
  filter: brightness(.92);
}

#preview-modal.is-faq-open :is(.preview-footer-controls, .preview-side-arrow) { visibility: hidden; }
#preview-modal .preview-faq-sheet-title { color: var(--gallery-accent); }
@media (prefers-reduced-motion: reduce) {
  .preview-faq-backdrop, .preview-faq-sheet { transition: none; }
}

@media (max-width: 540px) {
  .preview-faq-sheet {
    width: 100%;
    max-height: calc(100dvh - 40px);
    padding: 18px;
    border-radius: 18px;
    gap: 0;
  }
  .preview-faq-sheet-title {
    font-size: 1.3rem;
  }
  .preview-faq-q h4 {
    font-size: .94rem;
  }
  .preview-faq-a {
    font-size: .94rem;
    margin-left: 0;
  }
}

.preview-modal-close {
  background: rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.1);
  font-size: 1.3rem;
  line-height: 1;
  color: #2b2438;
  cursor: pointer;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.preview-modal-close:hover {
  color: #000000;
  background: rgba(0, 0, 0, 0.12);
}

/* --- Body Canvas & 3D Stage (Luminous Luxury Canvas) --- */
.preview-modal-body {
  position: relative;
  flex: 1 1 auto;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 8px 16px 12px;
  background: radial-gradient(ellipse at 50% 30%, rgba(255, 255, 255, 0.98) 0%, rgba(250, 246, 238, 0.96) 60%, rgba(243, 237, 226, 0.98) 100%);
  transition: background 0.6s ease;
  overflow: hidden;
  overscroll-behavior: contain;
  min-height: 0;
}

.preview-modal-body::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: var(--theme-accent-color, #c09559);
  filter: blur(120px);
  opacity: 0.18;
  pointer-events: none;
  transition: background 0.6s ease, opacity 0.6s ease;
}

/* Distinct Luxury Pattern Canvas for each preview (strictly in backdrop layer behind device) */
.preview-pattern-canvas {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.28;
  background-repeat: repeat;
  background-position: center center;
  background-size: var(--preview-pattern-size, 72px 72px);
  transition: opacity 0.5s ease, background-image 0.6s ease;
  -webkit-mask-image: radial-gradient(ellipse at 50% 45%, rgba(0, 0, 0, 0.95) 20%, rgba(0, 0, 0, 0.55) 65%, transparent 95%);
  mask-image: radial-gradient(ellipse at 50% 45%, rgba(0, 0, 0, 0.95) 20%, rgba(0, 0, 0, 0.55) 65%, transparent 95%);
}

/* Side Navigation Arrows (Story style) */
.preview-side-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(212, 175, 55, 0.35);
  color: #1a1622;
  font-size: 1.6rem;
  line-height: 1;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.side-arrow-prev { left: 14px; }
.side-arrow-next { right: 14px; }

.preview-side-arrow:hover {
  background: var(--color-brand-gold);
  color: #000000;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 4px 18px rgba(192, 149, 89, 0.45);
}

/* --- 3D Perspective Stage & Rig --- */
.preview-3d-stage {
  position: relative;
  z-index: 5;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  perspective: 1300px;
  perspective-origin: 50% 40%;
  overflow: visible;
  overscroll-behavior: contain;
  padding-top: 12px;
}

.preview-phone-3d-rig {
  position: relative;
  z-index: 6;
  transform-style: preserve-3d;
  /* No CSS transition — the rAF physics loop handles all interpolation */
  display: flex;
  justify-content: center;
  align-items: flex-start;
  will-change: transform;
}

.preview-phone-3d-rig.is-3d-mode {
  /* Resting pose set by JS physics; this is the fallback */
  transform: rotateY(-11deg) rotateX(5deg) rotateZ(-0.8deg);
}

.preview-phone-3d-rig.is-flat-mode {
  transform: rotateY(0deg) rotateX(0deg) rotateZ(0deg) !important;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Entrance: smooth cinematic glide start pose */
.preview-phone-3d-rig.is-entering {
  transform: rotateY(-18deg) rotateX(8deg) rotateZ(-0.9deg) scale(0.96) translateY(18px);
  opacity: 0.7;
}

/* Floor Shadow in 3D Space — reactive via JS on light stage */
.phone-shadow-3d {
  position: absolute;
  bottom: -28px;
  left: 3%;
  width: 94%;
  height: 54px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(40, 28, 15, 0.42) 0%, rgba(40, 28, 15, 0.16) 45%, transparent 70%);
  filter: blur(16px);
  transform: rotateX(85deg) translateZ(-40px);
  pointer-events: none;
  z-index: -2;
  will-change: transform, opacity;
}

.preview-phone-3d-rig.is-flat-mode .phone-shadow-3d {
  transform: rotateX(85deg) translateZ(0) !important;
  opacity: 0.22;
  filter: none !important;
  background: radial-gradient(ellipse at center, rgba(30, 20, 10, 0.32) 0%, rgba(30, 20, 10, 0.12) 50%, transparent 75%) !important;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

/* --- Multi-Layer Specular Glass Glare System --- */
.phone-glass-glare-stack {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9;
  border-radius: 46px;
  overflow: hidden;
}

.glare-layer {
  position: absolute;
  top: 0;
  left: -25%;
  width: 150%;
  height: 100%;
  pointer-events: none;
  border-radius: 46px;
  will-change: transform, opacity;
}

/* Layer 1: Primary specular hotspot — bright, tight, follows mouse fast */
.glare-highlight {
  background: linear-gradient(
    115deg,
    transparent 0%,
    rgba(255, 255, 255, 0.28) 25%,
    rgba(255, 255, 255, 0.08) 40%,
    transparent 55%
  );
  mix-blend-mode: screen;
  opacity: 0.75;
}

/* Layer 2: Edge rim bloom — shifts to opposite side, slower */
.glare-rim {
  background: linear-gradient(
    -65deg,
    transparent 0%,
    transparent 55%,
    rgba(255, 255, 255, 0.12) 75%,
    rgba(255, 255, 255, 0.06) 90%,
    transparent 100%
  );
  mix-blend-mode: screen;
  opacity: 0.55;
}

/* Layer 3: Ambient diffuse wash — very soft, widest, slowest */
.glare-ambient {
  background: radial-gradient(
    ellipse at 40% 30%,
    rgba(255, 255, 255, 0.10) 0%,
    rgba(255, 255, 255, 0.03) 50%,
    transparent 80%
  );
  mix-blend-mode: soft-light;
  opacity: 0.5;
}

/* Flat mode completely hides glare layers to maximize iframe scrolling performance */
.preview-phone-3d-rig.is-flat-mode .phone-glass-glare-stack {
  display: none !important;
  opacity: 0 !important;
}

/* Entrance glare sweep animation */
@keyframes glareSweepEntrance {
  0% {
    transform: translateX(-120%) translateY(-30%);
    opacity: 0;
  }
  40% {
    opacity: 1;
  }
  100% {
    transform: translateX(0) translateY(0);
    opacity: 0.75;
  }
}

.preview-phone-3d-rig.is-entering .glare-highlight {
  animation: glareSweepEntrance 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* prefers-reduced-motion: disable all parallax and entrance animations */
@media (prefers-reduced-motion: reduce) {
  .preview-phone-3d-rig.is-entering {
    transform: rotateY(-11deg) rotateX(5deg) rotateZ(-0.8deg);
    opacity: 1;
  }
  .preview-phone-3d-rig.is-entering .glare-highlight {
    animation: none;
  }
  .preview-phone-3d-rig {
    transition: transform 0.3s ease !important;
  }
}

/* --- Realistic iPhone 17 Pro Grade 5 Titanium Architecture --- */
.preview-modal-iframe-wrap {
  position: relative;
  z-index: 10;
  width: 405px;
  height: 864px;
  background-color: #000000;
  /* Apple continuous squircle curvature for iPhone Pro */
  border-radius: 54px;
  /* Ultra-thin uniform 6px bezel around OLED display (Apple BRS technology) */
  padding: 6px;
  box-sizing: border-box;
  /* Multi-tier Grade 5 Titanium chassis specular highlights */
  box-shadow: 
    0 0 0 1px rgba(255, 255, 255, 0.16),
    0 0 0 2px #000000,
    0 0 0 3px rgba(255, 255, 255, 0.26),
    0 0 0 6.5px #211f27,
    0 0 0 7.5px rgba(255, 255, 255, 0.18),
    0 28px 75px -14px rgba(20, 14, 8, 0.48),
    0 12px 30px -6px rgba(20, 14, 8, 0.28);
  flex-shrink: 0;
  overflow: visible;
  margin: 0 auto;
  transform-origin: center top;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* iPhone 17 Pro OLED Screen Viewport: exact 393x852 logical viewport */
.phone-screen-viewport {
  position: relative;
  width: 393px;
  height: 852px;
  border-radius: 48px;
  overflow: hidden;
  overscroll-behavior: contain;
  background-color: #000000;
  isolation: isolate;
  -webkit-mask-image: -webkit-radial-gradient(white, black);
  mask-image: radial-gradient(white, black);
}

/* Side button details on iPhone 17 Pro - positioned on outer titanium flank */
.phone-button {
  position: absolute;
  background: linear-gradient(180deg, #383542 0%, #1e1d24 50%, #2e2b36 100%);
  z-index: 1;
  pointer-events: none;
}

/* Action Button (Left side, top) */
.phone-action-btn {
  left: -10.5px;
  top: 118px;
  width: 4px;
  height: 32px;
  border-radius: 2px 0 0 2px;
  box-shadow: 
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    -1px 0 2px rgba(0, 0, 0, 0.5);
}

/* Volume Up (Left side) */
.phone-vol-up {
  left: -10.5px;
  top: 166px;
  width: 4px;
  height: 52px;
  border-radius: 2px 0 0 2px;
  box-shadow: 
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    -1px 0 2px rgba(0, 0, 0, 0.5);
}

/* Volume Down (Left side) */
.phone-vol-down {
  left: -10.5px;
  top: 230px;
  width: 4px;
  height: 52px;
  border-radius: 2px 0 0 2px;
  box-shadow: 
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    -1px 0 2px rgba(0, 0, 0, 0.5);
}

/* Power / Side Button (Right side) */
.phone-power {
  right: -10.5px;
  top: 176px;
  width: 4px;
  height: 72px;
  border-radius: 0 2px 2px 0;
  box-shadow: 
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    1px 0 2px rgba(0, 0, 0, 0.5);
}

/* Camera Control / Capture Button (Right side, lower half - iPhone 16/17 Pro signature) */
.phone-camera-control {
  right: -9.5px;
  top: 535px;
  width: 2.5px;
  height: 58px;
  border-radius: 0 2px 2px 0;
  background: linear-gradient(180deg, #24222b 0%, #15141a 50%, #1f1d26 100%);
  border-left: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 
    inset 0 0 2px rgba(0, 0, 0, 0.9),
    1px 0 1.5px rgba(0, 0, 0, 0.4);
}

/* Antenna Isolation Bands */
.phone-antenna {
  position: absolute;
  width: 7.5px;
  height: 2.5px;
  background: #110f16;
  z-index: 12;
  pointer-events: none;
  opacity: 0.85;
}
.phone-antenna-tl { left: -7.5px; top: 78px; }
.phone-antenna-tr { right: -7.5px; top: 78px; }
.phone-antenna-bl { left: -7.5px; bottom: 78px; }
.phone-antenna-br { right: -7.5px; bottom: 78px; }

/* iPhone 17 Pro Dynamic Island */
.preview-modal-phone-notch.dynamic-island-17-pro,
.preview-modal-phone-notch {
  position: absolute;
  top: 11px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 31px;
  background-color: #000000;
  border-radius: 20px;
  pointer-events: none !important;
  z-index: 15;
  box-shadow: 
    inset 0 0 0 1px rgba(255, 255, 255, 0.09),
    0 2px 8px rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 13px;
  box-sizing: border-box;
}

.dynamic-island-faceid {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #08090d;
  box-shadow: inset 0 0 2px rgba(255, 255, 255, 0.12);
  opacity: 0.85;
}

.dynamic-island-lens {
  position: relative;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #1e293b 0%, #0f172a 45%, #020617 100%);
  box-shadow: 
    inset 0 0 1.5px rgba(56, 189, 248, 0.65),
    0 0 0 1px rgba(255, 255, 255, 0.08);
}

.dynamic-island-lens-flare {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.75);
  filter: blur(0.3px);
}

.preview-modal-iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: calc(100% + 20px);
  height: 100%;
  margin-right: -20px;
  border: 0;
  border-radius: 48px;
  background-color: #000000;
  display: block;
  opacity: 0;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
  overscroll-behavior-y: contain;
  pointer-events: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.preview-modal-iframe::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

.preview-modal-iframe.is-loaded {
  opacity: 1;
}

/* Loader dots inside the phone frame */
.preview-modal-loader {
  position: absolute;
  inset: 0;
  border-radius: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: #0d0d0d;
  z-index: 5;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.preview-modal-loader.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.preview-modal-loader-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--color-brand-gold);
  opacity: 0.3;
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.preview-modal-loader-dot.is-pulse-1 {
  opacity: 0.9;
  transform: translateY(-2px);
}

.preview-modal-loader-dot.is-pulse-2 {
  opacity: 0.6;
  transform: translateY(0);
}

.preview-modal-loader-dot.is-pulse-3 {
  opacity: 0.3;
  transform: translateY(0);
}

/* --- Footer Toolbar (Light Luxury Treatment) --- */
.preview-modal-toolbar {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  padding: 8px 16px 10px;
  background: rgba(255, 255, 255, 0.96);
  border-top: 1px solid rgba(212, 175, 55, 0.22);
  flex-shrink: 0;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  width: 100%;
  box-sizing: border-box;
}

.preview-toolbar-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  flex-wrap: nowrap;
}

.preview-toolbar-nav-group {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.preview-counter-badge {
  font-size: 0.72rem;
  color: #635b70;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.preview-nav-btn {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.1);
  color: #1a1622;
  border-radius: var(--border-radius-pill);
  font-size: 0.85rem;
  line-height: 1;
  cursor: pointer;
  transition: var(--transition-fast);
}

.preview-nav-btn:hover {
  background: var(--color-brand-gold);
  color: #000000;
  border-color: var(--color-brand-gold);
  transform: translateY(-1px);
}

.preview-view-toggle {
  display: inline-flex;
  align-items: center;
  background: rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--border-radius-pill);
  padding: 2px;
  gap: 2px;
  flex-shrink: 0;
}

.preview-view-btn {
  background: none;
  border: none;
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: var(--border-radius-pill);
  cursor: pointer;
  color: #554e63;
  transition: var(--transition-fast);
  white-space: nowrap;
}

.preview-view-btn.active {
  background: #1a1622;
  color: #ffffff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
}

.preview-modal-tiers {
  display: inline-flex;
  align-items: center;
  background: rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--border-radius-pill);
  padding: 2px;
  gap: 2px;
  flex-shrink: 0;
}

.preview-tier-tab {
  background: none;
  border: none;
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: var(--border-radius-pill);
  cursor: pointer;
  color: #554e63;
  transition: var(--transition-fast);
  white-space: nowrap;
}

.preview-tier-tab:hover {
  color: #000000;
}

.preview-tier-tab.is-active {
  font-weight: 700;
}

.preview-tier-tab[data-preview-tier="1"].is-active {
  background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(22, 163, 74, 0.35);
}

.preview-tier-tab[data-preview-tier="2"].is-active {
  background: linear-gradient(135deg, #db2777 0%, #be185d 100%);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(219, 39, 119, 0.35);
}

.preview-tier-tab[data-preview-tier="3"].is-active {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #000000;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(217, 119, 6, 0.35);
}

/* Actions Row in Footer */
.preview-modal-actions {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.preview-actions-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
}

.preview-toolbar-btn {
  border: none;
  outline: none;
  font-family: var(--font-header), sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  padding: 0 20px;
  height: 44px;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  white-space: nowrap;
  text-decoration: none;
  letter-spacing: 0.01em;
  box-sizing: border-box;
}

/* Primary Preview Modal Checkout CTA Button (Luxury Gold) */
.preview-toolbar-razorpay {
  flex: 1.35;
  max-width: 270px;
  background: linear-gradient(135deg, #fce9b5 0%, #dfb877 45%, #b6853d 100%) !important;
  color: #161005 !important;
  border: 1.5px solid rgba(255, 246, 218, 0.85) !important;
  box-shadow: 0 4px 20px rgba(223, 184, 119, 0.45), 0 0 14px rgba(252, 233, 181, 0.3) !important;
  font-weight: 750;
  font-size: 0.94rem;
  letter-spacing: 0.015em;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.35);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.preview-toolbar-razorpay::before {
  content: "";
  position: absolute;
  top: 0;
  left: -80%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transform: skewX(-20deg);
  transition: left 0.65s ease;
  pointer-events: none;
}

.preview-toolbar-razorpay:hover::before {
  left: 130%;
}

.preview-toolbar-razorpay:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(223, 184, 119, 0.65), 0 0 22px rgba(252, 233, 181, 0.5) !important;
  background: linear-gradient(135deg, #ffffff 0%, #fae29c 42%, #c99849 100%) !important;
  border-color: #ffffff !important;
  color: #0f0902 !important;
}

.preview-toolbar-razorpay:active {
  transform: scale(0.98);
}

.preview-toolbar-wa {
  flex: 1.1;
  max-width: 230px;
  background: linear-gradient(135deg, #25d366 0%, #16a34a 100%) !important;
  color: #ffffff !important;
  border: none !important;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35);
}

.preview-toolbar-wa:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
  background: linear-gradient(135deg, #22bf5b 0%, #15803d 100%) !important;
}

/* Header Share Button */
.preview-share-header-btn {
  background: rgba(212, 175, 55, 0.12) !important;
  color: #724f18 !important;
  border: 1px solid rgba(212, 175, 55, 0.42) !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05) !important;
  cursor: pointer;
  padding: 6px 13px !important;
  font-size: 0.82rem !important;
  font-weight: 600 !important;
  border-radius: var(--radius-pill) !important;
  text-decoration: none;
  transition: var(--transition-fast);
}

.preview-share-header-btn:hover {
  background: var(--color-brand-gold) !important;
  color: #000000 !important;
  border-color: var(--color-brand-gold) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(176, 138, 74, 0.35) !important;
}

/* Footer Toolbar Share Button */
.preview-toolbar-share {
  flex: 0 0 auto;
  background: rgba(212, 175, 55, 0.12) !important;
  color: #724f18 !important;
  border: 1px solid rgba(212, 175, 55, 0.42) !important;
  padding: 0 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.preview-toolbar-share:hover {
  background: var(--color-brand-gold) !important;
  color: #000000 !important;
  border-color: var(--color-brand-gold) !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(176, 138, 74, 0.35);
}

/* 3D vs Flat View Mode Switch in Toolbar */
.preview-view-toggle {
  display: inline-flex;
  align-items: center;
  background: rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.09);
  border-radius: var(--radius-pill);
  padding: 2px;
  gap: 2px;
  margin-left: 4px;
}

.preview-view-btn {
  border: none;
  background: transparent;
  color: #554e63;
  font-family: var(--font-header), sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: var(--transition-fast);
  line-height: 1.2;
}

.preview-view-btn.active {
  background: var(--color-brand-gold);
  color: #0d0914;
  box-shadow: 0 2px 8px rgba(176, 138, 74, 0.35);
}

.preview-view-btn:hover:not(.active) {
  color: #000000;
  background: rgba(0, 0, 0, 0.06);
}

/* =====================================================
   Luxury Toast & System Alert Notifications
   ===================================================== */
.toast-notification {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(-35px) scale(0.96);
  z-index: 999999;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  min-width: 320px;
  max-width: min(480px, calc(100vw - 32px));
  padding: 14px 42px 16px 16px;
  border-radius: 16px;
  background: rgba(17, 14, 24, 0.94);
  color: #fbf6ec;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 
    0 24px 60px rgba(0, 0, 0, 0.72),
    0 8px 24px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  opacity: 0;
  pointer-events: none;
  overflow: hidden;
  transition: 
    transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
  font-family: var(--font-body), sans-serif;
  text-align: left;
}

.toast-notification.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0) scale(1);
  pointer-events: auto;
}

/* Toast Badge / Icon Container */
.toast-badge {
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: transform 0.25s ease;
}

.toast-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.toast-icon svg {
  display: block;
}

/* Spinner Animation for Loading */
@keyframes toastSpin {
  100% {
    transform: rotate(360deg);
  }
}

.toast-spin {
  animation: toastSpin 0.9s linear infinite;
}

/* Toast Text Content */
.toast-content {
  flex: 1 1 auto;
  min-width: 0;
}

.toast-title {
  font-family: var(--font-header), sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.25;
  color: #ffffff;
  letter-spacing: -0.01em;
  margin-bottom: 3px;
}

.toast-message {
  font-size: 0.84rem;
  line-height: 1.45;
  color: #d6cdc4;
  font-weight: 400;
  word-break: break-word;
}

/* Action Container (WhatsApp / Help) */
.toast-action-container {
  margin-top: 10px;
}

.toast-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #25d366;
  color: #082813 !important;
  font-family: var(--font-header), sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 9999px;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
  transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.toast-action-btn:hover {
  background: #20ba59;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

/* Dismiss Close Button */
.toast-close-btn {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.5);
  font-size: 1.25rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.toast-close-btn:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  transform: scale(1.08);
}

/* Progress Bar at Bottom */
.toast-progress-track {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.toast-progress-fill {
  height: 100%;
  width: 100%;
  transform-origin: left center;
  transform: scaleX(1);
}

/* --- Theme Variants --- */

/* Shared notification surface with restrained status accents. */
.toast-notification {--toast-accent:#173e35;--toast-on-accent:#fff;--toast-status:#37624b;--toast-status-soft:#edf3eb;top:max(16px,env(safe-area-inset-top));width:min(480px,calc(100vw - 24px));min-width:0;max-width:calc(100vw - 24px);box-sizing:border-box;padding:16px 52px 18px 16px;gap:12px;border:1px solid #d6dacd;border-radius:18px;background:#fffaf1;color:#263d34;box-shadow:0 8px 28px #25382a24;backdrop-filter:none;-webkit-backdrop-filter:none;transition:transform .2s ease,opacity .2s ease;}
.toast-notification.toast-error {--toast-status:#9c3f38;--toast-status-soft:#faeae4;}
.toast-notification.toast-info {--toast-status:#52634c;--toast-status-soft:#edf0e7;}
.toast-notification .toast-badge {width:36px;height:36px;flex-basis:36px;background:var(--toast-status-soft);border:1px solid #dedfd2;border-radius:11px;color:var(--toast-status);box-shadow:none;}
.toast-notification .toast-title {color:#263d34;font-family:var(--font-header);font-weight:600;font-size:15px;line-height:1.35;margin-bottom:4px;}
.toast-notification .toast-message {color:#536154;font-size:13px;line-height:1.55;}
.toast-notification .toast-action-btn {min-height:44px;box-sizing:border-box;padding:10px 16px;border:1px solid var(--toast-accent);border-radius:999px;background:var(--toast-accent);color:var(--toast-on-accent) !important;font-size:13px;font-weight:600;box-shadow:none;transition:opacity .15s ease;}
.toast-notification .toast-action-btn:hover {background:var(--toast-accent);transform:none;box-shadow:none;opacity:.9;}
.toast-notification .toast-close-btn {top:6px;right:6px;width:44px;height:44px;background:transparent;color:#536154;font-size:24px;}
.toast-notification .toast-close-btn:hover {background:#edf0e7;color:#263d34;transform:none;}
.toast-notification :is(.toast-close-btn,.toast-action-btn):focus-visible {outline:2px solid #263d34;outline-offset:2px;}
.toast-notification .toast-progress-track {height:2px;background:#e6e7dd;}
.toast-notification .toast-progress-fill {background:var(--toast-status);}
@media(max-width:600px){.toast-notification {padding:14px 48px 16px 12px;gap:10px;border-radius:16px;}.toast-notification .toast-badge {width:32px;height:32px;flex-basis:32px;}.toast-notification .toast-title {font-size:15px;}.toast-notification .toast-message {font-size:13px;}}
@media(prefers-reduced-motion:reduce){.toast-notification,.toast-notification .toast-action-btn {transition:none;}.toast-notification .toast-spin {animation:none;}}

/* Template Card Quick-Share Button */
.template-card-share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(22, 22, 26, 0.14);
  color: var(--color-text-soft);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 7px 11px;
  border-radius: 999px;
  cursor: pointer;
  transition: var(--transition-fast);
  text-decoration: none;
  line-height: 1;
}

.template-card-share-btn:hover {
  background: var(--color-accent-soft);
  color: var(--color-accent-deep);
  border-color: var(--color-accent);
  transform: translateY(-1px);
}

.template-card-share-btn svg {
  color: var(--color-accent);
}

/* --- Body scroll lock when modal is open --- */
html.preview-modal-open,
body.preview-modal-open {
  overflow: hidden !important;
  overscroll-behavior: none !important;
  touch-action: none;
}

/* --- Responsive: shrink phone frame on narrow viewports --- */
/* Mobile + tablet: hide the floating tier nav entirely so it can't cross
   section boundaries. The catalogue has its own tier filter UI inside the
   controls-card area. Using !important to override any future overrides.
   Also tighten section padding to ~40-60px on mobile so the page flows
   quickly from one section to the next. */
@media (max-width: 900px) {

  /* Floating tier nav is now visible on all viewports */

  html,
  body {
    overflow-x: hidden;
  }

  .hero {
    padding: 18px 0 14px;
  }

  .how-it-works {
    padding: 24px 0 6px;
  }

  .pricing-section {
    padding: 24px 0;
  }

  .social-proof {
    padding: 36px 0 24px;
  }

  .catalogue-section {
    padding: 32px 0 120px;
  }

  .faq-section {
    padding: 36px 0 28px;
  }
}

/* --- Mobile Viewport Preview Modal Optimizations --- */
@media (max-width: 768px) {
  .preview-modal-panel {
    width: 100vw;
    height: 100dvh;
    max-height: 100dvh;
    border-radius: 0;
    border: none;
  }

  /* Compact preview header: one row so the phone gets the height */
  .preview-modal-header {
    padding: 6px 10px;
    gap: 6px;
    align-items: center;
    min-height: 0;
  }

  .preview-modal-header-text {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 6px;
  }

  .preview-title-row {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    flex: 1;
  }

  .preview-modal-title {
    font-size: 0.88rem;
    max-width: none;
    flex: 1;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .preview-price-badge {
    font-size: 0.7rem;
    padding: 1px 6px;
    white-space: nowrap;
    flex-shrink: 0;
  }

  /* Style tag + multi-event note steal vertical space — hide on mobile */
  .preview-modal-style-tag,
  .preview-multievent-note {
    display: none !important;
  }

  .preview-tier-badge {
    font-size: 0.55rem;
    padding: 2px 6px;
    letter-spacing: 0.06em;
  }

  .preview-header-actions {
    gap: 6px;
    flex-shrink: 0;
  }

  .preview-header-btn {
    padding: 5px 8px;
    font-size: 0.68rem;
    white-space: nowrap;
  }

  /* FAQ: keep label + solid pill so it is readable next to Full Demo */
  .preview-header-btn.preview-faq-header-btn,
  .preview-faq-header-btn {
    width: auto !important;
    height: auto !important;
    min-height: 30px;
    padding: 5px 10px !important;
    justify-content: center;
    gap: 4px;
    background: #1a1524 !important;
    color: #ffffff !important;
    border: 1.5px solid #1a1524 !important;
    box-shadow: 0 2px 8px rgba(18, 12, 31, 0.18) !important;
    font-size: 0.7rem !important;
    font-weight: 700 !important;
  }
  .preview-header-btn.preview-faq-header-btn span,
  .preview-faq-header-btn span {
    display: inline !important;
  }
  .preview-header-btn.preview-faq-header-btn svg,
  .preview-faq-header-btn svg {
    stroke: currentColor;
    flex-shrink: 0;
  }
  .preview-header-btn.preview-faq-header-btn:hover,
  .preview-faq-header-btn:hover {
    background: #2d2640 !important;
    color: #ffffff !important;
    border-color: #2d2640 !important;
  }
  #preview-fullscreen-btn {
    padding: 5px 8px;
  }

  .preview-modal-close {
    width: 30px;
    height: 30px;
    font-size: 1.25rem;
  }

  .preview-3d-stage {
    padding-top: 8px;
  }

  .ios-sheet-grab-handle {
    height: 4px;
    margin: 6px auto 2px;
  }

  .preview-modal-body {
    align-items: flex-start;
    padding: 4px 6px 8px;
    overflow: hidden;
  }

  /* Authentic iPhone 17 Pro Resolution Frame (405x864, 393x852 screen) — Scaled to fit modal canvas */
  .preview-modal-iframe-wrap {
    position: relative;
    z-index: 10;
    width: 405px;
    height: 864px;
    background-color: #000000;
    border-radius: 54px;
    padding: 6px;
    box-sizing: border-box;
    box-shadow: 
      0 0 0 1px rgba(255, 255, 255, 0.14),
      0 0 0 2px #000000,
      0 0 0 6.5px #211f27,
      0 20px 60px rgba(0, 0, 0, 0.85);
    flex-shrink: 0;
    overflow: visible;
    margin: 0 auto;
    transform-origin: center top;
    transition: none !important;
  }

  .phone-screen-viewport {
    width: 393px;
    height: 852px;
    border-radius: 48px;
    overflow: hidden;
  }

  .preview-modal-iframe {
    border-radius: 48px;
  }

  .preview-modal-phone-notch {
    display: flex !important;
    top: 11px;
    width: 120px;
    height: 30px;
    border-radius: 20px;
  }

  .preview-side-arrow {
    width: 40px;
    height: 40px;
    font-size: 1.6rem;
    z-index: 30;
    background: rgba(12, 9, 18, 0.88);
    border: 1.5px solid rgba(212, 175, 55, 0.9);
    color: #ffffff;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.14);
  }

  .side-arrow-prev { left: 8px; }
  .side-arrow-next { right: 8px; }

  .preview-side-arrow:hover,
  .preview-side-arrow:focus-visible {
    background: var(--color-brand-gold);
    color: #1a1622;
    border-color: var(--color-brand-gold);
    box-shadow: 0 4px 18px rgba(192, 149, 89, 0.55);
  }

  .preview-modal-toolbar {
    padding: 8px 12px 10px;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .preview-toolbar-top-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    flex-wrap: nowrap;
    gap: 6px;
  }

  .promo-top-bar-inner {
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    text-align: center;
  }
  .promo-top-text {
    font-size: 0.82rem;
  }

  .preview-modal-actions {
    width: 100%;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    flex-wrap: nowrap !important;
  }

  .preview-toolbar-buy {
    width: auto !important;
    flex: 1 1 50% !important;
    padding: 10px 12px !important;
    font-size: 0.8rem !important;
    text-align: center;
    border-radius: var(--border-radius-pill);
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.45);
    white-space: nowrap !important;
    justify-content: center;
  }

  /* Low-Power & Mobile GPU Rendering Optimizations */
  .preview-modal-scrim {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background-color: rgba(10, 8, 16, 0.94);
  }

  .preview-modal-panel {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
  }

  .preview-modal-header,
  .preview-modal-toolbar {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: #ffffff;
  }

  .preview-modal-body::before {
    filter: none !important;
    background: radial-gradient(circle, var(--theme-accent-color, #c09559) 0%, transparent 70%) !important;
    opacity: 0.15;
  }

  .preview-modal-ambient-glow {
    filter: none !important;
    background: radial-gradient(circle, var(--theme-accent-glow, rgba(192, 149, 89, 0.35)) 0%, transparent 70%) !important;
    opacity: 0.8;
  }

  .preview-pattern-canvas {
    -webkit-mask-image: none !important;
    mask-image: none !important;
    opacity: 0.18;
  }

  .phone-shadow-3d {
    filter: none !important;
    background: radial-gradient(ellipse at center, rgba(30, 20, 10, 0.45) 0%, rgba(30, 20, 10, 0.15) 50%, transparent 75%) !important;
  }

  .glare-highlight,
  .glare-rim,
  .glare-ambient {
    mix-blend-mode: normal !important;
  }

  .preview-phone-3d-rig,
  .phone-screen-viewport {
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
  }
}

/* Dedicated Android Hardware Optimizations */
.is-android .preview-modal-scrim,
.is-android .preview-modal-panel,
.is-android .preview-modal-header,
.is-android .preview-modal-toolbar,
.is-android .preview-faq-backdrop {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.is-android .preview-modal-body::before,
.is-android .preview-modal-ambient-glow {
  filter: none !important;
}

.is-android .phone-shadow-3d {
  filter: none !important;
  background: radial-gradient(ellipse at center, rgba(30, 20, 10, 0.45) 0%, rgba(30, 20, 10, 0.16) 50%, transparent 75%) !important;
}

.is-android .glare-highlight,
.is-android .glare-rim,
.is-android .glare-ambient {
  mix-blend-mode: normal !important;
}

.is-android .preview-pattern-canvas {
  -webkit-mask-image: none !important;
  mask-image: none !important;
  opacity: 0.16;
}

.is-android .preview-modal-iframe-wrap {
  transition: none !important;
}

/* Policy & Terms Page Styles */
.policy-page {
  padding: 40px 0 80px;
}

.policy-header {
  text-align: center;
  margin-bottom: 36px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--color-border-dark);
}

.policy-header h1 {
  font-size: 2.2rem;
  margin-bottom: 10px;
  color: var(--color-text-dark);
}

.policy-badge {
  display: inline-block;
  background: var(--color-brand-gold-light);
  color: var(--color-brand-gold-dark);
  font-family: var(--font-header);
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 14px;
  border-radius: var(--border-radius-pill);
  border: 1px solid rgba(192, 149, 89, 0.25);
  margin-bottom: 12px;
}

.policy-card {
  background: var(--color-bg-white);
  border-radius: var(--border-radius-md);
  border: 1px solid var(--color-border-dark);
  box-shadow: var(--shadow-subtle);
  padding: 32px 36px;
  margin-bottom: 24px;
}

.policy-card h2 {
  font-size: 1.3rem;
  color: var(--color-brand-forest);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.policy-card h2 span.num {
  background: var(--color-brand-gold-light);
  color: var(--color-brand-gold-dark);
  min-width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 0.92rem;
  font-weight: 700;
  border: 1px solid rgba(192, 149, 89, 0.3);
}

.policy-card p {
  color: #3a3a3c;
  line-height: 1.7;
  font-size: 0.96rem;
  margin-bottom: 12px;
}

.policy-card p:last-child {
  margin-bottom: 0;
}

.policy-highlight {
  background: #fffdf9;
  border-left: 4px solid var(--color-brand-gold);
  padding: 14px 18px;
  border-radius: 4px;
  margin: 14px 0;
  font-weight: 500;
  color: var(--color-text-dark);
}

.policy-list {
  margin: 12px 0 16px 20px;
  color: #3a3a3c;
}

.policy-list li {
  margin-bottom: 8px;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .policy-card {
    padding: 22px 20px;
  }
  .policy-header h1 {
    font-size: 1.75rem;
  }
}

/* --- 499.invitestory.in Budget Template Integration Styles --- */
.budget-pill-btn {
  background: var(--color-accent-wash);
  border: 1px solid rgba(176, 138, 74, 0.40);
  color: var(--color-accent-deep);
  font-weight: 600;
  transition: var(--transition-fast);
  white-space: nowrap;
}

.budget-pill-btn:hover {
  background: var(--color-accent);
  color: #ffffff;
  border-color: var(--color-accent);
}

.budget-section {
  padding: 0 0 var(--section-y);
  background: var(--color-bg-gray);
}

.budget-downsell-card {
  margin-top: 0;
  background: var(--color-bg-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 22px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  box-shadow: var(--shadow-subtle);
  transition: var(--transition-smooth);
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.budget-downsell-card:hover {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-card);
  transform: translateY(-2px);
}

.budget-downsell-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.budget-downsell-badge {
  display: inline-block;
  background-color: var(--color-text-dark);
  color: #ffffff;
  font-size: var(--text-micro);
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

.budget-downsell-title {
  font-family: var(--font-header);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text-dark);
  margin-bottom: 2px;
  letter-spacing: -0.005em;
}

.budget-downsell-desc {
  font-size: var(--text-small);
  color: var(--color-text-soft);
  margin: 0;
  line-height: 1.5;
}

.budget-downsell-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: var(--color-accent);
  color: #ffffff;
  border: 1px solid var(--color-accent);
  font-size: var(--text-small);
  font-weight: 600;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  transition: var(--transition-fast);
  text-decoration: none;
  letter-spacing: -0.005em;
}

.budget-downsell-cta:hover {
  background-color: var(--color-accent-hover);
  border-color: var(--color-accent-hover);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(176, 138, 74, 0.30);
}

@media (max-width: 768px) {
  .budget-downsell-card {
    flex-direction: column;
    text-align: center;
    padding: 20px 18px;
  }
  .budget-downsell-left {
    flex-direction: column;
    gap: 10px;
  }
  .budget-downsell-cta {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 580px) {
  .header-blog-btn {
    display: none;
  }
}

/* Razorpay Payment Button Integration Styles */
.razorpay-btn-wrapper {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 1 1 50% !important;
  width: auto !important;
}

.razorpay-btn-wrapper form {
  margin: 0 !important;
  padding: 0 !important;
  display: inline-flex !important;
  width: 100% !important;
  justify-content: center !important;
}

.razorpay-payment-button {
  cursor: pointer !important;
  font-family: inherit !important;
  border-radius: 9999px !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25) !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease !important;
  width: 100% !important;
  min-height: 40px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 !important;
  white-space: nowrap !important;
  font-size: 0.8rem !important;
}

.razorpay-payment-button:hover {
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35) !important;
}

/* ═══════════════════════════════════════════════════════════════════ */
/* CONVERSION OPTIMIZATION — New Component Styles                     */
/* ═══════════════════════════════════════════════════════════════════ */

/* --- Header WhatsApp Icon --- */
.header-wa-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.15);
  color: #25d366;
  transition: var(--transition-fast);
  text-decoration: none;
}
.header-wa-icon:hover {
  background: rgba(37, 211, 102, 0.25);
  transform: scale(1.08);
}
.header-wa-icon svg {
  width: 20px;
  height: 20px;
}

/* ========================================================================== */
/* 2026 compact hero art direction                                            */
/* Keeps the existing hero footprint while restoring a visual hook on mobile. */
/* ========================================================================== */
.hero-showroom {
  isolation: isolate;
  padding: clamp(38px, 5vw, 62px) 0 clamp(34px, 4.5vw, 58px);
  background: #0d0714;
}

.hero-showroom::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(13, 7, 20, 0.56), rgba(13, 7, 20, 0.9) 48%, rgba(13, 7, 20, 0.58)),
    url("assets/hero-botanical-frame.png") center / cover no-repeat;
  opacity: 0.7;
}

.hero-showroom::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 20%, rgba(223, 184, 119, 0.14), transparent 34%),
    linear-gradient(180deg, rgba(13, 7, 20, 0.05), #0d0714 94%);
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  color: rgba(243, 237, 218, 0.9);
  font-family: var(--font-serif);
  font-size: 0.96rem;
  font-style: italic;
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1.2;
}

.hero-kicker span {
  width: 28px;
  height: 1px;
  background: #dfb877;
  box-shadow: 0 0 10px rgba(223, 184, 119, 0.7);
}

.hero-headline {
  margin-bottom: 12px;
  text-wrap: balance;
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.5);
}

.hero-headline-highlight {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 600;
  background: linear-gradient(110deg, #fff5dc, #dfb877 48%, #f6dba5);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-subheadline {
  margin-bottom: 14px;
}

.hero-action-wrapper {
  margin-bottom: 18px;
}

.hero-proof-strip {
  width: fit-content;
  margin: 0 auto 28px;
  padding: 9px 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-pill);
  background: rgba(13, 7, 20, 0.54);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.showroom-card {
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.52), 0 0 0 1px rgba(223, 184, 119, 0.12);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.4s ease;
}

.showroom-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 26px 65px rgba(0, 0, 0, 0.7), 0 0 26px rgba(223, 184, 119, 0.22);
}

@media (max-width: 768px) {
  .hero-showroom {
    min-height: 0;
    padding: 22px 0 18px;
  }

  .hero-showroom::before {
    background:
      linear-gradient(180deg, rgba(13, 7, 20, 0.62), rgba(13, 7, 20, 0.96)),
      url("assets/hero-botanical-frame.png") 42% center / cover no-repeat;
    opacity: 0.58;
  }

  .hero-showroom .container {
    padding-inline: 18px;
    padding-bottom: 78px;
  }

  .hero-kicker {
    margin-bottom: 9px;
    font-size: 0.58rem;
    letter-spacing: 0.11em;
  }

  .hero-headline {
    font-size: clamp(2rem, 10vw, 2.7rem);
    line-height: 1.04;
    margin-bottom: 10px;
  }

  .hero-subheadline {
    max-width: 34ch;
    margin: 0 auto 10px;
    font-size: 0.88rem;
    line-height: 1.45;
  }

  .hero-action-wrapper {
    display: flex;
    margin-bottom: 12px;
  }

  .hero-primary-cta {
    min-height: 44px;
    padding: 11px 22px;
    font-size: 0.88rem;
  }

  .hero-wa-cta {
    display: none;
  }

  .hero-proof-strip {
    position: static;
    gap: 7px;
    margin: 0;
    padding: 8px 12px;
    font-size: 0.68rem;
    white-space: normal;
  }

  .hero-proof-strip > :nth-child(4),
  .hero-proof-strip > :nth-child(5),
  .hero-proof-item:first-child .hero-proof-text {
    display: inline-flex;
  }

  .showroom-card {
    position: absolute;
    top: 0;
    left: 50%;
    width: 52px;
    height: 74px;
    border-radius: 8px;
  }

  .showroom-card-classic {
    transform: translateX(-68px) rotate(-9deg) translateY(5px) !important;
  }

  .showroom-card-premium.is-hero-center {
    width: 57px;
    height: 80px;
    transform: translateX(-29px) translateY(-2px) scale(1.04) !important;
  }

  .showroom-card-luxury {
    transform: translateX(13px) rotate(9deg) translateY(5px) !important;
  }

  .showroom-card-media {
    height: 100%;
    aspect-ratio: auto;
  }

  .showroom-card-footer,
  .showroom-card-overlay,
  .showroom-popular-pill {
    display: none;
  }

  .hero-showroom-caption {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .showroom-card,
  .showroom-card-img,
  .hero-cta-arrow {
    transition: none;
  }
}

/* ========================================================================== */
/* Hero refresh — editorial sales message + tangible product preview          */
/* ========================================================================== */
.hero-showroom {
  min-height: min(760px, calc(100dvh - 67px));
  padding: clamp(64px, 7vw, 108px) 0 clamp(72px, 8vw, 116px);
  color: var(--ink-primary);
  text-align: left;
  background: var(--paper-page);
  border-bottom: 1px solid var(--paper-rim);
  overflow: hidden;
}

.hero-showroom::before {
  inset: -3% -2%;
  background:
    linear-gradient(92deg, var(--paper-page) 0%, var(--paper-page) 36%, rgba(244, 237, 224, 0.74) 62%, rgba(244, 237, 224, 0.32) 100%),
    url("assets/hero-botanical-frame.png") right center / auto 112% no-repeat;
  opacity: 0.62;
  filter: saturate(0.78) sepia(0.06);
}

.hero-showroom::after {
  background:
    radial-gradient(circle at 84% 38%, rgba(176, 138, 74, 0.10), transparent 36%),
    linear-gradient(180deg, transparent 0%, rgba(218, 202, 178, 0.06) 100%);
}

.hero-showroom .hero-layout {
  width: 100%;
  max-width: 1220px;
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(420px, 0.97fr);
  align-items: center;
  gap: clamp(46px, 7vw, 92px);
}

.hero-copy {
  position: relative;
  z-index: 3;
  max-width: 650px;
}

.hero-kicker {
  margin: 0 0 22px;
  color: var(--ink-muted);
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-kicker span {
  width: 32px;
  height: 1px;
  background: var(--gold-500);
  opacity: 0.7;
}

.hero-headline {
  max-width: 720px;
  margin: 0 0 24px;
  color: var(--ink-primary);
  font-family: var(--font-serif);
  font-size: clamp(3.2rem, 5.2vw, 5rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 0.97;
  text-shadow: none;
  font-feature-settings: "ss01", "lnum";
}

.hero-headline-highlight {
  display: inline-block;
  color: var(--gold-600);
  background: none;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  letter-spacing: -0.035em;
}

.hero-subheadline {
  max-width: 56ch;
  margin: 0 0 18px;
  color: var(--ink-body);
  font-size: clamp(1rem, 1.15vw, 1.13rem);
  font-weight: 400;
  line-height: 1.7;
  text-wrap: pretty;
}

.hero-action-wrapper {
  justify-content: flex-start;
  margin: 0 0 28px;
  gap: 12px;
}

.hero-primary-cta,
.hero-wa-cta {
  min-height: 52px;
  padding: 14px 24px;
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: -0.005em;
}

.hero-primary-cta {
  background: var(--ink-primary);
  color: var(--ink-on-dark);
  box-shadow: 0 14px 30px rgba(51, 40, 25, 0.18);
}

.hero-primary-cta:hover {
  color: #ffffff;
  background: #2a2017;
  box-shadow: 0 18px 36px rgba(51, 40, 25, 0.23);
}

.hero-wa-cta {
  color: #3d5b43 !important;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(61, 91, 67, 0.25);
  box-shadow: none;
}

.hero-wa-cta:hover {
  color: #294730 !important;
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(61, 91, 67, 0.45);
  box-shadow: 0 12px 24px rgba(51, 70, 53, 0.1);
}

.hero-proof-strip {
  justify-content: flex-start;
  width: auto;
  margin: 0;
  padding: 0;
  color: var(--ink-muted);
  background: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  font-size: 0.78rem;
}

.hero-star-rating {
  color: #a77b35;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
}

.hero-proof-price {
  color: #4d443a;
  font-weight: 700;
}

.hero-proof-dot {
  background: rgba(77, 68, 58, 0.32);
}

.hero-visual {
  position: relative;
  min-height: 520px;
  z-index: 2;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 36px 26px 22px 20px;
  border: 1px solid var(--paper-rim);
  border-radius: 4px;
  background: transparent;
  box-shadow: none;
  transform: none;
  pointer-events: none;
}

.hero-visual-heading {
  position: absolute;
  top: 22px;
  left: 22px;
  right: 22px;
  z-index: 6;
  display: flex;
  justify-content: space-between;
  color: var(--ink-muted);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hero-visual-heading span:last-child {
  color: var(--gold-600);
}

.showroom-card {
  appearance: none;
  position: absolute;
  display: block;
  margin: 0;
  padding: 0;
  overflow: hidden;
  text-align: left;
  border: 1px solid rgba(255, 255, 255, 0.68);
  background: var(--paper-card);
  box-shadow: 0 24px 52px rgba(67, 50, 28, 0.19), 0 4px 12px rgba(67, 50, 28, 0.1);
}

.showroom-card:focus-visible {
  outline: 3px solid rgba(148, 107, 48, 0.48);
  outline-offset: 4px;
}

.showroom-card-classic {
  left: 0;
  top: 116px;
  width: 168px;
  transform: rotate(-7deg);
  z-index: 1;
}

.showroom-card-premium.is-hero-center {
  left: 50%;
  top: 55px;
  width: 238px;
  transform: translateX(-50%);
  z-index: 4;
  border: 1px solid rgba(168, 127, 62, 0.42);
  box-shadow: 0 32px 70px rgba(67, 50, 28, 0.27), 0 5px 14px rgba(67, 50, 28, 0.12);
}

.showroom-card-luxury {
  right: 0;
  top: 127px;
  width: 168px;
  transform: rotate(7deg);
  z-index: 2;
}

.showroom-card .showroom-card-media {
  display: block;
  aspect-ratio: 0.69;
  background: #e8dfd0;
}

.showroom-card-premium.is-hero-center .showroom-card-media {
  aspect-ratio: 0.69;
}

.showroom-card-footer {
  display: block;
  padding: 12px 14px 14px;
  background: var(--paper-card);
  border-top: 1px solid rgba(80, 61, 35, 0.08);
}

.showroom-card-title {
  display: block;
  color: var(--ink-primary);
  font-family: var(--font-serif);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.showroom-tier-tag,
.showroom-tier-tag.tier-classic,
.showroom-tier-tag.tier-premium,
.showroom-tier-tag.tier-luxury {
  margin-bottom: 2px;
  color: var(--gold-600);
  font-family: var(--font-body);
  font-size: 0.58rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
}

.showroom-card-overlay {
  background: linear-gradient(180deg, transparent 58%, rgba(35, 28, 20, 0.54) 100%);
}

.showroom-play-badge,
.showroom-card-classic .showroom-play-badge,
.showroom-card-premium .showroom-play-badge,
.showroom-card-luxury .showroom-play-badge {
  color: var(--ink-on-dark);
  background: rgba(39, 31, 22, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: none;
  font-size: 0.68rem;
}

.showroom-popular-pill {
  top: 12px;
  right: 12px;
  color: var(--ink-on-dark);
  background: var(--ink-primary);
  border-radius: 4px;
  box-shadow: none;
  font-size: 0.56rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 5px 9px;
}

.hero-visual .showroom-card:hover {
  transform: translateY(-8px) rotate(0deg) scale(1.025);
  border-color: rgba(168, 127, 62, 0.55);
  box-shadow: 0 32px 72px rgba(67, 50, 28, 0.29);
}

.hero-visual .showroom-card-premium.is-hero-center:hover {
  transform: translateX(-50%) translateY(-8px) scale(1.025);
}

.hero-feature-float {
  position: absolute;
  right: 13px;
  bottom: 12px;
  z-index: 6;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  color: #6c5c43;
  background: rgba(255, 252, 246, 0.82);
  border: 1px solid rgba(112, 85, 46, 0.14);
  border-radius: 10px;
  box-shadow: 0 12px 28px rgba(67, 50, 28, 0.12);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-feature-float i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #b08a4a;
}

@media (max-width: 900px) {
  .hero-showroom {
    min-height: auto;
    padding: 52px 0 62px;
  }

  .hero-showroom .hero-layout {
    grid-template-columns: minmax(0, 1fr);
    min-width: 0;
    max-width: 100%;
    gap: 44px;
    padding-bottom: 0;
  }

  .hero-copy,
  .hero-visual {
    min-width: 0;
    max-width: 100%;
  }

  .hero-copy {
    max-width: 720px;
    text-align: center;
  }

  .hero-headline {
    font-size: clamp(2.45rem, 7vw, 3.4rem);
    line-height: 1.02;
    letter-spacing: -0.035em;
    overflow-wrap: break-word;
    hyphens: auto;
  }

  .hero-kicker,
  .hero-action-wrapper,
  .hero-proof-strip {
    justify-content: center;
  }

  .hero-subheadline {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-visual {
    width: min(560px, 100%);
    margin: 0 auto;
  }

  .showroom-card-footer {
    display: block;
  }

  .showroom-card-overlay,
  .showroom-popular-pill {
    display: flex;
  }
}

@media (max-width: 600px) {
  .hero-showroom {
    padding: 38px 0 36px;
  }

  .hero-showroom::before {
    background:
      linear-gradient(180deg, rgba(245, 239, 229, 0.95), rgba(245, 239, 229, 0.72)),
      url("assets/hero-botanical-frame.png") center / cover no-repeat;
    opacity: 0.42;
  }

  .hero-showroom .hero-layout {
    grid-template-columns: minmax(0, 1fr);
    min-width: 0;
    max-width: 100%;
    padding-inline: 18px;
    padding-bottom: 0;
    gap: 30px;
  }

  .hero-kicker {
    margin-bottom: 15px;
    font-size: 0.59rem;
    letter-spacing: 0.11em;
  }

  .hero-kicker span {
    width: 22px;
  }

  .hero-headline {
    margin-bottom: 16px;
    font-size: clamp(1.95rem, 9vw, 2.55rem);
    line-height: 1.04;
    letter-spacing: -0.025em;
    overflow-wrap: break-word;
    hyphens: auto;
    text-wrap: balance;
  }

  .hero-subheadline {
    max-width: 38ch;
    margin-bottom: 18px;
    font-size: 0.93rem;
    line-height: 1.58;
  }

  .hero-action-wrapper {
    display: flex;
    margin-bottom: 22px;
  }

  .hero-primary-cta {
    width: 100%;
    min-height: 52px;
    padding: 14px 20px;
    font-size: 0.88rem;
  }

  .hero-wa-cta {
    display: none;
  }

  .hero-proof-strip {
    position: static;
    width: 100%;
    margin: 0;
    padding: 0;
    gap: 8px;
    white-space: normal;
    font-size: 0.68rem;
  }

  .hero-proof-strip > :nth-child(4),
  .hero-proof-strip > :nth-child(5),
  .hero-proof-item:first-child .hero-proof-text {
    display: inline-flex;
  }

  .hero-star-rating {
    display: none;
  }

  .hero-visual {
    min-height: 350px;
    min-width: 0;
    max-width: 100%;
  }

  .hero-visual::before {
    inset: 18px 8px 12px;
  }

  .hero-visual-heading {
    top: 7px;
    left: 10px;
    right: 10px;
    font-size: 0.55rem;
  }

  .showroom-card {
    top: 0;
    left: auto;
    height: auto;
    border-radius: 12px;
  }

  .showroom-card-classic {
    left: 6px;
    top: 82px;
    width: 112px;
    transform: rotate(-7deg) !important;
  }

  .showroom-card-premium.is-hero-center {
    left: 50%;
    top: 32px;
    width: 158px;
    height: auto;
    transform: translateX(-50%) !important;
  }

  .showroom-card-luxury {
    left: auto;
    right: 6px;
    top: 88px;
    width: 112px;
    transform: rotate(7deg) !important;
  }

  .showroom-card-media {
    height: auto;
  }

  .showroom-card-footer {
    display: block;
    padding: 8px 9px 9px;
  }

  .showroom-card-title {
    font-size: 0.67rem;
  }

  .showroom-tier-tag {
    font-size: 0.45rem;
  }

  .showroom-card-overlay,
  .showroom-popular-pill {
    display: flex;
  }

  .showroom-play-badge {
    padding: 4px 8px;
    font-size: 0.52rem;
  }

  .showroom-popular-pill {
    top: 7px;
    right: 7px;
    padding: 3px 5px;
    font-size: 0.4rem;
  }

  .hero-visual .showroom-card:hover {
    transform: translateY(-5px) rotate(0deg) scale(1.01) !important;
  }

  .hero-visual .showroom-card-premium.is-hero-center:hover {
    transform: translateX(-50%) translateY(-5px) scale(1.01) !important;
  }

  .hero-feature-float {
    right: 0;
    bottom: 0;
    padding: 8px 10px;
    font-size: 0.54rem;
  }
}

/* --- Template Card: Primary Preview Button (Tier-Themed) --- */
.template-btn-preview-primary {
  display: block;
  width: 100%;
  padding: 13px 18px;
  border-radius: var(--radius-pill);
  font-family: var(--font-header, -apple-system, BlinkMacSystemFont, sans-serif);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  letter-spacing: 0.01em;
}

/* Tier 1: Classic (Sage & Forest Green) */
.tier-card-1 .template-btn-preview-primary,
.template-btn-preview-primary.tier-btn-1 {
  background: linear-gradient(135deg, #a7f3d0 0%, #34d399 45%, #059669 100%);
  color: #062419;
  border: 1.5px solid rgba(167, 243, 208, 0.85);
  box-shadow:
    0 4px 18px rgba(16, 185, 129, 0.38),
    0 0 14px rgba(52, 211, 153, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
}
.tier-card-1 .template-btn-preview-primary:hover,
.template-btn-preview-primary.tier-btn-1:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #c6f6d5 0%, #48bb78 45%, #10b981 100%);
  border-color: rgba(200, 250, 220, 0.95);
  box-shadow:
    0 8px 26px rgba(16, 185, 129, 0.55),
    0 0 22px rgba(52, 211, 153, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  color: #021a11;
}

/* Tier 2: Premium (Rose, Blush & Berry) */
.tier-card-2 .template-btn-preview-primary,
.template-btn-preview-primary.tier-btn-2 {
  background: linear-gradient(135deg, #fbcfe8 0%, #f472b6 45%, #db2777 100%);
  color: #2b0818;
  border: 1.5px solid rgba(251, 207, 232, 0.85);
  box-shadow:
    0 4px 18px rgba(236, 72, 153, 0.38),
    0 0 14px rgba(244, 114, 182, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
}
.tier-card-2 .template-btn-preview-primary:hover,
.template-btn-preview-primary.tier-btn-2:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #fde2e4 0%, #f687b3 45%, #ec4899 100%);
  border-color: rgba(255, 225, 240, 0.95);
  box-shadow:
    0 8px 26px rgba(236, 72, 153, 0.55),
    0 0 22px rgba(244, 114, 182, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  color: #1f0410;
}

/* Tier 3: Luxury (Royal Amber Gold & Obsidian) */
.tier-card-3 .template-btn-preview-primary,
.template-btn-preview-primary.tier-btn-3 {
  background: linear-gradient(135deg, #f5d77f 0%, #dfb877 50%, #c09559 100%);
  color: #120c1f;
  border: 1.5px solid rgba(255, 225, 130, 0.85);
  box-shadow:
    0 4px 18px rgba(223, 184, 119, 0.42),
    0 0 14px rgba(245, 215, 127, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
}
.tier-card-3 .template-btn-preview-primary:hover,
.template-btn-preview-primary.tier-btn-3:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #ffea9f 0%, #e8c687 50%, #cca062 100%);
  border-color: rgba(255, 240, 170, 0.95);
  box-shadow:
    0 8px 26px rgba(223, 184, 119, 0.6),
    0 0 22px rgba(245, 215, 127, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.75);
  color: #0d0817;
}

.template-btn-preview-primary:active {
  transform: scale(0.98);
}

/* --- Template Card: Secondary WhatsApp Link --- */
.template-card-wa-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  text-align: center;
  font-size: 0.84rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.86);
  text-decoration: none;
  padding: 6px 0 2px;
  transition: all 0.2s ease;
  letter-spacing: 0.01em;
}
.template-card-wa-link:hover {
  color: #25d366;
  text-decoration: none;
  transform: translateY(-1px);
}
.template-card-wa-link svg {
  color: #25d366;
  transition: transform 0.2s ease;
}
.template-card-wa-link:hover svg {
  transform: scale(1.15);
}

/* --- Template Card: Tier Label (next to price) --- */
.template-card-tier-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.templates-grid:not(.view-list) .template-card-tier-label {
  color: rgba(255, 248, 239, 0.82);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.55);
}
.template-card-price-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* --- Catalogue Section Header --- */
.catalogue-section-header {
  text-align: center;
  margin-bottom: var(--space-5);
}

/* --- Catalogue View Mode Toggle (Card / List) --- */
.view-mode-toggle-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 18px;
}

.view-mode-toggle {
  display: inline-flex;
  align-items: center;
  background: rgba(22, 22, 26, 0.06);
  padding: 4px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--color-border);
  gap: 4px;
}

.view-mode-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 18px;
  border-radius: var(--radius-pill);
  border: none;
  background: transparent;
  color: var(--color-text-soft);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

.view-mode-btn:hover {
  color: var(--color-text-dark);
}

.view-mode-btn.active {
  background: var(--color-text-dark);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}

.view-mode-btn svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
}

/* --- Match mode: a centered, tactile swipe deck --- */
.match-deck-grid {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  max-width: 560px !important;
  margin: 0 auto !important;
  min-height: 690px;
}
.match-mode-intro { text-align: center; margin: 4px 0 20px; }
.match-mode-kicker { color: #8b6914; font-size: .68rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.match-mode-intro h3 { margin: 8px 0 5px; font: 600 clamp(1.45rem, 3vw, 2rem)/1.12 var(--font-serif); color: var(--color-text-dark); }
.match-mode-intro p { margin: 0; color: var(--color-text-soft); font-size: .84rem; }
.match-deck { position: relative; width: min(100%, 380px); height: 510px; }
.match-card { position: absolute; inset: 0; display: flex; flex-direction: column; overflow: hidden; border-radius: 24px; background: #17161e; color: #fff; box-shadow: 0 18px 44px rgba(25, 20, 31, .22); transform: translate3d(calc(var(--drag-x, 0px) + 0px), calc(var(--drag-y, 0px) + var(--deck-offset) * 8px), 0) rotate(var(--drag-rotate, 0deg)) scale(calc(1 - var(--deck-offset) * .035)); transition: transform .35s cubic-bezier(.2,.8,.2,1), opacity .35s ease; pointer-events: none; opacity: calc(1 - var(--deck-offset) * .08); touch-action: pan-y; will-change: transform; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
.match-card.is-current { z-index: 3; pointer-events: auto; cursor: grab; }
.match-card.is-dragging { transition: none; }.match-card.dragging-left .match-stamp-nope, .match-card.dragging-right .match-stamp-like { opacity: var(--drag-progress); transform: scale(calc(.92 + var(--drag-progress) * .08)) rotate(-12deg); }.match-card.dragging-right .match-stamp-like { transform: scale(calc(.92 + var(--drag-progress) * .08)) rotate(12deg); }
.match-card.is-current:active { cursor: grabbing; }
.match-card.is-passed { opacity: 0; pointer-events: none; }
.match-card-media { position: relative; display: block; flex: 1; min-height: 0; width: 100%; border: 0; padding: 0; overflow: hidden; background: #332b38; cursor: pointer; }
.match-card-media img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .45s ease; pointer-events: none; -webkit-user-drag: none; }
.match-card-media::after { content: ""; position: absolute; inset: 35% 0 0; background: linear-gradient(transparent, rgba(12, 10, 16, .35)); pointer-events: none; }
.match-card-preview { position: absolute; z-index: 1; right: 16px; top: 16px; padding: 7px 10px; border: 1px solid rgba(255,255,255,.35); border-radius: 999px; background: rgba(12,10,16,.42); backdrop-filter: blur(8px); font-size: .65rem; letter-spacing: .06em; text-transform: uppercase; }
.match-card-info { display: flex; justify-content: space-between; gap: 16px; padding: 19px 20px 21px; background: #17161e; }
.match-card-label { color: #d5ae52; font-size: .66rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.match-card-info h3 { margin: 6px 0 4px; font: 600 1.42rem/1.1 var(--font-serif); }
.match-card-info p { margin: 0; color: rgba(255,255,255,.66); font-size: .77rem; line-height: 1.4; max-width: 260px; }
.match-card-count { flex-shrink: 0; align-self: flex-end; color: rgba(255,255,255,.45); font-size: .7rem; }
.match-stamp { position: absolute; top: 30px; z-index: 4; padding: 7px 11px; border: 2px solid currentColor; font-weight: 900; letter-spacing: .12em; transform: rotate(-12deg); opacity: 0; }
.match-stamp-nope { left: 22px; color: #f18484; transform: rotate(-12deg); }.match-stamp-like { right: 22px; color: #82d5a5; transform: rotate(12deg); }
.swipe-left { animation: matchSwipeLeft .45s ease forwards; }.swipe-right { animation: matchSwipeRight .45s ease forwards; }.swipe-left .match-stamp-nope, .swipe-right .match-stamp-like { opacity: 1; }
@keyframes matchSwipeLeft { to { transform: translate(-120%, 10%) rotate(-18deg); opacity: 0; } }
@keyframes matchSwipeRight { to { transform: translate(120%, 10%) rotate(18deg); opacity: 0; } }
.match-actions { display: flex; align-items: center; justify-content: center; gap: 22px; margin-top: 22px; }
.match-action { width: 58px; height: 58px; border-radius: 50%; background: #fff; cursor: pointer; font-size: 1.65rem; line-height: 1; transition: transform .2s ease, box-shadow .2s ease; }
.match-action:hover { transform: translateY(-3px); box-shadow: 0 8px 18px rgba(30,25,35,.14); }.match-action:active { transform: scale(.95); }
.match-action-pass { border: 1px solid #e2a5a5; color: #c96767; }.match-action-like { border: 1px solid #94cbae; color: #4b9b70; }
.match-mode-status { min-height: 18px; margin: 15px 0 0; color: var(--color-text-soft); font-size: .78rem; text-align: center; }.match-reset { margin-left: 8px; border: 0; border-bottom: 1px solid currentColor; background: none; color: var(--color-text-dark); cursor: pointer; font: inherit; font-weight: 700; }
@media (max-width: 600px) { .match-deck-grid { min-height: 610px; padding-inline: 14px; }.match-deck { height: min(118vw, 490px); }.match-mode-intro h3 { font-size: 1.45rem; } }
@media (prefers-reduced-motion: reduce) { .match-card, .match-action { transition: none; }.swipe-left, .swipe-right { animation: none; opacity: 0; } }

/* ========================================================
   TEMPLATES GRID — COMPACT LIST VIEW MODE (.view-list)
   ======================================================== */
.template-card-info-side {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.template-card-action-side {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.templates-grid.view-list {
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
  max-width: 860px !important;
  margin: 0 auto !important;
}

.templates-grid.view-list .template-card {
  position: relative !important;
  width: 100% !important;
  aspect-ratio: auto !important;
  min-height: unset !important;
  height: auto !important;
  border-radius: 16px !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  padding: 12px 16px !important;
  gap: 14px !important;
  background: #15141c !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.22) !important;
  justify-content: flex-start !important;
}

.templates-grid.view-list .template-card:hover {
  transform: translateY(-2px) !important;
  border-color: rgba(212, 175, 55, 0.45) !important;
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.35) !important;
}

.templates-grid.view-list .template-card-media {
  position: relative !important;
  inset: auto !important;
  width: 58px !important;
  height: 58px !important;
  border-radius: 12px !important;
  flex-shrink: 0 !important;
  overflow: hidden !important;
  cursor: pointer !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3) !important;
}

.templates-grid.view-list .template-card-img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  transform: none !important;
}

.templates-grid.view-list .template-card-overlay {
  display: none !important;
}

.templates-grid.view-list .template-card-content {
  position: static !important;
  inset: auto !important;
  width: auto !important;
  flex: 1 !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  padding: 0 !important;
}

.templates-grid.view-list .template-card-info-side {
  display: flex !important;
  flex-direction: column !important;
  gap: 3px !important;
  min-width: 0 !important;
  flex: 1 !important;
}

.templates-grid.view-list .template-card-header {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 2px !important;
}

.templates-grid.view-list .template-card-title {
  font-size: 1rem !important;
  font-weight: 700 !important;
  margin: 0 !important;
  line-height: 1.25 !important;
  text-shadow: none !important;
  white-space: normal !important;
  word-break: break-word !important;
}

.templates-grid.view-list .template-card-tags {
  display: inline-flex !important;
  gap: 4px !important;
}

.templates-grid.view-list .template-tag {
  padding: 2px 7px !important;
  font-size: 0.65rem !important;
  line-height: 1.1 !important;
}

.templates-grid.view-list .template-card-desc {
  display: none !important;
}

.templates-grid.view-list .template-card-action-side {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 14px !important;
  flex-shrink: 0 !important;
}

.templates-grid.view-list .template-card-price-wrap {
  margin-top: 0 !important;
  text-align: right !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-end !important;
  gap: 1px !important;
}

.templates-grid.view-list .template-card-price {
  font-size: 1.1rem !important;
  line-height: 1 !important;
  font-weight: 700 !important;
}

.templates-grid.view-list .template-card-tier-label {
  font-size: 0.62rem !important;
  margin-left: 0 !important;
  opacity: 0.75 !important;
  text-transform: uppercase !important;
}

.templates-grid.view-list .template-card-actions {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  margin-top: 0 !important;
}

.templates-grid.view-list .template-btn-preview-primary {
  width: auto !important;
  padding: 8px 16px !important;
  font-size: 0.8rem !important;
  min-height: unset !important;
  height: auto !important;
  border-radius: var(--radius-pill) !important;
}

.templates-grid.view-list .template-card-wa-link {
  margin-top: 0 !important;
  padding: 7px 12px !important;
  border-radius: var(--radius-pill) !important;
  background: rgba(37, 211, 102, 0.12) !important;
  border: 1px solid rgba(37, 211, 102, 0.25) !important;
  font-size: 0.78rem !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
}

.templates-grid.view-list .template-card-wa-link:hover {
  background: #25d366 !important;
  color: #ffffff !important;
}

/* Refined list hierarchy for wider screens: identity → price → actions. */
@media (min-width: 641px) {
  .templates-grid.view-list .template-card {
    display: grid !important;
    grid-template-columns: 72px minmax(0, 1fr) 92px minmax(250px, auto) !important;
    grid-template-rows: minmax(112px, auto) !important;
    align-items: center !important;
    gap: 16px !important;
    min-height: 140px !important;
    padding: 14px 18px !important;
    border-radius: 18px !important;
    background: linear-gradient(110deg, #17161e 0%, #121118 100%) !important;
    border-color: rgba(212, 175, 55, 0.22) !important;
    box-shadow: 0 10px 28px rgba(18, 14, 25, 0.16) !important;
  }
  .templates-grid.view-list .template-card-media {
    grid-column: 1 !important;
    grid-row: 1 !important;
    width: 72px !important;
    height: 96px !important;
    border-radius: 12px !important;
  }
  .templates-grid.view-list .template-card-content { display: contents !important; }
  .templates-grid.view-list .template-card-info-side {
    grid-column: 2 !important;
    grid-row: 1 !important;
    min-width: 0 !important;
  }
  .templates-grid.view-list .template-card-title {
    font-size: clamp(1.05rem, 1.4vw, 1.35rem) !important;
    letter-spacing: -.02em !important;
  }
  .templates-grid.view-list .template-card-tags { margin-top: 7px; }
  .templates-grid.view-list .template-card-action-side {
    display: contents !important;
  }
  .templates-grid.view-list .template-card-price-wrap {
    grid-column: 3 !important;
    grid-row: 1 !important;
    align-items: flex-start !important;
    text-align: left !important;
    gap: 5px !important;
  }
  .templates-grid.view-list .template-card-price {
    font-size: 1.45rem !important;
    color: #fff8ef !important;
  }
  .templates-grid.view-list .template-card-tier-label {
    font-size: .68rem !important;
    letter-spacing: .08em !important;
  }
  .templates-grid.view-list .template-card-actions {
    grid-column: 4 !important;
    grid-row: 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 8px !important;
    width: 100% !important;
  }
  .templates-grid.view-list .template-btn-pay,
  .templates-grid.view-list .template-btn-preview-primary {
    width: auto !important;
    min-height: 44px !important;
    height: 44px !important;
    padding: 10px 15px !important;
    font-size: .78rem !important;
    white-space: nowrap !important;
  }
  .templates-grid.view-list .template-card-wa-link {
    width: 42px !important;
    height: 42px !important;
    min-height: 42px !important;
    padding: 0 !important;
    justify-content: center !important;
    border-radius: 50% !important;
  }
  .templates-grid.view-list .template-card-wa-link .wa-text-label { display: none !important; }
}

@media (max-width: 640px) {
  .templates-grid.view-list .template-card {
    padding: 10px 12px !important;
    gap: 10px !important;
    border-radius: 14px !important;
  }
  .templates-grid.view-list .template-card-media {
    width: 48px !important;
    height: 48px !important;
    border-radius: 10px !important;
  }
  .templates-grid.view-list .template-card-title {
    font-size: 0.92rem !important;
  }
  .templates-grid.view-list .template-card-action-side {
    gap: 8px !important;
  }
  .templates-grid.view-list .template-card-price {
    font-size: 0.95rem !important;
  }
  .templates-grid.view-list .template-btn-preview-primary {
    padding: 7px 11px !important;
    font-size: 0.76rem !important;
  }
  .templates-grid.view-list .btn-text-invitation {
    display: none !important;
  }
  .templates-grid.view-list .wa-text-label {
    display: none !important;
  }
  .templates-grid.view-list .template-card-wa-link {
    padding: 7px !important;
    width: 32px !important;
    height: 32px !important;
    justify-content: center !important;
    border-radius: 50% !important;
  }
}

/* --- How It Works: Tagline --- */
.how-steps-tagline {
  text-align: center;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--color-accent);
  margin-top: var(--space-5);
  letter-spacing: 0.02em;
}

/* ═══════════════════════════════════════════════════════════════════ */
/* POST-ORDER SECTION — "What happens after you order?"               */
/* ═══════════════════════════════════════════════════════════════════ */
.post-order-section {
  padding: var(--section-y) 0;
  background: linear-gradient(180deg, #0d1a14 0%, #0a1f16 50%, #0d1a14 100%);
  color: #f3edda;
}
.post-order-section .section-title {
  color: #fff;
}
.post-order-section .section-subtitle {
  color: rgba(243, 237, 218, 0.7);
}

.post-order-steps {
  max-width: 560px;
  margin: var(--space-6) auto 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.post-order-step {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(243, 237, 218, 0.1);
  position: relative;
}
.post-order-step:last-child {
  border-bottom: none;
}

.post-order-step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  min-width: 32px;
  border-radius: 50%;
  background: rgba(176, 138, 74, 0.2);
  border: 1.5px solid rgba(176, 138, 74, 0.5);
  color: #ecd9ac;
  font-family: var(--font-header);
  font-weight: 700;
  font-size: 0.85rem;
}

.post-order-step-content h4 {
  font-family: var(--font-header);
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 4px;
}

.post-order-step-content p {
  font-size: 0.88rem;
  line-height: 1.55;
  color: rgba(243, 237, 218, 0.7);
  margin: 0;
}

/* ═══════════════════════════════════════════════════════════════════ */
/* FINAL CTA — Secondary Link                                        */
/* ═══════════════════════════════════════════════════════════════════ */
.final-cta-secondary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
  font-size: 0.92rem;
  color: rgba(243, 237, 218, 0.6);
}
.final-cta-wa-link {
  color: #25d366;
  text-decoration: none;
  font-weight: 600;
  transition: opacity 0.2s ease;
}
.final-cta-wa-link:hover {
  opacity: 0.85;
  text-decoration: underline;
}

/* ═══════════════════════════════════════════════════════════════════ */
/* PREVIEW MODAL — Space-Efficient Footer & Mobile Optimizations       */
/* ═══════════════════════════════════════════════════════════════════ */
@media (max-width: 540px) {
  .preview-modal-toolbar {
    padding: 7px 10px 9px;
    gap: 7px;
  }
  .preview-toolbar-top-row {
    gap: 4px;
    flex-wrap: nowrap !important;
    justify-content: space-between;
    width: 100%;
  }
  .preview-toolbar-nav-group {
    gap: 4px;
  }
  .preview-nav-btn {
    width: 25px;
    height: 25px;
    font-size: 0.78rem;
  }
  .preview-counter-badge {
    font-size: 0.67rem;
  }
  .preview-view-toggle,
  .preview-modal-tiers {
    padding: 1.5px;
    gap: 1.5px;
  }
  .preview-view-btn,
  .preview-tier-tab {
    padding: 2.5px 6px;
    font-size: 0.64rem;
  }
  .preview-actions-row {
    display: flex;
    flex-direction: row !important;
    gap: 6px !important;
    width: 100% !important;
  }
  .preview-toolbar-razorpay,
  .preview-toolbar-paypal,
  .preview-toolbar-wa {
    flex: 1 !important;
    min-width: 0 !important;
    font-size: 0.78rem !important;
    padding: 0 8px !important;
    height: 38px !important;
  }
  .preview-toolbar-share {
    flex: 0 0 38px !important;
    width: 38px !important;
    height: 38px !important;
    padding: 0 !important;
  }
  .preview-toolbar-share span {
    display: none;
  }
}

/* ═══════════════════════════════════════════════════════════════════ */
/* MOBILE PREVIEW & MODAL — Completely Hide All Scrollbars            */
/* ═══════════════════════════════════════════════════════════════════ */
.preview-modal,
.preview-modal *,
.preview-modal-panel,
.preview-modal-body,
.preview-modal-toolbar,
.preview-toolbar-top-row,
.preview-modal-tiers,
.preview-actions-row,
.preview-3d-stage,
.phone-screen-viewport,
.preview-modal-iframe,
body.preview-modal-open,
html:has(body.preview-modal-open) {
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}

.preview-modal::-webkit-scrollbar,
.preview-modal *::-webkit-scrollbar,
.preview-modal-panel::-webkit-scrollbar,
.preview-modal-body::-webkit-scrollbar,
.preview-modal-toolbar::-webkit-scrollbar,
.preview-toolbar-top-row::-webkit-scrollbar,
.preview-modal-tiers::-webkit-scrollbar,
.preview-actions-row::-webkit-scrollbar,
.preview-3d-stage::-webkit-scrollbar,
.phone-screen-viewport::-webkit-scrollbar,
.preview-modal-iframe::-webkit-scrollbar,
body.preview-modal-open::-webkit-scrollbar,
html:has(body.preview-modal-open)::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  background: transparent !important;
}

/* ═══════════════════════════════════════════════════════════════════ */
/* UPI-FIRST FUNNEL — package dual CTAs, express toggle, success panel */
/* ═══════════════════════════════════════════════════════════════════ */

/* Hero secondary (outline) CTA — replaces WhatsApp-first hero button */
.hero-secondary-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: transparent;
  color: #2a2118 !important;
  border: 1.5px solid rgba(42, 33, 24, 0.55);
  font-family: var(--font-header);
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  padding: 15px 30px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}
.hero-secondary-cta:hover {
  transform: translateY(-2px);
  background: rgba(42, 33, 24, 0.06);
  border-color: rgba(42, 33, 24, 0.85);
  color: #1a140f !important;
}
.hero-secondary-cta:active {
  transform: scale(0.98);
}

/* Differentiation line above the pricing grid */
.pricing-diff-line {
  text-align: center;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-accent-deep);
  background: var(--color-accent-wash);
  border: 1px solid rgba(176, 138, 74, 0.28);
  border-radius: var(--radius-sm);
  padding: 10px 18px;
  max-width: 640px;
  margin: 18px auto 26px;
  line-height: 1.5;
}

/* Slot-reservation line under the pricing grid */
.pricing-slot-line {
  text-align: center;
  font-size: 0.9rem;
  color: var(--color-text-soft);
  max-width: 620px;
  margin: 20px auto 0;
  line-height: 1.6;
}

.pricing-selected-design {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 12px;
  max-width: 720px;
  margin: 0 auto 22px;
  padding: 12px 16px;
  border: 1px solid rgba(192, 149, 89, .45);
  border-radius: var(--radius-pill);
  background: rgba(192, 149, 89, .08);
  color: var(--color-text-dark);
  font-size: .88rem;
  text-align: center;
}
.pricing-selected-design-icon { color: #2d8a55; font-weight: 800; }
.pricing-selected-design a { color: #845d24; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.pricing-trust-strip {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin: 22px auto 0;
  color: var(--color-text-soft);
  font-size: .78rem;
  text-align: center;
}

/* Express 12h checkout toggle on each package card */
.express-toggle {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-text-soft);
  background: var(--color-bg-elevated);
  border: 1px dashed var(--color-border-dark);
  border-radius: var(--radius-sm);
  padding: 9px 12px;
  margin: 0 0 12px 0;
  cursor: pointer;
  user-select: none;
  transition: var(--transition-fast);
}
.express-toggle:hover {
  border-color: var(--color-accent);
  background: var(--color-accent-wash);
}
.express-toggle input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-width: 44px;
  min-height: 44px;
  accent-color: var(--color-accent-deep);
  cursor: pointer;
  margin: -11px 0 -11px -11px;
  padding-left: 11px;
}

/* Package primary Pay button (thumb-friendly) */
.pkg-pay-btn {
  min-height: 52px;
  font-size: 1rem;
  cursor: pointer;
  width: 100%;
}
/* Package secondary Ask button (outline / text style) */
.pkg-ask-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: 100%;
  min-height: 48px;
  margin-top: 10px;
  padding: 10px 14px;
  background: transparent;
  border: 1.5px solid var(--color-border-dark);
  border-radius: var(--radius-pill);
  color: var(--color-text-soft);
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
}
.pkg-ask-btn svg {
  color: #1da851;
}
.pkg-ask-btn img,
.template-card-wa-link img {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  object-fit: contain;
}
.pkg-ask-btn:hover {
  border-color: #1da851;
  color: #146c36;
  background: rgba(37, 211, 102, 0.07);
  transform: translateY(-1px);
}
.pkg-microcopy {
  text-align: center;
  font-size: 0.76rem;
  color: var(--color-text-muted);
  margin: 10px 0 0;
  line-height: 1.5;
}

/* Post-order section CTA */
.post-order-cta {
  text-align: center;
  margin-top: 26px;
}

/* Template card Pay button (gold-tinted solid on dark card) */
.template-btn-pay {
  display: block;
  width: 100%;
  padding: 13px 18px;
  border-radius: var(--radius-pill);
  font-family: var(--font-header, -apple-system, BlinkMacSystemFont, sans-serif);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
  letter-spacing: 0.01em;
  background: rgba(223, 184, 119, 0.16);
  color: #ffe9b8;
  border: 1.5px solid rgba(223, 184, 119, 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.template-btn-pay:hover {
  background: linear-gradient(135deg, #f5d77f 0%, #dfb877 100%);
  color: #120c1f;
  border-color: rgba(255, 240, 170, 0.95);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(223, 184, 119, 0.4);
}
.template-btn-pay:active {
  transform: scale(0.98);
}
.templates-grid.view-list .template-btn-pay {
  width: auto;
  padding: 10px 22px;
  font-size: 0.88rem;
}

/* ========================================================
   LIST VIEW REDESIGN — catalogue rows, not stacked promo cards
   Keep this block last so it is the single visual authority for list mode.
   ======================================================== */
.templates-grid.view-list {
  max-width: 980px !important;
  gap: 10px !important;
  margin: 0 auto !important;
}

.templates-grid.view-list .template-card {
  display: grid !important;
  grid-template-columns: 76px minmax(0, 1fr) 88px 218px !important;
  align-items: center !important;
  min-height: 124px !important;
  padding: 14px 16px !important;
  gap: 16px !important;
  border-radius: 18px !important;
  background: #fffdfa !important;
  border: 1px solid rgba(31, 27, 38, 0.12) !important;
  box-shadow: 0 5px 18px rgba(52, 39, 31, 0.06) !important;
  color: #211d25 !important;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease !important;
}

.templates-grid.view-list .template-card:hover {
  transform: translateY(-1px) !important;
  border-color: rgba(122, 82, 105, 0.42) !important;
  box-shadow: 0 9px 24px rgba(52, 39, 31, 0.1) !important;
}

.templates-grid.view-list .template-card-media {
  grid-column: 1 !important;
  grid-row: 1 !important;
  width: 76px !important;
  height: 96px !important;
  border-radius: 14px !important;
  border: 1px solid rgba(31, 27, 38, 0.12) !important;
  box-shadow: none !important;
}

.templates-grid.view-list .template-card-content {
  display: contents !important;
}

.templates-grid.view-list .template-card-info-side {
  grid-column: 2 !important;
  grid-row: 1 !important;
  min-width: 0 !important;
  gap: 6px !important;
}

.templates-grid.view-list .template-card-header {
  gap: 5px !important;
}

.templates-grid.view-list .template-card-title {
  color: #211d25 !important;
  font-size: clamp(1.05rem, 1.7vw, 1.3rem) !important;
  font-weight: 750 !important;
  letter-spacing: -0.025em !important;
  line-height: 1.12 !important;
}

.templates-grid.view-list .template-card-tags {
  gap: 0 !important;
  flex-wrap: wrap !important;
}

.templates-grid.view-list .template-tag {
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: #6c6570 !important;
  font-size: 0.74rem !important;
  line-height: 1.35 !important;
  font-weight: 550 !important;
}

.templates-grid.view-list .template-tag:not(:last-child)::after {
  content: " · ";
  color: #aaa2a9;
}

.templates-grid.view-list .template-tag.tag-pick {
  color: #946d20 !important;
}

.templates-grid.view-list .template-card-desc {
  display: block !important;
  margin: 0 !important;
  color: #89818a !important;
  font-size: 0.78rem !important;
  line-height: 1.35 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.templates-grid.view-list .template-card-action-side {
  display: contents !important;
}

.templates-grid.view-list .template-card-price-wrap {
  grid-column: 3 !important;
  grid-row: 1 !important;
  align-items: flex-start !important;
  gap: 4px !important;
  margin: 0 !important;
  text-align: left !important;
}

.templates-grid.view-list .template-card-price {
  color: #211d25 !important;
  font-size: 1.2rem !important;
  font-weight: 750 !important;
  line-height: 1 !important;
  font-variant-numeric: tabular-nums !important;
}

.templates-grid.view-list .template-card-tier-label {
  margin: 0 !important;
  color: #8b848b !important;
  font-size: 0.63rem !important;
  letter-spacing: 0.08em !important;
}

.templates-grid.view-list .template-card-actions {
  grid-column: 4 !important;
  grid-row: 1 !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 8px !important;
  width: 100% !important;
  margin: 0 !important;
}

.templates-grid.view-list .template-btn-pay,
.templates-grid.view-list .template-btn-preview-primary {
  width: auto !important;
  min-height: 40px !important;
  height: 40px !important;
  padding: 9px 14px !important;
  border-radius: 999px !important;
  font-size: 0.78rem !important;
  white-space: nowrap !important;
  box-shadow: none !important;
}

.templates-grid.view-list .template-btn-pay {
  order: 2 !important;
  background: #211d25 !important;
  border-color: #211d25 !important;
  color: #fffaf3 !important;
}

.templates-grid.view-list .template-btn-preview-primary {
  order: 1 !important;
  background: transparent !important;
  border: 1px solid rgba(33, 29, 37, 0.28) !important;
  color: #211d25 !important;
}

.templates-grid.view-list .template-card-wa-link {
  display: none !important;
}

@media (max-width: 760px) {
  .templates-grid.view-list .template-card {
    grid-template-columns: 64px minmax(0, 1fr) auto !important;
    grid-template-rows: auto auto !important;
    min-height: 0 !important;
    padding: 12px !important;
    gap: 8px 12px !important;
  }

  .templates-grid.view-list .template-card-media {
    grid-column: 1 !important;
    grid-row: 1 !important;
    width: 64px !important;
    height: 80px !important;
  }

  .templates-grid.view-list .template-card-info-side {
    grid-column: 2 !important;
    grid-row: 1 !important;
    align-self: center !important;
  }

  .templates-grid.view-list .template-card-title {
    font-size: 1rem !important;
  }

  .templates-grid.view-list .template-card-desc {
    display: none !important;
  }

  .templates-grid.view-list .template-card-price-wrap {
    grid-column: 3 !important;
    grid-row: 1 !important;
    align-self: center !important;
  }

  .templates-grid.view-list .template-card-actions {
    grid-column: 2 / 4 !important;
    grid-row: 2 !important;
    justify-content: stretch !important;
  }

  .templates-grid.view-list .template-btn-pay,
  .templates-grid.view-list .template-btn-preview-primary {
    flex: 1 !important;
    min-height: 38px !important;
    height: 38px !important;
    padding: 8px 10px !important;
    font-size: 0.76rem !important;
  }

  .templates-grid.view-list .btn-text-invitation {
    display: none !important;
  }
}

/* Preview modal: tier badge + multi-event note (light header) */
.preview-tier-badge {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-header);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 9999px;
  margin-left: 0;
  vertical-align: middle;
  border: 1px solid rgba(18, 12, 31, 0.12);
  background: rgba(18, 12, 31, 0.06);
  color: #4a4458;
  flex-shrink: 0;
  line-height: 1.2;
}
.preview-tier-badge[data-tier="1"] {
  color: #15803d;
  border-color: rgba(34, 197, 94, 0.35);
  background: rgba(34, 197, 94, 0.12);
}
.preview-tier-badge[data-tier="2"] {
  color: #be185d;
  border-color: rgba(236, 72, 153, 0.35);
  background: rgba(236, 72, 153, 0.12);
}
.preview-tier-badge[data-tier="3"] {
  color: #854d0e;
  border-color: rgba(202, 138, 4, 0.4);
  background: rgba(234, 179, 8, 0.16);
}
.preview-multievent-note {
  display: none !important;
  font-size: 0.72rem;
  color: #5c5568;
  background: rgba(18, 12, 31, 0.04);
  border: 1px solid rgba(18, 12, 31, 0.08);
  border-radius: 8px;
  padding: 5px 10px;
  margin: 4px 0 0;
  line-height: 1.35;
}

/* Payment success panel */
.pay-success-modal .exit-intent-panel,
.pay-success-panel {
  max-width: 460px;
  text-align: center;
  background: linear-gradient(180deg, #1c1526 0%, #120c1f 100%);
  border: 1px solid rgba(223, 184, 119, 0.4);
  border-radius: 20px;
  padding: 34px 28px 28px;
  color: #f3edda;
}
.pay-success-check {
  font-size: 2.6rem;
  margin-bottom: 10px;
}
.pay-success-title {
  color: #ffffff;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.pay-success-sub {
  font-size: 0.92rem;
  color: rgba(243, 237, 218, 0.85);
  line-height: 1.6;
  margin-bottom: 18px;
}
.pay-success-receipt {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 14px 16px;
  margin: 0 0 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.pay-success-receipt > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 0.86rem;
}
.pay-success-receipt dt {
  color: rgba(243, 237, 218, 0.65);
  font-weight: 500;
}
.pay-success-receipt dd {
  margin: 0;
  color: #ffffff;
  font-weight: 700;
  text-align: right;
  word-break: break-all;
}
.pay-success-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pay-success-wa-btn {
  display: block;
  width: 100%;
  min-height: 52px;
  border: none;
  border-radius: 9999px;
  background: linear-gradient(135deg, #1fa855 0%, #157a3e 100%);
  color: #ffffff;
  font-family: var(--font-header);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(31, 168, 85, 0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.pay-success-wa-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 26px rgba(31, 168, 85, 0.55);
}
.pay-success-secondary {
  color: #ecd9ac;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.pay-success-dismiss {
  background: none;
  border: none;
  color: rgba(243, 237, 218, 0.6);
  font-size: 0.84rem;
  cursor: pointer;
  padding: 6px;
}
.pay-success-note {
  margin-top: 14px;
  font-size: 0.78rem;
  color: rgba(243, 237, 218, 0.6);
}

/* Mobile: both package CTAs full-width, thumb-friendly, above the fold */
@media (max-width: 900px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin: 0 auto;
  }
  .pkg-pay-btn,
  .pkg-ask-btn {
    min-height: 52px;
    font-size: 1rem;
  }
}
@media (max-width: 600px) {
  .hero-action-wrapper {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 0 20px;
  }
  .hero-primary-cta,
  .hero-secondary-cta {
    width: 100%;
    min-height: 52px;
  }
}

/* ── Card CTA polish on dark overlays (2026-09-19c) ──────────────── */
.template-card-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.template-btn-pay {
  order: 1;
  background: #fff8ef !important;
  color: #1c1612 !important;
  border: 1.5px solid #fff8ef !important;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35) !important;
}
.template-btn-pay:hover {
  background: #ffffff !important;
  color: #000 !important;
  border-color: #ffffff !important;
  transform: translateY(-1px);
}
/* Light outline Preview — readable on dark scrim (was dark-on-dark) */
.template-btn-preview-primary,
.tier-card-1 .template-btn-preview-primary,
.tier-card-2 .template-btn-preview-primary,
.tier-card-3 .template-btn-preview-primary,
.template-btn-preview-primary.tier-btn-1,
.template-btn-preview-primary.tier-btn-2,
.template-btn-preview-primary.tier-btn-3 {
  order: 2;
  background: rgba(255, 255, 255, 0.08) !important;
  color: #fff8ef !important;
  border: 1.5px solid rgba(255, 248, 239, 0.7) !important;
  box-shadow: none !important;
}
.template-btn-preview-primary:hover,
.tier-card-1 .template-btn-preview-primary:hover,
.tier-card-2 .template-btn-preview-primary:hover,
.tier-card-3 .template-btn-preview-primary:hover,
.template-btn-preview-primary.tier-btn-1:hover,
.template-btn-preview-primary.tier-btn-2:hover,
.template-btn-preview-primary.tier-btn-3:hover {
  background: rgba(255, 255, 255, 0.16) !important;
  color: #ffffff !important;
  border-color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: none !important;
}
/* Ask last — was order 0 so it jumped above Pay */
.template-card-wa-link,
.template-card-wa-link,
a.template-card-wa-link {
  order: 3;
  min-height: 44px;
  padding: 10px 0 !important;
  color: rgba(255, 248, 239, 0.9) !important;
}

@media (max-width: 640px) {
  .templates-grid:not(.view-list) .template-card-wa-link,
  .templates-grid:not(.view-list) a.template-card-wa-link {
    min-height: 0;
    padding: 2px 0 !important;
  }

  .templates-grid:not(.view-list) .template-btn-pay,
  .templates-grid:not(.view-list) .template-btn-preview-primary {
    padding: 11px 14px;
    font-size: 0.88rem;
  }
}

/* Hide floating WA on mobile — header WA remains */
@media (max-width: 768px) {
  .floating-whatsapp {
    display: none !important;
  }
}

/* Pricing carousel: dots + default to Premium */
.pricing-dots {
  display: none;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin: 4px 0 8px;
}
.pricing-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(42, 33, 24, 0.22);
  cursor: pointer;
}
.pricing-dot[aria-current="true"] {
  width: 18px;
  border-radius: 999px;
  background: #1c1612;
}
.pricing-swipe-hint {
  display: none;
  text-align: center;
  font-size: 0.78rem;
  color: var(--color-text-soft, #7a7168);
  margin: 0 0 10px;
}
@media (max-width: 768px) {
  .pricing-dots,
  .pricing-swipe-hint {
    display: flex;
  }
  .pricing-swipe-hint {
    display: block;
  }
  .pricing-grid {
    scroll-padding-inline: 16px;
  }
}

/* ── Pricing Pay clearance + tier nav hide (2026-09-19b) ─────────── */
@media (max-width: 768px) {
  .pricing-section {
    padding-bottom: 48px;
  }
  .pricing-grid {
    margin-bottom: 8px;
    padding-bottom: 12px;
  }
  .pricing-card {
    margin-bottom: 4px;
  }
  /* Keep Pay above the fold of the card, clear of any residual chrome */
  .pricing-section .pkg-pay-btn,
  .pricing-section .pricing-card-cta {
    position: relative;
    z-index: 2;
  }
  .tier-floating-nav.is-hidden-for-pricing {
    opacity: 0 !important;
    pointer-events: none !important;
    transform: translateY(16px) !important;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }
  .tier-floating-nav {
    transition: opacity 0.2s ease, transform 0.2s ease;
  }
}

/* ═══════════════════════════════════════════════════════════════════════
   THE DEARLY COLLECTION — Haute Couture Flagship Showcase Styles
   ═══════════════════════════════════════════════════════════════════════ */

/* An editorial gallery, using the homepage's ivory and antique-gold palette. */
.dearly-showroom-section {
  position: relative;
  padding: clamp(48px, 6vw, 88px) 0;
  background: #f4efe7;
  border-block: 1px solid #e4dacb;
  scroll-margin-top: 80px;
  color: #382e2b;
}
.dearly-showroom-section::before {
  content: "";
  position: absolute;
  inset: 16px 0;
  border-block: 1px solid rgba(138, 106, 54, .12);
  pointer-events: none;
}
.dearly-showroom-header { text-align: center; max-width: 740px; margin: 0 auto; }
.dearly-showroom-eyebrow {
  display: block; margin-bottom: 16px; color: #806344;
  font: 500 .7rem var(--font-body); letter-spacing: .19em; text-transform: uppercase;
}
.dearly-showroom-title {
  font-family: var(--font-serif); font-size: clamp(2.65rem, 5vw, 4.7rem);
  font-weight: 500; line-height: 1.06; letter-spacing: -.045em;
  color: #382e2b; margin: 0 0 20px; text-wrap: balance;
}
.dearly-showroom-title em { color: #805461; font-weight: 500; }
.dearly-showroom-subtitle {
  max-width: 540px; margin: 0 auto; color: #70645d;
  font-size: .93rem; line-height: 1.8; text-wrap: pretty;
}
.dearly-showroom-price-badge {
  display: flex; justify-content: center; align-items: center; flex-wrap: wrap;
  gap: 8px 12px; margin-top: 22px;
}
.dearly-price-amount { font: 500 1.35rem var(--font-header); color: #382e2b; }
.dearly-price-note { font-size: .76rem; color: #70645d; }
.dearly-showroom-features {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 28px;
  list-style: none; padding: 22px 0 28px; margin: 28px 0 0;
  border-top: 1px solid #ded3c4; color: #70645d; font-size: .75rem;
}
.dearly-showroom-features li::before { content: "•"; margin-right: 8px; color: #8a6a36; }
.dearly-showroom-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.dearly-card { min-width: 0; display: flex; flex-direction: column; position: relative; }
.dearly-card-media {
  display: block; position: relative; width: 100%; padding: 0; border: 0;
  aspect-ratio: 3 / 4; overflow: hidden; border-radius: 10px;
  cursor: pointer; background: #e5dacd; isolation: isolate; appearance: none;
}
.dearly-card-media img {
  display: block; width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s ease;
}
.dearly-card-overlay {
  position: absolute; inset: auto 12px 12px; display: flex; justify-content: center;
}
.dearly-card-preview-btn {
  padding: 11px 17px; border-radius: 4px; background: #fcf8f0;
  color: #382e2b; font: 500 .74rem var(--font-body);
  box-shadow: 0 2px 12px #382e2b15;
}
.dearly-card-info { padding: 18px 0 0; display: flex; flex-direction: column; flex: 1; }
.dearly-card-header-row { display: flex; flex-direction: column; gap: 6px; }
.dearly-card-name {
  font: 600 clamp(1.35rem, 1.8vw, 1.65rem)/1.15 var(--font-serif);
  letter-spacing: -.02em; color: #382e2b; margin: 0;
}
.dearly-card-price-pill { font: 500 .83rem var(--font-body); color: #70543a; }
.dearly-card-palette { margin: 9px 0 18px; color: #70645d; font-size: .73rem; }
.dearly-card-palette::before {
  content: ""; display: inline-block; width: 8px; height: 8px;
  border-radius: 50%; background: var(--dearly-accent); margin-right: 7px;
}
.dearly-card-actions { display: grid; grid-template-columns: minmax(0, 1fr) auto 44px; gap: 6px; margin-top: auto; }
.dearly-card-cta, .dearly-card-preview-action, .dearly-card-link {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 10px 8px; border: 1px solid #d2c4b4; border-radius: 5px;
  font: 500 .72rem var(--font-body); text-decoration: none; letter-spacing: 0;
  white-space: nowrap; cursor: pointer; transition: background .2s, transform .2s;
  box-shadow: none;
}
.dearly-card-cta { background: #44352f; color: #fffaf3; border-color: #44352f; }
.dearly-card-preview-action, .dearly-card-link { background: transparent; color: #44352f; }
.dearly-card-link svg { width: 18px; height: 18px; fill: currentColor; }
.dearly-showroom-footer {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap;
  gap: 12px 24px; margin-top: 36px; padding-top: 24px; border-top: 1px solid #ded3c4;
}
.dearly-explore-link, .dearly-browse-all-link {
  display: inline-flex; gap: 20px; align-items: center; min-height: 44px;
  color: #44352f; font-size: .85rem; text-decoration: none;
}
.dearly-explore-link { font-weight: 600; }
.dearly-browse-all-link { color: #70645d; }
.dearly-showroom-section :is(button, a):focus-visible { outline: 3px solid #8a6a36; outline-offset: 4px; }
.dearly-card-media:focus-visible img { transform: scale(1.035); }
.dearly-showroom-section button:active { transform: translateY(1px); }
@media (hover: hover) {
  .dearly-card-media:hover img { transform: scale(1.035); }
  .dearly-card-cta:hover { background: #654b40; }
  .dearly-card-preview-action:hover, .dearly-card-link:hover { background: #e8dfd3; }
  .dearly-showroom-footer a:hover { text-decoration: underline; text-underline-offset: 5px; }
}
@media (max-width: 1150px) {
  .dearly-showroom-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; }
  .dearly-card-media { aspect-ratio: 1; }
  .dearly-card-header-row { flex-direction: row; align-items: baseline; justify-content: space-between; gap: 12px; }
  .dearly-card-price-pill { flex-shrink: 0; }
  .dearly-card-cta, .dearly-card-preview-action { font-size: .8rem; padding-inline: 14px; }
}
@media (max-width: 600px) {
  .dearly-showroom-section > .container { padding-inline: 20px; }
  .dearly-showroom-section { padding-block: 34px 30px; overflow: hidden; }
  .dearly-showroom-section::before { inset: 10px 0; }
  .dearly-showroom-header { text-align: left; }
  .dearly-showroom-eyebrow { margin-bottom: 10px; font-size: .63rem; }
  .dearly-showroom-title { max-width: 360px; margin-bottom: 12px; font-size: clamp(2.3rem, 12vw, 3.1rem); }
  .dearly-showroom-subtitle { max-width: 330px; font-size: .8rem; line-height: 1.55; }
  .dearly-showroom-price-badge { justify-content: flex-start; gap: 6px 10px; margin-top: 14px; }
  .dearly-price-amount { font-size: 1.15rem; }
  .dearly-price-note { max-width: 190px; line-height: 1.5; }
  .dearly-showroom-features { justify-content: flex-start; gap: 8px 14px; padding-block: 15px 18px; margin-top: 18px; font-size: .64rem; }
  .dearly-showroom-grid {
    display: flex; gap: 14px; margin-right: -20px; padding: 0 20px 12px 0;
    overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .dearly-showroom-grid::-webkit-scrollbar { display: none; }
  .dearly-card {
    flex: 0 0 min(78vw, 310px); scroll-snap-align: start; padding: 10px;
    border: 1px solid rgba(138, 106, 54, .18); border-radius: 12px;
    background: rgba(255, 251, 244, .72); box-shadow: 8px 12px 28px rgba(74, 53, 39, .10);
  }
  .dearly-card::after {
    content: ""; position: absolute; top: 22px; right: 22px; width: 6px; height: 6px;
    border-radius: 50%; background: var(--dearly-accent); box-shadow: 0 0 0 4px rgba(255,255,255,.55);
  }
  .dearly-card-media { aspect-ratio: 4 / 5; border-radius: 7px; }
  .dearly-card-info { padding: 13px 3px 3px; }
  .dearly-card-name { font-size: 1.35rem; }
  .dearly-card-palette { margin: 6px 0 12px; }
  .dearly-card-actions { grid-template-columns: minmax(0, 1fr) auto 40px; gap: 5px; }
  .dearly-card-cta, .dearly-card-preview-action, .dearly-card-link { min-height: 40px; font-size: .67rem; }
  .dearly-card-link { width: 38px; }
  .dearly-showroom-footer { flex-direction: row; align-items: center; gap: 14px; margin-top: 16px; padding-top: 14px; }
  .dearly-explore-link, .dearly-browse-all-link { min-height: 38px; font-size: .7rem; }
}
@media (prefers-reduced-motion: reduce) {
  .dearly-showroom-section *, .dearly-showroom-section *::before { transition: none; }
  .dearly-card-media:hover img, .dearly-card-media:focus-visible img { transform: none; }
}

/* --- Catalogue Tier Card 4 (Dearly template cards) --- */
.template-card.tier-card-4 {
  border-color: rgba(107, 58, 93, 0.55);
  box-shadow: 0 10px 30px -6px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(192, 149, 89, 0.2);
}

.template-card.tier-card-4:hover {
  border-color: rgba(192, 149, 89, 0.7);
  box-shadow: 0 20px 48px -10px rgba(0, 0, 0, 0.65), 0 0 25px rgba(107, 58, 93, 0.3);
}

/* Tier 4 CTA buttons in catalogue */
.tier-btn-4,
.tier-card-4 .template-btn-pay {
  background: linear-gradient(135deg, #c09559 0%, #8b3a5d 100%) !important;
  color: #ffffff !important;
  border-color: rgba(223, 186, 115, 0.6) !important;
  box-shadow: 0 4px 14px rgba(107, 58, 93, 0.4) !important;
  font-weight: 700 !important;
}

.tier-btn-4:hover,
.tier-card-4 .template-btn-pay:hover {
  background: linear-gradient(135deg, #dfba73 0%, #a24b75 100%) !important;
  border-color: #dfba73 !important;
  box-shadow: 0 6px 20px rgba(192, 149, 89, 0.5) !important;
}

.tier-card-4 .template-btn-preview-primary {
  background: linear-gradient(135deg, #4a2040 0%, #2e1227 100%) !important;
  border-color: rgba(192, 149, 89, 0.4) !important;
  color: #f3edda !important;
}

.tier-card-4 .template-btn-preview-primary:hover {
  background: linear-gradient(135deg, #632d56 0%, #4a2040 100%) !important;
  border-color: #dfba73 !important;
  color: #ffffff !important;
}

/* --- Dearly Exclusive tag badge in catalogue cards --- */
.template-tag.tag-dearly {
  background: linear-gradient(135deg, rgba(107, 58, 93, 0.4), rgba(192, 149, 89, 0.25));
  color: #dfba73;
  border: 1px solid rgba(192, 149, 89, 0.45);
  font-weight: 600;
}

/* --- Pricing Card: Dearly variant --- */
.pricing-card.pricing-card-dearly {
  border: 1px solid rgba(192, 149, 89, 0.5);
  box-shadow: 0 8px 32px rgba(107, 58, 93, 0.18);
  background: linear-gradient(160deg, rgba(107, 58, 93, 0.12) 0%, rgba(22, 12, 20, 0.96) 50%);
}

.pricing-card.pricing-card-dearly::after {
  background: linear-gradient(90deg, transparent 0%, #8b3a5d 30%, #dfba73 70%, transparent 100%);
  height: 3px;
}

.pricing-card.pricing-card-dearly:hover {
  border-color: rgba(192, 149, 89, 0.75);
  box-shadow: 0 14px 42px rgba(107, 58, 93, 0.28), 0 0 20px rgba(192, 149, 89, 0.15);
}

.pricing-popular-badge.dearly-badge {
  background: linear-gradient(135deg, #8b3a5d, #4a2040);
  color: #f3edda;
  border: 1px solid rgba(192, 149, 89, 0.45);
}

.pricing-cta-dearly {
  background: linear-gradient(135deg, #c09559 0%, #8b3a5d 100%) !important;
  border: 1px solid rgba(223, 186, 115, 0.6) !important;
  color: #ffffff !important;
  font-weight: 700 !important;
}

.pricing-cta-dearly:hover {
  background: linear-gradient(135deg, #dfba73 0%, #a24b75 100%) !important;
  border-color: #dfba73 !important;
  box-shadow: 0 6px 24px rgba(192, 149, 89, 0.4) !important;
}

/* Dearly pricing card contrast correction: keep the couture gradient, but make
   every supporting line readable against its dark lower half. */
.pricing-card.pricing-card-dearly .pricing-card-name,
.pricing-card.pricing-card-dearly .pricing-card-price,
.pricing-card.pricing-card-dearly .pricing-card-tagline {
  color: #fff8ef;
}
.pricing-card.pricing-card-dearly .pricing-card-name { opacity: .9; }
.pricing-card.pricing-card-dearly .pricing-card-feature-item {
  color: rgba(255, 248, 239, .88);
}
.pricing-card.pricing-card-dearly .pricing-feature-icon {
  color: #dfba73;
}
.pricing-card.pricing-card-dearly .pkg-ask-btn {
  color: #fff8ef;
  border-color: rgba(223, 186, 115, .42);
  background: rgba(255, 248, 239, .06);
}
.pricing-card.pricing-card-dearly .pkg-ask-btn:hover,
.pricing-card.pricing-card-dearly .pkg-ask-btn:focus-visible {
  color: #1a0a12;
  background: #dfba73;
  border-color: #dfba73;
}
.pricing-card.pricing-card-dearly .pkg-microcopy {
  color: rgba(255, 248, 239, .68);
}

/* ═══════════════════════════════════════════════════════════════════════
   PREVIEW MODAL: TIER 4 (HAUTE COUTURE) BESPOKE LUXURY EXPERIENCE
   ═══════════════════════════════════════════════════════════════════════ */

/* Modal Frame & Glow */
.preview-modal[data-preview-tier="4"] .preview-modal-panel {
  border-color: rgba(192, 149, 89, 0.35);
  box-shadow: 0 30px 100px -20px rgba(0, 0, 0, 0.9), 0 0 70px rgba(107, 58, 93, 0.28);
}

.preview-modal[data-preview-tier="4"] .preview-modal-header {
  background: linear-gradient(180deg, rgba(26, 10, 18, 0.95) 0%, rgba(18, 7, 13, 0.9) 100%);
  border-bottom-color: rgba(192, 149, 89, 0.25);
}

/* Tier 4 chrome: warm, high-contrast type against the plum glass surfaces. */
.preview-modal[data-preview-tier="4"] .preview-modal-title {
  color: #f8efdf;
  letter-spacing: -0.015em;
}
.preview-modal[data-preview-tier="4"] .preview-modal-style-tag {
  color: rgba(248, 239, 223, 0.66);
}
.preview-modal[data-preview-tier="4"] .preview-modal-close {
  color: #f8efdf;
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(223, 186, 115, 0.2);
}
.preview-modal[data-preview-tier="4"] .preview-modal-close:hover {
  color: #1a0a12;
  background: #dfba73;
}

.preview-modal[data-preview-tier="4"] .preview-modal-toolbar {
  background: linear-gradient(0deg, rgba(26, 10, 18, 0.97) 0%, rgba(18, 7, 13, 0.92) 100%);
  border-top-color: rgba(192, 149, 89, 0.25);
}
.preview-modal[data-preview-tier="4"] .preview-counter-badge,
.preview-modal[data-preview-tier="4"] .preview-view-btn,
.preview-modal[data-preview-tier="4"] .preview-tier-tab {
  color: rgba(248, 239, 223, 0.72);
}
.preview-modal[data-preview-tier="4"] .preview-nav-btn,
.preview-modal[data-preview-tier="4"] .preview-view-toggle,
.preview-modal[data-preview-tier="4"] .preview-modal-tiers {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(223, 186, 115, 0.22);
}
.preview-modal[data-preview-tier="4"] .preview-nav-btn {
  color: #f8efdf;
  border-color: rgba(223, 186, 115, 0.3);
}
.preview-modal[data-preview-tier="4"] .preview-view-btn.active {
  color: #1a0a12;
  background: #dfba73;
}
.preview-modal[data-preview-tier="4"] .preview-toolbar-share {
  color: #f8efdf !important;
  background: rgba(192, 149, 89, 0.14) !important;
  border-color: rgba(223, 186, 115, 0.55) !important;
}
.preview-modal[data-preview-tier="4"] .preview-toolbar-share:hover {
  color: #1a0a12 !important;
  background: #dfba73 !important;
}

/* Keep the story controls visually attached to the device, with a quiet luxury treatment. */
.preview-modal[data-preview-tier="4"] .preview-side-arrow {
  width: 42px;
  height: 42px;
  top: 48%;
  background: rgba(26, 10, 18, 0.9);
  border: 1px solid rgba(223, 186, 115, 0.72);
  color: #f8efdf;
  box-shadow: 0 8px 22px rgba(26, 10, 18, 0.28), 0 0 0 4px rgba(223, 186, 115, 0.06);
}
.preview-modal[data-preview-tier="4"] .side-arrow-prev { left: max(12px, calc(50% - 244px)); }
.preview-modal[data-preview-tier="4"] .side-arrow-next { right: max(12px, calc(50% - 244px)); }
.preview-modal[data-preview-tier="4"] .preview-side-arrow:hover,
.preview-modal[data-preview-tier="4"] .preview-side-arrow:focus-visible {
  background: #dfba73;
  border-color: #f8efdf;
  color: #1a0a12;
}
@media (max-width: 768px) {
  .preview-modal[data-preview-tier="4"] .preview-side-arrow {
    width: 36px;
    height: 36px;
    font-size: 1.35rem;
  }
  .preview-modal[data-preview-tier="4"] .side-arrow-prev { left: 10px; }
  .preview-modal[data-preview-tier="4"] .side-arrow-next { right: 10px; }
}

/* Tier 4 Price Badge */
.preview-modal[data-preview-tier="4"] .preview-price-badge {
  color: #dfba73;
  background: rgba(192, 149, 89, 0.16);
  border-color: rgba(192, 149, 89, 0.5);
  box-shadow: 0 0 16px rgba(192, 149, 89, 0.22);
}

/* Tier 4 Tier Badge */
[data-tier="4"]#preview-modal-tier,
#preview-modal-tier[data-tier="4"] {
  background: linear-gradient(135deg, rgba(107, 58, 93, 0.6), rgba(192, 149, 89, 0.35));
  color: #ffffff;
  border-color: rgba(192, 149, 89, 0.55);
  font-weight: 600;
  letter-spacing: 0.04em;
}

/* Tier 4 Full Demo Button */
.preview-modal[data-preview-tier="4"] .preview-header-btn:not(.preview-faq-header-btn) {
  background: linear-gradient(135deg, #dfba73 0%, #c09559 50%, #9e7539 100%);
  color: #1a0a12;
  border-color: rgba(255, 238, 194, 0.85);
  box-shadow: 0 4px 18px rgba(192, 149, 89, 0.55);
  font-weight: 700;
}

.preview-modal[data-preview-tier="4"] .preview-header-btn:not(.preview-faq-header-btn):hover {
  background: linear-gradient(135deg, #fff2d1 0%, #dfba73 100%);
  color: #000000;
  box-shadow: 0 6px 24px rgba(223, 186, 115, 0.75);
}

/* Shimmering Gold 'Pick this design' primary CTA in modal */
.preview-modal[data-preview-tier="4"] .preview-toolbar-razorpay {
  background: linear-gradient(135deg, #c09559 0%, #dfba73 50%, #9e7539 100%) !important;
  color: #1a0a12 !important;
  border: 1.5px solid rgba(255, 238, 194, 0.9) !important;
  box-shadow: 0 4px 22px rgba(192, 149, 89, 0.6), 0 0 16px rgba(223, 186, 115, 0.4) !important;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.preview-modal[data-preview-tier="4"] .preview-toolbar-razorpay:hover {
  background: linear-gradient(135deg, #fff2d1 0%, #dfba73 50%, #c09559 100%) !important;
  color: #0d0408 !important;
  box-shadow: 0 6px 28px rgba(192, 149, 89, 0.85), 0 0 24px rgba(243, 237, 218, 0.55) !important;
  transform: translateY(-2px);
}

.preview-modal[data-preview-tier="4"] .preview-toolbar-paypal {
  background: linear-gradient(135deg, #dfba73 0%, #c09559 50%, #9e7539 100%) !important;
  color: #1a0a12 !important;
  border: 1.5px solid rgba(255, 238, 194, 0.9) !important;
  box-shadow: 0 4px 20px rgba(192, 149, 89, 0.5) !important;
  font-weight: 700;
}

/* Phone Mockup Haute Couture Frame */
.preview-modal[data-preview-tier="4"] .preview-modal-iframe-wrap {
  padding: 6px;
  background: #1c1116;
  border: 1px solid rgba(223, 186, 115, 0.72);
  border-color: rgba(223, 186, 115, 0.72);
  border-radius: 54px;
  box-shadow:
    0 0 0 1px rgba(255, 241, 205, 0.32),
    0 0 0 3px rgba(57, 28, 39, 0.78),
    0 25px 80px -15px rgba(192, 149, 89, 0.35),
    0 0 45px rgba(107, 58, 93, 0.25);
}

.preview-modal[data-preview-tier="4"] .phone-screen-viewport,
.preview-modal[data-preview-tier="4"] .preview-modal-iframe {
  border-radius: 48px;
}

.preview-modal[data-preview-tier="4"] .phone-shadow-3d {
  background: radial-gradient(ellipse at 50% 50%, rgba(192, 149, 89, 0.4) 0%, rgba(107, 58, 93, 0.2) 45%, transparent 75%);
}

/* Dearly Tier Tab in Modal */
.preview-tier-tab[data-preview-tier="4"] {
  color: #dfba73;
  border-color: rgba(192, 149, 89, 0.35);
}

.preview-tier-tab[data-preview-tier="4"]:hover {
  background: rgba(192, 149, 89, 0.15);
  border-color: rgba(192, 149, 89, 0.6);
}

.preview-tier-tab[data-preview-tier="4"].is-active,
.preview-modal[data-preview-tier="4"] .preview-tier-tab[data-preview-tier="4"] {
  background: linear-gradient(135deg, rgba(107, 58, 93, 0.8), rgba(192, 149, 89, 0.5));
  color: #ffffff;
  border-color: rgba(223, 186, 115, 0.9);
  box-shadow: 0 0 14px rgba(192, 149, 89, 0.45);
}

/* --- Filter tag: Dearly --- */
.filter-tag[data-tag="dearly"] {
  border-color: rgba(107, 58, 93, 0.45);
}

.filter-tag[data-tag="dearly"].active {
  background: linear-gradient(135deg, rgba(107, 58, 93, 0.45), rgba(192, 149, 89, 0.25));
  border-color: rgba(192, 149, 89, 0.6);
  color: #dfba73;
}

/* List-row preview hover must remain readable on the light catalogue surface. */
.templates-grid.view-list .template-btn-preview-primary:hover,
.templates-grid.view-list .template-btn-preview-primary:focus-visible {
  background: #f0e9e2 !important;
  color: #211d25 !important;
  border-color: #211d25 !important;
  box-shadow: none !important;
}

/* Dearly is a signature chapter, not another catalogue row. */
.dearly-showroom-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 8%, rgba(192, 149, 89, .16), transparent 28%),
    radial-gradient(circle at 88% 72%, rgba(107, 58, 93, .28), transparent 34%),
    #1c1118;
  border-block: 1px solid rgba(223, 186, 115, .38);
  color: #f8efdf;
}
.dearly-showroom-section::after {
  content: "";
  position: absolute;
  inset: 12px;
  z-index: -1;
  border: 1px solid rgba(223, 186, 115, .15);
  border-radius: 24px;
  pointer-events: none;
}
.dearly-showroom-eyebrow { color: #dfba73; }
.dearly-showroom-title { color: #fff8ef; }
.dearly-showroom-title em { color: #dfba73; }
.dearly-showroom-subtitle { color: rgba(248, 239, 223, .74); }
.dearly-price-amount { color: #fff8ef; }
.dearly-price-note { color: rgba(248, 239, 223, .62); }
.dearly-showroom-features {
  color: rgba(248, 239, 223, .78);
  border-top-color: rgba(223, 186, 115, .24);
}
.dearly-showroom-features li::before { color: #dfba73; }
.dearly-card {
  padding: 10px;
  border: 1px solid rgba(223, 186, 115, .5);
  border-radius: 14px;
  background: #f8f2e9;
  box-shadow: 0 18px 38px rgba(0, 0, 0, .25), 0 0 0 1px rgba(255, 248, 239, .08);
}
.dearly-card-info { padding: 16px 3px 3px; }
.dearly-showroom-footer { border-top-color: rgba(223, 186, 115, .24); }
.dearly-explore-link {
  padding: 10px 16px;
  border: 1px solid rgba(223, 186, 115, .65);
  border-radius: 999px;
  background: rgba(223, 186, 115, .1);
  color: #fff8ef;
}
.dearly-browse-all-link { color: rgba(248, 239, 223, .68); }
@media (max-width: 600px) {
  .dearly-showroom-section::after { inset: 8px; border-radius: 18px; }
  .dearly-showroom-section { padding-block: 46px 36px; }
  .dearly-showroom-subtitle { color: rgba(248, 239, 223, .78); }
}

/* --- Pricing: intentional mobile carousel --- */
@media (max-width: 768px) {
  .pricing-section { overflow: hidden; padding-top: 42px; }
  .pricing-section .section-title { max-width: 330px; margin-inline: auto; font-size: clamp(2rem, 9vw, 2.65rem); line-height: 1.05; }
  .pricing-section .section-subtitle { max-width: 340px; margin: 16px auto 0; font-size: .98rem; line-height: 1.45; }
  .pricing-diff-line { max-width: 360px; margin: 28px auto 24px; padding: 20px 18px; font-size: 1.05rem; line-height: 1.45; }
  .pricing-grid {
    width: 100vw !important;
    max-width: none !important;
    box-sizing: border-box;
    margin-left: calc(50% - 50vw) !important;
    margin-right: 0 !important;
    padding: 8px max(20px, calc((100vw - 360px) / 2)) 20px !important;
    gap: 14px !important;
    align-items: stretch;
    overscroll-behavior-x: contain;
  }
  .pricing-card,
  .pricing-card.featured,
  .pricing-card.pricing-card-premium {
    flex: 0 0 min(360px, calc(100vw - 40px)) !important;
    width: min(360px, calc(100vw - 40px)) !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 24px 20px 20px !important;
    border-radius: 22px;
    transform: none !important;
    scroll-snap-align: center;
  }
  .pricing-card-header { margin-bottom: 14px; }
  .pricing-card-name { font-size: .82rem; }
  .pricing-card-price { font-size: clamp(2.25rem, 11vw, 3rem); }
  .pricing-card-tagline { min-height: 44px; margin-bottom: 20px; font-size: .98rem; }
  .pricing-card-features { gap: 12px; margin-bottom: 26px; }
  .pricing-card-feature-item { font-size: .88rem; line-height: 1.42; }
  .pricing-card-cta, .pkg-ask-btn { min-height: 52px; display: flex; align-items: center; justify-content: center; }
  .pricing-swipe-hint { margin-top: 2px; }
  .pricing-dots { margin-top: 8px; }
  .pricing-selected-design { margin-inline: 4px; border-radius: 16px; font-size: .8rem; }
  .pricing-trust-strip { gap: 7px 13px; padding-inline: 12px; font-size: .72rem; }
}

@media (max-width: 380px) {
  .pricing-section .section-title { font-size: 2rem; }
  .pricing-diff-line { font-size: .98rem; }
  .pricing-card, .pricing-card.featured, .pricing-card.pricing-card.pricing-card-premium { padding-inline: 17px !important; }
}

/* One phone contains the invitation and all gallery controls. */
#preview-modal { perspective: 1400px; padding: 12px; }
#preview-modal .preview-modal-panel {
  width: min(96vw, 420px); height: min(96dvh, 900px); max-height: 96dvh;
  display: flex; flex-direction: column; align-items: stretch;
  border: 6px solid #242126; border-radius: 44px; background: #fffaf6;
  box-shadow: 0 0 0 2px #a6a1a0, 0 24px 80px rgba(46,32,29,.32);
  overflow: hidden; isolation: isolate;
}
#preview-modal .preview-device-island { position: absolute; z-index: 25; top: 9px; left: 50%; transform: translateX(-50%); width: 96px; height: 25px; border-radius: 20px; background: #151316; pointer-events: none; }
/* Floating glass stays legible over light and dark invitation artwork. */
#preview-modal .preview-modal-header {
  position: absolute; top: 40px; left: 8px; right: 8px; z-index: 24;
  display: flex; align-items: center; gap: 10px; padding: 10px;
  border: 1px solid rgba(255,255,255,.65); border-radius: 24px;
  background: linear-gradient(135deg,rgba(255,255,255,.76),rgba(255,247,242,.5));
  backdrop-filter: blur(24px) saturate(160%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(160%) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9), inset 0 -1px 0 rgba(255,255,255,.24), 0 5px 18px rgba(48,35,30,.1);
}

#preview-modal .preview-modal-header-text { display: block; flex: 1; min-width: 0; }
#preview-modal .preview-modal-title { margin: 0; font-family: 'Cormorant Garamond', serif; font-size: 1.35rem; font-weight: 700; line-height: 1.1; color: #30262a; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#preview-modal .preview-header-meta { margin: 4px 0 0; color: #554a49; font-size: .76rem; line-height: 1.3; font-variant-numeric: tabular-nums; }
#preview-modal .preview-header-actions { display: flex; gap: 7px; }
#preview-modal .preview-icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; flex: 0 0 36px; padding: 0;
  border: 1px solid rgba(255,255,255,.75); border-radius: 50%;
  background: linear-gradient(145deg,rgba(255,255,255,.65),rgba(255,255,255,.26));
  color: #30262a;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.85), 0 2px 6px rgba(48,35,30,.06);
  cursor: pointer; transition: background .2s, transform .2s;
}
#preview-modal .preview-icon-btn:hover { background: #fff9f6; }
#preview-modal .preview-icon-btn:active { transform: scale(.95); }
#preview-modal #preview-favourite-btn[aria-pressed="true"] { color: #b64f68; background: #f9e8ec; }
#preview-modal #preview-favourite-btn[aria-pressed="true"] svg { fill: currentColor; }
#preview-modal .preview-modal-body { padding: 0; flex: 1; min-height: 0; background: #efe3d8; overflow: hidden; }
#preview-modal .preview-pattern-canvas, #preview-modal .preview-modal-body::before { display: none; }
#preview-modal .preview-3d-stage { width: 100%; height: 100%; padding: 0; perspective: none; }
#preview-modal .preview-invitation-surface { width: 100%; height: 100%; }
#preview-modal .preview-modal-iframe-wrap { width: 100%; height: 100%; padding: 0; border-radius: 0; box-shadow: none; transform: none; margin: 0; }
#preview-modal .phone-screen-viewport, #preview-modal .preview-modal-iframe { width: 100%; height: 100%; border-radius: 0; margin: 0; }
#preview-modal :is(.phone-button,.phone-antenna,.phone-shadow-3d,.preview-modal-phone-notch,.phone-glass-glare-stack) { display: none !important; }
#preview-modal .preview-side-arrow { width: 36px; height: 36px; display: flex; align-items: center; top: 49%; border: 1px solid rgba(255,255,255,.2); background: rgba(46,37,34,.45); color: #fff; font-size: 1.8rem; box-shadow: none; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
#preview-modal .side-arrow-prev { left: 12px; }
#preview-modal .side-arrow-next { right: 12px; }
#preview-modal .preview-side-arrow:hover { background: rgba(46,37,34,.7); transform: translateY(-50%); }
#preview-modal .preview-floating-controls { position: relative; z-index: 21; display: flex; align-items: center; justify-content: center; gap: 12px; flex-shrink: 0; height: 0; padding: 0; transform: translateY(-62px); }
#preview-modal .preview-viewer-pill { display: flex; align-items: center; gap: 14px; padding: 6px 7px 6px 20px; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; background: rgba(48,39,37,.72); box-shadow: 0 4px 14px rgba(48,39,37,.12); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
#preview-modal .preview-counter-badge { padding: 0; border: 0; background: none; color: #fff7f3; font-size: .81rem; font-weight: 500; font-variant-numeric: tabular-nums; white-space: nowrap; }
#preview-modal .preview-view-toggle { display: flex; gap: 2px; padding: 0 0 0 12px; border: 0; border-left: 1px solid rgba(255,255,255,.2); border-radius: 0; background: none; box-shadow: none; }
#preview-modal .preview-view-btn { min-width: 52px; min-height: 36px; padding: 7px 14px; border: 0; border-radius: 999px; background: none; color: #eee2dd; font-size: .8rem; font-weight: 500; }
#preview-modal .preview-view-btn.active { background: #fffaf7; color: #362a30; box-shadow: 0 1px 4px rgba(0,0,0,.08); }
#preview-modal .preview-expand-btn { width: 40px; height: 40px; padding: 0; display: flex; align-items: center; justify-content: center; border-radius: 50%; color: #fff7f3; background: rgba(48,39,37,.7); border: 1px solid rgba(255,255,255,.2); backdrop-filter: blur(18px); }
#preview-modal .preview-modal-toolbar { position: relative; z-index: 22; display: flex; flex-direction: column; align-items: stretch; flex-shrink: 0; gap: 13px; margin-top: -24px; padding: 24px 16px 18px; background: #fffaf7; border: 1px solid rgba(255,255,255,.8); border-bottom: 0; border-radius: 24px 24px 0 0; box-shadow: 0 -6px 24px rgba(70,46,39,.1); }
#preview-modal .preview-modal-toolbar::before { content: ''; position: absolute; top: 7px; left: 50%; transform: translateX(-50%); width: 32px; height: 4px; border-radius: 4px; background: #c5bcb9; }
#preview-modal .preview-sheet-summary { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
#preview-modal .preview-sheet-details { min-width: 0; }
#preview-modal .preview-sheet-details h3 { margin: 0 0 4px; font-family: 'Cormorant Garamond',serif; font-size: 1.35rem; font-weight: 700; line-height: 1.1; color: #30262a; }
#preview-modal .preview-sheet-meta { margin: 0; font-size: .85rem; color: #6f6260; font-variant-numeric: tabular-nums; }
#preview-modal .preview-collection-badge { display: flex; gap: 5px; align-items: center; flex-shrink: 0; padding: 7px 9px; border: 1px solid #e4d9cf; border-radius: 999px; color: #886538; }
#preview-modal .preview-collection-badge > span:first-child { font-size: 1.1rem; }
#preview-modal .preview-sheet-tier { background: none; border: 0; padding: 0; box-shadow: none; letter-spacing: .06em; color: #886538; font-size: .49rem; font-weight: 600; text-transform: uppercase; }
#preview-modal .preview-toolbar-btn { font-family: var(--font-body); cursor: pointer; transition: background .2s, transform .2s; }
#preview-modal #preview-instant-pay-btn { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-width: 0 !important; flex: none !important; height: 48px !important; padding: 10px 14px !important; border: 1px solid #c35b72; border-radius: 999px; background: linear-gradient(110deg,#e98289,#bc3156); color: #fff; font-size: .86rem !important; font-weight: 600; box-shadow: 0 4px 12px rgba(170,67,93,.2); white-space: nowrap; }
#preview-modal #preview-instant-pay-btn > span:first-child { font-size: 1.3rem; }
#preview-modal #preview-instant-pay-btn > svg { margin-left: auto; flex-shrink: 0; }
#preview-modal #preview-instant-pay-btn::before { display: none; }
#preview-modal #preview-instant-pay-btn:hover { filter: brightness(.96); transform: none; }
#preview-modal #preview-instant-pay-btn:active { transform: scale(.985); }
#preview-modal .preview-secondary-actions { display: grid; grid-template-columns: 1.35fr 1fr 1fr; gap: 8px; }
#preview-modal .preview-secondary-actions .preview-toolbar-btn { display: flex; align-items: center; justify-content: center; gap: 6px; width: auto !important; min-width: 0 !important; height: 44px !important; padding: 6px !important; border: 1px solid #e8dfd9; border-radius: 999px; background: transparent; color: #47363e; box-shadow: 0 2px 5px rgba(65,45,35,.03); font-size: .73rem !important; font-weight: 500; }
#preview-modal .preview-secondary-actions .preview-toolbar-btn span { display: inline; }
#preview-modal .preview-secondary-actions .preview-toolbar-btn:hover { background: #f5ece6; transform: none; }
#preview-modal .preview-secondary-whatsapp svg { color: #20ac61; }
#preview-modal .preview-sheet-signoff { display: flex; align-items: center; gap: 9px; margin: 6px 0 0; color: #a49895; font-size: .47rem; line-height: 1.5; letter-spacing: .13em; text-transform: uppercase; text-align: center; }
#preview-modal .preview-sheet-signoff::before, #preview-modal .preview-sheet-signoff::after { content: ''; flex: 1; height: 1px; background: #dfd5cf; }
#preview-modal :is(button,a):focus-visible { outline: 2px solid #b9506a; outline-offset: 2px; }
@media (max-width: 600px) {
  #preview-modal { padding: 8px; }
  #preview-modal .preview-modal-panel { width: 100%; height: calc(100dvh - 16px); max-height: calc(100dvh - 16px); border-width: 4px; border-radius: 38px; }
}
@media (max-width: 360px), (max-height: 650px) {
  #preview-modal .preview-modal-header { gap: 6px; padding-inline: 9px; }
  #preview-modal .preview-modal-title { font-size: 1.1rem; }
  #preview-modal .preview-header-actions { gap: 4px; }
  #preview-modal .preview-icon-btn { width: 32px; height: 32px; flex-basis: 32px; }
  #preview-modal .preview-modal-toolbar { padding: 22px 12px 12px; gap: 10px; }
  #preview-modal .preview-sheet-details h3 { font-size: 1.25rem; }
  #preview-modal .preview-collection-badge { padding: 5px 6px; }
  #preview-modal .preview-sheet-tier { font-size: .43rem; }
  #preview-modal #preview-instant-pay-btn { font-size: .74rem !important; gap: 6px; }
}

/* Collection lighting keeps the invitation against an opaque studio surface. */
#preview-modal .preview-modal-scrim {
  background: var(--gallery-backdrop-base) var(--gallery-backdrop-light);
  backdrop-filter: none; -webkit-backdrop-filter: none;
}
#preview-modal .preview-modal-scrim::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: url('assets/preview-paper-grain.svg') repeat;
  opacity: var(--gallery-grain-opacity); mix-blend-mode: soft-light;
}
/* Fine stationery patterns sit at the edges and recede behind the phone. */
#preview-modal .preview-modal-scrim::after {
  content: ''; position: absolute; inset: 0;
  background-image: var(--gallery-pattern);
  background-size: var(--gallery-pattern-size);
  background-position: center top;
  background-repeat: repeat;
  opacity: var(--gallery-pattern-opacity);
  -webkit-mask-image: radial-gradient(ellipse at 50% 38%, transparent 18%, rgba(0,0,0,.3) 48%, #000 82%);
  mask-image: radial-gradient(ellipse at 50% 38%, transparent 18%, rgba(0,0,0,.3) 48%, #000 82%);
  pointer-events: none;
}
#preview-modal .preview-modal-ambient-glow { display: none; }
#preview-modal .preview-modal-panel { backdrop-filter: none; -webkit-backdrop-filter: none; transform-style: flat; }

/* The product footer sits below the phone, outside its screen and 3D rig. */
#preview-modal .preview-modal-panel {
  width: min(96vw, 480px); height: min(96dvh, 1120px); max-height: 96dvh;
  display: grid; grid-template-rows: minmax(0, 1fr) auto; gap: 14px;
  align-items: stretch; justify-items: center;
  border: 0; border-radius: 0; background: transparent; box-shadow: none;
  overflow: visible; perspective: 1400px;
}
#preview-modal .preview-gallery-device {
  position: relative; width: auto; height: 100%; max-width: 100%; min-height: 0;
  aspect-ratio: 405 / 864; display: flex; flex-direction: column;
  align-items: stretch; justify-content: flex-start;
  border: 5px solid #242126; border-radius: 38px; background: #efe3d8;
  box-shadow: 0 0 0 2px #a6a1a0,
    0 8px 16px -8px rgba(62,44,32,.18),
    0 30px 48px -20px rgba(62,44,32,.24),
    0 48px 72px -32px rgba(62,44,32,.16);
  overflow: hidden; isolation: isolate; transform-style: flat;
}
#preview-modal .preview-modal-toolbar {
  width: 100%; box-sizing: border-box; margin: 0; border-radius: 24px;
  border-bottom: 1px solid rgba(255,255,255,.8);
  box-shadow: 0 8px 30px rgba(70,46,39,.12);
}
#preview-modal .preview-gallery-device .preview-modal-header { top: 36px; left: 6px; right: 6px; gap: 6px; padding: 8px 6px; border-radius: 20px; }
#preview-modal .preview-gallery-device .preview-modal-title { font-size: 1.05rem; }
#preview-modal .preview-gallery-device .preview-header-meta { font-size: .65rem; }
#preview-modal .preview-gallery-device .preview-header-actions { gap: 3px; }
#preview-modal .preview-gallery-device .preview-icon-btn { width: 28px; height: 28px; flex-basis: 28px; }
#preview-modal .preview-gallery-device .preview-icon-btn svg { width: 17px; height: 17px; }
#preview-modal .preview-floating-controls { transform: translateY(-35px); gap: 8px; }
#preview-modal .preview-viewer-pill { gap: 8px; padding: 4px 5px 4px 12px; }
#preview-modal .preview-view-toggle { padding-left: 8px; }
#preview-modal .preview-view-btn { min-width: 42px; min-height: 30px; padding: 5px 9px; font-size: .72rem; }
#preview-modal .preview-counter-badge { font-size: .72rem; }
#preview-modal .preview-expand-btn { width: 34px; height: 34px; }
@media (max-width: 600px) {
  #preview-modal .preview-modal-panel { width: 100%; height: calc(100dvh - 24px); max-height: calc(100dvh - 24px); gap: 12px; }
}
@media (max-height: 650px) {
  #preview-modal .preview-modal-panel { grid-template-rows: minmax(260px, 1fr) auto; height: auto; max-height: calc(100dvh - 24px); overflow-y: auto; }
}

#preview-modal .phone-screen-viewport { width: 393px; height: 852px; transform-origin: top left; }
/* Prioritize the phone's size while keeping the external footer in view. */
#preview-modal .preview-modal-panel {
  width: min(96vw, 480px); height: calc(100dvh - 20px);
  max-height: calc(100dvh - 20px); gap: 10px;
}
#preview-modal .preview-modal-toolbar { padding: 12px 16px; gap: 8px; border-radius: 20px; }
#preview-modal .preview-modal-toolbar::before,
#preview-modal .preview-sheet-signoff { display: none; }
#preview-modal .preview-sheet-details h3 { font-size: 1.2rem; margin-bottom: 2px; }
#preview-modal .preview-sheet-meta { font-size: .75rem; }
#preview-modal #preview-instant-pay-btn { height: 44px !important; }
#preview-modal .preview-secondary-actions .preview-toolbar-btn { height: 36px !important; }
#preview-modal .preview-gallery-device .preview-modal-title { font-size: 1.15rem; }
#preview-modal .preview-gallery-device .preview-icon-btn { width: 32px; height: 32px; flex-basis: 32px; }
@media (max-width: 600px) {
  #preview-modal { padding: 6px; }
  #preview-modal .preview-modal-panel { height: calc(100dvh - 16px); max-height: calc(100dvh - 16px); gap: 8px; }
}
@media (max-height: 650px) {
  #preview-modal .preview-modal-panel { grid-template-rows: minmax(260px, 1fr) auto; }
  #preview-modal .preview-modal-toolbar { padding: 10px 12px; gap: 6px; }
}

/* Essential dismiss/save controls sit outside the unobstructed phone screen. */
#preview-modal .preview-footer-controls {
  position: absolute; top: 2px; right: 0; z-index: 26;
  display: flex; flex-direction: column-reverse; gap: 8px;
}
#preview-modal .preview-footer-controls .preview-icon-btn { width: 30px; height: 30px; flex-basis: 30px; }
/* Premium: ivory paper and a soft blush wash. */
#preview-modal {
  --gallery-backdrop-base: #f3e9e2;
  --gallery-backdrop-light: radial-gradient(ellipse at 46% 32%, #fffdf8 0%, #faf4ec 32%, #f0e3df 70%, #e5d2ce 100%);
  --gallery-pattern: url('assets/preview-botanical.svg');
  --gallery-pattern-size: 280px 360px;
  --gallery-pattern-opacity: .1;
  --gallery-grain-opacity: .1;
  --gallery-counter-ink: #79665e;
  --gallery-phone-shadow: rgba(83,54,49,.24);
  --gallery-arrow-surface: rgba(82,63,57,.48);
  --gallery-arrow-hover: rgba(82,63,57,.72);
  --gallery-accent: #bc3156;
  --gallery-accent-soft: #fcebef;
  --gallery-accent-border: #ecd0d8;
  --gallery-cta-start: #e98289;
  --gallery-cta-end: #bc3156;
  --gallery-cta-text: #fff;
  --gallery-accent-shadow: rgba(188,49,86,.2);
  --gallery-control-glass: rgba(62,33,42,.76);
}
/* Luxury: champagne light with antique-gold edges. */
#preview-modal[data-preview-tier="3"] {
  --gallery-backdrop-base: #e5d2ad;
  --gallery-backdrop-light: radial-gradient(ellipse at 46% 32%, #fff7df 0%, #f3e5c6 32%, #dfc59a 72%, #c4a271 100%);
  --gallery-pattern: url('assets/preview-jaali.svg');
  --gallery-pattern-size: 160px 160px;
  --gallery-pattern-opacity: .1;
  --gallery-counter-ink: #6c512d;
  --gallery-phone-shadow: rgba(82,58,25,.3);
  --gallery-arrow-surface: rgba(98,71,34,.52);
  --gallery-arrow-hover: rgba(98,71,34,.76);
  --gallery-accent: #845d24;
  --gallery-accent-soft: #faf2df;
  --gallery-accent-border: #dfc797;
  --gallery-cta-start: #f5d77f;
  --gallery-cta-end: #c09559;
  --gallery-cta-text: #302311;
  --gallery-accent-shadow: rgba(192,149,89,.24);
  --gallery-control-glass: rgba(54,43,27,.76);
}
/* Dearly: muted plum and cocoa, lit softly behind the invitation. */
#preview-modal[data-preview-tier="4"] {
  --gallery-backdrop-base: #3d2935;
  --gallery-backdrop-light: radial-gradient(ellipse at 46% 32%, #987e83 0%, #71545f 34%, #4a323f 70%, #2f202b 100%);
  --gallery-pattern: url('assets/preview-damask.svg');
  --gallery-pattern-size: 320px 400px;
  --gallery-pattern-opacity: .1;
  --gallery-grain-opacity: .14;
  --gallery-counter-ink: #f0e0d7;
  --gallery-phone-shadow: rgba(24,12,20,.46);
  --gallery-arrow-surface: rgba(255,243,228,.16);
  --gallery-arrow-hover: rgba(255,243,228,.28);
  --gallery-accent: #6b3a5d;
  --gallery-accent-soft: #f5eaf1;
  --gallery-accent-border: #c09559;
  --gallery-cta-start: #6b3a5d;
  --gallery-cta-end: #2e1227;
  --gallery-cta-text: #fff4e5;
  --gallery-accent-shadow: rgba(107,58,93,.24);
  --gallery-control-glass: rgba(46,18,39,.76);
}
#preview-modal #preview-instant-pay-btn {
  background: linear-gradient(110deg,var(--gallery-cta-start),var(--gallery-cta-end));
  color: var(--gallery-cta-text); border-color: var(--gallery-accent-border);
  box-shadow: 0 4px 12px var(--gallery-accent-shadow);
}
#preview-modal .preview-collection-badge {
  background: var(--gallery-accent-soft); color: var(--gallery-accent);
  border-color: var(--gallery-accent-border);
}
#preview-modal .preview-sheet-tier { color: var(--gallery-accent); }
#preview-modal .preview-viewer-pill,
#preview-modal .preview-expand-btn { background: var(--gallery-control-glass); }
#preview-modal .preview-view-btn.active { color: var(--gallery-accent); background: var(--gallery-accent-soft); }
#preview-modal .preview-side-arrow {
  border-color: var(--gallery-accent-border);
  background: var(--gallery-arrow-surface);
}
#preview-modal .preview-side-arrow:hover { background: var(--gallery-arrow-hover); }
#preview-modal #preview-favourite-btn[aria-pressed="true"] { color: var(--gallery-accent); background: var(--gallery-accent-soft); }
#preview-modal :is(button,a):focus-visible { outline-color: var(--gallery-accent); }
#preview-modal[data-preview-tier="4"] .preview-collection-badge > span:first-child,
#preview-modal[data-preview-tier="4"] #preview-instant-pay-btn > span:first-child { color: #dfba73; }
/* Clip the embedded page's scrollbar without disabling invitation scrolling. */
#preview-modal .phone-screen-viewport { overflow: hidden; }
#preview-modal .preview-modal-iframe { width: calc(100% + 20px); max-width: none; margin-right: -20px; }

/* Template navigation flanks the phone rather than covering its screen. */
#preview-modal .preview-device-row {
  position: relative; width: 100%; height: 100%; min-height: 0;
  display: flex; justify-content: center; align-items: center; gap: 12px;
}
#preview-modal .preview-side-arrow {
  position: relative;
  top: auto;
  transform: none;
  width: 32px;
  height: 32px;
  min-width: 32px;
  min-height: 32px;
  padding: 0;
  box-sizing: border-box;
  flex-shrink: 0;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
}
#preview-modal .side-arrow-prev { left: auto; order: 0; }
#preview-modal .side-arrow-next { right: auto; order: 2; }
#preview-modal .preview-side-arrow:hover,
#preview-modal .preview-side-arrow:focus-visible { transform: none; }
#preview-modal .preview-gallery-device { max-width: calc(100% - 88px); order: 1; }

/* Viewer controls are independent of the phone and its perspective transform. */
#preview-modal .preview-modal-panel { grid-template-rows: minmax(0, 1fr) auto; }
#preview-modal .preview-floating-controls {
  height: auto;
  min-height: 40px;
  transform: none;
  margin: 0;
}
@media (max-height: 650px) {
  #preview-modal .preview-modal-panel { grid-template-rows: minmax(260px, 1fr) auto; }
}

/* A separate vertical rail keeps all viewer actions on the screen's right edge. */
#preview-modal .preview-footer-controls {
  position: fixed;
  top: 16px;
  right: 16px;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
#preview-modal .preview-footer-controls .preview-modal-close { order: -2; }
#preview-modal .preview-footer-controls #preview-favourite-btn { order: -1; }
#preview-modal .preview-footer-controls .preview-icon-btn,
#preview-modal .preview-footer-controls .preview-expand-btn {
  width: 36px; height: 36px; min-width: 36px; min-height: 36px;
  flex: 0 0 36px; padding: 0;
  border: 1px solid #dfd5cc; border-radius: 50%;
  background: #fffaf5; color: #66534c;
  box-shadow: 0 2px 5px rgba(70,46,39,.04);
  backdrop-filter: none; -webkit-backdrop-filter: none;
  transition: background .2s, transform .2s;
}
#preview-modal .preview-footer-controls .preview-icon-btn:hover,
#preview-modal .preview-footer-controls .preview-expand-btn:hover { background: #f7eee7; }
#preview-modal .preview-footer-controls #preview-favourite-btn[aria-pressed="true"] {
  color: var(--gallery-accent); background: var(--gallery-accent-soft); border-color: var(--gallery-accent-border);
}
#preview-modal .preview-floating-controls { flex-direction: column; gap: 16px; margin-top: 12px; }
#preview-modal .preview-viewer-pill {
  flex-direction: column; gap: 12px; padding: 0;
  border: 0; background: transparent; box-shadow: none;
  backdrop-filter: none; -webkit-backdrop-filter: none;
}
#preview-modal .preview-counter-badge { color: var(--gallery-counter-ink); font-size: .68rem; font-weight: 500; line-height: 1.4; }
#preview-modal .preview-view-toggle {
  flex-direction: column; gap: 4px; padding: 4px;
  border: 1px solid #dfd5cc; border-radius: 24px;
  background: #fffaf5; box-shadow: 0 2px 5px rgba(70,46,39,.04);
}
#preview-modal .preview-view-btn {
  width: 34px; min-width: 34px; min-height: 34px; padding: 5px 0;
  color: #66534c; font-size: .72rem; border-radius: 50%;
}
#preview-modal .preview-view-btn.active {
  color: var(--gallery-accent); background: var(--gallery-accent-soft); box-shadow: none;
}
@media (max-width: 600px) {
  #preview-modal .preview-footer-controls { top: 12px; right: 8px; }
  #preview-modal .preview-device-island { display: none; }
  #preview-modal .preview-side-arrow,
  #preview-modal .preview-side-arrow:hover,
  #preview-modal .preview-side-arrow:focus-visible {
    transform: translateY(60px);
  }
  #preview-modal .preview-gallery-device {
    height: min(100%, calc((100vw - 136px) * 864 / 405));
  }
}
@media (max-width: 600px) and (max-height: 650px) {
  #preview-modal .preview-footer-controls { gap: 6px; }
  #preview-modal .preview-floating-controls { margin-top: 0; gap: 8px; }
  #preview-modal .preview-viewer-pill { gap: 6px; }
}

/* The rig rotates solid chassis layers; only its front screen clips content. */
#preview-modal .preview-device-row { perspective: 1100px; }
#preview-modal .preview-gallery-device {
  overflow: visible; isolation: auto; background: transparent;
  border-color: transparent; box-shadow: none; transform-style: preserve-3d;
}
#preview-modal .preview-phone-front {
  position: absolute; inset: -5px; display: flex; flex-direction: column;
  border: 5px solid #242126; border-radius: 38px; background: #efe3d8;
  overflow: hidden;
  box-shadow: 0 0 0 2px #a6a1a0, 0 30px 48px -20px var(--gallery-phone-shadow);
}
#preview-modal .preview-modal-iframe-wrap {
  border: 0;
}
#preview-modal .preview-phone-chassis,
#preview-modal .preview-chassis-button,
#preview-modal .preview-studio-shadow { display: none; pointer-events: none; }
#preview-modal .is-3d-mode .preview-phone-front {
  transform: translateZ(14px);
  border-color: #222126;
  box-shadow: 0 0 0 1px #d8d3ca, 0 0 0 2px #77746e,
    inset 0 1px 2px rgba(255,255,255,.22);
}
#preview-modal .is-3d-mode .preview-phone-front::after {
  content: ''; position: absolute; inset: 0; z-index: 30;
  border-radius: inherit; pointer-events: none;
  background: linear-gradient(112deg, rgba(255,255,255,.16), transparent 32%,
    transparent 70%, rgba(255,255,255,.045));
  background-position: var(--glass-x, 0px) 0;
  box-shadow: inset 1px 0 1px rgba(255,255,255,.26), inset -1px 0 2px rgba(0,0,0,.14);
}
#preview-modal .is-3d-mode .preview-phone-chassis {
  display: block; position: absolute; inset: -5px;
  transform-style: preserve-3d;
}
#preview-modal .preview-chassis-slice {
  position: absolute; inset: -1px; border-radius: 39px;
  transform: translateZ(var(--slice-z));
  border: 1px solid #979187;
  background: linear-gradient(115deg, #ddd8ce 0%, #a9a398 14%, #5c5a57 55%, #aaa396 100%);
  box-shadow: inset 1px 0 1px #e9e4dc, inset -1px 0 1px #d0c7b8;
}
#preview-modal .preview-chassis-slice:first-child {
  background: #5b5955; border-color: #77726a;
}
#preview-modal .is-3d-mode .preview-chassis-button {
  display: block; position: absolute; width: 24px; border-radius: 3px;
  background: linear-gradient(90deg, #716c64, #d9d3c9 48%, #827d74);
  border: 1px solid #58544e; box-shadow: inset 0 1px 0 #f2ebe1;
}
#preview-modal .preview-chassis-volume {
  left: -18px; top: 22%; height: 5%; transform: rotateY(90deg);
}
#preview-modal .preview-chassis-volume-lower { top: 29%; }
#preview-modal .preview-chassis-power {
  right: -18px; top: 26%; height: 9%; transform: rotateY(90deg);
}
/* Slim hardware details sit outside the screen and turn with the device. */
#preview-modal .preview-gallery-device:not(.is-3d-mode) .preview-chassis-button {
  display: block;
  position: absolute;
  width: 3px;
  border: 1px solid #646168;
  border-radius: 2px;
  background: linear-gradient(90deg, #77747b, #b6b3b8);
  box-shadow: inset 0 1px 0 #d4d1d6, 0 1px 2px rgba(24,20,27,.18);
  transform: none;
  box-sizing: border-box;
  pointer-events: none;
}
#preview-modal .preview-gallery-device:not(.is-3d-mode) .preview-chassis-volume { left: -10px; }
#preview-modal .preview-gallery-device:not(.is-3d-mode) .preview-chassis-power { right: -10px; }
#preview-modal .preview-device-row:has(.is-3d-mode) .preview-studio-shadow {
  display: block; position: absolute; bottom: -18px; left: 20%; width: 60%; height: 46px;
  background: radial-gradient(ellipse, rgba(66,47,29,.27), rgba(66,47,29,.08) 48%, transparent 72%);
  filter: blur(12px); transform: translateX(0); z-index: -1;
}
#preview-modal .preview-gallery-device.is-3d-mode {
  transform: rotateY(-22deg) rotateX(5deg) rotateZ(-.5deg) scale(.95);
}
@media (prefers-reduced-motion: reduce) {
  #preview-modal .preview-gallery-device { transition: none !important; }
}

.order-drawer-modal :is(button,a,input):focus-visible {
  outline: 2px solid var(--order-accent);
  outline-offset: 3px;
}
.order-addon-item:has(input:checked) {
  background: var(--order-soft);
  border-color: var(--order-accent);
}

/* Collection navigation replaces the badge within the existing summary row. */
#preview-modal .preview-modal-panel {
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 8px;
}
#preview-modal .preview-modal-toolbar { min-width: 0; }
#preview-modal .preview-collection-switcher {
  --collection-index: 0;
  --collection-ink: #bc3156;
  --collection-fill: #fcebef;
  --collection-border: #ecd0d8;
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  width: 216px;
  height: 44px;
  box-sizing: border-box;
  gap: 0;
  padding: 4px;
  border: 1px solid #e7dcd6;
  border-radius: 999px;
  background: #fffaf7;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
/* One moving surface keeps selection distinct from hover and keyboard focus. */
#preview-modal .preview-collection-switcher::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 4px auto 4px 4px;
  width: calc((100% - 8px) / 3);
  box-sizing: border-box;
  border: 1px solid var(--collection-border);
  border-radius: 999px;
  background: var(--collection-fill);
  box-shadow: 0 1px 3px rgba(62,33,42,.09);
  transform: translateX(calc(var(--collection-index) * 100%));
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease, box-shadow 100ms ease;
  pointer-events: none;
}
#preview-modal .preview-collection-switcher[data-selected-tier="3"] {
  --collection-index: 1;
  --collection-ink: #845d24;
  --collection-fill: #faf2df;
  --collection-border: #dfc797;
}
#preview-modal .preview-collection-switcher[data-selected-tier="4"] {
  --collection-index: 2;
  --collection-ink: #6b3a5d;
  --collection-fill: #f5eaf1;
  --collection-border: #d9bfd0;
}
#preview-modal .preview-collection-switcher .preview-tier-tab {
  min-width: 0;
  min-height: 34px;
  height: 100%;
  padding: 6px 4px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  box-shadow: none;
  color: #73615e;
  font-family: var(--font-body);
  font-size: .7rem;
  font-weight: 500;
  line-height: 1.2;
  cursor: pointer;
  transition: background-color 100ms ease, color 180ms ease;
}
@media (hover: hover) {
  #preview-modal .preview-collection-switcher .preview-tier-tab:not(.is-active):not(:disabled):hover {
    background: rgba(115,97,94,.045);
    color: #4f3e3b;
  }
}
#preview-modal .preview-collection-switcher .preview-tier-tab.is-active {
  background: transparent;
  color: var(--collection-ink);
  border-color: transparent;
  box-shadow: none;
  font-weight: 500;
}
#preview-modal .preview-collection-switcher .preview-tier-tab:not(:disabled):active {
  background: rgba(115,97,94,.09);
}
#preview-modal .preview-collection-switcher:has(.preview-tier-tab.is-active:active)::before {
  box-shadow: none;
}
#preview-modal .preview-collection-switcher .preview-tier-tab:focus-visible {
  outline: 2px solid #73615e;
  outline-offset: 1px;
}
#preview-modal .preview-collection-switcher .preview-tier-tab:disabled {
  color: #a19490;
  background: transparent;
  cursor: not-allowed;
}
@media (prefers-reduced-motion: reduce) {
  #preview-modal .preview-collection-switcher::before,
  #preview-modal .preview-collection-switcher .preview-tier-tab { transition: none; }
}
@media (max-height: 680px) {
  #preview-modal .preview-modal-panel { grid-template-rows: minmax(260px, 1fr) auto; }
}

#preview-modal .preview-sheet-summary .preview-collection-badge { display: none; }
#preview-modal .preview-sheet-summary .preview-collection-switcher {
  flex-shrink: 0;
  padding: 4px;
  gap: 0;
  box-shadow: none;
  border-color: #e7dcd6;
  background: #fffaf7;
}
#preview-modal .preview-sheet-summary .preview-tier-tab {
  min-height: 34px;
  padding: 6px 4px;
  font-size: .7rem;
}
#preview-modal .preview-sheet-details h3 {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
#preview-modal .preview-sheet-details {
  flex: 1;
  min-width: 0;
}
#preview-modal .preview-sheet-details .preview-sheet-meta {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (max-width: 380px) {
  #preview-modal .preview-sheet-summary .preview-collection-switcher { width: 198px; }
}

/* Included services show their regular value without discount styling. */
#order-drawer-modal[data-order-tier="4"] .order-addon-price {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 3px;
}
#order-drawer-modal .order-addon-price s {
  color: var(--order-muted);
  font-size: .72rem;
  font-weight: 400;
  text-decoration-thickness: 1px;
}
.order-drawer-included-value {
  margin: -6px 4px 18px;
  color: var(--order-muted);
  font-size: .72rem;
  line-height: 1.5;
}
.order-drawer-included-value[hidden] { display: none; }

/* A persistent checkout footer leaves the order details independently scrollable. */
.order-drawer-panel {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0;
}
.order-drawer-content {
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
  padding: 26px 26px 18px;
}
.order-drawer-content::-webkit-scrollbar { display: none; }
.order-drawer-actions {
  flex-shrink: 0;
  margin: 0;
  padding: 16px 26px max(22px, env(safe-area-inset-bottom));
  background: var(--order-panel-bottom);
  border-top: 1px solid var(--order-border);
  box-shadow: 0 -8px 24px var(--order-soft);
  z-index: 1;
}
@media (max-width: 640px) {
  .order-drawer-content { padding: 20px 18px 18px; }
  .order-drawer-actions { padding: 14px 18px max(20px, env(safe-area-inset-bottom)); }
}

#preview-modal #preview-names-edit {display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:36px;margin-top:5px;padding:7px 12px;box-sizing:border-box;border:1px solid var(--invitation-accent,#263d34);border-radius:999px;background:var(--invitation-accent,#263d34);color:var(--invitation-on-accent,#fff);font-family:var(--font-header);font-size:13px;font-weight:600;line-height:1.2;letter-spacing:.01em;text-decoration:none;white-space:nowrap;cursor:pointer;box-shadow:0 3px 9px #00000016;transition:transform .15s ease,box-shadow .15s ease;}
#preview-modal #preview-names-edit::before {content:"";width:14px;height:14px;flex-shrink:0;background:currentColor;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2 15 9 22 12 15 15 12 22 9 15 2 12 9 9Z'/%3E%3C/svg%3E") center/contain no-repeat;}
#preview-modal #preview-names-edit:hover {transform:translateY(-1px);box-shadow:0 5px 12px #00000024;}
#preview-modal #preview-names-edit:focus-visible {outline:2px solid var(--invitation-ink,#263d34);outline-offset:3px;}
@media(prefers-reduced-motion:reduce){#preview-modal #preview-names-edit {transition:none;}#preview-modal #preview-names-edit:hover {transform:none;}}
#preview-modal dialog.preview-names {position:fixed;inset:0;width:min(440px,calc(100vw - 32px));max-height:calc(100dvh - 48px);margin:auto;padding:28px 24px;box-sizing:border-box;border:1px solid #d8d7c8;border-radius:20px;background:#faf9f3;color:#263d34;box-shadow:0 20px 80px #17281b33;overflow:auto;}
#preview-modal dialog.preview-names::backdrop {background:#23332970;backdrop-filter:blur(5px);}
#preview-modal .preview-names h2 {font-size:23px;line-height:1.25;margin:0 24px 10px 0;}
#preview-modal .preview-names-intro {font-size:14px;line-height:1.5;margin:0 0 18px;}
#preview-modal .preview-names-form {display:grid;grid-template-columns:1fr 1fr;gap:12px;}
#preview-modal .preview-names label {display:grid;gap:6px;min-width:0;font-size:13px;}
#preview-modal .preview-names input {width:100%;min-width:0;box-sizing:border-box;font:inherit;font-size:16px;padding:12px;border:1px solid #bdc9bf;border-radius:9px;background:#fff;color:#24372d;}
#preview-modal .preview-names-actions {grid-column:1/-1;display:flex;flex-wrap:wrap;gap:8px;margin-top:4px;}
#preview-modal .preview-names button {font:inherit;cursor:pointer;padding:10px 14px;border:1px solid #bdc9bf;border-radius:9px;background:#fff;color:#24372d;font-size:13px;}
#preview-modal .preview-names button[type="submit"] {background:#263d34;color:#fff;border-color:#263d34;}
#preview-modal .preview-names #preview-names-close {position:absolute;top:12px;right:12px;padding:5px 10px;border:0;background:none;font-size:22px;}
#preview-modal .preview-names #preview-names-reset {border:0;background:none;text-decoration:underline;padding-left:0;}
#preview-modal #preview-names-status {grid-column:1/-1;font-size:11px;line-height:1.5;margin:0;}
@media(max-width:380px){#preview-modal .preview-names-form {grid-template-columns:1fr;}#preview-modal dialog.preview-names{padding:24px 18px;}}

#preview-modal #preview-names-title:focus {outline:none;}

/* The title shares a row with collection selection; name editing joins browsing. */
#preview-modal .preview-sheet-details {display:flex;align-items:center;justify-content:space-between;gap:10px;}
#preview-modal .preview-sheet-details h3 {flex:1;min-width:0;margin:0;}
#preview-modal .preview-sheet-details .preview-sheet-meta {display:none;}
#preview-modal #preview-names-edit {flex-shrink:0;margin-top:0;min-height:40px;padding:8px 12px;}
#preview-modal .preview-browse-controls {grid-template-columns:1fr 1.4fr 1fr 1fr;}
#preview-modal #preview-collection-select {min-width:0;width:100%;height:44px;box-sizing:border-box;border:1px solid var(--invitation-border,#c9cec7);border-radius:12px;padding:0 8px;background:var(--invitation-surface,#faf8f2);color:var(--invitation-ink,#263d34);font:600 13px var(--font-header);cursor:pointer;}
#preview-modal #preview-collection-select:focus-visible {outline:2px solid var(--invitation-accent,#263d34);outline-offset:2px;}
@media(max-width:600px){
  #preview-modal .preview-browse-controls {grid-template-columns:44px minmax(105px,1.4fr) minmax(60px,1fr) 44px;gap:6px;}
  #preview-modal .preview-browse-controls .preview-side-arrow > span:not([aria-hidden]) {display:none;}
  #preview-modal .preview-browse-controls .preview-side-arrow {padding:0;}
  #preview-modal #preview-collection-select {font-size:12px;}
}

#preview-modal .preview-sheet-details #preview-collection-select {width:116px;flex-shrink:0;}
#preview-modal .preview-browse-controls #preview-names-edit {width:100%;min-width:0;height:44px;min-height:44px;padding:0 8px;font-size:12px;}
#preview-modal .preview-browse-controls #preview-favourite-btn {min-width:0;padding-inline:8px;gap:5px;}

#preview-modal .preview-sheet-details .preview-collection-switcher {width:192px;flex-shrink:0;--collection-ink:var(--invitation-ink,#263d34);--collection-fill:var(--invitation-soft,#edf2ec);--collection-border:var(--invitation-border,#c9cec7);}
#preview-modal .preview-sheet-details .preview-collection-switcher .preview-tier-tab {font-size:12px;color:var(--invitation-ink,#263d34);}
#preview-modal .preview-sheet-details h3 {white-space:normal;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;}
@media(max-width:360px){#preview-modal .preview-sheet-details {gap:8px;}#preview-modal .preview-sheet-details .preview-collection-switcher {width:180px;}#preview-modal .preview-sheet-details .preview-collection-switcher .preview-tier-tab {font-size:11px;}}

/* Optional preview contact capture. */
#preview-modal .preview-whatsapp-fields {grid-column:1/-1;border-top:1px solid #d8d7c8;padding-top:4px;}
#preview-modal .preview-whatsapp-consent {display:flex;align-items:flex-start;gap:8px;line-height:1.5;}
#preview-modal .preview-whatsapp-consent input {width:18px;height:18px;flex-shrink:0;margin-top:2px;}
#preview-modal #preview-whatsapp-notice {font-size:13px;line-height:1.5;margin-top:12px;}
.website-verification {position:fixed;bottom:24px;left:50%;transform:translateX(-50%);z-index:100000;padding:12px;background:white;box-shadow:0 4px 24px #0003;}

#preview-modal .preview-whatsapp-fields summary {cursor:pointer;font-size:13px;font-weight:600;line-height:1.5;padding:8px 0;}
#preview-modal .preview-whatsapp-fields summary span {font-weight:400;}
#preview-modal .preview-whatsapp-fields p {font-size:12px;line-height:1.5;margin:4px 0 12px;}
#preview-modal .preview-whatsapp-fields label {margin-bottom:10px;}
#preview-modal #preview-whatsapp-notice {grid-column:1/-1;padding:10px 12px;border-radius:10px;background:#f3f5ef;color:#263d34;}
#preview-modal #preview-whatsapp-notice:empty {display:none;}

#preview-modal .preview-whatsapp-fields .preview-whatsapp-consent {display:flex;align-items:flex-start;gap:8px;line-height:1.5;}
