/* BIRD BAM CHEER — Boho Vibe Mahjong Affiliate Site
   ═══════════════════════════════════════════════════════ */

:root {
  --coral:    #5A8060;     /* Forest sage — primary green CTA */
  --teal:     #729876;     /* Sage green — natural calming accent */
  --gold:     #A88EC4;     /* Soft lilac — purple highlight */
  --plum:     #5A8060;     /* Rich purple — accent color */
  --sky:      #B8A9C9;     /* Dusty lavender — subtle purple tone */
  --cream:    #F7FAF7;     /* Soft mint white — fresh background */
  --dark:     #2B3A2E;     /* Deep forest — dark text */
  --mid:      #5A6B5E;     /* Green-gray — body text */
  --light:    #EDF3EE;     /* Pale sage — card backgrounds */
  --white:    #FDFFF9;     /* Soft white with green tint — clean surfaces */
  --rust:     #7B5EA7;     /* Deep plum — hover accent */
  --olive:    #8B9A6B;     /* Olive green — secondary natural tone */
  --card-shadow: 0 4px 20px rgba(43,58,46,.07);
  --hover-shadow: 0 8px 32px rgba(43,58,46,.12);
}

* { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior: smooth; direction: rtl; }
html > * { direction: ltr; }

/* Custom scrollbar styling (appears on left due to rtl) */
html::-webkit-scrollbar {
  width: 10px;
}
html::-webkit-scrollbar-track {
  background: var(--light);
}
html::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #5A8060, #7B5EA7);
  border-radius: 10px;
  border: 2px solid var(--light);
}
html::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #476B4D, #6B4D8A);
}
html {
  scrollbar-width: thin;
  scrollbar-color: #5A8060 var(--light);
}

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--dark);
  background: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  padding-top: 120px;
}

h1, h2, h3, h4 { font-family: 'Playfair Display', serif; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ── NAV ───────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: #F5F0E6;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
}
nav .container {
  display: flex; align-items: center; justify-content: center;
  gap: 40px;
  height: 74px;
  position: relative;
}
.logo {
  font-family: 'Playfair Display', serif;
  font-size: 28px; font-weight: 900;
  color: var(--teal);
  letter-spacing: -.5px;
  display: flex; align-items: center; gap: 10px;
  flex-shrink: 0;
  white-space: nowrap;
}
.logo img.nav-logo-img {
  height: 56px; width: 56px;
  border-radius: 0;
  object-fit: contain;
  border: none;
  box-shadow: none;
}
.logo span { color: var(--teal); }
.logo .cheer { color: var(--teal); }
.nav-links { display: flex; gap: 28px; list-style: none; align-items: center; }
.nav-links a {
  font-weight: 700; font-size: 15px; color: var(--mid);
  transition: color .2s; white-space: nowrap;
}
.nav-links a:hover { color: var(--coral); }
.nav-cta {
  background: var(--coral); color: var(--white) !important;
  padding: 10px 22px; border-radius: 40px;
  font-weight: 800; font-size: 15px; letter-spacing: .3px;
  transition: transform .2s, box-shadow .2s;
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 4px 16px rgba(90,128,96,.35); }
/* ── MOBILE HAMBURGER BUTTON ── */
.mobile-toggle { display: none; cursor: pointer; font-size: 28px; color: var(--dark); background: none; border: none; padding: 8px; -webkit-tap-highlight-color: rgba(0,0,0,.3); touch-action: manipulation; position: relative; z-index: 1000; }

/* ── NAV DROPDOWNS — controlled by JS, see inline <script> on each page ── */
.nav-dropdown { position: relative; }
.nav-dropdown-menu {
  display: none; position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  background: #7B5EA7; border-radius: 12px; box-shadow: 0 8px 30px rgba(0,0,0,.18);
  padding: 12px 0; min-width: 180px; z-index: 200;
}
.nav-dropdown-menu.dd-show { display: block; }
.nav-dropdown-menu a {
  display: block; padding: 12px 22px; font-size: 14px; font-weight: 600;
  color: #fff; transition: background .2s, color .2s; white-space: nowrap;
  text-decoration: none;
}
.nav-dropdown-menu a:hover { background: rgba(255,255,255,.15); color: #fff; }

/* ── HERO ──────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, #6A9B6E 0%, #5A8060 40%, #476B4D 100%);
  color: var(--white);
  padding: 44px 0 36px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '🀄🀅🀆🀇🀈🀉';
  position: absolute; top: 20px; left: 50%;
  transform: translateX(-50%);
  font-size: 140px; opacity: .06;
  white-space: nowrap;
  pointer-events: none;
}
.hero h1 {
  font-size: 36px; font-weight: 900;
  line-height: 1.2; margin-bottom: 16px;
  white-space: normal;
}
.hero p {
  font-size: 17px; max-width: 580px; margin: 0 auto 28px;
  opacity: .92; line-height: 1.6;
}
.hero-badges {
  display: flex; justify-content: center; gap: 20px;
  margin-bottom: 28px; flex-wrap: wrap;
}
.hero-badge {
  background: rgba(255,255,255,.18); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  padding: 8px 20px; border-radius: 40px;
  font-weight: 700; font-size: 13px;
  border: 1px solid rgba(255,255,255,.25);
}
.btn-primary {
  display: inline-block;
  background: var(--gold); color: var(--dark);
  padding: 14px 36px; border-radius: 50px;
  font-weight: 800; font-size: 15px;
  transition: transform .2s, box-shadow .2s;
  border: none; cursor: pointer;
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 8px 28px rgba(212,169,106,.4); }
.btn-secondary {
  display: inline-block;
  background: transparent; color: var(--white);
  padding: 14px 36px; border-radius: 50px;
  font-weight: 700; font-size: 15px;
  border: 2px solid rgba(255,255,255,.5);
  margin-left: 16px;
  transition: background .2s;
}
.btn-secondary:hover { background: rgba(255,255,255,.15); }

/* ── TRUST BAR ─────────────────────────────────────── */
.trust-bar {
  background: var(--white);
  padding: 24px 0;
  border-bottom: 1px solid #eee;
}
.trust-row {
  display: flex; justify-content: center; align-items: center;
  gap: 40px; flex-wrap: wrap; text-align: center;
}
.trust-item { font-weight: 700; color: var(--mid); font-size: 14px; }
.trust-item strong {
  display: block; font-size: 24px; font-weight: 900;
  font-family: 'Playfair Display', serif;
  color: var(--coral);
}

/* ── SECTION HEADERS ───────────────────────────────── */
.section { padding: 60px 0; }
.section-tag {
  display: inline-block;
  background: var(--coral); color: var(--white);
  padding: 5px 16px; border-radius: 20px;
  font-size: 12px; font-weight: 800;
  letter-spacing: 1.2px; text-transform: uppercase;
  margin-bottom: 12px;
}
.section-title {
  font-size: 34px; font-weight: 900;
  line-height: 1.2; margin-bottom: 12px;
}
.section-sub {
  font-size: 16px; color: var(--mid);
  max-width: 580px; margin-bottom: 36px;
}

/* ── PRODUCT CARDS ─────────────────────────────────── */
.picks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.card {
  background: var(--white);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: transform .25s, box-shadow .25s;
  position: relative;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--hover-shadow); }
.card-badge { display: none; 
  position: absolute; top: 16px; left: 16px; z-index: 3;
  background: var(--gold); color: var(--dark);
  padding: 6px 16px; border-radius: 20px;
  font-size: 12px; font-weight: 800; letter-spacing: .5px;
  box-shadow: 0 2px 8px rgba(0,0,0,.35), 0 0 0 1.5px rgba(255,255,255,.5);
  text-shadow: 0 1px 0 rgba(255,255,255,.3);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}
.card-img {
  width: 100%; height: 220px;
  background: var(--light);
  display: flex; align-items: center; justify-content: center;
  font-size: 36px;
  flex-direction: column;
  gap: 8px;
  position: relative;
  overflow: hidden;
}
/* Dark gradient overlay at top of card images for badge readability */
.card-img::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 60px;
  background: linear-gradient(180deg, rgba(0,0,0,.22) 0%, rgba(0,0,0,.08) 60%, transparent 100%);
  z-index: 1;
  pointer-events: none;
}
/* Ensure collage grid sits below overlay */
.card-img .collage-grid {
  position: relative; z-index: 0;
}
/* Improve readability of text labels inside gradient-background cards */
.card-img > span {
  position: relative; z-index: 2;
  text-shadow: 0 1px 3px rgba(255,255,255,.7);
}
.card-img > span[style*="font-size:11px"],
.card-img > span[style*="font-size:12px"],
.card-img > span[style*="font-size:13px"] {
  background: rgba(255,255,255,.65);
  padding: 3px 12px;
  border-radius: 12px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.card-body { padding: 20px; }
.card-brand {
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1px;
  color: var(--teal); margin-bottom: 5px;
}
.card-title { font-size: 20px; margin-bottom: 6px; }
.card-price {
  font-size: 22px; font-weight: 900; color: var(--coral);
  margin-bottom: 5px;
}
.card-rating { margin-bottom: 14px; }
.stars { color: var(--gold); font-size: 16px; }
.card-desc { font-size: 14px; color: var(--mid); margin-bottom: 18px; line-height: 1.6; }
.card-btn {
  display: block; text-align: center;
  background: var(--coral); color: var(--white);
  padding: 11px 0; border-radius: 12px;
  font-weight: 800; font-size: 14px;
  transition: background .2s;
}
.card-btn:hover { background: #A8614A; }
.card-btn.teal { background: var(--teal); color: var(--white); }
.card-btn.teal:hover { background: #6A8C6E; }
.card-btn.plum { background: var(--plum); color: var(--white); }
.card-btn.plum:hover { background: #876D5C; }
.card-btn.gold { background: var(--gold); color: var(--dark); }
.card-btn.gold:hover { background: #C49A5A; }
.card-btn.olive { background: var(--olive); color: var(--white); }
.card-btn.olive:hover { background: #7A8960; }

/* ── BRAND PARTNERS ───────────────────────────────── */
.partners-bg { background: #729876; }
.partners-bg .section-title { color: #fff; }
.partners-bg .section-sub { color: rgba(255,255,255,.85); }
.partners-bg .section-tag { background: #fff !important; color: #729876 !important; }
/* Brand Logo Grid */
.brand-logo-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
  margin: 28px 0;
  padding: 0;
}
.brand-logo-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.95);
  border-radius: 14px;
  padding: 16px 18px 12px;
  width: 160px;
  min-height: 100px;
  transition: transform .2s, box-shadow .2s;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
}
.brand-logo-card:hover {
  transform: scale(1.06);
  box-shadow: 0 6px 20px rgba(0,0,0,.18);
}
.brand-logo-card img {
  max-width: 130px;
  max-height: 50px;
  object-fit: contain;
  margin-bottom: 8px;
}
.brand-logo-card .brand-card-name {
  font-size: 11px;
  font-weight: 700;
  color: var(--dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 140px;
  line-height: 1.3;
}
.brand-card-discount {
  font-size: 9px;
  font-weight: 600;
  color: var(--teal);
  letter-spacing: .3px;
  margin-top: 2px;
  opacity: 0.85;
}
.brand-card-cta {
  font-size: 10px;
  font-weight: 800;
  color: var(--coral);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity .2s, transform .2s;
  margin-top: 4px;
  letter-spacing: .3px;
}
.brand-logo-card:hover .brand-card-cta {
  opacity: 1;
  transform: translateY(0);
}
@media(max-width:600px) {
  .brand-logo-grid { gap: 10px; }
  .brand-logo-card { width: 130px; min-height: 80px; padding: 12px 10px 8px; }
  .brand-logo-card img { max-width: 90px; max-height: 36px; }
  .brand-logo-card .brand-card-name { font-size: 10px; }
  .brand-card-cta { display: none; }
}
.partners-bird {
  filter: brightness(0) invert(1);
  opacity: 0.9;
}
.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 14px;
}
.partner-tile {
  background: var(--cream);
  border-radius: 12px;
  padding: 18px 12px;
  text-align: center;
  transition: transform .2s, box-shadow .2s;
  border: 2px solid transparent;
  cursor: pointer;
}
.partner-tile:hover {
  transform: translateY(-4px);
  box-shadow: var(--card-shadow);
  border-color: var(--coral);
}
.partner-tile .partner-logo {
  height: 55px; margin-bottom: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 700;
  overflow: visible;
}
.partner-tile .partner-logo img {
  max-width: 100%; max-height: 100%;
  object-fit: contain;
  transition: transform .3s ease;
}
.section-bird-logo {
  mix-blend-mode: multiply;
}

/* ── SCROLL REVEAL ANIMATIONS ──────────────────────── */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(.25,.46,.45,.94), transform 0.8s cubic-bezier(.25,.46,.45,.94);
}
.reveal-on-scroll.revealed {
  opacity: 1;
  transform: translateY(0);
}
.reveal-on-scroll.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-on-scroll.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-on-scroll.reveal-delay-3 { transition-delay: 0.3s; }

/* ── BACK TO TOP BUTTON ────────────────────────────── */
#backToTop {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--coral);
  color: var(--white);
  border: none;
  cursor: pointer;
  font-size: 22px;
  line-height: 48px;
  text-align: center;
  box-shadow: 0 4px 16px rgba(90,128,96,.35);
  opacity: 0;
  transform: translateX(-50%) translateY(20px);
  transition: opacity .3s, transform .3s, background .2s;
  z-index: 900;
  pointer-events: none;
}
#backToTop.visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}
#backToTop:hover {
  background: var(--rust);
  transform: translateX(-50%) translateY(-3px);
  box-shadow: 0 6px 24px rgba(184,92,56,.4);
}

/* ── SECTION NAV LINKS (Go Back Home + Back to Top) ── */
.section-nav-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 28px;
  flex-wrap: wrap;
}
.section-nav-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 22px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: all .2s;
  letter-spacing: .3px;
}
.section-nav-links .nav-home {
  background: rgba(255,255,255,.15);
  color: rgba(255,255,255,.8);
  border: 1px solid rgba(255,255,255,.25);
}
.section-nav-links .nav-home:hover {
  background: #fff;
  color: var(--coral);
  transform: translateY(-2px);
}
.section-nav-links .nav-top {
  background: transparent;
  color: rgba(255,255,255,.6);
}
.section-nav-links .nav-top:hover {
  color: #fff;
}
/* Light background variant */
.section-nav-links.on-light .nav-home {
  background: var(--coral);
  color: #fff;
  border: none;
}
.section-nav-links.on-light .nav-home:hover {
  background: var(--rust);
  color: #fff;
  transform: translateY(-2px);
}
.section-nav-links.on-light .nav-top {
  color: var(--mid);
}
.section-nav-links.on-light .nav-top:hover {
  color: var(--dark);
}

/* ── SECTION EXPLORE BAR ─────────────────────────────── */
.section-explore {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.15);
  text-align: center;
}
.section-explore h4 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
  margin-bottom: 12px;
}
.section-explore-links {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}
.section-explore-links a {
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: all .2s;
  background: rgba(255,255,255,.1);
  color: rgba(255,255,255,.75);
  border: 1px solid rgba(255,255,255,.15);
}
.section-explore-links a:hover {
  background: #fff;
  color: var(--coral);
  transform: translateY(-1px);
}
/* Light background variant */
.section-explore.on-light {
  border-top-color: rgba(0,0,0,.08);
}
.section-explore.on-light h4 {
  color: var(--mid);
}
.section-explore.on-light .section-explore-links a {
  background: rgba(90,128,96,.08);
  color: var(--mid);
  border-color: rgba(90,128,96,.15);
}
.section-explore.on-light .section-explore-links a:hover {
  background: var(--coral);
  color: #fff;
}

