/* ============================================================
   TRADE MADE — Design tokens & base
   Palette: charcoal + safety orange + hi-vis yellow
   Type: Barlow Condensed (display) / Barlow (body)
   ============================================================ */
:root {
  --bg: #15130f;
  --bg-2: #1e1b16;
  --bg-3: #27231d;
  --fg: #f5f1ea;
  --fg-muted: #b3ab9d;
  --fg-faint: #7a7368;
  --line: rgba(255, 255, 255, 0.09);
  --orange: #ffcc00;        /* accent is the logo yellow */
  --orange-deep: #e6b800;
  --on-orange: #15130f;
  --yellow: #ffcc00;
  --on-yellow: #15130f;
  --danger: #e5484d;
  --success: #3fb950;

  --font-display: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  --font-body: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-24: 6rem;

  --radius-sm: 3px;
  --radius: 6px;
  --container: 1240px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --dur: 220ms;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
button, input, select, textarea { font-family: inherit; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 1;
  margin: 0;
}
h1 { font-size: clamp(3rem, 8vw, 6.5rem); }
h2 { font-size: clamp(2.25rem, 5vw, 3.75rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
p { margin: 0 0 var(--space-4); }
.eyebrow {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--orange);
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
}
.eyebrow::before { content: ""; width: 28px; height: 3px; background: var(--orange); }
.muted { color: var(--fg-muted); }
.lead { font-size: 1.15rem; color: var(--fg-muted); max-width: 60ch; }

.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }
.section { padding-block: var(--space-16); }
@media (min-width: 900px) { .section { padding-block: var(--space-24); } }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: var(--space-4); margin-bottom: var(--space-8); }

/* Hazard stripe utility */
.stripe {
  height: 10px;
  background: repeating-linear-gradient(-45deg, var(--yellow) 0 18px, var(--bg) 18px 36px);
}
.stripe--orange {
  background: repeating-linear-gradient(-45deg, var(--orange) 0 18px, var(--bg) 18px 36px);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  min-height: 48px; padding: 0 var(--space-6);
  font-family: var(--font-display); font-weight: 700; font-size: 1.1rem;
  text-transform: uppercase; letter-spacing: 0.06em;
  border: 2px solid transparent; border-radius: var(--radius-sm);
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease), transform var(--dur) var(--ease), border-color var(--dur) var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--orange); color: var(--on-orange); border-color: var(--orange); }
.btn--primary:hover { background: var(--orange-deep); border-color: var(--orange-deep); }
.btn--ghost { background: transparent; color: var(--fg); border-color: rgba(255,255,255,0.35); }
.btn--ghost:hover { border-color: var(--fg); background: rgba(255,255,255,0.04); }
.btn--yellow { background: var(--yellow); color: var(--on-yellow); border-color: var(--yellow); }
.btn--yellow:hover { background: #e6b800; border-color: #e6b800; }
.btn--block { width: 100%; }
.btn--sm { min-height: 40px; padding: 0 var(--space-4); font-size: 0.95rem; }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; transform: none; }

/* ---------- Announcement + Header ---------- */
.announce {
  background: var(--yellow); color: var(--on-yellow);
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em;
  font-size: 0.85rem; text-align: center; padding: var(--space-2) var(--space-4);
}
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(21,19,15,0.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); min-height: 80px; }
.logo { display: inline-flex; align-items: center; gap: var(--space-3); }
.logo__mark { width: 64px; height: auto; flex: none; }
.logo__word { width: 180px; height: auto; display: block; }
@media (min-width: 900px) { .logo__word { width: 240px; } }
.mobile-nav .logo__word { width: 200px; }
.footer__brand { display: flex; flex-direction: column; align-items: center; text-align: center; }
.footer__brand img { width: min(100%, 300px); height: auto; }
.footer__brand p { margin: 1rem 0 0; max-width: 36ch; }
.logo__text { font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; text-transform: uppercase; letter-spacing: 0.04em; line-height: 1; }
.logo__text span { color: var(--orange); }
.nav { display: none; gap: var(--space-6); }
.nav a { font-family: var(--font-display); font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; font-size: 1rem; color: var(--fg-muted); padding: var(--space-2) 0; position: relative; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform var(--dur) var(--ease); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--fg); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
@media (min-width: 900px) { .nav { display: flex; } }
.header__actions { display: flex; align-items: center; gap: var(--space-2); }
.icon-btn {
  display: inline-flex; align-items: center; justify-content: center; position: relative;
  width: 44px; height: 44px; border-radius: var(--radius-sm); background: transparent; border: 0;
  transition: background var(--dur) var(--ease);
}
.icon-btn:hover { background: rgba(255,255,255,0.06); }
.icon-btn svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.cart-count {
  position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: 999px; background: var(--orange); color: var(--on-orange);
  font-family: var(--font-display); font-weight: 700; font-size: 0.75rem; line-height: 18px; text-align: center;
}
.cart-count[hidden] { display: none; }
.menu-btn { display: inline-flex; }
@media (min-width: 900px) { .menu-btn { display: none; } }

