/* ================================================================
   Ox Gallery — raw / aged gallery design system
   ================================================================ */

:root {
  --ink: #15120e;
  --ink-2: #1e1a15;
  --ink-3: #2a251e;
  --paper: #f3ede2;
  --paper-2: #e8dfcf;
  --paper-3: #dbd0bb;
  --brass: #b08b4f;
  --brass-lt: #d7ba8b;
  --brass-dk: #7d6134;
  --rust: #a34328;
  --sage: #6b7259;
  --on-dark: #ece4d5;
  --on-dark-mute: #a99c85;
  --on-light: #211c15;
  --on-light-mute: #6d6355;
  --line-dark: rgba(176, 139, 79, 0.28);
  --line-light: rgba(33, 28, 21, 0.16);
  --shadow: 0 18px 50px -22px rgba(0, 0, 0, 0.55);
  --radius: 2px;
  --wrap: 1240px;
  --gut: clamp(16px, 4vw, 44px);
  --serif: 'Cormorant Garamond', 'Trirong', Georgia, serif;
  --sans: 'IBM Plex Sans Thai', 'Helvetica Neue', system-ui, -apple-system, sans-serif;
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E");
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
/* keep [hidden] authoritative — several components set display explicitly */
[hidden] { display: none !important; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--on-dark);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.72;
  font-weight: 300;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: var(--grain);
  opacity: 0.35;
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: overlay;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.16;
  margin: 0 0 0.5em;
  letter-spacing: 0.005em;
}
h1 { font-size: clamp(2rem, 6vw, 3.9rem); }
h2 { font-size: clamp(1.6rem, 4.4vw, 2.85rem); }
h3 { font-size: clamp(1.15rem, 2.6vw, 1.5rem); }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.center { text-align: center; }
.hide { display: none !important; }
.sr {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }

.eyebrow {
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--brass);
  margin: 0 0 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.eyebrow::after { content: ''; flex: 1; height: 1px; background: var(--line-dark); }
.eyebrow.solo::after { display: none; }
.center .eyebrow { justify-content: center; }
.center .eyebrow::after { display: none; }

/* ---------- buttons ---------- */
.btn {
  --bg: transparent;
  --fg: var(--on-dark);
  --bd: var(--brass);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 0.7rem 1.6rem;
  background: var(--bg);
  color: var(--fg);
  border: 1px solid var(--bd);
  border-radius: var(--radius);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.15s;
  text-align: center;
}
.btn:hover { background: var(--brass); color: #100d09; border-color: var(--brass); }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: 0.42; cursor: not-allowed; }
.btn[disabled]:hover { background: var(--bg); color: var(--fg); border-color: var(--bd); }
.btn-primary { --bg: var(--brass); --fg: #100d09; --bd: var(--brass); font-weight: 600; }
.btn-primary:hover { --bg: var(--brass-lt); border-color: var(--brass-lt); color: #100d09; }
.btn-solid { --bg: var(--ink); --fg: var(--paper); --bd: var(--ink); }
.btn-solid:hover { background: var(--ink-3); color: var(--paper); border-color: var(--ink-3); }
.btn-sm { min-height: 38px; padding: 0.35rem 0.95rem; font-size: 0.7rem; letter-spacing: 0.1em; }
.btn-block { width: 100%; }
.btn-lg { min-height: 56px; padding: 0.9rem 2.2rem; font-size: 0.86rem; }

.on-light .btn, .section.light .btn { --fg: var(--on-light); --bd: rgba(33, 28, 21, 0.42); }
.on-light .btn:hover, .section.light .btn:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.on-light .btn-primary, .section.light .btn-primary { --bg: var(--ink); --fg: var(--paper); --bd: var(--ink); }
.on-light .btn-primary:hover, .section.light .btn-primary:hover { --bg: var(--brass-dk); border-color: var(--brass-dk); color: #fff; }

/* ---------- header ---------- */
.announce {
  background: var(--ink-2);
  border-bottom: 1px solid var(--line-dark);
  color: var(--on-dark-mute);
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  padding: 0.5rem 0;
  overflow: hidden;
}
.announce .wrap { display: flex; justify-content: center; }
.announce span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.site-head {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(21, 18, 14, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-dark);
}
/* the bar is full-bleed, so it may run wider than the content container */
.site-head > .wrap { max-width: 1560px; }
.head-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.4rem;
  min-height: 74px;
}
.brand { display: flex; align-items: baseline; gap: 0.55rem; flex-shrink: 0; min-height: 44px; align-items: center; }
.brand-mark {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3.4vw, 1.95rem);
  font-weight: 600;
  letter-spacing: 0.05em;
  line-height: 1;
  color: var(--paper);
}
.brand-mark em { font-style: normal; color: var(--brass); }
.brand-logo { height: 40px; width: auto; max-width: min(230px, 46vw); object-fit: contain; }
.foot-about .brand-logo { max-width: min(260px, 60vw); }
.mnav-head .brand-logo { max-width: 190px; }
.brand-sub {
  font-size: 0.56rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--on-dark-mute);
  white-space: nowrap;
}

.nav { display: flex; align-items: center; gap: clamp(0.9rem, 2vw, 1.9rem); }
.nav a {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--on-dark-mute);
  padding: 0.35rem 0;
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
  white-space: nowrap;
}
.nav a:hover, .nav a.active { color: var(--paper); border-color: var(--brass); }

