/* ==========================================================================
   FADE & CO — storefront
   Palette: ink black, warm paper, mustard gold accent, signal red for sale.
   Type: Oswald (display, uppercase) + Inter (text).
   ========================================================================== */
:root {
  --ink: #111111;
  --ink-2: #2b2b2b;
  --black: #0e0e0e;
  --paper: #f7f5f0;
  --paper-2: #efece5;
  --white: #ffffff;
  --muted: #6d6962;
  --line: #e3dfd6;
  --line-dark: rgba(255, 255, 255, 0.12);
  --gold: #e3a843;
  --gold-hover: #d4962c;
  --gold-text: #8b621c;
  --red: #c8102e;
  --green: #2f7a4b;
  --amber: #a86a00;
  --display: "Oswald", "Arial Narrow", Arial, sans-serif;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --container: 1320px;
  --radius: 4px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font: 400 15px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; }
p { margin: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
::selection { background: var(--gold); color: var(--ink); }
code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.9em; background: var(--paper-2); padding: 1px 6px; border-radius: 3px; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--ink); color: var(--white); padding: 10px 16px; font-weight: 600; }
.skip-link:focus { top: 12px; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
@media (min-width: 768px) { .container { padding: 0 32px; } }
.ico { flex-shrink: 0; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.center { text-align: center; }
.grow { flex: 1; }
.text-gold { color: var(--gold-text); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* ---------- Typography ---------- */
.eyebrow, .eyebrow-dark {
  display: block;
  font: 600 12px/1.2 var(--font);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-text);
  margin-bottom: 12px;
}
.eyebrow-light { color: var(--gold); }
.h1, .h2, .h2-studio, .h3, .h4 {
  font-family: var(--display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.005em;
  line-height: 1.04;
  color: var(--ink);
}
.h1 { font-size: clamp(32px, 4.4vw, 52px); }
.h2, .h2-studio { font-size: clamp(30px, 3.6vw, 46px); }
.h3 { font-size: 24px; }
.h4 { font-size: 18px; }
.h2-light { color: var(--white); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 46px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font: 600 13px/1 var(--font);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
}
.btn:active:not(:disabled) { transform: translateY(1px); }
.btn:disabled { opacity: 0.45; cursor: not-allowed; }
.btn-sm { height: 38px; padding: 0 16px; font-size: 12px; }
.btn-lg { height: 54px; padding: 0 30px; font-size: 13.5px; }
.btn-block { width: 100%; }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover:not(:disabled) { background: var(--gold-hover); }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover:not(:disabled) { background: #000; color: var(--gold); }
.btn-outline, .btn-outline-dark, .btn-ghost-dark { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn-outline:hover, .btn-outline-dark:hover, .btn-ghost-dark:hover { background: var(--ink); color: var(--white); }
.btn-ghost-light { background: transparent; border-color: rgba(255, 255, 255, 0.55); color: var(--white); }
.btn-ghost-light:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn-link { height: 40px; color: var(--muted); letter-spacing: 0.08em; }
.btn-link:hover { color: var(--ink); }
.link-gold, .link-underline {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 600; font-size: 14px;
  text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px;
}
.link-gold { color: var(--gold-text); }
.link-underline:hover, .link-gold:hover { color: var(--ink); }

.icon-btn {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: inherit;
  transition: background-color 0.2s, color 0.2s;
}
.icon-btn:hover { background: rgba(127, 127, 127, 0.14); }

/* ==========================================================================
   ANNOUNCEMENT TICKER
   ========================================================================== */
.announce {
  position: relative;
  display: flex;
  align-items: stretch;
  height: 36px;
  background: var(--gold);
  color: var(--ink);
  overflow: hidden;
}
.announce-track { display: flex; flex: 1; min-width: 0; animation: ticker 38s linear infinite; }
.announce-group { display: flex; flex-shrink: 0; align-items: center; }
.announce-item {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 0 28px;
  font: 600 11.5px/1 var(--font);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  white-space: nowrap;
}
.announce-track-btn {
  display: none;
  align-items: center; gap: 8px;
  padding: 0 22px;
  background: var(--ink);
  color: var(--gold);
  font: 600 11.5px/1 var(--font);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  white-space: nowrap;
  position: relative; z-index: 1;
}
.announce-track-btn:hover { color: var(--white); }
@media (min-width: 900px) { .announce-track-btn { display: inline-flex; } }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--black);
  color: var(--white);
  border-bottom: 1px solid var(--line-dark);
}
.header-row { display: flex; align-items: center; gap: 12px; height: var(--header-h); }
.burger { margin-left: -10px; }
@media (min-width: 1100px) { .burger { display: none; } }

.logo { display: inline-flex; flex-direction: column; line-height: 1; flex-shrink: 0; }
.logo-word {
  font: 600 24px/1 var(--display);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.logo-sub {
  margin-top: 5px;
  font: 500 9.5px/1 var(--font);
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--gold);
}
@media (max-width: 1099px) { .logo { margin-right: auto; } }

.main-nav { display: none; align-items: stretch; height: 100%; margin-left: 28px; }
@media (min-width: 1100px) { .main-nav { display: flex; } }
.nav-link {
  display: inline-flex; align-items: center; gap: 4px;
  height: 100%;
  padding: 0 13px;
  font-size: 14.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.86);
  position: relative;
  transition: color 0.2s;
}
.nav-link::after {
  content: "";
  position: absolute; left: 13px; right: 13px; bottom: 18px;
  height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav-link:hover, .nav-link.is-active { color: var(--white); }
.nav-link:hover::after, .nav-link.is-active::after { transform: scaleX(1); }
.nav-link .ico { opacity: 0.6; transition: transform 0.25s; }
.nav-link-sale { color: var(--gold); }
.nav-dropdown { display: flex; }
.nav-dropdown:hover .nav-link .ico, .nav-dropdown:focus-within .nav-link .ico { transform: rotate(180deg); }

.mega-menu {
  position: absolute;
  left: 0; right: 0; top: 100%;
  background: var(--white);
  color: var(--ink);
  border-top: 1px solid var(--line);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.35);
  opacity: 0; visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.2s, transform 0.25s var(--ease), visibility 0.2s;
}
.nav-dropdown:hover .mega-menu, .nav-dropdown:focus-within .mega-menu { opacity: 1; visibility: visible; transform: none; }
.mega-inner { display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: 48px; padding-top: 36px; padding-bottom: 40px; }
.mega-label {
  font: 600 11px/1 var(--font); letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--line);
}
.mega-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.mega-list a { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 7px 0; font-size: 15px; transition: color 0.2s, padding 0.2s; }
.mega-list a:hover { color: var(--gold-text); padding-left: 4px; }
.mega-list small { color: var(--muted); font-size: 12px; }
.mega-all { font-weight: 600; justify-content: flex-start !important; margin-top: 6px; }
.mega-promo { position: relative; display: block; overflow: hidden; border-radius: var(--radius); background: var(--black); color: var(--white); min-height: 220px; }
.mega-promo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.7; transition: transform 0.6s var(--ease); }
.mega-promo:hover img { transform: scale(1.04); }
.mega-promo-copy { position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; height: 100%; min-height: 220px; padding: 24px; background: linear-gradient(90deg, rgba(0,0,0,0.75), rgba(0,0,0,0.1)); }
.mega-promo-copy small { font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.mega-promo-copy strong { font: 600 26px/1.05 var(--display); text-transform: uppercase; max-width: 280px; }
.mega-promo-link { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; margin-top: 6px; }

.header-search-wrap { position: relative; display: none; margin-left: auto; }
@media (min-width: 900px) { .header-search-wrap { display: block; } }
.header-search-form {
  display: flex; align-items: center; gap: 8px;
  width: 220px; height: 40px; padding: 0 12px;
  background: var(--white); color: var(--ink);
  border-radius: 2px;
  transition: width 0.3s var(--ease);
}
.header-search-form:focus-within { width: 300px; }
.header-search-form .ico { color: var(--muted); }
.header-search-form input { flex: 1; min-width: 0; height: 100%; border: 0; outline: none; background: transparent; font-size: 14px; }
.header-search-form input::-webkit-search-cancel-button { display: none; }
.search-dropdown {
  position: absolute; right: 0; top: calc(100% + 8px);
  width: 400px; max-width: 90vw;
  background: var(--white); color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: 0 24px 48px -20px rgba(0, 0, 0, 0.35);
  padding: 6px; z-index: 5;
}
.search-hit { display: grid; grid-template-columns: 46px 1fr auto; gap: 12px; align-items: center; padding: 8px; font-size: 14px; transition: background-color 0.15s; }
.search-hit:hover { background: var(--paper); }
.search-hit img { width: 46px; height: 46px; object-fit: cover; background: var(--paper-2); }
.search-hit span { display: flex; flex-direction: column; min-width: 0; font-weight: 500; line-height: 1.35; }
.search-hit small { font-size: 12px; font-weight: 400; }
.search-hit strong { font-weight: 600; white-space: nowrap; }

.header-actions { display: flex; align-items: center; gap: 2px; margin-right: -8px; }
@media (min-width: 900px) { .only-mobile-search { display: none; } .header-actions { margin-left: 12px; } }
@media (max-width: 599px) { .hide-sm { display: none; } }
.cart-count {
  position: absolute; top: 4px; right: 2px;
  min-width: 18px; height: 18px; padding: 0 5px;
  display: grid; place-items: center;
  border-radius: 99px;
  background: var(--gold); color: var(--ink);
  font-size: 10.5px; font-weight: 700; line-height: 1;
}
.cart-btn.is-bump { animation: bump 0.45s var(--ease); }
@keyframes bump { 40% { transform: scale(1.18); } }

/* ==========================================================================
   DRAWERS / MODALS
   ========================================================================== */
.scrim { position: fixed; inset: 0; background: rgba(10, 10, 10, 0.5); z-index: 80; animation: fade 0.25s; }
@keyframes fade { from { opacity: 0; } }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: min(440px, 100%);
  background: var(--white);
  z-index: 90;
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.4s var(--ease);
  visibility: hidden;
}
.drawer.is-open { transform: none; visibility: visible; }
.drawer-left { right: auto; left: 0; transform: translateX(-100%); width: min(380px, 92%); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.drawer-head .logo-word { font-size: 20px; }
.drawer-title { font: 600 22px/1 var(--display); text-transform: uppercase; letter-spacing: 0.04em; }
.drawer-body { flex: 1; overflow-y: auto; padding: 8px 20px 20px; }
.drawer-foot { padding: 18px 20px 20px; border-top: 1px solid var(--line); display: grid; gap: 8px; }

.mobile-search-form { display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 14px; margin: 12px 0 8px; border: 1px solid var(--line); }
.mobile-search-form .ico { color: var(--muted); }
.mobile-search-form input { flex: 1; border: 0; outline: none; background: transparent; height: 100%; min-width: 0; }
.drawer-nav { display: grid; }
.drawer-nav a { display: flex; justify-content: space-between; align-items: center; padding: 15px 0; border-bottom: 1px solid var(--line); font: 500 16px/1.2 var(--font); }
.drawer-nav a .ico { color: var(--muted); }
.drawer-nav a.is-sale { color: var(--red); }
.drawer-meta { display: grid; gap: 4px; margin-top: 20px; }
.drawer-meta-link { display: flex; align-items: center; gap: 12px; padding: 8px 0; font-size: 14px; color: var(--ink-2); text-align: left; }
.drawer-meta-link .ico { color: var(--muted); }

.free-bar { padding: 14px 20px; background: var(--paper); border-bottom: 1px solid var(--line); }
.free-bar p { font-size: 13px; margin-bottom: 8px; }
.free-track { height: 3px; background: var(--line); overflow: hidden; }
.free-track span { display: block; height: 100%; background: var(--gold); transition: width 0.5s var(--ease); }

.cart-empty { display: grid; justify-items: center; gap: 10px; text-align: center; padding: 56px 12px; }
.cart-empty-ico { color: var(--line); margin-bottom: 6px; }
.cart-empty strong { font: 600 20px/1.1 var(--display); text-transform: uppercase; }
.cart-empty p { max-width: 280px; font-size: 14px; margin-bottom: 8px; }
.cart-item { display: grid; grid-template-columns: 76px 1fr; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.cart-item img { width: 76px; height: 76px; object-fit: cover; background: var(--paper-2); }
.cart-item-title { display: block; font-weight: 500; font-size: 14.5px; line-height: 1.35; }
.cart-item-title:hover { text-decoration: underline; text-underline-offset: 3px; }
.cart-item-meta { font-size: 12.5px; color: var(--muted); margin: 3px 0 10px; }
.cart-item-row { display: flex; align-items: center; gap: 12px; }
.cart-item-row strong { margin-left: auto; font-weight: 600; white-space: nowrap; }
.cart-item-row .icon-btn { width: 34px; height: 34px; color: var(--muted); }
.cart-item-row .icon-btn:hover { color: var(--red); background: transparent; }
.cart-item .card-qty { height: 36px; width: 104px; }
.cart-row { display: flex; justify-content: space-between; font-size: 14px; color: var(--muted); }
.cart-row-total { color: var(--ink); font-size: 16px; padding: 8px 0 10px; }
.cart-row-total strong { font: 600 22px/1 var(--display); }

.qv-modal, .search-modal {
  position: fixed; inset: 0; z-index: 100;
  display: grid; place-items: center;
  padding: 16px;
  background: rgba(10, 10, 10, 0.55);
  animation: fade 0.2s;
}
.qv-dialog {
  position: relative;
  width: min(960px, 100%);
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  background: var(--white);
  animation: rise 0.35s var(--ease);
}
@keyframes rise { from { opacity: 0; transform: translateY(16px); } }
.qv-close { position: absolute; top: 10px; right: 10px; z-index: 2; background: var(--white); }
.qv-grid { display: grid; }
@media (min-width: 768px) { .qv-grid { grid-template-columns: 1fr 1fr; } }
.qv-media { background: var(--paper); aspect-ratio: 1; }
.qv-media img { width: 100%; height: 100%; object-fit: cover; }
.qv-info { padding: 32px 28px; display: flex; flex-direction: column; gap: 14px; }
.qv-topline { display: flex; justify-content: space-between; gap: 12px; }
.qv-sku { font-size: 12px; color: var(--muted); }
.qv-title { font: 600 30px/1.05 var(--display); text-transform: uppercase; }
.qv-price-wrap { display: flex; align-items: baseline; gap: 12px; }
.qv-price-wrap .price-now { font-size: 24px; }
.qv-desc { color: var(--muted); font-size: 14.5px; }
.qv-specs { margin: 0; display: grid; border-top: 1px solid var(--line); }
.qv-specs div { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.qv-specs dt { color: var(--muted); }
.qv-specs dd { margin: 0; font-weight: 500; text-align: right; }
.qv-actions { display: flex; gap: 10px; margin-top: 4px; }
.qv-actions .card-qty { width: 120px; height: 54px; }
.track-dialog { width: min(480px, 100%); padding: 36px 30px 30px; }
.track-dialog .qv-title { margin-bottom: 8px; }
.track-form { display: grid; gap: 14px; margin-top: 22px; }
.track-result { padding: 14px 16px; background: var(--paper); border-left: 2px solid var(--gold); display: grid; gap: 6px; font-size: 14px; }

.search-modal { place-items: start center; padding-top: 10vh; }
.search-dialog { width: min(640px, 100%); background: var(--white); animation: rise 0.3s var(--ease); }
.search-bar { display: flex; align-items: center; gap: 12px; padding: 8px 8px 8px 18px; border-bottom: 1px solid var(--line); }
.search-bar .ico { color: var(--muted); }
.search-bar input { flex: 1; height: 50px; border: 0; outline: none; font-size: 17px; min-width: 0; background: transparent; }
.search-results { max-height: 60vh; overflow-y: auto; padding: 6px; }
.search-results:empty { display: none; }

.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 120;
  transform: translateX(-50%);
  background: var(--ink); color: var(--white);
  padding: 14px 22px;
  font-size: 14px; font-weight: 500;
  box-shadow: 0 16px 40px -12px rgba(0, 0, 0, 0.4);
  animation: rise 0.3s var(--ease);
  border-left: 3px solid var(--gold);
}

/* ==========================================================================
   FORMS
   ========================================================================== */
.field { display: grid; gap: 6px; min-width: 0; }
.field label { font-size: 13px; font-weight: 500; color: var(--ink-2); }
.field input, .field textarea, .field select, .sort select, .price-inputs input, .sub-form input {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--white);
  outline: none;
  font-size: 15px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { height: auto; padding: 12px 14px; resize: vertical; line-height: 1.55; }
.field input:focus, .field textarea:focus, .field select:focus, .sort select:focus, .price-inputs input:focus {
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(17, 17, 17, 0.06);
}
.field input[aria-invalid="true"] { border-color: var(--red); }
.field-error { color: var(--red); font-size: 12.5px; min-height: 0; }
.field-error:empty { display: none; }
.field-grid { display: grid; gap: 14px; margin-bottom: 14px; }
@media (min-width: 640px) { .field-grid { grid-template-columns: 1fr 1fr; } .field-full { grid-column: 1 / -1; } }

/* ==========================================================================
   HERO SLIDER
   ========================================================================== */
.hero { background: var(--black); }
.hero-frame { position: relative; min-height: 560px; height: min(78vh, 680px); overflow: hidden; color: var(--white); }
.hero-slide { position: absolute; inset: 0; display: flex; align-items: center; }
.hero-slide.is-active { animation: slideIn 0.9s var(--ease); }
@keyframes slideIn { from { opacity: 0; } }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% center; }
.hero-slide.is-active .hero-img { animation: kenburns 9s ease-out both; }
@keyframes kenburns { from { transform: scale(1.06); } to { transform: scale(1); } }
.hero-slide::before {
  content: "";
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(90deg, rgba(8, 8, 8, 0.88) 0%, rgba(8, 8, 8, 0.6) 38%, rgba(8, 8, 8, 0) 70%),
    linear-gradient(0deg, rgba(8, 8, 8, 0.5), transparent 40%);
}
.hero-content { position: relative; z-index: 2; padding-bottom: 40px; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font: 600 12px/1 var(--font); letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold);
  margin-bottom: 18px;
}
.hero-eyebrow::before { content: ""; width: 32px; height: 1px; background: var(--gold); }
.hero-title {
  font: 600 clamp(42px, 6.6vw, 88px)/0.96 var(--display);
  text-transform: uppercase;
  letter-spacing: 0.005em;
  max-width: 760px;
}
.hero-text { max-width: 480px; margin-top: 26px; font-size: 16.5px; line-height: 1.6; color: rgba(255, 255, 255, 0.78); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-slide.is-active .hero-eyebrow,
.hero-slide.is-active .hero-title,
.hero-slide.is-active .hero-text,
.hero-slide.is-active .hero-actions { animation: up 0.9s var(--ease) both; }
.hero-slide.is-active .hero-title { animation-delay: 0.08s; }
.hero-slide.is-active .hero-text { animation-delay: 0.16s; }
.hero-slide.is-active .hero-actions { animation-delay: 0.24s; }
@keyframes up { from { opacity: 0; transform: translateY(22px); } }
.hero-controls {
  position: absolute; left: 0; right: 0; bottom: 28px; z-index: 3;
  display: flex; align-items: center; justify-content: space-between;
}
.hero-dots { display: flex; gap: 8px; }
.hero-dot { width: 28px; height: 44px; display: grid; align-items: center; background: transparent; transition: width 0.4s var(--ease); }
.hero-dot::after { content: ""; height: 3px; width: 100%; background: rgba(255, 255, 255, 0.35); transition: background-color 0.3s; }
.hero-dot.is-active { width: 56px; }
.hero-dot.is-active::after { background: var(--gold); }
.hero-pause { min-height: 44px; padding: 0 16px; margin-left: auto; margin-right: 16px; color: var(--white); font-size: 12px; text-decoration: underline; text-underline-offset: 4px; }
.announce:hover .announce-track, .announce:focus-within .announce-track, .ribbon:hover .ribbon-track { animation-play-state: paused; }
.hero-arrows { display: flex; gap: 8px; }
.hero-arrow {
  display: grid; place-items: center;
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: var(--white);
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}
.hero-arrow:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
@media (max-width: 767px) {
  .hero-frame { min-height: 600px; height: 86vh; max-height: 720px; }
  .hero-img { object-position: 78% center; }
  .hero-slide { align-items: flex-end; }
  .hero-slide::before { background: linear-gradient(0deg, rgba(8,8,8,0.95) 0%, rgba(8,8,8,0.7) 45%, rgba(8,8,8,0.1) 80%); }
  .hero-content { padding-bottom: 96px; }
  .hero-actions .btn { flex: 1; padding: 0 16px; }
  .hero-arrows { display: none; }
}

/* ---------- Trust row ---------- */
.trust-row { border-bottom: 1px solid var(--line); background: var(--white); }
.trust-grid { display: grid; grid-template-columns: 1fr 1fr; }
@media (min-width: 1000px) { .trust-grid { grid-template-columns: repeat(4, 1fr); } }
.trust-item { display: flex; align-items: center; gap: 14px; padding: 22px 12px; }
.trust-item .ico { color: var(--gold-text); }
.trust-item p { display: flex; flex-direction: column; line-height: 1.35; }
.trust-item strong { font-size: 14px; font-weight: 600; }
.trust-item span { font-size: 13px; color: var(--muted); }
@media (min-width: 1000px) { .trust-item + .trust-item { border-left: 1px solid var(--line); padding-left: 28px; } }
@media (max-width: 999px) { .trust-item:nth-child(even) { border-left: 1px solid var(--line); padding-left: 16px; } .trust-item:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 480px) { .trust-item { flex-direction: column; align-items: flex-start; gap: 8px; } }

/* ==========================================================================
   SECTIONS
   ========================================================================== */
.section { padding: 80px 0; }
@media (min-width: 1000px) { .section { padding: 104px 0; } }
.section-paper { background: var(--paper); }
.section-head { margin-bottom: 44px; }
.section-head-center { text-align: center; display: grid; justify-items: center; }
.head-rule { display: block; width: 64px; height: 1px; background: var(--gold); margin-top: 22px; }
.section-head-split { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; }
.section-foot { display: flex; justify-content: center; margin-top: 48px; }

/* ---------- Category circles ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 36px 20px; }
@media (min-width: 640px) { .cat-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .cat-grid { grid-template-columns: repeat(6, 1fr); gap: 28px; } }
.cat-card { display: flex; flex-direction: column; align-items: center; text-align: center; }
.cat-circle {
  display: block;
  width: 100%; max-width: 200px; aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  padding: 5px;
  background: var(--white);
  box-shadow: 0 0 0 1px var(--gold), 0 18px 36px -18px rgba(0, 0, 0, 0.35);
  transition: box-shadow 0.3s, transform 0.4s var(--ease);
}
.cat-circle img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; transition: transform 0.6s var(--ease); }
.cat-card:hover .cat-circle { transform: translateY(-4px); box-shadow: 0 0 0 2px var(--gold), 0 26px 40px -18px rgba(0, 0, 0, 0.4); }
.cat-card:hover .cat-circle img { transform: scale(1.07); }
.cat-name {
  margin-top: 20px;
  font: 600 15px/1.25 var(--display);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  position: relative;
  padding-top: 14px;
}
.cat-name::before { content: ""; position: absolute; top: 0; left: 50%; width: 28px; height: 1px; background: var(--gold); transform: translateX(-50%); }
.cat-count { margin-top: 4px; font-size: 12.5px; color: var(--muted); }

/* ---------- Mustard ribbon ---------- */
.ribbon { background: var(--gold); color: var(--ink); overflow: hidden; border-block: 1px solid rgba(0,0,0,0.08); }
.ribbon-track { display: flex; width: max-content; animation: ticker 32s linear infinite; }
.ribbon-group { display: flex; flex-shrink: 0; }
.ribbon-group span {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 20px 36px;
  font: 600 13px/1 var(--font); letter-spacing: 0.22em; text-transform: uppercase; white-space: nowrap;
}

/* ---------- Text tabs ---------- */
.text-tabs { display: flex; gap: 28px; border-bottom: 1px solid var(--line); }
.text-tab {
  position: relative;
  padding: 10px 0 14px;
  font: 600 13px/1 var(--font); letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted);
  transition: color 0.2s;
}
.text-tab::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--ink); transform: scaleX(0); transition: transform 0.3s var(--ease); }
.text-tab:hover { color: var(--ink); }
.text-tab.is-active { color: var(--ink); }
.text-tab.is-active::after { transform: scaleX(1); }
@media (max-width: 640px) { .text-tabs { width: 100%; gap: 20px; overflow-x: auto; } }

