/* ==========================================================================
   The Clothes Depo | styles.css
   A curated archive: editorial, product-focused, neutral. Mobile first.
   ========================================================================== */

/* ---------- Design tokens ----------
   Palette (three colours only):
     White     #FFFFFF  main background and surfaces
     Grey      #929292  contrast: borders, dividers, large display accents
     Gunmetal  #2A3439  text, buttons, hover states, animation and dark bands
   Two tints derived from these are used sparingly:
     #EEEEEE  grey on white, for subtle panels
     #555D61  gunmetal on white, for secondary text
   Grey is only 3.1:1 on white, so it is never used for small text. */
:root {
  --white: #ffffff;
  --grey: #929292;
  --gunmetal: #2a3439;
  --grey-tint: #eeeeee;
  --gunmetal-soft: #555d61;

  --bg: var(--white);
  --surface: var(--white);
  --surface-2: var(--grey-tint);
  --ink: var(--gunmetal);
  --ink-soft: var(--gunmetal-soft);
  --line: var(--grey);
  --line-soft: rgba(146, 146, 146, 0.45);
  --accent: var(--gunmetal);
  --accent-ink: var(--white);
  --shadow: 5px 5px 0 var(--grey);

  --font-display: "Arial Black", "Archivo Black", "Helvetica Neue", Arial, system-ui, sans-serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;

  --gutter: clamp(16px, 4vw, 40px);
  --maxw: 1360px;
  --header-h: 64px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html:has(dialog[open]) { overflow: hidden; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.55 var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
[hidden] { display: none !important; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: 0.18em; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }

:focus-visible { outline: 3px solid var(--gunmetal); outline-offset: 2px; }
.announce :focus-visible, .ticker :focus-visible, .footer :focus-visible { outline-color: var(--white); }

section[id] { scroll-margin-top: calc(var(--header-h) + 8px); }
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.mono { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -80px; z-index: 100;
  padding: 12px 18px; background: var(--accent); color: var(--accent-ink);
  font-weight: 800; text-decoration: none;
}
.skip-link:focus { top: 12px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- Typography ---------- */
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 0.98;
}
h1 { font-size: clamp(2.2rem, 7vw, 4.6rem); letter-spacing: -0.03em; line-height: 0.94; }
h2 { font-size: clamp(1.9rem, 5vw, 3.4rem); }
h3 { font-size: 1.1rem; letter-spacing: 0; line-height: 1.15; }
h4 {
  font-family: var(--font-mono); font-size: 0.8rem; text-transform: uppercase;
  letter-spacing: 0.08em; margin-bottom: 12px;
}
.eyebrow {
  font-family: var(--font-mono); font-size: 0.78rem; text-transform: uppercase;
  letter-spacing: 0.14em; color: var(--ink); margin-bottom: 14px;
}
.eyebrow::before {
  content: ""; display: inline-block; width: 28px; height: 10px; margin-right: 10px;
  background: repeating-linear-gradient(-45deg, var(--grey) 0 5px, var(--gunmetal) 5px 10px);
}
.lead { max-width: 60ch; color: var(--ink-soft); font-size: clamp(1rem, 2.2vw, 1.18rem); margin-top: 20px; }
.prose { max-width: 68ch; }
.prose p { margin-bottom: 1.1em; color: var(--ink-soft); }
.prose h2 { font-size: clamp(1.5rem, 3.6vw, 2.2rem); margin: 1.6em 0 0.6em; }
.prose h2:first-child { margin-top: 0; }
.prose ul { margin: 0 0 1.2em; display: grid; gap: 8px; }
.prose li { padding-left: 22px; position: relative; color: var(--ink-soft); }
.prose li::before {
  content: ""; position: absolute; left: 0; top: 0.55em; width: 10px; height: 10px;
  background: var(--gunmetal); border: 2px solid var(--grey);
}
.prose a { font-weight: 700; color: var(--ink); }

/* ---------- Buttons ---------- */
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
  min-height: 48px; padding: 0 22px;
  border: 2px solid var(--grey); background: var(--white); color: var(--gunmetal);
  font-weight: 800; font-size: 0.88rem; text-transform: uppercase; letter-spacing: 0.05em;
  text-decoration: none; text-align: center;
  transition: color 0.25s ease, border-color 0.25s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--gunmetal);
  transform: translateX(-101%); transition: transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.btn:hover, .btn:focus-visible { color: var(--white); border-color: var(--gunmetal); }
.btn:hover::before, .btn:focus-visible::before { transform: translateX(0); }
.btn:active { transform: translateY(1px); }
.btn--accent { background: var(--gunmetal); color: var(--white); border-color: var(--gunmetal); }
.btn--accent::before { display: none; }
.btn--accent:hover, .btn--accent:focus-visible { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--grey); }
.btn--accent:active { transform: none; box-shadow: none; }
.btn--inv { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, 0.7); }
.btn--inv::before { background: var(--white); }
.btn--inv:hover, .btn--inv:focus-visible { color: var(--gunmetal); border-color: var(--white); }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: 0.78rem; }
.btn--block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.45; pointer-events: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.icon-btn {
  display: inline-grid; place-items: center; width: 44px; height: 44px;
  background: transparent; border: 2px solid transparent;
}
.icon-btn:hover { border-color: var(--ink); }
.icon-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }

/* ---------- Announcement bar ---------- */
.announce {
  background: var(--accent); color: var(--accent-ink); text-align: center;
  font-size: 0.78rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase;
}
.announce a { display: block; padding: 10px var(--gutter); text-decoration: none; }
.announce a:hover { text-decoration: underline; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--bg); border-bottom: 2px solid var(--line); }
.site-header__bar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: var(--header-h); max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter);
}
.brand { display: inline-flex; align-items: center; flex: none; text-decoration: none; }
.brand img { display: block; height: 40px; width: auto; }
.brand--inv img { height: 68px; }
@media (min-width: 1080px) { .site-header .brand img { height: 46px; } }

.primary-nav { display: none; align-items: center; gap: 26px; }
.primary-nav a {
  text-decoration: none; font-weight: 800; font-size: 0.82rem; text-transform: uppercase;
  letter-spacing: 0.06em; padding: 8px 0; border-bottom: 3px solid transparent;
}
.primary-nav a:hover { border-bottom-color: var(--grey); }
.primary-nav a[aria-current="page"] { border-bottom-color: var(--gunmetal); }
.utilities { display: flex; align-items: center; gap: 8px; }
.utilities .cta { display: none; }
@media (min-width: 1080px) {
  .primary-nav { display: flex; }
  .utilities .cta { display: inline-flex; }
  .menu-btn { display: none; }
}

/* ---------- Drawer and dialogs ---------- */
dialog {
  border: 2px solid var(--line); padding: 0; background: var(--surface); color: var(--ink); max-width: none;
}
dialog::backdrop { background: rgba(42, 52, 57, 0.65); }
.drawer { margin: 0 0 0 auto; width: min(420px, 100%); height: 100dvh; max-height: none; border-width: 0 0 0 2px; }
.drawer__panel { display: flex; flex-direction: column; height: 100%; }
.drawer__head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 12px 10px var(--gutter); border-bottom: 2px solid var(--line);
}
.drawer nav { flex: 1; overflow-y: auto; padding: 8px var(--gutter) 20px; }
.drawer__list > li { border-bottom: 1px solid var(--line-soft); }
.drawer__list a {
  display: block; padding: 14px 0; font-family: var(--font-display);
  text-transform: uppercase; text-decoration: none; font-size: 1.25rem;
}
.drawer__list a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 3px; }
.drawer__foot { display: grid; gap: 10px; padding: 16px var(--gutter) 22px; border-top: 2px solid var(--line); }