.head-actions { display: flex; align-items: center; gap: 0.4rem; }
.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  background: none;
  border: 1px solid transparent;
  border-radius: var(--radius);
  color: var(--on-dark);
  cursor: pointer;
  position: relative;
  transition: border-color 0.2s, color 0.2s;
}
.icon-btn:hover { border-color: var(--line-dark); color: var(--brass-lt); }
.icon-btn svg { width: 21px; height: 21px; }
.cart-count {
  position: absolute;
  top: 5px;
  right: 3px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 9px;
  background: var(--brass);
  color: #100d09;
  font-size: 0.65rem;
  font-weight: 600;
  line-height: 18px;
  text-align: center;
  font-family: var(--sans);
}
.cart-count[hidden] { display: none; }
.menu-btn { display: none; }

/* mobile drawer nav */
.mnav {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(10, 8, 6, 0.72);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s, visibility 0.28s;
}
.mnav.open { opacity: 1; visibility: visible; }
.mnav-panel {
  position: absolute;
  inset: 0 0 0 auto;
  width: min(86vw, 340px);
  background: var(--ink-2);
  border-left: 1px solid var(--line-dark);
  padding: 1.2rem var(--gut) 2rem;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}
.mnav.open .mnav-panel { transform: none; }
.mnav-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.6rem; }
.mnav a {
  display: block;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line-dark);
  font-size: 0.94rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--on-dark);
}
.mnav a:hover { color: var(--brass-lt); }
.mnav-foot { margin-top: auto; padding-top: 2rem; font-size: 0.82rem; color: var(--on-dark-mute); }

/* ---------- hero ---------- */
.hero { position: relative; background: var(--ink); overflow: hidden; }
.hero-track { position: relative; min-height: clamp(480px, 78vh, 760px); }
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.9s ease;
}
.hero-slide.on { opacity: 1; visibility: visible; }
.hero-media { position: absolute; inset: 0; }
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  filter: saturate(0.92) contrast(1.04);
}
.hero-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(15, 12, 9, 0.94) 0%, rgba(15, 12, 9, 0.72) 42%, rgba(15, 12, 9, 0.18) 78%),
    linear-gradient(0deg, rgba(15, 12, 9, 0.85) 0%, rgba(15, 12, 9, 0) 55%);
}
.hero-body {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  padding-block: clamp(3.5rem, 9vw, 6rem);
}
.hero-inner { max-width: 620px; }
.hero h1 { margin-bottom: 0.35em; text-wrap: balance; }
.hero h1 .thin { display: block; font-style: italic; font-weight: 300; color: var(--brass-lt); }
.hero p {
  font-size: clamp(0.95rem, 1.6vw, 1.1rem);
  color: var(--on-dark-mute);
  max-width: 48ch;
  margin-bottom: 2rem;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.8rem; }

.hero-nav {
  position: absolute;
  left: 0; right: 0;
  bottom: clamp(1.2rem, 3vw, 2.4rem);
  z-index: 3;
}
.hero-nav .wrap { display: flex; align-items: center; gap: 1rem; }
.hero-dots { display: flex; gap: 0.5rem; }
.hero-dots button {
  width: 34px; height: 3px; padding: 0;
  border: 0; border-radius: 0;
  background: rgba(236, 228, 213, 0.28);
  cursor: pointer;
  transition: background 0.3s;
}
.hero-dots button.on { background: var(--brass); }
.hero-arrows { margin-left: auto; display: flex; gap: 0.4rem; }
.hero-arrows button {
  width: 44px; height: 44px;
  background: rgba(21, 18, 14, 0.5);
  border: 1px solid var(--line-dark);
  color: var(--on-dark);
  cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background 0.2s, color 0.2s;
}
.hero-arrows button:hover { background: var(--brass); color: #100d09; }

/* ---------- sections ---------- */
.section { padding-block: clamp(3.2rem, 8vw, 6.5rem); }
.section.light { background: var(--paper); color: var(--on-light); }
.section.light .eyebrow { color: var(--brass-dk); }
.section.light .eyebrow::after { background: var(--line-light); }
.section.tight { padding-block: clamp(2.2rem, 5vw, 3.6rem); }
.sec-head { margin-bottom: clamp(1.8rem, 4vw, 3rem); max-width: 720px; }
.sec-head.center { margin-inline: auto; }
.sec-head p { color: var(--on-dark-mute); margin: 0; }
.section.light .sec-head p { color: var(--on-light-mute); }
.sec-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }

/* ---------- category strip ---------- */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(190px, 100%), 1fr));
  gap: clamp(0.75rem, 1.6vw, 1.2rem);
}
.cat-card {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border: 1px solid var(--line-dark);
  background: var(--ink-2);
}
.cat-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.5s;
  filter: saturate(0.85) brightness(0.82);
}
.cat-card:hover img { transform: scale(1.07); filter: saturate(1) brightness(0.95); }
.cat-card::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(15, 12, 9, 0.92) 8%, rgba(15, 12, 9, 0.1) 62%);
}
.cat-label {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 2;
  padding: 1.1rem;
}
.cat-label strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.22rem;
  font-weight: 600;
  color: var(--paper);
  line-height: 1.25;
}
.cat-label span { font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--brass-lt); }