/* Mobile nav */
.mobile-nav {
  position: fixed; inset: 0; z-index: 60; background: var(--bg);
  transform: translateX(100%); transition: transform 280ms var(--ease);
  padding: var(--space-6); display: flex; flex-direction: column;
}
.mobile-nav.is-open { transform: translateX(0); }
.mobile-nav__top { display: flex; justify-content: space-between; align-items: center; }
.mobile-nav a { font-family: var(--font-display); font-size: 2.25rem; font-weight: 700; text-transform: uppercase; padding: var(--space-3) 0; border-bottom: 1px solid var(--line); }
.mobile-nav a:hover { color: var(--orange); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero__bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 70% at 80% 20%, rgba(255,204,0,0.16), transparent 60%),
    radial-gradient(ellipse 50% 60% at 10% 90%, rgba(255,204,0,0.10), transparent 60%),
    linear-gradient(180deg, var(--bg-2), var(--bg));
}
/* Photo hero: add class "hero--photo" to <section class="hero"> once assets/hero-bg.webp exists */
.hero--photo .hero__bg {
  background:
    linear-gradient(90deg, rgba(21,19,15,0.92) 0%, rgba(21,19,15,0.65) 40%, rgba(21,19,15,0.08) 75%, rgba(21,19,15,0.02) 100%),
    linear-gradient(180deg, rgba(21,19,15,0.15), rgba(21,19,15,0.35) 70%, rgba(21,19,15,0.98)),
    url("../assets/hero-bg.webp") center / cover no-repeat;
}
.hero--photo .hero__grid { opacity: 0.15; }
/* In photo mode the lineman is the hero subject: hide the tee mockup, keep the tag */
.hero--photo .hero__art .tee { display: none; }
.hero--photo .hero__art { min-height: 320px; }
.hero--photo .hero__tag { right: 0; bottom: -6%; }

.hero__photo-m { display: none; }
@media (max-width: 899px) {
  /* Mobile: dark gradient only behind the text, then a dedicated crop of the lineman below the buttons */
  .hero--photo .hero__bg {
    background:
      linear-gradient(180deg, rgba(21,19,15,0.75), rgba(21,19,15,0.92)),
      url("../assets/hero-bg.webp") 40% 0 / cover no-repeat;
  }
  .hero--photo .hero__inner { padding-bottom: 0; gap: var(--space-6); }
  /* Tee on the left, lineman crop on the right */
  .hero--photo .hero__art {
    min-height: 0; width: calc(100% + 2.5rem); margin-inline: -1.25rem;
    display: grid; grid-template-columns: 1fr 1.1fr; align-items: center; gap: 0;
  }
  .hero--photo .hero__art .tee {
    display: block; width: 150%; max-width: none; position: relative; z-index: 2;
    margin-left: -8%; transform: rotate(-7deg);
    filter: drop-shadow(0 0 28px rgba(255,204,0,0.35)) drop-shadow(0 24px 30px rgba(0,0,0,0.8));
  }
  .hero__photo-m {
    display: block; width: 100%; height: 420px; object-fit: cover; object-position: 82% 42%;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 22%), linear-gradient(180deg, transparent 0, #000 14%, #000 88%, transparent 100%);
    -webkit-mask-composite: source-in;
    mask-image: linear-gradient(90deg, transparent 0, #000 22%), linear-gradient(180deg, transparent 0, #000 14%, #000 88%, transparent 100%);
    mask-composite: intersect;
  }
  .hero--photo .hero__tag { right: 1.25rem; bottom: 10%; }
}
}
.hero__grid {
  position: absolute; inset: 0; opacity: 0.35;
  background-image: linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}