/* ==========================================================================
   PRODUCT CARD
   ========================================================================== */
.product-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 14px; }
@media (min-width: 900px) { .product-grid { grid-template-columns: repeat(3, 1fr); gap: 40px 24px; } }
@media (min-width: 1200px) { .product-grid { grid-template-columns: repeat(4, 1fr); } .product-grid-3 { grid-template-columns: repeat(3, 1fr); } }

.pcard { display: flex; flex-direction: column; min-width: 0; }
.pcard-media { position: relative; aspect-ratio: 1; background: var(--paper-2); overflow: hidden; }
.pcard-img-link, .pcard-img-link img { display: block; width: 100%; height: 100%; }
.pcard-img-link img { object-fit: cover; mix-blend-mode: multiply; transition: transform 0.7s var(--ease); }
.pcard:hover .pcard-img-link img { transform: scale(1.05); }
.pcard.is-out .pcard-img-link img { opacity: 0.5; filter: grayscale(0.6); }
.pcard-badges { position: absolute; top: 12px; left: 12px; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; z-index: 1; }
.badge {
  display: inline-flex; align-items: center;
  height: 24px; padding: 0 9px;
  font: 600 11px/1 var(--font); letter-spacing: 0.1em; text-transform: uppercase;
  background: var(--ink); color: var(--white);
}
.badge-sale { background: var(--red); }
.badge-new { background: var(--white); color: var(--ink); border: 1px solid var(--ink); }
.badge-hit { background: var(--gold); color: var(--ink); }
.pcard-quick {
  position: absolute; left: 12px; right: 12px; bottom: 12px;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  height: 42px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  font: 600 12px/1 var(--font); letter-spacing: 0.12em; text-transform: uppercase;
  opacity: 0; transform: translateY(8px);
  transition: opacity 0.25s, transform 0.35s var(--ease), background-color 0.2s, color 0.2s;
}
.pcard-quick:hover { background: var(--ink); color: var(--white); }
.pcard:hover .pcard-quick, .pcard-quick:focus-visible { opacity: 1; transform: none; }
@media (hover: none) { .pcard-quick { display: none; } }

