:root {
  color-scheme: dark;
  --canvas: #171915;
  --panel: #f2eee3;
  --ink: #f5f0e6;
  --muted: #bcbbaf;
  --acid: #e4f58a;
  --line: #44473d;
  --space: clamp(18px, 5vw, 80px);
  font-family: "Arial", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--canvas); color: var(--ink); }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 2px solid var(--acid); outline-offset: 4px; }
h1, h2, h3, p { margin: 0; }
.wrap { width: min(calc(100% - 2 * var(--space)), 1440px); margin-inline: auto; }
.site-bar { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 14px; border-bottom: 1px solid var(--line); }
.brand { font-weight: 900; letter-spacing: -.04em; font-size: clamp(16px, 2vw, 24px); white-space: nowrap; }
.brand span, .label { color: var(--acid); }
nav { display: flex; gap: clamp(12px, 3vw, 46px); }
nav a { display: grid; align-items: center; min-height: 44px; font-size: 14px; }
nav a:hover, .site-footer p a:hover { color: var(--acid); }
.label { font: 700 11px/1.3 "Courier New", monospace; letter-spacing: .12em; text-transform: uppercase; }
h1, h2 { font-weight: 900; letter-spacing: -.075em; }
h1 { margin-top: 8px; font-size: clamp(47px, 7vw, 104px); line-height: .94; }
.catalog-section { padding-block: clamp(38px, 6vw, 82px); background: #22241f; }
.catalog-head { display: flex; align-items: end; justify-content: space-between; gap: 22px; margin-bottom: 26px; }
h2 { margin-top: 8px; font-size: clamp(46px, 6vw, 88px); line-height: .98; }
.search { display: grid; gap: 6px; color: var(--muted); font-size: 13px; }
.search input { width: min(100%, 310px); min-height: 44px; padding: 9px 12px; border: 1px solid #6d7065; border-radius: 0; color: var(--ink); background: var(--canvas); }
.catalog-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 20px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filters button { min-height: 42px; padding: 7px 14px; border: 1px solid #6d7065; color: var(--ink); background: transparent; }
.filters button[aria-pressed="true"] { border-color: var(--acid); background: var(--acid); color: var(--canvas); }
#item-count { color: var(--muted); font-size: 13px; white-space: nowrap; }
.catalog-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(10px, 2vw, 29px); }
.listing a { display: grid; height: 100%; grid-template-rows: auto 1fr; }
.listing-image { display: grid; place-items: center; overflow: hidden; aspect-ratio: 1; background: var(--panel); }
.listing-image img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.listing-info { display: grid; grid-template-rows: auto 1fr auto; gap: 7px; padding-block: 12px; border-bottom: 1px solid var(--line); }
.listing-info h3 { font-size: clamp(15px, 1.4vw, 20px); line-height: 1.25; overflow-wrap: anywhere; }
.price { display: flex; justify-content: space-between; font-size: 14px; color: var(--muted); }
.price span { color: var(--acid); }
.empty { min-height: 180px; padding-top: 18px; color: var(--muted); }
.site-footer { display: flex; align-items: start; justify-content: space-between; gap: 18px; padding-block: 29px; }
.site-footer p { max-width: 58ch; color: var(--muted); font-size: 13px; line-height: 1.45; }
.site-footer p a { text-decoration: underline; text-underline-offset: 2px; }
@media (hover: hover) {



}
@media (max-width: 760px) {
  .site-bar { min-height: 62px; }
  nav a { font-size: 12px; }


  .catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 470px) {
  .site-bar { flex-wrap: wrap; justify-content: start; gap: 0 16px; padding-top: 8px; }
  .catalog-head, .site-footer { align-items: stretch; flex-direction: column; }
  .catalog-head { gap: 14px; }
  .search input { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {

}

.apparel-section { padding-block: clamp(52px, 7vw, 94px); border-bottom: 1px solid var(--line); }
.apparel-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 25px; }
.apparel-head > a { color: var(--acid); font-size: 14px; }
.apparel-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 2vw, 28px); }
.apparel-grid a { display: grid; gap: 10px; }
.apparel-grid img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: var(--panel); }
.apparel-grid a > span { display: flex; justify-content: space-between; gap: 8px; font-weight: 700; }
.apparel-grid a > span > span { color: var(--acid); }
@media (max-width: 550px) {
  .apparel-grid { grid-template-columns: 1fr; gap: 24px; }
}