/* ---------- product grid ---------- */
.prod-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(250px, 100%), 1fr));
  gap: clamp(1.1rem, 2.4vw, 2rem) clamp(0.8rem, 1.8vw, 1.6rem);
}
.prod-grid.cols-4 { grid-template-columns: repeat(auto-fill, minmax(min(230px, 100%), 1fr)); }

.prod-card { position: relative; display: flex; flex-direction: column; }
.prod-media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--ink-2);
  border: 1px solid var(--line-dark);
}
.section.light .prod-media { background: var(--paper-2); border-color: var(--line-light); }
.prod-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.85s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.45s;
}
.prod-media img.alt { position: absolute; inset: 0; opacity: 0; }
.prod-card:hover .prod-media img.main { opacity: 0; }
.prod-card:hover .prod-media img.alt { opacity: 1; }
.prod-card:hover .prod-media img { transform: scale(1.05); }

.tagline-row { position: absolute; top: 0.7rem; left: 0.7rem; display: flex; flex-direction: column; gap: 0.35rem; z-index: 2; }
.tag {
  display: inline-block;
  padding: 0.24rem 0.6rem;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: var(--brass);
  color: #100d09;
}
.tag.rust { background: var(--rust); color: #fff; }
.tag.ghost { background: rgba(15, 12, 9, 0.78); color: var(--on-dark); border: 1px solid var(--line-dark); }

.quick-add {
  position: absolute;
  left: 0.7rem; right: 0.7rem; bottom: 0.7rem;
  z-index: 2;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.28s, transform 0.28s;
}
.prod-card:hover .quick-add, .prod-card:focus-within .quick-add { opacity: 1; transform: none; }
.quick-add .btn { background: rgba(243, 237, 226, 0.95); color: #100d09; border-color: transparent; backdrop-filter: blur(6px); }
.quick-add .btn:hover { background: var(--brass); }

.prod-info { padding-top: 0.9rem; display: flex; flex-direction: column; gap: 0.18rem; }
.prod-cat { font-size: 0.64rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--brass); }
.section.light .prod-cat { color: var(--brass-dk); }
.prod-name {
  font-family: var(--serif);
  font-size: 1.12rem;
  font-weight: 600;
  line-height: 1.3;
  margin: 0;
}
.prod-price { display: flex; align-items: baseline; gap: 0.55rem; margin-top: 0.15rem; }
.prod-price b { font-family: var(--sans); font-size: 0.98rem; font-weight: 500; letter-spacing: 0.02em; }
.prod-price s { font-size: 0.82rem; color: var(--on-dark-mute); text-decoration-thickness: 1px; }
.section.light .prod-price s { color: var(--on-light-mute); }

/* ---------- story ---------- */
.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  gap: clamp(1.6rem, 5vw, 4.5rem);
  align-items: center;
}
.split-media { position: relative; }
.split-media img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border: 1px solid var(--line-dark); }
.split-media::after {
  content: '';
  position: absolute;
  inset: 14px -14px -14px 14px;
  border: 1px solid var(--brass);
  opacity: 0.4;
  z-index: -1;
}
.split-body p { color: var(--on-dark-mute); }
.section.light .split-body p { color: var(--on-light-mute); }
.split-body blockquote {
  margin: 1.6rem 0;
  padding-left: 1.3rem;
  border-left: 2px solid var(--brass);
  font-family: var(--serif);
  font-size: clamp(1.1rem, 2.2vw, 1.4rem);
  font-style: italic;
  line-height: 1.5;
  color: var(--paper);
}
.section.light .split-body blockquote { color: var(--on-light); }

.feature-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
  gap: clamp(1rem, 2.5vw, 2.2rem);
  margin-top: 2.2rem;
}
.feature { border-top: 1px solid var(--line-dark); padding-top: 1rem; }
.section.light .feature { border-color: var(--line-light); }
.feature strong { display: block; font-family: var(--serif); font-size: 1.1rem; margin-bottom: 0.2rem; }
.feature span { font-size: 0.85rem; color: var(--on-dark-mute); line-height: 1.6; display: block; }
.section.light .feature span { color: var(--on-light-mute); }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: clamp(1.4rem, 3vw, 3rem); }
.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-list li { display: flex; gap: 0.9rem; padding: 0.85rem 0; border-bottom: 1px solid var(--line-dark); align-items: flex-start; }
.section.light .contact-list li { border-color: var(--line-light); }
.contact-list svg { width: 19px; height: 19px; flex-shrink: 0; margin-top: 0.28rem; color: var(--brass); }
.contact-list b { display: block; font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--on-dark-mute); font-weight: 500; }
.section.light .contact-list b { color: var(--on-light-mute); }
.contact-list a, .contact-list span.v { font-size: 1rem; word-break: break-word; }
/* Google blocks iframing its maps (x-frame-options), so this is a designed card
   that deep-links to the shop's real Google Maps pin instead. */