.pcard-body { display: flex; flex-direction: column; flex: 1; padding-top: 16px; }
.pcard-brand { font: 600 11px/1 var(--font); letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.pcard-title { font: 500 15px/1.4 var(--font); margin-bottom: 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pcard-title a:hover { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.pcard-rating-row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-bottom: 10px; }
.stars { display: inline-flex; align-items: center; gap: 1px; color: var(--line); }
.star.is-on { color: var(--gold); }
.stars-num { margin-left: 5px; font-size: 12px; font-weight: 500; color: var(--muted); }
.stock-pill { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); }
.stock-pill .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.stock-in { color: var(--green); }
.stock-low { color: var(--amber); }
.stock-out { color: var(--red); }
.pcard-prices { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; margin-bottom: 14px; margin-top: auto; }
.price-now { font: 600 18px/1.1 var(--font); letter-spacing: -0.01em; white-space: nowrap; }
.price-now.is-sale { color: var(--red); }
.price-old { font-size: 14px; color: var(--muted); white-space: nowrap; }
.price-save { display: inline-block; font-size: 13px; font-weight: 600; color: var(--red); }

.pcard-actions { display: grid; grid-template-columns: 96px 1fr; gap: 8px; }
.card-qty { display: grid; grid-template-columns: 30px 1fr 30px; align-items: center; height: 44px; border: 1px solid var(--line); background: var(--white); }
.card-qty-btn { display: grid; place-items: center; height: 100%; color: var(--ink-2); transition: color 0.2s, background-color 0.2s; }
.card-qty-btn:hover:not(:disabled) { background: var(--paper); }
.card-qty-btn:disabled { opacity: 0.35; cursor: not-allowed; }
.card-qty-input { width: 100%; height: 100%; border: 0; outline: none; text-align: center; font-weight: 600; font-size: 14px; background: transparent; -moz-appearance: textfield; appearance: textfield; }
.card-qty-input::-webkit-outer-spin-button, .card-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.btn-card-add { height: 44px; padding: 0 10px; background: var(--ink); color: var(--white); font-size: 11.5px; letter-spacing: 0.12em; }
.btn-card-add:hover:not(:disabled) { background: var(--gold); color: var(--ink); }
.btn-card-add.is-added { background: var(--green); color: var(--white); }
@media (max-width: 479px) {
  .pcard-actions { grid-template-columns: 1fr; }
  .pcard-actions .card-qty { display: none; }
  .pcard-title { font-size: 14px; }
  .price-now { font-size: 16px; }
}

/* ---------- Split editorial ---------- */
.split { display: grid; background: var(--black); color: var(--white); }
@media (min-width: 1000px) { .split { grid-template-columns: 1.1fr 1fr; } }
.split-media { min-height: 360px; position: relative; }
.split-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.split-copy { padding: 64px 24px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
@media (min-width: 1000px) { .split-copy { padding: 96px 80px; } }
.split-copy > p:not(.eyebrow) { margin-top: 20px; color: rgba(255, 255, 255, 0.72); max-width: 480px; font-size: 16px; }
.split-list { list-style: none; margin: 28px 0 36px; padding: 0; display: grid; gap: 12px; }
.split-list li { display: flex; align-items: center; gap: 12px; font-size: 15px; }
.split-list .ico { color: var(--gold); }

/* ---------- Brands ---------- */
.brand-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
@media (min-width: 768px) { .brand-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .brand-grid { grid-template-columns: repeat(6, 1fr); } }
.brand-cell {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  height: 130px; padding: 16px;
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: var(--white);
  transition: background-color 0.25s;
}
.brand-name { font: 600 19px/1.15 var(--display); letter-spacing: 0.1em; text-transform: uppercase; color: #9a958c; transition: color 0.25s; text-align: center; }
.brand-meta { font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); opacity: 0; transform: translateY(4px); transition: opacity 0.25s, transform 0.25s; }
.brand-cell:hover .brand-name { color: var(--ink); }
.brand-cell:hover .brand-meta { opacity: 1; transform: none; }

/* ==========================================================================
   PAGE HERO / CATALOG
   ========================================================================== */
.page-hero { background: var(--paper); border-bottom: 1px solid var(--line); padding: 28px 0 0; }
.page-hero-sm { padding-bottom: 32px; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); margin-bottom: 20px; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.crumbs .ico { opacity: 0.5; }
.crumbs span[aria-current] { color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 60vw; }
.crumbs-pad { padding-top: 24px; }
.page-hero-row { display: grid; gap: 14px; }
.page-hero-sub { color: var(--muted); max-width: 640px; }
.cat-quick-pills { display: flex; gap: 28px; overflow-x: auto; margin-top: 18px; scrollbar-width: none; }
.cat-quick-pills::-webkit-scrollbar { display: none; }
.cat-pill {
  position: relative;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 14px 0 16px;
  font-size: 14px; font-weight: 500; color: var(--muted);
  white-space: nowrap;
  transition: color 0.2s;
}
.cat-pill b { font-weight: 500; font-size: 12px; color: var(--muted); }
.cat-pill::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--ink); transform: scaleX(0); transition: transform 0.3s var(--ease); }
.cat-pill:hover, .cat-pill.is-active { color: var(--ink); }
.cat-pill.is-active::after { transform: scaleX(1); }