/* ── ENHANCED PARTNER CARD HOVERS ──────────────────── */
.partner-tile {
  transition: transform .3s cubic-bezier(.25,.46,.45,.94), box-shadow .3s ease !important;
}
.partner-tile:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 12px 40px rgba(59,51,50,.12) !important;
}
.partner-tile:hover .partner-logo img {
  transform: scale(1.05);
}

/* ── IMAGE LOADING SHIMMER ─────────────────────────── */
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
.img-shimmer {
  background: linear-gradient(90deg, #f0ede8 25%, #faf6f1 50%, #f0ede8 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}

/* ── HERO PARALLAX ENHANCEMENT ─────────────────────── */
.hero {
  background-attachment: fixed !important;
}

/* ── ENHANCED CARD HOVER STATES ────────────────────── */
.card {
  transition: transform .3s cubic-bezier(.25,.46,.45,.94), box-shadow .3s ease !important;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--hover-shadow) !important;
}

/* ── PRODUCT NEW/FEATURED BADGES ───────────────────── */
.badge-new {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--teal);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 6px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  z-index: 2;
}
.badge-featured {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--gold);
  color: var(--dark);
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 6px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  z-index: 2;
}

/* ── SUBTLE BACKGROUND TEXTURE ─────────────────────── */
body::before {
  content: '';
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(59,51,50,.015) 1px, transparent 0);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 0;
}
body > *:not(nav) { position: relative; z-index: 1; }
nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; }

/* ── ENHANCED MOBILE MENU (removed transition – was blocking iPhone) ── */

/* ── SECTION BACK TO TOP LINK ──────────────────────── */
.section-top-link {
  display: block;
  text-align: center;
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid rgba(59,51,50,.06);
}
.section-top-link a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--mid);
  text-decoration: none;
  transition: color .2s, transform .2s;
  padding: 8px 18px;
  border-radius: 20px;
  background: rgba(59,51,50,.04);
}
.section-top-link a:hover {
  color: var(--coral);
  transform: translateY(-2px);
  background: rgba(90,128,96,.08);
}
.section-top-link a .arrow-up {
  font-size: 11px;
}

/* ── FOOTER STYLES ─────────────────────────────────── */
.site-footer {
  background: var(--dark);
  color: rgba(255,255,255,.7);
  padding: 40px 0 24px;
  margin-top: 0;
}
.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 36px;
}
.footer-brand h3 {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  color: #fff;
  margin-bottom: 10px;
}
.footer-brand p {
  font-size: 14px;
  line-height: 1.7;
  max-width: 320px;
}
.footer-links h4, .footer-social h4 {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 14px;
  font-family: 'DM Sans', sans-serif;
}
.footer-links a {
  display: block;
  color: rgba(255,255,255,.6);
  font-size: 14px;
  margin-bottom: 10px;
  transition: color .2s;
}
.footer-links a:hover { color: var(--gold); }
.footer-social-icons {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}
.footer-social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  color: rgba(255,255,255,.8);
  font-size: 18px;
  transition: background .2s, transform .2s;
}
.footer-social-icons a:hover {
  background: var(--coral);
  color: #fff;
  transform: translateY(-2px);
}
.footer-bottom {
  max-width: 1180px;
  margin: 32px auto 0;
  padding: 20px 24px 0;
  border-top: 1px solid rgba(255,255,255,.1);
  text-align: center;
  font-size: 12px;
  color: rgba(255,255,255,.4);
}
@media (max-width: 768px) {
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
}

/* ── CONSISTENT BUTTON STYLES ──────────────────────── */
.btn-earthy {
  display: inline-block;
  padding: 12px 28px;
  background: var(--coral);
  color: #fff;
  border: none;
  border-radius: 12px;
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s, background .2s;
  text-decoration: none;
}
.btn-earthy:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(90,128,96,.3);
  background: var(--rust);
}
.btn-earthy.btn-green {
  background: #729876;
}
.btn-earthy.btn-green:hover {
  background: #5a7d5e;
  box-shadow: 0 6px 20px rgba(114,152,118,.3);
}

.partner-tile .partner-logo img {
  max-width: 100%; max-height: 50px;
  object-fit: contain;
  transition: transform .3s ease;
}
.partner-tile:hover .partner-logo img {
  transform: scale(1.05);
}
.partner-tile h3 {
  font-size: 13px; font-weight: 800;
  font-family: 'DM Sans', sans-serif;
  color: var(--dark);
  line-height: 1.3;
}
.partner-tile p {
  font-size: 11px; color: var(--mid);
  margin-top: 4px;
}

/* ── BRAND LOGO STYLES (text fallbacks for brands without images) ── */
.logo-oh-my { color: #5C4033; font-family: 'DM Sans', sans-serif; font-weight: 700; font-size: 20px; line-height: 1.2; }
.logo-oh-my-top { display: block; font-size: 15px; letter-spacing: 2px; }
.logo-bird-bamboo { color: #4A6B52; font-family: 'Playfair Display', serif; font-weight: 700; font-size: 16px; letter-spacing: 2px; }
.logo-mahj-vine { color: #B8816B; font-family: 'DM Sans', sans-serif; font-weight: 700; font-size: 18px; }

/* ── ATTRIBUTE TOGGLE BUTTONS ──────────────────────────── */
.attr-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  border-radius: 50px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all .25s;
  border: 2px solid #ddd;
  background: var(--white);
  color: var(--mid);
}
.attr-toggle-btn:hover {
  border-color: var(--coral);
  color: var(--coral);
}
.attr-toggle-btn.active {
  background: var(--coral);
  color: #fff;
  border-color: var(--coral);
  box-shadow: 0 2px 8px rgba(229,115,115,.3);
}

/* ── COLOR FILTER BUTTONS ─────────────────────────────── */
.color-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 13px;
  border-radius: 50px;
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all .25s;
  border: 2px solid #e0e0e0;
  background: var(--white);
  color: var(--mid);
}
.color-filter-btn:hover {
  border-color: var(--coral);
  color: var(--dark);
  transform: translateY(-1px);
}
.color-filter-btn.active {
  background: var(--dark);
  color: #fff;
  border-color: var(--dark);
  box-shadow: 0 2px 8px rgba(0,0,0,.15);
}
.color-dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* ── MATERIAL FILTER BUTTONS ──────────────────────────── */
.material-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 18px;
  border-radius: 50px;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all .25s;
  border: 2px solid #ddd;
  background: var(--white);
  color: var(--mid);
}
.material-filter-btn:hover {
  border-color: var(--teal);
  color: var(--teal);
}
.material-filter-btn.active {
  background: var(--teal);
  color: #fff;
  border-color: var(--teal);
  box-shadow: 0 2px 8px rgba(0,128,128,.25);
}

/* ── LAYERS FILTER BUTTONS ────────────────────────────── */
.layers-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 18px;
  border-radius: 50px;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all .25s;
  border: 2px solid #ddd;
  background: var(--white);
  color: var(--mid);
}
.layers-filter-btn:hover {
  border-color: var(--gold);
  color: var(--dark);
}
.layers-filter-btn.active {
  background: var(--gold);
  color: var(--dark);
  border-color: var(--gold);
  box-shadow: 0 2px 8px rgba(196,164,105,.3);
}

/* ── SIZE FILTER BUTTONS ──────────────────────────────── */
.size-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 18px;
  border-radius: 50px;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all .25s;
  border: 2px solid #ddd;
  background: var(--white);
  color: var(--mid);
}
.size-filter-btn:hover {
  border-color: var(--plum);
  color: var(--plum);
}
.size-filter-btn.active {
  background: var(--plum);
  color: #fff;
  border-color: var(--plum);
  box-shadow: 0 2px 8px rgba(139,92,246,.25);
}

/* ── PRICE FILTER BUTTONS ─────────────────────────────── */
.price-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 18px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all .25s;
  border: 2px solid #ddd;
  background: var(--white);
  color: var(--mid);
}
.price-filter-btn:hover {
  border-color: var(--coral);
  color: var(--coral);
}
.price-filter-btn.active {
  background: var(--coral);
  color: #fff;
  border-color: var(--coral);
  box-shadow: 0 2px 8px rgba(255,111,97,.25);
}

/* ── CLASSES & EVENTS ─────────────────────────────────── */
.events-section { padding: 60px 0; background: var(--cream); }
.events-header { text-align: center; margin-bottom: 40px; }
.events-toggle { display: flex; justify-content: center; gap: 12px; margin-bottom: 36px; }
.events-toggle-btn {
  padding: 10px 28px; border-radius: 40px; border: 2px solid var(--teal);
  background: transparent; color: var(--teal); font-weight: 700; font-size: 14px;
  cursor: pointer; transition: all .2s; font-family: 'DM Sans', sans-serif;
}
.events-toggle-btn.active { background: var(--teal); color: var(--white); }
.events-toggle-btn:hover { background: var(--teal); color: var(--white); }