.map-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.4rem;
  min-height: 260px;
  padding: clamp(1.2rem, 3vw, 1.9rem);
  border: 1px solid var(--line-light);
  background:
    radial-gradient(circle at 30% 35%, rgba(176, 139, 79, 0.18), transparent 55%),
    linear-gradient(150deg, #e3d9c6 0%, #d6c9b1 55%, #c9bba0 100%);
  color: var(--on-light);
  overflow: hidden;
}
.map-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(33, 28, 21, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(33, 28, 21, 0.09) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: radial-gradient(circle at 32% 38%, #000 12%, transparent 72%);
  -webkit-mask-image: radial-gradient(circle at 32% 38%, #000 12%, transparent 72%);
}
.map-card .pin {
  position: absolute;
  top: 30%;
  left: 30%;
  width: 42px;
  height: 42px;
  transform: translate(-50%, -50%);
  color: var(--rust);
  filter: drop-shadow(0 6px 10px rgba(33, 28, 21, 0.28));
}
.map-card .pin svg { width: 100%; height: 100%; }
.map-card .pin::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -12px;
  width: 34px;
  height: 10px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: rgba(33, 28, 21, 0.16);
}
.map-card b { position: relative; font-family: var(--serif); font-size: 1.28rem; font-weight: 600; }
.map-card span { position: relative; font-size: 0.88rem; color: var(--on-light-mute); }
.map-card .btn { position: relative; align-self: flex-start; margin-top: 0.7rem; }

/* ---------- footer ---------- */
.site-foot { background: var(--ink-2); border-top: 1px solid var(--line-dark); padding-block: clamp(2.4rem, 5vw, 4rem) 1.6rem; }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(auto-fit, minmax(min(150px, 100%), 1fr)); gap: clamp(1.6rem, 4vw, 3rem); }
.foot-col h4 { font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--brass); font-family: var(--sans); font-weight: 500; margin-bottom: 1rem; }
.foot-col ul { list-style: none; margin: 0; padding: 0; }
.foot-col li { margin-bottom: 0.55rem; }
.foot-col a, .foot-col li { font-size: 0.88rem; color: var(--on-dark-mute); }
.foot-col a:hover { color: var(--brass-lt); }
.foot-about p { font-size: 0.88rem; color: var(--on-dark-mute); max-width: 38ch; }
.socials { display: flex; gap: 0.5rem; margin-top: 1.1rem; }
.socials a {
  width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line-dark);
  color: var(--on-dark-mute);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.socials a:hover { background: var(--brass); border-color: var(--brass); color: #100d09; }
.socials svg { width: 18px; height: 18px; }
.foot-bottom {
  margin-top: clamp(1.8rem, 4vw, 3rem);
  padding-top: 1.3rem;
  border-top: 1px solid var(--line-dark);
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.5rem;
  justify-content: space-between;
  font-size: 0.76rem;
  color: var(--on-dark-mute);
}

/* ---------- breadcrumb / page head ---------- */
.page-head { padding-block: clamp(2rem, 5vw, 3.4rem) clamp(1.2rem, 3vw, 2rem); border-bottom: 1px solid var(--line-dark); }
.crumbs { font-size: 0.74rem; letter-spacing: 0.1em; color: var(--on-dark-mute); margin-bottom: 0.9rem; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.crumbs a:hover { color: var(--brass-lt); }
.page-head h1 { margin-bottom: 0.25em; }
.page-head p { color: var(--on-dark-mute); max-width: 62ch; margin: 0; }

/* ---------- shop filters ---------- */
.filter-bar {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  align-items: center;
  padding-block: 1.3rem;
  border-bottom: 1px solid var(--line-dark);
  margin-bottom: clamp(1.5rem, 3.5vw, 2.6rem);
}
.chip {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0.35rem 1rem;
  border: 1px solid var(--line-dark);
  border-radius: 100px;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--on-dark-mute);
  transition: all 0.2s;
  white-space: nowrap;
}
.chip:hover { color: var(--paper); border-color: var(--brass); }
.chip.on { background: var(--brass); border-color: var(--brass); color: #100d09; font-weight: 500; }
.filter-count { margin-left: auto; font-size: 0.78rem; color: var(--on-dark-mute); }

/* ---------- product detail ---------- */
.pdp { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: clamp(1.6rem, 4vw, 4rem); align-items: start; }
.pdp-gallery { position: sticky; top: 96px; }
.pdp-main {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid var(--line-dark);
  background: var(--ink-2);
}
.pdp-main img { width: 100%; height: 100%; object-fit: cover; }
.pdp-thumbs { display: flex; gap: 0.6rem; margin-top: 0.6rem; flex-wrap: wrap; }
.pdp-thumbs button {
  width: 74px; height: 90px;
  padding: 0;
  border: 1px solid var(--line-dark);
  background: none;
  cursor: pointer;
  overflow: hidden;
  transition: border-color 0.2s, opacity 0.2s;
  opacity: 0.6;
}
.pdp-thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.pdp-thumbs button.on, .pdp-thumbs button:hover { border-color: var(--brass); opacity: 1; }

.pdp-body > .prod-cat { margin-bottom: 0.5rem; display: block; }
.pdp-body h1 { font-size: clamp(1.7rem, 4vw, 2.7rem); margin-bottom: 0.35em; }
.pdp-price { display: flex; align-items: baseline; gap: 0.8rem; flex-wrap: wrap; margin-bottom: 1.3rem; }
.pdp-price b { font-family: var(--serif); font-size: clamp(1.6rem, 3.4vw, 2.1rem); font-weight: 600; color: var(--brass-lt); }
.pdp-price s { color: var(--on-dark-mute); }
.pdp-lead { color: var(--on-dark-mute); font-size: 1.02rem; margin-bottom: 1.6rem; }
.pdp-desc { white-space: pre-line; color: var(--on-dark-mute); line-height: 1.85; }

.qty-row { display: flex; gap: 0.7rem; align-items: stretch; margin-bottom: 1rem; flex-wrap: wrap; }
.qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  flex-shrink: 0;
}
.qty button {
  width: 46px; height: 54px;
  background: none; border: 0;
  color: var(--on-dark);
  font-size: 1.15rem;
  cursor: pointer;
  transition: color 0.2s;
}
.qty button:hover { color: var(--brass); }
.qty input {
  width: 46px; height: 54px;
  border: 0; background: none;
  text-align: center;
  font-size: 1rem;
  -moz-appearance: textfield;
}
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty-row .btn { flex: 1 1 200px; min-height: 54px; }

.spec-list { list-style: none; margin: 1.8rem 0 0; padding: 0; border-top: 1px solid var(--line-dark); }
.spec-list li { display: flex; gap: 1rem; padding: 0.75rem 0; border-bottom: 1px solid var(--line-dark); font-size: 0.9rem; }
.spec-list b { flex: 0 0 118px; font-weight: 500; color: var(--on-dark-mute); font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; }
.spec-list span { color: var(--on-dark); }

.trust-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr)); gap: 1rem; margin-top: 1.6rem; }
.trust { display: flex; gap: 0.65rem; align-items: flex-start; font-size: 0.82rem; color: var(--on-dark-mute); line-height: 1.5; }
.trust svg { width: 18px; height: 18px; color: var(--brass); flex-shrink: 0; margin-top: 0.15rem; }