.section-studio { background: var(--white); }
.shop-section { padding: 40px 0 96px; }
.shop { display: grid; gap: 40px; }
@media (min-width: 1000px) { .shop { grid-template-columns: 260px 1fr; align-items: start; } }

.filters { background: var(--white); }
@media (min-width: 1000px) { .filters { position: sticky; top: calc(var(--header-h) + 20px); } .only-mobile { display: none !important; } }
@media (max-width: 999px) {
  .filters {
    position: fixed; top: 0; bottom: 0; left: 0; z-index: 95;
    width: min(360px, 90%); overflow-y: auto;
    padding: 0 20px 24px;
    transform: translateX(-100%); transition: transform 0.4s var(--ease);
    visibility: hidden;
  }
  .filters.is-open { transform: none; visibility: visible; }
  .filters-head { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); margin-bottom: 4px; }
}
.filter-group { border: 0; margin: 0; padding: 20px 0; border-bottom: 1px solid var(--line); display: grid; gap: 4px; min-width: 0; }
.filter-group:first-of-type { padding-top: 0; }
.filter-group legend { padding: 0; margin-bottom: 12px; font: 600 12px/1 var(--font); letter-spacing: 0.2em; text-transform: uppercase; float: left; width: 100%; }
.filter-group legend + * { clear: both; }
.radio, .check, .switch { display: flex; align-items: center; gap: 10px; padding: 6px 0; font-size: 14px; cursor: pointer; }
.radio span, .check span, .switch span { flex: 1; }
.radio small, .check small { font-size: 12px; color: var(--muted); }
.radio input, .check input, .switch input { width: 16px; height: 16px; margin: 0; accent-color: var(--ink); flex-shrink: 0; }
.radio:hover span, .check:hover span { text-decoration: underline; text-underline-offset: 3px; }
.price-inputs { display: flex; align-items: center; gap: 8px; }
.price-inputs label { flex: 1; }
.price-inputs input { height: 42px; font-size: 14px; }
.filters [data-filter-reset] { margin-top: 20px; }