/* Event Cards */
.events-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px; max-width: 1080px; margin: 0 auto;
}
.event-card {
  background: var(--white); border-radius: 18px; overflow: hidden;
  box-shadow: var(--card-shadow); transition: transform .25s, box-shadow .25s;
  display: flex; flex-direction: column;
}
.event-card:hover { transform: translateY(-4px); box-shadow: var(--hover-shadow); }
.event-card-date {
  background: linear-gradient(135deg, var(--teal), #5a7d5e);
  color: var(--white); padding: 16px 20px;
  display: flex; align-items: center; gap: 14px;
}
.event-date-cal {
  display: flex; flex-direction: column; align-items: center;
  background: rgba(255,255,255,.2); border-radius: 10px; padding: 8px 14px;
  min-width: 56px;
}
.event-date-month { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; opacity: .9; }
.event-date-day { font-size: 26px; font-weight: 900; line-height: 1; }
.event-date-details { flex: 1; }
.event-date-weekday { font-size: 13px; font-weight: 600; opacity: .85; }
.event-date-time { font-size: 15px; font-weight: 800; }
.event-card-body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.event-card-tag {
  display: inline-block; padding: 4px 12px; border-radius: 20px; font-size: 10px;
  font-weight: 700; text-transform: uppercase; letter-spacing: .5px;
  margin-bottom: 10px; width: fit-content;
}
.event-card-tag.lesson { background: rgba(90,128,96,.12); color: var(--coral); }
.event-card-tag.event { background: rgba(122,158,126,.12); color: var(--teal); }
.event-card-tag.workshop { background: rgba(155,126,107,.12); color: var(--plum); }
.event-card-title { font-family: 'Playfair Display', serif; font-size: 20px; font-weight: 800; margin-bottom: 8px; color: var(--dark); }
.event-card-desc { font-size: 13px; color: var(--mid); line-height: 1.6; margin-bottom: 12px; flex: 1; }
.event-card-location {
  display: flex; align-items: center; gap: 6px;
  font-size: 12px; color: var(--mid); margin-bottom: 16px;
}
.event-card-location svg { flex-shrink: 0; }
.event-card-footer {
  display: flex; align-items: center; justify-content: space-between;
  border-top: 1px solid var(--light); padding-top: 14px;
}
.event-card-price { font-size: 20px; font-weight: 900; color: var(--coral); }
.event-card-spots { font-size: 11px; color: var(--mid); font-weight: 600; }
.event-card-btn {
  padding: 10px 24px; border-radius: 12px; border: none;
  background: var(--coral); color: var(--white);
  font-weight: 800; font-size: 13px; cursor: pointer;
  transition: background .2s, transform .2s;
  font-family: 'DM Sans', sans-serif;
}
.event-card-btn:hover { background: #A8614A; transform: translateY(-1px); }
.event-card-btn.sold-out { background: var(--mid); cursor: not-allowed; }
.event-empty-state {
  text-align: center; padding: 48px 24px; color: var(--mid);
  font-size: 15px; grid-column: 1 / -1;
}

/* Calendar View */
.events-calendar {
  max-width: 800px; margin: 0 auto;
  background: var(--white); border-radius: 18px; overflow: hidden;
  box-shadow: var(--card-shadow);
}
.cal-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px;
  background: linear-gradient(135deg, var(--teal), #5a7d5e);
  color: var(--white);
}
.cal-header h3 { font-size: 20px; font-weight: 800; }
.cal-nav-btn {
  background: rgba(255,255,255,.2); border: none; color: var(--white);
  width: 36px; height: 36px; border-radius: 50%; cursor: pointer;
  font-size: 18px; font-weight: 700; display: flex; align-items: center; justify-content: center;
  transition: background .2s;
}
.cal-nav-btn:hover { background: rgba(255,255,255,.35); }
.cal-weekdays {
  display: grid; grid-template-columns: repeat(7, 1fr);
  text-align: center; padding: 12px 16px 8px;
  font-size: 11px; font-weight: 700; color: var(--mid);
  text-transform: uppercase; letter-spacing: .5px;
}
.cal-days {
  display: grid; grid-template-columns: repeat(7, 1fr);
  padding: 4px 16px 16px; gap: 4px;
}
.cal-day {
  aspect-ratio: 1; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  border-radius: 10px; font-size: 14px; font-weight: 600;
  color: var(--dark); position: relative; cursor: default;
  transition: background .2s;
}
.cal-day.other-month { color: #d5cfc9; }
.cal-day.today { background: var(--light); font-weight: 800; }
.cal-day.has-event { cursor: pointer; }
.cal-day.has-event:hover { background: rgba(122,158,126,.1); }
.cal-day-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--coral); position: absolute; bottom: 4px;
}
.cal-day-multi { background: var(--teal); }
.cal-tooltip {
  display: none; position: absolute; bottom: calc(100% + 8px); left: 50%;
  transform: translateX(-50%); background: var(--dark); color: var(--white);
  padding: 8px 14px; border-radius: 10px; font-size: 11px; font-weight: 600;
  white-space: nowrap; z-index: 10; pointer-events: none;
  box-shadow: 0 4px 12px rgba(0,0,0,.2);
}
.cal-tooltip::after {
  content: ''; position: absolute; top: 100%; left: 50%;
  transform: translateX(-50%); border: 5px solid transparent; border-top-color: var(--dark);
}
.cal-day.has-event:hover .cal-tooltip { display: block; }

@media (max-width: 640px) {
  .events-grid { grid-template-columns: 1fr; }
  .events-toggle { flex-wrap: wrap; }
  .events-toggle-btn { padding: 8px 20px; font-size: 13px; }
  .cal-day { font-size: 12px; }
  .cal-header h3 { font-size: 17px; }
}

/* ── CONTACT FORM ─────────────────────────────────────── */
.contact-form {
  background: var(--white);
  border-radius: 18px;
  padding: 32px;
  box-shadow: 0 4px 24px rgba(59,51,50,.08);
  border: 1px solid rgba(59,51,50,.06);
}
.contact-field {
  margin-bottom: 20px;
}
.contact-field label {
  display: block;
  font-weight: 700;
  font-size: 14px;
  color: var(--dark);
  margin-bottom: 8px;
  letter-spacing: .3px;
}
.contact-field input,
.contact-field textarea {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid #e8e4e0;
  border-radius: 12px;
  font-size: 15px;
  font-family: inherit;
  color: var(--dark);
  background: #faf9f8;
  transition: border-color .25s, box-shadow .25s;
  box-sizing: border-box;
}
.contact-field input:focus,
.contact-field textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(122,158,126,.15);
  background: #fff;
}
.contact-field textarea {
  resize: vertical;
  min-height: 120px;
}
.contact-submit-btn {
  display: block;
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, var(--coral), var(--plum));
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  letter-spacing: .5px;
  transition: transform .2s, box-shadow .2s;
}
.contact-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(90,128,96,.3);
}
.contact-success {
  text-align: center;
  padding: 40px;
  background: var(--white);
  border-radius: 20px;
  box-shadow: 0 4px 24px rgba(59,51,50,.08);
}
.contact-success p {
  font-size: 18px;
  font-weight: 600;
  color: var(--dark);
  margin-top: 12px;
}