/* ---------- cart drawer ---------- */
.drawer { position: fixed; inset: 0; z-index: 400; visibility: hidden; }
.drawer.open { visibility: visible; }
.drawer-bg { position: absolute; inset: 0; background: rgba(10, 8, 6, 0.7); opacity: 0; transition: opacity 0.3s; }
.drawer.open .drawer-bg { opacity: 1; }
.drawer-panel {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: min(92vw, 430px);
  background: var(--ink-2);
  border-left: 1px solid var(--line-dark);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.34s cubic-bezier(0.4, 0, 0.2, 1);
}
.drawer.open .drawer-panel { transform: none; }
.drawer-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem 1.3rem;
  border-bottom: 1px solid var(--line-dark);
}
.drawer-head h3 { margin: 0; font-size: 1.2rem; }
.drawer-items { flex: 1; overflow-y: auto; padding: 0.5rem 1.3rem; -webkit-overflow-scrolling: touch; }
.drawer-foot { border-top: 1px solid var(--line-dark); padding: 1.1rem 1.3rem calc(1.1rem + env(safe-area-inset-bottom)); }

.cart-line { display: flex; gap: 0.9rem; padding: 1rem 0; border-bottom: 1px solid var(--line-dark); }
.cart-line:last-child { border-bottom: 0; }
.cart-line-img { width: 76px; height: 92px; flex-shrink: 0; border: 1px solid var(--line-dark); overflow: hidden; background: var(--ink-3); }
.cart-line-img img { width: 100%; height: 100%; object-fit: cover; }
.cart-line-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 0.3rem; }
.cart-line-name { font-family: var(--serif); font-size: 1rem; font-weight: 600; line-height: 1.3; padding: 3px 0; min-height: 30px; }
.cart-line-price { font-size: 0.85rem; color: var(--brass-lt); }
.cart-line-ctl { display: flex; align-items: center; gap: 0.6rem; margin-top: auto; }
.mini-qty { display: inline-flex; align-items: center; border: 1px solid var(--line-dark); }
.mini-qty button { width: 32px; height: 32px; background: none; border: 0; color: var(--on-dark); cursor: pointer; font-size: 0.95rem; }
.mini-qty button:hover { color: var(--brass); }
.mini-qty span { min-width: 30px; text-align: center; font-size: 0.86rem; }
.link-x { background: none; border: 0; color: var(--on-dark-mute); font-size: 0.76rem; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; padding: 6px 8px; min-height: 32px; }
.link-x:hover { color: var(--rust); }

.sum-row { display: flex; justify-content: space-between; gap: 1rem; padding: 0.32rem 0; font-size: 0.9rem; color: var(--on-dark-mute); }
.sum-row.total { border-top: 1px solid var(--line-dark); margin-top: 0.6rem; padding-top: 0.8rem; font-size: 1.1rem; color: var(--on-dark); }
.sum-row.total b { font-family: var(--serif); font-size: 1.45rem; font-weight: 600; color: var(--brass-lt); }
.sum-row .free { color: var(--sage); }
.section.light .sum-row { color: var(--on-light-mute); }
.section.light .sum-row.total { color: var(--on-light); border-color: var(--line-light); }
.section.light .sum-row.total b { color: var(--on-light); }

.empty-state { text-align: center; padding: 3rem 1rem; color: var(--on-dark-mute); }
.empty-state svg { width: 46px; height: 46px; opacity: 0.35; margin-bottom: 1rem; }

