/* ==========================================================================
   AGMA HoReCa — redesign 2026
   Design system: paper & ink editorial catalogue
   Display: Fraunces · UI: Instrument Sans
   ========================================================================== */

@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url(../fonts/fraunces-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url(../fonts/fraunces-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(../fonts/instrument-sans-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(../fonts/instrument-sans-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* — surfaces — */
  --paper: #f7f3ec;
  --paper-2: #fffdf9;
  --paper-3: #efe9df;
  --stone: #e2dacd;
  --ink: #17150f;
  --ink-2: #45423a;
  --ink-3: #6f6a5e;
  --line: rgba(23, 21, 15, 0.13);
  --line-soft: rgba(23, 21, 15, 0.08);
  --line-strong: rgba(23, 21, 15, 0.26);

  /* — brand accent (from logo) — */
  --clay: #c11b2e;
  --clay-deep: #9d1425;
  --clay-tint: #f6e7e6;

  /* — functional — */
  --ok: #2f6b4a;
  --warn: #9a6413;
  --dark: #1b1a14;
  --dark-2: #23221a;

  /* — type — */
  --ff-display: 'Fraunces', 'Iowan Old Style', Georgia, serif;
  --ff-ui: 'Instrument Sans', 'Helvetica Neue', Arial, sans-serif;

  /* — geometry — */
  --r-xs: 2px;
  --r-sm: 4px;
  --r-md: 7px;
  --r-lg: 14px;
  --r-pill: 999px;

  --pad: clamp(18px, 4vw, 52px);
  --maxw: 1420px;

  --shadow-1: 0 1px 2px rgba(23, 21, 15, 0.04), 0 8px 24px -18px rgba(23, 21, 15, 0.22);
  --shadow-2: 0 18px 50px -28px rgba(23, 21, 15, 0.35), 0 2px 6px rgba(23, 21, 15, 0.05);
  --shadow-3: 0 32px 80px -40px rgba(23, 21, 15, 0.5);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");

  --z-header: 60;
  --z-mega: 70;
  --z-drawer: 90;
  --z-toast: 100;
}

/* ——— reset ——— */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--ff-ui);
  font-size: 15.5px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: var(--noise);
  opacity: 0.035;
  pointer-events: none;
  z-index: 1;
  mix-blend-mode: multiply;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
p { margin: 0; }
input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--clay); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--clay); color: #fff; }
.ic { width: 17px; height: 17px; flex: none; display: inline-block; vertical-align: -0.16em; }
.ic.tick-lg { width: 26px; height: 26px; }
.ic.ic-lg { width: 40px; height: 40px; }

/* ——— helpers ——— */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }
.wrap-tight { max-width: 1120px; }
.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: fixed; left: 16px; top: -80px; z-index: 200;
  background: var(--ink); color: var(--paper); padding: 12px 18px;
  border-radius: var(--r-sm); transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 16px; }

.eyebrow {
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  font-weight: 600; color: var(--ink-3);
}
.display { font-family: var(--ff-display); font-weight: 400; letter-spacing: -0.025em; line-height: 0.98; }
.h1 { font-family: var(--ff-display); font-size: clamp(34px, 4.6vw, 62px); line-height: 1.02; letter-spacing: -0.03em; font-weight: 400; }
.h2 { font-family: var(--ff-display); font-size: clamp(26px, 3vw, 44px); line-height: 1.05; letter-spacing: -0.025em; font-weight: 400; }
.h3 { font-family: var(--ff-display); font-size: clamp(20px, 1.8vw, 26px); line-height: 1.15; letter-spacing: -0.015em; }
.lede { font-size: clamp(16px, 1.3vw, 18.5px); line-height: 1.62; color: var(--ink-2); max-width: 62ch; }
.muted { color: var(--ink-3); }
.num { font-variant-numeric: tabular-nums; font-feature-settings: 'tnum' 1; }

.rule { height: 1px; background: var(--line); border: 0; margin: 0; }

.section { padding-block: clamp(56px, 7vw, 108px); position: relative; }
.section-head {
  display: flex; align-items: end; justify-content: space-between; gap: 24px;
  margin-bottom: clamp(26px, 3vw, 44px); flex-wrap: wrap;
}
.section-head .title-block { max-width: 46ch; }
.section-head .eyebrow { display: block; margin-bottom: 14px; }
.section-index {
  font-family: var(--ff-display); font-size: 13px; letter-spacing: 0.06em;
  color: var(--clay); display: inline-flex; align-items: center; gap: 10px;
}
.section-index::before { content: ''; width: 26px; height: 1px; background: var(--clay); display: inline-block; }

/* ——— buttons ——— */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px; border-radius: var(--r-sm);
  background: var(--clay); color: #fff;
  font-size: 13.5px; font-weight: 600; letter-spacing: 0.02em;
  border: 1px solid var(--clay);
  transition: background 0.22s var(--ease), transform 0.18s var(--ease), box-shadow 0.22s var(--ease);
  box-shadow: 0 10px 22px -16px rgba(193, 27, 46, 0.9);
  cursor: pointer;
}
.btn:hover { background: var(--clay-deep); border-color: var(--clay-deep); transform: translateY(-1px); }
.btn:active { transform: translateY(1px); }
.btn-line { background: transparent; color: var(--ink); border: 1px solid var(--line-strong); box-shadow: none; }
.btn-line:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn-ink { background: var(--ink); border-color: var(--ink); color: var(--paper); box-shadow: none; }
.btn-ink:hover { background: #000; border-color: #000; }
.btn-sm { padding: 10px 16px; font-size: 12.5px; }
.btn-wide { width: 100%; }
.btn-quiet { background: none; border-color: transparent; color: var(--ink-2); padding: 8px 0; }
.btn[disabled] { opacity: 0.45; pointer-events: none; }
.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase;
  border-bottom: 1px solid var(--line-strong); padding-bottom: 4px;
  transition: gap 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.link-arrow:hover { gap: 14px; color: var(--clay); border-color: var(--clay); }

/* ——— badges / chips ——— */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 5px 8px; border-radius: var(--r-xs);
  background: var(--clay); color: #fff;
}
.badge-soft { background: var(--paper-3); color: var(--ink-2); }
.badge-outline { background: transparent; border: 1px solid var(--line-strong); color: var(--ink-2); }
.chip {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 13px; border-radius: var(--r-pill);
  border: 1px solid var(--line); background: var(--paper-2);
  font-size: 12.5px; color: var(--ink-2);
  transition: all 0.2s var(--ease); cursor: pointer; white-space: nowrap;
}
.chip:hover { border-color: var(--line-strong); color: var(--ink); }
.chip[aria-current='true'], .chip.is-active { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.chip .count { font-size: 11px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.chip.is-active .count { color: rgba(247, 243, 236, 0.65); }

.stock { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; color: var(--ink-3); }
.stock::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--ok); }
.stock.out::before { background: var(--ink-3); }
.stock.low::before { background: var(--warn); }