.hero__inner { position: relative; display: grid; gap: var(--space-8); padding-block: var(--space-16); align-items: center; }
@media (min-width: 900px) { .hero__inner { grid-template-columns: 1.1fr 0.9fr; padding-block: var(--space-24); } }
.hero h1 { margin: var(--space-4) 0; }
.hero h1 em { font-style: normal; color: var(--orange); }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-6); }
.hero__meta { display: flex; flex-wrap: wrap; gap: var(--space-6); margin-top: var(--space-8); color: var(--fg-muted); font-size: 0.95rem; }
.hero__meta div { display: flex; align-items: center; gap: var(--space-2); }
.hero__meta svg { width: 18px; height: 18px; stroke: var(--yellow); fill: none; stroke-width: 2; }
.hero__art { position: relative; display: grid; place-items: center; }
.hero__art .tee { width: min(100%, 440px); filter: drop-shadow(0 30px 50px rgba(0,0,0,0.6)); transform: rotate(-4deg); }
.hero__logo { width: min(100%, 560px); height: auto; filter: drop-shadow(0 0 60px rgba(255,204,0,0.18)) drop-shadow(0 30px 50px rgba(0,0,0,0.7)); }
@media (min-width: 900px) { .hero__logo { width: min(100%, 620px); } }
.hero__tag {
  position: absolute; right: 2%; bottom: 2%; background: var(--yellow); color: var(--on-yellow);
  font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: 1.1rem; letter-spacing: 0.05em;
  padding: var(--space-2) var(--space-4); transform: rotate(4deg); box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--line); background: var(--bg-2); padding: var(--space-3) 0; }
.marquee__track { display: flex; gap: var(--space-8); width: max-content; animation: marquee 40s linear infinite; }
.marquee span { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em; color: var(--fg-muted); white-space: nowrap; display: inline-flex; align-items: center; gap: var(--space-8); }
.marquee span::after { content: "◆"; color: var(--orange); font-size: 0.6rem; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; } }

