/* =====================================================================
   AeroHobby storefront — 2026 design system
   Ink + lime + electric blue, display type, bento layouts, glass UI.
   (The admin panel uses style.css + admin.css and is not affected.)
   ===================================================================== */

:root {
  --bg: #f4f5f7;
  --surface: #ffffff;
  --surface-2: #eff1f4;
  --ink: #0b0d12;
  --ink-2: #1b1f2a;
  --ink-3: #2a3040;
  --text: #2a2f3a;
  --muted: #6b7280;
  --line: #e4e7ec;
  --line-2: #eef0f3;
  --accent: #cdf45b;
  --accent-600: #b8e33d;
  --accent-ink: #1d2700;
  --blue: #3a5bff;
  --blue-600: #2443e8;
  --blue-50: #eef1ff;
  --blue-100: #dde3ff;
  --sale: #ff4d4f;
  --sale-50: #fff0f0;
  --mint: #0e9f6a;
  --mint-50: #e7f7f0;
  --amber: #f5a524;
  --amber-50: #fff6e6;
  /* aliases used by a few inline styles in templates */
  --sky: var(--blue);
  --sky-50: var(--blue-50);
  --sky-100: var(--blue-100);
  --sky-600: var(--blue-600);
  --lime: var(--accent);
  --lime-ink: var(--accent-ink);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(10, 13, 18, .05);
  --shadow: 0 12px 32px -14px rgba(10, 13, 18, .22);
  --shadow-lg: 0 32px 80px -28px rgba(10, 13, 18, .4);
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --display: "Bricolage Grotesque", "Plus Jakarta Sans", system-ui, sans-serif;
  --container: 1320px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: 15px; line-height: 1.55; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; transition: color .15s; }
a:hover { color: var(--blue-600); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.1; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.02em; }
h1, h2 { font-family: var(--display); }
h1 { font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 800; letter-spacing: -.035em; }
h2 { font-size: clamp(1.45rem, 2.3vw, 2.1rem); font-weight: 750; letter-spacing: -.03em; }
h3 { font-size: 1.1rem; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--accent); color: var(--ink); }
.icon { width: 20px; height: 20px; flex: none; }
.icon-sm { width: 16px; height: 16px; }
.icon-lg { width: 26px; height: 26px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sr-only:focus { position: fixed; top: 8px; left: 8px; width: auto; height: auto; clip: auto; z-index: 300; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 10px; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.nowrap { white-space: nowrap; }
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 40px; }
.mb-0 { margin-bottom: 0; } .mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 24px; }
.center { text-align: center; }
.stack > * + * { margin-top: 12px; }
.row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.spacer { flex: 1; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 8px; }

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; padding: 0 22px; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 700; font-size: 14px; cursor: pointer; white-space: nowrap; text-decoration: none; letter-spacing: -.005em;
  transition: background .2s var(--ease), color .2s, border-color .2s, transform .15s var(--ease), box-shadow .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: var(--ink-3); color: #fff; box-shadow: 0 10px 24px -10px rgba(10, 13, 18, .55); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-3); color: #fff; }
