/* ─────────────────────────────────────────────────────────────────────
   Sylhetica — Storefront Prototype
   Layered on top of /colors_and_type.css
   ───────────────────────────────────────────────────────────────────── */

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body { background: var(--bg); color: var(--fg); font: var(--text-body); overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
img { display: block; max-width: 100%; }

/* ── PROTOTYPE NAV ─────────────────────────────────────────────────── */
.proto-nav {
  position: fixed;
  bottom: 16px; left: 50%;
  transform: translateX(-50%);
  z-index: var(--z-toast);
  background: var(--bg-inverse);
  color: var(--fg-inverse);
  border-radius: 9999px;
  padding: 6px;
  display: flex;
  gap: 2px;
  box-shadow: var(--shadow-lg);
  font: 500 11px/1 var(--font-body);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.proto-nav button {
  background: transparent;
  border: 0;
  color: var(--cream-300);
  padding: 8px 14px;
  border-radius: 9999px;
  transition: all 140ms var(--ease-out);
}
.proto-nav button:hover { color: var(--cream-50); }
.proto-nav button.active { background: var(--cream-50); color: var(--cream-900); }
.proto-nav .divider { width: 1px; background: rgba(250,246,236,0.15); margin: 4px 6px; }
.proto-nav .mode-toggle { padding: 8px 12px; color: var(--amber-300); font-size: 14px; }

/* ── ANNOUNCEMENT BAR ──────────────────────────────────────────────── */
.announce-bar {
  background: var(--brand-800);
  color: var(--cream-200);
  text-align: center;
  padding: 10px 16px;
  font: 500 11px/1.4 var(--font-body);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
[data-theme="dark"] .announce-bar { background: var(--brand-900); }

/* ── HEADER ────────────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-sticky);
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--border);
}
.site-header .header-inner {
  max-width: var(--container-wide);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 16px var(--gutter);
  gap: 16px;
}
.site-header .left, .site-header .right { display: flex; align-items: center; gap: 22px; font-size: 12px; color: var(--fg-muted); }
.site-header .right { justify-content: flex-end; }
.site-header .left a, .site-header .right a {
  display: inline-flex; align-items: center; gap: 6px;
  color: inherit;
}
.site-header .lang-toggle {
  display: inline-flex; align-items: center; gap: 6px;
  font: 500 10px/1 var(--font-body); letter-spacing: 0.18em;
}
.site-header .lang-toggle .lang { color: var(--fg-subtle); }
.site-header .lang-toggle .lang.on { color: var(--fg); border-bottom: 1px solid currentColor; padding-bottom: 1px; }

.logo-wordmark {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 30px;
  line-height: 1;
  color: var(--fg);
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.nav-icons { display: flex; gap: 14px; align-items: center; }
.nav-icons button { background: transparent; border: 0; color: var(--fg); padding: 6px; position: relative; display: inline-flex; }
.nav-icons button:hover { color: var(--primary); }
.nav-icons .cart-count { position: absolute; top: -2px; right: -2px; background: var(--accent); color: var(--accent-fg); font: 500 9px/1 var(--font-body); padding: 2px 5px; border-radius: 9999px; min-width: 16px; text-align: center; }

.main-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  padding: 12px var(--gutter) 14px;
  max-width: var(--container-wide);
  margin: 0 auto;
  border-top: 1px solid var(--border);
}
.main-nav .item {
  font: 500 12px/1 var(--font-body);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fg);
  padding: 6px 0;
  position: relative;
  cursor: pointer;
}
.main-nav .item:hover, .main-nav .item.active { color: var(--primary); }
.main-nav .item.active::after,
.main-nav .item:hover::after {
  content: "";
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 1px;
  background: var(--accent);
}

/* ── MEGA MENU ─────────────────────────────────────────────────────── */
.mega-menu {
  position: absolute;
  left: 0; right: 0;
  top: 100%;
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  padding: 36px var(--gutter);
  z-index: calc(var(--z-sticky) + 1);
}
.mega-menu .grid {
  max-width: var(--container-wide);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1.2fr 1.2fr 1.6fr;
  gap: 48px;
}
.mega-menu h4 {
  font: 500 10px/1.2 var(--font-body);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fg-subtle);
  margin: 0 0 14px;
}
.mega-menu a {
  display: block;
  padding: 5px 0;
  font: 400 14px/1.5 var(--font-body);
  color: var(--fg);
}
.mega-menu a:hover { color: var(--primary); }
.mega-menu a.featured {
  font-family: var(--font-display); font-style: italic; font-size: 17px; color: var(--accent);
  margin-bottom: 6px;
}
.mega-menu a small { color: var(--fg-subtle); font-size: 11px; margin-left: 4px; }
.mega-menu .feat {
  position: relative; overflow: hidden;
  background:
    radial-gradient(circle at 30% 70%, var(--amber-400), transparent 50%),
    linear-gradient(135deg, var(--brand-700), var(--brand-900));
  color: var(--cream-100);
  padding: 28px;
  border-radius: var(--radius-md);
  min-height: 220px;
  display: flex; flex-direction: column; justify-content: flex-end;
}
.mega-menu .feat .eb { font: 500 10px/1.2 var(--font-body); letter-spacing: 0.22em; text-transform: uppercase; color: var(--amber-200); margin-bottom: 8px; }
.mega-menu .feat h3 { font: italic 400 28px/1.1 var(--font-display); margin: 0 0 12px; color: var(--cream-50); }
.mega-menu .feat .cta {
  font: 500 11px/1 var(--font-body); letter-spacing: 0.18em; text-transform: uppercase;
  border-bottom: 1px solid currentColor; padding-bottom: 2px; align-self: flex-start;
}

/* ── HERO ──────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 720px;
  display: flex; align-items: flex-end;
  overflow: hidden;
}
.hero .bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(20,36,26,0.15) 0%, rgba(20,36,26,0.55) 100%),
    radial-gradient(ellipse at 30% 30%, #6F8C66, #14241A 80%);
}
.hero .bg::before {
  /* simulated tea-garden silhouettes */
  content: ""; position: absolute; inset: 0;
  background-image:
    radial-gradient(ellipse 40% 30% at 80% 90%, rgba(20,36,26,0.6), transparent 60%),
    radial-gradient(ellipse 60% 40% at 20% 95%, rgba(20,36,26,0.7), transparent 60%);
}
.hero .content {
  position: relative;
  max-width: var(--container-wide);
  margin: 0 auto;
  width: 100%;
  padding: 0 var(--gutter) 88px;
  color: var(--cream-50);
}
.hero .eb {
  font: 500 11px/1.2 var(--font-body); letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--amber-200);
  margin-bottom: 24px;
}
.hero h1 {
  font: 400 clamp(44px, 6vw, 80px)/1.1 var(--font-display);
  letter-spacing: -0.015em;
  color: var(--cream-50);
  max-width: 1100px;
  margin: 0 0 32px;
}
.hero h1 .line-2 {
  display: block;
  font-style: italic;
  color: var(--amber-200);
  line-height: 1.15;
  padding-bottom: 0.06em;
}
.hero .lead {
  font: 400 17px/1.6 var(--font-body);
  color: var(--cream-200);
  max-width: 480px;
  margin: 0 0 36px;
}
.hero .cta-row { display: flex; gap: 12px; align-items: center; }
.hero .scroll-hint {
  position: absolute; right: var(--gutter); bottom: 32px;
  display: inline-flex; flex-direction: column; align-items: center; gap: 12px;
  font: 500 10px/1 var(--font-body); letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--cream-300);
  writing-mode: vertical-rl; transform: rotate(180deg);
}