/* ── COMPARISON WIZARD ─────────────────────────────── */
.wiz-progress { max-width: 420px; margin: 0 auto 36px; }
.wiz-progress-track { height: 6px; background: #e8e2da; border-radius: 3px; overflow: hidden; }
.wiz-progress-fill { height: 100%; background: linear-gradient(90deg, var(--coral), var(--plum)); border-radius: 3px; transition: width .4s ease; }
.wiz-progress-steps { display: flex; justify-content: space-between; margin-top: 8px; }
.wiz-step-dot {
  width: 28px; height: 28px; border-radius: 50%;
  background: #e8e2da; color: var(--mid);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 800; transition: all .3s;
}
.wiz-step-dot.active { background: var(--coral); color: #fff; }
.wiz-step-dot.done { background: var(--plum); color: #fff; }
.wiz-card {
  background: var(--white); border-radius: 24px;
  padding: 36px; box-shadow: 0 4px 24px rgba(59,51,50,.08);
  border: 1px solid rgba(59,51,50,.06);
  margin-bottom: 20px; animation: wizSlideIn .35s ease;
}
.wiz-hidden { display: none !important; }
@keyframes wizSlideIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
.wiz-card-num {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--coral); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 800; margin-bottom: 12px;
}
.wiz-card-title { font-size: 22px; font-weight: 800; color: var(--dark); margin-bottom: 6px; }
.wiz-card-hint { font-size: 14px; color: var(--mid); margin-bottom: 20px; }
.wiz-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }
.wiz-opt {
  display: flex; flex-direction: column; align-items: center;
  padding: 20px 16px; border: 2px solid #e8e2da; border-radius: 16px;
  background: #fff; cursor: pointer; transition: all .25s;
  font-family: 'DM Sans', sans-serif; text-align: center;
}
.wiz-opt:hover { border-color: var(--coral); background: #FDF6F0; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,.06); }
.wiz-opt.selected { border-color: var(--coral); background: linear-gradient(135deg, rgba(90,128,96,.08), rgba(90,128,96,.08)); box-shadow: 0 4px 16px rgba(90,128,96,.15); }
.wiz-opt-icon { font-size: 24px; margin-bottom: 8px; }
.wiz-opt-label { font-size: 14px; font-weight: 700; color: var(--dark); margin-bottom: 4px; }
.wiz-opt-desc { font-size: 12px; color: var(--mid); }

.wiz-color-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; }
.wiz-color-opt {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 14px; border: 2px solid #e8e2da; border-radius: 12px;
  background: #fff; cursor: pointer; transition: all .25s;
  font-family: 'DM Sans', sans-serif; font-size: 13px; font-weight: 600; color: var(--dark);
}
.wiz-color-opt:hover { border-color: var(--coral); background: #FDF6F0; }
.wiz-color-opt.selected { border-color: var(--coral); background: linear-gradient(135deg, rgba(90,128,96,.08), rgba(90,128,96,.08)); }
.wiz-cdot { width: 18px; height: 18px; border-radius: 50%; flex-shrink: 0; }

.wiz-filter-summary {
  display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 12px 0 20px;
}
.wiz-filter-tag {
  background: var(--light); padding: 6px 14px; border-radius: 20px;
  font-size: 12px; font-weight: 600; color: var(--dark);
}

.wiz-results-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px; margin-top: 16px;
}
.wiz-tile-card {
  background: #fff; border: 2px solid #e8e2da; border-radius: 16px;
  padding: 16px; transition: all .25s; cursor: pointer; position: relative;
}
.wiz-tile-card:hover { border-color: var(--coral); box-shadow: 0 4px 16px rgba(0,0,0,.08); transform: translateY(-2px); }
.wiz-tile-card.wiz-selected { border-color: var(--plum); background: linear-gradient(135deg, rgba(90,128,96,.04), rgba(90,128,96,.04)); }
.wiz-tile-card .wiz-tile-check {
  position: absolute; top: 10px; right: 10px; width: 24px; height: 24px;
  border-radius: 50%; border: 2px solid #ccc; background: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; color: transparent; transition: all .2s;
}
.wiz-tile-card.wiz-selected .wiz-tile-check { border-color: var(--plum); background: var(--plum); color: #fff; }
.wiz-tile-img {
  width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px;
  background: #f5f0ea; margin-bottom: 12px;
}
.wiz-tile-name { font-size: 14px; font-weight: 700; color: var(--dark); margin-bottom: 2px; }
.wiz-tile-brand { font-size: 12px; color: var(--mid); margin-bottom: 6px; }
.wiz-tile-price { font-size: 15px; font-weight: 800; color: var(--coral); }
.wiz-tile-meta { font-size: 11px; color: var(--mid); margin-top: 4px; }
.wiz-tile-badge {
  display: inline-block; background: var(--coral); color: #fff;
  font-size: 10px; font-weight: 800; padding: 3px 10px; border-radius: 10px;
  margin-top: 6px;
}

.wiz-compare-bar {
  position: sticky; bottom: 0; left: 0; right: 0; z-index: 100;
  background: var(--dark); color: #fff; padding: 14px 24px;
  border-radius: 16px 16px 0 0; margin: 20px -36px -36px;
  display: flex; align-items: center; justify-content: space-between;
  box-shadow: 0 -4px 20px rgba(0,0,0,.15);
  animation: wizSlideIn .3s ease;
}
.wiz-compare-bar-text { font-size: 14px; font-weight: 600; }
.wiz-compare-bar-btn {
  background: linear-gradient(135deg, var(--coral), var(--plum));
  color: #fff; border: none; padding: 12px 28px; border-radius: 12px;
  font-size: 14px; font-weight: 800; cursor: pointer;
  font-family: 'DM Sans', sans-serif; transition: transform .2s;
}
.wiz-compare-bar-btn:hover { transform: scale(1.05); }

.wiz-result-actions {
  display: flex; gap: 8px; margin-top: auto; padding-top: 8px;
}
.wiz-result-actions .wiz-result-btn,
.wiz-result-actions .wiz-viz-btn { flex: 1; text-align: center; }
.wiz-viz-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  background: linear-gradient(135deg, var(--teal), #3a8f7d);
  color: #fff; border: none; border-radius: 10px;
  padding: 10px 14px; font-size: 12px; font-weight: 700;
  cursor: pointer; font-family: 'DM Sans', sans-serif;
  transition: all .25s; text-decoration: none;
  box-shadow: 0 2px 8px rgba(0,128,128,.18);
}
.wiz-viz-btn:hover { transform: translateY(-2px); box-shadow: 0 4px 16px rgba(0,128,128,.28); }
.wiz-viz-btn .viz-sparkle { font-size: 14px; }
.wiz-nav-row {
  display: flex; gap: 10px; justify-content: center; margin-top: 18px; padding-top: 14px;
  border-top: 1px solid rgba(0,0,0,.06);
}
.wiz-back-btn, .wiz-cancel-btn {
  display: inline-flex; align-items: center; gap: 5px;
  background: none; border: 1px solid var(--mid); color: var(--mid);
  padding: 8px 20px; border-radius: 50px; font-size: 12px;
  font-weight: 600; cursor: pointer; font-family: 'DM Sans', sans-serif;
  transition: all .2s;
}
.wiz-back-btn:hover { border-color: var(--teal); color: var(--teal); }
.wiz-cancel-btn:hover { border-color: var(--coral); color: var(--coral); }
.wiz-restart-btn {
  background: none; border: 1px solid var(--mid); color: var(--mid);
  padding: 10px 24px; border-radius: 50px; font-size: 13px;
  font-weight: 600; cursor: pointer; font-family: 'DM Sans', sans-serif;
  transition: all .2s;
}
.wiz-restart-btn:hover { border-color: var(--coral); color: var(--coral); }

/* Compare overlay modal */
.compare-overlay {
  display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,.5); z-index: 10000; align-items: center; justify-content: center;
  padding: 20px;
}
.compare-overlay.open { display: flex; }
.compare-modal {
  background: #fff; border-radius: 24px; padding: 32px;
  max-width: 900px; width: 100%; max-height: 85vh; overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0,0,0,.2);
}
.compare-modal-close {
  float: right; background: var(--light); border: none;
  width: 36px; height: 36px; border-radius: 50%;
  font-size: 20px; cursor: pointer; display: flex;
  align-items: center; justify-content: center;
  color: var(--mid); transition: all .2s;
}
.compare-modal-close:hover { background: var(--coral); color: #fff; }

@media (max-width: 768px) {
  .wiz-card { padding: 24px 16px; }
  .wiz-options { grid-template-columns: 1fr; }
  .wiz-color-grid { grid-template-columns: repeat(3, 1fr); }
  .wiz-results-grid { grid-template-columns: 1fr 1fr; }
  .wiz-compare-bar { margin: 20px -16px -24px; padding: 12px 16px; border-radius: 12px 12px 0 0; }
  .compare-modal { padding: 20px; }
}
@media (max-width: 480px) {
  .wiz-results-grid { grid-template-columns: 1fr; }
  .wiz-color-grid { grid-template-columns: repeat(2, 1fr); }
}


/* ── COMPARISON SELECTOR ─────────────────────────────── */
.compare-selector-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 8px;
}
.compare-selector-card {
  background: var(--light);
  border: 2px dashed #ccc;
  border-radius: 16px;
  padding: 16px;
  position: relative;
  transition: all .3s;
  min-height: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.compare-selector-card.has-selection {
  border-style: solid;
  border-color: var(--coral);
  background: #fff;
  box-shadow: 0 4px 16px rgba(0,0,0,.08);
}
.compare-selector-num {
  width: 28px; height: 28px;
  background: var(--dark); color: var(--white);
  border-radius: 50%; display: flex;
  align-items: center; justify-content: center;
  font-size: 13px; font-weight: 800;
}
.compare-search-wrap {
  width: 100%;
  position: relative;
}
.compare-search-input {
  width: 100%; padding: 10px 14px;
  border: 1px solid #ddd; border-radius: 10px;
  font-size: 13px; font-family: 'DM Sans', sans-serif;
  background: #fff; outline: none;
  transition: border-color .2s;
  box-sizing: border-box;
}
.compare-search-input:focus { border-color: var(--coral); }
.compare-dropdown {
  display: none;
  position: absolute; top: 100%; left: 0; right: 0;
  background: #fff; border: 1px solid #ddd;
  border-radius: 12px; box-shadow: 0 8px 24px rgba(0,0,0,.12);
  max-height: 260px; overflow-y: auto; z-index: 50;
  margin-top: 4px;
}
.compare-dropdown.open { display: block; }
.compare-dd-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; cursor: pointer;
  transition: background .15s; font-size: 13px;
  border-bottom: 1px solid #f5f5f5;
}
.compare-dd-item:last-child { border-bottom: none; }
.compare-dd-item:hover { background: #F7F0E8; }
.compare-dd-item img {
  width: 40px; height: 40px;
  border-radius: 8px; object-fit: cover;
  flex-shrink: 0;
}
.compare-dd-info { flex: 1; }
.compare-dd-info strong { display: block; font-size: 13px; line-height: 1.3; }
.compare-dd-info span { font-size: 11px; color: var(--mid); }
.compare-dd-badge {
  background: var(--coral); color: #fff;
  font-size: 9px; font-weight: 800;
  padding: 2px 8px; border-radius: 10px;
  white-space: nowrap;
}
.compare-dd-empty {
  padding: 20px; text-align: center;
  color: var(--mid); font-size: 13px;
}
.compare-clear-slot {
  position: absolute; top: 8px; right: 10px;
  background: var(--light); border: none;
  width: 24px; height: 24px; border-radius: 50%;
  font-size: 16px; cursor: pointer;
  display: flex; align-items: center;
  justify-content: center; color: var(--mid);
  transition: all .2s;
}
.compare-clear-slot:hover { background: var(--coral); color: #fff; }
.compare-selected-preview {
  display: flex; align-items: center; gap: 10px;
  width: 100%;
}
.compare-selected-preview img {
  width: 48px; height: 48px;
  border-radius: 10px; object-fit: cover;
}
.compare-selected-preview div { flex: 1; }
.compare-selected-preview strong {
  display: block; font-size: 13px; line-height: 1.3;
}
.compare-selected-preview span {
  font-size: 11px; color: var(--mid);
}
.compare-result-table thead th {
  vertical-align: bottom; padding: 16px 12px;
}
.compare-result-table thead th:first-child {
  background: var(--dark); text-align: left;
}
@media (max-width: 900px) {
  .compare-selector-row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 500px) {
  .compare-selector-row { grid-template-columns: 1fr; }
  .compare-result-table { font-size: 12px; }
  .compare-result-table thead th { padding: 10px 6px; }
  .compare-result-table td { padding: 10px 6px; }
}

/* ── COMPARISON TABLE ──────────────────────────────── */
.compare-bg { background: var(--white); }
.compare-table {
  width: 100%; border-collapse: separate;
  border-spacing: 0; border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
  background: var(--white);
}
.compare-table thead th {
  background: var(--dark);
  color: var(--white);
  padding: 18px 20px;
  font-size: 14px; font-weight: 700;
  text-align: left;
}
.compare-table thead th:first-child { border-radius: 16px 0 0 0; }
.compare-table thead th:last-child { border-radius: 0 16px 0 0; }
.compare-table td {
  padding: 16px 20px;
  border-bottom: 1px solid #eee;
  font-size: 14px;
}
.compare-table tr:last-child td { border-bottom: none; }
.compare-table tr:hover td { background: #F7F0E8; }
.check { color: var(--teal); font-weight: 900; }
.cross { color: #ccc; }
.compare-table .best-pick { background: #F7F0E8; }
.best-tag {
  display: inline-block;
  background: var(--coral); color: var(--white);
  font-size: 11px; font-weight: 800;
  padding: 3px 10px; border-radius: 12px;
  margin-left: 8px; vertical-align: middle;
}

/* ── REVIEWS ───────────────────────────────────────── */
.review-card {
  background: var(--white);
  border-radius: 18px;
  padding: 36px;
  box-shadow: var(--card-shadow);
  margin-bottom: 32px;
  display: flex; gap: 36px;
  align-items: flex-start;
}
.review-img {
  min-width: 200px; height: 200px;
  background: var(--light);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 32px;
}
.review-content { flex: 1; }
.review-content h3 { font-size: 24px; margin-bottom: 4px; }
.review-meta { font-size: 14px; color: var(--mid); margin-bottom: 14px; }
.review-content p { font-size: 15px; color: var(--mid); margin-bottom: 16px; line-height: 1.7; }
.pros-cons { display: flex; gap: 32px; margin-bottom: 18px; flex-wrap: wrap; }
.pros, .cons { flex: 1; min-width: 200px; }
.pros h4 { color: var(--teal); font-family: 'DM Sans', sans-serif; font-size: 14px; font-weight: 800; margin-bottom: 6px; }
.cons h4 { color: var(--coral); font-family: 'DM Sans', sans-serif; font-size: 14px; font-weight: 800; margin-bottom: 6px; }
.pros li, .cons li { font-size: 14px; color: var(--mid); margin-bottom: 4px; margin-left: 18px; }

/* ── EMAIL SIGNUP ──────────────────────────────────── */
.signup {
  background: linear-gradient(135deg, #7A9E7E 0%, #5C7A5F 100%);
  color: var(--white);
  padding: 80px 0;
  text-align: center;
}
.signup h2 { font-size: 40px; margin-bottom: 14px; }
.signup p { font-size: 18px; opacity: .9; max-width: 540px; margin: 0 auto 36px; }
.signup-form {
  display: flex; justify-content: center; gap: 12px;
  max-width: 520px; margin: 0 auto; flex-wrap: wrap;
}
.signup-form input {
  flex: 1; min-width: 240px;
  padding: 16px 24px;
  border: none; border-radius: 50px;
  font-size: 16px; font-family: 'DM Sans', sans-serif;
  outline: none;
}
.signup-form button {
  background: var(--gold); color: var(--dark);
  padding: 16px 36px; border-radius: 50px;
  font-weight: 800; font-size: 16px;
  border: none; cursor: pointer;
  transition: transform .2s;
}
.signup-form button:hover { transform: translateY(-2px); }
.signup-note { font-size: 13px; opacity: .7; margin-top: 14px; }

/* ── COMMUNITY ─────────────────────────────────────── */
.community-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.community-card {
  background: var(--white);
  border-radius: 16px;
  padding: 28px;
  text-align: center;
  box-shadow: var(--card-shadow);
}
.community-card .icon { font-size: 42px; margin-bottom: 12px; }
.community-card h3 { font-size: 18px; margin-bottom: 6px; }
.community-card p { font-size: 13px; color: var(--mid); }

/* ── FOOTER ────────────────────────────────────────── */
footer {
  background: var(--dark);
  color: #aaa;
  padding: 48px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand .logo { font-size: 28px; margin-bottom: 12px; }
.footer-brand p { font-size: 14px; line-height: 1.7; }
footer h4 {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px; font-weight: 800;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}
footer ul { list-style: none; }
footer li { margin-bottom: 10px; }
footer li a { font-size: 14px; color: #aaa; transition: color .2s; }
footer li a:hover { color: var(--coral); }
.footer-bottom {
  border-top: 1px solid #5A4E48;
  padding-top: 24px;
  display: flex; justify-content: space-between;
  font-size: 13px; flex-wrap: wrap; gap: 12px;
}
.affiliate-disclaimer {
  background: #4A3F3A;
  padding: 16px 20px;
  border-radius: 10px;
  font-size: 12px;
  line-height: 1.6;
  color: #999;
  margin-bottom: 32px;
}

/* ── COMPARE FEATURE ──────────────────────────────── */
.compare-check {
  position: absolute; top: 16px; right: 16px; z-index: 4;
  display: flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,.92); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  padding: 5px 12px; border-radius: 20px;
  font-size: 12px; font-weight: 700; color: var(--dark);
  cursor: pointer; border: 2px solid transparent;
  transition: all .2s; user-select: none;
  box-shadow: 0 2px 8px rgba(0,0,0,.15);
}
.compare-check:hover { border-color: var(--coral); }
.compare-check.active {
  background: var(--coral); color: var(--white);
  border-color: var(--coral);
}
.compare-check input { display: none; }
.compare-check .check-icon { font-size: 14px; }
.compare-check .check-icon::before { content: '○'; }
.compare-check.active .check-icon::before { content: '✓'; }

/* ── FLOATING COMPARE BAR ──────────────────────────── */
.compare-bar {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: var(--dark); color: var(--white);
  padding: 14px 24px;
  display: none; align-items: center; justify-content: center; gap: 16px;
  z-index: 200; box-shadow: 0 -4px 24px rgba(0,0,0,.2);
  animation: slideUp .3s ease;
}
.compare-bar.show { display: flex; }
@keyframes slideUp { from { transform: translateY(100%); } to { transform: translateY(0); } }
.compare-bar-slots {
  display: flex; gap: 10px; align-items: center;
}
.compare-bar-slot {
  background: rgba(255,255,255,.12);
  border: 2px dashed rgba(255,255,255,.25);
  border-radius: 10px;
  width: 140px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 600; color: rgba(255,255,255,.5);
  position: relative; overflow: hidden;
}
.compare-bar-slot.filled {
  border-style: solid; border-color: var(--coral);
  background: rgba(255,255,255,.08);
  color: var(--white); font-size: 11px; font-weight: 700;
  padding: 4px 8px; text-align: center; line-height: 1.2;
}
.compare-bar-slot .remove-slot {
  position: absolute; top: 2px; right: 6px;
  background: none; border: none; color: rgba(255,255,255,.5);
  font-size: 16px; cursor: pointer; padding: 0; line-height: 1;
}
.compare-bar-slot .remove-slot:hover { color: var(--white); }
.compare-bar-count {
  font-size: 14px; font-weight: 700; white-space: nowrap;
}
.compare-bar-btn {
  background: var(--coral); color: var(--white);
  border: none; padding: 12px 28px; border-radius: 50px;
  font-weight: 800; font-size: 14px; cursor: pointer;
  transition: transform .2s, background .2s; white-space: nowrap;
  font-family: 'DM Sans', sans-serif;
}
.compare-bar-btn:hover { transform: translateY(-2px); background: var(--rust); }
.compare-bar-btn:disabled {
  opacity: .4; cursor: not-allowed; transform: none;
}
.compare-bar-clear {
  background: none; border: 1px solid rgba(255,255,255,.3);
  color: rgba(255,255,255,.7); padding: 10px 18px; border-radius: 50px;
  font-size: 13px; font-weight: 600; cursor: pointer;
  transition: all .2s; font-family: 'DM Sans', sans-serif;
}
.compare-bar-clear:hover { border-color: var(--white); color: var(--white); }

/* ── COMPARE MODAL ────────────────────────────────── */
.compare-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.55);
  z-index: 300; display: none; align-items: flex-start;
  justify-content: center; padding: 40px 20px;
  overflow-y: auto; -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
}
.compare-overlay.show { display: flex; }
.compare-modal {
  background: var(--white); border-radius: 20px;
  max-width: 1100px; width: 100%;
  box-shadow: 0 20px 60px rgba(0,0,0,.2);
  animation: modalIn .3s ease;
  overflow: hidden;
}
@keyframes modalIn { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
.compare-modal-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 24px 32px;
  border-bottom: 1px solid var(--light);
}
.compare-modal-header h2 {
  font-size: 24px; margin: 0;
}
.compare-modal-close {
  background: none; border: none; font-size: 28px;
  cursor: pointer; color: var(--mid); padding: 4px 8px;
  border-radius: 8px; transition: background .2s;
}
.compare-modal-close:hover { background: var(--light); }
.compare-grid {
  display: grid; gap: 0;
  padding: 0;
}
.compare-col {
  border-right: 1px solid var(--light);
  text-align: center;
}
.compare-col:last-child { border-right: none; }
.compare-col-img {
  height: 180px; overflow: hidden;
  background: var(--light);
  display: flex; align-items: center; justify-content: center;
}
.compare-col-img img {
  width: 100%; height: 100%; object-fit: cover;
}
.compare-col-body { padding: 20px 16px; }
.compare-col-brand {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1px; color: var(--teal); margin-bottom: 4px;
}
.compare-col-title {
  font-size: 16px; font-weight: 700; margin-bottom: 8px;
  font-family: 'DM Sans', sans-serif; line-height: 1.3;
}
.compare-col-price {
  font-size: 22px; font-weight: 900; color: var(--coral);
  margin-bottom: 6px;
}
.compare-col-rating { margin-bottom: 8px; font-size: 15px; }
.compare-col-desc {
  font-size: 13px; color: var(--mid); line-height: 1.5;
  margin-bottom: 16px;
}
.compare-col-btn {
  display: inline-block;
  background: var(--coral); color: var(--white);
  padding: 10px 20px; border-radius: 10px;
  font-weight: 700; font-size: 13px;
  transition: background .2s; text-decoration: none;
}
.compare-col-btn:hover { background: var(--rust); }

/* Compare rows layout */
.compare-rows { padding: 0 32px 24px; }
.compare-row {
  display: grid; gap: 0;
  border-bottom: 1px solid var(--light);
  padding: 12px 0;
}
.compare-row:last-child { border-bottom: none; }
.compare-row-label {
  font-size: 12px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .8px; color: var(--mid); padding: 8px 12px;
  background: var(--light); grid-column: 1 / -1;
  border-radius: 6px; margin-bottom: 8px;
}
.compare-row-val {
  text-align: center; padding: 6px 12px;
  font-size: 14px; font-weight: 600; color: var(--dark);
}
.compare-row-val.highlight {
  color: var(--coral); font-weight: 800;
}

/* Responsive compare */
@media (max-width: 768px) {
  .compare-bar-slots { display: none; }
  .compare-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .compare-col-img { height: 120px; }
  .compare-modal-header h2 { font-size: 18px; }
  .compare-overlay { padding: 20px 10px; }
  .compare-row { grid-template-columns: repeat(2, 1fr) !important; }
}

/* ── RESPONSIVE ────────────────────────────────────── */
@media (max-width: 900px) {
  .hero h1 { font-size: 28px; white-space: normal; }
  .section-title { font-size: 26px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .community-grid { grid-template-columns: 1fr; }
  .review-card { flex-direction: column; }
  .review-img { min-width: 100%; height: 180px; }
  .partners-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .mobile-toggle { display: block; }
  .hero { padding: 40px 0 24px; }
  .hero h1 { font-size: 24px; white-space: normal; }
  .hero p { font-size: 15px; }
  .btn-primary { padding: 12px 28px; font-size: 14px; }
  .btn-secondary { display: block; margin: 12px auto 0; padding: 12px 28px; font-size: 14px; }
  .trust-row { gap: 24px; }
  .picks-grid { grid-template-columns: 1fr; }
  .compare-table { font-size: 13px; }
  .partners-grid { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); }
  .tabs-scroll { gap: 6px; }
  .tab-btn { padding: 8px 12px; font-size: 12px; }
  .tab-btn .tab-count { padding: 1px 6px; font-size: 10px; margin-left: 4px; }
}

/* ── CATEGORY TABS ────────────────────────────────── */
.tabs-wrap { margin-bottom: 32px; }
.tabs-scroll {
  display: flex; flex-wrap: wrap; gap: 10px;
  justify-content: center;
  padding-bottom: 4px;
}
.tab-btn {
  padding: 10px 18px; border-radius: 50px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 700; font-size: 13px;
  border: 2px solid #DDD5CC; background: var(--white);
  color: var(--mid); cursor: pointer;
  transition: all .25s; white-space: nowrap;
  letter-spacing: .3px;
}
.tab-btn:hover { border-color: var(--coral); color: var(--coral); }
.tab-btn.active {
  background: var(--coral); color: var(--white);
  border-color: var(--coral);
  box-shadow: 0 4px 16px rgba(90,128,96,.25);
}
/* Accessories Dropdown */
.accessories-dropdown {
  display: none;
  margin-top: 12px;
}
.accessories-dropdown.open {
  display: block;
}
.accessories-dropdown-inner {
  max-width: 420px;
  margin: 0 auto;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 20px rgba(0,0,0,.1);
  overflow: hidden;
}
/* Accessory subcategories */
.acc-category {
  border-bottom: 1px solid #f0ede8;
}
.acc-category:last-child { border-bottom: none; }
.acc-category-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  cursor: pointer;
  transition: background .15s;
}
.acc-category-header:hover { background: #faf9f8; }
.acc-cat-icon { font-size: 18px; flex-shrink: 0; }
.acc-cat-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--dark);
  flex: 1;
}
.acc-cat-arrow {
  font-size: 12px;
  color: var(--mid);
  transition: transform .2s;
}
.acc-category.open .acc-cat-arrow { transform: rotate(180deg); }
.acc-category-brands {
  display: none;
  padding: 0 20px 14px 48px;
}
.acc-category.open .acc-category-brands {
  display: block;
}
.acc-category-brands a {
  display: block;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 500;
  color: var(--coral);
  text-decoration: none;
  border-radius: 6px;
  transition: all .15s;
  margin: 1px 0;
}
.acc-category-brands a:hover {
  background: #fef5f1;
  padding-left: 18px;
  font-weight: 600;
}
.acc-category-brands a::after {
  content: ' ↗';
  font-size: 11px;
  opacity: 0;
  transition: opacity .15s;
}
.acc-category-brands a:hover::after { opacity: 1; }
.acc-brand-group {
  margin-bottom: 10px;
}
.acc-brand-name {
  font-size: 12px;
  font-weight: 700;
  color: var(--dark);
  text-transform: uppercase;
  letter-spacing: .5px;
  padding: 4px 0 2px;
  border-bottom: 1px solid #f0ede8;
  margin-bottom: 2px;
}
.acc-brand-group a {
  display: block;
  padding: 5px 12px;
  font-size: 13px;
  font-weight: 500;
  color: var(--coral);
  text-decoration: none;
  border-radius: 6px;
  transition: all .15s;
}
.acc-brand-group a:hover {
  background: #fef5f1;
  padding-left: 18px;
}
.acc-brand-group a::after {
  content: ' ↗';
  font-size: 11px;
  opacity: 0;
  transition: opacity .15s;
}
.acc-brand-group a:hover::after { opacity: 1; }
.tab-btn .tab-count {
  display: inline-block; background: rgba(255,255,255,.25);
  padding: 2px 8px; border-radius: 12px;
  font-size: 11px; margin-left: 6px;
}
.tab-btn.active .tab-count { background: rgba(255,255,255,.3); }
.tab-panel { display: none; animation: fadeTab .35s ease; }
.tab-panel.active { display: block; }
@keyframes fadeTab { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.tab-intro { font-size: 15px; color: var(--mid); margin-bottom: 28px; max-width: 700px; }

/* ── COLLAGE GRID ──────────────────────────────────── */
.collage-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 2px;
  width: 100%;
  height: 100%;
  background: #EDE7DF;
}
.collage-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ── COLOR FILTERS ─────────────────────────────────── */
.color-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}
.color-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: 50px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 13px;
  border: 2px solid #DDD5CC;
  background: var(--white);
  color: var(--mid);
  cursor: pointer;
  transition: all .25s;
}
.color-pill:hover {
  border-color: var(--coral);
}
.color-pill.active {
  background: var(--dark);
  color: var(--white);
  border-color: var(--dark);
}
.color-pill .swatch {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, .15);
  flex-shrink: 0;
}
.card.color-hidden {
  display: none;
}