/* ==========================================================================
   HEADER
   ========================================================================== */
.topbar {
  background: var(--ink); color: rgba(247, 243, 236, 0.92);
  font-size: 12.5px; letter-spacing: 0.015em;
  position: relative; z-index: var(--z-header);
}
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 40px; }
.topbar a { border-bottom: 1px solid rgba(247, 243, 236, 0.35); padding-bottom: 1px; transition: border-color 0.2s; }
.topbar a:hover { border-color: var(--paper); }
.topbar-left { display: flex; align-items: center; gap: 12px; }
.topbar-left .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--clay); box-shadow: 0 0 0 3px rgba(193, 27, 46, 0.22); }
.topbar-right { display: flex; align-items: center; gap: 22px; }
.topbar-right span { display: inline-flex; align-items: center; gap: 7px; }
.topbar-right svg { opacity: 0.75; }

.masthead {
  position: sticky; top: 0; z-index: var(--z-header);
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line-soft);
  transition: box-shadow 0.3s var(--ease), background 0.3s var(--ease);
}
.masthead.is-stuck { box-shadow: 0 14px 30px -26px rgba(23, 21, 15, 0.6); background: color-mix(in srgb, var(--paper) 96%, transparent); }
.masthead .wrap { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: clamp(14px, 2.4vw, 38px); min-height: 78px; }

.brandlock { display: inline-flex; align-items: center; gap: 12px; }
.brandlock img { height: 40px; width: auto; }
.brandlock .tag {
  font-size: 9.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-3);
  border-left: 1px solid var(--line); padding-left: 12px; line-height: 1.3;
}

.search { position: relative; max-width: 620px; width: 100%; justify-self: center; }
.search input {
  width: 100%; height: 46px; padding: 0 52px 0 18px;
  background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--r-sm);
  font-size: 14px; transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.search input::placeholder { color: var(--ink-3); }
.search input:focus { outline: none; border-color: var(--ink); background: #fff; box-shadow: 0 0 0 4px rgba(23, 21, 15, 0.05); }
.search button {
  position: absolute; right: 4px; top: 4px; bottom: 4px; width: 44px;
  display: grid; place-items: center; border-radius: var(--r-xs);
  background: var(--ink); color: var(--paper); transition: background 0.2s;
}
.search button:hover { background: var(--clay); }
.search-hint {
  position: absolute; left: 0; right: 0; top: calc(100% + 8px);
  background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--r-md);
  box-shadow: var(--shadow-2); padding: 8px; display: none; z-index: var(--z-mega);
}
.search-hint.open { display: block; }
.search-hint a { display: flex; gap: 12px; align-items: center; padding: 8px 10px; border-radius: var(--r-sm); }
.search-hint a:hover { background: var(--paper-3); }
.search-hint img { width: 36px; height: 36px; object-fit: contain; background: #fff; border-radius: var(--r-xs); }
.search-hint .sh-name { font-size: 13px; line-height: 1.3; }
.search-hint .sh-price { font-size: 12px; color: var(--ink-3); margin-left: auto; white-space: nowrap; }

.actions { display: flex; align-items: center; gap: 6px; }
.act {
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  min-width: 62px; padding: 8px 10px; border-radius: var(--r-sm);
  font-size: 10.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-2);
  transition: background 0.2s, color 0.2s; position: relative;
}
.act:hover { background: var(--paper-3); color: var(--ink); }
.act svg { width: 19px; height: 19px; }
.act .bubble {
  position: absolute; top: 2px; right: 6px; min-width: 17px; height: 17px; padding: 0 4px;
  display: grid; place-items: center; border-radius: var(--r-pill);
  background: var(--clay); color: #fff; font-size: 10.5px; font-weight: 700; letter-spacing: 0;
  font-variant-numeric: tabular-nums;
}
.burger { display: none; }

/* ——— category nav ——— */
.navwrap { position: relative; z-index: var(--z-header); }
.navbar { border-bottom: 1px solid var(--line); background: var(--paper); }
.navbar .wrap { display: flex; align-items: center; gap: 6px; min-height: 52px; overflow-x: auto; scrollbar-width: none; }
.navbar .wrap::-webkit-scrollbar { display: none; }
.nav-item {
  display: inline-flex; align-items: center; gap: 7px; white-space: nowrap;
  padding: 16px 13px; font-size: 13px; font-weight: 500; color: var(--ink-2);
  border-bottom: 2px solid transparent; transition: color 0.2s, border-color 0.2s;
}
.nav-item:hover { color: var(--ink); border-color: var(--clay); }
.nav-item.is-active { color: var(--ink); border-color: var(--clay); font-weight: 600; }
.nav-item.all { color: var(--clay); font-weight: 600; }

/* ——— mega menu ——— */
.mega {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--paper-2); border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-2);
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity 0.22s var(--ease), transform 0.28s var(--ease-out), visibility 0.22s;
  z-index: var(--z-mega);
}
.mega.open { opacity: 1; visibility: visible; transform: translateY(0); }
.mega .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px 34px; padding-block: 34px 40px; }
.mega-col { border-left: 1px solid var(--line-soft); padding-left: 20px; }
.mega-col:first-child, .mega-col:nth-child(4n + 1) { border-left: 0; padding-left: 0; }
.mega-col h4 { font-family: var(--ff-display); font-size: 17px; margin-bottom: 4px; }
.mega-col h4 a { color: var(--ink); }
.mega-col h4 a:hover { color: var(--clay); }
.mega-col .cnt { font-size: 11px; color: var(--ink-3); display: block; margin-bottom: 10px; letter-spacing: 0.04em; }
.mega-col li a {
  display: block; padding: 5px 0; font-size: 13.5px; color: var(--ink-2);
  transition: color 0.16s, transform 0.16s;
}
.mega-col li a:hover { color: var(--clay); transform: translateX(3px); }
.mega-col.is-current h4 a { color: var(--clay); }
.mega-col.is-current .cnt { color: var(--ink-2); }
.mega-foot {
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding-block: 16px; border-top: 1px solid var(--line-soft); font-size: 12.5px; color: var(--ink-3);
}