.modal { margin: auto; max-height: 92dvh; overflow: hidden; }
.modal__panel { position: relative; max-height: 92dvh; overflow-y: auto; padding: 24px; }
.modal__close { position: absolute; top: 8px; right: 8px; z-index: 2; background: var(--surface); border-color: var(--line); }
.modal--search { width: min(680px, calc(100% - 20px)); margin-top: 6dvh; }
.search__head { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; padding-right: 48px; }
.search__input {
  flex: 1; min-height: 52px; padding: 0 14px; background: var(--bg);
  border: 2px solid var(--line); border-radius: 0; font-size: 1rem;
}
.search__input:focus { border-color: var(--gunmetal); }
.search__status { margin: 10px 0; color: var(--ink-soft); }
.search__results { display: grid; gap: 6px; }
.result {
  display: flex; align-items: center; gap: 14px; width: 100%; padding: 8px;
  text-align: left; text-decoration: none; border: 2px solid transparent;
}
.result:hover, .result:focus-visible { border-color: var(--line); background: var(--surface-2); }
.result img { width: 48px; height: 60px; object-fit: cover; border: 2px solid var(--line); flex: none; }
.result__t { display: block; font-weight: 800; font-size: 0.95rem; }
.result__d { display: block; color: var(--ink-soft); font-size: 0.8rem; }
.search__all { margin-top: 16px; width: 100%; }

/* ---------- Home hero ---------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(44px, 8vw, 110px); }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(rgba(146, 146, 146, 0.22) 1px, transparent 1px) 0 0 / 56px 56px,
    linear-gradient(90deg, rgba(146, 146, 146, 0.22) 1px, transparent 1px) 0 0 / 56px 56px;
}
.hero__grid { position: relative; display: grid; gap: 44px; align-items: center; }
.hero h1 { font-size: clamp(2.7rem, 10vw, 7.2rem); line-height: 0.9; letter-spacing: -0.035em; }
.hero .hl { color: var(--grey); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.tag {
  position: relative; justify-self: start; width: min(100%, 340px); padding: 54px 26px 24px;
  background: var(--gunmetal); color: var(--white); transform: rotate(-2.5deg); box-shadow: 8px 8px 0 var(--grey);
}
.tag__hole {
  position: absolute; top: 16px; left: 50%; width: 22px; height: 22px; margin-left: -11px;
  border-radius: 50%; background: var(--white); box-shadow: inset 0 0 0 3px var(--grey);
}
.tag__label { margin-bottom: 14px; color: rgba(255, 255, 255, 0.78); }
.tag__list li {
  display: flex; gap: 14px; align-items: baseline; padding: 12px 0;
  border-top: 2px solid rgba(255, 255, 255, 0.55);
  font-family: var(--font-display); text-transform: uppercase; font-size: 1.02rem; line-height: 1.15;
}
.tag__list .mono { color: var(--gunmetal); background: var(--white); padding: 2px 6px; }
.tag__foot { margin-top: 12px; padding-top: 12px; border-top: 2px solid rgba(255, 255, 255, 0.55); color: rgba(255, 255, 255, 0.78); }
@media (min-width: 900px) {
  .hero__grid { grid-template-columns: 1.6fr 1fr; }
  .tag { justify-self: end; }
}

/* ---------- Ticker ---------- */
.ticker { overflow: hidden; background: var(--gunmetal); color: var(--white); border-block: 2px solid var(--gunmetal); }
.ticker__track { display: flex; width: max-content; animation: tick 60s linear infinite; }
.ticker span {
  padding: 12px 26px; font-family: var(--font-display); text-transform: uppercase;
  font-size: 0.9rem; white-space: nowrap;
}
.ticker span::after { content: "/"; margin-left: 52px; opacity: 0.55; }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding-block: clamp(48px, 7vw, 96px); }
.section--tint { background: var(--surface-2); }
.section--dark { background: var(--gunmetal); color: var(--white); }
.section--dark .lead, .section--dark .prose p { color: rgba(255, 255, 255, 0.82); }
.section__head { margin-bottom: clamp(26px, 4vw, 44px); }
.section__head--row { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px; }
.section__note { max-width: 46ch; color: var(--ink-soft); font-size: 0.95rem; }

