/* ==========================================================================
   Lumen storefront — design system
   ========================================================================== */
:root {
  --bg: #faf8f4;
  --bg-2: #f3efe8;
  --surface: #ffffff;
  --surface-2: #fbfaf7;
  --img-bg: #f4f1ec;
  --ink: #1b1917;
  --ink-2: #57524c;
  --muted: #8b847b;
  --line: #e9e3d9;
  --line-2: #ddd5c8;
  --accent: #e8643b;
  --accent-2: #d4532b;
  --accent-soft: #fde8df;
  --accent-ink: #ffffff;
  --gold: #f2a93b;
  --ok: #2c8a57;
  --ok-soft: #e1f3e8;
  --warn: #b46f12;
  --warn-soft: #fcf0da;
  --bad: #c13e2b;
  --bad-soft: #fbe3de;
  --info: #2d62b5;
  --info-soft: #e3ecfa;
  --violet: #7347b8;
  --violet-soft: #efe7fa;
  --radius: 18px;
  --radius-sm: 12px;
  --radius-xs: 8px;
  --shadow-sm: 0 1px 2px rgba(27, 25, 23, .05);
  --shadow: 0 1px 2px rgba(27, 25, 23, .04), 0 10px 30px rgba(27, 25, 23, .07);
  --shadow-lg: 0 30px 70px rgba(27, 25, 23, .18);
  --font: "Inter", "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
  --serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --max: 1280px;
  --header-h: 128px;
  color-scheme: light;
}
[data-theme="dark"] {
  --bg: #141311;
  --bg-2: #1c1a18;
  --surface: #1f1d1a;
  --surface-2: #24221f;
  --img-bg: #2a2724;
  --ink: #f3efe8;
  --ink-2: #c4bdb2;
  --muted: #8f887e;
  --line: #34302b;
  --line-2: #433e37;
  --accent: #f07448;
  --accent-2: #ff8a5f;
  --accent-soft: #3a241b;
  --ok: #5cc28a;
  --ok-soft: #1c3427;
  --warn: #e6a446;
  --warn-soft: #3a2d17;
  --bad: #f07a68;
  --bad-soft: #3d201b;
  --info: #7fa7ec;
  --info-soft: #1d2a40;
  --violet: #b493ec;
  --violet-soft: #2c2340;
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 10px 30px rgba(0, 0, 0, .35);
  --shadow-lg: 0 30px 70px rgba(0, 0, 0, .55);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; }
body {
  font-family: var(--font); background: var(--bg); color: var(--ink);
  font-size: 15px; line-height: 1.55; -webkit-font-smoothing: antialiased;
  min-height: 100vh; display: flex; flex-direction: column;
  transition: background .25s, color .25s;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; color: inherit; }