/* ── MOBILE HAMBURGER MENU (R19) ────────────────────── */
.nav-links.menu-open {
  display: flex !important;
  flex-direction: column !important;
  position: absolute !important;
  top: 72px !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  background: #fff !important;
  padding: 20px 24px !important;
  box-shadow: 0 8px 24px rgba(0,0,0,.1) !important;
  z-index: 999 !important;
  opacity: 1 !important;
  transform: none !important;
  visibility: visible !important;
  pointer-events: auto !important;
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
  transition: none !important;
}

/* ── BACK TO TOP BUTTON (R24) ──────────────────────── */
#backToTop {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--coral);
  color: var(--white);
  border: none;
  font-size: 24px;
  cursor: pointer;
  display: none;
  z-index: 98;
  box-shadow: 0 4px 12px rgba(90,128,96,.3);
  transition: opacity .3s, transform .2s;
  align-items: center;
  justify-content: center;
}

#backToTop.show {
  display: flex;
  opacity: 1;
  animation: fadeInUp .3s ease;
}

#backToTop:hover {
  transform: translateX(-50%) translateY(-3px);
  box-shadow: 0 6px 20px rgba(90,128,96,.4);
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateX(-50%) translateY(20px); }
  to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* ── AFFILIATE NOTICE (R7) ──────────────────────────── */
.affiliate-notice {
  background: linear-gradient(135deg, #F7F0E8, #FAF6F1);
  border: 1px solid #E0D5C7;
  color: var(--dark);
  padding: 16px 24px;
  border-radius: 12px;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* ── FOUNDER STORY SECTION (R6) ────────────────────── */
.founder-story {
  background: var(--cream);
  padding: 40px 0 36px;
}
.founder-story .section-title {
  font-size: 1.6rem;
  margin-bottom: 16px !important;
}
.founder-story .founder-text p {
  font-size: 0.92rem;
  line-height: 1.65;
  margin-bottom: 10px;
}
.founder-story .founder-content {
  gap: 24px;
}
.founder-story .founder-img {
  max-width: 200px;
  padding: 24px 18px !important;
}

/* ── OVERLAY (used by Tablescapes & Build Your Set) ── */
.story-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 9999;
  background: var(--white);
  overflow-y: auto;
  padding-top: 80px;
  animation: storyFadeIn .3s ease;
}
.story-overlay.open {
  display: block;
}
@keyframes storyFadeIn {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}
.story-close-btn {
  position: fixed;
  top: 24px; right: 32px;
  z-index: 10000;
  background: var(--dark);
  color: #fff;
  border: none;
  width: 48px; height: 48px;
  border-radius: 50%;
  font-size: 28px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,.2);
  transition: transform .2s, background .2s;
}
.story-close-btn:hover {
  background: var(--coral);
  transform: scale(1.1);
}

