/* ═══════════════════════════════════════════════════════
   THE DIGITAL DOLLAR STORE · style.css v8
   Warm editorial theme — bone/ink/marigold throughout
   ═══════════════════════════════════════════════════════ */

/* ─── TOKENS ─── */
:root {
  /* below-hero palette (Monday.com purple — unchanged) */
  --bg:        #FFFFFF;
  --bg-alt:    #F6F7FB;
  --surface:   #FFFFFF;
  --surf2:     #F0EEFF;
  --border:    #E8E3FF;
  --border-l:  #F0ECFF;
  --text:      #1A1040;
  --muted:     #676879;
  --dim:       #A8A5BF;
  --accent:    #5034FF;
  --accent-d:  #3D20CC;
  --accent-l:  #9B7FFF;
  --pink:      #FF3D87;
  --green:     #00C875;
  --gold:      #FFBA00;
  --red:       #FF4747;
  --shadow-sm: 0 2px 8px rgba(80,52,255,.06);
  --shadow-md: 0 8px 32px rgba(80,52,255,.12);
  --shadow-lg: 0 16px 48px rgba(80,52,255,.18);
  --r:         10px;
  /* hero/ticker/nav palette */
  --ink:        #0F0F0F;
  --marigold:   #F5C518;
  --bone:       #F5F1E8;
  --bone-2:     #EEE8DA;
  --paper:      #FFFCF5;
  --hairline:   rgba(15,15,15,0.12);
  --smoke:      #6B6B6B;
  --concrete:   #3D3D3D;
  --emerald:    #1D9E75;
  --pro-accent: #534AB7;
  --pro-ink:    #3C3489;
  --creative-ink: #72243E;
  --tech-ink:   #0C447C;
  --kids-bg:    #FAEEDA;
  --kids-ink:   #633806;
  --serif:      'Fraunces', serif;
  --sans:       'General Sans', 'JetBrains Mono', monospace;
  --mono:       'JetBrains Mono', monospace;
}

/* ─── RESET ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: var(--mono);
  background: var(--bone);
  color: var(--ink);
  overflow-x: hidden;
}
body::before {
  content: '';
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px; opacity: 0.03;
}
button { cursor: pointer; border: none; background: none; font-family: inherit; color: inherit; }
a { text-decoration: none; color: inherit; }
img, video { display: block; max-width: 100%; }

/* ─── TYPE HELPERS ─── */
.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--smoke);
  display: block;
  margin-bottom: 12px;
}
.section-head { text-align: center; max-width: 560px; margin: 0 auto 48px; }
.section-head h2 {
  font-family: 'Fraunces', serif;
  font-size: clamp(28px, 5vw, 44px);
  margin-bottom: 12px;
  line-height: 1.15;
  color: var(--ink);
}
.section-head p { font-family: var(--sans); font-size: 13px; color: var(--smoke); line-height: 1.7; }

/* ─── KEYWORD MARKS (hero-sub, marquee) ─── */
mark { font-style: normal; border-radius: 3px; padding: 0 3px; }
mark.kw-pro      { background: rgba(83,74,183,0.12); color: #534AB7; }
mark.kw-creative { background: rgba(153,53,86,0.10); color: #993556; }
mark.kw-tech     { background: rgba(24,95,165,0.10); color: #185FA5; }
mark.kw-lifestyle{ background: rgba(15,110,86,0.10); color: #0F6E56; }
mark.kw-kids     { background: rgba(133,79,11,0.10); color: #854F0B; }

/* ─── TOP TICKER ─── */
.ticker-wrap {
  background: var(--ink);
  height: 30px;
  overflow: hidden;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 101;
  border-bottom: 1px solid rgba(245,197,24,0.2);
}
.ticker-inner {
  display: flex;
  gap: 48px;
  white-space: nowrap;
  animation: ticker 45s linear infinite;
  padding-right: 48px;
}
.ticker-inner span { flex-shrink: 0; font-size: 11px; letter-spacing: 1px; color: var(--marigold); }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ─── NAV ─── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 14px 32px;
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
/* backdrop-filter lives on ::before so it doesn't create a containing block
   that breaks position:fixed on children (Chrome/Safari backdrop-filter bug) */
.nav::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(245,241,232,0.7);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  transition: background .3s;
  z-index: -1;
}
.nav.scrolled { border-bottom: 1px solid var(--hairline); }
.nav.scrolled::before { background: rgba(245,241,232,0.92); }
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand-mark {
  width: 32px; height: 32px; border-radius: 8px;
  background: var(--ink); color: var(--marigold);
  font-family: 'Fraunces', serif; font-size: 18px; font-weight: 600;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.brand-text { display: flex; flex-direction: column; }
.brand-the  { font-family: 'JetBrains Mono', monospace; font-size: 9px; letter-spacing: 2px; color: var(--smoke); text-transform: uppercase; }
.brand-name { font-family: 'Fraunces', serif; font-size: 16px; font-weight: 500; letter-spacing: -0.3px; color: var(--ink); line-height: 1.2; }
.nav-links {
  display: flex; gap: 28px; justify-content: center;
  font-family: 'General Sans', 'JetBrains Mono', monospace; font-size: 13px; color: var(--concrete);
}
.nav-links a { position: relative; padding-bottom: 2px; }
.nav-links a::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 1px; background: var(--ink);
  transform: scaleX(0); transform-origin: left;
  transition: transform .25s ease;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-actions { display: flex; align-items: center; gap: 10px; justify-content: flex-end; padding-right: 114px; }
@media (max-width: 768px) { .nav-actions { padding-right: 0; } }
.nav-search-btn {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--paper); border: 1px solid var(--hairline);
  display: none; align-items: center; justify-content: center;
  color: var(--concrete); cursor: pointer; flex-shrink: 0;
}
.nav-search-btn:hover { color: var(--ink); }
.nav-search {
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-radius: 999px;
  color: var(--ink);
  font-family: 'General Sans', 'JetBrains Mono', monospace;
  font-size: 13px;
  padding: 8px 14px;
  width: 220px;
  outline: none;
  transition: border-color .2s, width .3s;
}
.nav-search::placeholder { color: var(--smoke); }
.nav-search:focus { border-color: var(--ink); width: 280px; }

/* ─── Search Carousel ─── */
.search-carousel { background: var(--paper); border-bottom: 1px solid var(--hairline); padding: 16px 0 22px; }
.search-carousel[hidden] { display: none; }
.src-inner { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.src-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.src-label { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--smoke); }
.src-label strong { color: var(--ink); }
.src-label em { font-style: normal; color: var(--accent); background: rgba(245,197,24,.28); border-radius: 3px; padding: 0 2px; }
.src-close { background: none; border: none; cursor: pointer; font-size: 16px; color: var(--smoke); padding: 2px 6px; border-radius: 4px; transition: color .15s; }
.src-close:hover { color: var(--ink); }
.src-track-wrap { display: flex; align-items: center; gap: 10px; }
.search-carousel .nrow-viewport { flex: 1; --row-pad: 0; }
.search-carousel .nrow-track .ncard { overflow: hidden; }
.src-arrow { flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%; background: var(--paper); border: 1px solid var(--hairline); box-shadow: 0 2px 8px rgba(0,0,0,.08); font-size: 22px; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; color: var(--ink); transition: background .15s, box-shadow .15s; }
.src-arrow[hidden] { display: none; }
.src-arrow:hover { background: var(--bone); box-shadow: 0 3px 12px rgba(0,0,0,.13); }

/* ─── Search wrap & suggestions dropdown ─── */
.search-wrap { position: relative; display: flex; align-items: center; }
.nav-search.has-value { padding-right: 32px; }
.search-clear {
  position: absolute;
  right: 10px;
  width: 18px; height: 18px;
  background: var(--smoke);
  border-radius: 50%;
  color: #fff;
  font-size: 9px;
  line-height: 1;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  z-index: 2;
  transition: background .15s;
  flex-shrink: 0;
}
.search-clear[hidden] { display: none; }
.search-clear:hover { background: var(--ink); }
.search-suggestions {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 340px;
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-radius: var(--r);
  box-shadow: var(--shadow-md);
  z-index: 300;
  overflow: hidden;
}
.search-suggestions[hidden] { display: none; }
.sug-section-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--smoke);
  padding: 10px 16px 4px;
  pointer-events: none;
}
.sug-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px;
  cursor: pointer;
  font-family: var(--sans);
  font-size: 13px;
  color: var(--concrete);
  border-bottom: 1px solid var(--hairline);
  transition: background .15s;
}
.sug-item:last-child { border-bottom: none; }
.sug-item:hover, .sug-item.sug-focus { background: var(--bone); }
.sug-icon { font-size: 18px; flex-shrink: 0; line-height: 1; }
.sug-name {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -.01em;
}
.sug-name mark {
  background: rgba(245,197,24,.28);
  color: var(--ink);
  border-radius: 3px;
  padding: 0 2px;
  font-weight: 700;
}
.sug-type {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--smoke);
  flex-shrink: 0;
  max-width: 80px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  background: var(--bone-2);
  border-radius: 4px;
  padding: 2px 6px;
}
.sug-aisle {
  font-family: var(--mono); font-size: 9px; font-weight: 700;
  letter-spacing: .04em; text-transform: uppercase;
  padding: 2px 6px; border-radius: 4px; flex-shrink: 0;
}
.sug-aisle--professional { background: rgba(83,74,183,.12); color: #534AB7; }
.sug-aisle--tech         { background: rgba(24,95,165,.10); color: #185FA5; }
.sug-aisle--creative     { background: rgba(153,53,86,.10); color: #993556; }
.sug-aisle--lifestyle    { background: rgba(15,110,86,.10); color: #0F6E56; }
.sug-aisle--kids         { background: rgba(133,79,11,.10); color: #854F0B; }
.sug-aisle--teachers     { background: rgba(12,68,124,.10); color: #0C447C; }
.sug-remove {
  background: none; border: none; color: var(--smoke);
  font-size: 11px; cursor: pointer; padding: 0 0 0 4px;
  opacity: .55; transition: opacity .15s; flex-shrink: 0;
}
.sug-remove:hover { opacity: 1; color: var(--ink); }
.sug-footer {
  display: flex; align-items: center; justify-content: center;
  padding: 10px 16px;
  font-family: var(--sans); font-size: 12px; color: var(--accent);
  cursor: pointer; border-top: 1px solid var(--hairline);
  background: var(--bone); transition: background .15s;
}
.sug-footer:hover { background: var(--bone-2); }
.sug-footer strong, .sug-footer em { font-style: normal; color: var(--accent); }
.sug-empty { padding: 18px 16px; text-align: center; }
.sug-empty-msg { display: block; font-family: var(--sans); font-size: 13px; color: var(--concrete); margin-bottom: 12px; }
.sug-empty-hint {
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: 6px;
  font-family: var(--mono); font-size: 11px; color: var(--smoke);
}
.sug-try {
  background: var(--bone-2); border: 1px solid var(--hairline);
  border-radius: 100px; padding: 4px 10px;
  font-family: var(--mono); font-size: 11px; color: var(--ink);
  cursor: pointer; transition: background .15s;
}
.sug-try:hover { background: var(--bone); }

/* ─── Search result count banner ─── */
.search-result-banner {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--smoke);
  padding: 12px 0 6px;
  max-width: 1200px;
  margin: 0 auto;
  border-bottom: 1px solid var(--hairline);
  margin-bottom: 16px;
}
.search-result-banner[hidden] { display: none; }
.search-result-banner strong { color: var(--ink); }
.search-result-banner em {
  font-style: normal;
  color: var(--ink);
  background: rgba(245,197,24,.28);
  border-radius: 3px;
  padding: 0 4px;
}

.cart-btn {
  display: flex; align-items: center; gap: 8px;
  background: var(--ink);
  border-radius: 999px;
  padding: 8px 14px;
  font-family: 'General Sans', 'JetBrains Mono', monospace;
  font-size: 13px; font-weight: 500;
  color: var(--bone);
  transition: opacity .2s, transform .15s;
  position: fixed; top: 14px; right: 32px; z-index: 200;
}
.cart-btn:hover { opacity: .88; transform: translateY(-1px); }
@media (max-width: 768px) { .cart-btn { right: 66px; } }
@media (max-width: 480px) { .cart-btn { right: 62px; } }
.cart-count {
  background: var(--marigold); color: var(--ink);
  border-radius: 50%; width: 18px; height: 18px;
  font-family: 'JetBrains Mono', monospace; font-size: 10px; font-weight: 600;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}

/* ─── HERO ─── */
.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  place-items: center;
  padding: 80px 32px 120px;
  background: linear-gradient(180deg, var(--bone) 0%, var(--bone-2) 100%);
  overflow: hidden;
  text-align: center;
}
.hero-grain {
  position: absolute; inset: 0; pointer-events: none; z-index: 2;
  background: radial-gradient(ellipse at top, transparent 0%, var(--bone) 75%);
}
.hero-content { position: relative; z-index: 5; max-width: 640px; }
.hero-pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--paper); border: 1px solid var(--hairline); border-radius: 999px;
  padding: 6px 14px; font-size: 12px; color: var(--concrete);
  box-shadow: 0 4px 12px -6px rgba(15,15,15,0.1);
  margin-bottom: 22px;
}
.pulse-dot {
  width: 7px; height: 7px;
  background: var(--emerald); border-radius: 50%; flex-shrink: 0;
  box-shadow: 0 0 0 4px rgba(29,158,117,0.18);
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.5;transform:scale(1.3)} }
.hero-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(48px, 8vw, 96px);
  font-weight: 500; line-height: 0.98; letter-spacing: -2.5px;
  color: var(--ink); margin-bottom: 22px;
}
.hero-title em { font-style: italic; color: var(--pro-accent); font-weight: 500; }
.hero-sub {
  font-family: 'General Sans', 'JetBrains Mono', monospace;
  font-size: clamp(15px, 1.6vw, 18px); color: var(--concrete);
  max-width: 540px; margin: 0 auto 32px; line-height: 1.6;
}
.hero-cta { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 56px; }
.btn-primary {
  display: inline-flex; align-items: center;
  background: var(--ink); color: var(--bone);
  border-radius: 999px; padding: 13px 26px;
  font-family: 'General Sans', 'JetBrains Mono', monospace;
  font-size: 14px; font-weight: 500; border: none;
  box-shadow: 0 8px 20px -8px rgba(15,15,15,0.3);
  transition: transform .2s, box-shadow .2s;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 28px -8px rgba(15,15,15,0.4); }