.btn-lime { background: var(--accent); color: var(--accent-ink); }
.btn-lime:hover { background: var(--accent-600); color: var(--accent-ink); box-shadow: 0 10px 28px -10px rgba(184, 227, 61, .9); }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-600); color: #fff; }
.btn-outline { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-outline:hover { border-color: var(--ink); color: var(--ink); }
.btn-glass { background: rgba(255, 255, 255, .14); color: #fff; border-color: rgba(255, 255, 255, .28); backdrop-filter: blur(8px); }
.btn-glass:hover { background: rgba(255, 255, 255, .24); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); padding: 0 8px; height: auto; border: 0; text-decoration: underline; text-underline-offset: 3px; }
.btn-danger { background: var(--sale); color: #fff; }
.btn-sm { height: 38px; padding: 0 16px; font-size: 13px; }
.btn-lg { height: 54px; padding: 0 30px; font-size: 15px; }
.btn-block { width: 100%; }
.btn .arrow { transition: transform .2s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }
.btn[disabled], .btn.is-disabled { opacity: .45; pointer-events: none; }
.link-btn { background: none; border: 0; padding: 0; color: var(--ink); cursor: pointer; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Forms ---------- */
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field label, .label { font-size: 13px; font-weight: 700; color: var(--ink); }
.req { color: var(--sale); }
.input, .select, .textarea {
  width: 100%; height: 48px; padding: 0 16px; border: 1.5px solid var(--line); border-radius: 14px;
  background: #fff; transition: border-color .15s, box-shadow .15s, background .15s; font-size: 15px;
}
.textarea { height: auto; min-height: 120px; padding: 12px 16px; resize: vertical; }
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%230b0d12' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 16px; padding-right: 40px; }
.input:hover, .select:hover, .textarea:hover { border-color: #cfd4dc; }
.input:focus, .select:focus, .textarea:focus { outline: 0; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(11, 13, 18, .07); }
.has-error .input, .has-error .select, .has-error .textarea { border-color: var(--sale); }
.error-text { color: var(--sale); font-size: 13px; font-weight: 600; }
.help { color: var(--muted); font-size: 13px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 16px; }
.check { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; font-size: 14px; margin-bottom: 10px; }
.check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--ink); flex: none; }
.input-group { display: flex; gap: 8px; }
.input-group .input { flex: 1; }
.prefix-select { max-width: 110px; }

/* ---------- Alerts / flash ---------- */
.alert { display: flex; gap: 10px; align-items: flex-start; padding: 13px 16px; border-radius: 16px; margin: 0 0 16px; font-weight: 600; font-size: 14px; }
.alert .icon { margin-top: 1px; }
.alert-success { background: var(--mint-50); color: #08714b; }
.alert-error { background: var(--sale-50); color: #c42326; }
.alert-info { background: var(--blue-50); color: var(--blue-600); }
.flash-wrap { padding-top: 16px; }

/* ---------- Announcement bar ---------- */
.topbar { background: var(--ink); color: #b9c0cc; font-size: 13px; }
.topbar .container { display: flex; align-items: center; gap: 16px; min-height: 40px; }
.topbar-msg { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: flex; align-items: center; gap: 8px; }
.topbar-msg::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(205, 244, 91, .18); flex: none; }
.topbar-msg a { color: var(--accent); font-weight: 700; }
.topbar-links { display: flex; gap: 22px; }
.topbar-links a { color: #e6e9ef; font-weight: 600; }
.topbar-links a:hover { color: var(--accent); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .82); backdrop-filter: saturate(180%) blur(16px); -webkit-backdrop-filter: saturate(180%) blur(16px); border-bottom: 1px solid rgba(228, 231, 236, .8); }
.header-main { display: flex; align-items: center; gap: 28px; height: 78px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--ink); flex: none; }
.logo:hover { color: var(--ink); }
.logo-mark { width: 40px; height: 40px; transition: transform .3s var(--ease); }
.logo:hover .logo-mark { transform: rotate(-8deg) scale(1.05); }
.logo-word { font-family: var(--display); font-size: 25px; font-weight: 800; letter-spacing: -.04em; }
.logo-word span { color: var(--blue); }
.search { position: relative; flex: 1; max-width: 620px; }
.search form { display: flex; align-items: center; height: 50px; border: 1.5px solid transparent; border-radius: 999px; background: var(--surface-2); padding: 0 6px 0 20px; transition: background .2s, border-color .2s, box-shadow .2s; }
.search form:focus-within { background: #fff; border-color: var(--ink); box-shadow: 0 8px 24px -12px rgba(10, 13, 18, .3); }
.search input { flex: 1; border: 0; outline: 0; height: 100%; background: transparent; font-size: 15px; min-width: 0; }
.search input::placeholder { color: #8a909c; }
.search button { width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--ink); color: #fff; display: grid; place-items: center; cursor: pointer; transition: background .2s, transform .2s var(--ease); }
.search button:hover { background: var(--blue); transform: scale(1.05); }
.search-drop { position: absolute; top: calc(100% + 10px); left: 0; right: 0; background: #fff; border-radius: 22px; box-shadow: var(--shadow-lg); padding: 12px; display: none; z-index: 60; border: 1px solid var(--line-2); }
.search-drop.open { display: block; animation: drop-in .18s var(--ease); }
@keyframes drop-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.search-drop h6 { margin: 6px 8px 10px; font-size: 11px; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 8px 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 999px; background: #fff; color: var(--ink); font-size: 13px; font-weight: 600; border: 1px solid var(--line); transition: all .15s; }
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.suggest-item { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 14px; color: var(--ink); }
.suggest-item:hover, .suggest-item.active { background: var(--surface-2); color: var(--ink); }
.suggest-item img { width: 48px; height: 48px; border-radius: 12px; object-fit: cover; background: var(--surface-2); }
.suggest-item .s-name { flex: 1; font-size: 14px; font-weight: 600; line-height: 1.3; }
.suggest-item .s-price { font-family: var(--display); font-weight: 700; }
.header-tools { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.locale { display: flex; align-items: center; gap: 2px; height: 44px; padding: 0 6px 0 12px; border: 1px solid var(--line); border-radius: 999px; background: #fff; }
.locale .icon { color: var(--muted); }
.tool-select { display: flex; align-items: center; gap: 4px; padding: 0 4px; height: 40px; color: var(--ink); font-size: 13px; font-weight: 700; margin: 0; }
.tool-select select { border: 0; background: transparent; font-weight: 700; cursor: pointer; padding: 0 2px; font-size: 13px; }
.locale .sep { width: 1px; height: 18px; background: var(--line); }
.tool-link { display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 14px; border-radius: 999px; color: var(--ink); font-weight: 700; font-size: 14px; transition: background .15s; }
.tool-link:hover { background: var(--surface-2); color: var(--ink); }
.tool-link .label { color: inherit; font-size: inherit; font-weight: inherit; }
.cart-link { position: relative; background: var(--ink); color: #fff; padding: 0 18px; }
.cart-link:hover { background: var(--ink-3); color: #fff; }
.badge-count { position: absolute; top: -4px; right: -4px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-size: 11px; font-weight: 800; display: grid; place-items: center; border: 2px solid #fff; }
.badge-count[data-count="0"] { display: none; }
.badge-count.bump { animation: bump .5s var(--ease); }
@keyframes bump { 30% { transform: scale(1.35); } 100% { transform: scale(1); } }
.menu-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; border-radius: 14px; color: var(--ink); cursor: pointer; }
.account-menu { position: relative; }
.account-drop { position: absolute; right: 0; top: calc(100% + 8px); background: #fff; border: 1px solid var(--line-2); border-radius: 20px; box-shadow: var(--shadow-lg); padding: 8px; min-width: 220px; display: none; z-index: 60; }
.account-menu:hover .account-drop, .account-menu:focus-within .account-drop { display: block; animation: drop-in .18s var(--ease); }
.account-drop a, .account-drop button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 12px; border-radius: 12px; color: var(--ink); font-weight: 600; font-size: 14px; background: none; border: 0; cursor: pointer; text-align: left; }
.account-drop a:hover, .account-drop button:hover { background: var(--surface-2); }

/* ---------- Category navigation & mega menu ---------- */
.catnav { border-top: 1px solid var(--line-2); }
.catnav-list { display: flex; align-items: stretch; gap: 4px; list-style: none; margin: 0; padding: 0; height: 50px; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; }
.catnav-list::-webkit-scrollbar { display: none; }
.catnav-item { display: flex; }
.catnav-link { position: relative; display: flex; align-items: center; gap: 6px; padding: 0 14px; color: var(--ink-3); font-weight: 650; font-size: 14px; white-space: nowrap; transition: color .15s; }
.catnav-link::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 0; height: 2.5px; border-radius: 3px 3px 0 0; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.catnav-link .icon { width: 14px; height: 14px; opacity: .5; transition: transform .2s; }
.catnav-item:hover .catnav-link, .catnav-link.active { color: var(--ink); }
.catnav-item:hover .catnav-link::after, .catnav-link.active::after { transform: scaleX(1); }
.catnav-item:hover .catnav-link .icon { transform: rotate(180deg); }
.new-pill { background: var(--accent); color: var(--accent-ink); font-size: 10px; font-weight: 800; letter-spacing: .08em; padding: 2px 7px; border-radius: 999px; }
.mega { position: absolute; left: 0; right: 0; top: 100%; padding: 10px 0 24px; display: none; z-index: 40; }
.catnav-item:hover .mega, .catnav-item.open .mega { display: block; animation: drop-in .2s var(--ease); }
.mega-card { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 24px; background: #fff; border-radius: var(--radius-xl); border: 1px solid var(--line-2); box-shadow: var(--shadow-lg); padding: 28px; }
.mega-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 24px 28px; align-content: start; }
.mega-col h4 { font-size: 14px; margin-bottom: 10px; }
.mega-col h4 a { color: var(--ink); }
.mega-col h4 a:hover { color: var(--blue); }
.mega-col ul { list-style: none; margin: 0; padding: 0; }
.mega-col li a { display: inline-block; padding: 4px 0; color: var(--muted); font-size: 14px; transition: color .15s, transform .15s; }
.mega-col li a:hover { color: var(--ink); transform: translateX(3px); }
.mega-col .view-all { display: inline-block; margin-top: 6px; font-weight: 700; color: var(--blue); font-size: 13px; }
.mega-promo { position: relative; border-radius: 22px; padding: 24px; background: var(--ink); color: #c9cfda; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; min-height: 240px; }
.mega-promo::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 80% 10%, rgba(205, 244, 91, .35), transparent 55%), radial-gradient(circle at 10% 90%, rgba(58, 91, 255, .45), transparent 60%); }
.mega-promo > * { position: relative; }
.mega-promo .eyebrow { color: var(--accent); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; font-weight: 800; }
.mega-promo strong { font-family: var(--display); font-size: 24px; line-height: 1.05; color: #fff; letter-spacing: -.03em; }

/* ---------- Mobile drawer ---------- */
.drawer-backdrop { position: fixed; inset: 0; background: rgba(10, 13, 18, .5); backdrop-filter: blur(2px); opacity: 0; pointer-events: none; transition: opacity .25s; z-index: 90; }
.drawer { position: fixed; top: 8px; bottom: 8px; left: 8px; width: min(88vw, 380px); background: #fff; z-index: 100; transform: translateX(-110%); transition: transform .35s var(--ease); display: flex; flex-direction: column; border-radius: 24px; box-shadow: var(--shadow-lg); }
.drawer-open .drawer { transform: translateX(0); }
.drawer-open .drawer-backdrop { opacity: 1; pointer-events: auto; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px; border-bottom: 1px solid var(--line-2); }
.drawer-body { overflow-y: auto; padding: 8px 10px 24px; flex: 1; }
.drawer details { border-bottom: 1px solid var(--line-2); }
.drawer summary { list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 15px 10px; font-weight: 700; color: var(--ink); cursor: pointer; }
.drawer summary::-webkit-details-marker { display: none; }
.drawer summary .icon { transition: transform .2s; }
.drawer details[open] > summary .icon { transform: rotate(180deg); }
.drawer details details summary { font-weight: 600; padding-left: 20px; font-size: 14px; }
.drawer .d-link { display: block; padding: 10px 10px 10px 34px; color: var(--muted); font-size: 14px; }
.drawer .d-top { display: flex; align-items: center; gap: 8px; padding: 15px 10px; font-weight: 700; color: var(--ink); border-bottom: 1px solid var(--line-2); }
.drawer-tools { padding: 16px 10px; display: grid; gap: 10px; }

/* ---------- Sections ---------- */
main { min-height: 50vh; }
.section { padding: 44px 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.section-head h2 { margin: 0; }
.section-head .eyebrow, .eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.section-head .eyebrow::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: var(--ink); }
.section-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14px; color: var(--ink); padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; transition: all .2s var(--ease); }
.section-link:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.section-tools { display: flex; gap: 8px; align-items: center; }
.round-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink); display: grid; place-items: center; cursor: pointer; transition: all .2s var(--ease); }
.round-btn:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.panel { background: var(--surface); border-radius: var(--radius-lg); border: 1px solid var(--line-2); }
.panel-pad { padding: 26px; }

/* Scroll-driven reveal (progressive enhancement, no JS) */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    [data-reveal] { animation: reveal linear both; animation-timeline: view(); animation-range: entry 0% cover 22%; }
  }
}
@keyframes reveal { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }

/* ---------- Hero (bento) ---------- */
.hero { padding-top: 20px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); gap: 16px; }
.hero-side { display: grid; grid-template-rows: 1fr 1fr; gap: 16px; }
.slider { position: relative; border-radius: var(--radius-xl); overflow: hidden; min-height: 460px; background: var(--ink); isolation: isolate; }
.slide { position: absolute; inset: 0; display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; padding: 56px; opacity: 0; visibility: hidden; transition: opacity .7s var(--ease), visibility .7s; color: #fff; overflow: hidden; }
.slide.active { opacity: 1; visibility: visible; position: relative; min-height: 460px; }
.slide::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px); background-size: 44px 44px; mask-image: radial-gradient(circle at 75% 50%, #000 0%, transparent 70%); z-index: -1; }
.theme-night { background: radial-gradient(circle at 78% 40%, rgba(205, 244, 91, .38), transparent 42%), radial-gradient(circle at 10% 110%, rgba(58, 91, 255, .55), transparent 50%), var(--ink); }
.theme-sky { background: radial-gradient(circle at 80% 30%, rgba(255, 255, 255, .28), transparent 40%), radial-gradient(circle at 0% 100%, #18c6ff, transparent 55%), linear-gradient(130deg, #2443e8, #5b3df5); }
.theme-sunset { background: radial-gradient(circle at 80% 30%, rgba(255, 233, 160, .55), transparent 42%), linear-gradient(130deg, #ff4d4f, #ff7a2f 55%, #ffb020); }
.theme-lime { background: radial-gradient(circle at 80% 30%, rgba(255, 255, 255, .7), transparent 40%), linear-gradient(130deg, #cdf45b, #9be15d); color: var(--ink); }
.theme-lime h1, .theme-lime h2 { color: var(--ink) !important; }
.theme-lime .slide-kicker { background: rgba(11, 13, 18, .08); color: var(--ink); }
.slide-copy { position: relative; z-index: 1; max-width: 540px; }
.slide-kicker { display: inline-flex; align-items: center; gap: 8px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .18); padding: 7px 14px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; backdrop-filter: blur(6px); }
.slide h1, .slide h2 { color: #fff; font-family: var(--display); font-size: clamp(2.3rem, 4.6vw, 4.1rem); font-weight: 800; line-height: .98; margin: 18px 0 16px; letter-spacing: -.045em; }
.slide p { font-size: 17px; opacity: .85; max-width: 440px; }
.slide-ctas { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
.slide-art { position: relative; z-index: 1; display: flex; justify-content: center; }
.slide-art::before { content: ""; position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); top: 50%; left: 50%; transform: translate(-50%, -50%); }
.slide-art img { position: relative; width: min(420px, 100%); filter: drop-shadow(0 34px 44px rgba(0, 0, 0, .35)); animation: float 7s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-16px) rotate(2deg); } }
.slider-ctrl { position: absolute; bottom: 26px; left: 56px; display: flex; gap: 8px; z-index: 2; }
.slider-dot { width: 10px; height: 10px; border-radius: 999px; border: 0; background: rgba(255, 255, 255, .35); cursor: pointer; padding: 0; transition: width .3s var(--ease), background .3s; }
.slider-dot.active { width: 34px; background: #fff; }
.slider-arrows { position: absolute; right: 26px; bottom: 22px; display: flex; gap: 8px; z-index: 2; }
.slider-arrow { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .1); color: #fff; display: grid; place-items: center; cursor: pointer; backdrop-filter: blur(6px); transition: background .2s; }
.slider-arrow:hover { background: rgba(255, 255, 255, .25); }
.promo-tile { position: relative; border-radius: var(--radius-xl); padding: 26px; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; gap: 12px; min-height: 222px; color: var(--ink); isolation: isolate; transition: transform .3s var(--ease), box-shadow .3s; }
.promo-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: var(--ink); }
.promo-tile img { position: absolute; right: -6%; bottom: -10%; width: 58%; z-index: -1; transition: transform .5s var(--ease); filter: drop-shadow(0 20px 24px rgba(0, 0, 0, .18)); }
.promo-tile:hover img { transform: scale(1.06) rotate(-4deg); }
.promo-tile .eyebrow { margin: 0; color: inherit; opacity: .7; }
.promo-tile strong { display: block; font-family: var(--display); font-size: 30px; line-height: 1; letter-spacing: -.04em; max-width: 60%; }
.promo-tile p { margin: 6px 0 0; font-size: 14px; opacity: .75; max-width: 55%; }
.promo-tile .go { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; transition: transform .25s var(--ease); }
.promo-tile:hover .go { transform: rotate(-45deg); }
.tile-lime { background: var(--accent); }
.tile-blue { background: linear-gradient(140deg, #2443e8, #5b3df5); color: #fff; }
.tile-blue:hover { color: #fff; }
.tile-blue .go { background: #fff; color: var(--ink); }

/* ---------- Marquee ---------- */
.marquee { margin-top: 16px; overflow: hidden; border-radius: 999px; background: #fff; border: 1px solid var(--line-2); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-group { display: flex; align-items: center; gap: 44px; padding: 14px 22px; }
.marquee-item { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; color: var(--ink); white-space: nowrap; font-size: 14px; }
.marquee-item .icon { color: var(--blue); }
.marquee-item .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent-600); }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } .slide-art img { animation: none; } }

/* ---------- USP strip (fallback / other pages) ---------- */
.usp { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 16px; }
.usp-item { display: flex; align-items: center; gap: 12px; background: #fff; border-radius: 18px; padding: 14px 16px; border: 1px solid var(--line-2); }
.usp-item .icon { width: 26px; height: 26px; color: var(--blue); }
.usp-item strong { display: block; color: var(--ink); font-size: 14px; }
.usp-item span { font-size: 12px; color: var(--muted); }

/* ---------- Product grid & cards ---------- */
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.product-grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.product-grid.cols-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.scroller { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 48px) / 4); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; scrollbar-width: none; scroll-behavior: smooth; }
.scroller::-webkit-scrollbar { display: none; }
.scroller > * { scroll-snap-align: start; }
.card { position: relative; display: flex; flex-direction: column; background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--line-2); padding: 8px; transition: box-shadow .3s var(--ease), transform .3s var(--ease), border-color .3s; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-4px); border-color: transparent; }
.card-media { position: relative; aspect-ratio: 1 / 1; background: var(--surface-2); display: block; overflow: hidden; border-radius: 16px; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); mix-blend-mode: multiply; }
.card:hover .card-media img { transform: scale(1.06); }
.card-badges { position: absolute; top: 10px; left: 10px; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; z-index: 1; }
.badge { display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px; border-radius: 999px; font-size: 11px; font-weight: 800; letter-spacing: .02em; }
.badge-sale { background: var(--sale); color: #fff; }
.badge-new { background: var(--accent); color: var(--accent-ink); }
.badge-pre { background: var(--ink); color: #fff; }
.badge-back { background: var(--amber); color: var(--ink); }
.badge-out { background: #fff; color: var(--muted); border: 1px solid var(--line); }
.badge-soft { background: var(--blue-50); color: var(--blue-600); }
.card-body { display: flex; flex-direction: column; gap: 6px; padding: 14px 8px 8px; flex: 1; }
.card-sku { font-size: 11px; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; font-weight: 600; }
.card-title { font-size: 14.5px; font-weight: 700; line-height: 1.35; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em; letter-spacing: -.01em; }
.card-title:hover { color: var(--blue); }
.stars { display: inline-flex; align-items: center; gap: 1px; color: #d9dde4; }
.stars .on { color: var(--amber); }
.stars .icon { width: 14px; height: 14px; }
.rating-line { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); }
.price-line { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin-top: auto; padding-top: 4px; }
.price { font-family: var(--display); font-weight: 750; font-size: 21px; color: var(--ink); letter-spacing: -.03em; }
.price.sale { color: var(--sale); }
.old-price { font-size: 13px; color: var(--muted); text-decoration: line-through; }
.card-actions { display: grid; grid-template-columns: auto 1fr; gap: 8px; margin-top: 12px; }
.card-actions .btn { height: 42px; padding: 0 16px; font-size: 13px; }
.card-actions form { display: contents; }
.card-actions .btn-outline { padding: 0 14px; }
.stock-note { font-size: 12px; font-weight: 700; }
.stock-in { color: var(--mint); }
.stock-low { color: var(--sale); }
.stock-out { color: var(--muted); }

/* ---------- Category tiles ---------- */
.cat-tiles { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.cat-tile { position: relative; background: #fff; border-radius: var(--radius-lg); padding: 8px 8px 14px; border: 1px solid var(--line-2); display: flex; flex-direction: column; gap: 12px; color: var(--ink); transition: box-shadow .3s var(--ease), transform .3s var(--ease); }
.cat-tile:hover { box-shadow: var(--shadow); transform: translateY(-4px); color: var(--ink); }
.cat-tile img { border-radius: 16px; aspect-ratio: 1; object-fit: cover; background: var(--surface-2); transition: transform .5s var(--ease); }
.cat-tile:hover img { transform: scale(1.03); }
.cat-tile .cat-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 0 6px; }
.cat-tile strong { font-size: 15px; letter-spacing: -.01em; }
.cat-tile span { font-size: 12px; color: var(--muted); font-weight: 600; }
.cat-tile .go { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); color: var(--ink); flex: none; transition: background .2s, transform .25s var(--ease); }
.cat-tile:hover .go { background: var(--accent); transform: rotate(-45deg); }

/* ---------- Promo band ---------- */
.band { position: relative; border-radius: var(--radius-xl); background: var(--ink); color: #c4cad6; padding: 48px; overflow: hidden; display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: center; isolation: isolate; }
.band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 90% 20%, rgba(205, 244, 91, .3), transparent 40%), radial-gradient(circle at 0% 100%, rgba(58, 91, 255, .45), transparent 50%); z-index: -1; }
.band::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px); background-size: 40px 40px; z-index: -1; mask-image: linear-gradient(90deg, transparent, #000); }
.band h2 { color: #fff; font-size: clamp(1.8rem, 3.4vw, 3rem); line-height: 1; margin-bottom: 12px; }
.band p { max-width: 520px; }
.band-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.band-stat { border: 1px solid rgba(255, 255, 255, .12); background: rgba(255, 255, 255, .04); border-radius: 20px; padding: 18px; backdrop-filter: blur(6px); }
.band-stat strong { display: block; font-family: var(--display); font-size: 30px; color: #fff; letter-spacing: -.04em; }
.band-stat span { font-size: 13px; }

/* ---------- Video & blog ---------- */
.video-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.video-card { background: #fff; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line-2); padding: 8px; }
.video-thumb { position: relative; aspect-ratio: 16 / 9; background: var(--ink); display: block; border: 0; width: 100%; padding: 0; cursor: pointer; border-radius: 14px; overflow: hidden; }
.video-thumb img { width: 100%; height: 100%; object-fit: cover; opacity: .9; transition: transform .5s var(--ease); }
.video-thumb:hover img { transform: scale(1.05); }
.video-thumb .play { position: absolute; inset: 0; margin: auto; width: 58px; height: 58px; border-radius: 50%; background: var(--accent); color: var(--ink); display: grid; place-items: center; box-shadow: 0 0 0 10px rgba(205, 244, 91, .25); }
.video-thumb iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-card h3 { font-size: 14px; padding: 12px 8px 6px; margin: 0; }
.blog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.post-card { background: #fff; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line-2); display: flex; flex-direction: column; padding: 8px; transition: box-shadow .3s var(--ease), transform .3s var(--ease); }
.post-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.post-cover { aspect-ratio: 16 / 10; border-radius: 16px; background: radial-gradient(circle at 80% 20%, rgba(205, 244, 91, .55), transparent 45%), linear-gradient(140deg, var(--ink), #24305a); display: grid; place-items: center; overflow: hidden; }
.post-cover img { width: 100%; height: 100%; object-fit: cover; }
.post-cover .cover-mark { font-family: var(--display); font-size: 72px; font-weight: 800; color: rgba(255, 255, 255, .9); letter-spacing: -.05em; }
.post-body { padding: 16px 10px 10px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.post-body h3 { font-size: 18px; margin: 0; font-family: var(--display); letter-spacing: -.025em; line-height: 1.15; }
.post-body h3 a { color: var(--ink); }
.post-body h3 a:hover { color: var(--blue); }
.post-body p { color: var(--muted); font-size: 14px; margin: 0; }
.post-meta { font-size: 12px; color: var(--muted); font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.read-more { margin-top: auto; font-weight: 700; font-size: 14px; color: var(--ink); }

/* ---------- Breadcrumbs ---------- */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); padding: 20px 0 10px; list-style: none; margin: 0; }
.crumbs a { color: var(--muted); font-weight: 600; }
.crumbs a:hover { color: var(--ink); }
.crumbs .icon { width: 12px; height: 12px; opacity: .6; }
.crumbs [aria-current] { color: var(--ink); font-weight: 700; }

/* ---------- Listing page ---------- */
.listing { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 24px; align-items: start; padding-bottom: 40px; }
.listing-head { position: relative; border-radius: var(--radius-xl); background: var(--ink); color: #c4cad6; padding: 34px 36px; margin-bottom: 18px; overflow: hidden; isolation: isolate; }
.listing-head::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 92% 0%, rgba(205, 244, 91, .32), transparent 40%), radial-gradient(circle at 0% 120%, rgba(58, 91, 255, .5), transparent 50%); z-index: -1; }
.listing-head h1 { color: #fff; margin-bottom: 8px; }
.listing-desc { color: #c4cad6; max-width: 860px; margin: 0; }
.filters { position: sticky; top: 150px; max-height: calc(100vh - 170px); overflow-y: auto; padding: 0 4px 20px 0; scrollbar-width: thin; }
.filters-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.filters-head h2 { font-size: 20px; margin: 0; }
.facet { background: #fff; border-radius: 18px; border: 1px solid var(--line-2); padding: 16px 18px; margin-bottom: 10px; }
.facet h3 { font-size: 14px; margin: 0 0 12px; display: flex; justify-content: space-between; }
.facet .check { font-size: 14px; margin-bottom: 9px; }
.facet .check .count { margin-left: auto; color: var(--muted); font-size: 12px; background: var(--surface-2); border-radius: 999px; padding: 0 8px; line-height: 20px; }
.facet .more { display: none; }
.facet.expanded .more { display: flex; }
.price-inputs { display: flex; align-items: center; gap: 8px; }
.price-inputs .input { height: 42px; font-size: 14px; }
.subcats { display: flex; gap: 8px; overflow-x: auto; padding: 2px 0 16px; scrollbar-width: none; }
.subcats::-webkit-scrollbar { display: none; }
.subcats .chip { white-space: nowrap; padding: 9px 16px; }
.toolbar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; background: #fff; border: 1px solid var(--line-2); border-radius: 999px; padding: 8px 8px 8px 20px; margin-bottom: 16px; font-size: 14px; }
.toolbar .select { height: 40px; width: auto; font-size: 14px; border-radius: 999px; }
.toolbar label { font-weight: 700; color: var(--ink); font-size: 13px; }
.filter-toggle { display: none; }
.active-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.active-filters .chip .icon { width: 12px; height: 12px; }
.pagination { display: flex; justify-content: center; gap: 6px; margin: 32px 0 8px; flex-wrap: wrap; }
.pagination a, .pagination span { min-width: 44px; height: 44px; display: grid; place-items: center; padding: 0 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--ink); font-weight: 700; font-size: 14px; transition: all .2s; }
.pagination a:hover { border-color: var(--ink); }
.pagination .current { background: var(--ink); color: #fff; border-color: var(--ink); }
.pagination .gap { border: 0; background: none; }
.empty { text-align: center; padding: 60px 20px; background: #fff; border-radius: var(--radius-xl); border: 1px dashed var(--line); }
.empty h1, .empty h2 { font-size: 24px; }
.seo-text { margin-top: 32px; color: var(--muted); font-size: 14px; }

/* ---------- Product page ---------- */
.pdp { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 36px; align-items: start; }
.gallery { position: sticky; top: 150px; }
.gallery-main { position: relative; background: var(--surface-2); border-radius: var(--radius-xl); overflow: hidden; aspect-ratio: 1; }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: opacity .25s; }
.gallery-thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; }
.gallery-thumbs button { width: 80px; height: 80px; border-radius: 16px; border: 2px solid transparent; padding: 0; overflow: hidden; background: var(--surface-2); cursor: pointer; flex: none; transition: border-color .2s; }
.gallery-thumbs button.active { border-color: var(--ink); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; }
.pdp-info .brand-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); margin-bottom: 10px; }
.pdp-info h1 { font-size: clamp(1.6rem, 2.6vw, 2.3rem); margin-bottom: 12px; }
.pdp-meta { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.pdp-meta strong { color: var(--ink); }
.pdp-meta a { color: var(--muted); }
.pdp-short { color: var(--text); margin-bottom: 18px; font-size: 16px; }
.buybox { background: #fff; border-radius: var(--radius-xl); border: 1px solid var(--line-2); padding: 24px; box-shadow: var(--shadow-sm); }
.price-box { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; padding-bottom: 18px; border-bottom: 1px solid var(--line-2); margin-bottom: 16px; }
.price-box .label-sm { font-size: 11px; font-weight: 800; letter-spacing: .14em; color: var(--muted); text-transform: uppercase; margin-bottom: 4px; }
.price-box .price { font-size: 42px; line-height: 1; letter-spacing: -.045em; }
.price-box .old-price { margin-left: 8px; font-size: 15px; }
.save-pill { background: var(--sale-50); color: var(--sale); border-radius: 16px; padding: 10px 14px; text-align: right; }
.save-pill .label-sm { color: var(--sale); }
.save-pill strong { display: block; font-family: var(--display); font-size: 20px; letter-spacing: -.03em; }
.buy-row { display: flex; gap: 10px; align-items: center; margin: 16px 0; flex-wrap: wrap; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; height: 54px; background: #fff; }
.qty button { width: 46px; height: 100%; border: 0; background: none; cursor: pointer; color: var(--ink); display: grid; place-items: center; border-radius: 999px; }
.qty button:hover { background: var(--surface-2); }
.qty input { width: 40px; border: 0; text-align: center; font-weight: 800; font-size: 16px; outline: 0; -moz-appearance: textfield; background: transparent; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.buy-row .btn { flex: 1; height: 54px; min-width: 140px; font-size: 15px; }
.buy-row .btn-dark { background: var(--accent); color: var(--accent-ink); }
.buy-row .btn-dark:hover { background: var(--accent-600); color: var(--accent-ink); }
.facts { display: grid; gap: 10px; font-size: 14px; padding: 14px 16px; background: var(--surface-2); border-radius: 16px; }
.fact { display: flex; align-items: center; gap: 10px; }
.fact .icon { color: var(--ink); }
.ship-from { display: inline-flex; gap: 6px; align-items: center; background: var(--surface-2); padding: 7px 13px; border-radius: 999px; font-weight: 700; font-size: 13px; color: var(--ink); }
.stock-pill { display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px; border-radius: 999px; font-weight: 800; font-size: 12px; letter-spacing: .05em; text-transform: uppercase; }
.stock-pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.stock-pill.in_stock { background: var(--mint-50); color: var(--mint); }
.stock-pill.pre_order { background: var(--ink); color: #fff; }
.stock-pill.back_order { background: var(--amber-50); color: #9a6200; }
.stock-pill.out_of_stock { background: var(--surface-2); color: var(--muted); }
.low-stock { color: var(--sale); font-weight: 800; font-size: 14px; }
.pdp-links { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 16px; font-size: 13px; }
.pdp-links button, .pdp-links a { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; color: var(--muted); font-weight: 700; cursor: pointer; padding: 0; }
.pdp-links button:hover, .pdp-links a:hover { color: var(--ink); }
.share-row { display: flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 13px; font-weight: 700; color: var(--ink); }
.share-row a, .share-row button { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); color: var(--ink); border: 0; cursor: pointer; transition: all .2s; }
.share-row a:hover, .share-row button:hover { background: var(--ink); color: #fff; }
.mini-list { margin-top: 16px; }
.mini-list h3 { font-size: 15px; display: flex; justify-content: space-between; align-items: center; }
.mini-item { display: flex; gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line-2); }
.mini-item img { width: 58px; height: 58px; border-radius: 14px; object-fit: cover; background: var(--surface-2); mix-blend-mode: multiply; }
.mini-item .m-name { flex: 1; font-size: 13px; font-weight: 600; color: var(--ink); line-height: 1.3; }
.mini-item .m-price { font-family: var(--display); font-weight: 700; font-size: 15px; color: var(--ink); }
.mini-item form { flex: none; }
.icon-btn { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; transition: all .2s; }
.icon-btn:hover { background: var(--ink); border-color: var(--ink); color: #fff; }

.tabs { margin-top: 48px; }
.tab-list { display: inline-flex; max-width: 100%; gap: 4px; overflow-x: auto; background: #fff; border: 1px solid var(--line-2); border-radius: 999px; padding: 5px; scrollbar-width: none; }
.tab-list::-webkit-scrollbar { display: none; }
.tab-btn { background: none; border: 0; padding: 11px 20px; font-weight: 700; font-size: 14px; color: var(--muted); cursor: pointer; border-radius: 999px; white-space: nowrap; display: inline-flex; gap: 6px; align-items: center; transition: background .2s, color .2s; }
.tab-btn:hover { color: var(--ink); }
.tab-btn[aria-selected="true"] { background: var(--ink); color: #fff; }
.tab-btn .count { background: var(--surface-2); border-radius: 999px; padding: 0 8px; font-size: 12px; color: var(--muted); line-height: 20px; }
.tab-btn[aria-selected="true"] .count { background: rgba(255, 255, 255, .16); color: #fff; }
.tab-panel { background: #fff; border: 1px solid var(--line-2); border-radius: var(--radius-xl); padding: 32px; margin-top: 12px; }
.tab-panel[hidden] { display: none; }
.prose { max-width: 820px; font-size: 15.5px; }
.prose h2, .prose h3 { margin-top: 1.4em; }
.prose ul { padding-left: 20px; }
.prose li { margin-bottom: 4px; }
.prose img { border-radius: 16px; }
.prose table { border-collapse: collapse; width: 100%; }
.prose td, .prose th { border: 1px solid var(--line); padding: 8px 10px; }
.spec-table { width: 100%; max-width: 780px; border-collapse: separate; border-spacing: 0; border: 1px solid var(--line-2); border-radius: 18px; overflow: hidden; }
.spec-table th, .spec-table td { text-align: left; padding: 13px 18px; border-bottom: 1px solid var(--line-2); font-size: 14px; }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }
.spec-table th { width: 40%; background: var(--surface-2); color: var(--ink); font-weight: 700; }
.video-embed { position: relative; aspect-ratio: 16 / 9; max-width: 880px; border-radius: 20px; overflow: hidden; background: var(--ink); }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.reviews-wrap { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 36px; }
.rating-summary { background: var(--surface-2); border-radius: 22px; padding: 22px; align-self: start; }
.rating-summary .big { font-family: var(--display); font-size: 60px; font-weight: 800; color: var(--ink); line-height: 1; letter-spacing: -.05em; }
.rating-bar { display: grid; grid-template-columns: 40px 1fr 30px; gap: 8px; align-items: center; font-size: 13px; margin-top: 6px; }
.rating-bar .bar { height: 8px; border-radius: 999px; background: #fff; overflow: hidden; }
.rating-bar .bar span { display: block; height: 100%; background: var(--ink); border-radius: 999px; }
.review { padding: 18px 0; border-bottom: 1px solid var(--line-2); }
.review:first-child { padding-top: 0; }
.review-head { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.review h4 { margin: 6px 0; font-size: 15px; }
.star-input { display: inline-flex; flex-direction: row-reverse; gap: 2px; }
.star-input input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.star-input label { cursor: pointer; color: #d9dde4; transition: transform .15s; }
.star-input label:hover { transform: scale(1.12); }
.star-input label .icon { width: 30px; height: 30px; }
.star-input input:checked ~ label, .star-input label:hover, .star-input label:hover ~ label { color: var(--amber); }
.star-input input:focus-visible + label { outline: 2px solid var(--blue); border-radius: 4px; }
.qa { padding: 16px 0; border-bottom: 1px solid var(--line-2); }
.qa-q { font-weight: 700; color: var(--ink); display: flex; gap: 10px; }
.qa-a { margin-top: 8px; padding: 12px 14px; background: var(--surface-2); border-radius: 14px; display: flex; gap: 10px; font-size: 14px; }
.qa-tag { flex: none; width: 24px; height: 24px; border-radius: 8px; display: grid; place-items: center; font-size: 12px; font-weight: 800; }
.qa-tag.q { background: var(--blue-50); color: var(--blue); }
.qa-tag.a { background: var(--accent); color: var(--accent-ink); }
.file-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; max-width: 640px; }
.file-list a { display: flex; align-items: center; gap: 12px; padding: 15px 18px; border: 1px solid var(--line); border-radius: 16px; color: var(--ink); font-weight: 700; transition: all .2s; }
.file-list a:hover { border-color: var(--ink); background: var(--surface-2); }

/* ---------- Modal (dialog) ---------- */
dialog.modal { border: 0; border-radius: 26px; padding: 0; width: min(540px, calc(100vw - 32px)); box-shadow: var(--shadow-lg); }
dialog.modal[open] { animation: drop-in .25s var(--ease); }
dialog.modal::backdrop { background: rgba(10, 13, 18, .55); backdrop-filter: blur(3px); }
.modal-head { display: flex; justify-content: space-between; align-items: center; padding: 20px 24px; border-bottom: 1px solid var(--line-2); }
.modal-head h3 { margin: 0; font-family: var(--display); font-size: 22px; letter-spacing: -.03em; }
.modal-body { padding: 20px 24px 24px; }
.modal-close { background: var(--surface-2); border: 0; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; transition: background .2s; }
.modal-close:hover { background: var(--line); }

/* ---------- Toast ---------- */
.toast-wrap { position: fixed; right: 20px; bottom: 20px; z-index: 200; display: grid; gap: 10px; }
.toast { display: flex; align-items: center; gap: 12px; background: var(--ink); color: #fff; padding: 14px 16px 14px 18px; border-radius: 18px; box-shadow: var(--shadow-lg); max-width: 400px; font-size: 14px; font-weight: 600; animation: toast-in .35s var(--ease); }
.toast .icon { color: var(--accent); }
.toast.error .icon { color: #ff9b9b; }
.toast a { color: var(--ink); background: var(--accent); font-weight: 800; white-space: nowrap; padding: 6px 12px; border-radius: 999px; font-size: 13px; }
@keyframes toast-in { from { transform: translateY(16px) scale(.96); opacity: 0; } to { transform: none; opacity: 1; } }

/* ---------- Cart & checkout ---------- */
.page-title { padding: 8px 0 18px; }
.cart-layout { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 24px; align-items: start; padding-bottom: 48px; }
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th { text-align: left; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding: 0 12px 12px; border-bottom: 1px solid var(--line); }
.cart-table td { padding: 18px 12px; border-bottom: 1px solid var(--line-2); vertical-align: middle; }
.cart-prod { display: flex; gap: 14px; align-items: center; }
.cart-prod img { width: 84px; height: 84px; border-radius: 16px; object-fit: cover; background: var(--surface-2); flex: none; mix-blend-mode: multiply; }
.cart-prod a { color: var(--ink); font-weight: 700; }
.cart-table .qty { height: 42px; }
.cart-table .qty button { width: 36px; }
.cart-actions { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 18px 12px 0; }
.summary { position: sticky; top: 150px; }
.summary-row { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; font-size: 14px; }
.summary-row strong { color: var(--ink); }
.summary-total { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 16px; font-size: 16px; font-weight: 800; color: var(--ink); align-items: baseline; }
.summary-total .price { font-size: 28px; }
.coupon-form { display: flex; gap: 8px; margin: 14px 0; }
.coupon-form .input { height: 44px; border-radius: 999px; }
.free-ship { background: var(--mint-50); color: #08714b; padding: 12px 14px; border-radius: 16px; font-size: 13px; font-weight: 700; margin-bottom: 14px; }
.free-ship .bar { height: 6px; background: #c6ecd9; border-radius: 999px; margin-top: 8px; overflow: hidden; }
.free-ship .bar span { display: block; height: 100%; background: var(--mint); border-radius: 999px; transition: width .6s var(--ease); }
.checkout-layout { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 24px; align-items: start; padding-bottom: 48px; }
.step { margin-bottom: 18px; }
.step-title { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.step-num { width: 32px; height: 32px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; font-weight: 800; font-size: 14px; }
.step-title h2 { font-size: 20px; margin: 0; }
.option { display: flex; gap: 12px; align-items: flex-start; border: 1.5px solid var(--line); border-radius: 18px; padding: 16px 18px; cursor: pointer; margin-bottom: 10px; transition: border-color .2s, background .2s; }
.option:hover { border-color: #cfd4dc; }
.option:has(input:checked) { border-color: var(--ink); background: #fafbfc; box-shadow: 0 0 0 4px rgba(11, 13, 18, .05); }
.option input { margin-top: 3px; accent-color: var(--ink); width: 18px; height: 18px; flex: none; }
.option-main { flex: 1; }
.option-main strong { color: var(--ink); display: block; }
.option-main .help { display: block; }
.option-fee { font-family: var(--display); font-weight: 700; color: var(--ink); }
.option-details { display: none; white-space: pre-line; margin-top: 10px; font-size: 13px; background: #fff; border-radius: 12px; padding: 12px 14px; border: 1px dashed var(--line); }
.option:has(input:checked) .option-details { display: block; }
.order-lines { max-height: 340px; overflow-y: auto; margin-bottom: 12px; }
.order-line { display: flex; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line-2); font-size: 14px; }
.order-line .thumb { position: relative; flex: none; }
.order-line img { width: 58px; height: 58px; border-radius: 14px; object-fit: cover; background: var(--surface-2); mix-blend-mode: multiply; }
.order-line .q { position: absolute; top: -6px; right: -6px; background: var(--ink); color: #fff; font-size: 11px; font-weight: 800; border-radius: 999px; min-width: 20px; height: 20px; display: grid; place-items: center; padding: 0 5px; }
.order-line .n { flex: 1; color: var(--ink); font-weight: 600; line-height: 1.3; }
.success-hero { text-align: center; padding: 44px 20px 26px; }
.success-icon { width: 84px; height: 84px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; margin: 0 auto 18px; box-shadow: 0 0 0 12px rgba(205, 244, 91, .25); }
.success-icon .icon { width: 42px; height: 42px; }
.order-number { display: inline-block; font-family: var(--display); font-size: 24px; font-weight: 800; background: var(--ink); color: #fff; padding: 10px 22px; border-radius: 999px; letter-spacing: .02em; }
.pay-note { white-space: pre-line; background: var(--amber-50); border-radius: 20px; padding: 18px 20px; color: #6b4600; font-size: 14px; }

/* ---------- Auth & account ---------- */
.auth-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 0; max-width: 1080px; margin: 28px auto 60px; background: #fff; border-radius: 32px; overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line-2); }
.auth-side { position: relative; background: var(--ink); color: #c4cad6; padding: 52px 44px; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; isolation: isolate; }
.auth-side::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 90% 10%, rgba(205, 244, 91, .35), transparent 40%), radial-gradient(circle at 0% 100%, rgba(58, 91, 255, .55), transparent 55%); z-index: -1; }
.auth-side::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px); background-size: 36px 36px; z-index: -1; }
.auth-side h2 { color: #fff; font-size: 38px; line-height: 1; letter-spacing: -.04em; }
.auth-side ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.auth-side li { display: flex; gap: 12px; align-items: center; font-weight: 600; color: #e6e9ef; }
.auth-side li .icon { color: var(--ink); background: var(--accent); border-radius: 50%; padding: 5px; width: 28px; height: 28px; }
.auth-form { padding: 48px 44px; }
.auth-form h1 { font-size: 32px; }
.divider { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 12px; font-weight: 700; margin: 18px 0; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.collapse { border: 1.5px dashed var(--line); border-radius: 18px; padding: 0 16px; margin-bottom: 14px; transition: border-color .2s; }
.collapse[open] { border-style: solid; border-color: var(--line); padding-bottom: 6px; }
.collapse summary { list-style: none; cursor: pointer; padding: 15px 0; font-weight: 700; color: var(--ink); display: flex; justify-content: space-between; align-items: center; font-size: 14px; }
.collapse summary::-webkit-details-marker { display: none; }
.collapse summary .icon { transition: transform .2s; }
.collapse[open] summary .icon { transform: rotate(180deg); }
.account-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 24px; align-items: start; padding-bottom: 48px; }
.account-nav { position: sticky; top: 150px; background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--line-2); padding: 10px; }
.account-nav .who { padding: 14px 12px 16px; border-bottom: 1px solid var(--line-2); margin-bottom: 8px; }
.account-nav .who strong { display: block; color: var(--ink); }
.account-nav a, .account-nav button { display: flex; align-items: center; gap: 10px; padding: 11px 12px; border-radius: 12px; color: var(--text); font-weight: 600; font-size: 14px; width: 100%; background: none; border: 0; cursor: pointer; text-align: left; transition: background .15s; }
.account-nav a:hover, .account-nav button:hover { background: var(--surface-2); }
.account-nav a.active { background: var(--ink); color: #fff; }
.stat-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 20px; }
.stat-card { background: #fff; border-radius: 20px; border: 1px solid var(--line-2); padding: 18px; }
.stat-card:first-child { background: var(--ink); border-color: var(--ink); }
.stat-card:first-child span { color: #9aa3b2; }
.stat-card:first-child strong { color: #fff; }
.stat-card span { font-size: 11px; color: var(--muted); font-weight: 800; text-transform: uppercase; letter-spacing: .12em; }
.stat-card strong { display: block; font-family: var(--display); font-size: 28px; color: var(--ink); margin-top: 6px; letter-spacing: -.04em; }
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th { text-align: left; font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .12em; padding: 10px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.table td { padding: 13px 12px; border-bottom: 1px solid var(--line-2); vertical-align: middle; }
.table-wrap { overflow-x: auto; }
.status { display: inline-flex; padding: 4px 11px; border-radius: 999px; font-size: 12px; font-weight: 800; text-transform: capitalize; }
.status-pending { background: var(--amber-50); color: #9a6200; }
.status-processing { background: var(--blue-50); color: var(--blue-600); }
.status-shipped { background: #f0ebff; color: #5b3fd1; }
.status-delivered { background: var(--mint-50); color: var(--mint); }
.status-cancelled { background: var(--surface-2); color: var(--muted); }
.status-paid { background: var(--mint-50); color: var(--mint); }
.status-unpaid { background: var(--sale-50); color: var(--sale); }
.status-refunded { background: var(--surface-2); color: var(--muted); }
.address-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.address-card { border: 1.5px solid var(--line); border-radius: 18px; padding: 18px; font-size: 14px; position: relative; }
.address-card.default { border-color: var(--ink); }
.address-card .row { margin-top: 10px; }
.timeline { list-style: none; padding: 0; margin: 0; }
.timeline li { position: relative; padding: 0 0 16px 26px; font-size: 14px; }
.timeline li::before { content: ""; position: absolute; left: 4px; top: 5px; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); border: 2px solid var(--ink); }
.timeline li::after { content: ""; position: absolute; left: 9px; top: 19px; bottom: 0; width: 2px; background: var(--line); }
.timeline li:last-child::after { display: none; }
.progress-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 18px 0 8px; }
.progress-steps div { text-align: center; font-size: 12px; font-weight: 700; color: var(--muted); }
.progress-steps div::before { content: ""; display: block; height: 6px; border-radius: 999px; background: var(--line); margin-bottom: 8px; }
.progress-steps div.done { color: var(--ink); }
.progress-steps div.done::before { background: var(--ink); }

/* ---------- Content pages ---------- */
.page-hero { position: relative; background: var(--ink); color: #c4cad6; border-radius: var(--radius-xl); padding: 46px 44px; margin: 8px 0 24px; overflow: hidden; isolation: isolate; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 92% 0%, rgba(205, 244, 91, .32), transparent 40%), radial-gradient(circle at 0% 120%, rgba(58, 91, 255, .5), transparent 50%); z-index: -1; }
.page-hero h1 { color: #fff; margin: 0; font-size: clamp(2rem, 4vw, 3.2rem); }
.page-hero p { margin: 10px 0 0; max-width: 640px; }
.content-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 24px; align-items: start; padding-bottom: 48px; }
.side-links { list-style: none; padding: 0; margin: 0; }
.side-links a { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line-2); color: var(--ink); font-weight: 600; font-size: 14px; transition: padding .2s; }
.side-links a:hover { padding-left: 4px; }
.sitemap-cols { columns: 3 260px; column-gap: 32px; }
.sitemap-cols section { break-inside: avoid; margin-bottom: 24px; }
.sitemap-cols ul { list-style: none; padding: 0; margin: 0; }
.sitemap-cols li a { color: var(--text); font-size: 14px; line-height: 2; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #9aa3b2; margin-top: 64px; padding: 0 0 0; font-size: 14px; border-radius: 36px 36px 0 0; overflow: hidden; position: relative; isolation: isolate; }
.site-footer::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 100% 0%, rgba(58, 91, 255, .35), transparent 35%); z-index: -1; }
.newsletter-card { display: grid; grid-template-columns: 1.2fr 1fr; gap: 28px; align-items: center; padding: 48px 0 44px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.newsletter-card h2 { color: #fff; margin: 0 0 8px; font-size: clamp(1.7rem, 3vw, 2.6rem); line-height: 1; }
.newsletter-card h2 em { font-style: normal; color: var(--accent); }
.newsletter-card p { margin: 0; color: #9aa3b2; }
.newsletter-form { display: flex; gap: 8px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: 999px; padding: 6px; }
.newsletter-form input { flex: 1; border: 0; outline: 0; padding: 0 18px; min-width: 0; color: #fff; background: transparent; }
.newsletter-form input::placeholder { color: #7d8696; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 32px; padding: 44px 0 36px; }
.site-footer h4 { color: #fff; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { color: #c4cad6; transition: color .15s; }
.site-footer a:hover { color: var(--accent); }
.footer-brand .logo-word { color: #fff; }
.footer-brand p { margin: 16px 0; max-width: 340px; }
.socials { display: flex; gap: 8px; flex-wrap: wrap; }
.socials a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .07); color: #fff; transition: all .2s; }
.socials a:hover { background: var(--accent); color: var(--ink); }
.contact-lines { display: grid; gap: 8px; margin-top: 8px; }
.contact-lines span { display: flex; gap: 8px; align-items: center; }
.footer-word { font-family: var(--display); font-weight: 800; font-size: clamp(64px, 15.5vw, 236px); line-height: .8; letter-spacing: -.06em; text-align: center; background: linear-gradient(180deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, 0) 85%); -webkit-background-clip: text; background-clip: text; color: transparent; user-select: none; margin-top: 4px; white-space: nowrap; overflow: hidden; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding: 20px 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; }
.pay-badges { display: flex; gap: 8px; flex-wrap: wrap; }
.pay-badges span { border: 1px solid rgba(255, 255, 255, .14); border-radius: 999px; padding: 5px 12px; font-weight: 700; font-size: 12px; color: #dbe0e8; }

/* ---------- Mobile bottom nav ---------- */
.bottom-nav { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1280px) {
  .catnav-link { padding: 0 10px; font-size: 13.5px; }
  .catnav-link::after { left: 10px; right: 10px; }
  .catnav-link .icon { display: none; }
}

@media (max-width: 1180px) {
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .product-grid.cols-6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .scroller { grid-auto-columns: calc((100% - 32px) / 3); }
  .cat-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
  .locale { display: none; }
  .mega-card { grid-template-columns: 1fr; }
  .mega-promo { display: none; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-side { grid-template-rows: none; grid-template-columns: 1fr 1fr; }
}

@media (max-width: 980px) {
  .catnav { display: none; }
  .menu-toggle { display: grid; place-items: center; }
  .header-main { height: auto; padding: 12px 0; flex-wrap: wrap; gap: 10px 12px; }
  .search { order: 3; flex-basis: 100%; max-width: none; }
  .search form { height: 46px; }
  .tool-link .label { display: none; }
  .cart-link { padding: 0 14px; }
  .listing { grid-template-columns: 1fr; }
  .filters { position: fixed; inset: 8px auto 8px 8px; width: min(90vw, 370px); max-height: none; background: var(--bg); z-index: 100; transform: translateX(-110%); transition: transform .35s var(--ease); padding: 16px; top: 8px; border-radius: 24px; box-shadow: var(--shadow-lg); }
  .filters-open .filters { transform: none; }
  .filters-open .drawer-backdrop { opacity: 1; pointer-events: auto; }
  .filter-toggle { display: inline-flex; }
  .toolbar { border-radius: 22px; padding: 10px 12px; }
  .pdp { grid-template-columns: 1fr; gap: 24px; }
  .gallery { position: static; }
  .cart-layout, .checkout-layout, .content-layout { grid-template-columns: 1fr; }
  .summary { position: static; }
  .account-layout { grid-template-columns: 1fr; }
  .account-nav { position: static; display: flex; overflow-x: auto; gap: 4px; padding: 6px; border-radius: 999px; scrollbar-width: none; }
  .account-nav .who { display: none; }
  .account-nav a, .account-nav button { white-space: nowrap; width: auto; border-radius: 999px; }
  .reviews-wrap { grid-template-columns: 1fr; }
  .slide { grid-template-columns: 1fr; padding: 40px 30px 84px; }
  .slide-art { display: none; }
  .slider, .slide.active { min-height: 400px; }
  .slider-ctrl { left: 30px; }
  .usp { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .auth-wrap { grid-template-columns: 1fr; }
  .auth-side { display: none; }
  .band { grid-template-columns: 1fr; padding: 36px 28px; }
  .newsletter-card { grid-template-columns: 1fr; }
  .bottom-nav { display: grid; grid-template-columns: repeat(4, 1fr); position: fixed; bottom: 10px; left: 10px; right: 10px; background: rgba(255, 255, 255, .86); backdrop-filter: saturate(180%) blur(18px); -webkit-backdrop-filter: saturate(180%) blur(18px); border: 1px solid rgba(228, 231, 236, .9); border-radius: 24px; z-index: 80; padding: 8px 0 calc(8px + env(safe-area-inset-bottom) / 2); box-shadow: var(--shadow); }
  .bottom-nav a, .bottom-nav button { display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 11px; font-weight: 700; color: var(--muted); background: none; border: 0; position: relative; cursor: pointer; padding: 4px 0; }
  .bottom-nav .active { color: var(--ink); }
  .bottom-nav .active .icon { color: var(--blue); }
  .bottom-nav .badge-count { top: -4px; right: calc(50% - 24px); }
  body { padding-bottom: 92px; }
  .toast-wrap { bottom: 100px; left: 16px; right: 16px; }
  .topbar-links { display: none; }
  .site-footer { border-radius: 28px 28px 0 0; }
}

@media (max-width: 640px) {
  .container { padding: 0 16px; }
  body { font-size: 14px; }
  .product-grid, .product-grid.cols-3, .product-grid.cols-6 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .scroller { grid-auto-columns: 72%; gap: 10px; }
  .card { padding: 6px; border-radius: 18px; }
  .card-media { border-radius: 13px; }
  .card-body { padding: 10px 6px 6px; }
  .card-title { font-size: 13.5px; }
  .card-actions { grid-template-columns: 1fr; }
  .card-actions .btn-outline { display: none; }
  .price { font-size: 18px; }
  .cat-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .video-grid, .blog-grid { grid-template-columns: 1fr; }
  .usp { grid-template-columns: 1fr 1fr; gap: 8px; }
  .usp-item span { display: none; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .address-grid, .stat-cards { grid-template-columns: 1fr; }
  .tab-panel { padding: 20px; border-radius: 22px; }
  .auth-form { padding: 30px 22px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .logo-word { font-size: 21px; }
  .logo-mark { width: 34px; height: 34px; }
  .slider, .slide.active { min-height: 380px; }
  .slide { padding: 32px 22px 80px; }
  .slider-ctrl { left: 22px; }
  .slider-arrows { right: 16px; }
  .hero-side { grid-template-columns: 1fr; }
  .promo-tile { min-height: 170px; padding: 22px; }
  .promo-tile strong { font-size: 26px; }
  .page-hero, .listing-head { padding: 30px 22px; border-radius: 22px; }
  .cart-table thead { display: none; }
  .cart-table, .cart-table tbody, .cart-table tr, .cart-table td { display: block; width: 100%; }
  .cart-table tr { border-bottom: 1px solid var(--line); padding: 12px 0; display: grid; grid-template-columns: 1fr auto; gap: 8px; }
  .cart-table td { border: 0; padding: 4px 0; }
  .cart-table td.c-prod { grid-column: 1 / -1; }
  .cart-table td.c-price { display: none; }
  .panel-pad { padding: 20px; }
  .section { padding: 32px 0; }
  .section-head { align-items: center; }
  .section-tools .round-btn { display: none; }
  .header-tools { gap: 4px; }
  .toolbar { font-size: 13px; }
  .price-box .price { font-size: 34px; }
  .band-stats { grid-template-columns: 1fr 1fr; }
  .marquee { border-radius: 18px; }
}

@media print {
  .topbar, .site-header, .site-footer, .bottom-nav, .no-print { display: none !important; }
  body { background: #fff; }
}