/* ── BUTTON SYSTEM ────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  font: 500 13px/1 var(--font-body); letter-spacing: 0.06em;
  border-radius: var(--radius-md);
  padding: 14px 24px;
  border: 1px solid transparent;
  text-transform: uppercase;
  transition: all 140ms var(--ease-out);
}
.btn:active { transform: scale(0.99); }
.btn-primary { background: var(--primary); color: var(--primary-fg); }
.btn-primary:hover { background: var(--primary-hover); }
.btn-secondary { background: transparent; color: var(--fg); border-color: var(--border-strong); }
.btn-secondary:hover { background: var(--bg-muted); }
.btn-accent { background: var(--accent); color: var(--accent-fg); }
.btn-accent:hover { background: var(--accent-hover); }
.btn-ghost-light { background: transparent; color: var(--cream-50); border: 1px solid var(--cream-50); }
.btn-ghost-light:hover { background: var(--cream-50); color: var(--cream-900); }
.btn-lg { padding: 18px 32px; font-size: 14px; }
.btn-sm { padding: 10px 16px; font-size: 11px; }

.link-cta {
  display: inline-flex; align-items: center; gap: 8px;
  font: 500 12px/1 var(--font-body); letter-spacing: 0.18em; text-transform: uppercase;
  padding-bottom: 3px; border-bottom: 1px solid currentColor;
  color: var(--fg);
}
.link-cta.on-dark { color: var(--cream-100); }

/* ── SECTIONS ──────────────────────────────────────────────────────── */
.section {
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: var(--space-24) var(--gutter);
}
.section.narrow { max-width: var(--container); }
.section.tight { padding: var(--space-16) var(--gutter); }
.section .eb {
  font: 500 11px/1.2 var(--font-body); letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.section h2 {
  font: 400 clamp(36px, 4vw, 52px)/1.05 var(--font-display);
  margin: 0 0 12px;
  letter-spacing: -0.005em;
  max-width: 720px;
}
.section h2 em { font-style: italic; color: var(--accent); }
.section .sub {
  font: 400 17px/1.6 var(--font-body);
  color: var(--fg-muted);
  max-width: 560px;
  margin: 0 0 var(--space-12);
}
.section-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: var(--space-10);
  gap: 24px; flex-wrap: wrap;
}
.section-head h2 { margin-bottom: 0; }

/* ── CATEGORY TILES ───────────────────────────────────────────────── */
.cat-tiles { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.cat-tile {
  position: relative; overflow: hidden;
  aspect-ratio: 3/4;
  border-radius: var(--radius-lg);
  display: flex; align-items: flex-end;
  padding: 22px;
  color: var(--cream-50);
  cursor: pointer;
}
.cat-tile::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(27,24,19,0.05) 30%, rgba(27,24,19,0.75) 100%); z-index: 1; }
.cat-tile .lbl { position: relative; z-index: 2; }
.cat-tile .lbl .eb {
  font: 500 9px/1.2 var(--font-body); letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--amber-200);
  margin-bottom: 6px;
}
.cat-tile .lbl h4 {
  font: italic 400 26px/1.05 var(--font-display);
  margin: 0;
}
.cat-tile:hover .bg { transform: scale(1.04); }
.cat-tile .bg { position: absolute; inset: 0; transition: transform 420ms var(--ease-out); }