input, select, textarea { font: inherit; color: inherit; }
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
.muted { color: var(--muted); }
.serif { font-family: var(--serif); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--bg); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.only-mobile { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- Promo bar ---------- */
.promo-bar { background: var(--ink); color: var(--bg); font-size: 13px; text-align: center; padding: 8px 16px; overflow: hidden; height: 36px; }
.promo-track { display: flex; flex-direction: column; transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.promo-track span { height: 20px; line-height: 20px; display: block; }
.promo-track b { color: var(--gold); letter-spacing: .04em; }

/* ---------- Header ---------- */
.header { position: sticky; top: 0; z-index: 30; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--line); }
.header-inner { max-width: var(--max); margin: 0 auto; padding: 14px 24px 10px; display: flex; align-items: center; gap: 24px; }
.brand { font-family: var(--serif); font-size: 26px; font-weight: 600; letter-spacing: -.02em; display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand-mark { width: 14px; height: 14px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); display: inline-block; }
.header-actions { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.icon-btn {
  position: relative; width: 42px; height: 42px; border-radius: 50%; border: 0; background: transparent;
  display: inline-grid; place-items: center; color: var(--ink-2); transition: background .15s, color .15s, transform .15s; flex-shrink: 0;
}
.icon-btn:hover { background: var(--bg-2); color: var(--ink); }
.icon-btn:active { transform: scale(.94); }
.badge-count {
  position: absolute; top: 2px; right: 0; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px;
  background: var(--ink); color: var(--bg); font-size: 10.5px; font-weight: 700; display: grid; place-items: center; border: 2px solid var(--bg);
}
.badge-count.accent { background: var(--accent); color: #fff; }
.bump { animation: bump .4s ease; }
@keyframes bump { 40% { transform: scale(1.4); } }
.i-moon { display: none; }
[data-theme="dark"] .i-sun { display: none; }
[data-theme="dark"] .i-moon { display: block; }

/* Search */
.search { position: relative; flex: 1; max-width: 560px; }
.search input {
  width: 100%; height: 44px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface);
  padding: 0 44px 0 44px; outline: none; transition: border-color .15s, box-shadow .15s;
}
.search input:focus { border-color: var(--ink-2); box-shadow: 0 0 0 4px color-mix(in srgb, var(--ink) 7%, transparent); }
.search input::-webkit-search-cancel-button { display: none; }
.search-icon { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.search-kbd { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); font: 600 11px var(--font); color: var(--muted); border: 1px solid var(--line); border-radius: 6px; padding: 1px 7px; background: var(--bg); }
.suggest { position: absolute; top: 52px; left: 0; right: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow-lg); padding: 6px; z-index: 40; }
.suggest a { display: grid; grid-template-columns: 44px 1fr auto; gap: 12px; align-items: center; padding: 8px 10px; border-radius: 10px; }
.suggest a:hover, .suggest a.active { background: var(--bg-2); }
.suggest img { width: 44px; height: 44px; object-fit: contain; background: var(--img-bg); border-radius: 8px; }
.suggest .s-name { font-weight: 600; font-size: 14px; }
.suggest .s-brand { font-size: 12px; color: var(--muted); }
.suggest .s-all { display: block; text-align: center; font-weight: 600; font-size: 13px; color: var(--accent); padding: 10px; border-top: 1px solid var(--line); margin-top: 4px; border-radius: 0; }

/* Category nav */
.catnav { max-width: var(--max); margin: 0 auto; padding: 0 24px 10px; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.catnav::-webkit-scrollbar { display: none; }
.catnav a { padding: 7px 14px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--ink-2); white-space: nowrap; transition: background .15s, color .15s; }
.catnav a:hover { background: var(--bg-2); color: var(--ink); }
.catnav a.active { background: var(--ink); color: var(--bg); }
.catnav a.deal { color: var(--accent); }
.catnav a.deal.active { background: var(--accent); color: #fff; }

/* Account menu */
.account { position: relative; }
.avatar { width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--ink); color: var(--bg); font-weight: 700; font-size: 13px; margin: 0 4px; }
.menu { position: absolute; right: 0; top: 50px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow-lg); min-width: 240px; padding: 6px; z-index: 45; animation: pop .18s ease; }
.menu-head { padding: 10px 12px 12px; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.menu-head strong { display: block; }
.menu-head span { font-size: 13px; color: var(--muted); }
.menu a, .menu button { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; padding: 9px 12px; border: 0; background: none; border-radius: 8px; font-size: 14px; }
.menu a:hover, .menu button:hover { background: var(--bg-2); }
.menu hr { border: 0; border-top: 1px solid var(--line); margin: 6px 0; }

/* ---------- Buttons & forms ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 20px; border-radius: 999px;
  border: 1px solid transparent; font-weight: 600; font-size: 14.5px; transition: transform .12s, background .15s, box-shadow .15s, opacity .15s, border-color .15s; white-space: nowrap; line-height: 1.2;
}
.btn:active:not(:disabled) { transform: scale(.98); }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn-primary { background: var(--ink); color: var(--bg); }
.btn-primary:hover:not(:disabled) { box-shadow: var(--shadow); opacity: .92; }
.btn-accent { background: var(--accent); color: var(--accent-ink); }
.btn-accent:hover:not(:disabled) { background: var(--accent-2); box-shadow: 0 10px 24px color-mix(in srgb, var(--accent) 35%, transparent); }
.btn-ghost { background: var(--surface); border-color: var(--line); }
.btn-ghost:hover:not(:disabled) { border-color: var(--line-2); background: var(--bg-2); }
.btn-soft { background: var(--bg-2); }
.btn-soft:hover { background: var(--line); }
.btn-danger { background: var(--bad-soft); color: var(--bad); }
.btn-danger:hover { filter: brightness(.97); }
.btn-sm { padding: 7px 14px; font-size: 13px; }
.btn-lg { padding: 15px 26px; font-size: 15.5px; }
.btn-block { width: 100%; }
.btn .spin { width: 16px; height: 16px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.link { color: var(--accent); font-weight: 600; border: 0; background: none; padding: 0; }
.link:hover { text-decoration: underline; }

.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field > label, .label { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.input, .select, .textarea {
  width: 100%; padding: 11px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface);
  outline: none; transition: border-color .15s, box-shadow .15s;
}
.input:focus, .select:focus, .textarea:focus { border-color: var(--ink-2); box-shadow: 0 0 0 4px color-mix(in srgb, var(--ink) 7%, transparent); }
.textarea { min-height: 110px; resize: vertical; }
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238b847b' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.row3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
.form-error { background: var(--bad-soft); color: var(--bad); padding: 10px 14px; border-radius: var(--radius-sm); font-size: 14px; margin-bottom: 14px; }
.check { display: flex; align-items: center; gap: 10px; font-size: 14px; cursor: pointer; padding: 5px 0; }
.check input { width: 17px; height: 17px; accent-color: var(--accent); }
.hint { font-size: 12.5px; color: var(--muted); }

/* ---------- Layout ---------- */
.app { flex: 1; width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px 90px; outline: none; }
.section { margin-top: 64px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.section-head h2 { font-family: var(--serif); font-weight: 500; font-size: 32px; letter-spacing: -.02em; margin: 0; line-height: 1.1; }
.section-head p { margin: 6px 0 0; color: var(--ink-2); }
.page-head { margin: 36px 0 26px; display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.page-head h1 { font-family: var(--serif); font-weight: 500; font-size: 42px; letter-spacing: -.025em; margin: 0; line-height: 1.05; }
.page-head p { margin: 6px 0 0; color: var(--ink-2); }
.crumbs { display: flex; gap: 8px; align-items: center; font-size: 13px; color: var(--muted); margin: 26px 0 0; flex-wrap: wrap; }
.crumbs a:hover { color: var(--ink); }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.panel h3 { margin: 0 0 18px; font-family: var(--serif); font-weight: 500; font-size: 22px; }

/* ---------- Hero carousel ---------- */
.hero { margin-top: 24px; position: relative; border-radius: 28px; overflow: hidden; min-height: 460px; }
.slide {
  position: absolute; inset: 0; display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 30px; padding: 56px 64px;
  opacity: 0; visibility: hidden; transition: opacity .7s ease, visibility .7s;
}
.slide.active { opacity: 1; visibility: visible; }
.slide.s1 { background: radial-gradient(900px 400px at 90% 0%, #ffd6c4 0%, transparent 60%), radial-gradient(700px 400px at 0% 100%, #f7e3c4 0%, transparent 60%), #fcefe6; }
.slide.s2 { background: radial-gradient(900px 400px at 90% 0%, #cfe0fb 0%, transparent 60%), radial-gradient(700px 400px at 0% 100%, #e1dbf7 0%, transparent 60%), #eef1fb; }
.slide.s3 { background: radial-gradient(900px 400px at 90% 0%, #cdebd9 0%, transparent 60%), radial-gradient(700px 400px at 0% 100%, #f2ebcf 0%, transparent 60%), #eef6ef; }
[data-theme="dark"] .slide.s1 { background: radial-gradient(900px 400px at 90% 0%, #4a2a1d 0%, transparent 60%), #241c18; }
[data-theme="dark"] .slide.s2 { background: radial-gradient(900px 400px at 90% 0%, #1f2d4a 0%, transparent 60%), #1a1d26; }
[data-theme="dark"] .slide.s3 { background: radial-gradient(900px 400px at 90% 0%, #1d3a2a 0%, transparent 60%), #18211c; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--accent); background: var(--surface); padding: 6px 12px; border-radius: 999px; box-shadow: var(--shadow-sm); }
.slide h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(38px, 4.8vw, 64px); line-height: 1.02; letter-spacing: -.03em; margin: 18px 0 16px; }
.slide h1 em { color: var(--accent); }
.slide p { color: var(--ink-2); font-size: 17px; max-width: 460px; margin: 0 0 28px; }
.slide-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.slide-art { position: relative; height: 380px; }
.slide-art .art { position: absolute; border-radius: 26px; background: var(--surface); box-shadow: var(--shadow-lg); overflow: hidden; display: grid; place-items: center; padding: 14px; animation: float 7s ease-in-out infinite; }
.slide-art .art img { width: 100%; height: 100%; object-fit: contain; }
.slide-art .a1 { width: 56%; height: 78%; left: 6%; top: 10%; }
.slide-art .a2 { width: 36%; height: 44%; right: 2%; top: 0; animation-delay: -2.5s; }
.slide-art .a3 { width: 38%; height: 46%; right: 8%; bottom: 0; animation-delay: -5s; }
.slide-art .tag { position: absolute; left: 0; bottom: 8%; background: var(--surface); border-radius: 14px; padding: 10px 14px; box-shadow: var(--shadow); font-size: 13px; z-index: 2; }
.slide-art .tag strong { display: block; font-size: 15px; }
@keyframes float { 50% { transform: translateY(-12px); } }
.hero-dots { position: absolute; bottom: 22px; left: 64px; display: flex; gap: 8px; z-index: 3; }
.hero-dots button { width: 9px; height: 9px; border-radius: 999px; border: 0; background: color-mix(in srgb, var(--ink) 25%, transparent); padding: 0; transition: width .3s, background .3s; }
.hero-dots button.active { width: 28px; background: var(--ink); }

/* Trust strip */
.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 18px; }
.trust div { display: flex; gap: 12px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; }
.trust i { width: 40px; height: 40px; border-radius: 12px; background: var(--accent-soft); display: grid; place-items: center; font-style: normal; font-size: 18px; flex-shrink: 0; }
.trust strong { display: block; font-size: 14px; }
.trust span { font-size: 12.5px; color: var(--muted); }

/* Category tiles */
.cat-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.cat-tile { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 14px 18px; text-align: center; transition: transform .2s, box-shadow .2s, border-color .2s; }
.cat-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.cat-tile .cat-img { aspect-ratio: 1; background: var(--img-bg); border-radius: 14px; margin-bottom: 12px; overflow: hidden; display: grid; place-items: center; }
.cat-tile img { width: 82%; height: 82%; object-fit: contain; transition: transform .35s; }
.cat-tile:hover img { transform: scale(1.07); }
.cat-tile strong { display: block; font-size: 14.5px; }
.cat-tile span { font-size: 12.5px; color: var(--muted); }

/* Promo banners */
.banners { display: grid; grid-template-columns: 1.3fr 1fr; gap: 16px; }
.banner { border-radius: 24px; padding: 34px; position: relative; overflow: hidden; min-height: 240px; display: flex; flex-direction: column; justify-content: center; }
.banner h3 { font-family: var(--serif); font-weight: 500; font-size: 32px; line-height: 1.08; margin: 10px 0 10px; max-width: 320px; letter-spacing: -.02em; }
.banner p { margin: 0 0 20px; max-width: 300px; color: var(--ink-2); }
.banner img { position: absolute; right: -10px; bottom: -10px; width: 46%; max-width: 300px; object-fit: contain; filter: drop-shadow(0 20px 30px rgba(0,0,0,.18)); transition: transform .4s; }
.banner:hover img { transform: rotate(-3deg) scale(1.04); }
.banner.b1 { background: linear-gradient(135deg, #1b1917, #3b2f28); color: #fff; }
.banner.b1 p { color: #d6cfc6; }
.banner.b2 { background: linear-gradient(135deg, #fde3d6, #f7c3ab); color: #2a1a12; }
.banner.b2 p { color: #6d4a3a; }
.code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-weight: 700; background: color-mix(in srgb, currentColor 12%, transparent); padding: 3px 8px; border-radius: 6px; letter-spacing: .04em; }

/* ---------- Product cards ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 20px; }
.grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 60px) / 4); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: thin; }
.rail > * { scroll-snap-align: start; }
.rail-nav { display: flex; gap: 8px; }
.rail-nav button { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); }
.rail-nav button:hover { background: var(--bg-2); }

.card { background: var(--surface); border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; display: flex; flex-direction: column; position: relative; transition: transform .25s ease, box-shadow .25s ease, border-color .25s; animation: rise .45s ease both; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
.card-media { position: relative; aspect-ratio: 1 / 1; background: var(--img-bg); overflow: hidden; }
.card-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 18px; transition: opacity .35s ease, transform .5s ease; }
.card-media img.alt { opacity: 0; }
.card:hover .card-media img.main.has-alt { opacity: 0; }
.card:hover .card-media img.alt { opacity: 1; }
.card:hover .card-media img.main:not(.has-alt) { transform: scale(1.06); }
.card-badges { position: absolute; top: 12px; left: 12px; display: flex; flex-direction: column; gap: 6px; z-index: 2; align-items: flex-start; }
.pill { display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 700; letter-spacing: .01em; }
.pill.sale { background: var(--accent); color: #fff; }
.pill.low { background: var(--warn-soft); color: var(--warn); }
.pill.out { background: var(--ink); color: var(--bg); }
.pill.feat { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-sm); }
.pill.ok { background: var(--ok-soft); color: var(--ok); }
.card-fav { position: absolute; top: 10px; right: 10px; z-index: 2; width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--surface); box-shadow: var(--shadow-sm); display: grid; place-items: center; color: var(--ink-2); transition: transform .15s, color .15s; }
.card-fav:hover { transform: scale(1.1); color: var(--accent); }
.card-fav.on { color: var(--accent); }
.card-fav.on svg { fill: currentColor; }
.card-quick { position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 2; opacity: 0; transform: translateY(8px); transition: opacity .2s, transform .2s; display: flex; gap: 8px; }
.card:hover .card-quick, .card:focus-within .card-quick { opacity: 1; transform: none; }
.card-quick .btn { flex: 1; padding: 9px 12px; font-size: 13px; box-shadow: var(--shadow); }
.card-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.card-brand { font-size: 11.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; }
.card-title { font-weight: 600; font-size: 15px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 40px; }
.card-rating { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--muted); }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 10px; }
.price { font-family: var(--serif); font-weight: 600; font-size: 20px; letter-spacing: -.01em; display: inline-flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.price s { font-family: var(--font); font-size: 13px; font-weight: 500; color: var(--muted); }
.price .now.sale { color: var(--accent); }
.add-btn { width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--ink); color: var(--bg); font-size: 20px; display: grid; place-items: center; transition: transform .2s, background .2s; flex-shrink: 0; }
.add-btn:hover:not(:disabled) { background: var(--accent); color: #fff; transform: rotate(90deg); }
.add-btn:disabled { background: var(--line); color: var(--muted); cursor: not-allowed; }

/* Stars */
.stars { --size: 14px; display: inline-flex; gap: 1px; position: relative; line-height: 1; }
.stars .bg, .stars .fg { display: inline-flex; gap: 1px; }
.stars .fg { position: absolute; inset: 0; overflow: hidden; white-space: nowrap; color: var(--gold); }
.stars .bg { color: var(--line-2); }
.stars svg { width: var(--size); height: var(--size); flex-shrink: 0; }
.star-input { display: inline-flex; gap: 4px; flex-direction: row-reverse; justify-content: flex-end; }
.star-input input { display: none; }
.star-input label { cursor: pointer; color: var(--line-2); transition: color .12s, transform .12s; }
.star-input label svg { width: 30px; height: 30px; }
.star-input label:hover, .star-input label:hover ~ label, .star-input input:checked ~ label { color: var(--gold); }
.star-input label:hover { transform: scale(1.12); }

/* ---------- Shop page ---------- */
.shop { display: grid; grid-template-columns: 260px 1fr; gap: 32px; align-items: start; }
.filters { position: sticky; top: calc(var(--header-h) + 16px); max-height: calc(100vh - var(--header-h) - 32px); overflow-y: auto; padding-right: 6px; scrollbar-width: thin; }
.filter-group { border-bottom: 1px solid var(--line); padding: 16px 0; }
.filter-group:first-child { padding-top: 0; }
.filter-group h4 { margin: 0 0 10px; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-2); display: flex; justify-content: space-between; align-items: center; }
.filter-list { display: flex; flex-direction: column; max-height: 240px; overflow-y: auto; scrollbar-width: thin; }
.filter-list a { display: flex; justify-content: space-between; padding: 6px 10px; border-radius: 8px; font-size: 14px; color: var(--ink-2); }
.filter-list a:hover { background: var(--bg-2); color: var(--ink); }
.filter-list a.active { background: var(--ink); color: var(--bg); font-weight: 600; }
.filter-list .check span:last-child { margin-left: auto; color: var(--muted); font-size: 12.5px; }
.price-inputs { display: grid; grid-template-columns: 1fr auto 1fr; gap: 8px; align-items: center; }
.price-inputs .input { padding: 8px 10px; font-size: 14px; }
.rating-opts { display: flex; flex-direction: column; gap: 2px; }
.rating-opts button { display: flex; align-items: center; gap: 8px; border: 0; background: none; padding: 6px 10px; border-radius: 8px; font-size: 13.5px; color: var(--ink-2); text-align: left; }
.rating-opts button:hover { background: var(--bg-2); }
.rating-opts button.active { background: var(--accent-soft); color: var(--ink); font-weight: 600; }
.shop-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.shop-bar .count { color: var(--ink-2); font-size: 14px; }
.shop-bar .count strong { color: var(--ink); }
.shop-tools { display: flex; gap: 8px; align-items: center; }
.shop-tools .select { width: auto; border-radius: 999px; padding-top: 9px; padding-bottom: 9px; font-size: 14px; }
.view-toggle { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; background: var(--surface); }
.view-toggle button { width: 34px; height: 30px; border-radius: 999px; border: 0; background: none; color: var(--muted); display: grid; place-items: center; }
.view-toggle button.active { background: var(--ink); color: var(--bg); }
.active-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-size: 13px; font-weight: 500; color: var(--ink-2); transition: all .15s; }
.chip:hover { border-color: var(--ink-2); color: var(--ink); }
.chip.active { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.chip b { font-weight: 700; opacity: .6; }
.grid.list { grid-template-columns: 1fr; }
.grid.list .card { flex-direction: row; }
.grid.list .card-media { width: 220px; flex-shrink: 0; }
.grid.list .card-body { padding: 20px 24px; }
.grid.list .card-desc { display: block; }
.card-desc { display: none; color: var(--ink-2); font-size: 14px; margin: 6px 0; max-width: 640px; }
.pager { display: flex; justify-content: center; gap: 6px; margin-top: 36px; flex-wrap: wrap; }
.pager button { min-width: 40px; height: 40px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-weight: 600; font-size: 14px; padding: 0 12px; }
.pager button:hover:not(:disabled) { border-color: var(--ink-2); }
.pager button.active { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.pager button:disabled { opacity: .4; cursor: default; }
.mobile-filter-btn { display: none; }

/* ---------- Product page ---------- */
.pdp { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: start; margin-top: 22px; }
.gallery { position: sticky; top: calc(var(--header-h) + 20px); display: grid; grid-template-columns: 76px 1fr; gap: 14px; }
.gallery-thumbs { display: flex; flex-direction: column; gap: 10px; }
.gallery-thumbs button { width: 76px; height: 76px; border-radius: 14px; border: 2px solid transparent; background: var(--img-bg); padding: 6px; transition: border-color .15s; }
.gallery-thumbs button.active { border-color: var(--ink); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: contain; }
.gallery-main { position: relative; aspect-ratio: 1; background: var(--img-bg); border-radius: 26px; overflow: hidden; cursor: zoom-in; }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; padding: 36px; transition: transform .2s ease-out; transform-origin: center; }
.gallery-main.zoom img { transform: scale(2); }
.gallery-main .card-badges { top: 18px; left: 18px; }
.gallery-arrows button { position: absolute; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--surface); box-shadow: var(--shadow); z-index: 2; font-size: 18px; }
.gallery-arrows .prev { left: 14px; } .gallery-arrows .next { right: 14px; }
.pdp-info .brand-link { font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: var(--accent); font-weight: 700; }
.pdp-info h1 { font-family: var(--serif); font-weight: 500; font-size: 40px; letter-spacing: -.02em; line-height: 1.08; margin: 8px 0 12px; }
.pdp-rating { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ink-2); }
.pdp-price { margin: 20px 0 6px; display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.pdp-price .price { font-size: 34px; }
.save { font-size: 13px; font-weight: 700; color: var(--ok); background: var(--ok-soft); padding: 4px 10px; border-radius: 999px; }
.pdp-desc { color: var(--ink-2); font-size: 16px; margin: 18px 0 22px; }
.stock-line { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; }
.stock-line::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px color-mix(in srgb, currentColor 18%, transparent); }
.stock-ok { color: var(--ok); } .stock-low { color: var(--warn); } .stock-out { color: var(--bad); }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); height: 50px; }
.qty button { width: 44px; height: 100%; border: 0; background: none; font-size: 18px; color: var(--ink-2); border-radius: 999px; }
.qty button:hover:not(:disabled) { color: var(--ink); background: var(--bg-2); }
.qty button:disabled { opacity: .35; }
.qty span { min-width: 30px; text-align: center; font-weight: 700; }
.qty.sm { height: 32px; } .qty.sm button { width: 30px; font-size: 15px; } .qty.sm span { min-width: 22px; font-size: 13px; }
.buy-row { display: flex; gap: 10px; align-items: center; margin-top: 22px; }
.buy-row .btn-lg { flex: 1; height: 50px; }
.fav-lg { width: 50px; height: 50px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); display: grid; place-items: center; color: var(--ink-2); transition: color .15s, border-color .15s; flex-shrink: 0; }
.fav-lg:hover, .fav-lg.on { color: var(--accent); border-color: var(--accent); }
.fav-lg.on svg { fill: currentColor; }
.perks-list { margin-top: 26px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.perks-list div { display: flex; gap: 14px; padding: 14px 18px; align-items: center; font-size: 14px; }
.perks-list div + div { border-top: 1px solid var(--line); }
.perks-list i { font-style: normal; font-size: 18px; width: 24px; text-align: center; }
.perks-list span { color: var(--muted); display: block; font-size: 12.5px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.share-row { display: flex; gap: 8px; margin-top: 16px; }

.tabs-bar { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin: 64px 0 28px; overflow-x: auto; }
.tabs-bar button { border: 0; background: none; padding: 14px 18px; font-weight: 600; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.tabs-bar button.active { color: var(--ink); border-bottom-color: var(--ink); }
.specs { width: 100%; border-collapse: collapse; max-width: 720px; }
.specs td { padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.specs td:first-child { color: var(--muted); width: 200px; }

/* Reviews */
.reviews { display: grid; grid-template-columns: 320px 1fr; gap: 48px; align-items: start; }
.rv-summary { position: sticky; top: calc(var(--header-h) + 20px); }
.rv-big { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.rv-big strong { font-family: var(--serif); font-size: 58px; font-weight: 500; line-height: 1; }
.rv-bars { display: flex; flex-direction: column; gap: 6px; margin-bottom: 22px; }
.rv-bar { display: grid; grid-template-columns: 44px 1fr 34px; gap: 10px; align-items: center; font-size: 13px; color: var(--ink-2); border: 0; background: none; padding: 3px 4px; border-radius: 6px; text-align: left; }
.rv-bar:hover, .rv-bar.active { background: var(--bg-2); }
.rv-bar .track { height: 8px; border-radius: 999px; background: var(--bg-2); overflow: hidden; }
.rv-bar .fill { height: 100%; background: var(--gold); border-radius: 999px; transition: width .6s ease; }
.rv-tools { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; gap: 12px; flex-wrap: wrap; }
.review { padding: 22px 0; border-bottom: 1px solid var(--line); animation: rise .35s both; }
.review-head { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.review-author { display: flex; gap: 12px; align-items: center; }
.review-avatar { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 14px; color: #fff; flex-shrink: 0; }
.review-author strong { display: block; font-size: 14.5px; }
.review-author span { font-size: 12.5px; color: var(--muted); }
.review h5 { margin: 12px 0 4px; font-size: 15.5px; }
.review p { margin: 0; color: var(--ink-2); }
.review-actions { display: flex; gap: 14px; margin-top: 12px; font-size: 13px; color: var(--muted); align-items: center; }
.review-actions button { border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 5px 12px; font-size: 12.5px; color: var(--ink-2); }
.review-actions button:hover { border-color: var(--ink-2); }
.review-actions button.on { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.verified { color: var(--ok); font-weight: 600; font-size: 12px; display: inline-flex; gap: 4px; align-items: center; }

/* ---------- Drawers / sheets ---------- */
.scrim { position: fixed; inset: 0; background: rgba(20, 18, 16, .45); z-index: 60; animation: fade .2s ease; backdrop-filter: blur(2px); }
@keyframes fade { from { opacity: 0; } }
.sheet { position: fixed; top: 0; height: 100%; width: min(440px, 100%); background: var(--surface); z-index: 70; display: flex; flex-direction: column; transition: transform .35s cubic-bezier(.2,.8,.2,1); box-shadow: var(--shadow-lg); }
.sheet-right { right: 0; transform: translateX(105%); }
.sheet-left { left: 0; transform: translateX(-105%); width: min(340px, 90%); }
.sheet.open { transform: none; }
.sheet-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.sheet-head h3 { margin: 0; font-family: var(--serif); font-weight: 500; font-size: 24px; }
.sheet-body { flex: 1; overflow-y: auto; padding: 6px 22px; }
.sheet-foot { padding: 18px 22px 22px; border-top: 1px solid var(--line); background: var(--surface-2); }
.ship-meter { background: var(--bg-2); border-radius: var(--radius-sm); padding: 12px 14px; margin: 14px 0 4px; font-size: 13px; }
.ship-meter .track { height: 6px; border-radius: 999px; background: var(--line); margin-top: 8px; overflow: hidden; }
.ship-meter .fill { height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--accent), var(--gold)); transition: width .5s ease; }
.line { display: grid; grid-template-columns: 76px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: center; }
.line-img { width: 76px; height: 76px; border-radius: 14px; background: var(--img-bg); padding: 6px; }
.line-img img { width: 100%; height: 100%; object-fit: contain; }
.line-title { font-weight: 600; font-size: 14px; line-height: 1.35; }
.line-sub { font-size: 12.5px; color: var(--muted); margin: 2px 0 8px; }
.line-right { text-align: right; display: flex; flex-direction: column; gap: 8px; align-items: flex-end; }
.remove { border: 0; background: none; color: var(--muted); font-size: 12px; text-decoration: underline; padding: 0; }
.remove:hover { color: var(--bad); }
.sum { display: flex; justify-content: space-between; margin-bottom: 7px; color: var(--ink-2); font-size: 14px; }
.sum.discount { color: var(--ok); }
.sum.total { color: var(--ink); font-weight: 700; font-size: 18px; margin: 12px 0 16px; padding-top: 12px; border-top: 1px dashed var(--line-2); }
.menu-links { display: flex; flex-direction: column; padding: 10px 0; }
.menu-links a { padding: 12px 4px; border-bottom: 1px solid var(--line); font-weight: 500; display: flex; justify-content: space-between; }

/* ---------- Modal ---------- */
.modal-wrap { position: fixed; inset: 0; z-index: 80; background: rgba(20, 18, 16, .5); display: grid; place-items: center; padding: 20px; animation: fade .2s; backdrop-filter: blur(3px); }
.modal { background: var(--surface); border-radius: 26px; width: min(460px, 100%); padding: 32px; box-shadow: var(--shadow-lg); animation: pop .28s cubic-bezier(.2,.8,.2,1); max-height: 92vh; overflow-y: auto; position: relative; }
.modal.wide { width: min(680px, 100%); }
.modal.xl { width: min(980px, 100%); padding: 0; }
@keyframes pop { from { opacity: 0; transform: translateY(12px) scale(.98); } }
.modal h2 { font-family: var(--serif); font-weight: 500; font-size: 30px; margin: 0 0 6px; letter-spacing: -.02em; }
.modal .sub { color: var(--ink-2); margin: 0 0 24px; }
.modal-close { position: absolute; top: 14px; right: 14px; z-index: 3; background: var(--surface); }
.seg { display: flex; background: var(--bg-2); border-radius: 999px; padding: 4px; margin-bottom: 22px; }
.seg button { flex: 1; border: 0; background: none; padding: 9px; border-radius: 999px; font-weight: 600; color: var(--ink-2); }
.seg button.active { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-sm); }
.demo-box { background: var(--bg-2); border-radius: var(--radius-sm); padding: 12px 14px; font-size: 13px; color: var(--ink-2); margin-top: 16px; display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.quickview { display: grid; grid-template-columns: 1fr 1fr; }
.quickview .qv-media { background: var(--img-bg); aspect-ratio: 1; padding: 30px; border-radius: 26px 0 0 26px; }
.quickview .qv-media img { width: 100%; height: 100%; object-fit: contain; }
.quickview .qv-info { padding: 36px 34px; display: flex; flex-direction: column; }
.quickview h2 { font-size: 28px; }

/* ---------- Checkout ---------- */
.steps { display: flex; gap: 10px; align-items: center; font-size: 13.5px; color: var(--muted); margin-bottom: 26px; flex-wrap: wrap; }
.steps span { display: inline-flex; align-items: center; gap: 8px; }
.steps i { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 12px; font-weight: 700; background: var(--bg-2); }
.steps .done i, .steps .on i { background: var(--ink); color: var(--bg); }
.steps .on { color: var(--ink); font-weight: 600; }
.steps .sep { width: 30px; height: 1px; background: var(--line-2); }
.checkout { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: start; }
.sticky { position: sticky; top: calc(var(--header-h) + 20px); }
.pay-opts { display: grid; gap: 10px; }
.pay-opt { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius-sm); cursor: pointer; transition: border-color .15s, background .15s; }
.pay-opt:has(input:checked) { border-color: var(--ink); background: var(--surface-2); }
.pay-opt input { accent-color: var(--accent); width: 17px; height: 17px; }
.pay-opt span { flex: 1; font-weight: 600; font-size: 14px; }
.pay-opt small { color: var(--muted); font-weight: 400; display: block; }
.coupon-row { display: flex; gap: 8px; margin: 16px 0 6px; }
.coupon-row .input { text-transform: uppercase; }
.applied { display: flex; justify-content: space-between; align-items: center; background: var(--ok-soft); color: var(--ok); padding: 10px 14px; border-radius: var(--radius-sm); font-size: 13.5px; font-weight: 600; margin: 14px 0 6px; }
.notice { background: var(--info-soft); color: var(--info); border-radius: var(--radius-sm); padding: 11px 14px; font-size: 13px; margin-bottom: 16px; }
.success { text-align: center; max-width: 560px; margin: 70px auto; }
.success-icon { width: 92px; height: 92px; border-radius: 50%; background: var(--ok-soft); color: var(--ok); display: grid; place-items: center; font-size: 44px; margin: 0 auto 22px; animation: pop .45s; }
.success h1 { font-family: var(--serif); font-weight: 500; font-size: 44px; margin: 0 0 10px; }
.confetti { position: fixed; inset: 0; pointer-events: none; z-index: 90; overflow: hidden; }
.confetti i { position: absolute; top: -12px; width: 9px; height: 14px; border-radius: 2px; animation: fall linear forwards; }
@keyframes fall { to { transform: translateY(110vh) rotate(720deg); opacity: .8; } }

/* ---------- Orders ---------- */
.order { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; margin-bottom: 16px; animation: rise .35s both; }
.order-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.order-head strong { font-size: 16px; }
.order-thumbs { display: flex; gap: 8px; margin: 16px 0; flex-wrap: wrap; }
.order-thumbs img { width: 58px; height: 58px; object-fit: contain; background: var(--img-bg); border-radius: 12px; padding: 5px; }
.order-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.status { padding: 4px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; text-transform: capitalize; white-space: nowrap; }
.s-pending { background: var(--warn-soft); color: var(--warn); }
.s-paid { background: var(--info-soft); color: var(--info); }
.s-shipped { background: var(--violet-soft); color: var(--violet); }
.s-delivered { background: var(--ok-soft); color: var(--ok); }
.s-cancelled { background: var(--bg-2); color: var(--muted); }
.s-new { background: var(--accent-soft); color: var(--accent); }
.s-read { background: var(--info-soft); color: var(--info); }
.s-resolved { background: var(--ok-soft); color: var(--ok); }
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); margin: 26px 0 10px; position: relative; }
.timeline div { text-align: center; position: relative; font-size: 13px; color: var(--muted); }
.timeline div::before { content: ""; position: absolute; top: 15px; left: -50%; right: 50%; height: 3px; background: var(--line); z-index: 0; }
.timeline div:first-child::before { display: none; }
.timeline div.done::before { background: var(--ok); }
.timeline i { position: relative; z-index: 1; width: 32px; height: 32px; border-radius: 50%; background: var(--bg-2); display: grid; place-items: center; margin: 0 auto 8px; font-style: normal; font-weight: 700; border: 3px solid var(--surface); }
.timeline .done i { background: var(--ok); color: #fff; }
.timeline .done { color: var(--ink); font-weight: 600; }

/* ---------- Account ---------- */
.account-grid { display: grid; grid-template-columns: 240px 1fr; gap: 32px; align-items: start; }
.side-nav { display: flex; flex-direction: column; gap: 2px; position: sticky; top: calc(var(--header-h) + 20px); }
.side-nav a, .side-nav button { padding: 10px 14px; border-radius: 10px; font-weight: 500; color: var(--ink-2); border: 0; background: none; text-align: left; display: flex; gap: 10px; align-items: center; font-size: 14.5px; }
.side-nav a:hover, .side-nav button:hover { background: var(--bg-2); color: var(--ink); }
.side-nav a.active { background: var(--ink); color: var(--bg); }
.side-nav .count { margin-left: auto; font-size: 12px; background: var(--accent); color: #fff; border-radius: 999px; padding: 1px 8px; }
.mini-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 20px; }
.mini-stats div { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.mini-stats span { font-size: 13px; color: var(--muted); }
.mini-stats strong { display: block; font-family: var(--serif); font-size: 28px; font-weight: 600; }

/* ---------- Feedback / FAQ ---------- */
.contact-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 28px; align-items: start; }
.type-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.type-opts label { cursor: pointer; }
.type-opts input { display: none; }
.type-opts span { display: inline-flex; gap: 6px; align-items: center; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); font-size: 13.5px; font-weight: 500; transition: all .15s; background: var(--surface); }
.type-opts input:checked + span { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.contact-card { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact-card:last-child { border: 0; }
.contact-card i { width: 42px; height: 42px; border-radius: 12px; background: var(--accent-soft); display: grid; place-items: center; font-style: normal; font-size: 18px; flex-shrink: 0; }
.contact-card strong { display: block; }
.contact-card span { font-size: 13.5px; color: var(--muted); }
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary { cursor: pointer; list-style: none; padding: 16px 0; font-weight: 600; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--muted); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 16px; color: var(--ink-2); max-width: 760px; }

/* Testimonials & newsletter */
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.quote { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.quote p { margin: 0; font-family: var(--serif); font-size: 19px; line-height: 1.4; }
.quote footer { display: flex; align-items: center; gap: 10px; margin-top: auto; font-size: 13px; color: var(--muted); }
.quote footer img { width: 40px; height: 40px; border-radius: 10px; object-fit: contain; background: var(--img-bg); padding: 3px; }
.brand-strip { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.brand-strip a { padding: 12px 22px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-family: var(--serif); font-size: 18px; font-weight: 600; color: var(--ink-2); transition: all .2s; }
.brand-strip a:hover { color: var(--ink); border-color: var(--ink); transform: translateY(-2px); }
.news-band { margin-top: 72px; border-radius: 28px; padding: 54px; background: var(--ink); color: var(--bg); display: grid; grid-template-columns: 1.2fr 1fr; gap: 30px; align-items: center; position: relative; overflow: hidden; }
.news-band::after { content: ""; position: absolute; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--accent) 55%, transparent), transparent 70%); right: -90px; top: -120px; }
.news-band h2 { font-family: var(--serif); font-weight: 500; font-size: 38px; margin: 0 0 8px; letter-spacing: -.02em; }
.news-band p { margin: 0; opacity: .75; }
.news-band form { display: flex; gap: 10px; position: relative; z-index: 1; }
.news-band .input { background: color-mix(in srgb, var(--bg) 10%, transparent); border-color: color-mix(in srgb, var(--bg) 25%, transparent); color: var(--bg); border-radius: 999px; padding: 14px 20px; }
.news-band .input::placeholder { color: color-mix(in srgb, var(--bg) 55%, transparent); }

/* ---------- Admin ---------- */
.admin { display: grid; grid-template-columns: 230px 1fr; gap: 28px; align-items: start; margin-top: 30px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 18px; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.stat span { font-size: 13px; color: var(--muted); font-weight: 500; display: flex; justify-content: space-between; }
.stat strong { display: block; font-family: var(--serif); font-size: 30px; font-weight: 600; margin-top: 4px; letter-spacing: -.01em; }
.stat small { color: var(--muted); font-size: 12.5px; }
.admin-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 14px; margin-bottom: 14px; }
.chart { width: 100%; height: 220px; display: block; }
.chart .bar { fill: var(--accent); transition: opacity .15s; }
.chart .bar:hover { opacity: .75; }
.chart text { fill: var(--muted); font-size: 11px; font-family: var(--font); }
.chart line { stroke: var(--line); }
.status-bars { display: flex; flex-direction: column; gap: 10px; }
.status-bars div { display: grid; grid-template-columns: 90px 1fr 30px; gap: 10px; align-items: center; font-size: 13px; text-transform: capitalize; }
.status-bars .track { height: 10px; background: var(--bg-2); border-radius: 999px; overflow: hidden; }
.status-bars .fill { height: 100%; border-radius: 999px; }
.mini-list { display: flex; flex-direction: column; }
.mini-list > div { display: flex; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.mini-list > div:last-child { border: 0; }
.mini-list img { width: 40px; height: 40px; object-fit: contain; background: var(--img-bg); border-radius: 10px; padding: 3px; flex-shrink: 0; }
.mini-list .grow { flex: 1; min-width: 0; }
.mini-list .grow strong { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 600; }
.mini-list .grow span { font-size: 12.5px; color: var(--muted); }
.table-tools { display: flex; gap: 10px; margin-bottom: 14px; flex-wrap: wrap; align-items: center; }
.table-tools .input { max-width: 280px; border-radius: 999px; padding: 9px 16px; }
.table-tools .select { width: auto; border-radius: 999px; padding-top: 9px; padding-bottom: 9px; }
.table-wrap { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: auto; }
table.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl th { text-align: left; font-size: 11.5px; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); font-weight: 700; padding: 13px 16px; background: var(--surface-2); border-bottom: 1px solid var(--line); white-space: nowrap; }
.tbl td { padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl tr:hover td { background: var(--surface-2); }
.cell-prod { display: flex; align-items: center; gap: 12px; min-width: 220px; }
.cell-prod img { width: 44px; height: 44px; border-radius: 10px; object-fit: contain; background: var(--img-bg); padding: 3px; flex-shrink: 0; }
.cell-prod strong { display: block; font-weight: 600; }
.cell-prod span { font-size: 12.5px; color: var(--muted); }
.actions { display: flex; gap: 6px; justify-content: flex-end; flex-wrap: wrap; }
.switch { position: relative; width: 40px; height: 23px; display: inline-block; }
.switch input { opacity: 0; width: 0; height: 0; }
.switch span { position: absolute; inset: 0; background: var(--line-2); border-radius: 999px; transition: background .2s; cursor: pointer; }
.switch span::after { content: ""; position: absolute; left: 3px; top: 3px; width: 17px; height: 17px; border-radius: 50%; background: #fff; transition: transform .2s; box-shadow: var(--shadow-sm); }
.switch input:checked + span { background: var(--ok); }
.switch input:checked + span::after { transform: translateX(17px); }
.fb-item { padding: 18px 0; border-bottom: 1px solid var(--line); }
.fb-item:last-child { border: 0; }
.fb-head { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: center; margin-bottom: 8px; }
.fb-item p { margin: 0 0 10px; color: var(--ink-2); }

/* ---------- Misc ---------- */
.empty { text-align: center; padding: 70px 20px; color: var(--ink-2); }
.empty-icon { font-size: 52px; margin-bottom: 14px; }
.empty h3 { font-family: var(--serif); font-weight: 500; font-size: 26px; margin: 0 0 6px; color: var(--ink); }
.empty p { margin: 0 0 20px; }
.skel { background: linear-gradient(90deg, var(--bg-2) 25%, var(--surface-2) 50%, var(--bg-2) 75%); background-size: 200% 100%; animation: shimmer 1.2s infinite; border-radius: var(--radius); }
@keyframes shimmer { to { background-position: -200% 0; } }
.toasts { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 95; display: flex; flex-direction: column; gap: 8px; align-items: center; pointer-events: none; }
.toast { background: var(--ink); color: var(--bg); padding: 12px 18px; border-radius: 999px; font-size: 14px; font-weight: 500; box-shadow: var(--shadow-lg); animation: toast .35s cubic-bezier(.2,.8,.2,1); display: flex; gap: 10px; align-items: center; pointer-events: auto; }
.toast img { width: 28px; height: 28px; object-fit: contain; background: #fff; border-radius: 6px; padding: 2px; }
.toast a { color: var(--gold); font-weight: 700; margin-left: 4px; }
.toast.error { background: var(--bad); color: #fff; }
@keyframes toast { from { opacity: 0; transform: translateY(16px); } }
.to-top { position: fixed; right: 22px; bottom: 22px; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow); z-index: 25; font-size: 18px; transition: transform .2s; }
.to-top:hover { transform: translateY(-3px); }
.img-fallback { display: grid !important; place-items: center; color: var(--muted); font-size: 34px; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); background: var(--surface-2); margin-top: 40px; }
.footer-top { max-width: var(--max); margin: 0 auto; padding: 48px 24px 32px; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.footer-brand p { color: var(--ink-2); max-width: 360px; margin: 12px 0 18px; font-size: 14px; }
.newsletter { display: flex; gap: 8px; max-width: 380px; }
.newsletter .input { border-radius: 999px; }
.footer-col h4 { margin: 4px 0 12px; font-size: 12.5px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.footer-col a { display: block; padding: 5px 0; color: var(--ink-2); font-size: 14px; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom { max-width: var(--max); margin: 0 auto; padding: 18px 24px 26px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 13px; color: var(--muted); border-top: 1px solid var(--line); }
.pay-icons { display: flex; gap: 6px; }
.pay-icons i { font-style: normal; font-size: 10.5px; font-weight: 800; letter-spacing: .04em; border: 1px solid var(--line-2); border-radius: 6px; padding: 3px 7px; color: var(--ink-2); background: var(--surface); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .rail { grid-auto-columns: calc((100% - 40px) / 3); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .admin-grid { grid-template-columns: 1fr; }
  .trust { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  :root { --header-h: 116px; }
  .slide { grid-template-columns: 1fr; padding: 40px 30px 60px; }
  .slide-art { display: none; }
  .hero { min-height: 420px; }
  .hero-dots { left: 30px; }
  .shop { grid-template-columns: 1fr; }
  .filters { position: fixed; inset: 0 auto 0 0; width: min(330px, 88%); max-height: none; background: var(--surface); z-index: 70; padding: 22px; transform: translateX(-105%); transition: transform .35s cubic-bezier(.2,.8,.2,1); box-shadow: var(--shadow-lg); }
  .filters.open { transform: none; }
  .mobile-filter-btn { display: inline-flex; }
  .pdp, .checkout, .reviews, .contact-grid, .account-grid, .admin, .banners, .news-band { grid-template-columns: 1fr; gap: 28px; }
  .gallery, .rv-summary, .sticky, .side-nav { position: static; }
  .side-nav { flex-direction: row; overflow-x: auto; }
  .testimonials { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .quickview { grid-template-columns: 1fr; }
  .quickview .qv-media { border-radius: 26px 26px 0 0; max-height: 320px; }
  .grid.list .card { flex-direction: column; }
  .grid.list .card-media { width: 100%; }
}
@media (max-width: 700px) {
  .only-mobile { display: inline-grid !important; }
  .header-inner { gap: 8px; padding: 10px 14px 8px; flex-wrap: wrap; }
  .search { order: 5; flex-basis: 100%; max-width: none; }
  .search-kbd { display: none; }
  #theme-btn { display: none; }
  .catnav { padding: 0 14px 8px; }
  .app { padding: 0 16px 70px; }
  .grid, .grid.cols-4 { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .rail { grid-auto-columns: 70%; }
  .card-title { font-size: 14px; }
  .card-quick { display: none; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .row2, .row3, .mini-stats { grid-template-columns: 1fr; }
  .page-head h1 { font-size: 32px; }
  .section-head h2 { font-size: 26px; }
  .pdp-info h1 { font-size: 30px; }
  .gallery { grid-template-columns: 1fr; }
  .gallery-thumbs { flex-direction: row; order: 2; overflow-x: auto; }
  .trust { grid-template-columns: 1fr 1fr; }
  .trust div { padding: 12px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .news-band { padding: 32px 24px; }
  .news-band form, .newsletter { flex-direction: column; }
  .footer-top { grid-template-columns: 1fr; }
  .timeline { font-size: 11px; }
  .banner img { width: 40%; opacity: .9; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