/* ── OVERLAY NAV BAR ──────────────────────────────────── */
.overlay-nav {
  position: sticky;
  top: 0;
  z-index: 10001;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 16px rgba(0,0,0,.1);
  padding: 0 24px;
  display: flex;
  align-items: center;
  height: 54px;
  gap: 12px;
  border-bottom: 1px solid rgba(0,0,0,.06);
  margin: -80px 0 26px 0;
}
.overlay-nav-home {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
  color: var(--dark);
  cursor: pointer;
  background: none;
  border: none;
  padding: 7px 16px;
  border-radius: 10px;
  transition: background .2s, color .2s;
  white-space: nowrap;
  font-family: 'Playfair Display', serif;
  letter-spacing: -.3px;
}
.overlay-nav-home:hover {
  background: linear-gradient(135deg,#f3efe9,#ece4d9);
  color: var(--coral);
}
.overlay-nav-divider {
  width: 1px;
  height: 28px;
  background: rgba(0,0,0,.1);
  flex-shrink: 0;
}
.overlay-nav-links {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  flex: 1;
  -ms-overflow-style: none;
  scrollbar-width: none;
  padding: 2px 0;
}
.overlay-nav-links::-webkit-scrollbar { display: none; }
.overlay-nav-links a {
  font-size: 13px;
  font-weight: 500;
  color: var(--mid);
  text-decoration: none;
  padding: 6px 14px;
  border-radius: 20px;
  background: transparent;
  white-space: nowrap;
  transition: background .2s, color .2s, transform .15s;
}
.overlay-nav-links a:hover {
  background: #f3efe9;
  color: var(--dark);
  transform: translateY(-1px);
}
.overlay-nav-links a.active {
  background: var(--coral);
  color: #fff;
  font-weight: 600;
  pointer-events: none;
}
@media(max-width:600px) {
  .overlay-nav { padding: 0 10px; gap: 6px; height: 48px; }
  .overlay-nav-home .nav-home-text { display: none; }
  .overlay-nav-home { padding: 6px 10px; font-size: 16px; }
  .overlay-nav-links a { font-size: 11px; padding: 5px 10px; }
  .overlay-nav-divider { height: 22px; }
}

/* ── TABLESCAPE IDEAS OVERLAY ─────────────────────────── */
.tablescape-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 9999;
  background: linear-gradient(180deg, #faf9f8 0%, #f3efe9 100%);
  overflow-y: auto;
  padding: 80px 0 60px;
  animation: storyFadeIn .3s ease;
}
.tablescape-overlay.open {
  display: block;
}

/* ── VISUALIZER OVERLAY ───────────────────────────────── */
.visualizer-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 9999;
  background: linear-gradient(180deg, #faf9f8 0%, #f3efe9 100%);
  overflow-y: auto;
  padding: 80px 0 60px;
  animation: storyFadeIn .3s ease;
}
.visualizer-overlay.open { display: block; }

/* ── VISUALIZE YOUR TABLESCAPE – STEP-BY-STEP FLOW ─────────────── */
.viz-header {
  text-align: center;
  margin-bottom: 36px;
}
.viz-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: 38px;
  font-weight: 900;
  color: var(--dark);
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}
.viz-header p {
  font-size: 16px;
  color: var(--mid);
  max-width: 520px;
  margin: 0 auto;
}
.viz-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
}
/* Left: Preview Column */
.viz-preview-col {
  position: sticky;
  top: 100px;
}
.viz-preview-area {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 16px;
  overflow: visible;
  background: #f0ede8;
  box-shadow: 0 2px 12px rgba(0,0,0,.10);
  border: 1px solid #e0dbd5;
  margin-bottom: 16px;
}
.viz-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: #b8b0a6;
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  padding: 30px;
  gap: 10px;
}
.viz-placeholder-icon {
  width: 56px; height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  opacity: .4;
}
.viz-mat-img, .viz-tile-img, .viz-rack-img {
  display: none;
}
.viz-mat-img {
  width: 100%; height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0; left: 0;
  z-index: 0;
}
.viz-tile-img {
  position: absolute;
  top: 8%; left: -18%;
  width: 40%; max-height: 38%;
  object-fit: cover;
  z-index: 2;
  transition: all .4s cubic-bezier(.25,.46,.45,.94);
  border-radius: 6px;
  border: 3px solid rgba(255,255,255,.85);
  box-shadow: 4px 8px 20px rgba(0,0,0,.35), 2px 4px 8px rgba(0,0,0,.2);
  transform: perspective(600px) rotateY(8deg) rotateX(-3deg);
}
.viz-rack-img {
  position: absolute;
  bottom: 8%; left: -14%;
  width: 42%; max-height: 25%;
  object-fit: cover;
  z-index: 3;
  transition: all .4s cubic-bezier(.25,.46,.45,.94);
  border-radius: 6px;
  border: 3px solid rgba(255,255,255,.85);
  box-shadow: 4px 8px 20px rgba(0,0,0,.35), 2px 4px 8px rgba(0,0,0,.2);
  transform: perspective(600px) rotateY(6deg) rotateX(-2deg);
}
/* ── YOUR BUILD PANEL ── */
.viz-build-panel {
  background: #fff;
  border: 1px solid #e0dbd5;
  border-radius: 14px;
  margin-top: 14px;
  overflow: visible;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
}
.viz-build-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  background: var(--dark);
  color: #fff;
  gap: 8px;
}
.viz-build-title {
  font-family: 'Playfair Display', serif;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -.3px;
}
.viz-build-discount {
  font-size: 11px;
  font-weight: 600;
  color: #fff;
  background: #729876;
  padding: 4px 12px;
  border-radius: 6px;
  cursor: pointer;
  transition: background .2s;
  white-space: nowrap;
}
.viz-build-discount em { font-style: normal; opacity: .7; font-size: 10px; }
.viz-build-discount:hover { background: #5f7f66; }
.viz-build-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 10px;
  padding: 10px 16px;
  border-bottom: 1px solid #f0ede8;
  min-height: 44px;
}
.viz-build-step-label {
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  padding: 6px 12px;
  border-radius: 5px;
  text-transform: uppercase;
  letter-spacing: .5px;
  white-space: nowrap;
  flex-shrink: 0;
}
.viz-build-empty {
  flex: 1;
  font-size: 12px;
  color: #bbb;
  font-style: italic;
}
.viz-build-item {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 8px;
  flex: 1;
  min-width: 0;
}
.viz-build-name {
  width: 100%;
  font-size: 12px;
  font-weight: 600;
  color: var(--dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}
.viz-build-prices {
  font-size: 12px;
  white-space: nowrap;
  flex-shrink: 0;
}
.viz-build-go {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  background: var(--plum);
  padding: 6px 14px;
  border-radius: 6px;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  cursor: pointer;
  transition: all .2s;
}
.viz-build-go:hover { background: var(--rust); }
.viz-build-change {
  font-size: 10px;
  font-weight: 600;
  color: var(--mid);
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: color .2s;
}
.viz-build-change:hover { color: var(--coral); }
.viz-build-remove {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  background: #c44;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  line-height: 22px;
  text-align: center;
  border-radius: 50%;
  transition: background .2s, transform .2s;
}
.viz-build-remove:hover { background: #a33; transform: scale(1.1); }
.viz-build-totals {
  padding: 10px 16px;
  background: #faf9f8;
  border-top: 2px solid #f0ede8;
}
.viz-build-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: #999;
  font-weight: 600;
}
.viz-build-total-row.viz-build-your-price {
  font-size: 16px;
  color: var(--dark);
  font-weight: 800;
  margin-top: 4px;
}
.viz-build-original { text-decoration: line-through; }
.viz-build-discounted { color: #16a34a; font-size: 18px; font-weight: 900; }
.viz-build-savings {
  margin-top: 6px;
  padding: 6px 12px;
  background: #f0fdf4;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  color: #16a34a;
  text-align: center;
}
@media(max-width:600px) {
  .viz-build-row { padding: 8px 12px; gap: 6px; }
  .viz-build-name { font-size: 11px; }
  .viz-build-header { padding: 8px 12px; }
}
/* OLD OVERLAY CSS - DEPRECATED (kept to avoid errors) */
.viz-price-overlay { display:none!important; }
.DEPRECATED_viz-price-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  z-index: 10;
  background: linear-gradient(0deg, rgba(0,0,0,.88) 0%, rgba(0,0,0,.65) 75%, transparent 100%);
  padding: 32px 14px 12px;
  border-radius: 0 0 16px 16px;
}
.viz-price-items {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 8px;
}
.viz-price-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: rgba(255,255,255,.9);
  font-weight: 500;
  text-decoration: none;
  padding: 5px 8px;
  border-radius: 8px;
  transition: background .2s;
  cursor: pointer;
}
.viz-price-row:hover {
  background: rgba(255,255,255,.15);
}
.viz-price-row .viz-pr-label { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.viz-price-row .viz-pr-amt { font-weight: 700; color: #fff; white-space: nowrap; }
.viz-price-row .viz-pr-shop {
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  background: var(--coral);
  padding: 3px 10px;
  border-radius: 5px;
  white-space: nowrap;
  letter-spacing: .3px;
  transition: background .2s;
}
.viz-price-row:hover .viz-pr-shop {
  background: #e08a60;
}
.viz-price-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255,255,255,.3);
  padding-top: 8px;
  margin-top: 2px;
  font-size: 15px;
  font-weight: 900;
  color: #fff;
}
/* Discount bar */
.viz-discount-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg,#f0f7f1,#ddeede);
  color: #729876;
  font-size: 12px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 10px;
  margin-top: 10px;
}
.viz-discount-bar strong {
  background: #729876;
  color: #fff;
  padding: 2px 8px;
  border-radius: 4px;
  letter-spacing: .5px;
}
.viz-discount-bar strong:hover {
  background: #5f7f66;
}
.viz-discount-icon { font-size: 16px; }
/* Preview summary below */
.viz-summary-area {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 10px;
}
.viz-summary-chip {
  display: none;
  align-items: center;
  gap: 10px;
  background: #fff;
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--dark);
  box-shadow: 0 2px 10px rgba(59,51,50,.06);
  border: 1px solid rgba(59,51,50,.06);
  cursor: pointer;
  transition: all .2s;
  animation: vizChipIn .3s ease;
}
.viz-summary-chip.visible {
  display: flex;
}
.viz-chip-shop {
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  background: var(--coral);
  padding: 4px 10px;
  border-radius: 6px;
  text-decoration: none;
  white-space: nowrap;
  transition: all .2s;
  flex-shrink: 0;
}
.viz-chip-shop:hover {
  background: #a85d42;
  transform: translateY(-1px);
}
.viz-chip-change {
  font-size: 11px;
  font-weight: 600;
  color: var(--mid);
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  white-space: nowrap;
  transition: all .2s;
  flex-shrink: 0;
}
.viz-chip-change:hover {
  background: #f3efe9;
  color: var(--coral);
}
@keyframes vizChipIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.viz-summary-chip:hover {
  background: #f9f8f7;
  border-color: var(--coral);
}
.viz-summary-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.viz-total-price {
  font-size: 18px;
  font-weight: 900;
  color: var(--dark);
  text-align: center;
  padding-top: 12px;
  border-top: 1px solid #e8e4df;
}

/* Right: Gallery Column */
.viz-gallery-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
  overflow: hidden;
}
/* Universal Search Bar */
.viz-search-bar {
  margin-bottom: 12px;
}
.viz-search-wrap {
  display: flex;
  align-items: center;
  background: #fff;
  border: 2px solid #d4cfc8;
  border-radius: 12px;
  padding: 0 14px;
  transition: border-color .2s, box-shadow .2s;
}
.viz-search-wrap:focus-within {
  border-color: var(--coral);
  box-shadow: 0 0 0 3px rgba(90,128,96,.12);
}
.viz-search-icon {
  font-size: 16px;
  margin-right: 8px;
  opacity: .5;
}
.viz-search-wrap input {
  flex: 1;
  border: none;
  outline: none;
  padding: 11px 0;
  font-size: 14px;
  font-family: 'DM Sans', sans-serif;
  color: var(--dark);
  background: transparent;
}
.viz-search-wrap input::placeholder {
  color: #b8b0a6;
  font-weight: 500;
}
.viz-search-clear {
  background: none;
  border: none;
  font-size: 20px;
  color: var(--mid);
  cursor: pointer;
  padding: 0 4px;
  line-height: 1;
  transition: color .15s;
}
.viz-search-clear:hover { color: var(--coral); }
.viz-search-results-info {
  font-size: 12px;
  font-weight: 600;
  color: var(--teal);
  padding: 6px 0 2px;
}
.viz-search-results-info .viz-search-tag {
  display: inline-block;
  padding: 2px 8px;
  background: #f0f7f4;
  border: 1px solid var(--teal);
  border-radius: 5px;
  font-size: 11px;
  font-weight: 600;
  color: var(--teal);
  margin-right: 4px;
}
@media(max-width:600px) {
  .viz-search-wrap input { font-size: 13px; padding: 9px 0; }
}