.cat-tile.tea .bg { background: radial-gradient(ellipse at 30% 30%, #7A9670, #14241A 80%); }
.cat-tile.coffee .bg { background: radial-gradient(ellipse at 40% 50%, #8C5E2C, #2B1B0C 80%); }
.cat-tile.snacks .bg { background: radial-gradient(ellipse at 50% 50%, #D6AD6A, #6B461F 80%); }
.cat-tile.teaware .bg { background: radial-gradient(ellipse at 50% 50%, #E5DDC9, #7A6F60 90%); }
.cat-tile.gift .bg { background: radial-gradient(ellipse at 50% 30%, #B07A3C, #4A2F15 85%); }

/* ── PRODUCT CARD ─────────────────────────────────────────────────── */
.product-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.product-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.product-grid.cols-2 { grid-template-columns: repeat(2, 1fr); gap: 32px; }

.product-card {
  background: transparent;
  display: flex; flex-direction: column;
  cursor: pointer;
  position: relative;
}
.product-card .image-wrap {
  position: relative;
  aspect-ratio: 3/4;
  background: var(--bg-muted);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 16px;
}
.product-card .image-wrap .bg {
  position: absolute; inset: 0;
  transition: transform 420ms var(--ease-out);
}
.product-card:hover .image-wrap .bg { transform: scale(1.03); }
.product-card .image-wrap .tin {
  position: absolute;
  left: 18%; right: 18%; top: 12%; bottom: 8%;
  background: linear-gradient(180deg, var(--amber-700), var(--amber-800));
  border-radius: 50% 50% 8px 8px / 8% 8% 8px 8px;
  box-shadow: var(--shadow-md);
}
.product-card .image-wrap .tin.green { background: linear-gradient(180deg, var(--brand-600), var(--brand-900)); }
.product-card .image-wrap .tin.cream { background: linear-gradient(180deg, var(--cream-200), var(--cream-400)); }
.product-card .image-wrap .tin.dark { background: linear-gradient(180deg, var(--cream-700), var(--cream-900)); }
.product-card .image-wrap .tin.red { background: linear-gradient(180deg, #A23D2A, #4A1C14); }
.product-card .image-wrap .tin.olive { background: linear-gradient(180deg, #6B7B3F, #2F3A18); }
.product-card .image-wrap .tin::after {
  content: attr(data-letter);
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font: italic 400 56px/1 var(--font-display);
  color: rgba(255,255,255,0.85);
}
.product-card .image-wrap .tin.cream::after { color: rgba(75,68,57,0.7); }

.product-card .badge-row { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; z-index: 2; }
.product-card .badge { padding: 4px 8px; border-radius: 9999px; font: 500 9px/1 var(--font-body); letter-spacing: 0.14em; text-transform: uppercase; }
.product-card .badge.new { background: var(--brand-800); color: var(--cream-50); }
.product-card .badge.sale { background: var(--accent); color: var(--accent-fg); }
.product-card .badge.limited { background: var(--cream-800); color: var(--cream-50); }

.product-card .wish-btn {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  width: 32px; height: 32px;
  background: var(--bg-elevated);
  border: 0; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--fg-muted);
  box-shadow: var(--shadow-xs);
}
.product-card .wish-btn:hover { color: var(--accent); }

.product-card .meta { display: flex; flex-direction: column; gap: 3px; }
.product-card .meta .eb { font: 500 10px/1.2 var(--font-body); letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent); }
.product-card .meta .name { font: 400 22px/1.15 var(--font-display); color: var(--fg); letter-spacing: 0.005em; }
.product-card .meta .desc { font: 400 13px/1.4 var(--font-body); color: var(--fg-subtle); margin-top: 2px; }
.product-card .meta .price-row { display: flex; align-items: baseline; gap: 8px; margin-top: 10px; }
.product-card .meta .price { font: 500 16px/1 var(--font-body); color: var(--fg); font-variant-numeric: tabular-nums; }
.product-card .meta .price small { font-size: 10px; color: var(--fg-subtle); margin-left: 4px; font-weight: 400; letter-spacing: 0.04em; }
.product-card .meta .strike { font-size: 13px; color: var(--price-strike); text-decoration: line-through; font-variant-numeric: tabular-nums; }
.product-card .meta .add-link {
  margin-left: auto;
  font: 500 10px/1 var(--font-body); letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--fg-muted);
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}
.product-card:hover .meta .add-link { color: var(--primary); }

/* ── BRAND STORY BLOCK ────────────────────────────────────────────── */
.brand-story {
  background: var(--brand-900);
  color: var(--cream-100);
}
.brand-story .inner {
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: var(--space-24) var(--gutter);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.brand-story .image-side {
  aspect-ratio: 4/5;
  border-radius: var(--radius-md);
  background:
    linear-gradient(180deg, rgba(20,36,26,0) 50%, rgba(20,36,26,0.5)),
    radial-gradient(ellipse at 30% 40%, #9CB494, #14241A 80%);
  position: relative;
  overflow: hidden;
}
.brand-story .image-side::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(ellipse 40% 30% at 70% 90%, rgba(20,36,26,0.5), transparent 60%);
}
.brand-story .image-side .caption {
  position: absolute; bottom: 18px; left: 22px; right: 22px;
  font: italic 400 14px/1.4 var(--font-display); color: var(--cream-200);
}
.brand-story .copy-side .eb { color: var(--amber-300); }
.brand-story h2 { color: var(--cream-50); margin: 0 0 18px; }
.brand-story p { color: var(--cream-200); font-size: 16px; line-height: 1.7; margin: 0 0 18px; }
.brand-story p + p { color: var(--cream-300); font-size: 14px; }

/* ── REGION MAP ─────────────────────────────────────────────────── */
.region-section {
  background: var(--bg-muted);
}
.region-grid { display: grid; grid-template-columns: 320px 1fr; gap: 56px; align-items: center; }
.region-map-wrap { position: relative; }
.region-map-wrap svg { width: 100%; height: auto; }
.region-list { display: flex; flex-direction: column; gap: 4px; }
.region-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center; gap: 16px;
  padding: 22px 0;
  border-bottom: 1px solid var(--border-strong);
  cursor: pointer;
}
.region-row:last-child { border-bottom: none; }
.region-row .dot { width: 12px; height: 12px; border-radius: 50%; }
.region-row .body h3 { font: 400 24px/1.1 var(--font-display); margin: 0 0 4px; color: var(--fg); }
.region-row .body p { font-size: 13px; color: var(--fg-muted); margin: 0; line-height: 1.5; }
.region-row .stat { text-align: right; }
.region-row .stat .n { font: 400 32px/1 var(--font-display); color: var(--primary); }
.region-row .stat .l { font: 500 9px/1.2 var(--font-body); letter-spacing: 0.18em; text-transform: uppercase; color: var(--fg-subtle); margin-top: 4px; }

/* ── UGC STRIP ─────────────────────────────────────────────────── */
.ugc-strip { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.ugc-strip .tile {
  aspect-ratio: 1/1;
  border-radius: var(--radius-sm);
  position: relative; overflow: hidden;
}
.ugc-strip .tile::after { content: "@" attr(data-handle); position: absolute; bottom: 8px; left: 10px; font: 500 10px/1 var(--font-body); letter-spacing: 0.06em; color: white; mix-blend-mode: difference; }

/* ── TUTORIALS ────────────────────────────────────────────────── */
.tutorials {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 32px;
}
.tut-featured {
  position: relative;
  aspect-ratio: 16/9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(27,24,19,0.1), rgba(27,24,19,0.6)),
    radial-gradient(circle at 50% 40%, #C19450, #2A251E 80%);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
}
.tut-featured .play {
  width: 72px; height: 72px;
  background: rgba(255,255,255,0.95);
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--cream-900);
  box-shadow: var(--shadow-lg);
}
.tut-featured .meta {
  position: absolute; bottom: 24px; left: 24px; right: 24px;
  color: var(--cream-50);
}
.tut-featured .meta .eb { color: var(--amber-200); margin-bottom: 6px; }
.tut-featured .meta h3 { font: italic 400 30px/1.1 var(--font-display); margin: 0; }
.tut-playlist { display: flex; flex-direction: column; gap: 12px; }
.tut-item {
  display: flex; gap: 12px;
  padding: 10px;
  border-radius: var(--radius-md);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  cursor: pointer;
}
.tut-item:hover { background: var(--bg-muted); }
.tut-item.active { border-color: var(--primary); background: var(--bg-elevated); }
.tut-item .thumb { width: 96px; aspect-ratio: 16/10; border-radius: var(--radius-sm); flex-shrink: 0; }
.tut-item .info .eb { font: 500 9px/1.2 var(--font-body); letter-spacing: 0.18em; text-transform: uppercase; color: var(--fg-subtle); }
.tut-item .info h5 { font: 500 13px/1.3 var(--font-body); margin: 2px 0 0; color: var(--fg); }
.tut-item .info .dur { font-family: var(--font-mono); font-size: 10px; color: var(--fg-subtle); margin-top: 4px; }

/* ── HOW TO ORDER ─────────────────────────────────────────────── */
.how-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.how-step { display: flex; flex-direction: column; gap: 12px; }
.how-step .n {
  font: 400 64px/1 var(--font-display); color: var(--accent);
  font-feature-settings: "tnum";
}
.how-step h4 { font: 500 16px/1.3 var(--font-body); margin: 0; }
.how-step p { font-size: 13px; line-height: 1.5; color: var(--fg-muted); margin: 0; }

/* ── FOOTER ──────────────────────────────────────────────────── */
.site-footer {
  background: var(--cream-900);
  color: var(--cream-200);
  padding: var(--space-20) var(--gutter) var(--space-8);
  margin-top: var(--space-24);
}
.site-footer .inner { max-width: var(--container-wide); margin: 0 auto; }
.site-footer .top {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1.2fr; gap: 56px;
  padding-bottom: var(--space-12);
  border-bottom: 1px solid rgba(250,246,236,0.12);
}
.site-footer .brand-block .wm {
  font: italic 400 32px/1 var(--font-display); color: var(--cream-50);
  letter-spacing: 0.04em; margin-bottom: 12px;
}
.site-footer .brand-block .tag { font: italic 400 16px/1.4 var(--font-display); color: var(--amber-300); margin-bottom: 16px; }
.site-footer .brand-block p { font-size: 13px; line-height: 1.6; color: var(--cream-300); max-width: 320px; margin: 0 0 18px; }
.site-footer .brand-block .socials { display: flex; gap: 12px; }
.site-footer .brand-block .socials a {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(250,246,236,0.06); border: 1px solid rgba(250,246,236,0.12);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--cream-200);
}
.site-footer h5 {
  font: 500 10px/1.2 var(--font-body); letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--amber-300); margin: 0 0 14px;
}
.site-footer .col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.site-footer .col a { font: 400 13px/1.4 var(--font-body); color: var(--cream-200); }
.site-footer .col a:hover { color: var(--cream-50); }
.site-footer .bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 20px;
  font: 400 11px/1.4 var(--font-body); letter-spacing: 0.04em;
  color: var(--cream-500);
}
.site-footer .bottom .pays { display: flex; gap: 6px; }
.site-footer .bottom .pays .p {
  background: rgba(250,246,236,0.08); border-radius: 2px;
  padding: 4px 8px; font: 500 9px/1 var(--font-body); letter-spacing: 0.1em; color: var(--cream-300); text-transform: uppercase;
}

/* ── COLLECTION PAGE ──────────────────────────────────────────── */
.collection-hero {
  padding: var(--space-12) var(--gutter) var(--space-10);
  border-bottom: 1px solid var(--border);
}
.collection-hero .crumbs {
  font: 400 11px/1 var(--font-body); letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--fg-subtle); margin-bottom: 18px;
}
.collection-hero h1 {
  font: 400 clamp(48px, 6vw, 72px)/1 var(--font-display);
  letter-spacing: -0.01em; margin: 0 0 12px; max-width: 800px;
}
.collection-hero p { font-size: 16px; color: var(--fg-muted); max-width: 600px; margin: 0; line-height: 1.6; }

.collection-body { display: grid; grid-template-columns: 240px 1fr; gap: 48px; padding: var(--space-12) var(--gutter); max-width: var(--container-wide); margin: 0 auto; }
.collection-body .filters { position: sticky; top: 140px; align-self: start; }
.collection-toolbar {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.collection-toolbar .count { font: 400 13px/1 var(--font-body); color: var(--fg-muted); }
.collection-toolbar .sort {
  display: inline-flex; align-items: center; gap: 8px;
  font: 500 11px/1 var(--font-body); letter-spacing: 0.14em; text-transform: uppercase;
  background: transparent; border: 1px solid var(--border-strong); padding: 10px 14px; border-radius: var(--radius-sm);
  color: var(--fg);
}

.filter-block { padding: 16px 0; border-bottom: 1px solid var(--border); }
.filter-block:last-child { border-bottom: 0; }
.filter-block .head {
  display: flex; justify-content: space-between; align-items: center;
  font: 500 12px/1 var(--font-body); letter-spacing: 0.08em;
  color: var(--fg);
  cursor: pointer;
}
.filter-block .head .caret { color: var(--fg-subtle); font-size: 11px; transition: transform 140ms var(--ease-out); }
.filter-block.collapsed .caret { transform: rotate(-90deg); }
.filter-block.collapsed .body { display: none; }
.filter-block .body { padding-top: 14px; display: flex; flex-direction: column; gap: 10px; }
.filter-opt { display: flex; align-items: center; gap: 10px; font: 400 13px/1 var(--font-body); color: var(--fg-muted); cursor: pointer; }
.filter-opt:hover { color: var(--fg); }
.filter-opt .ck { width: 14px; height: 14px; border: 1px solid var(--border-strong); border-radius: 2px; background: var(--bg-elevated); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.filter-opt input { display: none; }
.filter-opt input:checked + .ck { background: var(--primary); border-color: var(--primary); }
.filter-opt input:checked + .ck::after { content: ""; width: 5px; height: 8px; border: solid var(--primary-fg); border-width: 0 1.5px 1.5px 0; transform: rotate(45deg) translate(-1px, -1px); }
.filter-opt .cnt { margin-left: auto; font-family: var(--font-mono); font-size: 10px; color: var(--fg-subtle); }

/* ── PDP ───────────────────────────────────────────────────────────── */
.pdp-crumbs { padding: 24px var(--gutter); max-width: var(--container-wide); margin: 0 auto; font: 400 11px/1 var(--font-body); letter-spacing: 0.18em; text-transform: uppercase; color: var(--fg-subtle); }
.pdp-crumbs a { color: var(--fg-subtle); }
.pdp-crumbs a:hover { color: var(--fg); }

.pdp { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; padding: 0 var(--gutter) var(--space-20); max-width: var(--container-wide); margin: 0 auto; align-items: start; }
.pdp .gallery { display: grid; grid-template-columns: 80px 1fr; gap: 16px; }
.pdp .thumbs-col { display: flex; flex-direction: column; gap: 8px; }
.pdp .thumbs-col .thumb {
  aspect-ratio: 1/1; border-radius: var(--radius-sm); border: 1px solid var(--border);
  position: relative; overflow: hidden; cursor: pointer;
}
.pdp .thumbs-col .thumb.active { border: 2px solid var(--primary); }
.pdp .main-img {
  position: relative;
  aspect-ratio: 4/5;
  background:
    radial-gradient(ellipse at 50% 40%, var(--amber-300), var(--cream-300) 70%),
    var(--cream-200);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.pdp .main-img .tin {
  position: absolute; left: 25%; right: 25%; top: 18%; bottom: 12%;
  background: linear-gradient(180deg, var(--amber-700), var(--amber-800));
  border-radius: 50% 50% 8px 8px / 8% 8% 8px 8px;
  box-shadow: var(--shadow-lg);
}
.pdp .main-img .tin::after {
  content: "S"; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font: italic 400 88px/1 var(--font-display); color: var(--amber-200);
}

.pdp .info { position: sticky; top: 140px; }
.pdp .info .eb { font: 500 10px/1.2 var(--font-body); letter-spacing: 0.24em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.pdp .info h1 { font: 400 clamp(40px, 4vw, 56px)/1.05 var(--font-display); margin: 0 0 6px; letter-spacing: -0.01em; }
.pdp .info .ital-sub { font: italic 400 22px/1.2 var(--font-display); color: var(--accent); margin: 0 0 18px; }
.pdp .info .desc { font: 400 16px/1.6 var(--font-body); color: var(--fg-muted); margin: 0 0 24px; }
.pdp .info .price-line { display: flex; align-items: baseline; gap: 16px; margin-bottom: 28px; padding-bottom: 24px; border-bottom: 1px solid var(--border); }
.pdp .info .price { font: 500 32px/1 var(--font-body); font-variant-numeric: tabular-nums; }
.pdp .info .price small { font-size: 13px; color: var(--fg-subtle); margin-left: 8px; font-weight: 400; letter-spacing: 0.04em; }
.pdp .info .stock { font: 500 11px/1 var(--font-body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--stock-in); display: inline-flex; align-items: center; gap: 6px; }
.pdp .info .stock::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--stock-in); }

.variant-group { margin-bottom: 24px; }
.variant-group .vh { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; }
.variant-group .vh .lbl { font: 500 10px/1.2 var(--font-body); letter-spacing: 0.24em; text-transform: uppercase; color: var(--fg-subtle); }
.variant-group .vh .val { font: 500 13px/1 var(--font-body); color: var(--fg); }
.variant-row { display: flex; gap: 8px; flex-wrap: wrap; }
.variant-pill {
  padding: 12px 18px;
  border: 1px solid var(--border-strong); border-radius: var(--radius-sm);
  background: var(--bg-elevated);
  cursor: pointer;
  font: 500 13px/1.2 var(--font-body);
  display: flex; flex-direction: column; gap: 2px; align-items: center;
  min-width: 88px;
}
.variant-pill small { font-size: 10px; color: var(--fg-subtle); font-weight: 400; letter-spacing: 0.04em; }
.variant-pill.selected { border: 2px solid var(--primary); padding: 11px 17px; background: var(--brand-50); }
[data-theme="dark"] .variant-pill.selected { background: var(--brand-900); }
.variant-pill:disabled { opacity: 0.4; cursor: not-allowed; }

.pdp-subscribe {
  margin: 20px 0 24px;
  padding: 14px 16px;
  border: 1px solid var(--accent);
  background: var(--amber-50);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; gap: 12px;
}
[data-theme="dark"] .pdp-subscribe { background: var(--amber-900); }
.pdp-subscribe .badge { background: var(--accent); color: var(--accent-fg); padding: 4px 8px; border-radius: 9999px; font: 500 9px/1 var(--font-body); letter-spacing: 0.14em; text-transform: uppercase; }
.pdp-subscribe .text { font-size: 13px; color: var(--fg-muted); flex: 1; }
.pdp-subscribe .text b { color: var(--fg); font-weight: 500; }

.pdp .cta-row { display: flex; gap: 8px; align-items: center; margin-bottom: 16px; }
.pdp .cta-row .btn-primary { flex: 1; padding: 18px; font-size: 13px; }
.pdp .cta-row .wish { background: transparent; border: 1px solid var(--border-strong); padding: 18px 22px; border-radius: var(--radius-md); color: var(--fg); }

.pdp .ship-note { display: flex; gap: 12px; align-items: center; padding: 14px 0; border-top: 1px solid var(--border); font-size: 12px; color: var(--fg-muted); }
.pdp .ship-note b { color: var(--fg); font-weight: 500; }

/* PDP modules */
.pdp-section { max-width: var(--container-wide); margin: 0 auto; padding: var(--space-20) var(--gutter); }
.pdp-section.no-bottom { padding-bottom: 0; }
.pdp-section .eb { font: 500 11px/1.2 var(--font-body); letter-spacing: 0.24em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.pdp-section h2 { font: 400 clamp(28px, 3.2vw, 40px)/1.1 var(--font-display); margin: 0 0 var(--space-8); max-width: 680px; }

.origin-block { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.origin-block .img {
  aspect-ratio: 5/4; border-radius: var(--radius-md);
  background:
    linear-gradient(180deg, rgba(20,36,26,0.1) 0%, rgba(20,36,26,0.55) 100%),
    radial-gradient(ellipse at 30% 40%, #7A9670, #14241A 80%);
  position: relative;
  overflow: hidden;
}
.origin-block .img .caption {
  position: absolute; bottom: 16px; left: 20px; right: 20px;
  font: italic 400 14px/1.4 var(--font-display); color: var(--cream-100);
}
.origin-block .copy p { font-size: 15px; line-height: 1.7; color: var(--fg-muted); margin: 0 0 16px; }
.origin-block .copy p:first-of-type { font-family: var(--font-display); font-size: 22px; color: var(--fg); line-height: 1.4; font-style: italic; font-weight: 400; }
.origin-block .meta-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding-top: 20px; border-top: 1px solid var(--border); margin-top: 20px; }
.origin-block .meta-grid div { display: flex; flex-direction: column; gap: 4px; }
.origin-block .meta-grid .lbl { font: 500 9px/1.2 var(--font-body); letter-spacing: 0.22em; text-transform: uppercase; color: var(--fg-subtle); }
.origin-block .meta-grid .val { font: 400 18px/1.2 var(--font-display); color: var(--fg); }

.brew-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.brew-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; }
.brew-stats > div { padding: 24px; border-right: 1px solid var(--border); display: flex; flex-direction: column; gap: 4px; align-items: center; text-align: center; }
.brew-stats > div:last-child { border-right: 0; }
.brew-stats .v { font: 400 36px/1 var(--font-display); color: var(--primary); }
.brew-stats .v small { font-size: 14px; vertical-align: super; color: var(--fg-subtle); margin-left: 2px; font-family: var(--font-body); font-weight: 400; }
.brew-stats .lbl { font: 500 10px/1.2 var(--font-body); letter-spacing: 0.22em; text-transform: uppercase; color: var(--fg-subtle); margin-top: 8px; }

.wellness-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.wellness-card {
  background: var(--bg-elevated); border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px;
  display: flex; flex-direction: column; gap: 8px;
}
.wellness-card .ico {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--brand-50); color: var(--primary);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 4px;
}
[data-theme="dark"] .wellness-card .ico { background: var(--brand-900); }
.wellness-card h4 { font: 500 14px/1.2 var(--font-body); margin: 0; color: var(--fg); }
.wellness-card p { font-size: 12px; line-height: 1.5; color: var(--fg-muted); margin: 0; }

.faq { max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item .q { padding: 20px 0; display: flex; justify-content: space-between; align-items: center; font: 500 16px/1.3 var(--font-body); color: var(--fg); cursor: pointer; }
.faq-item .q .car { color: var(--fg-subtle); font-size: 14px; transition: transform 140ms var(--ease-out); }
.faq-item.open .q .car { transform: rotate(45deg); }
.faq-item .a { padding-bottom: 20px; font-size: 14px; line-height: 1.6; color: var(--fg-muted); max-width: 600px; }
.faq-item:not(.open) .a { display: none; }

/* ── CART DRAWER ─────────────────────────────────────────────────── */
.cart-overlay {
  position: fixed; inset: 0;
  background: rgba(27,24,19,0.55);
  z-index: var(--z-drawer);
  opacity: 0; pointer-events: none;
  transition: opacity 220ms var(--ease-out);
}
.cart-overlay.open { opacity: 1; pointer-events: all; }
.cart-drawer {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: 420px; max-width: 100vw;
  background: var(--bg);
  z-index: calc(var(--z-drawer) + 1);
  box-shadow: var(--shadow-drawer);
  transform: translateX(100%);
  transition: transform 420ms var(--ease-out);
  display: flex; flex-direction: column;
}
.cart-drawer.open { transform: translateX(0); }
.cart-drawer .head { display: flex; justify-content: space-between; align-items: center; padding: 22px 24px; border-bottom: 1px solid var(--border); }
.cart-drawer .head h3 { font: 400 26px/1 var(--font-display); margin: 0; }
.cart-drawer .head h3 small { font-family: var(--font-mono); font-size: 12px; color: var(--fg-subtle); margin-left: 4px; font-weight: 400; }
.cart-drawer .close { background: transparent; border: 0; color: var(--fg-subtle); font-size: 20px; padding: 4px; }
.cart-drawer .body { flex: 1; overflow-y: auto; padding: 20px 24px; display: flex; flex-direction: column; gap: 16px; }
.cart-line { display: flex; gap: 14px; padding-bottom: 16px; border-bottom: 1px solid var(--border); }
.cart-line:last-of-type { border-bottom: 0; }
.cart-line .thumb { width: 72px; height: 90px; flex-shrink: 0; background: linear-gradient(180deg, var(--amber-700), var(--amber-800)); border-radius: 2px; position: relative; }
.cart-line .thumb::after { content: attr(data-letter); position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font: italic 400 28px/1 var(--font-display); color: var(--amber-200); }
.cart-line .thumb.green { background: linear-gradient(180deg, var(--brand-600), var(--brand-900)); }
.cart-line .thumb.green::after { color: var(--brand-200); }
.cart-line .info { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.cart-line .info .eb { font: 500 9px/1.2 var(--font-body); letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); }
.cart-line .info .nm { font: 400 17px/1.2 var(--font-display); color: var(--fg); }
.cart-line .info .opts { font: 400 11px/1.4 var(--font-body); color: var(--fg-subtle); margin-top: 2px; }
.cart-line .info .br { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; }
.cart-line .stepper { display: inline-flex; align-items: center; border: 1px solid var(--border-strong); border-radius: var(--radius-sm); }
.cart-line .stepper button { background: transparent; border: 0; width: 24px; height: 24px; color: var(--fg-muted); font-size: 12px; }
.cart-line .stepper .v { font: 500 12px/1 var(--font-body); padding: 0 4px; min-width: 18px; text-align: center; }
.cart-line .price { font: 500 14px/1 var(--font-body); font-variant-numeric: tabular-nums; }
.cart-line .remove { background: transparent; border: 0; color: var(--fg-subtle); font-size: 14px; align-self: flex-start; padding: 2px; }

.promo-row { display: flex; align-items: center; gap: 8px; padding: 12px; border: 1px dashed var(--border-strong); border-radius: var(--radius-sm); }
.promo-row input { flex: 1; background: transparent; border: 0; outline: none; font: 400 13px/1 var(--font-body); color: var(--fg); }
.promo-row input::placeholder { color: var(--fg-subtle); }
.promo-row .apply { font: 500 10px/1 var(--font-body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--primary); border-bottom: 1px solid currentColor; padding-bottom: 1px; }

.cart-drawer .foot { padding: 20px 24px 24px; background: var(--bg-elevated); border-top: 1px solid var(--border); }
.cart-drawer .foot .ln { display: flex; justify-content: space-between; margin-bottom: 6px; font-size: 13px; color: var(--fg-muted); }
.cart-drawer .foot .ln.total { font: 500 18px/1.3 var(--font-body); color: var(--fg); padding-top: 10px; border-top: 1px solid var(--border); margin-top: 10px; }
.cart-drawer .foot .ln.total .val { font-variant-numeric: tabular-nums; }
.cart-drawer .foot .ship-strip { background: var(--brand-50); color: var(--brand-700); padding: 10px 12px; border-radius: var(--radius-sm); font-size: 11px; margin: 16px 0; display: flex; align-items: center; gap: 8px; }
[data-theme="dark"] .cart-drawer .foot .ship-strip { background: var(--brand-900); color: var(--brand-200); }

/* ── CHECKOUT ─────────────────────────────────────────────────── */
.checkout { display: grid; grid-template-columns: 1.4fr 1fr; gap: 56px; max-width: var(--container-wide); margin: 0 auto; padding: var(--space-12) var(--gutter); }
.checkout .form-col h2 { font: 400 36px/1.05 var(--font-display); margin: 0 0 8px; }
.checkout .form-col .sub { font-size: 14px; color: var(--fg-muted); margin-bottom: 32px; }
.checkout .section-c { background: var(--bg-elevated); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; margin-bottom: 16px; }
.checkout .section-c h3 { font: 500 13px/1.2 var(--font-body); letter-spacing: 0.18em; text-transform: uppercase; color: var(--fg); margin: 0 0 18px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field label { font: 500 10px/1.2 var(--font-body); letter-spacing: 0.18em; text-transform: uppercase; color: var(--fg-subtle); }
.field input, .field select {
  background: var(--bg); border: 1px solid var(--border-strong); border-radius: var(--radius-sm);
  padding: 12px 14px; font: 400 14px/1.4 var(--font-body); color: var(--fg);
}
.field input:focus { outline: 2px solid var(--ring); outline-offset: -1px; border-color: transparent; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field-row.thirds { grid-template-columns: 1fr 1fr 1fr; }

.pay-options { display: flex; flex-direction: column; gap: 10px; }
.pay-opt { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid var(--border-strong); border-radius: var(--radius-sm); cursor: pointer; }
.pay-opt.selected { border: 2px solid var(--primary); padding: 13px 15px; background: var(--brand-50); }
[data-theme="dark"] .pay-opt.selected { background: var(--brand-900); }
.pay-opt .rd { width: 16px; height: 16px; border-radius: 50%; border: 1px solid var(--border-strong); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; background: var(--bg-elevated); }
.pay-opt.selected .rd::after { content: ""; width: 8px; height: 8px; background: var(--primary); border-radius: 50%; }
.pay-opt .name { font: 500 13px/1.2 var(--font-body); }
.pay-opt .logo { margin-left: auto; padding: 4px 8px; background: var(--bg-muted); border-radius: 2px; font: 700 11px/1 var(--font-body); letter-spacing: 0.04em; color: var(--fg); }

.checkout .summary {
  background: var(--cream-900); color: var(--cream-100);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: sticky; top: 140px; align-self: start;
}
.checkout .summary h3 { font: 400 24px/1 var(--font-display); margin: 0 0 18px; color: var(--cream-50); }
.checkout .summary .line { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid rgba(250,246,236,0.1); }
.checkout .summary .line .thumb { width: 56px; height: 70px; flex-shrink: 0; background: linear-gradient(180deg, var(--amber-700), var(--amber-800)); border-radius: 2px; position: relative; }
.checkout .summary .line .thumb::after { content: attr(data-letter); position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font: italic 400 22px/1 var(--font-display); color: var(--amber-200); }
.checkout .summary .line .meta { flex: 1; }
.checkout .summary .line .meta .nm { font: 400 15px/1.2 var(--font-display); color: var(--cream-50); }
.checkout .summary .line .meta .opts { font-size: 11px; color: var(--cream-400); margin-top: 2px; }
.checkout .summary .line .price { font: 500 13px/1 var(--font-body); color: var(--cream-100); font-variant-numeric: tabular-nums; }
.checkout .summary .totals { padding-top: 16px; }
.checkout .summary .totals .row { display: flex; justify-content: space-between; padding: 6px 0; font-size: 13px; color: var(--cream-300); }
.checkout .summary .totals .row.total { font: 500 22px/1.3 var(--font-body); color: var(--cream-50); padding-top: 14px; margin-top: 8px; border-top: 1px solid rgba(250,246,236,0.15); }
.checkout .place-order {
  background: var(--amber-300);
  color: var(--cream-900);
  border: 0;
  width: 100%;
  padding: 18px;
  border-radius: var(--radius-md);
  font: 500 13px/1 var(--font-body); letter-spacing: 0.08em; text-transform: uppercase;
  margin-top: 18px;
}
.checkout .place-order:hover { background: var(--amber-200); }

/* ── AUTH (LOGIN / REGISTER) ─────────────────────────────────────── */
.auth { display: grid; grid-template-columns: 1fr 1fr; min-height: 720px; }
.auth .image-side {
  background:
    linear-gradient(180deg, rgba(20,36,26,0.05) 30%, rgba(20,36,26,0.55)),
    radial-gradient(ellipse at 30% 50%, #7A9670, #14241A 80%);
  position: relative; padding: 56px;
  display: flex; flex-direction: column; justify-content: space-between;
  color: var(--cream-100);
}
.auth .image-side .logo-l { font: italic 400 38px/1 var(--font-display); color: var(--cream-50); letter-spacing: 0.04em; }
.auth .image-side .quote { font: italic 400 28px/1.3 var(--font-display); max-width: 420px; color: var(--cream-100); }
.auth .image-side .quote-author { font: 500 11px/1.4 var(--font-body); letter-spacing: 0.18em; text-transform: uppercase; color: var(--amber-200); margin-top: 12px; }
.auth .form-side { padding: 64px; display: flex; flex-direction: column; justify-content: center; max-width: 520px; margin: 0 auto; width: 100%; }
.auth .form-side .eb { font: 500 11px/1.2 var(--font-body); letter-spacing: 0.24em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.auth .form-side h1 { font: 400 48px/1.05 var(--font-display); margin: 0 0 12px; letter-spacing: -0.01em; }
.auth .form-side .sub { font-size: 14px; color: var(--fg-muted); margin-bottom: 32px; }
.auth .form-side .alt { font-size: 13px; color: var(--fg-muted); margin-top: 20px; text-align: center; }
.auth .form-side .alt a { color: var(--primary); border-bottom: 1px solid currentColor; padding-bottom: 1px; }

/* ── ACCOUNT DASHBOARD ──────────────────────────────────────────── */
.account-page { display: grid; grid-template-columns: 220px 1fr; gap: 48px; max-width: var(--container-wide); margin: 0 auto; padding: var(--space-12) var(--gutter); align-items: start; }
.account-sidebar {
  position: sticky; top: 140px;
  display: flex; flex-direction: column; gap: 4px;
  padding-right: 8px;
}
.account-sidebar .greeting { padding: 0 4px 18px; border-bottom: 1px solid var(--border); margin-bottom: 16px; }
.account-sidebar .greeting .eb { font: 500 9px/1.2 var(--font-body); letter-spacing: 0.22em; text-transform: uppercase; color: var(--fg-subtle); margin-bottom: 4px; }
.account-sidebar .greeting .nm { font: 400 24px/1.1 var(--font-display); color: var(--fg); }
.account-sidebar a {
  padding: 10px 12px; border-radius: var(--radius-sm);
  font: 400 13px/1 var(--font-body); color: var(--fg-muted);
  display: flex; align-items: center; gap: 10px;
}
.account-sidebar a:hover { background: var(--bg-muted); color: var(--fg); }
.account-sidebar a.active { background: var(--brand-50); color: var(--primary); font-weight: 500; }
[data-theme="dark"] .account-sidebar a.active { background: var(--brand-900); color: var(--primary); }
.account-sidebar a.logout { color: var(--fg-subtle); margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--border); border-radius: 0; }

.account-main h1 { font: 400 36px/1.05 var(--font-display); margin: 0 0 4px; }
.account-main .sub { font-size: 14px; color: var(--fg-muted); margin-bottom: 28px; }

.order-card {
  background: var(--bg-elevated); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 22px;
  margin-bottom: 16px;
}
.order-card .hd { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 14px; border-bottom: 1px solid var(--border); margin-bottom: 14px; }
.order-card .hd .id { font: 500 12px/1 var(--font-body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg); }
.order-card .hd .date { font-family: var(--font-mono); font-size: 11px; color: var(--fg-subtle); }
.order-card .hd .status { font: 500 11px/1 var(--font-body); letter-spacing: 0.12em; text-transform: uppercase; padding: 6px 10px; border-radius: 9999px; }
.order-card .hd .status.shipped { background: var(--amber-100); color: var(--amber-700); }
.order-card .hd .status.delivered { background: var(--brand-50); color: var(--brand-700); border: 1px solid var(--brand-200); }
[data-theme="dark"] .order-card .hd .status.shipped { background: var(--amber-900); color: var(--amber-300); }
[data-theme="dark"] .order-card .hd .status.delivered { background: var(--brand-900); color: var(--brand-200); border-color: var(--brand-700); }
.order-card .items-strip { display: flex; gap: 8px; margin-bottom: 14px; }
.order-card .items-strip .it { width: 44px; height: 56px; border-radius: 2px; background: linear-gradient(180deg, var(--amber-700), var(--amber-800)); position: relative; }
.order-card .items-strip .it.green { background: linear-gradient(180deg, var(--brand-600), var(--brand-900)); }
.order-card .items-strip .it.cream { background: linear-gradient(180deg, var(--cream-300), var(--cream-500)); }
.order-card .items-strip .it::after { content: attr(data-letter); position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font: italic 400 18px/1 var(--font-display); color: rgba(255,255,255,0.7); }
.order-card .bottom { display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: var(--fg-muted); }
.order-card .bottom .total { font: 500 16px/1 var(--font-body); color: var(--fg); font-variant-numeric: tabular-nums; }
.order-card .actions { display: flex; gap: 8px; }
.order-card .actions a { font: 500 11px/1 var(--font-body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-muted); border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.order-card .actions a.track { color: var(--primary); }

/* ── TRACKING TIMELINE ─────────────────────────────────────────── */
.tracking-wrap { background: var(--bg-elevated); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px; margin-top: 16px; }
.tracking-wrap .hd { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.tracking-wrap .hd h3 { font: 400 26px/1 var(--font-display); margin: 0; }
.tracking-wrap .hd .id { font-family: var(--font-mono); font-size: 12px; color: var(--fg-subtle); }
.tracking-wrap .sub-t { font-size: 13px; color: var(--fg-muted); margin-bottom: 28px; }
.timeline { position: relative; padding-left: 32px; }
.timeline::before { content: ""; position: absolute; left: 8px; top: 8px; bottom: 8px; width: 1px; background: var(--border-strong); }
.t-step { position: relative; padding-bottom: 24px; }
.t-step:last-child { padding-bottom: 0; }
.t-step::before { content: ""; position: absolute; left: -32px; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--bg-elevated); border: 1px solid var(--border-strong); }
.t-step.done::before { background: var(--primary); border-color: var(--primary); }
.t-step.current::before { background: var(--bg-elevated); border: 2px solid var(--accent); box-shadow: 0 0 0 5px rgba(176, 122, 60, 0.2); }
.t-step .nm { font: 500 15px/1.2 var(--font-body); color: var(--fg); }
.t-step.upcoming .nm { color: var(--fg-subtle); }
.t-step.current .nm { color: var(--accent); }
.t-step .tm { font-size: 12px; color: var(--fg-subtle); margin-top: 2px; }
.t-step .dt { font-size: 13px; color: var(--fg-muted); margin-top: 6px; line-height: 1.5; }

/* ── SCREEN SHELL ─────────────────────────────────────────────── */
.screen { min-height: 100vh; padding-bottom: 120px; }
.screen.no-pad { padding-bottom: 0; }

/* ── WHATSAPP FLOATING ────────────────────────────────────────── */
.whatsapp-fab {
  position: fixed;
  right: 24px;
  bottom: 88px;
  width: 52px; height: 52px;
  background: #25D366;
  color: white;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg);
  z-index: var(--z-toast);
  border: 0;
}

/* lucide */
.lucide { width: 20px; height: 20px; stroke-width: 1.5; }
.lucide-sm { width: 16px; height: 16px; }
.lucide-lg { width: 24px; height: 24px; }