.pagehead { padding-block: clamp(34px, 6vw, 72px); border-bottom: 2px solid var(--line); }
.pagehead .lead { margin-top: 16px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px 10px; margin-bottom: 18px; color: var(--ink-soft); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; color: var(--ink); }
.crumbs li + li::before { content: "/"; margin-right: 10px; color: var(--grey); }
.crumbs { flex-direction: row; }

.pillars { display: grid; gap: 18px; }
.pillar { padding: 24px; border: 2px solid var(--line); background: var(--surface); }
.pillar__n { display: inline-block; margin-bottom: 16px; background: var(--ink); color: var(--bg); padding: 3px 8px; }
.pillar h3 { margin-bottom: 8px; }
.pillar p { color: var(--ink-soft); font-size: 0.95rem; }
@media (min-width: 760px) { .pillars { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Brand and collection cards ---------- */
.brand-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 720px) { .brand-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .brand-grid { grid-template-columns: repeat(4, 1fr); } }
.brand-card {
  display: flex; flex-direction: column; justify-content: space-between; gap: 40px; min-height: 170px; padding: 18px;
  border: 2px solid var(--line); background: var(--surface); text-decoration: none;
  transition: transform 0.12s ease, box-shadow 0.12s ease, border-color 0.2s ease;
}
.brand-card:hover, .brand-card:focus-visible { transform: translate(-3px, -3px); box-shadow: var(--shadow); border-color: var(--gunmetal); }
.brand-card__name { font-family: var(--font-display); text-transform: uppercase; font-size: 1.3rem; line-height: 1.05; overflow-wrap: anywhere; }
.brand-card__meta { color: var(--ink-soft); }

.coll-grid { display: grid; gap: 16px; }
@media (min-width: 720px) { .coll-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .coll-grid--home { grid-template-columns: repeat(3, 1fr); } }
.coll-card {
  display: grid; gap: 16px; padding: 20px; border: 2px solid var(--line); background: var(--surface); text-decoration: none;
  transition: transform 0.12s ease, box-shadow 0.12s ease, border-color 0.2s ease;
}
.coll-card:hover, .coll-card:focus-visible { transform: translate(-3px, -3px); box-shadow: var(--shadow); border-color: var(--gunmetal); }
.coll-card__thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.coll-card__thumbs img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border: 2px solid var(--line-soft); }
.coll-card__thumbs span { aspect-ratio: 4 / 5; background: var(--surface-2); border: 2px dashed var(--line-soft); }
.coll-card h3 { font-size: 1.4rem; }
.coll-card p { color: var(--ink-soft); font-size: 0.94rem; }

/* ---------- Catalogue ---------- */
.notice {
  margin-bottom: 20px; padding: 12px 16px; font-size: 0.88rem;
  background: repeating-linear-gradient(-45deg, var(--surface) 0 14px, var(--surface-2) 14px 28px);
  border: 2px dashed var(--line);
}
.toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding-bottom: 16px; border-bottom: 2px solid var(--line); }
.toolbar__count { margin-left: auto; font-family: var(--font-mono); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-soft); }
.searchbox { flex: 1 1 220px; min-width: 0; }
.searchbox input { width: 100%; }
.sort { display: inline-flex; align-items: center; gap: 8px; }
input[type="text"], input[type="email"], input[type="tel"], input[type="search"], select, textarea {
  min-height: 44px; padding: 0 12px; background: var(--surface);
  border: 2px solid var(--line); border-radius: 0; width: 100%;
}
textarea { padding: 10px 12px; min-height: 130px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--gunmetal); }
.sort select { width: auto; max-width: 100%; }
@media (min-width: 960px) { .filter-toggle { display: none; } }

