*,*::before,*::after { box-sizing: border-box; }

:root {
  --ink: #0b0b0b;
  --ink-soft: #4f4f4f;
  --muted: #8a8a8a;
  --line: #e4e4e4;
  --line-soft: #f0f0f0;
  --page: #ffffff;
  --surface: #f5f4f2;
  --gutter: clamp(18px, 3.2vw, 40px);
  --rail-gap: 6px;
  --sans: "Helvetica Neue", Helvetica, Arial, "Segoe UI", sans-serif;
}

html { scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  overflow-x: clip;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--page);
  -webkit-font-smoothing: antialiased;
}
body[data-locked] { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%);
  white-space: nowrap; border: 0;
}

/* ---------- Type ---------- */
.display {
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: .06em;
  line-height: 1.02;
  margin: 0;
}
.eyebrow {
  text-transform: uppercase;
  font-size: clamp(12px, 1.1vw, 14px);
  font-weight: 700;
  letter-spacing: .16em;
  margin: 0;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 46px;
  padding: 0 26px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.btn:hover { background: #2b2b2b; border-color: #2b2b2b; }
.btn--light { background: #fff; border-color: #fff; color: var(--ink); }
.btn--light:hover { background: #e8e8e8; border-color: #e8e8e8; }
.btn--ghost { background: transparent; border-color: rgba(255,255,255,.85); color: #fff; }
.btn--ghost:hover { background: rgba(255,255,255,.14); border-color: #fff; }
.btn--outline { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: #fff; }
.btn--block { width: 100%; }

/* ---------- Announcement bar ---------- */
.announce {
  position: relative;
  background: var(--surface);
  padding: 9px var(--gutter);
  text-align: center;
  font-size: 12.5px;
  letter-spacing: .02em;
}
.announce a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  padding: 16px var(--gutter);
  color: #fff;
  background: transparent;
  transition: background .25s ease, color .25s ease, box-shadow .25s ease;
}
.site-header[data-solid="true"] {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 1px 0 var(--line);
}
.nav-left { display: flex; align-items: center; gap: 4px; }
.main-nav { display: flex; gap: 26px; align-items: center; }
.main-nav > * {
  font-size: 14px;
  letter-spacing: .02em;
  background: none; border: 0; padding: 6px 0;
  cursor: pointer;
  position: relative;
}
.main-nav > *::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: left;
  transition: transform .22s ease;
}
.main-nav > *:hover::after { transform: scaleX(1); }

.brand {
  font-size: clamp(17px, 1.9vw, 22px);
  font-weight: 700;
  letter-spacing: .34em;
  text-transform: uppercase;
  text-indent: .34em;
  text-align: center;
}

.header-actions { display: flex; gap: 6px; justify-content: flex-end; align-items: center; }
.icon-btn {
  width: 38px; height: 38px;
  border: 0; background: none; padding: 0;
  display: grid; place-items: center;
  cursor: pointer; border-radius: 50%;
  position: relative;
  transition: background .18s ease;
}
.icon-btn:hover { background: rgba(127,127,127,.16); }
.icon-btn svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.icon-btn .count {
  position: absolute; top: 1px; right: -1px;
  min-width: 15px; height: 15px;
  padding: 0 3px;
  border-radius: 8px;
  background: #c8102e;
  color: #fff;
  font-size: 9px; font-weight: 700;
  line-height: 1;
  display: grid; place-items: center;
  pointer-events: none;
}
.icon-btn .count[hidden] { display: none; }
.nav-toggle { display: none; margin-left: -9px; }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative;
  margin-top: calc(-1 * var(--header-h, 70px));
  background: #000;
}
.hero-viewport {
  position: relative;
  width: 100%;
  aspect-ratio: 1983 / 793;
  min-height: 520px;
  max-height: 86vh;
  overflow: hidden;
}
.slide {
  position: absolute; inset: 0;
  opacity: 0; visibility: hidden;
  transition: opacity .8s ease, visibility .8s ease;
}
.slide[data-active="true"] { opacity: 1; visibility: visible; }
.slide img { width: 100%; height: 100%; object-fit: cover; }
.slide::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.62) 0%, rgba(0,0,0,.06) 38%, rgba(0,0,0,.28) 100%);
}

.hero-copy {
  position: absolute; z-index: 2;
  left: var(--gutter); bottom: clamp(56px, 7vw, 96px);
  max-width: min(620px, 78vw);
  color: #fff;
}
.hero-headline {
  font-size: clamp(28px, 4.6vw, 58px);
  text-shadow: 0 2px 24px rgba(0,0,0,.5);
}
.hero-sub {
  margin: 16px 0 26px;
  font-size: clamp(14px, 1.3vw, 17px);
  line-height: 1.55;
  max-width: 42ch;
  color: rgba(255,255,255,.9);
  text-shadow: 0 1px 12px rgba(0,0,0,.5);
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-copy--cta { bottom: 24px; }

.hero-controls {
  position: absolute; z-index: 3;
  left: 50%; bottom: 22px; transform: translateX(-50%);
  display: flex; align-items: center; gap: 16px;
}
.hero-controls > button {
  background: none; border: 0; padding: 4px 6px;
  color: #fff; font-size: 18px; line-height: 1; cursor: pointer;
  text-shadow: 0 1px 8px rgba(0,0,0,.6);
}
.dots { display: flex; align-items: center; gap: 11px; }
.dots button {
  border: 0; padding: 0; cursor: pointer;
  width: 9px; height: 9px; border-radius: 50%;
  background: rgba(255,255,255,.5);
  transition: width .3s ease, border-radius .3s ease, background .3s ease;
}
.dots button[aria-current="true"] { width: 42px; height: 5px; border-radius: 3px; background: #fff; }
.media-toggle {
  position: absolute; z-index: 3;
  right: var(--gutter); bottom: 22px;
  width: 32px; height: 32px;
  border: 1px solid rgba(255,255,255,.7); border-radius: 50%;
  background: rgba(0,0,0,.28); color: #fff;
  display: grid; place-items: center; cursor: pointer;
}
.media-toggle svg { width: 11px; height: 11px; fill: #fff; }

/* ---------- Section shell ---------- */
.section { padding: clamp(38px, 4.5vw, 62px) 0; }
.section-head {
  display: flex; align-items: baseline; gap: 16px;
  padding: 0 var(--gutter) 22px;
}
.section-head .eyebrow { flex: 0 0 auto; }
.link-all {
  flex: 0 0 auto;
  white-space: nowrap;
  font-size: 13px; color: var(--ink-soft);
  text-decoration: underline; text-underline-offset: 3px;
}
.rail-nav { margin-left: auto; display: flex; gap: 8px; }
.rail-nav button {
  width: 34px; height: 34px;
  border: 0; border-radius: 50%; background: transparent;
  font-size: 19px; line-height: 1; cursor: pointer;
  display: grid; place-items: center;
  transition: background .18s ease, opacity .18s ease;
}
.rail-nav button:hover { background: var(--line-soft); }
.rail-nav button:disabled { opacity: .25; background: transparent; cursor: default; }

/* ---------- Product rail & cards ---------- */
.rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(230px, 23vw, 380px);
  gap: var(--rail-gap);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scroll-padding-left: var(--gutter);
  padding: 0 var(--gutter) 4px;
  scrollbar-width: none;
}
.rail::-webkit-scrollbar { display: none; }

.card { scroll-snap-align: start; display: flex; flex-direction: column; }
.card-media {
  position: relative;
  aspect-ratio: 385 / 500;
  overflow: hidden;
  background: var(--surface);
  display: block;
}
.card-media .ph, .media-ph {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase;
  color: inherit;
}
.badge {
  position: absolute; left: 12px; bottom: 12px;
  background: #fff; color: var(--ink); font-size: 11px; padding: 4px 9px;
}
.rating {
  position: absolute; left: 12px; top: 12px;
  background: rgba(255,255,255,.92);
  color: var(--ink);
  font-size: 11px; font-weight: 700;
  padding: 3px 8px;
  display: flex; align-items: center; gap: 4px;
}
.rating svg { width: 10px; height: 10px; fill: var(--ink); }
.wish {
  position: absolute; top: 8px; right: 8px;
  width: 32px; height: 32px;
  border: 0; background: none; padding: 0; cursor: pointer;
  display: grid; place-items: center;
}
.wish svg { width: 17px; height: 17px; fill: none; stroke: var(--ink); stroke-width: 1.5; }
.wish[aria-pressed="true"] svg { fill: var(--ink); }

.card-body { padding: 13px 0 0; flex: 1; display: flex; flex-direction: column; }
.card-name { margin: 0; font-size: 14px; font-weight: 400; line-height: 1.35; }
.card-meta { margin: 6px 0 auto; font-size: 13px; color: var(--muted); line-height: 1.7; }
.card-price { margin: 14px 0 0; padding-top: 4px; font-size: 13px; font-weight: 700; }

/* ---------- Full-bleed promo ---------- */
.promo { position: relative; background: #000; color: #fff; }
.promo-media { position: relative; width: 100%; aspect-ratio: 1717 / 916; max-height: 74vh; min-height: 420px; overflow: hidden; }
.promo-media img { width: 100%; height: 100%; object-fit: cover; }
.promo-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.62), rgba(0,0,0,.05) 55%);
}
.promo-copy {
  position: absolute; z-index: 2;
  left: var(--gutter); bottom: clamp(36px, 6vw, 84px);
  max-width: min(560px, 78vw);
}
.promo-copy h2, .promo-copy .display { font-size: clamp(26px, 4vw, 52px); }
.promo-copy p { margin: 14px 0 24px; font-size: clamp(14px, 1.2vw, 16px); line-height: 1.55; color: rgba(255,255,255,.88); max-width: 42ch; }
.promo-cta { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Tabs ---------- */
.tabs { display: flex; gap: 8px; padding: 0 var(--gutter) 18px; }
.tab {
  border: 1px solid var(--line);
  background: #fff;
  padding: 8px 20px;
  font-size: 13px;
  cursor: pointer;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.tab[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }

/* ---------- Tile & editorial grids ---------- */
.tile-grid, .edit-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--rail-gap);
  padding: 0 var(--gutter);
}
.tile-media { position: relative; aspect-ratio: 385 / 500; background: var(--surface); overflow: hidden; }
.tile:nth-child(4n+1) .tile-media { background: linear-gradient(150deg, #d9d9d9, #b9b9b9); }
.tile:nth-child(4n+2) .tile-media { background: linear-gradient(150deg, #cfcac3, #ada79f); }
.tile:nth-child(4n+3) .tile-media { background: linear-gradient(150deg, #e2ded7, #c4bfb6); }
.tile:nth-child(4n)   .tile-media { background: linear-gradient(150deg, #c8c8c8, #a5a5a5); }
.tile-media .ph { position: absolute; inset: 0; display: grid; place-items: center; font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: rgba(0,0,0,.3); }
.tile-label {
  display: block;
  margin-top: 12px;
  font-size: 12.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.tile:hover .tile-label { text-decoration: underline; text-underline-offset: 3px; }

.edit-media { position: relative; aspect-ratio: 385 / 460; overflow: hidden; background: var(--surface); }
.edit-media .ph { position: absolute; inset: 0; display: grid; place-items: center; font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: rgba(0,0,0,.3); }
.edit-card:nth-child(4n+1) .edit-media { background: linear-gradient(150deg, #dcd6cc, #b6afa4); }
.edit-card:nth-child(4n+2) .edit-media { background: linear-gradient(150deg, #cdc7d4, #a49dae); }
.edit-card:nth-child(4n+3) .edit-media { background: linear-gradient(150deg, #e3ddd2, #bdb6a9); }
.edit-card:nth-child(4n)   .edit-media { background: linear-gradient(150deg, #f0d9e2, #d3aebd); }
.edit-card h3 { margin: 14px 0 0; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.edit-card p { margin: 8px 0 0; font-size: 13px; line-height: 1.6; color: var(--ink-soft); }

/* ---------- Link columns ---------- */
.link-columns {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px clamp(20px, 3vw, 56px);
  padding: clamp(34px, 4vw, 56px) var(--gutter);
  border-top: 1px solid var(--line);
}
.link-columns h3 {
  margin: 0 0 16px;
  font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
}
.link-columns ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.link-columns a { font-size: 13.5px; color: var(--ink-soft); }
.link-columns a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- SEO copy ---------- */
.seo { border-top: 1px solid var(--line); padding: clamp(34px, 4vw, 56px) var(--gutter); }
.seo h2 { margin: 0 0 14px; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.seo h3 { margin: 28px 0 10px; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.seo p { margin: 0; font-size: 13.5px; line-height: 1.8; color: var(--ink-soft); max-width: 105ch; }
.seo strong { color: var(--ink); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: clamp(34px, 4vw, 54px) var(--gutter) 0; }
.footer-top {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 150px)) minmax(260px, 1fr);
  gap: 32px clamp(20px, 3vw, 48px);
}
.footer-top h3 { margin: 0 0 16px; font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.footer-top ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer-top a { font-size: 13.5px; color: var(--ink-soft); }
.footer-top a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

.promo-boxes { display: grid; grid-template-columns: repeat(2, minmax(0, 200px)); gap: 12px; }
.promo-box { border: 1px solid var(--line); padding: 18px; display: grid; gap: 26px; }
.promo-box svg { width: 22px; height: 22px; fill: none; stroke: var(--ink); stroke-width: 1.4; }
.promo-box span { font-size: 12.5px; line-height: 1.5; }

.footer-pay { display: flex; flex-wrap: wrap; gap: 8px; padding: 34px 0 22px; align-items: center; }
.pay {
  width: 38px; height: 25px;
  border: 1px solid var(--line); border-radius: 3px;
  display: grid; place-items: center;
  font-size: 8px; font-weight: 700; letter-spacing: .04em;
  color: var(--ink-soft);
}
.footer-social { margin-left: auto; display: flex; gap: 6px; }
.footer-social a {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--ink); color: #fff;
  display: grid; place-items: center;
}
.footer-social svg { width: 14px; height: 14px; fill: #fff; }

.footer-legal {
  border-top: 1px solid var(--line);
  padding: 18px 0 30px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px;
  font-size: 12px; color: var(--muted);
}
.footer-legal nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer-legal a { text-decoration: underline; text-underline-offset: 3px; }
.footer-locale { margin-left: auto; display: flex; align-items: center; gap: 7px; font-size: 12px; color: var(--ink); }
.footer-locale .flag { width: 15px; height: 11px; border-radius: 2px; background: linear-gradient(to bottom, #000 33%, #d00 33% 66%, #fc0 66%); }

/* ---------- Scrim & drawers ---------- */
.scrim {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(0,0,0,.45);
  opacity: 0; visibility: hidden;
  transition: opacity .28s ease, visibility .28s ease;
}
.scrim[data-open] { opacity: 1; visibility: visible; }

.drawer {
  position: fixed; top: 0; bottom: 0; z-index: 100;
  width: min(420px, 92vw);
  background: #fff;
  display: flex; flex-direction: column;
  transition: transform .32s cubic-bezier(.25,.8,.35,1), visibility .32s;
  visibility: hidden;
}
.drawer--right { right: 0; transform: translateX(102%); }
.drawer--left  { left: 0;  transform: translateX(-102%); }
.drawer[data-open] { transform: translateX(0); visibility: visible; }

.drawer-head {
  display: flex; align-items: center; gap: 12px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
}
.drawer-head .eyebrow { flex: 1; }
.drawer-close {
  width: 34px; height: 34px; margin-right: -8px;
  border: 0; background: none; cursor: pointer; border-radius: 50%;
  display: grid; place-items: center;
}
.drawer-close:hover { background: var(--line-soft); }
.drawer-close svg { width: 16px; height: 16px; stroke: var(--ink); stroke-width: 1.6; fill: none; stroke-linecap: round; }
.drawer-body { flex: 1; overflow-y: auto; padding: 20px 22px; }
.drawer-foot { border-top: 1px solid var(--line); padding: 18px 22px 22px; display: grid; gap: 12px; }

.drawer-empty { text-align: center; padding: 56px 10px; }
.drawer-empty svg { width: 40px; height: 40px; margin: 0 auto 16px; stroke: var(--muted); fill: none; stroke-width: 1.2; }
.drawer-empty p { margin: 0 0 20px; font-size: 14px; color: var(--ink-soft); line-height: 1.6; }

/* Cart / wishlist line items */
.line-item { display: grid; grid-template-columns: 78px 1fr; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line-soft); }
.line-media { position: relative; aspect-ratio: 78 / 98; overflow: hidden; }
.line-media .media-ph { font-size: 8px; letter-spacing: .12em; }
.line-info { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.line-name { margin: 0; font-size: 13.5px; font-weight: 500; line-height: 1.35; }
.line-meta { margin: 0; font-size: 12px; color: var(--muted); }
.line-row { margin-top: auto; display: flex; align-items: center; gap: 12px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); }
.qty button { width: 28px; height: 28px; border: 0; background: none; cursor: pointer; font-size: 15px; line-height: 1; }
.qty button:hover { background: var(--line-soft); }
.qty span { min-width: 26px; text-align: center; font-size: 13px; }
.line-price { margin-left: auto; font-size: 13px; font-weight: 700; }
.line-remove {
  border: 0; background: none; padding: 2px 0; cursor: pointer;
  font-size: 12px; color: var(--muted);
  text-decoration: underline; text-underline-offset: 3px;
  align-self: flex-start;
}
.line-remove:hover { color: var(--ink); }

.ship-progress { display: grid; gap: 8px; }
.ship-progress p { margin: 0; font-size: 12.5px; color: var(--ink-soft); }
.ship-progress p strong { color: var(--ink); }
.ship-bar { height: 4px; background: var(--line); overflow: hidden; }
.ship-bar i { display: block; height: 100%; background: var(--ink); transition: width .3s ease; }
.cart-subtotal { display: flex; align-items: baseline; font-size: 14px; }
.cart-subtotal strong { margin-left: auto; font-size: 16px; }
.cart-note { margin: 0; font-size: 11.5px; color: var(--muted); text-align: center; }

/* ---------- Menu drawer ---------- */
.menu-nav { display: grid; }
.menu-nav > a {
  padding: 15px 0;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--line-soft);
}
.menu-sub { padding: 18px 0 6px; display: grid; gap: 11px; }
.menu-sub a { font-size: 13.5px; color: var(--ink-soft); }
.menu-sub a:hover { color: var(--ink); }

/* ---------- Search overlay ---------- */
.search-overlay {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  background: #fff;
  transform: translateY(-102%);
  transition: transform .32s cubic-bezier(.25,.8,.35,1), visibility .32s;
  visibility: hidden;
  max-height: 100dvh;
  display: flex; flex-direction: column;
}
.search-overlay[data-open] { transform: translateY(0); visibility: visible; }
.search-bar {
  display: flex; align-items: center; gap: 14px;
  padding: 18px var(--gutter);
  border-bottom: 1px solid var(--line);
}
.search-bar svg.lens { width: 19px; height: 19px; stroke: var(--ink); fill: none; stroke-width: 1.5; flex: 0 0 auto; }
.search-bar input {
  flex: 1;
  border: 0; outline: none;
  font: inherit; font-size: 16px;
  letter-spacing: .02em;
  background: none;
}
.search-bar input::placeholder { color: var(--muted); }
.search-body { overflow-y: auto; padding: 22px var(--gutter) 34px; }
.search-suggest h3, .search-results h3 {
  margin: 0 0 14px;
  font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-soft);
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  border: 1px solid var(--line);
  background: #fff;
  padding: 8px 16px;
  font-size: 13px;
  cursor: pointer;
}
.chip:hover { border-color: var(--ink); }
.search-hits { display: grid; gap: 2px; }
.search-hit {
  display: grid; grid-template-columns: 52px 1fr auto; gap: 14px; align-items: center;
  padding: 9px 8px; margin: 0 -8px;
}
.search-hit:hover { background: var(--surface); }
.search-hit .line-media { aspect-ratio: 52 / 64; }
.search-hit h4 { margin: 0; font-size: 13.5px; font-weight: 400; }
.search-hit p { margin: 2px 0 0; font-size: 12px; color: var(--muted); }
.search-hit b { font-size: 13px; }
.search-none { margin: 0; font-size: 14px; color: var(--ink-soft); }

/* ---------- Newsletter modal ---------- */
.modal {
  position: fixed; z-index: 110;
  inset: 0;
  display: grid; place-items: center;
  padding: var(--gutter);
  visibility: hidden;
}
.modal[data-open] { visibility: visible; }
.modal-card {
  position: relative;
  width: min(460px, 100%);
  background: #fff;
  padding: clamp(28px, 4vw, 44px);
  opacity: 0; transform: translateY(14px);
  transition: opacity .3s ease, transform .3s ease;
}
.modal[data-open] .modal-card { opacity: 1; transform: translateY(0); }
.modal-card .drawer-close { position: absolute; top: 12px; right: 14px; }
.modal-card h2 { margin: 0 0 10px; font-size: 20px; letter-spacing: .08em; text-transform: uppercase; }
.modal-card > p { margin: 0 0 22px; font-size: 14px; line-height: 1.6; color: var(--ink-soft); }
.modal-success { text-align: center; padding: 12px 0; }
.modal-success h2 { margin-bottom: 6px; }

/* ---------- Forms ---------- */
.field { display: grid; gap: 7px; }
.field label { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.field input, .field textarea, .field select {
  border: 1px solid var(--line);
  background: #fff;
  padding: 13px 14px;
  font: inherit; font-size: 14px;
  outline: none;
  border-radius: 0;
  width: 100%;
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--ink); }
.form-grid { display: grid; gap: 16px; }
.form-note { margin: 0; font-size: 12px; color: var(--muted); line-height: 1.6; }

/* ---------- Page scaffolding (subpages) ---------- */
.page-head { padding: clamp(30px, 4vw, 52px) var(--gutter) 8px; }
.breadcrumbs { margin: 0 0 14px; font-size: 12px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumbs a:hover { text-decoration: underline; text-underline-offset: 3px; }
.page-head h1 { font-size: clamp(22px, 3vw, 34px); }
.page-head .lead { margin: 12px 0 0; max-width: 62ch; font-size: 14.5px; line-height: 1.65; color: var(--ink-soft); }

/* PLP */
.plp-toolbar {
  display: flex; align-items: center; gap: 10px;
  padding: 20px var(--gutter);
  flex-wrap: wrap;
}
.plp-toolbar .chips { flex: 1; }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.plp-sort { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-soft); }
.plp-sort select { border: 1px solid var(--line); padding: 8px 10px; font: inherit; font-size: 13px; background: #fff; }
.plp-count { padding: 0 var(--gutter) 14px; font-size: 12.5px; color: var(--muted); }
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px var(--rail-gap);
  padding: 0 var(--gutter) 60px;
}
.product-grid .card { scroll-snap-align: unset; }

/* PDP */
.pdp {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(340px, 5fr);
  gap: clamp(24px, 4vw, 64px);
  padding: clamp(22px, 3vw, 40px) var(--gutter) 70px;
}
.pdp-gallery { display: grid; gap: var(--rail-gap); }
.pdp-main { position: relative; aspect-ratio: 4 / 5; overflow: hidden; }
.pdp-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--rail-gap); }
.pdp-thumb { position: relative; aspect-ratio: 1; border: 1px solid transparent; cursor: pointer; padding: 0; }
.pdp-thumb[aria-current="true"] { border-color: var(--ink); }
.pdp-info { position: sticky; top: calc(var(--header-h, 70px) + 20px); align-self: start; }
.pdp-info h1 { margin: 0; font-size: clamp(20px, 2.2vw, 26px); font-weight: 700; letter-spacing: .02em; }
.pdp-meta { margin: 8px 0 0; font-size: 13.5px; color: var(--muted); }
.pdp-price { margin: 16px 0 0; font-size: 18px; font-weight: 700; }
.pdp-rating { margin: 10px 0 0; display: flex; align-items: center; gap: 6px; font-size: 13px; }
.pdp-rating svg { width: 13px; height: 13px; fill: var(--ink); }
.size-block { margin: 26px 0 0; }
.size-head { display: flex; align-items: baseline; margin-bottom: 10px; }
.size-head span { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.size-head a { margin-left: auto; font-size: 12px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.sizes { display: flex; flex-wrap: wrap; gap: 8px; }
.size {
  min-width: 52px; padding: 11px 10px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 13px;
  cursor: pointer;
  text-align: center;
}
.size:hover { border-color: var(--ink); }
.size[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.size-hint { margin: 10px 0 0; font-size: 12px; color: #c8102e; min-height: 15px; }
.pdp-actions { margin: 18px 0 0; display: grid; gap: 10px; }
.pdp-usps { margin: 22px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.pdp-usps li { font-size: 12.5px; color: var(--ink-soft); display: flex; gap: 9px; align-items: center; }
.pdp-usps svg { width: 14px; height: 14px; stroke: var(--ink); fill: none; stroke-width: 1.6; flex: 0 0 auto; }
.acc { border-top: 1px solid var(--line); margin-top: 26px; }
.acc details { border-bottom: 1px solid var(--line); }
.acc summary {
  padding: 15px 0;
  font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  cursor: pointer; list-style: none;
  display: flex; align-items: center;
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; margin-left: auto; font-size: 16px; font-weight: 400; }
.acc details[open] summary::after { content: "–"; }
.acc .acc-body { padding: 0 0 18px; font-size: 13.5px; line-height: 1.7; color: var(--ink-soft); }

/* Content pages (Über uns, Kontakt, Konto) */
.page-hero { position: relative; background: #000; color: #fff; }
.page-hero-media { position: relative; width: 100%; aspect-ratio: 1983 / 700; min-height: 300px; max-height: 56vh; overflow: hidden; }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.6), rgba(0,0,0,.1) 60%); }
.page-hero-copy { position: absolute; z-index: 2; left: var(--gutter); bottom: clamp(28px, 5vw, 64px); max-width: min(640px, 82vw); }
.page-hero-copy h1 { font-size: clamp(28px, 4.5vw, 56px); }
.page-hero-copy p { margin: 14px 0 0; font-size: clamp(14px, 1.25vw, 16px); line-height: 1.6; color: rgba(255,255,255,.88); max-width: 46ch; }

.prose { padding: clamp(38px, 5vw, 70px) var(--gutter); max-width: 880px; }
.prose h2 { margin: 0 0 16px; font-size: clamp(18px, 2vw, 24px); letter-spacing: .08em; text-transform: uppercase; }
.prose p { margin: 0 0 18px; font-size: 15px; line-height: 1.85; color: var(--ink-soft); }
.prose p strong { color: var(--ink); }
.value-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: var(--rail-gap);
  padding: 0 var(--gutter) clamp(38px, 5vw, 70px);
}
.value { background: var(--surface); padding: 28px 22px 32px; }
.value svg { width: 34px; height: 34px; stroke: var(--ink); fill: none; stroke-width: 1.3; }
.value h3 { margin: 18px 0 8px; font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.value p { margin: 0; font-size: 13px; line-height: 1.65; color: var(--ink-soft); }

.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 520px));
  justify-content: center;
  gap: var(--rail-gap);
  padding: clamp(30px, 4vw, 56px) var(--gutter) 70px;
}
.panel { border: 1px solid var(--line); padding: clamp(24px, 3vw, 40px); }
.panel h2 { margin: 0 0 8px; font-size: 17px; letter-spacing: .08em; text-transform: uppercase; }
.panel > p { margin: 0 0 22px; font-size: 13.5px; line-height: 1.6; color: var(--ink-soft); }

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 560px) minmax(240px, 380px);
  gap: clamp(28px, 5vw, 80px);
  padding: clamp(30px, 4vw, 56px) var(--gutter) 70px;
}
.contact-aside { display: grid; gap: 26px; align-content: start; }
.contact-aside h3 { margin: 0 0 8px; font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.contact-aside p { margin: 0; font-size: 13.5px; line-height: 1.7; color: var(--ink-soft); }

.form-success { border: 1px solid var(--ink); padding: 22px; font-size: 14px; line-height: 1.6; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; z-index: 120;
  left: 50%; bottom: 26px; transform: translate(-50%, 20px);
  background: var(--ink); color: #fff;
  font-size: 13px; letter-spacing: .04em;
  padding: 13px 22px;
  opacity: 0; visibility: hidden;
  transition: opacity .25s ease, transform .25s ease, visibility .25s;
}
.toast[data-open] { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .tile-grid, .edit-grid { grid-template-columns: repeat(2, 1fr); }
  .link-columns { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: repeat(2, 1fr); }
  .promo-boxes { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .value-grid { grid-template-columns: repeat(2, 1fr); }
  .pdp { grid-template-columns: 1fr; }
  .pdp-info { position: static; }
}
@media (max-width: 720px) {
  .main-nav { display: none; }
  .nav-toggle { display: grid; }
  .brand { font-size: 16px; letter-spacing: .3em; }
  .hero-viewport { aspect-ratio: 3 / 4; min-height: 0; max-height: none; }
  .slide img { transform: scale(1.5); transform-origin: 50% 88%; }
  .rail { grid-auto-columns: 66vw; scroll-padding-left: var(--gutter); }
  .section-head { flex-wrap: wrap; }
  .section-head .eyebrow { flex: 1 1 auto; }
  .rail-nav { display: none; }
  .hero-copy { bottom: 78px; }
  .hero-copy--cta { bottom: 78px; }
  .link-columns, .footer-top { grid-template-columns: 1fr; }
  .footer-pay { padding-bottom: 16px; }
  .footer-social { margin-left: 0; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 22px var(--rail-gap); }
  .split, .contact-layout { grid-template-columns: 1fr; }
  .value-grid { grid-template-columns: 1fr; }
  .page-hero-media { aspect-ratio: 4 / 5; }
}


/* ---------- Cookie banner ---------- */
.cookie-bar {
  position: fixed; z-index: 85;
  left: 0; right: 0; bottom: 0;
  background: #fff;
  border-top: 1px solid var(--line);
  padding: 16px var(--gutter);
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  box-shadow: 0 -6px 24px rgba(0,0,0,.06);
}
.cookie-bar[hidden] { display: none; }
.cookie-bar p { margin: 0; flex: 1 1 320px; font-size: 13px; line-height: 1.55; color: var(--ink-soft); }
.cookie-bar a { text-decoration: underline; text-underline-offset: 3px; color: var(--ink); }
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-actions .btn { min-height: 40px; padding: 0 18px; font-size: 12px; }

/* ---------- Spec tables (Groessentabelle, Versand) ---------- */
.table-wrap { overflow-x: auto; margin: 6px 0 26px; }
table.spec { width: 100%; border-collapse: collapse; font-size: 13px; }
.spec th, .spec td { border: 1px solid var(--line); padding: 10px 14px; text-align: left; white-space: nowrap; }
.spec th { background: var(--surface); font-weight: 700; font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; }

/* ---------- FAQ accordion on content pages ---------- */
.prose .acc { max-width: 760px; }

/* ---------- Career roles ---------- */
.role-list { display: grid; gap: var(--rail-gap); margin: 6px 0 26px; max-width: 760px; }
.role { border: 1px solid var(--line); padding: 18px 22px; display: flex; align-items: center; gap: 8px 18px; flex-wrap: wrap; }
.role div { flex: 1 1 240px; }
.role h3 { margin: 0; font-size: 14px; font-weight: 700; }
.role p { margin: 4px 0 0 !important; font-size: 12.5px !important; color: var(--muted) !important; }
.role .btn { min-height: 38px; padding: 0 18px; font-size: 11.5px; }

/* ---------- Account dashboard ---------- */
.account-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 320px);
  gap: var(--rail-gap);
  padding: clamp(20px, 3vw, 40px) var(--gutter) 70px;
  align-items: start;
}
.orders { display: grid; gap: var(--rail-gap); }
.order-card { border: 1px solid var(--line); padding: 18px 22px; }
.order-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; padding-bottom: 4px; font-size: 13px; }
.order-head strong { font-size: 13.5px; }
.order-head time { color: var(--muted); font-size: 12.5px; }
.order-status {
  margin-left: auto;
  font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  background: var(--surface);
  padding: 5px 10px;
}
.order-status--done { background: #e7f0e7; }
.order-total { margin: 10px 0 0; font-size: 13px; }
.order-total strong { font-size: 14px; }

@media (max-width: 860px) {
  .account-layout { grid-template-columns: 1fr; }
}


/* ---------- Order tracking ---------- */
.track { margin: 10px 0 30px; max-width: 560px; }
.track-step {
  position: relative;
  display: grid; grid-template-columns: 22px 1fr; gap: 16px;
  padding-bottom: 30px;
}
.track-step:last-child { padding-bottom: 0; }
.track-step::before {
  content: ""; position: absolute;
  left: 10px; top: 20px; bottom: 2px;
  width: 2px; background: var(--line);
}
.track-step:last-child::before { display: none; }
.track-step[data-done]::before { background: var(--ink); }
.track-dot {
  width: 18px; height: 18px; margin-top: 1px;
  border-radius: 50%;
  border: 2px solid var(--line);
  background: #fff;
  display: grid; place-items: center;
}
.track-dot svg { width: 9px; height: 9px; stroke: #fff; stroke-width: 2.4; fill: none; stroke-linecap: round; stroke-linejoin: round; display: none; }
.track-step[data-done] .track-dot { background: var(--ink); border-color: var(--ink); }
.track-step[data-done] .track-dot svg { display: block; }
.track-step[data-current] .track-dot { border-color: var(--ink); box-shadow: 0 0 0 4px rgba(11,11,11,.12); }
.track-step h3 { margin: 0; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.track-step p { margin: 4px 0 0; font-size: 12.5px; color: var(--muted); line-height: 1.5; }
.track-step[data-pending] h3 { color: var(--muted); }

.order-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  gap: var(--rail-gap);
  padding: clamp(20px, 3vw, 40px) var(--gutter) 70px;
  align-items: start;
}
.detail-panel { border: 1px solid var(--line); padding: clamp(20px, 2.5vw, 30px); }
.detail-panel + .detail-panel { margin-top: var(--rail-gap); }
.detail-panel h2 { margin: 0 0 16px; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.detail-panel .meta-row { display: flex; justify-content: space-between; gap: 12px; font-size: 13.5px; padding: 7px 0; }
.detail-panel .meta-row span:first-child { color: var(--muted); }
.detail-panel .meta-row strong { font-weight: 700; }
.detail-panel address { font-style: normal; font-size: 13.5px; line-height: 1.7; color: var(--ink-soft); }

/* ---------- Checkout ---------- */
.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
  gap: clamp(20px, 3vw, 48px);
  padding: clamp(20px, 3vw, 40px) var(--gutter) 70px;
  align-items: start;
}
.checkout-form { display: grid; gap: 28px; }
.checkout-form fieldset { border: 1px solid var(--line); padding: clamp(18px, 2.5vw, 28px); margin: 0; display: grid; gap: 16px; }
.checkout-form legend { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: 0 8px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.option {
  display: flex; align-items: center; gap: 12px;
  border: 1px solid var(--line);
  padding: 14px 16px;
  cursor: pointer;
  font-size: 13.5px;
}
.option:has(input:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.option input { accent-color: var(--ink); }
.option .option-price { margin-left: auto; font-weight: 700; font-size: 13px; }
.option small { display: block; color: var(--muted); font-size: 12px; margin-top: 2px; }

.summary-panel { border: 1px solid var(--line); padding: clamp(18px, 2.5vw, 28px); position: sticky; top: calc(var(--header-h, 70px) + 16px); }
.summary-panel h2 { margin: 0 0 14px; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.summary-rows { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 14px; display: grid; gap: 9px; font-size: 13.5px; }
.summary-rows div { display: flex; justify-content: space-between; gap: 12px; }
.summary-rows .grand { font-size: 15px; font-weight: 700; padding-top: 8px; border-top: 1px solid var(--line); margin-top: 6px; }

.confirm-panel { max-width: 660px; border: 1px solid var(--ink); padding: clamp(26px, 4vw, 44px); margin: clamp(20px, 3vw, 40px) var(--gutter) 70px; }
.confirm-panel h2 { margin: 0 0 10px; font-size: 20px; letter-spacing: .08em; text-transform: uppercase; }
.confirm-panel p { margin: 0 0 22px; font-size: 14px; line-height: 1.65; color: var(--ink-soft); }
.confirm-panel .hero-cta { justify-content: flex-start; }

@media (max-width: 860px) {
  .order-detail-layout, .checkout-layout { grid-template-columns: 1fr; }
  .summary-panel { position: static; }
  .field-row { grid-template-columns: 1fr; }
}


/* ---------- Admin dashboard ---------- */
.admin-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.admin-session { display: flex; align-items: center; gap: 14px; }
.admin-session span { font-size: 13px; color: var(--ink-soft); }
.admin-session .btn { min-height: 38px; padding: 0 16px; font-size: 11.5px; }

.stat-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--rail-gap);
  padding: 8px var(--gutter) 12px;
}
.stat { border: 1px solid var(--line); padding: 20px 22px; }
.stat span { display: block; font-size: clamp(20px, 2.2vw, 30px); font-weight: 700; letter-spacing: .02em; }
.stat label { display: block; margin-top: 6px; font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

.admin-section { padding: clamp(22px, 3vw, 36px) var(--gutter) 8px; }
.admin-toolbar { display: flex; align-items: center; gap: 12px 16px; flex-wrap: wrap; margin-bottom: 16px; }
.admin-toolbar .eyebrow { flex: 0 0 auto; margin-right: 6px; }
.admin-search {
  border: 1px solid var(--line);
  padding: 9px 14px;
  font: inherit; font-size: 13px;
  min-width: 200px;
  outline: none;
}
.admin-search:focus { border-color: var(--ink); }

.admin-table td { white-space: nowrap; vertical-align: middle; }
.admin-row { cursor: pointer; transition: background .15s ease; }
.admin-row:hover, .admin-row:focus-visible { background: var(--surface); outline: none; }

.drawer--wide { width: min(520px, 96vw); }
.check-inline { display: flex; align-items: center; gap: 10px; font-size: 13.5px; cursor: pointer; }
.check-inline input { accent-color: var(--ink); width: 16px; height: 16px; }
.drawer-danger { border-top: 1px solid var(--line); margin-top: 26px; padding-top: 20px; display: grid; gap: 10px; }
.drawer-danger .btn { border-color: #c8102e; color: #c8102e; }
.drawer-danger .btn:hover { background: #c8102e; color: #fff; }

.od-status-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.od-step {
  border: 1px solid var(--line);
  background: #fff;
  padding: 10px 4px;
  font-size: 10.5px;
  letter-spacing: .06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.od-step:hover { border-color: var(--ink); }
.od-step--done { background: var(--ink); border-color: var(--ink); color: #fff; }
.od-step[aria-current="true"] { box-shadow: 0 0 0 2px rgba(11,11,11,.25); }

@media (max-width: 1000px) { .stat-grid { grid-template-columns: repeat(2, 1fr); } }


/* ---------- Product images ---------- */
.card-media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.card-media .card-media-alt { opacity: 0; transition: opacity .25s ease; }
.card:hover .card-media-alt { opacity: 1; }
.line-media { display: block; position: relative; overflow: hidden; }
.line-media .media-img, .pdp-main img, .pdp-thumb img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.pdp-thumb { position: relative; overflow: hidden; }

/* ---------- PDP colors & stock ---------- */
.color-block { margin: 22px 0 0; }
.color-block span.label { display: block; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 10px; }
.color-swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.color-swatch { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--ink-soft); }
.color-swatch i { width: 18px; height: 18px; border-radius: 50%; border: 1px solid rgba(0,0,0,.18); }
.size[disabled] { opacity: .35; cursor: not-allowed; text-decoration: line-through; }
.size-stock-hint { margin: 8px 0 0; font-size: 12px; color: var(--muted); }

/* ---------- Admin product editor ---------- */
.drawer--editor { width: min(640px, 96vw); }
.pd-section { border-top: 1px solid var(--line); margin-top: 24px; padding-top: 20px; }
.pd-section:first-child { border-top: 0; margin-top: 0; padding-top: 0; }
.pd-section > h3 {
  margin: 0 0 14px;
  font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
}
.pd-images { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 12px; }
.pd-img { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--surface); }
.pd-img img { width: 100%; height: 100%; object-fit: cover; }
.pd-img .pd-img-tag {
  position: absolute; left: 6px; top: 6px;
  background: var(--ink); color: #fff;
  font-size: 9px; letter-spacing: .08em; text-transform: uppercase;
  padding: 3px 7px;
}
.pd-img-actions {
  position: absolute; inset: auto 0 0 0;
  display: flex;
  background: rgba(255,255,255,.94);
}
.pd-img-actions button {
  flex: 1; border: 0; background: none;
  padding: 7px 4px;
  font-size: 10px; letter-spacing: .04em;
  cursor: pointer;
}
.pd-img-actions button:hover { background: var(--line-soft); }
.pd-img-actions button + button { border-left: 1px solid var(--line); }
.file-btn { position: relative; overflow: hidden; cursor: pointer; }
.file-btn input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.pd-empty-images { font-size: 12.5px; color: var(--muted); margin: 0 0 12px; }

.size-editor, .color-editor { display: grid; gap: 8px; }
.size-row, .color-row { display: grid; grid-template-columns: 1fr 110px 34px; gap: 8px; align-items: center; }
.color-row { grid-template-columns: 1fr 54px 34px; }
.size-row input, .color-row input[type="text"] {
  border: 1px solid var(--line); padding: 10px 12px; font: inherit; font-size: 13px; width: 100%;
}
.color-row input[type="color"] {
  width: 100%; height: 40px; padding: 3px;
  border: 1px solid var(--line); background: #fff; cursor: pointer;
}
.row-remove {
  width: 34px; height: 40px;
  border: 1px solid var(--line); background: #fff;
  font-size: 15px; cursor: pointer;
}
.row-remove:hover { border-color: #c8102e; color: #c8102e; }
.editor-add { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.editor-add .chip { font-size: 12px; }

/* ---------- Admin categories ---------- */
.cat-row { display: grid; grid-template-columns: 140px 1fr auto auto; gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line-soft); }
.cat-row code { font-size: 12px; color: var(--muted); }
.cat-row input { border: 1px solid var(--line); padding: 9px 12px; font: inherit; font-size: 13px; }
.cat-row .btn { min-height: 36px; padding: 0 14px; font-size: 11px; }
.cat-add { display: grid; grid-template-columns: 140px 1fr auto; gap: 10px; margin-top: 14px; }
.cat-add input { border: 1px solid var(--line); padding: 9px 12px; font: inherit; font-size: 13px; }
@media (max-width: 720px) {
  .cat-row, .cat-add { grid-template-columns: 1fr; }
  .pd-images { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- Tones (product placeholder palettes) ---------- */
.tone-1  { background: linear-gradient(158deg, #efe7d6, #ddd3c1); }
.tone-2  { background: linear-gradient(158deg, #f4ecd9, #e2dbc9); }
.tone-3  { background: linear-gradient(158deg, #ece5d8, #d8d0be); }
.tone-4  { background: linear-gradient(158deg, #f6dee6, #e5c5d1); }
.tone-5  { background: linear-gradient(158deg, #e6e6e6, #cfcfcf); }
.tone-6  { background: linear-gradient(158deg, #dcd7d0, #c3bcb2); }
.tone-7  { background: linear-gradient(158deg, #4a4a4a, #2a2a2a); }
.tone-8  { background: linear-gradient(158deg, #2f2f2f, #141414); }
.tone-9  { background: linear-gradient(158deg, #3d444d, #22272d); }
.tone-10 { background: linear-gradient(158deg, #5a5f63, #33383c); }
.tone-11 { background: linear-gradient(158deg, #4a423c, #26211d); }
.tone-12 { background: linear-gradient(158deg, #343434, #171717); }
[class*="tone-"] { color: rgba(0,0,0,.32); }
.tone-7, .tone-8, .tone-9, .tone-10, .tone-11, .tone-12 { color: rgba(255,255,255,.4); }
.tone-dark .wish svg { stroke: #fff; }
.tone-dark .wish[aria-pressed="true"] svg { fill: #fff; }
