:root {
  --ink: #1b1b1b;
  --bg: #ffffff;
  --muted: #f2f0ec;
  --muted-2: #e9e6e0;
  --soft: #6b6b6b;
  --red: #e74724;
  --display: "Anton", "Oswald", Impact, sans-serif;
  --sans: "Roboto", Arial, sans-serif;
  --pad: 20px;
  --navh: 48px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--navh) + 12px); }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.5 var(--sans); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }
a { color: inherit; }
.wrap { width: 100%; max-width: 1100px; margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 99; background: var(--ink); color: #fff; padding: 8px 12px; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

.rule-double { border-top: 3px solid var(--ink); border-bottom: 1.5px solid var(--ink); height: 8px; }
.tracking { letter-spacing: .45em; text-transform: uppercase; }

/* Header */
.top { padding-top: 28px; text-align: center; }
.logo { width: 100%; max-width: 300px; height: auto; margin: 0 auto; }
.kicker { margin: 14px 0 0; font-size: 11px; font-weight: 500; letter-spacing: .45em; text-transform: uppercase; }
.units { display: grid; grid-template-columns: repeat(3, 1fr); margin: 20px auto 22px; max-width: 520px; border: 1.5px solid var(--ink); }
.units a { display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 6px 4px; text-decoration: none; font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; text-align: center; line-height: 1.2; }
.units a + a { border-left: 1.5px solid var(--ink); }
.units a[aria-current="page"] { background: var(--ink); color: #fff; }

/* Category nav */
.catnav { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.96); backdrop-filter: saturate(1.2) blur(6px); border-bottom: 1.5px solid var(--ink); margin-top: 18px; }
.catnav-inner { display: flex; gap: 22px; overflow-x: auto; scrollbar-width: none; height: var(--navh); align-items: center; }
.catnav-inner::-webkit-scrollbar { display: none; }
.catnav a { flex: none; text-decoration: none; font-size: 11px; font-weight: 700; letter-spacing: .25em; text-transform: uppercase; padding: 6px 0; border-bottom: 3px solid transparent; white-space: nowrap; color: var(--soft); }
.catnav a.on { color: var(--ink); border-bottom-color: var(--ink); }

/* Sections */
main { padding-bottom: 24px; min-height: 50vh; }
.loading, .empty { text-align: center; color: var(--soft); padding: 48px 0; font-size: 14px; }
.cat { margin-top: 40px; }
.cat-head { display: flex; align-items: center; gap: 14px; }
.cat-head h2 { flex: none; margin: 0; font-size: 13px; font-weight: 700; letter-spacing: .45em; text-transform: uppercase; }
.cat-head .rule-double { flex: 1; }
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 14px; margin-top: 20px; }