.toolbar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-bottom: 16px; margin-bottom: 28px; border-bottom: 1px solid var(--line); }
.toolbar-count { font-size: 14px; color: var(--muted); }
.toolbar-count strong { color: var(--ink); font-weight: 600; }
.sort { display: flex; align-items: center; gap: 10px; }
.sort-label { font-size: 13px; color: var(--muted); }
.sort select {
  height: 40px; width: auto; padding: 0 36px 0 12px; font-size: 14px; appearance: none;
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='1.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 12px center/14px no-repeat;
}
@media (max-width: 999px) { .sort-label { display: none; } .toolbar-count { order: 3; width: 100%; } }
.empty { display: grid; justify-items: center; gap: 12px; text-align: center; padding: 64px 16px; }
.empty-page { min-height: 60vh; align-content: center; }
.pager { display: flex; justify-content: center; gap: 6px; margin-top: 56px; }
.pager:empty { display: none; }
.pager button { min-width: 42px; height: 42px; padding: 0 12px; border: 1px solid var(--line); font-weight: 500; transition: border-color 0.2s, background-color 0.2s; }
.pager button:hover { border-color: var(--ink); }
.pager button[aria-current] { background: var(--ink); color: var(--white); border-color: var(--ink); }

/* ==========================================================================
   PRODUCT PAGE
   ========================================================================== */