/* ---------- forms ---------- */
.field { margin-bottom: 1.05rem; }
.field label { display: block; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--on-dark-mute); margin-bottom: 0.45rem; font-weight: 500; }
.section.light .field label, .on-light .field label { color: var(--on-light-mute); }
.field .req { color: var(--rust); }
.input, .field input, .field select, .field textarea {
  width: 100%;
  min-height: 50px;
  padding: 0.7rem 0.9rem;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  color: var(--on-dark);
  font-size: 16px;
  transition: border-color 0.2s, background 0.2s;
}
.field textarea { min-height: 96px; resize: vertical; line-height: 1.65; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none' stroke='%23b08b4f' stroke-width='1.5'%3E%3Cpath d='M1 1.5 6 6.5l5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.95rem center; background-size: 12px; padding-right: 2.4rem; }
.input:focus, .field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brass); background: rgba(255, 255, 255, 0.06); }
.field input::placeholder, .field textarea::placeholder { color: rgba(169, 156, 133, 0.6); }
.field-err { color: var(--rust); font-size: 0.78rem; margin-top: 0.35rem; display: none; }
.field.err .input, .field.err input, .field.err select, .field.err textarea { border-color: var(--rust); }
.field.err .field-err { display: block; }
.field-hint { font-size: 0.78rem; color: var(--on-dark-mute); margin-top: 0.4rem; }
.section.light .field-hint, .on-light .field-hint { color: var(--on-light-mute); }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 0 1rem; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(160px, 100%), 1fr)); gap: 0 1rem; }

.on-light .input, .on-light input, .on-light select, .on-light textarea,
.section.light .input, .section.light .field input, .section.light .field select, .section.light .field textarea {
  background: rgba(255, 255, 255, 0.7);
  border-color: var(--line-light);
  color: var(--on-light);
}

/* ---------- checkout ---------- */
.checkout-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(1.6rem, 4vw, 3.4rem); align-items: start; }
.panel {
  border: 1px solid var(--line-dark);
  background: rgba(255, 255, 255, 0.022);
  padding: clamp(1.1rem, 2.6vw, 1.9rem);
  margin-bottom: 1.3rem;
}
.panel > h3 { display: flex; align-items: center; gap: 0.7rem; font-size: 1.22rem; margin-bottom: 1.2rem; }
.panel > h3 i {
  font-style: normal;
  width: 28px; height: 28px;
  border: 1px solid var(--brass);
  color: var(--brass);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 0.78rem;
  font-family: var(--sans);
  flex-shrink: 0;
}
.panel > h3 i svg { width: 15px; height: 15px; }
.summary { position: sticky; top: 96px; }

.opt-list { display: flex; flex-direction: column; gap: 0.65rem; }
.opt {
  display: flex;
  gap: 0.85rem;
  padding: 0.95rem 1.05rem;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  align-items: flex-start;
}
.opt:hover { border-color: var(--brass); }
.opt.on { border-color: var(--brass); background: rgba(176, 139, 79, 0.09); }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt-dot {
  width: 19px; height: 19px;
  border: 1px solid var(--brass);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 0.22rem;
  position: relative;
}
.opt.on .opt-dot::after { content: ''; position: absolute; inset: 3px; border-radius: 50%; background: var(--brass); }
.opt-txt { flex: 1; min-width: 0; }
.opt-txt strong { display: block; font-size: 0.98rem; font-weight: 500; }
.opt-txt span { display: block; font-size: 0.82rem; color: var(--on-dark-mute); line-height: 1.55; margin-top: 0.15rem; }
.opt-txt .num { font-family: var(--sans); letter-spacing: 0.06em; color: var(--brass-lt); font-size: 0.9rem; }
.opt-fee { font-size: 0.85rem; color: var(--brass-lt); white-space: nowrap; }
.opt[aria-disabled='true'] { opacity: 0.45; cursor: not-allowed; }

.code-row { display: flex; gap: 0.55rem; }
.code-row .input { flex: 1; min-width: 0; text-transform: uppercase; }
.code-msg { font-size: 0.82rem; margin-top: 0.5rem; }
.code-msg.ok { color: var(--sage); }
.code-msg.bad { color: var(--rust); }

.mini-cart { list-style: none; margin: 0 0 1rem; padding: 0; max-height: 320px; overflow-y: auto; }
.mini-cart li { display: flex; gap: 0.8rem; padding: 0.7rem 0; border-bottom: 1px solid var(--line-dark); }
.mini-cart img { width: 56px; height: 68px; object-fit: cover; border: 1px solid var(--line-dark); flex-shrink: 0; }
.mini-cart .mc-body { flex: 1; min-width: 0; font-size: 0.86rem; }
.mini-cart .mc-name { font-family: var(--serif); font-size: 0.98rem; font-weight: 600; line-height: 1.3; }
.mini-cart .mc-meta { color: var(--on-dark-mute); font-size: 0.8rem; }
.mini-cart .mc-price { font-size: 0.88rem; white-space: nowrap; align-self: center; }