/* ---------- Collection cards ---------- */
.grid { display: grid; gap: var(--space-4); }
.grid--collections { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 700px) { .grid--collections { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .grid--collections { grid-template-columns: repeat(4, 1fr); } }
.col-card {
  position: relative; display: flex; flex-direction: column; justify-content: end;
  aspect-ratio: 4 / 5; padding: var(--space-4); border-radius: var(--radius);
  background: var(--bg-3); border: 1px solid var(--line); overflow: hidden;
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.col-card:hover { transform: translateY(-4px); border-color: rgba(255,204,0,0.6); }
.col-card__icon { position: absolute; top: var(--space-4); left: var(--space-4); width: 44px; height: 44px; color: var(--orange); }
.col-card__icon svg { width: 100%; height: 100%; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.col-card__ghost {
  position: absolute; right: -4%; bottom: 18%; font-family: var(--font-display); font-weight: 800;
  font-size: clamp(5rem, 14vw, 9rem); line-height: 1; text-transform: uppercase; color: rgba(255,255,255,0.035);
  pointer-events: none; user-select: none; transition: color var(--dur) var(--ease);
}
.col-card:hover .col-card__ghost { color: rgba(255,204,0,0.08); }
.col-card h3 { font-size: 1.6rem; position: relative; }
.col-card p { position: relative; margin: var(--space-1) 0 0; color: var(--fg-muted); font-size: 0.9rem; }
.col-card--soon { border-style: dashed; background: var(--bg-2); aspect-ratio: auto; min-height: 260px; padding-top: 72px; }
.col-card--soon p { font-size: 0.85rem; }
.col-card--featured { grid-column: span 2; aspect-ratio: auto; min-height: 300px; background: linear-gradient(135deg, #2a240f, var(--bg-3)); border-color: rgba(255,204,0,0.45); }
.col-card--featured h3 { font-size: clamp(2rem, 4vw, 3rem); }
.badge {
  position: absolute; top: var(--space-4); right: var(--space-4);
  background: var(--yellow); color: var(--on-yellow); font-family: var(--font-display); font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.75rem; padding: 4px 8px; border-radius: 2px;
}
.badge--orange { background: var(--orange); color: var(--on-orange); }
.badge--soon { background: var(--bg-2); color: var(--fg-muted); border: 1px solid var(--line); }

/* ---------- Product cards ---------- */
.grid--products { grid-template-columns: repeat(2, 1fr); gap: var(--space-6) var(--space-4); }
@media (min-width: 900px) { .grid--products { grid-template-columns: repeat(4, 1fr); } }
.p-card { display: flex; flex-direction: column; gap: var(--space-3); position: relative; }
.p-card__media {
  position: relative; aspect-ratio: 1; border-radius: var(--radius); overflow: hidden;
  background: radial-gradient(ellipse at 50% 30%, var(--bg-3), var(--bg-2));
  border: 1px solid var(--line); display: grid; place-items: center; padding: 10%;
  transition: border-color var(--dur) var(--ease);
}
.p-card:hover .p-card__media { border-color: rgba(255,255,255,0.25); }
.p-card__media .tee { width: 100%; transition: transform 320ms var(--ease); }
.p-card:hover .tee { transform: scale(1.05) rotate(-1.5deg); }
.p-card__body { display: flex; justify-content: space-between; gap: var(--space-3); align-items: start; }
.p-card__title { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: 1.2rem; line-height: 1.1; }
.p-card__sub { color: var(--fg-muted); font-size: 0.9rem; margin: 2px 0 0; }
.p-card__price { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; color: var(--yellow); white-space: nowrap; }
.swatches { display: flex; gap: 6px; }
.swatch { width: 14px; height: 14px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.25); }
.p-card__link::after { content: ""; position: absolute; inset: 0; }
.p-card .btn { position: relative; z-index: 1; }

/* ---------- Tee SVG ---------- */
.tee { width: 100%; height: auto; }
.tee text { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; text-anchor: middle; }

/* ---------- Feature / value props ---------- */
.values { display: grid; gap: var(--space-4); }
@media (min-width: 800px) { .values { grid-template-columns: repeat(3, 1fr); } }
.value {
  padding: var(--space-6); background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius);
  border-top: 4px solid var(--orange);
}
.value svg { width: 32px; height: 32px; stroke: var(--yellow); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; margin-bottom: var(--space-4); }
.value h3 { font-size: 1.5rem; margin-bottom: var(--space-2); }
.value p { color: var(--fg-muted); margin: 0; }

/* ---------- Big CTA band ---------- */
.band { background: var(--orange); color: var(--on-orange); }
.band__inner { display: grid; gap: var(--space-6); padding-block: var(--space-12); align-items: center; }
@media (min-width: 900px) { .band__inner { grid-template-columns: 1.4fr 1fr; } }
.band h2 { color: var(--on-orange); }
.band p { color: rgba(21,19,15,0.8); }
.band .btn--dark { background: var(--bg); color: var(--fg); border-color: var(--bg); }
.band .btn--dark:hover { background: #000; }

/* ---------- Newsletter ---------- */
.newsletter { background: var(--bg-2); border-block: 1px solid var(--line); }
.newsletter__inner { display: grid; gap: var(--space-6); padding-block: var(--space-12); align-items: center; }
@media (min-width: 900px) { .newsletter__inner { grid-template-columns: 1fr 1fr; } }
.form-row { display: flex; gap: var(--space-2); flex-wrap: wrap; }
.input, .select, .textarea {
  background: var(--bg); color: var(--fg); border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-sm); min-height: 48px; padding: 0 var(--space-4); font-size: 1rem; width: 100%;
  transition: border-color var(--dur) var(--ease);
}
.textarea { padding: var(--space-3) var(--space-4); min-height: 140px; resize: vertical; }
.input:focus, .select:focus, .textarea:focus { border-color: var(--orange); outline: none; box-shadow: 0 0 0 3px rgba(255,204,0,0.3); }
.form-row .input { flex: 1 1 240px; }
.label { display: block; font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600; font-size: 0.9rem; color: var(--fg-muted); margin-bottom: var(--space-2); }
.field { margin-bottom: var(--space-4); }
.help { font-size: 0.85rem; color: var(--fg-faint); margin: var(--space-1) 0 0; }
.error-msg { font-size: 0.85rem; color: var(--danger); margin: var(--space-1) 0 0; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding-block: var(--space-12) var(--space-8); color: var(--fg-muted); font-size: 0.95rem; }
.footer__grid { display: grid; gap: var(--space-8); }
@media (min-width: 800px) { .footer__grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; } }
.footer h4 { font-size: 1rem; letter-spacing: 0.12em; color: var(--fg); margin-bottom: var(--space-4); }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--space-2); }
.footer a:hover { color: var(--orange); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-3); margin-top: var(--space-12); padding-top: var(--space-6); border-top: 1px solid var(--line); font-size: 0.85rem; color: var(--fg-faint); }