/* ——— mobile nav ——— */
.mnav {
  position: fixed; inset: 0; z-index: var(--z-drawer);
  background: var(--paper); transform: translateX(-100%);
  transition: transform 0.34s var(--ease-out); overflow-y: auto; padding-bottom: 40px;
}
.mnav.open { transform: translateX(0); }
.mnav-head { display: flex; align-items: center; justify-content: space-between; padding: 18px var(--pad); border-bottom: 1px solid var(--line); }
.mnav ul a { display: flex; justify-content: space-between; align-items: center; padding: 14px var(--pad); border-bottom: 1px solid var(--line-soft); font-size: 15px; }
.mnav ul a .cnt { font-size: 11.5px; color: var(--ink-3); }
.mnav .mnav-group > a { font-family: var(--ff-display); font-size: 16px; }
.mnav .sub { display: none; }
.mnav .sub.open { display: block; }
.mnav .sub a { padding-left: calc(var(--pad) + 16px); font-size: 13.5px; color: var(--ink-2); border-bottom-style: dotted; }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: clamp(20px, 3vw, 56px); align-items: stretch;
  padding-block: clamp(34px, 4.6vw, 68px);
}
.hero-copy { display: flex; flex-direction: column; justify-content: center; padding-block: 10px; }
.hero-copy .eyebrow { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.hero-copy .eyebrow::before { content: ''; width: 34px; height: 1px; background: var(--clay); }
.hero h1 { margin-bottom: 22px; }
.hero h1 em { font-style: italic; color: var(--clay); }
.hero .lede { max-width: 46ch; }
.hero-cta { display: flex; align-items: center; gap: 14px; margin-top: 32px; flex-wrap: wrap; }
.hero-stats {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0;
  margin-top: clamp(34px, 4vw, 54px); border-top: 1px solid var(--line); padding-top: 22px;
}
.hero-stats div { padding-right: 16px; }
.hero-stats div + div { border-left: 1px solid var(--line); padding-left: 18px; }
.hero-stats b {
  display: block; font-family: var(--ff-display); font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 400; letter-spacing: -0.02em; font-variant-numeric: tabular-nums;
}
.hero-stats span { font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }

.hero-stage { position: relative; min-height: 440px; }
.stage-main {
  position: relative; height: 100%; min-height: 440px; border-radius: var(--r-lg);
  background: linear-gradient(155deg, #fffdf9 0%, #f3ece1 52%, #e7ddcd 100%);
  border: 1px solid var(--line); overflow: hidden;
  display: grid; place-items: center; padding: 26px;
}
.stage-main::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(120% 80% at 70% 10%, rgba(255, 255, 255, 0.85), transparent 60%);
  pointer-events: none;
}
.stage-main img { max-height: 400px; width: auto; object-fit: contain; position: relative; z-index: 1; filter: drop-shadow(0 30px 40px rgba(23, 21, 15, 0.16)); }
.stage-tag {
  position: absolute; left: 20px; bottom: 20px; z-index: 2;
  background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--r-sm);
  padding: 12px 14px; box-shadow: var(--shadow-1); max-width: 230px;
}
.stage-tag .t { font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--clay); font-weight: 700; }
.stage-tag .n { font-family: var(--ff-display); font-size: 15px; line-height: 1.25; margin-top: 4px; }
.stage-tag .p { font-size: 12.5px; color: var(--ink-3); margin-top: 5px; font-variant-numeric: tabular-nums; }
.stage-thumbs {
  position: absolute; right: -14px; top: 26px; z-index: 2;
  display: flex; flex-direction: column; gap: 10px;
}
.stage-thumb {
  width: 84px; height: 84px; border-radius: var(--r-md); background: var(--paper-2);
  border: 1px solid var(--line); display: grid; place-items: center; padding: 8px;
  box-shadow: var(--shadow-1); transition: transform 0.24s var(--ease), border-color 0.24s;
}
.stage-thumb:hover { transform: translateY(-3px) scale(1.03); border-color: var(--line-strong); }
.stage-thumb img { max-height: 100%; width: auto; }

/* ——— trust strip ——— */
.trust { border-bottom: 1px solid var(--line); background: var(--paper-2); }
.trust .wrap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
.trust-item { display: flex; gap: 13px; align-items: flex-start; padding: 24px 22px; }
.trust-item + .trust-item { border-left: 1px solid var(--line-soft); }
.trust-item svg { flex: none; width: 22px; height: 22px; color: var(--clay); margin-top: 2px; }
.trust-item b { display: block; font-size: 13.5px; font-weight: 600; letter-spacing: 0.01em; }
.trust-item span { font-size: 12.5px; color: var(--ink-3); line-height: 1.45; display: block; margin-top: 2px; }

/* ——— categories bento ——— */
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.cat-card {
  position: relative; overflow: hidden; border-radius: var(--r-md);
  border: 1px solid var(--line); background: var(--paper-2);
  padding: 22px; display: flex; flex-direction: column; justify-content: space-between;
  min-height: 176px; transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s;
}
.cat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); border-color: var(--line-strong); }
.cat-card .idx { font-size: 11px; letter-spacing: 0.12em; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.cat-card h3 { font-family: var(--ff-display); font-size: clamp(19px, 1.6vw, 24px); line-height: 1.1; letter-spacing: -0.015em; margin-top: 10px; }
.cat-card .meta { font-size: 12px; color: var(--ink-3); margin-top: 8px; }
.cat-card > div:first-child { position: relative; z-index: 2; }
.cat-card .art {
  position: absolute; right: -14px; bottom: -14px; width: 132px; height: 132px;
  display: grid; place-items: center; opacity: 0.9; z-index: 1; pointer-events: none;
  transition: transform 0.4s var(--ease-out);
}
.cat-card:hover .art { transform: scale(1.07) rotate(-2deg); }
.cat-card .art img { max-height: 100%; width: auto; filter: drop-shadow(0 12px 18px rgba(23, 21, 15, 0.12)); }
.cat-card .arrow { position: relative; z-index: 2; margin-top: 16px; color: var(--ink-3); transition: color 0.2s, transform 0.2s; }
.cat-card:hover .arrow { color: var(--clay); transform: translateX(4px); }
.cat-card.feat {
  background: var(--dark); color: var(--paper); border-color: var(--dark);
  grid-column: span 2; grid-row: span 2; min-height: 366px; justify-content: flex-end;
}
.cat-card.feat h3 { font-size: clamp(26px, 2.6vw, 38px); color: var(--paper); }
.cat-card.feat .idx, .cat-card.feat .meta { color: rgba(247, 243, 236, 0.62); }
.cat-card.feat .art { width: 60%; height: 66%; right: -4%; top: -4%; bottom: auto; opacity: 1; }
.cat-card.feat::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(80% 70% at 80% 15%, rgba(193, 27, 46, 0.28), transparent 60%);
  pointer-events: none;
}

/* ——— product card ——— */
.prod-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(238px, 1fr)); gap: 14px; }
.prod {
  position: relative; display: flex; flex-direction: column;
  background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--r-md);
  overflow: hidden; transition: border-color 0.24s, box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}