.active { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.pill {
  display: inline-flex; align-items: center; gap: 8px; min-height: 34px; padding: 0 10px 0 12px;
  background: var(--ink); color: var(--bg); border: 0; font-size: 0.8rem; font-weight: 700;
}
.pill::after { content: "\00d7"; font-size: 1.15rem; line-height: 1; }
.pill--clear { background: transparent; color: var(--ink); border: 2px solid var(--line); }
.pill--clear::after { content: none; }

.shop { display: grid; gap: 28px; margin-top: 24px; }
@media (min-width: 960px) { .shop { grid-template-columns: 250px 1fr; gap: 40px; } }
.rail { display: none; }
.rail.is-open { display: block; padding: 18px; background: var(--surface); border: 2px solid var(--line); }
@media (min-width: 960px) {
  .rail, .rail.is-open {
    display: block; padding: 0 6px 0 0; background: transparent; border: 0;
    position: sticky; top: calc(var(--header-h) + 16px); align-self: start;
    max-height: calc(100dvh - var(--header-h) - 32px); overflow-y: auto;
  }
}
.rail__block { padding-block: 16px; border-top: 2px solid var(--line); }
.rail__block:first-child { border-top: 0; padding-top: 0; }
.rail__title { margin-bottom: 12px; }

.tree__btn {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; min-height: 40px;
  padding: 6px 10px; background: transparent; border: 0; border-left: 4px solid transparent;
  text-align: left; font-weight: 700; font-size: 0.92rem;
}
.tree__btn:hover { background: var(--surface-2); }
.tree__btn[aria-pressed="true"] { border-left-color: var(--accent); background: var(--surface-2); }
.tree__n { font-family: var(--font-mono); font-size: 0.72rem; color: var(--ink-soft); }
.tree__sub { margin: 2px 0 8px 14px; border-left: 2px solid var(--line-soft); }
.tree__sub .tree__btn { font-weight: 600; font-size: 0.88rem; min-height: 36px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 38px; min-width: 44px; padding: 0 12px; background: transparent;
  border: 2px solid var(--line); font-size: 0.82rem; font-weight: 700;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.chip:hover { background: var(--surface-2); border-color: var(--gunmetal); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.chip[disabled] { opacity: 0.4; text-decoration: line-through; pointer-events: none; }
.chip small { font-family: var(--font-mono); font-size: 0.68rem; opacity: 0.8; }
.swatch { width: 14px; height: 14px; border-radius: 50%; border: 1px solid var(--line); flex: none; }

/* ---------- Product grid and cards ---------- */
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (min-width: 720px) { .grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
@media (min-width: 1200px) { .grid { grid-template-columns: repeat(4, 1fr); } }
.grid--four { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 720px) { .grid--four { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .grid--four { grid-template-columns: repeat(4, 1fr); } }

.card {
  position: relative; display: flex; flex-direction: column; background: var(--surface); border: 2px solid var(--line);
  transition: transform 0.12s ease, box-shadow 0.12s ease, border-color 0.2s ease;
}
.card:hover, .card:focus-within { transform: translate(-3px, -3px); box-shadow: var(--shadow); border-color: var(--gunmetal); }
.card__link { display: flex; flex-direction: column; flex: 1; text-decoration: none; }
.card__media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-bottom: 2px solid var(--line); background: var(--surface-2); }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card--sold .card__media img { filter: grayscale(1); opacity: 0.55; }
.card__badge {
  position: absolute; left: 0; top: 10px; padding: 3px 9px; background: var(--accent); color: var(--accent-ink);
  font-family: var(--font-mono); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
}
.card__badge--sample {
  left: auto; right: 0; background: var(--white); color: var(--gunmetal);
  border: 2px solid var(--grey); border-right: 0; padding: 1px 9px;
}
.card__body { padding: 12px 12px 14px; display: grid; gap: 4px; align-content: start; }
.card__brand { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); }
.card__title { font-size: 0.95rem; font-weight: 800; line-height: 1.25; font-family: var(--font-body); text-transform: none; letter-spacing: 0; }
.card__meta { font-size: 0.82rem; color: var(--ink-soft); }
.card__foot { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.card__price { margin-top: 6px; font-family: var(--font-mono); font-size: 0.8rem; font-weight: 700; }

.tagpill, .status {
  display: inline-block; padding: 3px 9px; border: 2px solid var(--gunmetal);
  font-family: var(--font-mono); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; line-height: 1.3;
}
.tagpill--dead-stock { background: var(--gunmetal); color: var(--white); }
.tagpill--premium-nostalgia { background: var(--grey-tint); color: var(--gunmetal); }
.status { border-color: var(--grey); background: var(--white); color: var(--gunmetal); }
.status--available { border-color: var(--gunmetal); }
.status--sold { background: var(--grey-tint); color: var(--gunmetal-soft); border-style: dashed; }
.status--reserved { border-style: dashed; border-color: var(--gunmetal); }

.empty { padding: 56px 20px; text-align: center; border: 2px dashed var(--line); }
.empty h3 { margin-bottom: 10px; }
.empty p { color: var(--ink-soft); margin-bottom: 20px; }
.loading { padding: 40px 0; color: var(--ink-soft); font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.8rem; }

/* ---------- Product page ---------- */
.pdp { display: grid; gap: 30px; padding-block: clamp(24px, 4vw, 48px) clamp(40px, 6vw, 80px); }
@media (min-width: 900px) { .pdp { grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: start; } }
.gallery__main { aspect-ratio: 4 / 5; border: 2px solid var(--line); background: var(--surface-2); overflow: hidden; }
.gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.gallery__thumbs button { width: 68px; height: 85px; padding: 0; border: 2px solid var(--line-soft); background: none; }
.gallery__thumbs button[aria-current="true"] { border-color: var(--gunmetal); }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pdp__info { display: grid; gap: 16px; align-content: start; }
.pdp__brand { font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.8rem; }
.pdp__brand a { text-decoration: none; border-bottom: 2px solid var(--grey); }
.pdp__brand a:hover { border-bottom-color: var(--gunmetal); }
.pdp__title { font-size: clamp(1.7rem, 4.6vw, 2.7rem); }
.pdp__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.pdp__price { font-family: var(--font-mono); font-weight: 700; font-size: 1.05rem; }
.pdp__price small { display: block; font-weight: 400; color: var(--ink-soft); font-size: 0.78rem; }
.specs { display: grid; grid-template-columns: auto 1fr; gap: 10px 20px; padding-block: 16px; border-block: 2px solid var(--line); font-size: 0.94rem; }
.specs dt { font-family: var(--font-mono); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-soft); padding-top: 3px; }
.specs dd { font-weight: 600; margin: 0; }
.sizepick__label { margin-bottom: 8px; }
.measure { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.measure th, .measure td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line-soft); }
.measure th { font-family: var(--font-mono); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 400; color: var(--ink-soft); }
.pdp__desc { color: var(--ink-soft); max-width: 62ch; }
.pdp__actions { display: grid; gap: 10px; }
.pdp__fine { font-size: 0.82rem; color: var(--ink-soft); }
.pdp__help { font-size: 0.86rem; color: var(--ink); min-height: 1.3em; font-weight: 700; }

/* ---------- Bands, forms, contact ---------- */
.cta-band { display: grid; gap: 22px; align-items: center; }
@media (min-width: 860px) { .cta-band { grid-template-columns: 1.4fr 1fr; gap: 48px; } .cta-band .btn-row { justify-content: flex-end; } }

.form { display: grid; gap: 16px; max-width: 680px; }
.form__row { display: grid; gap: 16px; }
@media (min-width: 640px) { .form__row--2 { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 6px; }
.field > span, .fieldset > legend { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; }
.fieldset { border: 0; padding: 0; margin: 0; }
.fieldset legend { padding: 0; margin-bottom: 8px; }
.checks { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.check { display: inline-flex; gap: 10px; align-items: center; min-height: 36px; font-size: 0.92rem; }
.check input { width: 20px; height: 20px; margin: 0; accent-color: var(--gunmetal); }
.form__msg { min-height: 1.5em; font-size: 0.92rem; font-weight: 700; }
.form__msg[data-tone="error"] { padding-left: 10px; border-left: 4px solid var(--gunmetal); }
.form__fine { font-size: 0.82rem; color: var(--ink-soft); max-width: 62ch; }
.two-col { display: grid; gap: 40px; }
@media (min-width: 900px) { .two-col { grid-template-columns: 1.3fr 1fr; gap: 64px; align-items: start; } }
.contact-cards { display: grid; gap: 14px; }
.contact {
  display: block; padding: 20px; border: 2px solid var(--line); text-decoration: none;
  transition: transform 0.12s ease, box-shadow 0.12s ease, border-color 0.2s ease;
}
.contact:hover, .contact:focus-visible { transform: translate(-3px, -3px); box-shadow: var(--shadow); border-color: var(--gunmetal); }
.contact__t { display: block; font-family: var(--font-display); text-transform: uppercase; font-size: 1rem; margin-bottom: 6px; }
.contact__d { display: block; color: var(--ink-soft); font-size: 0.92rem; }

.steps { display: grid; gap: 18px; counter-reset: s; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { padding: 24px; background: var(--surface); border: 2px solid var(--line); }
.step__n { display: inline-block; margin-bottom: 16px; background: var(--ink); color: var(--bg); padding: 3px 8px; }
.step h3 { margin-bottom: 8px; }
.step p { color: var(--ink-soft); font-size: 0.95rem; }

/* ---------- WhatsApp shortcut ---------- */
.wa-fab {
  position: fixed; right: 16px; bottom: 16px; z-index: 40; display: inline-flex; align-items: center; gap: 8px;
  min-height: 48px; padding: 0 18px; background: var(--gunmetal); color: var(--white);
  border: 2px solid var(--white); box-shadow: 4px 4px 0 var(--grey);
  font-weight: 800; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.05em; text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.wa-fab:hover, .wa-fab:focus-visible { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--grey); }
.wa-fab svg { width: 20px; height: 20px; fill: currentColor; }

/* ---------- Footer ---------- */
.footer { background: var(--gunmetal); color: var(--white); padding-top: 56px; }
.footer__grid { display: grid; gap: 34px; grid-template-columns: repeat(2, 1fr); }
.footer__brand { grid-column: 1 / -1; max-width: 40ch; }
.footer__brand p { margin-top: 14px; color: rgba(255, 255, 255, 0.78); font-size: 0.92rem; }
.footer__col h2 { font-size: 0.75rem; margin-bottom: 14px; color: var(--white); font-family: var(--font-mono); letter-spacing: 0.08em; }
.footer__col li { margin-bottom: 4px; }
.footer__col a { display: inline-block; padding: 5px 0; text-decoration: none; font-size: 0.92rem; color: rgba(255, 255, 255, 0.86); }
.footer__col a:hover { color: var(--white); text-decoration: underline; }
.footer__base {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
  margin-top: 44px; padding-block: 22px 84px; border-top: 1px solid rgba(255, 255, 255, 0.28);
  font-size: 0.8rem; color: rgba(255, 255, 255, 0.78);
}
.footer__base p { max-width: 70ch; }
@media (min-width: 860px) {
  .footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; }
  .footer__brand { grid-column: auto; }
}

.noscript { padding: 14px var(--gutter); background: var(--accent); color: var(--accent-ink); font-weight: 700; text-align: center; }
.noscript a { color: inherit; }