/* ---------- payment / slip ---------- */
.pay-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(290px, 100%), 1fr)); gap: clamp(1.2rem, 3vw, 2.4rem); align-items: start; }
.qr-card {
  border: 1px solid var(--line-dark);
  padding: clamp(1.1rem, 3vw, 1.8rem);
  text-align: center;
  background: rgba(255, 255, 255, 0.022);
}
.qr-box { background: #fff; padding: 12px; display: inline-block; border-radius: 3px; max-width: 100%; }
.qr-box svg, .qr-box img { width: min(260px, 62vw); height: auto; display: block; }
.pp-brand { display: flex; align-items: center; justify-content: center; gap: 0.5rem; margin-bottom: 0.9rem; font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--brass); }
.pp-brand svg { width: 17px; height: 17px; flex-shrink: 0; }

.acct-list { display: flex; flex-direction: column; gap: 0.8rem; }
.acct {
  display: flex; gap: 0.9rem; align-items: center;
  border: 1px solid var(--line-dark);
  padding: 0.95rem 1.05rem;
}
.acct-badge {
  width: 44px; height: 44px; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  color: #fff;
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 600;
}
.acct-body { flex: 1; min-width: 0; }
.acct-body strong { display: block; font-size: 0.95rem; font-weight: 500; }
.acct-body .num { font-family: var(--sans); font-size: 1.08rem; letter-spacing: 0.08em; color: var(--brass-lt); }
.acct-body span { font-size: 0.8rem; color: var(--on-dark-mute); display: block; }
.copy-btn { background: none; border: 1px solid var(--line-dark); color: var(--on-dark-mute); padding: 0.4rem 0.7rem; font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; cursor: pointer; border-radius: var(--radius); transition: all 0.2s; flex-shrink: 0; }
.copy-btn:hover { border-color: var(--brass); color: var(--brass); }
.copy-btn.done { border-color: var(--sage); color: var(--sage); }

.drop {
  border: 1px dashed var(--line-dark);
  border-radius: var(--radius);
  padding: clamp(1.4rem, 4vw, 2.4rem) 1rem;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  display: block;
}
.drop:hover, .drop.drag { border-color: var(--brass); background: rgba(176, 139, 79, 0.06); }
.drop svg { width: 34px; height: 34px; color: var(--brass); margin-bottom: 0.7rem; }
.drop strong { display: block; font-size: 0.98rem; font-weight: 500; margin-bottom: 0.25rem; }
.drop span { font-size: 0.82rem; color: var(--on-dark-mute); }
.drop input { display: none; }
.slip-preview { margin-top: 1rem; text-align: center; }
.slip-preview img { max-height: 300px; width: auto; margin-inline: auto; border: 1px solid var(--line-dark); }

.notice {
  display: flex; gap: 0.8rem;
  padding: 0.95rem 1.1rem;
  border: 1px solid var(--line-dark);
  border-left: 3px solid var(--brass);
  background: rgba(176, 139, 79, 0.07);
  font-size: 0.88rem;
  line-height: 1.6;
  margin-bottom: 1.3rem;
}
.notice svg { width: 19px; height: 19px; color: var(--brass); flex-shrink: 0; margin-top: 0.18rem; }
.notice.ok { border-left-color: var(--sage); background: rgba(107, 114, 89, 0.12); }
.notice.ok svg { color: var(--sage); }
.notice.bad { border-left-color: var(--rust); background: rgba(163, 67, 40, 0.1); }
.notice.bad svg { color: var(--rust); }