.prod:hover { border-color: var(--line-strong); box-shadow: var(--shadow-2); transform: translateY(-2px); }
.prod-media {
  position: relative; aspect-ratio: 1 / 1; background: #fff; display: grid; place-items: center;
  padding: 16px; overflow: hidden; border-bottom: 1px solid var(--line-soft);
}
.prod-media img { max-height: 100%; width: auto; object-fit: contain; transition: transform 0.5s var(--ease-out); }
.prod:hover .prod-media img { transform: scale(1.055); }
.prod-flags { position: absolute; top: 10px; left: 10px; display: flex; flex-direction: column; gap: 5px; align-items: flex-start; z-index: 2; }
.prod-fav {
  position: absolute; top: 8px; right: 8px; z-index: 2; width: 32px; height: 32px;
  display: grid; place-items: center; border-radius: 50%; background: rgba(255, 253, 249, 0.92);
  border: 1px solid var(--line); color: var(--ink-3);
  transition: color 0.2s, background 0.2s, border-color 0.2s, transform 0.2s;
}
.prod-fav:hover { color: var(--clay); border-color: var(--clay); transform: scale(1.06); }
.prod-fav.on { color: #fff; background: var(--clay); border-color: var(--clay); }
.prod-body { padding: 14px 15px 16px; display: flex; flex-direction: column; gap: 7px; flex: 1; }
.prod-brand { font-size: 10.5px; letter-spacing: 0.13em; text-transform: uppercase; color: var(--ink-3); font-weight: 600; }
.prod-brand:hover { color: var(--clay); }
.prod-name {
  font-size: 13.6px; line-height: 1.34; color: var(--ink); font-weight: 500;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
  min-height: 2.6em;
}
.prod-name:hover { color: var(--clay); }
.prod-foot { margin-top: auto; display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; padding-top: 8px; }
.price { display: flex; align-items: baseline; gap: 8px; font-variant-numeric: tabular-nums; }
.price .now { font-size: 16px; font-weight: 600; letter-spacing: -0.01em; }
.price .now small { font-size: 11px; font-weight: 500; color: var(--ink-3); margin-left: 2px; }
.price .was { font-size: 12px; color: var(--ink-3); text-decoration: line-through; }
.prod-add {
  width: 36px; height: 36px; flex: none; display: grid; place-items: center;
  border-radius: var(--r-sm); background: var(--ink); color: var(--paper);
  transition: background 0.2s, transform 0.18s;
}
.prod-add:hover { background: var(--clay); transform: translateY(-1px); }
.prod-add:active { transform: translateY(1px); }
.prod-stock { position: absolute; bottom: 10px; left: 12px; z-index: 2; font-size: 10.5px; background: rgba(255, 253, 249, 0.9); padding: 3px 7px; border-radius: var(--r-xs); border: 1px solid var(--line-soft); }
.prod-row-flags { display: flex; gap: 6px; }

/* ——— horizontal rail ——— */
.rail-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.rail-nav { display: flex; gap: 8px; }
.rail-btn {
  width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%;
  border: 1px solid var(--line-strong); color: var(--ink-2); transition: all 0.2s;
}
.rail-btn:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.rail-btn[disabled] { opacity: 0.32; pointer-events: none; }
.rail { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.rail::-webkit-scrollbar { display: none; }
.rail > * { flex: 0 0 clamp(220px, 22vw, 268px); scroll-snap-align: start; }

/* ——— collections band ——— */
.band { background: var(--dark); color: var(--paper); position: relative; overflow: hidden; }
.band::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(90% 60% at 15% 0%, rgba(193, 27, 46, 0.22), transparent 55%),
              radial-gradient(70% 50% at 90% 100%, rgba(193, 27, 46, 0.14), transparent 60%);
  pointer-events: none;
}
.band .section-head .eyebrow { color: rgba(247, 243, 236, 0.6); }
.band .h2 { color: var(--paper); }
.band .lede { color: rgba(247, 243, 236, 0.72); }
.coll-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; position: relative; }
.coll {
  position: relative; overflow: hidden; border-radius: var(--r-md);
  border: 1px solid rgba(247, 243, 236, 0.16); background: rgba(247, 243, 236, 0.04);
  aspect-ratio: 4 / 3.2; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 20px; transition: transform 0.35s var(--ease), border-color 0.3s;
}
.coll:hover { transform: translateY(-4px); border-color: rgba(247, 243, 236, 0.4); }
.coll img.back { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.9; transition: transform 0.6s var(--ease-out); }
.coll:hover img.back { transform: scale(1.05); }
.coll::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20, 19, 14, 0.05) 20%, rgba(20, 19, 14, 0.82) 100%);
}
.coll .inner { position: relative; z-index: 2; }
.coll .kicker { font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(247, 243, 236, 0.75); }
.coll h3 { font-family: var(--ff-display); font-size: clamp(20px, 1.8vw, 27px); margin-top: 6px; letter-spacing: -0.015em; }
.coll .go { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(247, 243, 236, 0.85); }
.coll:hover .go { color: #fff; }

/* ——— brands strip ——— */
.brands-strip { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.brand-cell {
  background: var(--paper-2); min-height: 96px; display: grid; place-items: center; padding: 16px;
  transition: background 0.24s; position: relative;
}
.brand-cell:hover { background: #fff; }
.brand-cell b { font-family: var(--ff-display); font-size: 15.5px; letter-spacing: -0.01em; text-align: center; }
.brand-cell span { position: absolute; bottom: 7px; right: 9px; font-size: 10px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.brand-cell img { max-height: 46px; width: auto; opacity: 0.82; transition: opacity 0.2s; }
.brand-cell:hover img { opacity: 1; }

/* ——— story / editorial split ——— */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.split-media { position: relative; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 5 / 4; }
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.split-media .stamp {
  position: absolute; left: 16px; bottom: 16px; background: var(--paper-2); border: 1px solid var(--line);
  border-radius: var(--r-sm); padding: 10px 13px; font-size: 11.5px; letter-spacing: 0.05em;
  text-transform: uppercase; color: var(--ink-2); box-shadow: var(--shadow-1);
}
.num-list { counter-reset: n; display: grid; gap: 18px; margin-top: 26px; }
.num-list li { counter-increment: n; display: grid; grid-template-columns: 34px 1fr; gap: 14px; align-items: start; }
.num-list li::before {
  content: '0' counter(n); font-family: var(--ff-display); font-size: 13px; color: var(--clay);
  letter-spacing: 0.04em; padding-top: 3px;
}
.num-list b { display: block; font-size: 14.5px; font-weight: 600; }
.num-list span { font-size: 13.5px; color: var(--ink-3); line-height: 1.5; }

/* ——— newsletter ——— */
.news { border-top: 1px solid var(--line); background: var(--paper-2); }
.news .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); gap: clamp(24px, 4vw, 60px); align-items: center; padding-block: clamp(46px, 5vw, 74px); }
.news-form { display: flex; gap: 10px; flex-wrap: wrap; }
.news-form input {
  flex: 1 1 240px; height: 50px; padding: 0 16px; background: #fff;
  border: 1px solid var(--line-strong); border-radius: var(--r-sm);
}
.news-form input:focus { outline: none; border-color: var(--ink); }
.news small { display: block; margin-top: 12px; color: var(--ink-3); font-size: 12px; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.foot { background: var(--dark); color: rgba(247, 243, 236, 0.78); padding-top: clamp(44px, 5vw, 72px); }
.foot a { transition: color 0.2s; }
.foot a:hover { color: #fff; }
.foot-top { display: grid; grid-template-columns: 1.4fr repeat(3, minmax(0, 0.8fr)); gap: clamp(20px, 3vw, 48px); padding-bottom: 44px; }
.foot-brand img { height: 42px; width: auto; filter: brightness(0) invert(1); opacity: 0.92; }
.foot-brand p { margin-top: 18px; font-size: 13px; line-height: 1.6; max-width: 34ch; color: rgba(247, 243, 236, 0.6); }
.foot-contact { margin-top: 20px; display: grid; gap: 9px; font-size: 13.5px; }
.foot-contact a { display: inline-flex; align-items: center; gap: 9px; }
.foot-contact svg { width: 15px; height: 15px; opacity: 0.6; }
.foot h4 { font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(247, 243, 236, 0.5); margin-bottom: 16px; font-weight: 600; }
.foot li + li { margin-top: 9px; }
.foot li a { font-size: 13.5px; }
.foot-bottom {
  border-top: 1px solid rgba(247, 243, 236, 0.12); padding-block: 20px;
  display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  font-size: 11.5px; color: rgba(247, 243, 236, 0.5);
}
.foot-legal { display: flex; gap: 16px; flex-wrap: wrap; }
.anpc { display: flex; gap: 10px; align-items: center; }
.anpc a {
  border: 1px solid rgba(247, 243, 236, 0.24); border-radius: var(--r-xs);
  padding: 6px 10px; font-size: 10.5px; letter-spacing: 0.06em; text-transform: uppercase;
}

/* ==========================================================================
   CATALOG / CATEGORY
   ========================================================================== */
.crumb { display: flex; align-items: center; gap: 9px; font-size: 12.5px; color: var(--ink-3); padding-block: 20px; flex-wrap: wrap; }
.crumb a:hover { color: var(--clay); }
.crumb .sep { opacity: 0.5; }
.crumb [aria-current] { color: var(--ink-2); }

.page-head { padding-bottom: 26px; border-bottom: 1px solid var(--line); }
.page-head .row { display: flex; align-items: flex-end; justify-content: space-between; gap: 26px; flex-wrap: wrap; }
.page-head .h1 { max-width: 24ch; }
.page-head .lede { margin-top: 14px; }
.page-head .stat { display: flex; gap: 26px; }
.page-head .stat div b { display: block; font-family: var(--ff-display); font-size: 24px; font-variant-numeric: tabular-nums; }
.page-head .stat div span { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); }

.cat-layout { display: grid; grid-template-columns: 252px minmax(0, 1fr); gap: clamp(22px, 3vw, 44px); padding-block: 30px 70px; align-items: start; }
.filters { position: sticky; top: 96px; display: grid; gap: 22px; }
.filters-head { display: flex; align-items: center; justify-content: space-between; }
.filter-block { border-top: 1px solid var(--line); padding-top: 14px; }
.filters-head [data-close-filters], .toolbar [data-open-filters] { display: none; }
.filter-block h4, .filter-block summary {
  font-size: 11.5px; letter-spacing: 0.13em; text-transform: uppercase; color: var(--ink-2);
  font-weight: 600; margin-bottom: 12px; cursor: pointer; display: flex; justify-content: space-between; align-items: center;
}
.filter-block summary::-webkit-details-marker { display: none; }
.filter-block ul { display: grid; gap: 8px; max-height: 216px; overflow-y: auto; padding-right: 4px; }
.filter-block li { display: flex; }
.filter-opt { display: flex; align-items: center; gap: 9px; font-size: 13px; color: var(--ink-2); cursor: pointer; width: 100%; }
.filter-opt input { accent-color: var(--clay); width: 15px; height: 15px; flex: none; }
.filter-opt .n { margin-left: auto; font-size: 11.5px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.filter-opt:hover { color: var(--ink); }
.range-row { display: flex; align-items: center; gap: 10px; }
.range-row input { width: 100%; height: 38px; padding: 0 10px; border: 1px solid var(--line); border-radius: var(--r-xs); background: #fff; font-size: 13px; }

.toolbar {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  margin-bottom: 18px; flex-wrap: wrap;
}
.toolbar .count { font-size: 13px; color: var(--ink-3); }
.toolbar .count b { color: var(--ink); font-variant-numeric: tabular-nums; }
.sortsel { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--ink-3); }
.sortsel select {
  height: 40px; padding: 0 34px 0 12px; border: 1px solid var(--line-strong); border-radius: var(--r-sm);
  background: var(--paper-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236f6a5e' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 12px center;
  appearance: none; font-size: 13px; color: var(--ink); cursor: pointer;
}
.active-filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.af-chip { display: inline-flex; align-items: center; gap: 7px; background: var(--paper-3); border-radius: var(--r-pill); padding: 6px 11px; font-size: 12px; }
.af-chip button { color: var(--ink-3); font-size: 15px; line-height: 1; }
.af-chip button:hover { color: var(--clay); }
.load-more-wrap { display: grid; place-items: center; padding-top: 34px; gap: 14px; }
.load-progress { width: min(320px, 70%); height: 2px; background: var(--line); position: relative; overflow: hidden; }
.load-progress i { position: absolute; inset: 0 auto 0 0; background: var(--clay); width: 0; transition: width 0.4s var(--ease); }

.subcats { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; }
.empty-state { text-align: center; padding: 70px 20px; border: 1px dashed var(--line-strong); border-radius: var(--r-md); }
.empty-state h3 { margin-bottom: 10px; }
.empty-state p { color: var(--ink-3); max-width: 46ch; margin: 0 auto 20px; }

/* ==========================================================================
   PRODUCT PAGE
   ========================================================================== */
.pdp { display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr); gap: clamp(22px, 3.4vw, 58px); padding-block: 12px 40px; align-items: start; }
.gallery { position: sticky; top: 96px; }
.gallery-main {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
  aspect-ratio: 1 / 1; display: grid; place-items: center; padding: 34px; overflow: hidden;
}
.gallery-main img { max-height: 100%; width: auto; object-fit: contain; transition: transform 0.5s var(--ease-out); }
.gallery-main:hover img { transform: scale(1.06); }
.gallery-thumbs { display: flex; gap: 9px; margin-top: 10px; flex-wrap: wrap; }
.gallery-thumb {
  width: 70px; height: 70px; border: 1px solid var(--line); border-radius: var(--r-sm); background: #fff;
  padding: 6px; display: grid; place-items: center; transition: border-color 0.2s;
}
.gallery-thumb[aria-current='true'] { border-color: var(--ink); }
.gallery-thumb img { max-height: 100%; width: auto; }

.buy { display: flex; flex-direction: column; gap: 18px; }
.buy .top-line { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.buy .brand-link { font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--clay); font-weight: 600; }
.buy h1 { font-family: var(--ff-display); font-size: clamp(24px, 2.6vw, 36px); line-height: 1.1; letter-spacing: -0.02em; }
.buy .sku { font-size: 12px; color: var(--ink-3); letter-spacing: 0.04em; font-variant-numeric: tabular-nums; }
.price-block { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; padding-block: 4px; }
.price-block .now { font-family: var(--ff-display); font-size: clamp(28px, 3vw, 40px); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.price-block .now small { font-family: var(--ff-ui); font-size: 13px; color: var(--ink-3); margin-left: 4px; letter-spacing: 0; }
.price-block .was { font-size: 15px; color: var(--ink-3); text-decoration: line-through; font-variant-numeric: tabular-nums; }
.price-block .vat { font-size: 11.5px; color: var(--ink-3); }
.buy-attrs { display: flex; gap: 8px; flex-wrap: wrap; }
.attr-pill { background: var(--paper-3); border-radius: var(--r-xs); padding: 6px 10px; font-size: 12px; color: var(--ink-2); }
.attr-pill b { color: var(--ink); font-weight: 600; }
.buy-form { display: flex; gap: 12px; align-items: stretch; flex-wrap: wrap; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding-block: 20px; }
.qty { display: flex; align-items: center; border: 1px solid var(--line-strong); border-radius: var(--r-sm); overflow: hidden; height: 52px; }
.qty button { width: 44px; height: 100%; display: grid; place-items: center; font-size: 17px; color: var(--ink-2); transition: background 0.18s; }
.qty button:hover { background: var(--paper-3); }
.qty input { width: 54px; height: 100%; text-align: center; border: 0; background: transparent; font-size: 15px; font-variant-numeric: tabular-nums; }
.buy-form .btn { flex: 1 1 220px; height: 52px; }
.buy-meta { display: grid; gap: 11px; font-size: 13px; color: var(--ink-2); }
.buy-meta li { display: flex; gap: 10px; align-items: flex-start; }
.buy-meta svg { width: 16px; height: 16px; color: var(--clay); flex: none; margin-top: 2px; }
.buy-meta b { font-weight: 600; }

.tabs { margin-top: clamp(30px, 3.6vw, 54px); border-top: 1px solid var(--line); }
.tabs-nav { display: flex; gap: 26px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.tabs-nav::-webkit-scrollbar { display: none; }
.tabs-nav button {
  padding: 16px 2px; font-size: 13.5px; font-weight: 500; color: var(--ink-3);
  border-bottom: 2px solid transparent; white-space: nowrap; transition: color 0.2s, border-color 0.2s;
}
.tabs-nav button[aria-selected='true'] { color: var(--ink); border-color: var(--clay); }
.tab-panel { padding-top: 26px; display: none; }
.tab-panel.on { display: block; animation: fadeUp 0.4s var(--ease-out); }
.prose { max-width: 74ch; color: var(--ink-2); font-size: 15px; line-height: 1.72; }
.prose > * + * { margin-top: 1em; }
.prose h2 { font-family: var(--ff-display); font-size: 22px; color: var(--ink); letter-spacing: -0.015em; margin-top: 1.6em; }
.prose h3 { font-family: var(--ff-display); font-size: 18px; color: var(--ink); margin-top: 1.5em; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose a { color: var(--clay); border-bottom: 1px solid currentColor; }
.prose ul, .prose ol { padding-left: 20px; }
.prose ul { list-style: none; }
.prose ul li { position: relative; padding-left: 18px; }
.prose ul li::before { content: ''; position: absolute; left: 2px; top: 0.72em; width: 5px; height: 5px; background: var(--clay); border-radius: 50%; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: 0.5em; }
.prose img { border-radius: var(--r-sm); }
.prose table { width: 100%; border-collapse: collapse; font-size: 14px; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line-soft); }
.prose th { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); }

.spec-table { width: 100%; border-collapse: collapse; font-size: 14px; max-width: 720px; }
.spec-table tr { border-bottom: 1px solid var(--line-soft); }
.spec-table tr:first-child { border-top: 1px solid var(--line); }
.spec-table th {
  text-align: left; padding: 13px 16px 13px 0; width: 44%; font-weight: 500;
  color: var(--ink-3); font-size: 12.5px; letter-spacing: 0.02em;
}
.spec-table td { padding: 13px 0; color: var(--ink); font-weight: 500; }
.feature-list { display: grid; gap: 10px; max-width: 720px; }
.feature-list li { display: flex; gap: 11px; font-size: 14px; color: var(--ink-2); align-items: flex-start; }
.feature-list svg { width: 16px; height: 16px; color: var(--ok); flex: none; margin-top: 3px; }

/* ==========================================================================
   CART / CHECKOUT / ACCOUNT
   ========================================================================== */
.cart-layout { display: grid; grid-template-columns: minmax(0, 1fr) 372px; gap: clamp(22px, 3vw, 46px); padding-block: 30px 70px; align-items: start; }
.cart-lines { border-top: 1px solid var(--line); }
.cart-line {
  display: grid; grid-template-columns: 92px minmax(0, 1fr) auto; gap: 16px;
  padding: 20px 0; border-bottom: 1px solid var(--line); align-items: center;
}
.cart-line .thumb { width: 92px; height: 92px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-sm); display: grid; place-items: center; padding: 8px; }
.cart-line .thumb img { max-height: 100%; width: auto; }
.cart-line .nm { font-size: 14px; font-weight: 500; line-height: 1.35; }
.cart-line .nm:hover { color: var(--clay); }
.cart-line .sub { font-size: 11.5px; color: var(--ink-3); margin-top: 4px; letter-spacing: 0.05em; text-transform: uppercase; }
.cart-line .row2 { display: flex; align-items: center; gap: 14px; margin-top: 12px; flex-wrap: wrap; }
.cart-line .qty { height: 40px; }
.cart-line .qty button { width: 36px; }
.cart-line .qty input { width: 44px; font-size: 14px; }
.cart-line .rm { font-size: 12px; color: var(--ink-3); border-bottom: 1px solid var(--line); }
.cart-line .rm:hover { color: var(--clay); border-color: var(--clay); }
.cart-line .tot { font-variant-numeric: tabular-nums; font-size: 15px; font-weight: 600; white-space: nowrap; }
.cart-line .unit { font-size: 11.5px; color: var(--ink-3); font-variant-numeric: tabular-nums; text-align: right; margin-top: 3px; }

.summary { position: sticky; top: 96px; background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--r-md); padding: 24px; }
.summary h3 { font-family: var(--ff-display); font-size: 20px; margin-bottom: 18px; }
.sum-row { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; padding-block: 9px; }
.sum-row span:last-child { font-variant-numeric: tabular-nums; }
.sum-row.total { border-top: 1px solid var(--line); margin-top: 10px; padding-top: 16px; font-size: 18px; font-weight: 600; }
.sum-row.total span:last-child { font-family: var(--ff-display); font-size: 24px; }
.sum-note { font-size: 12px; color: var(--ink-3); margin-top: 14px; line-height: 1.5; }
.ship-bar { margin: 14px 0 4px; }
.ship-bar .track { height: 4px; background: var(--paper-3); border-radius: var(--r-pill); overflow: hidden; }
.ship-bar .fill { height: 100%; background: var(--ok); border-radius: var(--r-pill); transition: width 0.5s var(--ease-out); }
.ship-bar p { font-size: 12px; color: var(--ink-3); margin-top: 8px; }

.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 11.5px; letter-spacing: 0.09em; text-transform: uppercase; color: var(--ink-3); font-weight: 600; }
.field input, .field select, .field textarea {
  height: 48px; padding: 0 14px; background: #fff; border: 1px solid var(--line-strong);
  border-radius: var(--r-sm); font-size: 14px; transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { height: auto; padding: 12px 14px; min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(23, 21, 15, 0.05); }
.field.has-error input, .field.has-error select { border-color: var(--clay); background: #fffafa; }
.field .err { font-size: 11.5px; color: var(--clay); }
.radio-cards { display: grid; gap: 10px; }
.radio-card {
  display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border: 1px solid var(--line);
  border-radius: var(--r-sm); background: #fff; cursor: pointer; transition: border-color 0.2s, background 0.2s;
}
.radio-card:hover { border-color: var(--line-strong); }
.radio-card input { accent-color: var(--clay); margin-top: 3px; }
.radio-card b { font-size: 14px; display: block; }
.radio-card span { font-size: 12.5px; color: var(--ink-3); }
.radio-card:has(input:checked) { border-color: var(--ink); background: var(--paper-2); }
.form-section { border-top: 1px solid var(--line); padding-top: 24px; margin-top: 26px; }
.form-section:first-of-type { border-top: 0; margin-top: 0; padding-top: 0; }
.form-section h3 { font-family: var(--ff-display); font-size: 20px; margin-bottom: 4px; }
.form-section .hint { font-size: 12.5px; color: var(--ink-3); margin-bottom: 18px; }

.order-done { max-width: 720px; margin-inline: auto; text-align: center; padding-block: clamp(40px, 6vw, 90px); }
.order-done .tick {
  width: 64px; height: 64px; border-radius: 50%; background: var(--ok); color: #fff;
  display: grid; place-items: center; margin: 0 auto 26px;
}
.order-done h1 { font-family: var(--ff-display); font-size: clamp(28px, 3vw, 40px); letter-spacing: -0.02em; margin-bottom: 14px; }
.order-card { text-align: left; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--paper-2); padding: 24px; margin-top: 30px; }
.order-card h3 { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 14px; }
.order-lines { display: grid; gap: 10px; font-size: 13.5px; }
.order-lines li { display: flex; justify-content: space-between; gap: 14px; }
.order-lines .q { color: var(--ink-3); font-variant-numeric: tabular-nums; }

.acct-layout { display: grid; grid-template-columns: 232px minmax(0, 1fr); gap: 34px; padding-block: 26px 70px; align-items: start; }
.acct-nav { display: grid; gap: 2px; position: sticky; top: 96px; }
.acct-nav a { padding: 11px 14px; border-radius: var(--r-sm); font-size: 13.5px; color: var(--ink-2); }
.acct-nav a:hover { background: var(--paper-3); }
.acct-nav a.on { background: var(--ink); color: var(--paper); }
.order-row { border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; background: var(--paper-2); }
.order-row + .order-row { margin-top: 12px; }
.order-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 18px; cursor: pointer; flex-wrap: wrap; }
.order-head b { font-size: 14px; font-variant-numeric: tabular-nums; }
.order-head .st { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; background: var(--paper-3); padding: 4px 9px; border-radius: var(--r-xs); }
.order-body { padding: 0 18px 18px; border-top: 1px solid var(--line-soft); font-size: 13.5px; color: var(--ink-2); }

/* ==========================================================================
   CART DRAWER + TOAST
   ========================================================================== */
.scrim {
  position: fixed; inset: 0; background: rgba(23, 21, 15, 0.42);
  opacity: 0; visibility: hidden; transition: opacity 0.3s var(--ease), visibility 0.3s;
  z-index: calc(var(--z-drawer) - 1); backdrop-filter: blur(2px);
}
.scrim.on { opacity: 1; visibility: visible; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(440px, 100vw);
  background: var(--paper); z-index: var(--z-drawer);
  transform: translateX(100%); transition: transform 0.4s var(--ease-out);
  display: flex; flex-direction: column; box-shadow: var(--shadow-3);
}
.drawer.open { transform: translateX(0); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 20px 22px; border-bottom: 1px solid var(--line); }
.drawer-head h3 { font-family: var(--ff-display); font-size: 20px; }
.drawer-head .x { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); }
.drawer-head .x:hover { background: var(--paper-3); }
.drawer-body { flex: 1; overflow-y: auto; padding: 6px 22px; }
.drawer-foot { border-top: 1px solid var(--line); padding: 18px 22px 22px; background: var(--paper-2); }
.dl { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line-soft); align-items: center; }
.dl .thumb { width: 64px; height: 64px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-xs); display: grid; place-items: center; padding: 5px; }
.dl .thumb img { max-height: 100%; width: auto; }
.dl .nm { font-size: 12.8px; line-height: 1.3; font-weight: 500; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.dl .meta { font-size: 11.5px; color: var(--ink-3); margin-top: 3px; font-variant-numeric: tabular-nums; }
.dl .rm { font-size: 11px; color: var(--ink-3); margin-top: 6px; border-bottom: 1px solid var(--line); }
.dl .rm:hover { color: var(--clay); }
.drawer-empty { text-align: center; padding: 60px 10px; color: var(--ink-3); }
.drawer-empty svg { width: 40px; height: 40px; margin: 0 auto 16px; opacity: 0.35; }

.toast-stack { position: fixed; right: 18px; bottom: 18px; z-index: var(--z-toast); display: grid; gap: 10px; }
.toast {
  background: var(--ink); color: var(--paper); padding: 13px 16px; border-radius: var(--r-sm);
  font-size: 13px; box-shadow: var(--shadow-2); display: flex; align-items: center; gap: 12px;
  animation: toastIn 0.34s var(--ease-out); max-width: 330px;
}
.toast.leaving { animation: toastOut 0.26s var(--ease) forwards; }
.toast svg { width: 16px; height: 16px; color: #7ec89b; flex: none; }
.toast a { border-bottom: 1px solid rgba(247, 243, 236, 0.5); margin-left: auto; font-size: 12px; white-space: nowrap; }

/* ==========================================================================
   MISC PAGES
   ========================================================================== */
.page-hero { border-bottom: 1px solid var(--line); padding-block: clamp(38px, 5vw, 74px); background: var(--paper-2); }
.page-hero .eyebrow { display: block; margin-bottom: 16px; }
.page-hero .lede { margin-top: 18px; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(24px, 4vw, 56px); padding-block: 40px 70px; align-items: start; }
.contact-card { border: 1px solid var(--line); border-radius: var(--r-md); background: var(--paper-2); padding: 26px; }
.contact-list { display: grid; gap: 16px; margin-top: 6px; }
.contact-list li { display: grid; grid-template-columns: 20px 1fr; gap: 12px; font-size: 13.5px; align-items: start; }
.contact-list svg { width: 17px; height: 17px; color: var(--clay); margin-top: 2px; }
.contact-list b { display: block; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 2px; }
.map-frame { border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; min-height: 260px; background: var(--paper-3); }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { display: flex; justify-content: space-between; gap: 18px; padding: 20px 0; cursor: pointer; font-size: 15.5px; font-weight: 500; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .ic { flex: none; width: 22px; height: 22px; display: grid; place-items: center; border: 1px solid var(--line-strong); border-radius: 50%; transition: transform 0.24s, background 0.2s; }
.faq-item[open] summary .ic { transform: rotate(45deg); background: var(--ink); color: var(--paper); border-color: var(--ink); }
.faq-item .ans { padding: 0 0 22px; color: var(--ink-2); max-width: 78ch; font-size: 14.5px; line-height: 1.7; }
.err-page { text-align: center; padding-block: clamp(60px, 10vw, 140px); }
.err-page .code { font-family: var(--ff-display); font-size: clamp(90px, 16vw, 190px); line-height: 0.9; letter-spacing: -0.05em; color: var(--paper-3); -webkit-text-stroke: 1px var(--line-strong); }
.err-page h1 { margin: 10px 0 14px; }
.err-page p { color: var(--ink-3); max-width: 44ch; margin: 0 auto 28px; }

/* ——— search page ——— */
.search-hero { padding-block: clamp(30px, 4vw, 56px); border-bottom: 1px solid var(--line); }
.search-big { display: flex; gap: 12px; max-width: 720px; margin-top: 22px; }
.search-big input { flex: 1; height: 54px; padding: 0 18px; border: 1px solid var(--line-strong); border-radius: var(--r-sm); background: #fff; font-size: 15px; }
.search-big input:focus { outline: none; border-color: var(--ink); }

/* ==========================================================================
   ANIMATION
   ========================================================================== */
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes toastIn { from { opacity: 0; transform: translateY(14px) scale(0.98); } to { opacity: 1; transform: none; } }
@keyframes toastOut { to { opacity: 0; transform: translateY(8px); } }
[data-rise] { opacity: 0; transform: translateY(16px); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); }
[data-rise].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
  [data-rise] { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1180px) {
  .mega .wrap { grid-template-columns: repeat(3, 1fr); }
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-stage { min-height: 380px; order: -1; }
  .stage-main { min-height: 380px; }
  .stage-main img { max-height: 300px; }
  .cat-layout { grid-template-columns: 216px minmax(0, 1fr); }
  .foot-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 980px) {
  .masthead .wrap { grid-template-columns: auto 1fr auto; min-height: 68px; }
  .search { display: none; }
  .brandlock .tag { display: none; }
  .pdp { grid-template-columns: minmax(0, 1fr); }
  .gallery { position: static; }
  .cart-layout { grid-template-columns: minmax(0, 1fr); }
  .summary { position: static; }
  .split { grid-template-columns: minmax(0, 1fr); }
  .coll-grid { grid-template-columns: minmax(0, 1fr); }
  .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .acct-layout { grid-template-columns: minmax(0, 1fr); }
  .acct-nav { position: static; display: flex; overflow-x: auto; }
  .trust .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust-item:nth-child(3) { border-left: 0; }
  .trust-item:nth-child(n + 3) { border-top: 1px solid var(--line-soft); }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cat-card.feat { grid-column: span 2; grid-row: span 1; min-height: 260px; }
  .news .wrap { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  body { font-size: 15px; }
  .navbar { display: none; }
  .burger { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: var(--r-sm); border: 1px solid var(--line); }
  .act span { display: none; }
  .act { min-width: 44px; }
  .topbar-right span:nth-child(2) { display: none; }
  .cat-layout { grid-template-columns: minmax(0, 1fr); }
  .filters { position: fixed; inset: 0; z-index: var(--z-drawer); background: var(--paper); padding: 20px var(--pad) 100px; overflow-y: auto; display: none; }
  .filters.open { display: block; }
  .filters-head { position: sticky; top: 0; background: var(--paper); padding-block: 12px; z-index: 3; }
  .filters-head [data-close-filters], .toolbar [data-open-filters] { display: inline-flex; }
  .filters-actions { display: flex; gap: 10px; margin-top: 18px; }
  .prod-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .prod-body { padding: 11px 11px 13px; }
  .prod-name { font-size: 12.5px; }
  .price .now { font-size: 14.5px; }
  .prod-add { width: 32px; height: 32px; }
  .hero-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .stage-thumbs { display: none; }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .cart-line { grid-template-columns: 72px minmax(0, 1fr); }
  .cart-line .thumb { width: 72px; height: 72px; }
  .cart-line .tot { grid-column: 2; text-align: left; }
  .section { padding-block: 46px; }
  .foot-top { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .bento { grid-template-columns: minmax(0, 1fr); }
  .cat-card.feat { grid-column: span 1; }
  .bento { gap: 10px; }
}
@media (max-width: 420px) {
  .prod-grid { grid-template-columns: minmax(0, 1fr); }
}