/* Manila folder tabs */
.viz-folder-tabs {
  display: flex;
  align-items: flex-end;
  gap: 0;
  padding: 0 8px;
  position: relative;
  z-index: 2;
}
.viz-folder-tab {
  padding: 10px 24px 12px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  border-radius: 10px 10px 0 0;
  border: 1px solid #d4cfc8;
  border-bottom: none;
  background: #e8e2d9;
  color: #8a7e72;
  position: relative;
  top: 1px;
  transition: all .2s;
  user-select: none;
  letter-spacing: .3px;
}
.viz-folder-tab:hover {
  background: #f0ebe4;
  color: var(--dark);
}
.viz-folder-tab.active {
  background: #fff;
  color: var(--dark);
  z-index: 3;
  border-color: #d4cfc8;
  font-weight: 800;
  box-shadow: 0 -2px 6px rgba(0,0,0,.04);
}
.viz-folder-tab .viz-tab-count {
  font-size: 10px;
  font-weight: 600;
  color: #fff;
  background: var(--mid);
  padding: 1px 6px;
  border-radius: 8px;
  margin-left: 6px;
}
.viz-folder-tab.active .viz-tab-count {
  background: var(--coral);
}
/* First tab (Mats) gets teal accent */
.viz-folder-tab[data-folder="mats"].active { border-top: 3px solid var(--teal); }
/* Second tab (Tiles) gets coral accent */
.viz-folder-tab[data-folder="tiles"].active { border-top: 3px solid var(--coral); }
/* Third tab (Racks) gets gold accent */
.viz-folder-tab[data-folder="racks"].active { border-top: 3px solid var(--gold); }
/* Fourth tab (Complete Sets) gets coral accent */
.viz-folder-tab[data-folder="sets"].active { border-top: 3px solid #5A8060; }
/* Fifth tab (Shufflers) removed */

.viz-folder-content {
  background: #fff;
  border: 1px solid #d4cfc8;
  border-radius: 0 12px 12px 12px;
  padding: 16px;
  position: relative;
  z-index: 1;
  min-height: 400px;
  box-shadow: 0 4px 16px rgba(0,0,0,.06);
}

/* Responsive: folder tabs mobile — main overrides are in the mobile visualizer section below */

/* Gallery search and filter */
.viz-gallery-search {
  position: relative;
}
.viz-gallery-search input {
  width: 100%;
  padding: 12px 14px;
  border: 2px solid #e8e4e0;
  border-radius: 10px;
  font-size: 13px;
  font-family: inherit;
  background: #faf9f8;
  transition: border-color .25s;
}
.viz-gallery-search input:focus {
  outline: none;
  border-color: var(--teal);
  background: #fff;
}

/* Smart Filter Bar */
.viz-filter-bar { margin-bottom: 14px; }
.viz-filter-buttons { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 8px; }
.viz-filter-btn {
  padding: 7px 14px;
  border: 1.5px solid #c4b8a8;
  border-radius: 8px;
  background: #fff;
  font-size: 12px;
  font-weight: 600;
  color: var(--mid);
  cursor: pointer;
  transition: all .15s;
  display: flex;
  align-items: center;
  gap: 4px;
}
.viz-filter-btn:hover { border-color: var(--coral); color: var(--dark); }
.viz-filter-btn:focus { outline: 2px solid var(--coral); outline-offset: 2px; }
.viz-filter-btn.active { border-color: var(--coral); background: #fef5f1; color: var(--coral); }
.viz-filter-btn.has-filter { border-color: var(--teal); background: #f0f7f4; color: var(--teal); font-weight: 700; }
.viz-filter-arrow { font-size: 10px; transition: transform .2s; }
.viz-filter-btn.active .viz-filter-arrow { transform: rotate(180deg); }
.viz-filter-dropdown {
  display: none;
  flex-wrap: wrap;
  gap: 5px;
  padding: 12px;
  background: #faf9f8;
  border: 1px solid #e8e4df;
  border-radius: 10px;
  margin-bottom: 8px;
  max-height: 200px;
  overflow-y: auto;
}
.viz-filter-dropdown.open { display: flex; }
.viz-filter-option {
  padding: 5px 12px;
  border: 1.5px solid #c4b8a8;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  color: var(--mid);
  cursor: pointer;
  transition: all .15s;
  background: #fff;
  white-space: nowrap;
}
.viz-filter-option:hover { border-color: var(--coral); color: var(--dark); }
.viz-filter-option:focus { outline: 2px solid var(--coral); outline-offset: 1px; }
.viz-filter-option.selected { border-color: var(--coral); background: var(--coral); color: #fff; }
/* Color dots inside color options */
.viz-filter-option .viz-fdot {
  display: inline-block;
  width: 10px; height: 10px;
  border-radius: 50%;
  margin-right: 4px;
  vertical-align: middle;
  border: 1px solid rgba(0,0,0,.1);
}
/* Active filter tags */
.viz-active-filters { display: flex; flex-wrap: wrap; gap: 5px; align-items: center; }
.viz-active-filters:empty { display: none; }
.viz-filter-tag {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  background: #f0f7f4;
  border: 1px solid var(--teal);
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  color: var(--teal);
}
.viz-filter-tag-x {
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  color: var(--teal);
  margin-left: 2px;
  transition: color .15s;
}
.viz-filter-tag-x:hover { color: #dc2626; }
.viz-clear-all {
  font-size: 11px;
  font-weight: 600;
  color: var(--mid);
  cursor: pointer;
  padding: 3px 8px;
  transition: color .15s;
}
.viz-clear-all:hover { color: var(--coral); }

/* Product cards grid */
.viz-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 14px;
  max-height: 420px;
  overflow-y: auto;
  padding: 4px 2px;
}
.viz-card {
  border: 2px solid #e8e4df;
  border-radius: 12px;
  overflow: hidden;
  min-width: 0;
  cursor: pointer;
  transition: all .2s;
  background: #fff;
  display: flex;
  flex-direction: column;
}
.viz-card:hover {
  border-color: var(--coral);
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0,0,0,.1);
}
.viz-card-img {
  width: 100%;
  height: 130px;
  overflow: hidden;
  border-radius: 12px 12px 0 0;
}
.viz-card-info {
  padding: 10px 12px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.viz-card-brand {
  font-size: 10px;
  color: var(--mid);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.viz-card-name {
  font-size: 12px;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.3;
  flex: 1;
}
.viz-card-price {
  font-size: 13px;
  color: var(--coral);
  font-weight: 700;
  margin-top: auto;
}
.viz-card::after {
  content: 'Tap to Select';
  display: block;
  text-align: center;
  font-size: 10px;
  font-weight: 700;
  color: var(--coral);
  padding: 6px 0 10px;
  opacity: 0;
  transition: opacity .2s;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.viz-card:hover::after { opacity: 1; }
/* Sold-out styling */
.viz-card-soldout { opacity: 0.6; position: relative; }
.viz-card-soldout::before {
  content: 'SOLD OUT';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  background: rgba(220,38,38,.85);
  color: #fff;
  padding: 6px 16px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  z-index: 5;
  pointer-events: none;
}

/* Gallery info */
.viz-gallery-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2px;
  font-size: 12px;
  color: var(--mid);
}
.viz-gallery-count {
  font-weight: 600;
}
.viz-skip-link {
  background: none;
  border: none;
  color: var(--teal);
  font-size: 12px;
  cursor: pointer;
  text-decoration: underline;
  padding: 0;
  transition: color .2s;
  font-weight: 600;
}
.viz-skip-link:hover {
  color: var(--coral);
}

/* No results state */
.viz-no-results {
  text-align: center;
  padding: 40px 20px;
  color: var(--mid);
}
.viz-no-results-icon {
  font-size: 36px;
  margin-bottom: 12px;
}
.viz-no-results-text {
  font-weight: 600;
  margin-bottom: 4px;
}

/* Completion panel */
.viz-complete-panel {
  display: none;
  background: #fff;
  border: 1px solid #e0dbd5;
  border-radius: 14px;
  padding: 24px;
  text-align: center;
}
.viz-complete-panel.active {
  display: block;
}
.viz-complete-title {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  font-weight: 900;
  color: var(--dark);
  margin-bottom: 12px;
}
.viz-complete-summary {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 20px 0;
}
.viz-complete-item {
  padding: 12px;
  background: #faf9f8;
  border-radius: 10px;
  font-size: 13px;
  color: var(--dark);
}
/* Shop Panel */
.viz-shop-panel {
  background: #fff;
  border: 1px solid #e8e3dd;
  border-radius: 16px;
  padding: 20px;
  margin-top: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,.08);
}
.viz-shop-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  flex-wrap: wrap;
  gap: 8px;
}
.viz-shop-header h4 {
  margin: 0;
  font-size: 16px;
  color: var(--dark);
  font-weight: 800;
}
.viz-shop-discount {
  background: linear-gradient(135deg,#729876,#5f8f7e);
  color: #fff;
  padding: 5px 14px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .3px;
}
.viz-shop-note {
  font-size: 11px;
  color: var(--mid);
  font-style: italic;
  margin: 0 0 14px;
}
.viz-shop-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #f0ede8;
}
.viz-shop-item:last-of-type { border-bottom: none; }
.viz-shop-item-img {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  object-fit: cover;
  background: #f5f2ee;
  flex-shrink: 0;
}
.viz-shop-item-info {
  flex: 1;
  min-width: 0;
}
.viz-shop-item-brand {
  font-size: 10px;
  color: var(--mid);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .3px;
}
.viz-shop-item-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.viz-shop-item-price {
  font-size: 14px;
  font-weight: 800;
  color: var(--coral);
  white-space: nowrap;
}
.viz-shop-item-link {
  display: inline-block;
  padding: 6px 14px;
  background: var(--coral);
  color: #fff;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: all .2s;
}
.viz-shop-item-link:hover {
  background: #a85d42;
  transform: translateY(-1px);
}
.viz-shop-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
  border-top: 2px solid #f0ede8;
  margin-top: 8px;
  font-weight: 800;
  font-size: 16px;
  color: var(--dark);
}
.viz-shop-copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 12px;
  background: #f0f7f1;
  border: 1px solid #729876;
  border-radius: 6px;
  color: #729876;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transition: all .2s;
}
.viz-shop-copy-btn:hover {
  background: #729876;
  color: #fff;
}
.viz-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 20px;
}
.viz-btn {
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all .2s;
  border: none;
}
.viz-btn-primary {
  background: var(--coral);
  color: #fff;
  flex: 1;
  min-width: 140px;
}
.viz-btn-primary:hover {
  background: #476B4D;
}
.viz-btn-secondary {
  background: #fff;
  color: var(--dark);
  border: 2px solid #e0dbd5;
  flex: 1;
  min-width: 140px;
}
.viz-btn-secondary:hover {
  border-color: var(--coral);
  color: var(--coral);
}
/* Total & actions */
.bys-total-bar {
  margin-top: 8px;
  padding: 20px 22px;
  background: #fff;
  border-radius: 14px;
  border: 1px solid #e0dbd5;
  box-shadow: 0 2px 10px rgba(0,0,0,.04);
}
.bys-total-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.bys-total-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--mid);
}
.bys-total-price {
  font-size: 22px;
  font-weight: 900;
  color: var(--dark);
  font-family: 'Playfair Display', serif;
}
.bys-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.bys-btn {
  padding: 14px 28px;
  border: none;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s;
  font-family: inherit;
  flex: 1;
  text-align: center;
}
.bys-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,.1);
}
.bys-btn-secondary {
  background: var(--teal);
  color: #fff;
}
.bys-btn-outline {
  background: #fff;
  color: var(--dark);
  border: 2px solid #e0dbd5;
}
.bys-btn-outline:hover {
  border-color: var(--dark);
}

/* ── MOBILE VISUALIZER: Full-Width Stacked Layout ────── */
@media (max-width: 768px) {
  .viz-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  /* Gallery comes FIRST on mobile, preview moves below */
  .viz-gallery-col {
    order: -1;
  }
  .viz-preview-col {
    position: relative;
    top: 0;
  }
  .viz-preview-area {
    aspect-ratio: 1;
    max-width: 100%;
    overflow: hidden;
  }
  .viz-header h2 {
    font-size: 28px;
  }
  .viz-tile-img {
    width: 46%;
    left: -16%;
  }
  .viz-rack-img {
    width: 48%;
    left: -12%;
  }

  /* ── FOLDER TABS: Full-width scrollable pills ── */
  .viz-folder-tabs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
  }
  .viz-folder-tabs::-webkit-scrollbar { display: none; }
  .viz-folder-tab {
    padding: 12px 20px;
    font-size: 14px;
    border-radius: 24px 24px 0 0;
    white-space: nowrap;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }
  .viz-folder-tab .viz-tab-count {
    font-size: 10px;
    padding: 1px 6px;
    margin-left: 6px;
  }

  /* ── Allow gallery column to show scrollable content ── */
  .viz-gallery-col {
    overflow: visible;
    min-width: 0;
    position: relative;
  }

  /* ── HORIZONTAL SWIPE CAROUSEL ── */
  .viz-cards-grid {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    touch-action: manipulation;
    gap: 12px;
    padding: 8px 4px 16px;
    max-height: none;
    width: 100%;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .viz-cards-grid::-webkit-scrollbar { display: none; }
  .viz-cards-grid .viz-card {
    flex: 0 0 160px;
    min-width: 160px;
    max-width: 160px;
    scroll-snap-align: start;
  }
  .viz-card {
    border-radius: 14px;
  }
  .viz-card-img {
    height: 130px;
    border-radius: 14px 14px 0 0;
  }
  .viz-card-info {
    padding: 12px 14px;
    gap: 6px;
  }
  .viz-card-brand {
    font-size: 11px;
  }
  .viz-card-name {
    font-size: 13px;
    line-height: 1.3;
  }
  .viz-card-price {
    font-size: 14px;
    font-weight: 800;
  }
  .viz-card::after {
    font-size: 12px;
    padding: 8px;
  }

  /* ── FILTER BUTTONS: Touch-friendly 44px targets ── */
  .viz-filter-buttons {
    gap: 8px;
  }
  .viz-filter-btn {
    padding: 10px 16px;
    font-size: 13px;
    min-height: 44px;
    border-radius: 22px;
  }
  .viz-filter-dropdown {
    max-height: 200px;
    gap: 8px;
    padding: 12px;
  }
  .viz-filter-option {
    padding: 8px 14px;
    font-size: 13px;
    min-height: 38px;
    border-radius: 20px;
  }
  .viz-filter-tag {
    padding: 6px 12px;
    font-size: 12px;
  }

  /* ── SEARCH BAR: Larger input ── */
  .viz-search-wrap input,
  #vizUniversalSearch {
    font-size: 16px !important;
    padding: 12px 14px 12px 36px !important;
    min-height: 48px;
  }

  /* ── FOLDER CONTENT: More room ── */
  .viz-folder-content {
    padding: 14px 12px;
    min-height: 360px;
    border-radius: 0 0 12px 12px;
  }

  /* ── BUILD PANEL: Larger text ── */
  .viz-build-panel {
    padding: 16px;
  }
  .viz-build-title {
    font-size: 16px;
  }
  .viz-build-step-label {
    font-size: 12px;
    padding: 4px 12px;
  }

  /* ── EMAIL BUTTON: Big tap target ── */
  #vizEmailBtn {
    min-height: 52px;
    font-size: 16px !important;
    border-radius: 14px !important;
  }
}