/* ---------- Page header ---------- */
.page-head { padding-block: var(--space-12) var(--space-8); border-bottom: 1px solid var(--line); background: linear-gradient(180deg, var(--bg-2), var(--bg)); }
.crumbs { display: flex; flex-wrap: wrap; gap: var(--space-2); font-size: 0.85rem; color: var(--fg-faint); text-transform: uppercase; letter-spacing: 0.1em; font-family: var(--font-display); margin-bottom: var(--space-4); }
.crumbs a:hover { color: var(--orange); }
.crumbs span::before { content: "/"; margin-right: var(--space-2); color: var(--fg-faint); }

/* ---------- Toolbar / filters ---------- */
.toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--space-3); margin-bottom: var(--space-8); }
.chips { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.chip {
  min-height: 40px; padding: 0 var(--space-4); border-radius: 999px; border: 1px solid rgba(255,255,255,0.2);
  background: transparent; font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.06em; font-weight: 600; font-size: 0.9rem;
  transition: all var(--dur) var(--ease);
}
.chip:hover { border-color: var(--fg); }
.chip[aria-pressed="true"] { background: var(--orange); color: var(--on-orange); border-color: var(--orange); }
.select { width: auto; min-width: 200px; }

/* ---------- Product page ---------- */
.product { display: grid; gap: var(--space-8); padding-block: var(--space-8); }
@media (min-width: 900px) { .product { grid-template-columns: 1.1fr 0.9fr; gap: var(--space-12); padding-block: var(--space-12); } }
.product__gallery { position: sticky; top: 90px; align-self: start; }
.product__main {
  aspect-ratio: 1; border-radius: var(--radius); border: 1px solid var(--line);
  background: radial-gradient(ellipse at 50% 30%, var(--bg-3), var(--bg-2)); display: grid; place-items: center; padding: 8%;
}
.product__thumbs { display: flex; gap: var(--space-2); margin-top: var(--space-3); }
.thumb { width: 64px; height: 64px; border-radius: var(--radius-sm); border: 2px solid var(--line); background: var(--bg-2); padding: 6px; transition: border-color var(--dur) var(--ease); }
.thumb[aria-pressed="true"] { border-color: var(--orange); }
.product__title { font-size: clamp(2.25rem, 4vw, 3.25rem); margin: var(--space-2) 0; }
.product__price { font-family: var(--font-display); font-weight: 700; font-size: 2rem; color: var(--yellow); }
.product__desc { color: var(--fg-muted); margin-top: var(--space-4); }
.opt-group { margin-top: var(--space-6); }
.opt-group__head { display: flex; justify-content: space-between; margin-bottom: var(--space-3); }
.opt-group__head .label { margin: 0; }
.opt-group__head small { color: var(--fg-muted); }
.color-opts { display: flex; gap: var(--space-2); flex-wrap: wrap; }
.color-opt { width: 44px; height: 44px; border-radius: 50%; border: 3px solid transparent; padding: 3px; background: transparent; display: grid; place-items: center; transition: border-color var(--dur) var(--ease); }
.color-opt span { width: 100%; height: 100%; border-radius: 50%; display: block; border: 1px solid rgba(255,255,255,0.25); }
.color-opt[aria-pressed="true"] { border-color: var(--orange); }
.size-opts { display: grid; grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); gap: var(--space-2); }
.size-opt {
  min-height: 48px; border: 1px solid rgba(255,255,255,0.2); background: transparent; border-radius: var(--radius-sm);
  font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; transition: all var(--dur) var(--ease);
}
.size-opt:hover { border-color: var(--fg); }
.size-opt[aria-pressed="true"] { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.qty { display: inline-flex; border: 1px solid rgba(255,255,255,0.2); border-radius: var(--radius-sm); overflow: hidden; }
.qty button { width: 48px; height: 48px; background: transparent; border: 0; font-size: 1.3rem; }
.qty button:hover { background: rgba(255,255,255,0.06); }
.qty input { width: 56px; text-align: center; background: transparent; border: 0; border-inline: 1px solid rgba(255,255,255,0.2); color: var(--fg); font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; }
.buy-row { display: flex; gap: var(--space-3); margin-top: var(--space-6); flex-wrap: wrap; }
.buy-row .btn { flex: 1 1 200px; }
.trust { display: grid; gap: var(--space-3); margin-top: var(--space-8); padding-top: var(--space-6); border-top: 1px solid var(--line); color: var(--fg-muted); font-size: 0.95rem; }
.trust div { display: flex; gap: var(--space-3); align-items: start; }
.trust svg { width: 20px; height: 20px; flex: none; stroke: var(--yellow); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; margin-top: 2px; }
.accordion { border-top: 1px solid var(--line); margin-top: var(--space-6); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; padding: var(--space-4) 0; font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; font-size: 1.05rem; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; font-size: 1.4rem; color: var(--orange); transition: transform var(--dur) var(--ease); }
.accordion details[open] summary::after { transform: rotate(45deg); }
.accordion .acc-body { padding-bottom: var(--space-4); color: var(--fg-muted); }
.size-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.size-table th, .size-table td { padding: 6px 8px; border-bottom: 1px solid var(--line); text-align: left; }
.size-table th { font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.06em; color: var(--fg); }

/* ---------- Cart drawer ---------- */
.overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.6); z-index: 70; opacity: 0; pointer-events: none; transition: opacity var(--dur) var(--ease); }
.overlay.is-open { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(100%, 440px); z-index: 80; background: var(--bg-2);
  border-left: 1px solid var(--line); display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform 280ms var(--ease);
}
.drawer.is-open { transform: translateX(0); }
.drawer__head { display: flex; justify-content: space-between; align-items: center; padding: var(--space-4) var(--space-6); border-bottom: 1px solid var(--line); }
.drawer__head h3 { font-size: 1.5rem; }
.drawer__body { flex: 1; overflow: auto; padding: var(--space-4) var(--space-6); }
.drawer__foot { padding: var(--space-4) var(--space-6); border-top: 1px solid var(--line); }
.cart-line { display: grid; grid-template-columns: 72px 1fr auto; gap: var(--space-3); padding: var(--space-3) 0; border-bottom: 1px solid var(--line); align-items: center; }
.cart-line__media { width: 72px; height: 72px; border-radius: var(--radius-sm); background: var(--bg-3); display: grid; place-items: center; padding: 6px; }
.cart-line__title { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: 1rem; line-height: 1.1; }
.cart-line__meta { color: var(--fg-muted); font-size: 0.85rem; }
.cart-line__price { font-family: var(--font-display); font-weight: 700; color: var(--yellow); }
.cart-line .qty { margin-top: var(--space-2); transform: scale(0.85); transform-origin: left; }
.cart-line__remove { background: none; border: 0; color: var(--fg-faint); font-size: 0.8rem; text-decoration: underline; padding: 4px 0; }
.cart-line__remove:hover { color: var(--danger); }
.cart-total { display: flex; justify-content: space-between; font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; text-transform: uppercase; margin-bottom: var(--space-3); }
.cart-empty { text-align: center; color: var(--fg-muted); padding: var(--space-12) 0; }
.cart-empty svg { width: 56px; height: 56px; margin: 0 auto var(--space-4); stroke: var(--fg-faint); fill: none; stroke-width: 1.5; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); z-index: 90;
  background: var(--fg); color: var(--bg); padding: var(--space-3) var(--space-6); border-radius: var(--radius-sm);
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em;
  opacity: 0; pointer-events: none; transition: all var(--dur) var(--ease);
}
.toast.is-show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Modal (checkout placeholder) ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: var(--space-4); }
.modal[hidden] { display: none; }
.modal__card { position: relative; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); max-width: 520px; width: 100%; padding: var(--space-8); }
.modal__card h3 { margin-bottom: var(--space-3); }
.modal__card code { background: var(--bg); padding: 2px 6px; border-radius: 3px; color: var(--yellow); font-size: 0.9em; }

/* ---------- About / contact ---------- */
.two-col { display: grid; gap: var(--space-8); align-items: start; }
@media (min-width: 900px) { .two-col { grid-template-columns: 1fr 1fr; gap: var(--space-16); } }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-4); margin-top: var(--space-8); }
.stat { border-left: 3px solid var(--orange); padding-left: var(--space-4); }
.stat strong { display: block; font-family: var(--font-display); font-size: 2.5rem; line-height: 1; color: var(--yellow); }
.stat span { color: var(--fg-muted); font-size: 0.9rem; }
.card { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--space-8); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 500ms var(--ease), transform 500ms var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