.btn-secondary {
  display: inline-flex; align-items: center;
  background: var(--paper); color: var(--ink);
  border: 1px solid var(--hairline); border-radius: 999px; padding: 13px 26px;
  font-family: 'General Sans', 'JetBrains Mono', monospace;
  font-size: 14px; font-weight: 500;
  transition: transform .2s, background .2s;
}
.btn-secondary:hover { transform: translateY(-2px); background: var(--bone-2); }
.hero-stats {
  display: flex; gap: 48px; justify-content: center;
  padding-top: 32px; border-top: 1px solid var(--hairline);
}
.hero-stats > div { text-align: center; }
.hero-stats strong {
  font-family: 'Fraunces', serif; font-size: 32px; font-weight: 500;
  letter-spacing: -1px; display: block; color: var(--ink);
}
.hero-stats span {
  font-family: 'JetBrains Mono', monospace; font-size: 10px;
  color: var(--smoke); letter-spacing: 1.5px; text-transform: uppercase;
}

/* ─── HERO CLOUD ─── */
.hero-cloud {
  position: absolute; inset: 0; z-index: 3;
  pointer-events: none; user-select: none;
}
.float-card {
  position: absolute;
  background: var(--paper); border: 1px solid var(--hairline); border-radius: 14px;
  padding: 12px 14px; font-size: 10px; color: var(--concrete); line-height: 1.6;
  box-shadow: 0 18px 40px -20px rgba(15,15,15,0.18), 0 4px 8px -4px rgba(15,15,15,0.08);
}
.f-notion  { top:18%; left:6%;   width:130px; animation: drift-a  8s ease-in-out infinite; color: var(--pro-ink); }
.f-code    { top:14%; right:8%;  width:145px; animation: drift-b 11s ease-in-out infinite; background: var(--ink); border-color: transparent; color: #9FE1CB; }
.f-color   { top:56%; left:9%;   width:95px;  animation: drift-c  9s ease-in-out infinite; color: var(--concrete); }
.f-palette { top:60%; right:7%;  width:130px; animation: drift-d 12s ease-in-out infinite; color: var(--creative-ink); }
.f-trace   { top:78%; left:22%;  width:130px; animation: drift-e 10s ease-in-out infinite; background: var(--kids-bg); color: var(--kids-ink); }
.f-css     { top:76%; right:22%; width:100px; animation: drift-f  9s ease-in-out infinite; color: var(--tech-ink); }
@keyframes drift-a { 0%,100%{transform:translate(0,0) rotate(-2deg)} 50%{transform:translate(10px,-12px) rotate(2deg)} }
@keyframes drift-b { 0%,100%{transform:translate(0,0) rotate(3deg)} 50%{transform:translate(-12px,10px) rotate(-1deg)} }
@keyframes drift-c { 0%,100%{transform:translate(0,0) rotate(1deg)} 50%{transform:translate(14px,-8px) rotate(-3deg)} }
@keyframes drift-d { 0%,100%{transform:translate(0,0) rotate(-3deg)} 50%{transform:translate(-10px,14px) rotate(2deg)} }
@keyframes drift-e { 0%,100%{transform:translate(0,0) rotate(2deg)} 50%{transform:translate(12px,-10px) rotate(-2deg)} }
@keyframes drift-f { 0%,100%{transform:translate(0,0) rotate(-1deg)} 50%{transform:translate(-14px,-8px) rotate(3deg)} }
.fc-head { font-weight: 700; color: inherit; margin-bottom: 8px; font-size: 11px; }
.fc-mono { font-family: 'JetBrains Mono', monospace; font-size: 10px; }
.fc-bar  { height: 3px; border-radius: 2px; margin: 4px 0; }
.fc-bar-1{ width: 80%; background: var(--pro-ink); opacity: .6; }
.fc-bar-2{ width: 55%; background: rgba(60,52,137,0.15); }
.fc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin-top: 8px; }
.fc-grid i { height: 14px; background: rgba(83,74,183,0.15); border-radius: 2px; }
.fc-swatches { display: flex; gap: 4px; margin: 6px 0; }
.fc-swatches i { width: 16px; height: 16px; border-radius: 3px; }
.fc-cursive { font-family: var(--serif); font-style: italic; font-size: 22px; color: inherit; margin-top: 6px; }
.c-com { color: rgba(159,225,203,0.55); }
.c-key { color: #79B8FF; }
.c-fn  { color: #FFB8D1; }
.c-ok  { color: #9FE1CB; }

/* ─── PROOF MARQUEE ─── */
.proof-marquee {
  background: #0F0F0F;
  display: flex; align-items: center; overflow: hidden; height: 40px;
}
.marquee-label {
  flex-shrink: 0; font-size: 10px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--marigold); padding: 0 20px; border-right: 1px solid rgba(245,197,24,0.2); white-space: nowrap;
}
.marquee-track { overflow: hidden; flex: 1; }
.marquee-row {
  display: flex; gap: 48px; white-space: nowrap;
  animation: marquee 35s linear infinite;
}
.marquee-row span { flex-shrink: 0; font-size: 12px; color: rgba(245,241,232,0.55); }
.marquee-row span em { font-style: normal; color: var(--bone); font-weight: 600; }
.marquee-row mark { background: transparent; font-style: normal; border-radius: 0; padding: 0; }
.marquee-row mark.kw-pro      { color: #A89EE8; }
.marquee-row mark.kw-creative { color: #D98BAA; }
.marquee-row mark.kw-tech     { color: #79ACDA; }
.marquee-row mark.kw-lifestyle{ color: #6BBF9E; }
.marquee-row mark.kw-kids     { color: #C9944B; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ─── AISLES ─── */
.aisles { padding: 80px 28px; background: var(--bone); }
.aisle-grid {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 12px; max-width: 1100px; margin: 0 auto;
}
.aisle-card {
  background: var(--paper); border: 1.5px solid rgba(15,15,15,0.08);
  border-radius: 18px; padding: 24px 18px; display: block; cursor: pointer;
  position: relative; overflow: hidden;
  transition: box-shadow .25s, transform .25s, border-color .25s;
}
.aisle-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
}
.a-pro::before      { background: #534AB7; }
.a-creative::before { background: #993556; }
.a-tech::before     { background: #185FA5; }
.a-lifestyle::before{ background: #0F6E56; }
.a-kids::before     { background: #854F0B; }
.aisle-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px -8px rgba(15,15,15,0.12); }
.a-pro:hover      { border-color: rgba(83,74,183,0.25); }
.a-creative:hover { border-color: rgba(153,53,86,0.25); }
.a-tech:hover     { border-color: rgba(24,95,165,0.25); }
.a-lifestyle:hover{ border-color: rgba(15,110,86,0.25); }
.a-kids:hover     { border-color: rgba(133,79,11,0.25); }
.aisle-num  { font-size: 10px; letter-spacing: .1em; margin-bottom: 10px; }
.a-pro .aisle-num      { color: #534AB7; }
.a-creative .aisle-num { color: #993556; }
.a-tech .aisle-num     { color: #185FA5; }
.a-lifestyle .aisle-num{ color: #0F6E56; }
.a-kids .aisle-num     { color: #854F0B; }
.aisle-card h3 { font-family: 'Fraunces', serif; font-size: 17px; margin-bottom: 8px; color: #0F0F0F; }
.aisle-card p  { font-family: var(--sans); font-size: 11px; color: #3D3D3D; line-height: 1.6; margin-bottom: 16px; }
.aisle-count   { font-size: 11px; color: var(--smoke); font-weight: 600; }

/* ─── LIVE FEED ─── */
.live-feed { padding: 0 28px 60px; max-width: 700px; margin: 0 auto; background: var(--bone); }
.feed-head { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; }
.feed-item {
  display: flex; justify-content: space-between; align-items: center;
  padding: 11px 0; border-bottom: 1px solid var(--hairline);
  font-size: 12px; color: var(--smoke); animation: fadeIn .4s ease;
}
.feed-item strong { color: var(--ink); font-weight: 600; }
.feed-item em     { font-style: normal; color: var(--pro-accent); }
.feed-time { font-size: 10px; color: var(--smoke); flex-shrink: 0; margin-left: 16px; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ─── PRODUCT CARDS ─── */
.product-card {
  background: var(--paper);
  border: 1.5px solid rgba(15,15,15,0.08);
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  transition: box-shadow .25s, transform .25s, border-color .25s;
}
.product-card:hover { transform: translateY(-5px); box-shadow: 0 16px 40px -12px rgba(15,15,15,0.15); border-color: rgba(15,15,15,0.14); }
.card-thumb {
  height: 160px; position: relative;
  background: var(--bone-2) !important;
  display: grid; place-items: center;
  overflow: hidden; isolation: isolate;
}
.card-thumb::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
}
.pc-professional .card-thumb::before { background: #534AB7; }
.pc-creative .card-thumb::before     { background: #993556; }
.pc-tech .card-thumb::before         { background: #185FA5; }
.pc-lifestyle .card-thumb::before    { background: #0F6E56; }
.pc-kids .card-thumb::before         { background: #854F0B; }
.aisle-tag {
  position: absolute; top: 10px; left: 10px;
  font-size: 9px; letter-spacing: .08em;
  background: rgba(255,252,245,0.9); color: var(--smoke);
  padding: 3px 8px; border-radius: 20px;
  font-weight: 600; backdrop-filter: blur(4px);
  border: 1px solid rgba(15,15,15,0.08);
}
.pc-professional .aisle-tag { background: rgba(83,74,183,0.1); color: #534AB7; border-color: rgba(83,74,183,0.15); }
.pc-creative .aisle-tag     { background: rgba(153,53,86,0.1); color: #993556; border-color: rgba(153,53,86,0.15); }
.pc-tech .aisle-tag          { background: rgba(24,95,165,0.1); color: #185FA5; border-color: rgba(24,95,165,0.15); }
.pc-lifestyle .aisle-tag     { background: rgba(15,110,86,0.1); color: #0F6E56; border-color: rgba(15,110,86,0.15); }
.pc-kids .aisle-tag          { background: rgba(133,79,11,0.1); color: #854F0B; border-color: rgba(133,79,11,0.15); }
.polybag { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.polybag-icon  { font-size: 36px; filter: drop-shadow(0 2px 6px rgba(0,0,0,.1)); }
.polybag-label {
  font-size: 9px; letter-spacing: .08em;
  background: rgba(255,252,245,0.85); color: var(--concrete);
  padding: 3px 10px; border-radius: 20px; font-weight: 600;
  backdrop-filter: blur(4px); border: 1px solid rgba(15,15,15,0.18);
}
.dollar-sticker {
  background: var(--green); color: #fff;
  font-family: 'Fraunces', serif; font-size: 16px; font-weight: 700;
  width: 38px; height: 38px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 3px 10px rgba(0,200,117,.35);
  flex-shrink: 0;
}
.new-tag {
  position: absolute; top: 10px; right: 10px;
  background: #EEEDFE; color: #534AB7;
  font-size: 8px; font-weight: 700; letter-spacing: .1em;
  padding: 3px 8px; border-radius: 20px;
  border: 1px solid rgba(83,74,183,0.2);
}
.liq-badge {
  position: absolute; bottom: 10px; left: 10px;
  background: var(--red); color: #fff;
  font-size: 8px; letter-spacing: .06em;
  padding: 3px 8px; border-radius: 20px;
}

/* ─── MINI THUMBNAIL UIs ─── */
.mini-ui { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; }

/* Spreadsheet */
.mu-sheet { background: #fff; border-radius: 5px; overflow: hidden; width: 108px; border: 1px solid rgba(0,0,0,0.09); }
.mu-sheet-row { display: grid; grid-template-columns: repeat(3,1fr); }
.mu-sheet-cell { padding: 3px 4px; border-right: 1px solid rgba(0,0,0,0.06); border-bottom: 1px solid rgba(0,0,0,0.06); height: 15px; }
.mu-sheet-head { background: #F3F4F6; }
.mu-sheet-alt  { background: #F9FAFB; }
.mu-sheet-badge { background: rgba(22,163,74,0.12); color: #15803D; font-size: 6px; font-weight: 700; display: flex; align-items: center; justify-content: center; }

/* Notion */
.mu-notion { display: flex; width: 110px; height: 74px; background: #FAFAF9; border-radius: 5px; border: 1px solid rgba(0,0,0,0.08); overflow: hidden; }
.mu-notion-sidebar { width: 30px; background: #F1F0EF; padding: 6px 4px; display: flex; flex-direction: column; gap: 5px; border-right: 1px solid rgba(0,0,0,0.07); flex-shrink: 0; }
.mu-notion-nav { display: flex; align-items: center; gap: 3px; padding: 2px; border-radius: 3px; }
.mu-notion-nav.mu-active { background: rgba(0,0,0,0.07); }
.mu-notion-dot { width: 4px; height: 4px; border-radius: 50%; background: #C4C4C4; flex-shrink: 0; }
.mu-notion-nav.mu-active .mu-notion-dot { background: #3F3F3F; }
.mu-notion-lbl { height: 3px; flex: 1; background: #E5E5E5; border-radius: 2px; }
.mu-notion-nav.mu-active .mu-notion-lbl { background: #9B9B9B; }
.mu-notion-main { flex: 1; padding: 7px 6px; display: flex; flex-direction: column; gap: 5px; }
.mu-notion-prog-wrap { height: 4px; background: #EBEBEB; border-radius: 2px; overflow: hidden; }
.mu-notion-prog { height: 100%; width: 65%; background: #6366F1; border-radius: 2px; }
.mu-notion-check { display: flex; align-items: center; gap: 3px; }
.mu-notion-box { width: 9px; height: 9px; border: 1.5px solid #D4D4D4; border-radius: 2px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 6px; color: transparent; }
.mu-notion-check.mu-done .mu-notion-box { background: #6366F1; border-color: #6366F1; color: #fff; }
.mu-notion-check-lbl { height: 3px; flex: 1; background: #E0E0E0; border-radius: 2px; }
.mu-notion-check.mu-done .mu-notion-check-lbl { background: #BDBDBD; }

/* Chat / Prompt */
.mu-chat { display: flex; flex-direction: column; gap: 5px; width: 110px; }
.mu-bubble { padding: 5px 7px; border-radius: 9px; width: fit-content; max-width: 85%; }
.mu-bubble-user { background: #534AB7; align-self: flex-end; border-bottom-right-radius: 2px; }
.mu-bubble-bot  { background: #fff; border: 1px solid rgba(0,0,0,0.1); align-self: flex-start; border-bottom-left-radius: 2px; }
.mu-bbar { height: 3px; border-radius: 2px; margin: 2px 0; }
.mu-bbar.mu-long { width: 64px; }
.mu-bbar.mu-short { width: 36px; }
.mu-bubble-user .mu-bbar { background: rgba(255,255,255,0.45); }
.mu-bubble-bot  .mu-bbar { background: rgba(0,0,0,0.14); }
.mu-bubble-dots { font-size: 10px; color: rgba(255,255,255,0.85); letter-spacing: 2px; line-height: 1; }

/* Terminal / Python */
.mu-terminal { background: #1A1A2E; border-radius: 6px; overflow: hidden; width: 112px; }
.mu-term-bar  { display: flex; align-items: center; gap: 4px; padding: 5px 7px; background: #252545; }
.mu-term-dot  { width: 5px; height: 5px; border-radius: 50%; flex-shrink: 0; }
.mu-term-dot.r { background: #FF5F57; } .mu-term-dot.y { background: #FEBC2E; } .mu-term-dot.g { background: #28C840; }
.mu-term-body { padding: 5px 7px; display: flex; flex-direction: column; gap: 3px; }
.mu-term-line { font-size: 7.5px; line-height: 1.6; font-family: 'Courier New', monospace; white-space: nowrap; }
.mu-kw  { color: #79B8FF; } .mu-fn  { color: #FFB8D1; }
.mu-str { color: #9FE1CB; } .mu-cm  { color: #6A9955; }
.mu-cursor { display: inline-block; width: 5px; height: 9px; background: #CCC; vertical-align: middle; animation: mu-blink 1s step-end infinite; }
@keyframes mu-blink { 0%,100%{opacity:1} 50%{opacity:0} }

/* PDF Printable */
.mu-pdf { background: #fff; border-radius: 5px; padding: 7px 8px; width: 90px; border: 1px solid rgba(0,0,0,0.09); display: flex; flex-direction: column; gap: 4px; }
.mu-pdf-head { height: 7px; background: #2D3748; border-radius: 2px; width: 80%; }
.mu-pdf-line  { height: 2.5px; background: #E2E8F0; border-radius: 2px; }
.mu-pdf-line.mu-short { width: 60%; }
.mu-pdf-chart { display: flex; align-items: flex-end; gap: 3px; height: 20px; margin-top: 2px; }
.mu-pdf-bar   { flex: 1; border-radius: 2px 2px 0 0; background: #C7D2FE; }

/* Dashboard / Template */
.mu-dash { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; width: 94px; }
.mu-dash-block { border-radius: 4px; height: 28px; }
.mu-dash-c1 { background: #EDE9FE; } .mu-dash-c2 { background: #FEF9C3; }
.mu-dash-c3 { background: #DCFCE7; } .mu-dash-c4 { background: #FCE7F3; }

/* Swatches / PNG Pack */
.mu-swatches { display: grid; grid-template-columns: repeat(3,1fr); gap: 4px; width: 88px; }
.mu-swatch   { height: 22px; border-radius: 4px; }

/* ─── LIVING UI — Depth Layer System ─────────────────────────────────────── */
/* Adds position + overflow to mini-ui; does not change any existing property */
.mini-ui { position: relative; overflow: hidden; }

/* Ensure overlay badges stay above mu-window layers (aisle-tag has no z-index set) */
.card-thumb .aisle-tag,
.card-thumb .new-tag,
.card-thumb .liq-badge { z-index: 3; }

/* Base window — all formats share this */
.mu-window {
  position: absolute;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06), 0 1px 3px rgba(0,0,0,0.04);
  overflow: hidden;
}
.mu-layer-top { z-index: 1; transition: transform 0.18s ease; }

/* Window chrome (traffic-light dots) */
.mu-wbar { display:flex; gap:3px; align-items:center; padding:4px 6px; background:#F5F5F5; border-bottom:1px solid rgba(0,0,0,0.06); flex-shrink:0; }
.mu-wdot { width:5px; height:5px; border-radius:50%; flex-shrink:0; }
.mu-wd-r { background:#FF5F57; } .mu-wd-y { background:#FEBC2E; } .mu-wd-g { background:#28C840; }

/* — SPREADSHEET — */
.mu-w-table { width:118px; top:18px; left:50%; margin-left:-59px; display:flex; flex-direction:column; }
.mu-sg { display:flex; flex-direction:column; }
.mu-sg-row { display:grid; grid-template-columns:32px 1fr 1fr; border-bottom:1px solid rgba(0,0,0,0.05); min-height:13px; }
.mu-sg-c   { border-right:1px solid rgba(0,0,0,0.05); }
.mu-sg-hr .mu-sg-c { background:#F3F4F6; }
.mu-sg-z   .mu-sg-c { background:#F9FAFB; }
.mu-sg-em  { background:rgba(0,201,167,0.14) !important; }
.mu-w-pop  { width:70px; bottom:16px; right:14px; padding:6px 7px 5px; }
.mu-pop-tag { font-size:7px; font-weight:800; color:#00C9A7; margin-bottom:4px; letter-spacing:.02em; }
.mu-pop-bars { display:flex; align-items:flex-end; gap:2px; height:18px; }
.mu-pop-bars > div { flex:1; border-radius:2px 2px 0 0; background:rgba(0,201,167,0.55); }
.mu-pop-bars > div:last-child { background:#00C9A7; }

/* — NOTION — */
.mu-w-nws  { width:118px; height:88px; top:16px; left:50%; margin-left:-59px; display:flex; }
.mu-ns-side { width:28px; background:#F1F0EF; flex-shrink:0; padding:6px 4px; display:flex; flex-direction:column; gap:4px; border-right:1px solid rgba(0,0,0,0.07); }
.mu-ns-item { display:flex; align-items:center; gap:3px; padding:2px; border-radius:2px; }
.mu-ns-item.mu-ns-active { background:rgba(0,0,0,0.08); }
.mu-ns-dot  { width:4px; height:4px; border-radius:50%; background:#C4C4C4; flex-shrink:0; }
.mu-ns-item.mu-ns-active .mu-ns-dot { background:#3F3F3F; }
.mu-ns-lbl2 { height:2.5px; flex:1; background:#E5E5E5; border-radius:2px; }
.mu-ns-item.mu-ns-active .mu-ns-lbl2 { background:#999; }
.mu-ns-main { flex:1; padding:7px 6px; display:flex; flex-direction:column; gap:4px; background:#FAFAF9; }
.mu-ns-ttl  { height:5px; background:#E0E0E0; border-radius:2px; width:65%; }
.mu-ns-pb   { height:3.5px; background:#EBEBEB; border-radius:2px; overflow:hidden; }
.mu-ns-fill { height:100%; width:62%; background:#6366F1; border-radius:2px; }
.mu-ns-ln   { height:2.5px; background:#EBEBEB; border-radius:2px; }
.mu-ns-ln.mu-ns-s { width:70%; }
.mu-ns-chk  { display:flex; align-items:center; gap:3px; }
.mu-ns-box  { width:9px; height:9px; border:1.5px solid #D4D4D4; border-radius:2px; flex-shrink:0; display:flex; align-items:center; justify-content:center; font-size:5px; color:transparent; }
.mu-ns-chk.mu-ns-done .mu-ns-box { background:#6366F1; border-color:#6366F1; color:#fff; }
.mu-ns-lbl  { height:2.5px; flex:1; background:#E0E0E0; border-radius:2px; }
.mu-ns-chk.mu-ns-done .mu-ns-lbl { background:#BDBDBD; }
.mu-w-avs  { top:90px; left:50%; margin-left:-26px; width:52px; height:20px; background:transparent; box-shadow:none; overflow:visible; z-index:2; }
.mu-av     { width:18px; height:18px; border-radius:50%; border:2px solid #EEE8DA; position:absolute; top:0; }
.mu-av-1   { background:#6366F1; left:0; }
.mu-av-2   { background:#00C9A7; left:12px; }
.mu-av-3   { background:#FFCB00; left:24px; }

/* — CHAT / PROMPT — */
.mu-w-chat2   { width:114px; top:30px; left:50%; margin-left:-57px; padding:8px 7px; display:flex; flex-direction:column; gap:5px; background:#F6F7FB; }
.mu-w-persona { width:102px; top:14px; left:50%; margin-left:-51px; padding:4px 7px; display:flex; align-items:center; gap:5px; }
.mu-persona-icon { width:14px; height:14px; border-radius:50%; background:#6366F1; flex-shrink:0; }
.mu-persona-lbl  { height:3.5px; flex:1; background:#DDD; border-radius:2px; }
.mu-cb     { padding:4px 6px; border-radius:7px; width:fit-content; max-width:90%; }
.mu-cb-u   { background:#6366F1; align-self:flex-end; }
.mu-cb-b   { background:#fff; border:1px solid rgba(0,0,0,0.1); align-self:flex-start; }
.mu-cb-bar { height:2.5px; border-radius:2px; margin:1.5px 0; }
.mu-cb-long  { width:55px; }
.mu-cb-short { width:30px; }
.mu-cb-u .mu-cb-bar { background:rgba(255,255,255,0.45); }
.mu-cb-b .mu-cb-bar { background:rgba(0,0,0,0.13); }

/* — PYTHON / CODE — */
.mu-w-ide  { width:118px; top:15px; left:50%; margin-left:-59px; background:#1A1A2E; }
.mu-ide-bar { display:flex; gap:3px; align-items:center; padding:4px 6px; background:#252545; }
.mu-ide-dot { width:5px; height:5px; border-radius:50%; flex-shrink:0; }
.mu-id-r { background:#FF5F57; } .mu-id-y { background:#FEBC2E; } .mu-id-g { background:#28C840; }
.mu-ide-body { padding:5px 7px; display:flex; flex-direction:column; gap:3px; }
.mu-ide-ln   { font-size:7px; line-height:1.6; font-family:'Courier New',monospace; white-space:nowrap; }
.mu-syn-kw  { color:#79B8FF; } .mu-syn-fn  { color:#FFB8D1; }
.mu-syn-str { color:#9FE1CB; } .mu-syn-cm  { color:#6A9955; }
.mu-syn-cur { display:inline-block; width:4px; height:8px; background:#CCC; vertical-align:middle; animation:mu-blink 1s step-end infinite; }
.mu-w-run  { width:58px; bottom:14px; right:12px; padding:4px 7px; display:flex; align-items:center; gap:4px; }
.mu-run-dot { width:6px; height:6px; border-radius:50%; background:#28C840; flex-shrink:0; }
.mu-run-lbl { font-size:7px; font-weight:700; color:#28C840; white-space:nowrap; }

/* — PDF / PRINTABLE — */
.mu-w-pdf-back  { width:70px; height:90px; top:20px; left:50%; margin-left:-20px; transform:rotate(-6deg); background:#F0F0F0; border-radius:4px; }
.mu-w-pdf-front { width:70px; height:90px; top:14px; left:50%; margin-left:-46px; padding:8px 8px 6px; display:flex; flex-direction:column; gap:3px; }
.mu-doc-head { height:7px; background:#2D3748; border-radius:2px; width:80%; }
.mu-doc-ln   { height:2.5px; background:#E2E8F0; border-radius:2px; }
.mu-doc-ln.mu-doc-s { width:60%; }
.mu-doc-rule { border-top:1px dashed rgba(0,0,0,0.1); margin:2px 0; }
.mu-doc-bars { display:flex; align-items:flex-end; gap:2px; height:18px; margin-top:2px; flex:1; }
.mu-doc-bar  { flex:1; border-radius:2px 2px 0 0; background:#C7D2FE; }

/* — PNG / ASSET PACK — */
.mu-w-assets  { width:118px; top:14px; left:50%; margin-left:-59px; display:flex; flex-direction:column; }
.mu-ast-grid  { display:grid; grid-template-columns:repeat(3,1fr); gap:4px; padding:5px; }
.mu-ast-tile  { height:28px; border-radius:4px; }
.mu-w-ast-tag { width:54px; bottom:12px; right:12px; padding:4px 6px; background:#6366F1; overflow:hidden; }
.mu-ast-tag-lbl { font-size:7px; font-weight:700; color:#fff; text-align:center; white-space:nowrap; }

/* — DEFAULT DASHBOARD — */
.mu-w-board  { width:118px; top:14px; left:50%; margin-left:-59px; padding:7px 6px 5px; display:flex; flex-direction:column; gap:4px; }
.mu-bd-wrap  { display:flex; flex-direction:column; gap:4px; }
.mu-bd-top   { display:grid; grid-template-columns:1fr 1fr; gap:4px; }
.mu-bd-stack { display:flex; flex-direction:column; gap:4px; }
.mu-bd-block { border-radius:4px; }
.mu-bd-tall  { height:36px; }
.mu-bd-short { height:16px; }
.mu-bd-wide  { height:14px; }
.mu-bd-c1 { background:#EDE9FE; } .mu-bd-c2 { background:#FEF9C3; }
.mu-bd-c3 { background:#DCFCE7; } .mu-bd-c4 { background:#FCE7F3; }
.mu-w-fab   { width:38px; bottom:10px; right:12px; padding:4px 5px; background:#6366F1; display:flex; align-items:center; justify-content:center; }
.mu-fab-lbl { font-size:7px; font-weight:700; color:#fff; white-space:nowrap; }

/* Hover parallax — top layer lifts 2px faster than background layer */
.catalog-grid .product-card:hover .mu-layer-top,
.spotlight-grid .product-card:hover .mu-layer-top { transform: translateY(-1.5px); }

/* Grounded swing — cards rotate from their base, not center */
.catalog-grid .product-card,
.spotlight-grid .product-card { transform-origin: center bottom; }

.card-body  { padding: 14px 16px 14px; }
.card-name  { font-size: 12px; font-weight: 600; color: var(--ink); line-height: 1.5; margin-bottom: 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-meta  { font-family: var(--sans); font-size: 10px; color: var(--concrete); margin-bottom: 12px; }
.meta-kw    { font-weight: 600; }
.pc-professional .meta-kw { color: #534AB7; }
.pc-creative .meta-kw     { color: #993556; }
.pc-tech .meta-kw          { color: #185FA5; }
.pc-lifestyle .meta-kw     { color: #0F6E56; }
.pc-kids .meta-kw          { color: #854F0B; }
.card-footer{ display: flex; align-items: center; justify-content: space-between; }
.add-btn {
  background: var(--ink);
  color: var(--bone); border-radius: 6px; padding: 5px 12px;
  font-family: var(--mono); font-size: 11px; font-weight: 600;
  transition: opacity .2s, transform .15s;
}
.add-btn:hover { opacity: .85; transform: translateY(-1px); }
.add-btn.added {
  background: rgba(15,15,15,0.06); color: var(--smoke);
  box-shadow: none;
}

/* ─── GRIDS ─── */
.spotlight { padding: 60px 28px 30px; background: var(--bone); }
.spotlight-grid, .catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px; max-width: 1200px; margin: 0 auto;
}
.catalog { padding: 40px 28px 100px; background: var(--paper); }
.catalog-bar {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1200px; margin: 0 auto 24px; flex-wrap: wrap; gap: 12px;
}
.catalog-title { font-size: 12px; color: var(--smoke); }
.catalog-tabs  { display: flex; gap: 6px; flex-wrap: wrap; }
.cat-tab {
  border: 1.5px solid var(--hairline); border-radius: 20px;
  padding: 5px 14px; font-family: inherit; font-size: 11px; color: var(--smoke);
  background: var(--paper);
  transition: border-color .2s, color .2s, background .2s;
}
.cat-tab:hover  { border-color: var(--hairline); color: var(--concrete); background: var(--bone-2); }
.cat-tab.active {
  border-color: var(--ink); color: var(--paper);
  background: var(--ink);
  font-weight: 600;
}
.empty-state {
  grid-column: 1 / -1; text-align: center; padding: 60px 24px;
  color: var(--muted); font-size: 13px; line-height: 2;
}
.empty-icon { font-size: 40px; margin-bottom: 12px; }

/* ─── AI CEO ─── */
.ai-ceo {
  padding: 80px 28px;
  background: #0F0F0F;
  margin-top: 60px;
}
.ceo-stage {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
}
.ceo-eyebrow { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--marigold); display: block; margin-bottom: 12px; }
.ceo-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(26px, 3.5vw, 42px);
  line-height: 1.2; margin: 0 0 20px; color: var(--bone);
}
.ceo-title > span { display: block; opacity: .15; transition: opacity .5s; }
.ceo-title > span.active { opacity: 1; }
.ceo-sub { font-family: var(--sans); font-size: 12px; color: rgba(245,241,232,0.55); line-height: 1.85; max-width: 420px; }
.ceo-visual { position: relative; height: 300px; }
.ceo-orb {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 80px; height: 80px;
  background: linear-gradient(135deg, var(--accent), var(--pink));
  border-radius: 50%;
  box-shadow: 0 0 40px rgba(80,52,255,.3);
  animation: orb-pulse 3s ease-in-out infinite;
}
@keyframes orb-pulse {
  0%,100% { transform:translate(-50%,-50%) scale(1); box-shadow:0 0 40px rgba(80,52,255,.3); }
  50%      { transform:translate(-50%,-50%) scale(1.12); box-shadow:0 0 80px rgba(80,52,255,.5); }
}
.ceo-orbit { position: absolute; }
.ceo-orbit span {
  font-size: 10px; letter-spacing: .06em;
  background: rgba(245,241,232,0.08); border: 1.5px solid rgba(245,241,232,0.18);
  border-radius: 20px; padding: 5px 12px; color: rgba(245,241,232,0.6);
  display: block;
}
.ceo-orbit-1 { top: 8%;   left: 50%; transform: translateX(-50%); }
.ceo-orbit-2 { top: 50%;  right: 4%; transform: translateY(-50%); }
.ceo-orbit-3 { bottom: 8%; left: 50%; transform: translateX(-50%); }
.ceo-orbit-4 { top: 50%;  left: 4%;  transform: translateY(-50%); }

/* ─── JOURNEY ─── */
.journey { padding: 80px 28px; background: var(--bone-2); }
.journey-rail {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px; max-width: 1100px; margin: 0 auto;
}
.persona {
  background: var(--paper); border: 1.5px solid rgba(15,15,15,0.08);
  border-radius: 14px; padding: 24px; transition: box-shadow .25s, border-color .25s;
}
.persona:hover { box-shadow: 0 8px 24px -8px rgba(15,15,15,0.12); border-color: rgba(15,15,15,0.14); }
.persona-avatar {
  width: 36px; height: 36px;
  background: var(--ink);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Fraunces', serif; font-size: 16px; color: var(--marigold); font-weight: 600;
  margin-bottom: 16px;
}
.persona-quote { font-family: var(--sans); font-size: 12px; color: var(--ink); line-height: 1.7; margin-bottom: 12px; font-style: italic; }
.persona-meta  { font-family: var(--sans); font-size: 10px; color: var(--smoke); margin-bottom: 12px; }
.persona-meta strong { color: var(--ink); }
.persona-stat span {
  font-family: 'Fraunces', serif; font-size: 20px; display: block; color: var(--ink);
}
.p-teacher .persona-stat span  { color: #854F0B; }
.p-dev .persona-stat span      { color: #185FA5; }
.p-marketer .persona-stat span { color: #993556; }
.p-hustler .persona-stat span  { color: #534AB7; }
.p-student .persona-stat span  { color: #0F6E56; }
.persona-stat { font-size: 10px; color: var(--smoke); }

/* ─── HERALD ─── */
.herald-landing { padding: 60px 28px; background: var(--bone); border-top: 1px solid var(--hairline); }
.herald-inner { max-width: 640px; margin: 0 auto; text-align: center; }
.herald-eyebrow { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--smoke); display: block; margin-bottom: 12px; }
.herald-headline { font-family: 'Fraunces', serif; font-size: clamp(20px, 3vw, 30px); margin-bottom: 16px; color: var(--ink); }
.herald-body { font-family: var(--sans); font-size: 13px; color: var(--smoke); line-height: 1.8; margin-bottom: 24px; }

/* ─── TRUST ─── */
.trust { padding: 80px 28px; background: var(--bone); }
.trust-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 16px; max-width: 800px; margin: 0 auto;
}
.trust-card {
  background: var(--paper); border: 1.5px solid rgba(15,15,15,0.08);
  border-radius: 14px; padding: 28px 24px; text-align: center;
  transition: box-shadow .25s, transform .25s;
}
.trust-card:hover { box-shadow: 0 8px 24px -8px rgba(15,15,15,0.12); transform: translateY(-3px); }
.trust-icon { font-size: 28px; margin-bottom: 12px; }
.trust-card:nth-child(1) .trust-icon { color: var(--marigold); }
.trust-card:nth-child(2) .trust-icon { color: #185FA5; }
.trust-card:nth-child(3) .trust-icon { color: var(--emerald); }
.trust-card:nth-child(4) .trust-icon { color: #534AB7; }
.trust-card h4 { font-family: 'Fraunces', serif; font-size: 16px; margin-bottom: 8px; color: var(--ink); }
.trust-card p  { font-family: var(--sans); font-size: 11px; color: var(--smoke); line-height: 1.7; }

/* ─── FAQ ─── */
.faq { padding: 80px 28px; background: var(--bone-2); }
.faq-list { max-width: 680px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--hairline); }
.faq-item summary {
  font-size: 13px; cursor: pointer; list-style: none;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 0; color: var(--ink); font-weight: 500;
  transition: color .2s;
}
.faq-item summary:hover { color: #534AB7; }
.faq-item[open] summary { color: #534AB7; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; color: var(--smoke); font-size: 22px; flex-shrink: 0; transition: transform .2s; }
.faq-item[open] summary::after { transform: rotate(45deg); color: #534AB7; }
.faq-body { font-family: var(--sans); font-size: 12px; color: var(--smoke); line-height: 1.8; padding: 0 0 16px; }

/* ─── TRANSITION ─── */
.transition-zone { padding: 32px 28px; background: var(--bone); }
.transition-label {
  font-size: 11px; letter-spacing: .2em; color: var(--smoke);
  display: flex; align-items: center; gap: 16px; justify-content: center;
  max-width: 500px; margin: 0 auto;
}
.transition-label::before, .transition-label::after {
  content: ''; flex: 1; height: 1px; background: var(--hairline);
}

/* ─── LIQUIDATION STRIP ─── */
.liq-strip {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 50;
  background: #FFF5F5; border-top: 2px solid #FFD5D5;
  display: flex; align-items: center; gap: 16px;
  padding: 10px 28px; font-size: 12px;
  box-shadow: 0 -4px 16px rgba(255,71,71,.08);
}
.liq-eyebrow { color: var(--red); letter-spacing: .06em; flex-shrink: 0; font-weight: 600; }
.liq-text    { color: var(--muted); }
.liq-text strong { color: var(--text); }
.liq-timer   { font-family: 'JetBrains Mono', monospace; color: var(--red); font-size: 12px; margin-left: auto; font-weight: 600; }
.liq-cta {
  background: var(--red); color: #fff; border-radius: 20px;
  padding: 5px 14px; font-size: 11px; flex-shrink: 0;
  transition: background .2s; font-weight: 600;
}
.liq-cta:hover { background: #e03030; }

/* ─── FOOTER ─── */
.footer { padding: 48px 28px 80px; background: #0F0F0F; border-top: none; }
.footer-grid {
  max-width: 1100px; margin: 0 auto 40px;
  display: grid; grid-template-columns: 200px 1fr; gap: 48px;
}
.footer-brand { display: flex; align-items: flex-start; gap: 12px; }
.footer-brand .brand-mark { font-size: 22px; }
.footer-brand strong { font-size: 12px; display: block; margin-bottom: 4px; color: var(--bone); }
.footer-brand p { font-size: 10px; color: rgba(245,241,232,0.4); }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer-cols h5 { font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: rgba(245,241,232,0.3); margin-bottom: 12px; }
.footer-cols a  { display: block; font-size: 12px; color: rgba(245,241,232,0.5); margin-bottom: 8px; transition: color .2s; }
.footer-cols a:hover { color: var(--bone); }
.footer-bar {
  max-width: 1100px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 11px; color: rgba(245,241,232,0.3); flex-wrap: wrap; gap: 8px;
}

/* ─── MODALS ─── */
.modal-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(26,16,64,.45);
  z-index: 200;
  place-items: center;
  padding: 24px;
  overflow-y: auto;
  backdrop-filter: blur(4px);
}
.modal-overlay.open { display: grid; animation: fadeIn .2s ease; }
.close-btn {
  position: absolute; top: 12px; right: 12px;
  width: 28px; height: 28px;
  background: var(--bg-alt); border: 1px solid var(--border); border-radius: 50%;
  font-size: 12px; color: var(--muted);
  display: flex; align-items: center; justify-content: center;
  transition: color .2s, border-color .2s, background .2s; z-index: 2; cursor: pointer;
}
.close-btn:hover { color: var(--accent); border-color: var(--accent); background: var(--surf2); }

/* Cart card (hero brand: editorial paper + ink) */
.cart-card {
  background: var(--paper); border: 1px solid var(--hairline); border-top: 3px solid var(--accent);
  border-radius: 16px; width: 100%; max-width: 400px; max-height: 88vh;
  overflow-y: auto; position: relative;
  box-shadow: 0 18px 40px -20px rgba(15,15,15,.18), 0 4px 8px -4px rgba(15,15,15,.08);
}
.cart-head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 20px 22px 16px; border-bottom: 1px solid var(--hairline);
}
.cart-head__title { display: flex; align-items: center; gap: 10px; }
.cart-title { font-family: var(--serif); font-size: 22px; font-weight: 500; letter-spacing: -.5px; color: var(--ink); }
.cart-count-chip { background: var(--accent); color: #fff; font-family: var(--mono); font-size: 11px; font-weight: 600; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; }
.cart-body { padding: 16px 22px 22px; }
.cart-empty { text-align: center; color: var(--smoke); font-family: var(--mono); font-size: 12px; padding: 28px 0; line-height: 1.6; }
.cart-line { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--hairline); }
.cart-thumb { width: 46px; height: 46px; min-width: 46px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 22px; flex-shrink: 0; box-shadow: inset 0 0 0 1px rgba(15,15,15,.06); }
.cart-line__info { flex: 1; min-width: 0; }
.cart-line .item-name { font-family: var(--sans); font-size: 13px; font-weight: 500; color: var(--ink); line-height: 1.4; }
.cart-line .item-sku  { display: block; font-family: var(--mono); font-size: 9px; color: var(--smoke); margin-top: 3px; letter-spacing: .04em; }
.cart-line .item-fmt  { font-family: var(--mono); font-size: 9px; color: var(--concrete); }
.cart-line .item-price { font-family: var(--mono); font-size: 13px; font-weight: 700; color: var(--emerald); flex-shrink: 0; }
.cart-select { width: 18px; height: 18px; min-width: 18px; margin-top: 1px; accent-color: var(--ink); cursor: pointer; flex-shrink: 0; visibility: hidden; opacity: 0; transition: opacity .18s ease; }
.cart-line:hover .cart-select, .cart-select:checked { visibility: visible; opacity: 1; }
.cart-delete-btn { flex-shrink: 0; width: 22px; height: 22px; display: flex; align-items: center; justify-content: center; background: none; border: none; cursor: pointer; font-size: 12px; color: var(--smoke); visibility: hidden; opacity: 0; transition: opacity .18s ease, color .15s ease; border-radius: 50%; padding: 0; }
.cart-line:hover .cart-delete-btn { visibility: visible; opacity: 1; }
.cart-delete-btn:hover { color: var(--red); }
.cart-total {
  display: flex; justify-content: space-between; align-items: baseline;
  font-family: var(--mono); font-size: 14px; font-weight: 700; color: var(--ink);
  padding-top: 14px; margin-top: 6px; border-top: 1px solid var(--hairline);
}
.cart-checkout {
  display: block; width: 100%; margin-top: 16px;
  background: linear-gradient(90deg, var(--accent) 25%, var(--accent-l)); color: #fff; border: none; border-radius: 999px;
  font-family: var(--sans); font-size: 14px; font-weight: 600; padding: 14px;
  cursor: pointer; box-shadow: 0 8px 20px -8px rgba(80,52,255,.45);
  transition: transform .2s, box-shadow .2s;
}
.cart-checkout:hover { transform: translateY(-2px); box-shadow: 0 12px 28px -8px rgba(15,15,15,.4); }
.cart-actions { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
.remove-selected-btn {
  display: block; width: 100%; border-radius: 999px; padding: 11px;
  background: var(--paper); border: 1px solid var(--red); color: var(--red);
  font-family: var(--sans); font-size: 13px; font-weight: 500; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.remove-selected-btn:hover { background: var(--red); color: #fff; }
.remove-selected-btn[disabled] { opacity: .45; cursor: default; border-color: var(--hairline); color: var(--smoke); }
.remove-selected-btn[disabled]:hover { background: var(--paper); color: var(--smoke); }
.cart-clear { display: block; width: 100%; text-align: center; font-family: var(--mono); font-size: 11px; color: var(--smoke); padding: 6px; cursor: pointer; transition: color .2s; }
.cart-clear:hover { color: var(--red); }
/* upsell — paper sub-card */
.upsell-box { background: var(--bone); border: 1px solid var(--hairline); border-radius: 12px; padding: 12px; margin: 14px 0 4px; }
.upsell-head { font-family: var(--mono); font-size: 10px; color: var(--smoke); margin-bottom: 8px; }
.upsell-item { display: flex; align-items: center; gap: 8px; }
.upsell-name  { font-family: var(--sans); font-size: 12px; flex: 1; color: var(--ink); }
.upsell-price { font-family: var(--mono); color: var(--emerald); font-size: 12px; font-weight: 700; }
.upsell-add   {
  background: var(--ink); color: var(--bone); border-radius: 999px; padding: 5px 12px;
  font-family: var(--mono); font-size: 10px; cursor: pointer; font-weight: 600; border: none;
}
.upsell-add:hover { opacity: .9; }
/* premium: reward meter */
.cart-meter { margin: 4px 0 16px; }
.cart-meter__track { height: 8px; border-radius: 999px; background: var(--surf2); overflow: hidden; }
.cart-meter__bar { height: 100%; width: 0; border-radius: 999px; background: linear-gradient(90deg, var(--accent), var(--accent-l)); transition: width .4s ease; }
.cart-meter.is-complete .cart-meter__bar { background: linear-gradient(90deg, var(--emerald), #34d399); }
.cart-meter__label { font-family: var(--mono); font-size: 10px; color: var(--smoke); margin-top: 7px; letter-spacing: .02em; }
.cart-meter.is-complete .cart-meter__label { color: var(--emerald); font-weight: 600; }
/* premium: savings badge */
.cart-savings { display: flex; align-items: center; justify-content: flex-end; gap: 8px; margin-top: 14px; }
.savings-badge { background: var(--accent); color: #fff; font-family: var(--mono); font-size: 10px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; }
.cart-market { font-family: var(--mono); font-size: 12px; color: var(--smoke); }
/* premium: value props footer */
.cart-valueprops { display: flex; justify-content: space-between; gap: 6px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--hairline); }
.cart-valueprops li { font-family: var(--mono); font-size: 9.5px; color: var(--smoke); letter-spacing: .01em; white-space: nowrap; }

/* Product modal */
.pd-card {
  background: var(--surface); border: 1.5px solid var(--border);
  border-radius: 16px; width: 100%; max-width: 480px;
  max-height: 90vh; display: flex; flex-direction: column; overflow: hidden;
  position: relative; box-shadow: var(--shadow-lg);
}
.pd-thumb { height: 200px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; isolation: isolate; }
.pd-body  { padding: 24px; overflow-y: auto; flex: 1; }
.pd-name  { font-family: 'Fraunces', serif; font-size: 22px; line-height: 1.25; margin-bottom: 8px; color: var(--text); }
.pd-meta  { font-size: 11px; color: var(--dim); margin-bottom: 12px; }
.pd-desc  { font-size: 12px; color: var(--muted); line-height: 1.75; margin-bottom: 20px; min-height: 36px; }
.pd-footer{ display: flex; align-items: center; justify-content: space-between; }
.pd-add {
  background: linear-gradient(90deg, var(--accent), var(--accent-l));
  color: #fff; border-radius: var(--r);
  padding: 10px 22px; font-family: 'JetBrains Mono', monospace; font-size: 12px; font-weight: 600;
  cursor: pointer; transition: opacity .2s; border: none;
  box-shadow: 0 4px 14px rgba(80,52,255,.3);
}
.pd-add:hover:not(:disabled) { opacity: .9; }
.pd-add:disabled { opacity: .45; cursor: not-allowed; }

/* ─── CHAT WIDGET ─── */
.chat-widget { position: fixed; bottom: 60px; right: 16px; z-index: 150; }
.chat-toggle {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--accent), var(--accent-l));
  border-radius: 50%; font-size: 20px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(80,52,255,.35);
  transition: transform .2s; cursor: pointer; border: none;
}
.chat-toggle:hover { transform: scale(1.08); }
.chat-panel {
  position: absolute; bottom: 58px; right: 0; width: 300px;
  background: var(--surface); border: 1.5px solid var(--border);
  border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-lg);
}
.chat-panel[hidden] { display: none; }
.chat-header {
  background: linear-gradient(90deg, var(--accent), var(--accent-l));
  padding: 14px 16px;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 13px; color: #fff; font-weight: 600;
}
.chat-header button { font-size: 16px; color: rgba(255,255,255,.7); cursor: pointer; border: none; background: none; }
.chat-messages { padding: 12px; height: 240px; overflow-y: auto; display: flex; flex-direction: column; gap: 8px; }
.chat-msg { font-size: 12px; line-height: 1.5; padding: 8px 12px; border-radius: 12px; max-width: 90%; word-break: break-word; }
.chat-msg.bot    { background: var(--bg-alt); color: var(--muted); align-self: flex-start; border: 1px solid var(--border-l); }
.chat-msg.user   { background: linear-gradient(90deg, var(--accent), var(--accent-l)); color: #fff; align-self: flex-end; }
.chat-msg.typing { background: var(--bg-alt); color: var(--dim); align-self: flex-start; }
/* Percolating thinking indicator */
.chat-thinking {
  display: flex; gap: 5px; align-items: center;
  padding: 10px 14px; background: var(--bg-alt);
  border: 1px solid var(--border-l); border-radius: 12px;
  align-self: flex-start; width: fit-content;
}
.chat-thinking span {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent); opacity: 0.3;
  animation: chatPerc 1.1s ease-in-out infinite;
}
.chat-thinking span:nth-child(2) { animation-delay: 0.22s; }
.chat-thinking span:nth-child(3) { animation-delay: 0.44s; }
@keyframes chatPerc {
  0%,100% { transform: translateY(0);    opacity: 0.3; }
  50%      { transform: translateY(-6px); opacity: 1;   }
}
.chat-msg.bot-meta { font-size: 10px; opacity: .55; background: none; border: none; padding: 2px 4px; }
.chat-input-row  { display: flex; border-top: 1px solid var(--border-l); }
.chat-input-row input {
  flex: 1; background: transparent; border: none; outline: none;
  padding: 10px 12px; font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--text);
}
.chat-input-row input::placeholder { color: var(--dim); }
.chat-input-row button { padding: 10px 14px; color: var(--accent); font-size: 18px; cursor: pointer; border: none; background: none; font-weight: 700; }

/* ─── TOAST ─── */
#dds-toast {
  position: fixed; bottom: 68px; left: 50%; transform: translateX(-50%);
  background: var(--text); border-radius: 20px;
  padding: 10px 20px; font-size: 12px; color: #fff;
  z-index: 400; animation: fadeIn .2s ease; white-space: nowrap; max-width: 320px;
  overflow: hidden; text-overflow: ellipsis; box-shadow: var(--shadow-md);
}
#dds-toast[style*="background:#F87171"] { background: var(--red) !important; }

/* ─── CARD FLOAT + WIGGLE ─── */
@keyframes card-float  { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-6px)} }
@keyframes card-wiggle {
  0%   { transform:translateY(0) rotate(0deg); }
  12%  { transform:translateY(-5px) rotate(-2deg); }
  28%  { transform:translateY(-5px) rotate(2deg); }
  44%  { transform:translateY(-5px) rotate(-1.3deg); }
  60%  { transform:translateY(-5px) rotate(0.6deg); }
  76%  { transform:translateY(-5px) rotate(-0.2deg); }
  100% { transform:translateY(-4px) rotate(0deg); }
}
.catalog-grid   .product-card { animation: card-float 4s ease-in-out infinite; }
.spotlight-grid .product-card { animation: card-float 4s ease-in-out infinite; }
/* Stagger: each nth-child gets its own rhythm via duration + negative delay */
.catalog-grid .product-card:nth-child(1)  { animation-duration:3.8s; animation-delay:0s;     }
.catalog-grid .product-card:nth-child(2)  { animation-duration:4.3s; animation-delay:-1.3s;  }
.catalog-grid .product-card:nth-child(3)  { animation-duration:3.6s; animation-delay:-2.7s;  }
.catalog-grid .product-card:nth-child(4)  { animation-duration:4.7s; animation-delay:-0.8s;  }
.catalog-grid .product-card:nth-child(5)  { animation-duration:3.9s; animation-delay:-3.4s;  }
.catalog-grid .product-card:nth-child(6)  { animation-duration:4.2s; animation-delay:-1.9s;  }
.catalog-grid .product-card:nth-child(7)  { animation-duration:4.5s; animation-delay:-2.2s;  }
.catalog-grid .product-card:nth-child(8)  { animation-duration:3.7s; animation-delay:-0.5s;  }
.catalog-grid .product-card:nth-child(9)  { animation-duration:4.1s; animation-delay:-3.8s;  }
.catalog-grid .product-card:nth-child(10) { animation-duration:3.5s; animation-delay:-1.6s;  }
.catalog-grid .product-card:nth-child(11) { animation-duration:4.4s; animation-delay:-2.9s;  }
.catalog-grid .product-card:nth-child(12) { animation-duration:3.8s; animation-delay:-0.9s;  }
.spotlight-grid .product-card:nth-child(1) { animation-duration:4.1s; animation-delay:-0.3s;  }
.spotlight-grid .product-card:nth-child(2) { animation-duration:3.8s; animation-delay:-2.1s;  }
.spotlight-grid .product-card:nth-child(3) { animation-duration:4.4s; animation-delay:-1.0s;  }
.spotlight-grid .product-card:nth-child(4) { animation-duration:3.6s; animation-delay:-3.2s;  }
.spotlight-grid .product-card:nth-child(5) { animation-duration:4.2s; animation-delay:-0.7s;  }
.spotlight-grid .product-card:nth-child(6) { animation-duration:3.9s; animation-delay:-2.5s;  }
/* Hover: replace float with wiggle-then-settle */
.catalog-grid   .product-card:hover,
.spotlight-grid .product-card:hover { animation: card-wiggle 0.5s ease forwards; }
@media (prefers-reduced-motion: reduce) {
  .catalog-grid .product-card, .spotlight-grid .product-card { animation: none !important; }
}

/* ─── REVEALS ─── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .55s ease, transform .55s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ─── SCROLLBAR ─── */
::-webkit-scrollbar { width: 4px; height: 4px; }
::-webkit-scrollbar-track { background: var(--bg-alt); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }

/* ─── RESPONSIVE ─── */
@media (max-width: 1100px) {
  .hero-cloud { display: none; }
  .hero { min-height: auto; padding: 60px 28px 80px; }
  .aisle-grid { grid-template-columns: repeat(3, 1fr); }
  .trust-grid { grid-template-columns: repeat(3, 1fr); }
  .ceo-stage  { grid-template-columns: 1fr; gap: 40px; }
  .ceo-visual { height: 200px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 768px) {
  .nav { grid-template-columns: 1fr auto; padding: 12px 20px; }
  .nav-links  { display: none; }
  .nav-search { display: none; }
  .search-wrap { display: none; }
  .nav-search-btn { display: flex; }
  .aisle-grid { grid-template-columns: repeat(2, 1fr); }
  .journey-rail { grid-template-columns: 1fr; }
  .modal-overlay { padding: 16px; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .nav { padding: 10px 16px; }
  .aisles, .spotlight, .catalog, .journey, .trust, .faq, .live-feed { padding-left: 16px; padding-right: 16px; }
  .aisle-grid { grid-template-columns: 1fr 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 24px; }
  .hero { padding: 60px 16px 80px; }
  .catalog-bar { flex-direction: column; align-items: flex-start; }
  .footer-cols { grid-template-columns: 1fr; }
  .liq-strip  { padding: 8px 16px; gap: 10px; flex-wrap: wrap; }
  .chat-panel { width: calc(100vw - 24px); right: 0; left: 0; margin: 0 auto; }
  .spotlight-grid, .catalog-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .product-card { border-radius: 10px; }
  .hero-title { font-size: clamp(26px, 7vw, 44px); }
  .hero-pill { font-size: 10px; }
  .section-head h2 { font-size: clamp(22px, 6vw, 36px); }
  .cart-card { width: 100%; max-width: 100%; border-radius: 0; }
  .modal-overlay { padding: 0; align-items: flex-end; }
  .cart-card { border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
  .pd-card { max-height: 85vh; border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
  .cat-tab { padding: 6px 12px; font-size: 11px; }
  .btn-primary, .btn-secondary { padding: 13px 22px; font-size: 13px; }
}

/* ─── MOBILE NAV MENU ─── */
.menu-btn {
  display: none;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--paper); border: 1px solid var(--hairline);
  align-items: center; justify-content: center;
  color: var(--concrete); cursor: pointer; flex-shrink: 0;
}
.mobile-menu {
  display: none;
  position: fixed; top: 0; left: 0; right: 0;
  background: rgba(245,241,232,0.97);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border-bottom: 1px solid var(--hairline);
  padding: 70px 24px 24px;
  z-index: 99;
  flex-direction: column; gap: 4px;
  animation: slideDown .22s ease;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: 'General Sans', sans-serif; font-size: 17px;
  color: var(--ink); padding: 13px 0;
  border-bottom: 1px solid var(--hairline);
  display: block;
}
.mobile-menu a:last-child { border-bottom: none; }
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}
@media (max-width: 768px) {
  .menu-btn { display: flex; }
}

/* ─── iPhone safe area (notch / Dynamic Island) ─── */
@supports (padding: env(safe-area-inset-top)) {
  .nav {
    padding-left: max(32px, env(safe-area-inset-left));
    padding-right: max(32px, env(safe-area-inset-right));
  }
  .mobile-menu {
    padding-top: max(70px, calc(env(safe-area-inset-top) + 60px));
    padding-left: max(24px, env(safe-area-inset-left));
    padding-right: max(24px, env(safe-area-inset-right));
  }
  .chat-toggle {
    bottom: max(20px, calc(env(safe-area-inset-bottom) + 16px));
    right: max(20px, env(safe-area-inset-right));
  }
}

/* ─── Touch — larger tap targets ─── */
@media (hover: none) and (pointer: coarse) {
  .cat-tab { min-height: 40px; display: flex; align-items: center; }
  .add-btn  { min-height: 44px; font-size: 13px; }
  .aisle-card { min-height: 100px; }
  .nav-search { display: none !important; }
  .search-wrap { display: none !important; }
  .nav-search-btn { display: flex; }
}
