/* Pit Row Threads — storefront styles */
:root {
  --bg: #0c0c0e;
  --bg-2: #141418;
  --panel: #1a1a1f;
  --line: #2a2a31;
  --text: #f4f4f5;
  --muted: #a1a1aa;
  --red: #e10600;
  --red-hot: #ff2a1f;
  --red-deep: #b00500;
  --stage: #e9e8e4;
  --radius: 10px;
  --wrap: 1200px;
  --display: "Saira Condensed", "Arial Narrow", Impact, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; height: auto; }
[hidden] { display: none !important; }
a { color: inherit; }
button { font: inherit; }
h1, h2, h3 {
  font-family: var(--display);
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: .01em;
  line-height: 1.02;
  margin: 0 0 .4em;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }

.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.narrow { max-width: 780px; }
.section { padding: 48px 0; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.center { text-align: center; }
.center-text { text-align: center; }
.center-text img { margin: 0 auto 16px; }
.left-text { text-align: left; }
.red { color: var(--red); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--red); padding: 8px 12px; z-index: 50; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--red-hot); outline-offset: 2px; }
.eyebrow {
  font-family: var(--display); font-weight: 700; text-transform: uppercase;
  letter-spacing: .14em; color: var(--red-hot); font-size: .95rem; margin-bottom: .3em;
}
.lede { font-size: 1.12rem; color: #d4d4d8; max-width: 60ch; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-family: var(--display); font-weight: 800; font-style: italic; text-transform: uppercase;
  letter-spacing: .04em; font-size: 1.15rem; line-height: 1;
  padding: 14px 26px; border-radius: 6px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s, transform .1s;
}
.btn:active { transform: translateY(1px); }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-hot); }
.btn-red:disabled { background: #3a3a40; color: #8a8a92; cursor: not-allowed; }
.btn-ghost { border-color: #fff3; color: #fff; background: transparent; }
.btn-ghost:hover { border-color: #fff; }
.btn-block { width: 100%; }
.btn-sm { font-size: .95rem; padding: 9px 16px; }
.link-btn { background: none; border: 0; color: var(--muted); text-decoration: underline; cursor: pointer; padding: 0; }
.link-btn:hover { color: var(--text); }
.link-arrow { font-weight: 600; text-decoration: none; color: var(--red-hot); }
.link-arrow::after { content: " →"; }

/* Header */
.promo-bar {
  background: var(--red); color: #fff; text-align: center; font-size: .85rem; font-weight: 600;
  padding: 7px 16px;
}
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(12, 12, 14, .92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.brand img { width: 168px; height: auto; }
.site-nav { display: flex; gap: 22px; margin-left: auto; }
.site-nav a {
  text-decoration: none; font-family: var(--display); font-weight: 700; text-transform: uppercase;
  letter-spacing: .05em; font-size: 1.05rem; color: #e4e4e7;
}
.site-nav a:hover { color: var(--red-hot); }
.cart-link { position: relative; display: grid; place-items: center; width: 44px; height: 44px; color: #fff; }
.cart-count {
  position: absolute; top: 2px; right: 0; min-width: 20px; height: 20px; padding: 0 5px;
  border-radius: 10px; background: var(--red); font-size: .75rem; font-weight: 700;
  display: grid; place-items: center;
}
.nav-toggle { display: none; }

@media (max-width: 980px) {
  .header-inner { gap: 12px; }
  .brand img { width: 140px; }
  .nav-toggle {
    display: grid; gap: 5px; margin-left: auto; width: 44px; height: 44px; place-content: center;
    background: none; border: 0; cursor: pointer;
  }
  .nav-toggle span:not(.sr) { display: block; width: 24px; height: 3px; background: #fff; border-radius: 2px; }
  .site-nav {
    display: none; position: absolute; inset: 100% 0 auto 0; flex-direction: column; gap: 0;
    background: var(--bg-2); border-bottom: 1px solid var(--line); padding: 8px 16px 16px;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
}

/* Flash messages */
.flashes { padding-top: 16px; }
.flash { padding: 12px 16px; border-radius: 8px; margin-bottom: 8px; font-weight: 500; }
.flash-ok { background: #0f2a17; border: 1px solid #1f6b36; color: #b8f5c8; }
.flash-error { background: #2a0f0f; border: 1px solid #7a1d1a; color: #ffc9c5; }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1200px 500px at 85% 40%, rgba(225, 6, 0, .28), transparent 60%),
    linear-gradient(180deg, #111114, var(--bg));
  border-bottom: 1px solid var(--line);
}
.hero::before {
  content: ""; position: absolute; inset: 0; opacity: .06; pointer-events: none;
  background: repeating-conic-gradient(#fff 0 25%, transparent 0 50%) 0 0 / 56px 56px;
  mask-image: linear-gradient(100deg, transparent 35%, #000 90%);
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 32px; padding: 72px 0; }
.hero h1 { font-size: clamp(2.8rem, 7vw, 5.4rem); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.hero-art img { width: min(460px, 100%); margin-inline: auto; filter: drop-shadow(0 30px 60px rgba(0, 0, 0, .6)); transform: rotate(-4deg); }
@media (max-width: 820px) {
  .hero-inner { grid-template-columns: 1fr; padding: 48px 0; text-align: left; }
  .hero-art { order: -1; }
  .hero-art img { width: 220px; margin: 0; }
}

/* Section heads */
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.page-head { margin-bottom: 16px; }

/* Category tiles */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.cat-tile {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 150px;
  padding: 18px 20px; border-radius: var(--radius); text-decoration: none; overflow: hidden;
  background: linear-gradient(135deg, #1d1d23, #121216); border: 1px solid var(--line);
  transition: border-color .15s, transform .15s;
}
.cat-tile::before {
  content: ""; position: absolute; right: -30px; top: -30px; width: 160px; height: 160px; opacity: .12;
  background: repeating-conic-gradient(#fff 0 25%, transparent 0 50%) 0 0 / 28px 28px;
  transform: rotate(18deg);
}
.cat-tile::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--red); }
.cat-tile:hover { border-color: var(--red); transform: translateY(-2px); }
.cat-name { font-family: var(--display); font-weight: 800; font-style: italic; text-transform: uppercase; font-size: 1.8rem; line-height: 1; }
.cat-count { color: var(--muted); font-size: .9rem; }
@media (max-width: 720px) { .cat-grid { grid-template-columns: repeat(2, 1fr); } .cat-tile { min-height: 110px; } .cat-name { font-size: 1.4rem; } }

/* Product grid & cards */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 1000px) { .grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) { .grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } }
.card { display: block; text-decoration: none; border-radius: var(--radius); overflow: hidden; background: var(--panel); border: 1px solid var(--line); transition: border-color .15s, transform .15s; }
.card:hover { border-color: var(--red); transform: translateY(-2px); }
.card-stage { position: relative; background: var(--stage); padding: 14px 18px 8px; }
.card-body { padding: 12px 14px 16px; }
.card-body h3 { font-size: 1.25rem; margin: 2px 0 4px; }
.card-cat { color: var(--red-hot); font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
.card-price { color: var(--muted); font-size: .9rem; }

/* Garment mockup */
.mockup { position: relative; width: 100%; aspect-ratio: 400 / 470; }
.mockup svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.mockup .g-body, .mockup .g-hood { fill: var(--garment); stroke: rgba(0, 0, 0, .28); stroke-width: 2; stroke-linejoin: round; transition: fill .2s; }
.mockup .g-detail { fill: none; stroke: rgba(0, 0, 0, .3); stroke-width: 2; stroke-linecap: round; }
.mockup:not(.is-light) .g-detail { stroke: rgba(255, 255, 255, .12); }
.mockup svg { filter: drop-shadow(0 10px 14px rgba(0, 0, 0, .22)); }
.mockup-print { position: absolute; left: var(--pa-l); top: var(--pa-t); width: var(--pa-w); height: var(--pa-h); display: flex; justify-content: center; align-items: flex-start; }
.mockup-art { max-width: 100%; max-height: 100%; object-fit: contain; }
.mockup-chest, .mockup-sleeve { position: absolute; height: auto; display: none; }
.mockup.show-chest .mockup-chest, .mockup.show-sleeve .mockup-sleeve { display: block; }
.mockup.is-cap .mockup-print { align-items: flex-end; }
.mockup.is-corner .mockup-print { justify-content: flex-end; }
.mockup-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.mockup.has-photo svg { display: none; }
.mockup.show-puff .mockup-art { filter: drop-shadow(0 2px 0 rgba(0, 0, 0, .55)) drop-shadow(0 -1px 0 rgba(255, 255, 255, .25)) contrast(1.05); transform: scale(1.02); }

.addon {
  display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 8px;
  border: 2px solid var(--line); background: var(--bg-2); cursor: pointer;
}
.addon:has(input:checked) { border-color: var(--red); background: #1f0d0d; }
.addons { display: grid; gap: 8px; }
.addons legend { margin-bottom: 2px; }
.addon input { width: 20px; height: 20px; accent-color: var(--red); flex: none; }

/* Chips */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.chip {
  display: inline-block; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line);
  text-decoration: none; font-size: .9rem; font-weight: 600; color: #d4d4d8; background: var(--bg-2); cursor: pointer;
}
.chip:hover { border-color: #fff6; }
.chip.is-on { background: var(--red); border-color: var(--red); color: #fff; }

/* Empty state */
.empty { padding: 40px 24px; border: 1px dashed var(--line); border-radius: var(--radius); text-align: center; color: var(--muted); }
.empty .btn { margin-top: 8px; }

/* How it works */
.how { background: var(--bg-2); border-block: 1px solid var(--line); padding: 56px 0; }
.how-steps { list-style: none; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.how-steps li { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.step-num {
  display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 6px; margin-bottom: 12px;
  background: var(--red); font-family: var(--display); font-weight: 800; font-style: italic; font-size: 1.5rem;
}
.how-steps p { color: var(--muted); margin: 0; }
@media (max-width: 720px) { .how-steps { grid-template-columns: 1fr; } }

/* Product page */
.crumbs { font-size: .9rem; color: var(--muted); margin-bottom: 16px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: #fff; }
.product-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.product-media { position: sticky; top: 96px; }
.stage {
  position: relative;
  background: var(--stage); border-radius: var(--radius); padding: 32px 40px 24px;
  background-image: radial-gradient(circle at 50% 40%, #fff 0, var(--stage) 70%);
}
.side-toggle { display: flex; justify-content: center; gap: 8px; margin-top: 12px; }
.preview-note { color: var(--muted); font-size: .8rem; text-align: center; margin-top: 10px; }
.product-info h1 { margin-bottom: 8px; }
.price { font-family: var(--display); font-weight: 800; font-size: 2rem; margin-bottom: 12px; }
.desc { color: #d4d4d8; margin-bottom: 16px; }
.badge { display: inline-block; background: #2a0f0f; color: #ffb4ad; border: 1px solid #7a1d1a; border-radius: 6px; padding: 3px 10px; font-size: .85rem; font-weight: 600; }
.buy fieldset { border: 0; padding: 0; margin: 0 0 22px; }
.buy legend { font-weight: 700; margin-bottom: 10px; display: flex; gap: 8px; align-items: baseline; width: 100%; }
.picked { color: var(--muted); font-weight: 500; }
.legend-link { margin-left: auto; font-weight: 500; font-size: .85rem; color: var(--muted); }
.opt-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.opt {
  text-align: left; padding: 10px 12px; border-radius: 8px; border: 2px solid var(--line); background: var(--bg-2);
  color: var(--text); cursor: pointer; display: flex; flex-direction: column; gap: 2px;
}
.opt:hover { border-color: #fff5; }
.opt.is-on { border-color: var(--red); background: #1f0d0d; }
.opt-name { font-weight: 700; }
.variant-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.variant {
  display: flex; flex-direction: column; align-items: center; gap: 6px; width: 104px; padding: 8px;
  border-radius: 10px; border: 2px solid var(--line); background: var(--bg-2); color: var(--text); cursor: pointer;
}
.variant:hover { border-color: #fff5; }
.variant.is-on { border-color: var(--red); background: #1f0d0d; }
.variant-art { width: 84px; height: 84px; border-radius: 6px; background: #000; display: grid; place-items: center; overflow: hidden; }
.variant-art img { max-width: 92%; max-height: 92%; object-fit: contain; }
.variant-name { font-weight: 700; font-size: .9rem; }
.opt-sub { font-size: .78rem; color: var(--muted); }
.swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.swatch {
  width: 38px; height: 38px; border-radius: 50%; border: 2px solid #ffffff30; cursor: pointer; padding: 0;
  background: var(--sw); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .25);
}
.swatch.is-on { outline: 3px solid var(--red); outline-offset: 3px; }
.sizes { display: flex; flex-wrap: wrap; gap: 8px; }
.size {
  min-width: 56px; padding: 10px 12px; border-radius: 8px; border: 2px solid var(--line); background: var(--bg-2);
  color: var(--text); font-weight: 700; cursor: pointer;
}
.size:hover { border-color: #fff5; }
.size.is-on { border-color: var(--red); background: var(--red); }
.size small { display: block; font-weight: 500; font-size: .7rem; color: #ffd0cc; }
.buy-row { display: flex; gap: 10px; }
.qty input {
  width: 72px; height: 100%; min-height: 50px; text-align: center; font-size: 1.05rem; font-weight: 700;
  background: var(--bg-2); color: var(--text); border: 2px solid var(--line); border-radius: 6px;
}
.perks { list-style: none; padding: 0; margin: 22px 0 0; color: var(--muted); font-size: .92rem; }
.perks li { padding: 6px 0 6px 26px; position: relative; }
.perks li::before { content: "🏁"; position: absolute; left: 0; }
@media (max-width: 860px) {
  .product-grid { grid-template-columns: 1fr; gap: 24px; }
  .product-media { position: static; }
  .stage { padding: 20px 28px 12px; }
}

/* Cart */
.cart-line {
  display: grid; grid-template-columns: 84px 1fr auto auto auto; gap: 16px; align-items: center;
  padding: 14px 0; border-bottom: 1px solid var(--line);
}
.cart-thumb { background: var(--stage); border-radius: 8px; padding: 6px 8px; }
.cart-desc { display: flex; flex-direction: column; font-size: .95rem; }
.cart-desc a { text-decoration: none; }
.cart-total { font-weight: 700; min-width: 72px; text-align: right; }
.cart .qty input { min-height: 42px; width: 64px; }
.cart-actions { padding: 12px 0; text-align: right; }
@media (max-width: 640px) {
  .cart-line { grid-template-columns: 72px 1fr auto; grid-template-areas: "t d d" "t q total" "t r r"; gap: 6px 12px; }
  .cart-thumb { grid-area: t; } .cart-desc { grid-area: d; } .cart .qty { grid-area: q; }
  .cart-total { grid-area: total; } .cart-line .link-btn { grid-area: r; justify-self: start; }
}
.summary { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; margin: 20px 0; }
.sum-row { display: flex; justify-content: space-between; gap: 16px; padding: 6px 0; }
.sum-total { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 12px; font-weight: 800; font-size: 1.15rem; }
.summary form { margin-top: 16px; }
.summary .small { margin: 10px 0 0; }

/* Prose pages */
.prose h2 { margin-top: 1.4em; font-size: 1.7rem; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.prose a { color: var(--red-hot); }
.contact-big { font-family: var(--display); font-weight: 800; font-size: clamp(1.6rem, 5vw, 2.4rem); }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.size-table { border-collapse: collapse; width: 100%; font-size: .92rem; }
.size-table th, .size-table td { padding: 8px 10px; border-bottom: 1px solid var(--line); text-align: center; white-space: nowrap; }
.size-table thead th { color: var(--red-hot); }
.size-table tbody th { text-align: left; color: var(--muted); }

/* Footer */
.checker-strip { height: 18px; margin-top: 48px; background: repeating-conic-gradient(#fff 0 25%, #000 0 50%) 0 0 / 18px 18px; opacity: .9; }
.site-footer { background: #08080a; padding: 40px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 28px; }
.footer-grid h3 { font-size: 1.05rem; color: var(--red-hot); }
.footer-grid a { display: block; text-decoration: none; color: #d4d4d8; padding: 3px 0; font-size: .95rem; }
.footer-grid a:hover { color: #fff; }
.footer-logo { width: 96px; margin-bottom: 12px; }
.footer-base { border-top: 1px solid var(--line); margin-top: 28px; padding-top: 16px; color: var(--muted); font-size: .85rem; }
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > div:first-child { grid-column: 1 / -1; } }

/* Real product photos (Printful mockups) layered over the drawing */
.mockup-real { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; border-radius: var(--radius); }
.stage .mockup, .mockup-real { transition: opacity .3s ease; }
.mockup-real { opacity: 0; pointer-events: none; }
.stage.has-real .mockup-real { opacity: 1; }
.stage.has-real .mockup { opacity: 0; }
.stage.is-loading .mockup-real, .stage.is-loading .mockup { opacity: .55; }
.stage.is-loading::after {
  content: ""; position: absolute; top: 14px; right: 14px; width: 22px; height: 22px; border-radius: 50%;
  border: 3px solid rgba(0, 0, 0, .15); border-top-color: var(--red); animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.mockup.has-real { display: grid; place-items: center; }
.mockup-real-img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }

/* Email signup */
.signup { display: flex; gap: 10px; flex-wrap: wrap; }
.signup input[type=email] {
  flex: 1 1 220px; min-width: 0; min-height: 50px; padding: 12px 14px; font: inherit;
  background: var(--bg-2); color: var(--text); border: 2px solid var(--line); border-radius: 6px;
}
.signup input[type=email]:focus { border-color: var(--red); outline: none; }
.signup-compact input[type=email] { min-height: 42px; padding: 8px 12px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.signup-band {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 28px; align-items: center;
  padding: 32px; border-radius: var(--radius); border: 1px solid var(--line);
  background: linear-gradient(120deg, #1f0d0d, var(--panel) 60%);
}
.signup-band h2 { margin-bottom: 8px; }
.signup-band p.muted { margin: 0; }
.footer-signup-label { font-weight: 600; margin: 4px 0 8px; font-size: .92rem; }
@media (max-width: 760px) { .signup-band { grid-template-columns: 1fr; padding: 22px; } }

/* New badges, New Drops page, shop sorting */
.badge-new {
  position: absolute; top: 10px; left: 10px; z-index: 2;
  background: var(--red); color: #fff; font-family: var(--display); font-weight: 800; font-style: italic;
  text-transform: uppercase; letter-spacing: .06em; font-size: .85rem; line-height: 1; padding: 6px 10px 5px;
  border-radius: 4px; box-shadow: 0 4px 10px rgba(0, 0, 0, .25); transform: skewX(-8deg);
}
.badge-inline { position: static; display: inline-block; margin-left: 8px; font-size: .75rem; vertical-align: middle; box-shadow: none; }
.nav-new { color: var(--red-hot) !important; }
.chip-new { border-color: var(--red); color: #fff; }
.shop-bar { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px 24px; flex-wrap: wrap; margin-bottom: 24px; }
.shop-bar .chips { margin-bottom: 0; }
.sort { display: flex; align-items: center; gap: 12px; padding-top: 6px; }
.sort-link { text-decoration: none; font-weight: 600; font-size: .92rem; color: var(--muted); }
.sort-link.is-on { color: #fff; text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: 5px; text-decoration-thickness: 2px; }

/* Search + shop by style */
.search-link { display: grid; place-items: center; width: 40px; height: 44px; color: #fff; }
.search-link:hover, .cart-link:hover { color: var(--red-hot); }
@media (max-width: 980px) { .search-link { margin-left: auto; order: 1; } .cart-link { order: 2; } .nav-toggle { margin-left: 0; order: 3; } }
.search-form { display: flex; gap: 10px; max-width: 720px; margin-bottom: 18px; }
.search-form input {
  flex: 1; min-width: 0; min-height: 52px; padding: 12px 16px; font: inherit; font-size: 1.05rem;
  background: var(--bg-2); color: var(--text); border: 2px solid var(--line); border-radius: 6px;
}
.search-form input:focus { border-color: var(--red); outline: none; }
.search-summary { margin-bottom: 16px; }
.search-suggest { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.style-filter { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin: -8px 0 24px; padding: 10px 0; border-top: 1px solid var(--line); }
.style-label { font-family: var(--display); font-weight: 800; font-style: italic; text-transform: uppercase; color: var(--muted); letter-spacing: .06em; }
.style-pill { text-decoration: none; font-weight: 600; font-size: .92rem; color: #d4d4d8; padding: 4px 2px; border-bottom: 2px solid transparent; }
.style-pill:hover { color: #fff; }
.style-pill.is-on { color: #fff; border-bottom-color: var(--red); }

/* Design artwork on black: hover on shop cards, and the "Design" view on product pages */
.card-art {
  position: absolute; inset: 0; z-index: 1; display: grid; place-items: center; padding: 18px;
  background: #050505; opacity: 0; transition: opacity .25s ease;
}
.card-art img { max-width: 100%; max-height: 100%; object-fit: contain; }
@media (hover: hover) { .card:hover .card-art, .card:focus-visible .card-art { opacity: 1; } }
.card .badge-new { z-index: 2; }
.stage-art { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; padding: 6%; background: #050505; border-radius: var(--radius); }
.stage-art img { max-width: 100%; max-height: 100%; object-fit: contain; }
.stage.show-art .mockup, .stage.show-art .mockup-real { visibility: hidden; }

/* Thread color swatches (caps) */
.thread-swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.thread-swatch {
  width: 40px; height: 40px; border-radius: 50%; padding: 0; cursor: pointer;
  border: 2px solid #ffffff40; background: linear-gradient(135deg, var(--sw1) 50%, var(--sw2) 50%);
  box-shadow: inset 0 0 0 2px #0c0c0e;
}
.thread-swatch.is-on { outline: 3px solid var(--red); outline-offset: 3px; }

/* Art-first shirt cards: the design on black up front, the product photo on hover */
.card--art-first .card-art { opacity: 1; }
@media (hover: hover) {
  .card--art-first:hover .card-art, .card--art-first:focus-visible .card-art { opacity: 0; }
}
/* Phones (no hover): a small product photo in the corner says "this is a shirt" */
.card-mini {
  position: absolute; right: 8px; bottom: 8px; z-index: 2; width: 21%; aspect-ratio: 1;
  border-radius: 8px; overflow: hidden; background: var(--stage); border: 2px solid #050505;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .45); display: none;
}
.card-mini img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; }
@media (hover: none) { .card--art-first .card-mini { display: block; } }

/* Tags and extra categories on product pages */
.tag-row { display: flex; flex-wrap: wrap; gap: 6px; margin: -4px 0 16px; }
.tag { text-decoration: none; font-size: .82rem; font-weight: 600; color: #d4d4d8; background: var(--bg-2); border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px; }
.tag:hover { border-color: var(--red); color: #fff; }
.tag-cat { color: var(--red-hot); }