.card { display: block; width: 100%; padding: 0; border: 0; background: none; text-align: left; cursor: pointer; }
.ph { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--muted); }
.ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .ph img { transform: scale(1.03); }
.ph .count { position: absolute; right: 8px; bottom: 8px; background: rgba(255,255,255,.92); font: 12px/1 var(--display); letter-spacing: .12em; padding: 5px 6px; }
.card-meta { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; margin-top: 10px; }
.name { margin: 0; font: 18px/1.08 var(--display); text-transform: uppercase; letter-spacing: .01em; }
.extra { font: 500 11px/1 var(--sans); text-transform: none; color: var(--soft); margin-left: 4px; letter-spacing: 0; }
.price { flex: none; font: 18px/1.08 var(--display); }
.tag-out { position: absolute; left: 8px; top: 8px; background: var(--red); color: #fff; font-size: 10px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; padding: 5px 7px; }
.is-out .ph img { filter: grayscale(1); opacity: .6; }
.is-out .price { text-decoration: line-through; color: var(--soft); }

/* Text rows (items without photo) */
.rows { list-style: none; margin: 18px 0 0; padding: 0; }
.grid + .rows { margin-top: 30px; }
.row { display: block; width: 100%; text-align: left; background: none; border: 0; padding: 12px 0; border-bottom: 1px solid var(--muted-2); cursor: pointer; }
.row-top { display: flex; align-items: baseline; gap: 8px; }
.row-top .dots { flex: 1; border-bottom: 2px dashed var(--ink); opacity: .35; transform: translateY(-4px); min-width: 12px; }
.row .desc { margin: 4px 0 0; font-size: 13px; color: var(--soft); line-height: 1.45; }
.row.is-out .name, .row.is-out .price { color: var(--soft); }
.row .out { color: var(--red); font-size: 10px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }

/* Footer */
.foot { text-align: center; padding-bottom: calc(40px + env(safe-area-inset-bottom)); margin-top: 56px; }
.foot .cta { margin-top: 34px; }
.foot h3 { margin: 0; font: 34px/1 var(--display); text-transform: uppercase; }
.foot p { margin: 12px auto 0; max-width: 360px; font-size: 14px; color: var(--soft); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; margin-top: 20px; background: var(--ink); color: #fff; text-decoration: none; font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; border: 1.5px solid var(--ink); }
.btn.ghost { background: transparent; color: var(--ink); }
.btn svg { width: 18px; height: 18px; }
.foot .review { margin-top: 38px; padding-top: 30px; border-top: 1px solid var(--muted-2); }
.foot .review h4 { margin: 0; font: 22px/1.05 var(--display); text-transform: uppercase; }
.foot .note { margin-top: 40px; font-size: 12px; font-weight: 700; letter-spacing: .35em; text-transform: uppercase; color: var(--ink); }
.foot .small { margin-top: 10px; font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: var(--soft); }

/* Product sheet */
.sheet { padding: 0; border: 0; margin: 0; width: 100%; max-width: 100%; height: 100%; max-height: 100%; background: var(--bg); color: var(--ink); overflow: hidden; }
.sheet::backdrop { background: rgba(20,20,20,.72); }
.sheet[open] { animation: up .28s cubic-bezier(.32,.72,0,1); }
@keyframes up { from { transform: translateY(24px); opacity: 0; } to { transform: none; opacity: 1; } }
.sheet-scroll { height: 100%; overflow-y: auto; overscroll-behavior: contain; padding-bottom: env(safe-area-inset-bottom); }
.gal { position: relative; background: var(--muted); }
.gal-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; aspect-ratio: 4 / 5; }
.gal-track::-webkit-scrollbar { display: none; }
.gal-track img { flex: none; width: 100%; height: 100%; object-fit: cover; scroll-snap-align: center; }
.gal-count { position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%); background: rgba(255,255,255,.92); font: 14px/1 var(--display); letter-spacing: .15em; padding: 6px 8px; }
.gal-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; display: none; place-items: center; background: rgba(255,255,255,.92); border: 0; cursor: pointer; }
.gal-nav.prev { left: 12px; } .gal-nav.next { right: 12px; }
.close { position: absolute; z-index: 3; right: 12px; top: calc(12px + env(safe-area-inset-top)); width: 44px; height: 44px; display: grid; place-items: center; background: #fff; border: 1.5px solid var(--ink); cursor: pointer; }
.sheet-body { padding: 22px var(--pad) 36px; }
.sheet-body.nophoto { padding-top: calc(76px + env(safe-area-inset-top)); }
.sheet-title { display: flex; align-items: flex-end; gap: 12px; }
.sheet-title h2 { margin: 0; font: 32px/1 var(--display); text-transform: uppercase; }
.sheet-title .price { margin-left: auto; font-size: 32px; line-height: 1; }
.sheet-body .lead { margin: 14px 0 0; color: #444; line-height: 1.6; }
.sheet-body .note { margin: 12px 0 0; font-size: 13px; color: var(--ink); font-weight: 500; }
.opts { margin-top: 22px; }
.opts .cat-head h3 { margin: 0; font-size: 11px; font-weight: 700; letter-spacing: .4em; text-transform: uppercase; }
.opts ul { list-style: none; margin: 12px 0 0; padding: 0; }
.opts li { font: 18px/1.5 var(--display); text-transform: uppercase; }
.sold { display: inline-block; margin-top: 14px; background: var(--red); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; padding: 6px 9px; }

@media (min-width: 640px) {
  :root { --pad: 32px; }
  .top { padding-top: 48px; }
  .logo { max-width: 460px; }
  .kicker { font-size: 13px; }
  .grid { gap: 36px 22px; }
  .name, .price { font-size: 22px; }
  .sheet { width: min(640px, calc(100% - 48px)); height: auto; max-height: 90vh; margin: auto; }
  .sheet-scroll { max-height: 90vh; }
  .gal-track { aspect-ratio: 1 / 1; }
  .gal-nav { display: grid; }
}
@media (min-width: 960px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
  .rows { columns: 2; column-gap: 40px; }
  .row { break-inside: avoid; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