/* ── SMALL PHONE (390px and below) ──────────────────── */
@media (max-width: 390px) {
  .section { padding: 36px 0; }
  .container { padding: 0 12px; }
  .hero h1, .hero h2 { font-size: 24px; }
  .hero p { font-size: 14px; }
  .section-tag { font-size: 11px; padding: 4px 12px; }
  .viz-header h2 { font-size: 22px; }

  /* Cards still 2-column but tighter on small phones */
  .viz-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    overflow: hidden;
  }
  .viz-card-img {
    height: 140px;
  }
  .viz-card-name { font-size: 12px; }
  .viz-card-brand { font-size: 10px; }

  /* Folder tabs scroll horizontally */
  .viz-folder-tab {
    padding: 10px 16px;
    font-size: 13px;
  }

  .section-explore-links { gap: 8px; }
  .section-explore-links a { font-size: 12px; padding: 8px 14px; }
  .section-nav-links { gap: 12px; flex-wrap: wrap; }
  .section-nav-links a { padding: 8px 16px; font-size: 13px; }
}

.founder-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.founder-text h2 {
  font-size: 40px;
  font-weight: 900;
  margin-bottom: 24px;
  line-height: 1.2;
}

.founder-text p {
  font-size: 16px;
  color: var(--mid);
  line-height: 1.8;
  margin-bottom: 20px;
}

.founder-img {
  /* Mahjong tile shape */
  background: linear-gradient(160deg, #FFFFF5 0%, #F5F0E6 50%, #EDE7D9 100%);
  border-radius: 14px;
  padding: 32px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 280px;
  max-width: 200px;
  aspect-ratio: 3/4;
  border: 3px solid #D4C9B8;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.9),
    inset 0 -2px 4px rgba(0,0,0,.06),
    0 4px 16px rgba(59,51,50,.15),
    0 1px 3px rgba(59,51,50,.1);
  position: relative;
}
.founder-img::before {
  content: '';
  position: absolute;
  top: 8px; left: 8px; right: 8px; bottom: 8px;
  border: 1.5px solid rgba(180,165,145,.35);
  border-radius: 8px;
  pointer-events: none;
}

.founder-img img {
  max-width: 90%;
  width: 90%;
  height: auto;
  mix-blend-mode: multiply;
}

/* ── TESTIMONIALS CAROUSEL (R5) ────────────────────── */
.testimonials-section {
  background: linear-gradient(135deg, var(--cream), #F0E8DD);
  padding: 80px 0;
}

.testimonials-scroll {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 12px;
}

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

.testimonial-card {
  flex-shrink: 0;
  background: var(--white);
  border-radius: 16px;
  padding: 32px;
  min-width: 320px;
  max-width: 350px;
  box-shadow: var(--card-shadow);
  border-left: 5px solid var(--coral);
}

.testimonial-card .stars {
  display: block;
  margin-bottom: 16px;
  font-size: 18px;
}

.testimonial-card p {
  font-size: 15px;
  color: var(--mid);
  line-height: 1.7;
  margin-bottom: 16px;
  font-style: italic;
}

.testimonial-card .author {
  font-weight: 700;
  color: var(--dark);
  font-size: 14px;
}

/* ── INLINE EMAIL SIGNUP CARD (R16) ────────────────── */
/* Newsletter bar (bottom of site) */
.newsletter-bar {
  background: linear-gradient(135deg, #7A9E7E, #5C7A5F);
  padding: 24px 0;
}
.newsletter-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: center;
}
.newsletter-icon {
  width: 48px; height: 48px;
  background: rgba(255,255,255,.15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.newsletter-text {
  color: #fff;
  font-size: 14px;
  line-height: 1.4;
}
.newsletter-text strong {
  display: block;
  font-size: 16px;
  margin-bottom: 2px;
}
.newsletter-text span {
  opacity: .9;
}
.newsletter-form {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}
.newsletter-form input {
  padding: 10px 16px;
  border: none;
  border-radius: 10px;
  font-size: 14px;
  font-family: 'DM Sans', sans-serif;
  width: 200px;
}
.newsletter-form button {
  padding: 10px 20px;
  border: none;
  border-radius: 10px;
  background: var(--gold);
  color: var(--dark);
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
  transition: transform .2s;
  white-space: nowrap;
}
.newsletter-form button:hover {
  transform: translateY(-2px);
}
@media (max-width: 600px) {
  .newsletter-inner { flex-direction: column; text-align: center; }
  .newsletter-form { width: 100%; }
  .newsletter-form input { flex: 1; }
}

.inline-signup-success {
  display: none;
  color: white;
  font-weight: 700;
  font-size: 16px;
  margin-top: 16px;
}

/* ── RESPONSIVE UPDATES ────────────────────────────── */
@media (max-width: 900px) {
  .founder-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .founder-img {
    min-height: 220px;
    max-width: 160px;
  }
}

@media (max-width: 640px) {
  .nav-links {
    display: none;
  }

  .nav-links.menu-open {
    display: flex !important;
    flex-direction: column !important;
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    background: #fff !important;
    box-shadow: 0 8px 24px rgba(0,0,0,.12) !important;
    padding: 12px 0 !important;
    gap: 0 !important;
    z-index: 999 !important;
    opacity: 1 !important;
    transform: none !important;
    visibility: visible !important;
    pointer-events: auto !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    transition: none !important;
  }

  .nav-links.menu-open a {
    padding: 14px 24px;
    min-height: 48px;
    display: flex;
    align-items: center;
    font-size: 16px;
    border-bottom: 1px solid rgba(0,0,0,.04);
  }

  .nav-links.menu-open .nav-cta {
    margin: 12px 24px;
    text-align: center;
    justify-content: center;
    border-bottom: none;
  }

  .nav-dropdown-menu {
    position: static !important;
    transform: none !important;
    box-shadow: none !important;
    min-width: 0 !important;
    padding: 0 !important;
    border-radius: 0 !important;
  }
  .nav-dropdown-menu a {
    padding-left: 40px !important;
    font-size: 14px !important;
  }

  .mobile-toggle {
    display: flex;
    min-width: 48px;
    min-height: 48px;
    align-items: center;
    justify-content: center;
  }

  #backToTop {
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 45px;
    height: 45px;
    font-size: 20px;
  }

  .testimonials-scroll {
    gap: 16px;
  }

  .testimonial-card {
    min-width: 280px;
  }
}

/* ── NAV + DISCOUNT BANNER MOBILE OPTIMIZATION ────── */
@media(max-width:768px) {
  nav .container { height: 70px; }
  .logo { font-size: 22px; }
  .logo img.nav-logo-img { height: 45px; width: 45px; }
  #discountBanner { font-size: 12px; padding: 6px 10px; }
  body { padding-top: 130px; }
}
@media(max-width:480px) {
  body { padding-top: 140px; }
}

/* ── FILTER DROPDOWN MOBILE HEIGHTS ────────────────── */
@media(max-width:600px) {
  .viz-filter-dropdown { max-height: 220px; }
  .viz-filter-btn { padding: 10px 14px; font-size: 13px; min-height: 44px; }
}

/* ── STICKY PREVIEW DISABLE ON MOBILE ──────────────── */
@media(max-width:768px) {
  .viz-preview-col { position: relative; top: auto; }
}

/* ── FOOTER TABLET BREAKPOINT ───────────────────────── */
@media(max-width:1024px) and (min-width:769px) {
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 24px; }
}

/* ── CLICKABLE CARDS ─────────────────────────────────── */
.card { cursor: pointer; }

/* ── ACCESSIBILITY ─────────────────────────────────── */
.skip-link {
  position: absolute; top: -100%; left: 50%;
  transform: translateX(-50%);
  background: var(--coral); color: var(--white);
  padding: 12px 24px; border-radius: 0 0 8px 8px;
  font-weight: 700; font-size: 14px; z-index: 1000;
  transition: top .2s;
  text-decoration: none;
}
.skip-link:focus { top: 0; }

/* ── COOKIE CONSENT ────────────────────────────────── */
.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: var(--dark); color: rgba(255,255,255,.85);
  padding: 16px 24px;
  display: flex; align-items: center; justify-content: center;
  gap: 20px; flex-wrap: wrap;
  z-index: 500;
  font-size: 14px;
  box-shadow: 0 -4px 20px rgba(0,0,0,.15);
  animation: slideUp .4s ease;
}
.cookie-banner.hidden { display: none; }
.cookie-banner p { margin: 0; max-width: 600px; line-height: 1.5; }
.cookie-banner a { color: var(--coral); text-decoration: underline; }
.cookie-btn-accept {
  background: var(--coral); color: var(--white);
  border: none; padding: 10px 24px; border-radius: 50px;
  font-weight: 700; font-size: 14px; cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  transition: background .2s;
  white-space: nowrap;
}
.cookie-btn-accept:hover { background: var(--rust); }
.cookie-btn-decline {
  background: transparent; color: rgba(255,255,255,.7);
  border: 1px solid rgba(255,255,255,.3);
  padding: 10px 24px; border-radius: 50px;
  font-weight: 600; font-size: 14px; cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  transition: all .2s;
  white-space: nowrap;
}
.cookie-btn-decline:hover { color: var(--white); border-color: var(--white); }

/* Return-to-site toast */
.bbc-return-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: linear-gradient(135deg, var(--coral), #e8636e);
  color: #fff;
  padding: 14px 28px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 8px 32px rgba(0,0,0,.25);
  z-index: 99999;
  opacity: 0;
  transition: all .4s cubic-bezier(.25,.46,.45,.94);
  pointer-events: none;
  white-space: nowrap;
  letter-spacing: .3px;
}
.bbc-return-toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.bbc-return-toast a {
  color: #fff;
  text-decoration: underline;
  margin-left: 8px;
  cursor: pointer;
}


/* ═══ FTC AFFILIATE DISCLOSURE ═══ */
.affiliate-disclosure-bar {
  background: linear-gradient(135deg, #fef9f3, #fdf6ee);
  border-bottom: 1px solid #e8dfd0;
  padding: 10px 20px;
  text-align: center;
  font-size: 13px;
  color: #6b5b4f;
  line-height: 1.5;
  position: relative;
  z-index: 100;
}
.affiliate-disclosure-bar a {
  color: var(--coral, #5A8060);
  font-weight: 600;
  text-decoration: underline;
}
.affiliate-disclosure-bar .aff-icon {
  margin-right: 6px;
}
.card-btn::after {
  content: " (paid link)";
  font-size: 9px;
  font-weight: 400;
  opacity: 0.7;
  letter-spacing: 0.3px;
}
.wiz-result-btn::after {
  content: " (paid link)";
  font-size: 9px;
  font-weight: 400;
  opacity: 0.7;
  letter-spacing: 0.3px;
}

/* ═══ SECTION NAVIGATION LINKS ═══ */
.section-nav-links {
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: center;
  padding: 32px 20px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.section-nav-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border-radius: 40px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.2s;
  letter-spacing: 0.3px;
}

.section-nav-links a:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

.section-nav-links.on-light a {
  background: rgba(0, 0, 0, 0.08);
  color: var(--dark);
}

.section-nav-links.on-light a:hover {
  background: rgba(0, 0, 0, 0.12);
  color: var(--dark);
}

.section-nav-links .nav-home::before {
  content: "← ";
}

.section-nav-links .nav-top::before {
  content: "↑ ";
}