.pdp-section { padding-bottom: 96px; }
.pdp { display: grid; gap: 40px; }
@media (min-width: 1000px) { .pdp { grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: start; } }
.gallery { display: grid; gap: 12px; }
@media (min-width: 1000px) { .gallery { position: sticky; top: calc(var(--header-h) + 20px); } }
.gallery-main { position: relative; aspect-ratio: 1; background: var(--paper-2); overflow: hidden; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.thumb { aspect-ratio: 1; background: var(--paper-2); border: 1px solid transparent; overflow: hidden; transition: border-color 0.2s; }
.thumb img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; }
.thumb.is-active, .thumb:hover { border-color: var(--ink); }

.pdp-info { display: flex; flex-direction: column; gap: 18px; }
.pdp-brand-row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.pdp-brand-pill { font: 600 12px/1 var(--font); letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-text); }
.pdp-brand-pill:hover { color: var(--ink); }
.pdp-sku { font-size: 13px; color: var(--muted); }
.pdp-sku strong { color: var(--ink-2); font-weight: 500; }
.pdp-title { font: 600 clamp(30px, 3.4vw, 44px)/1.04 var(--display); text-transform: uppercase; }
.pdp-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.pdp-price-box { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 16px; }
.pdp-price { display: flex; align-items: baseline; gap: 12px; }
.pdp-price .price-now { font-size: 32px; }
.pdp-price .price-old { font-size: 17px; }
.pdp-short { color: var(--ink-2); font-size: 15.5px; }
.buy-row { display: flex; gap: 10px; }
.qty { display: grid; grid-template-columns: 40px 48px 40px; height: 54px; border: 1px solid var(--line); }
.qty-btn { display: grid; place-items: center; transition: background-color 0.2s; }
.qty-btn:hover { background: var(--paper); }
.qty input { width: 100%; border: 0; text-align: center; font-weight: 600; outline: none; -moz-appearance: textfield; appearance: textfield; background: transparent; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.pdp-perks { list-style: none; margin: 4px 0 0; padding: 18px 0; display: grid; gap: 12px; border-block: 1px solid var(--line); }
.pdp-perks li { display: flex; align-items: center; gap: 14px; font-size: 14px; color: var(--ink-2); }
.pdp-perks .ico { color: var(--gold-text); }
.acc { border-bottom: 1px solid var(--line); }
.acc summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 0;
  font: 600 13px/1 var(--font); letter-spacing: 0.18em; text-transform: uppercase;
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; font: 300 22px/1 var(--font); transition: transform 0.25s; }
.acc[open] summary::after { transform: rotate(45deg); }
.acc-body { padding-bottom: 22px; font-size: 14.5px; color: var(--ink-2); }
.prose { line-height: 1.75; }
.spec-table { margin: 0; display: grid; }
.spec-table div { display: grid; grid-template-columns: minmax(120px, 42%) 1fr; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.spec-table div:last-child { border-bottom: 0; }
.spec-table dt { color: var(--muted); }
.spec-table dd { margin: 0; font-weight: 500; overflow-wrap: anywhere; }
.related-section { margin-top: 96px; padding-top: 64px; border-top: 1px solid var(--line); }
.studio-header { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 36px; }

/* ==========================================================================
   CHECKOUT / ORDER
   ========================================================================== */
.checkout { display: grid; gap: 28px; padding-top: 40px; padding-bottom: 96px; }
@media (min-width: 1000px) { .checkout { grid-template-columns: 1fr 400px; align-items: start; gap: 48px; } }
.checkout-form { display: grid; gap: 20px; min-width: 0; }
.card-block { border: 1px solid var(--line); background: var(--white); padding: 24px; margin: 0; min-width: 0; }
@media (min-width: 768px) { .card-block { padding: 32px; } }
.block-title {
  display: flex; align-items: center; gap: 12px;
  font: 600 20px/1.1 var(--display); text-transform: uppercase; letter-spacing: 0.03em;
  margin-bottom: 22px; padding: 0; float: left; width: 100%;
}
.block-title + * { clear: both; }
.step { display: grid; place-items: center; width: 28px; height: 28px; background: var(--ink); color: var(--white); font: 600 13px/1 var(--font); flex-shrink: 0; }
.choice-grid { display: grid; gap: 10px; margin-bottom: 18px; }
@media (min-width: 640px) { .choice-grid { grid-template-columns: 1fr 1fr; } }
.choice { position: relative; cursor: pointer; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice-box { display: flex; align-items: flex-start; gap: 14px; height: 100%; padding: 16px; border: 1px solid var(--line); transition: border-color 0.2s, background-color 0.2s; }
.choice-box .ico { color: var(--muted); margin-top: 2px; }
.choice-box > span { display: flex; flex-direction: column; gap: 3px; }
.choice-box strong { font-weight: 600; font-size: 14.5px; }
.choice-box small { font-size: 13px; color: var(--muted); line-height: 1.4; }
.choice:hover .choice-box { border-color: var(--ink-2); }
.choice input:checked + .choice-box { border-color: var(--ink); background: var(--paper); box-shadow: inset 0 0 0 1px var(--ink); }
.choice input:checked + .choice-box .ico { color: var(--ink); }
.choice input:focus-visible + .choice-box { outline: 2px solid var(--gold); outline-offset: 2px; }
.choice.is-disabled { opacity: 0.5; cursor: not-allowed; }
.summary { display: grid; gap: 16px; }
@media (min-width: 1000px) { .summary { position: sticky; top: calc(var(--header-h) + 20px); } }
.summary .block-title { margin-bottom: 4px; }
.summary-lines { list-style: none; margin: 0; padding: 0; display: grid; }
.sline { display: grid; grid-template-columns: 56px 1fr auto; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.sline img { width: 56px; height: 56px; object-fit: cover; background: var(--paper-2); }
.sline-name { display: flex; flex-direction: column; min-width: 0; font-weight: 500; line-height: 1.35; }
.sline-name small { font-weight: 400; font-size: 12.5px; margin-top: 2px; }
.sline strong { font-weight: 600; white-space: nowrap; }
.skeleton-line { height: 56px; margin: 6px 0; background: linear-gradient(90deg, var(--paper) 0%, var(--paper-2) 50%, var(--paper) 100%); background-size: 200% 100%; animation: shimmer 1.4s infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }
.summary-totals { display: grid; gap: 8px; }
.sum-row { display: flex; justify-content: space-between; font-size: 14px; color: var(--muted); }
.sum-total { color: var(--ink); padding-top: 12px; margin-top: 4px; border-top: 1px solid var(--line); font-size: 16px; align-items: baseline; }
.sum-total strong { font: 600 26px/1 var(--display); }
.form-alert { padding: 12px 14px; background: #fbeaec; color: var(--red); font-size: 14px; border-left: 2px solid var(--red); }

.account-form { max-width: 520px; margin: 0 auto; display: grid; gap: 24px; }
.account-fields { display: grid; gap: 18px; }
.account-page { max-width: 980px; display: grid; gap: 28px; }
.account-intro { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; }
.account-intro p { margin-top: 6px; }
.account-orders { clear: both; list-style: none; padding: 0; margin: 0; }
.account-order { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.account-order:last-child { border-bottom: 0; }
.account-order p { margin-top: 6px; }
.account-order > div:last-child { text-align: right; }
.order-page { padding-top: 56px; padding-bottom: 96px; display: grid; gap: 40px; }
.order-hero { display: grid; justify-items: center; gap: 12px; text-align: center; max-width: 640px; margin: 0 auto; }
.order-ico { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; border: 1px solid var(--green); color: var(--green); margin-bottom: 8px; }
.order-ico.is-bad { border-color: var(--red); color: var(--red); }
.order-hero .btn { margin-top: 12px; }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.timeline li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; font-size: 13px; color: var(--muted); }
.timeline li::before { content: ""; position: absolute; top: 7px; left: -50%; right: 50%; height: 1px; background: var(--line); }
.timeline li:first-child::before { display: none; }
.timeline li.is-done::before { background: var(--ink); }
.tl-dot { position: relative; z-index: 1; width: 15px; height: 15px; border-radius: 50%; background: var(--white); border: 1px solid var(--line); }
.timeline li.is-done { color: var(--ink); }
.timeline li.is-done .tl-dot { background: var(--ink); border-color: var(--ink); }
.timeline li.is-current .tl-dot { background: var(--gold); border-color: var(--gold); box-shadow: 0 0 0 5px rgba(227, 168, 67, 0.25); }
.order-grid { display: grid; gap: 20px; }
@media (min-width: 1000px) { .order-grid { grid-template-columns: 1.2fr 1fr; align-items: start; } }
.order-grid .btn { margin-top: 20px; }

/* Pay pages */
.pay-page { min-height: 70vh; display: grid; place-items: center; padding: 40px 16px; background: var(--paper); }
.pay-card { width: min(460px, 100%); background: var(--white); border: 1px solid var(--line); padding: 36px 30px; display: grid; gap: 12px; text-align: center; }
.pay-badge { justify-self: center; font: 600 11px/1 var(--font); letter-spacing: 0.22em; text-transform: uppercase; padding: 8px 12px; background: var(--paper); }
.pay-title { font: 600 28px/1.1 var(--display); text-transform: uppercase; }
.pay-amount { font: 600 40px/1 var(--display); margin: 8px 0; }
.pay-actions { display: grid; gap: 10px; margin-top: 12px; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer { background: var(--black); color: rgba(255, 255, 255, 0.72); }
.footer-news { display: grid; gap: 24px; padding-top: 64px; padding-bottom: 56px; }
.footer-news, .footer-bottom { background: linear-gradient(var(--line-dark), var(--line-dark)) no-repeat; background-size: calc(100% - 40px) 1px; }
.footer-news { background-position: center bottom; }
.footer-bottom { background-position: center top; }
@media (min-width: 768px) { .footer-news, .footer-bottom { background-size: calc(100% - 64px) 1px; } }
@media (min-width: 900px) { .footer-news { grid-template-columns: 1fr 1fr; align-items: center; } }
.footer-news-title { font: 600 clamp(28px, 3vw, 38px)/1 var(--display); text-transform: uppercase; color: var(--white); margin-bottom: 10px; }
.footer-news p { font-size: 15px; }
.sub-form { display: flex; gap: 0; }
.sub-form input { flex: 1; min-width: 0; height: 54px; background: transparent; border: 1px solid rgba(255, 255, 255, 0.25); border-right: 0; color: var(--white); border-radius: 0; }
.sub-form input::placeholder { color: rgba(255, 255, 255, 0.45); }
.sub-form input:focus { border-color: var(--gold); outline: none; }
.sub-form .btn { height: 54px; border-radius: 0; }
.footer-grid { display: grid; gap: 36px; padding-top: 56px; padding-bottom: 56px; grid-template-columns: 1fr 1fr; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 48px; } }
.footer-brand { grid-column: 1 / -1; display: grid; gap: 18px; align-content: start; }
@media (min-width: 900px) { .footer-brand { grid-column: auto; } }
.footer-brand .logo { color: var(--white); }
.footer-brand p { font-size: 14px; max-width: 340px; }
.social-row { display: flex; gap: 8px; }
.social-btn { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 50%; color: var(--white); transition: background-color 0.2s, color 0.2s, border-color 0.2s; }
.social-btn:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.footer-title { font: 600 12px/1 var(--font); letter-spacing: 0.22em; text-transform: uppercase; color: var(--white); margin-bottom: 20px; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; font-size: 14px; }
.footer-links a, .footer-link-btn { transition: color 0.2s; text-align: left; }
.footer-links a:hover, .footer-link-btn:hover { color: var(--gold); }
.footer-contacts li:first-child a { font-size: 17px; color: var(--white); font-weight: 600; }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 22px; padding-bottom: 28px; font-size: 12.5px; color: rgba(255, 255, 255, 0.5); }
.pay-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.pay-list li { padding: 5px 10px; border: 1px solid rgba(255, 255, 255, 0.18); font-size: 11px; font-weight: 600; letter-spacing: 0.1em; color: rgba(255, 255, 255, 0.75); }

/* Storefront layout */
.announce { background: #111; color: #fff; }
.announce-track-btn { background: #292929; color: #fff; }
.site-header { background: #fff; color: #111; border-bottom-color: #ececec; }
.site-header .logo-sub { color: #777; }
.main-nav .nav-link { color: #171717; font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: .035em; }
.main-nav .nav-link:hover, .main-nav .nav-link.is-active { color: #8b621c; }
.header-search-form { background: #f3f3f3; }

.hero-frame { min-height: 490px; height: min(60vh, 560px); }
.hero-slide::before { background: linear-gradient(90deg, rgba(8,8,8,.55), rgba(8,8,8,.52) 55%, rgba(8,8,8,.12)); }
.hero-content { text-align: center; padding-bottom: 28px; }
.hero-eyebrow { justify-content: center; color: #e6c991; }
.hero-eyebrow::before { display: none; }
.hero-title { font: 700 clamp(36px, 3.4vw, 50px)/1.05 var(--font); max-width: 740px; margin-inline: auto; letter-spacing: -.035em; }
.hero-text { max-width: 620px; margin: 14px auto 0; color: #fff; font-size: 15px; }
.hero-actions { justify-content: center; margin-top: 26px; }
.hero-actions .btn { min-width: 220px; height: 46px; border-radius: 24px; letter-spacing: .035em; }
.hero-actions .btn-gold { background: #fff; color: #111; }
.hero-actions .btn-gold:hover { background: #e9e9e9; }
.hero-actions .btn-ghost-light { background: #111; border-color: #111; color: #fff; }
.hero-actions .btn-ghost-light:hover { background: #333; }
.hero-dot.is-active::after { background: #fff; }

.home-brands { padding-top: 76px; padding-bottom: 82px; }
.home-section-head .h2 { font: 700 clamp(30px, 3vw, 42px)/1.1 var(--font); letter-spacing: -.04em; }
.home-section-head .head-rule { width: 75px; background: #111; margin-top: 18px; }
.home-brand-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; }
.home-brand-card { display: block; }
.home-brand-image { display: block; aspect-ratio: 1.12; overflow: hidden; background: #f2f2f2; border-radius: 7px; }
.home-brand-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.home-brand-card:hover img { transform: scale(1.04); }
.home-brand-name { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 2px 0; font-weight: 700; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; }
.home-categories { background: #f7f7f7; }
.home-categories .cat-circle, .home-categories .cat-circle img { border-radius: 7px; }
.home-categories .cat-circle { max-width: none; padding: 0; box-shadow: none; }
.home-categories .cat-card:hover .cat-circle { box-shadow: none; }
.home-categories .cat-name::before { background: #222; }
.ribbon { background: #151515; color: #fff; }
.trust-row { padding: 36px 0; border-top: 1px solid #ededed; border-bottom: 0; }
.trust-item .ico { color: #222; }

.site-footer { background: #f3f3f3; color: #444; }
.footer-news, .footer-bottom { background-image: linear-gradient(#d9d9d9, #d9d9d9); }
.footer-news-title { color: #111; font-family: var(--font); font-size: clamp(24px, 2.5vw, 32px); letter-spacing: -.035em; }
.sub-form input { background: #fff; border-color: #ccc; color: #111; padding: 0 16px; }
.sub-form input::placeholder { color: #777; }
.sub-form .btn { background: #111; color: #fff; }
.sub-form .btn:hover { background: #333; }
.footer-brand .logo, .footer-title { color: #111; }
.footer-brand .logo-sub { color: #777; }
.footer-contact-intro { max-width: 260px; margin-bottom: 18px; font-size: 14px; }
.footer-contacts li:first-child a { font-size: inherit; color: #111; font-weight: 600; }
.social-btn { border-color: #ccc; color: #111; }
.social-btn:hover { background: #111; border-color: #111; color: #fff; }
.footer-links a:hover, .footer-link-btn:hover { color: #8b621c; }
.footer-bottom { color: #666; }
.pay-list li { border-color: #d0d0d0; background: #fff; color: #333; }

@media (min-width: 768px) { .home-brand-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px 24px; } }
@media (max-width: 767px) {
  .hero-frame { min-height: 520px; height: 72svh; max-height: 640px; }
  .hero-slide { align-items: center; }
  .hero-slide::before { background: rgba(0,0,0,.6); }
  .hero-img { object-position: 67% center; }
  .hero-content { padding-bottom: 42px; }
  .hero-title { font-size: clamp(32px, 9vw, 46px); }
  .hero-actions .btn { min-width: 0; flex: 1 1 180px; }
  .home-brands { padding: 62px 0; }
  .trust-row { padding: 16px 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .announce-track, .ribbon-track { animation: none; }
}