/* ---------- thank you ---------- */
.ty-mark {
  width: 84px; height: 84px;
  margin: 0 auto 1.6rem;
  border: 1px solid var(--brass);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--brass);
}
.ty-mark svg { width: 36px; height: 36px; }
.order-box { border: 1px solid var(--line-dark); padding: clamp(1.1rem, 3vw, 1.8rem); margin-bottom: 1.3rem; }
.kv { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(190px, 100%), 1fr)); gap: 1rem 1.6rem; }
.kv > div { min-width: 0; }
.kv b { display: block; font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--on-dark-mute); font-weight: 500; margin-bottom: 0.25rem; }
.kv span { font-size: 0.96rem; word-break: break-word; }
.status-pill {
  display: inline-flex; align-items: center; gap: 0.45rem;
  padding: 0.28rem 0.8rem;
  border-radius: 100px;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  border: 1px solid;
}
.status-pending { color: #d9b168; border-color: rgba(217, 177, 104, 0.5); background: rgba(217, 177, 104, 0.1); }
.status-paid { color: #7fa2c9; border-color: rgba(127, 162, 201, 0.5); background: rgba(127, 162, 201, 0.1); }
.status-packing { color: #b58fc4; border-color: rgba(181, 143, 196, 0.5); background: rgba(181, 143, 196, 0.1); }
.status-shipped { color: #8fbf8a; border-color: rgba(143, 191, 138, 0.5); background: rgba(143, 191, 138, 0.1); }
.status-done { color: #9fd39a; border-color: rgba(159, 211, 154, 0.55); background: rgba(159, 211, 154, 0.13); }
.status-cancelled { color: #cf7a63; border-color: rgba(207, 122, 99, 0.5); background: rgba(207, 122, 99, 0.1); }

.steps { display: flex; gap: 0; margin: 1.6rem 0; flex-wrap: wrap; }
.step { flex: 1 1 140px; padding: 0.9rem 0.8rem; border-top: 2px solid var(--line-dark); font-size: 0.8rem; color: var(--on-dark-mute); }
.step.on { border-color: var(--brass); color: var(--on-dark); }
.step b { display: block; font-size: 0.66rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--brass); margin-bottom: 0.2rem; }

/* ---------- toast ---------- */
.toast-wrap { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 900; display: flex; flex-direction: column; gap: 0.5rem; align-items: center; width: max-content; max-width: calc(100vw - 32px); pointer-events: none; }
.toast {
  background: var(--paper);
  color: var(--on-light);
  padding: 0.75rem 1.2rem;
  border-radius: var(--radius);
  font-size: 0.88rem;
  box-shadow: var(--shadow);
  display: flex; align-items: center; gap: 0.6rem;
  animation: toastIn 0.3s ease;
  max-width: 100%;
}
.toast svg { width: 17px; height: 17px; color: var(--brass-dk); flex-shrink: 0; }
.toast.out { animation: toastOut 0.3s ease forwards; }
@keyframes toastIn { from { opacity: 0; transform: translateY(12px); } }
@keyframes toastOut { to { opacity: 0; transform: translateY(12px); } }

/* ---------- reveal ----------
   Scoped to .js so content is never invisible when scripts fail or are blocked. */
.js .rv { opacity: 0; transform: translateY(20px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1); }
.js .rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .rv { opacity: 1; transform: none; transition: none; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

/* ================================================================
   Responsive
   ================================================================ */
/* measured: brand + full nav + cart needs ~1295px of content, so ~1400px of viewport.
   Below that the category links move into the burger menu. */
@media (max-width: 1399px) {
  .nav a.nav-cat { display: none; }
}

@media (max-width: 1080px) {
  .pdp { grid-template-columns: 1fr; }
  .pdp-gallery { position: static; }
  .checkout-grid { grid-template-columns: 1fr; }
  .summary { position: static; }
}

@media (max-width: 900px) {
  .nav { display: none; }
  .menu-btn { display: inline-flex; }
  .head-row { min-height: 66px; }
  .foot-grid { grid-template-columns: repeat(auto-fit, minmax(min(140px, 100%), 1fr)); }
  .foot-about { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  body { font-size: 15.5px; line-height: 1.68; }
  .hero-track { min-height: clamp(440px, 74vh, 620px); }
  .hero-media img { object-position: center 38%; }
  .hero-media::after {
    background:
      linear-gradient(90deg, rgba(15, 12, 9, 0.9) 0%, rgba(15, 12, 9, 0.62) 60%, rgba(15, 12, 9, 0.3) 100%),
      linear-gradient(0deg, rgba(15, 12, 9, 0.9) 6%, rgba(15, 12, 9, 0) 62%);
  }
  .hero-cta .btn { flex: 1 1 100%; }
  .prod-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.3rem 0.8rem; }
  .prod-grid.cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quick-add { opacity: 1; transform: none; position: static; margin-top: 0.6rem; }
  .quick-add .btn { background: transparent; color: var(--on-dark); border-color: var(--line-dark); }
  .section.light .quick-add .btn { color: var(--on-light); border-color: var(--line-light); }
  .split-media::after { display: none; }
  .pdp-thumbs button { width: 62px; height: 76px; }
  .spec-list b { flex-basis: 96px; }
  .steps { flex-direction: column; }
  .step { border-top: 0; border-left: 2px solid var(--line-dark); padding: 0.55rem 0 0.55rem 0.9rem; }
  .step.on { border-color: var(--brass); }
}

@media (max-width: 520px) {
  :root { --gut: 16px; }
  .head-row { min-height: 60px; }
  .brand-sub { display: none; }
  .announce { font-size: 0.68rem; }
  .hero-track { min-height: 460px; }
  .hero-nav { bottom: 1rem; }
  .hero-arrows { display: none; }
  .icon-btn { width: 42px; height: 42px; }
  .prod-grid { gap: 1.1rem 0.65rem; }
  .prod-name { font-size: 1rem; }
  .cat-label { padding: 0.8rem; }
  .cat-label strong { font-size: 1.02rem; }
  .qty-row { flex-direction: column; }
  .qty { width: 100%; justify-content: space-between; }
  .qty input { flex: 1; }
  .qty-row .btn { width: 100%; }
  .panel { padding: 1.05rem 0.95rem; }
  .kv { grid-template-columns: 1fr 1fr; }
  .acct { flex-wrap: wrap; }
  .acct-body { flex: 1 1 100%; order: 2; }
  .copy-btn { order: 3; margin-left: auto; }
  .mini-cart { max-height: none; }
  .foot-bottom { flex-direction: column; }
}

@media (max-width: 380px) {
  :root { --gut: 13px; }
  .prod-grid { grid-template-columns: 1fr; }
  .prod-grid.cols-4 { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: 1fr; }
  .cat-card { aspect-ratio: 16 / 10; }
  .brand-mark { font-size: 1.32rem; }
  .kv { grid-template-columns: 1fr; }
  .btn { padding-inline: 1.1rem; font-size: 0.74rem; letter-spacing: 0.1em; }
  .drawer-panel { width: 100vw; }
  .pdp-thumbs button { width: 54px; height: 66px; }
}

@media print {
  body::before, .site-head, .site-foot, .announce, .drawer, .mnav, .toast-wrap, .no-print { display: none !important; }
  body { background: #fff; color: #000; }
}
