:root {
  --paper: #f7f2e8;
  --paper-2: #efe7d6;
  --ink: #131313;
  --ink-2: #4a4740;
  --line: #131313;
  --pop: #ff3b5c;
  --sun: #ffd23f;
  --sky: #3cc4ff;
  --white: #fffdf8;
  --radius: 14px;
  --shadow: 4px 4px 0 var(--ink);
  --display: "Bangers", "Impact", system-ui, sans-serif;
  --body: "Space Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
}
body.lock { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 16px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Announcement */
.announce {
  background: var(--ink);
  color: var(--sun);
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  padding: 8px 16px;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--paper);
  border-bottom: 2px solid var(--line);
}
.header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 64px; }
.logo { font-family: var(--display); font-size: 32px; letter-spacing: .06em; text-decoration: none; line-height: 1; }
.logo span { color: var(--pop); }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a.link { text-decoration: none; font-weight: 600; padding: 8px 10px; border-radius: 999px; }
.nav a.link:hover { background: var(--paper-2); }
.cart-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--sun); border: 2px solid var(--line); border-radius: 999px;
  padding: 7px 14px; font-weight: 700; cursor: pointer; box-shadow: 2px 2px 0 var(--ink);
}
.cart-btn:active { transform: translate(2px, 2px); box-shadow: none; }
.cart-count { min-width: 20px; height: 20px; border-radius: 999px; background: var(--ink); color: var(--white); font-size: 12px; display: inline-grid; place-items: center; padding: 0 6px; }
.cart-count:empty { display: none; }
@media (max-width: 560px) { .nav a.hide-sm { display: none; } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 700; font-size: 17px; text-decoration: none; cursor: pointer;
  border: 2px solid var(--line); border-radius: 999px; padding: 13px 26px;
  background: var(--pop); color: var(--white); box-shadow: var(--shadow);
  transition: transform .08s ease, box-shadow .08s ease;
}
.btn:hover { transform: translate(-1px, -1px); box-shadow: 5px 5px 0 var(--ink); }
.btn:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--ink); }
.btn[disabled] { background: #c9c3b6; color: var(--ink-2); cursor: not-allowed; transform: none; box-shadow: 2px 2px 0 var(--ink); }
.btn.ghost { background: var(--white); color: var(--ink); }
.btn.block { width: 100%; }
.text-btn { background: none; border: 0; padding: 4px 0; text-decoration: underline; cursor: pointer; font-weight: 600; }

/* Hero */
.hero { position: relative; overflow: hidden; border-bottom: 2px solid var(--line); background: var(--sun); }
.hero::before {
  content: ""; position: absolute; inset: 0; opacity: .18; pointer-events: none;
  background-image: radial-gradient(var(--ink) 1.2px, transparent 1.4px);
  background-size: 12px 12px;
}
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 32px; align-items: center; padding-top: 56px; padding-bottom: 56px; }
.kicker { display: inline-block; background: var(--ink); color: var(--sun); font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; }
.hero h1 { font-family: var(--display); font-weight: 400; font-size: clamp(48px, 9vw, 104px); line-height: .92; letter-spacing: .02em; margin: 16px 0 14px; }
.hero h1 em { font-style: normal; color: var(--pop); -webkit-text-stroke: 2px var(--ink); paint-order: stroke fill; }
.hero p.lede { font-size: 19px; max-width: 30em; margin: 0 0 26px; }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-art { width: 100%; max-width: 440px; justify-self: center; filter: drop-shadow(6px 6px 0 var(--ink)); }
@media (max-width: 820px) {
  .hero .wrap { grid-template-columns: 1fr; padding-top: 36px; padding-bottom: 40px; }
  .hero-art { max-width: 300px; order: -1; }
}

/* Ticker */
.ticker { background: var(--ink); color: var(--white); overflow: hidden; border-bottom: 2px solid var(--line); }
.ticker-track { display: flex; gap: 40px; width: max-content; padding: 12px 0; animation: tick 38s linear infinite; font-family: var(--display); font-size: 22px; letter-spacing: .05em; }
.ticker-track span::after { content: "✦"; color: var(--pop); margin-left: 40px; }
@keyframes tick { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } }

/* Sections */
.section { padding: 56px 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.section h2 { font-family: var(--display); font-weight: 400; font-size: clamp(34px, 5vw, 52px); letter-spacing: .03em; line-height: 1; margin: 0; }
.section-head p { margin: 6px 0 0; color: var(--ink-2); }

/* Grid + tiles */
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 980px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 720px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; } }
.grid.dim { opacity: .5; transition: opacity .2s; }
.tile { display: flex; flex-direction: column; background: var(--white); border: 2px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.tile-media { position: relative; display: block; aspect-ratio: 4 / 5; background: var(--paper-2); overflow: hidden; }
.tile-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .25s; }
.tile-media img.hover { opacity: 0; }
.tile:hover .tile-media img.hover { opacity: 1; }
.tile-media .noimg { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--display); font-size: 28px; color: var(--ink-2); }
.ribbons { position: absolute; top: 10px; left: 10px; display: flex; flex-wrap: wrap; gap: 6px; z-index: 1; }
.ribbon { background: var(--pop); color: var(--white); font-size: 12px; font-weight: 700; padding: 3px 9px; border: 2px solid var(--line); border-radius: 999px; }
.tile-body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.tile-name { font-weight: 700; font-size: 16px; line-height: 1.3; text-decoration: none; }
.tile-name:hover { text-decoration: underline; }
.price { font-weight: 700; }
.price s { color: var(--ink-2); font-weight: 500; margin-left: 6px; }
.disc { font-size: 13px; color: var(--pop); font-weight: 600; }
.meta { font-size: 13px; color: var(--ink-2); }
.swatches { display: flex; gap: 5px; }
.swatches i { width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid var(--line); }
.tile-cta { margin-top: auto; padding-top: 8px; }
.tile-cta .btn { width: 100%; padding: 9px 12px; font-size: 15px; box-shadow: 2px 2px 0 var(--ink); }
.skeleton { background: linear-gradient(90deg, var(--paper-2), #f9f4ea, var(--paper-2)); background-size: 200% 100%; animation: sk 1.2s infinite; border: 2px solid var(--paper-2); border-radius: var(--radius); aspect-ratio: 4 / 6; }
@keyframes sk { to { background-position: -200% 0; } }

/* Empty / error panel */
.panel { background: var(--white); border: 2px dashed var(--line); border-radius: var(--radius); padding: 36px 24px; text-align: center; }
.panel h3 { font-family: var(--display); font-weight: 400; font-size: 34px; letter-spacing: .03em; margin: 0 0 8px; }
.panel p { margin: 0 auto 18px; max-width: 34em; color: var(--ink-2); }

/* Value props */
.props { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 820px) { .props { grid-template-columns: 1fr; } }
.prop { background: var(--white); border: 2px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.prop .badge { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; border: 2px solid var(--line); font-family: var(--display); font-size: 24px; margin-bottom: 12px; }
.prop h3 { margin: 0 0 6px; font-size: 19px; }
.prop p { margin: 0; color: var(--ink-2); }

/* Categories */
.cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.cat { position: relative; display: flex; align-items: end; min-height: 150px; padding: 16px; text-decoration: none; border: 2px solid var(--line); border-radius: var(--radius); background: var(--sky); box-shadow: var(--shadow); overflow: hidden; }
.cat:nth-child(3n+2) { background: var(--pop); color: var(--white); }
.cat:nth-child(3n) { background: var(--sun); }
.cat img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .9; }
.cat span { position: relative; font-family: var(--display); font-size: 30px; letter-spacing: .04em; background: var(--ink); color: var(--white); padding: 2px 10px; border-radius: 8px; }

/* Manifesto band */
.band { background: var(--pop); color: var(--white); border-top: 2px solid var(--line); border-bottom: 2px solid var(--line); }
.band .wrap { padding-top: 48px; padding-bottom: 48px; display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; }
.band h2 { font-family: var(--display); font-weight: 400; font-size: clamp(34px, 5vw, 56px); letter-spacing: .03em; line-height: 1; margin: 0 0 10px; }
.band p { margin: 0; max-width: 36em; }
.band .btn { background: var(--sun); color: var(--ink); }
@media (max-width: 720px) { .band .wrap { grid-template-columns: 1fr; } }

/* Shop page */
.page-head { padding: 40px 0 8px; }
.page-head h1 { font-family: var(--display); font-weight: 400; font-size: clamp(46px, 8vw, 80px); letter-spacing: .03em; line-height: .95; margin: 0 0 6px; }
.page-head p { margin: 0; color: var(--ink-2); }
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 18px 0 6px; scrollbar-width: none; }
.chip { flex: none; border: 2px solid var(--line); background: var(--white); border-radius: 999px; padding: 7px 15px; font-weight: 600; cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--sun); }
.chip[disabled] { opacity: .4; cursor: not-allowed; }
.toolbar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; padding: 14px 0; border-bottom: 2px solid var(--line); margin-bottom: 22px; }
.toolbar .left, .toolbar .right { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.field { border: 2px solid var(--line); border-radius: 10px; background: var(--white); padding: 8px 12px; min-width: 0; }
.field.search { width: 220px; max-width: 100%; }
.field.price-in { width: 92px; }
.check { display: inline-flex; gap: 6px; align-items: center; font-weight: 600; font-size: 14px; }
.facets { display: flex; flex-wrap: wrap; gap: 18px; margin-bottom: 18px; }
.facet h4 { margin: 0 0 6px; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-2); }
.facet .row { display: flex; flex-wrap: wrap; gap: 6px; }
.facet .chip { padding: 4px 11px; font-size: 14px; display: inline-flex; align-items: center; gap: 6px; }
.facet .chip i { width: 12px; height: 12px; border-radius: 50%; border: 1.5px solid var(--line); }
.more { display: flex; justify-content: center; padding: 28px 0 8px; }
.count { font-weight: 600; }

/* Product page */
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 14px; color: var(--ink-2); padding: 20px 0 6px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.pdp { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; padding: 10px 0 56px; }
@media (max-width: 860px) { .pdp { grid-template-columns: 1fr; gap: 24px; } }
.gallery-main { position: relative; aspect-ratio: 4 / 5; background: var(--white); border: 2px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.thumbs { display: flex; gap: 10px; margin-top: 14px; overflow-x: auto; }
.thumbs button { flex: none; width: 70px; height: 84px; padding: 0; border: 2px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--white); cursor: pointer; opacity: .65; }
.thumbs button[aria-current="true"] { opacity: 1; outline: 3px solid var(--pop); outline-offset: 1px; }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.buy h1 { font-family: var(--display); font-weight: 400; font-size: clamp(38px, 5vw, 58px); letter-spacing: .03em; line-height: 1; margin: 6px 0 12px; }
.buy .price { font-size: 26px; }
.buy .ppu { font-size: 14px; color: var(--ink-2); }
.opt { border: 0; padding: 0; margin: 22px 0 0; }
.opt legend { font-weight: 700; margin-bottom: 8px; }
.opt legend span { font-weight: 500; color: var(--ink-2); }
.opt .row { display: flex; flex-wrap: wrap; gap: 8px; }
.opt .choice { min-width: 52px; border: 2px solid var(--line); background: var(--white); border-radius: 10px; padding: 9px 14px; font-weight: 700; cursor: pointer; }
.opt .choice[aria-pressed="true"] { background: var(--ink); color: var(--sun); }
.opt .choice[disabled] { opacity: .35; text-decoration: line-through; cursor: not-allowed; }
.opt .swatch { width: 40px; height: 40px; min-width: 40px; padding: 0; border-radius: 50%; }
.opt .swatch[aria-pressed="true"] { outline: 3px solid var(--pop); outline-offset: 2px; background: inherit; }
.mod-text { width: 100%; }
.qty-row { display: flex; align-items: center; gap: 14px; margin: 24px 0 14px; flex-wrap: wrap; }
.stepper { display: inline-flex; align-items: center; border: 2px solid var(--line); border-radius: 999px; background: var(--white); }
.stepper button { width: 40px; height: 40px; border: 0; background: none; font-size: 20px; cursor: pointer; }
.stepper button[disabled] { opacity: .3; cursor: not-allowed; }
.stepper output { min-width: 28px; text-align: center; font-weight: 700; }
.low { font-size: 14px; font-weight: 600; color: var(--pop); }
.blocked { font-size: 14px; color: var(--ink-2); margin: 10px 0 0; }
.err { color: #b3001f; font-weight: 600; margin: 10px 0 0; }
.assure { list-style: none; padding: 16px 0 0; margin: 20px 0 0; border-top: 2px dashed var(--line); display: grid; gap: 8px; font-size: 15px; }
.assure li::before { content: "★ "; color: var(--pop); }
.desc { margin-top: 26px; }
.desc :where(p, ul, ol) { margin: 0 0 12px; }
.info { border-top: 2px solid var(--line); }
.info details { border-bottom: 2px solid var(--line); }
.info summary { cursor: pointer; font-weight: 700; padding: 14px 0; list-style: none; display: flex; justify-content: space-between; }
.info summary::after { content: "+"; font-size: 20px; }
.info details[open] summary::after { content: "–"; }
.info .body { padding: 0 0 16px; }
.notify { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.notify .field { flex: 1 1 200px; }
.sticky-buy { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: var(--paper); border-top: 2px solid var(--line); padding: 10px 16px; display: none; align-items: center; gap: 12px; }
.sticky-buy .name { flex: 1; min-width: 0; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticky-buy .btn { padding: 10px 18px; font-size: 15px; box-shadow: 2px 2px 0 var(--ink); }
@media (max-width: 860px) { .sticky-buy.show { display: flex; } body.has-sticky { padding-bottom: 70px; } }

/* Cart drawer */
.backdrop { position: fixed; inset: 0; z-index: 60; background: rgba(19, 19, 19, .5); }
.backdrop[hidden] { display: none; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 61; width: min(420px, 100%); background: var(--paper); border-left: 2px solid var(--line); display: flex; flex-direction: column; }
.drawer[hidden] { display: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 16px; border-bottom: 2px solid var(--line); }
.drawer-head h2 { font-family: var(--display); font-weight: 400; font-size: 32px; letter-spacing: .04em; margin: 0; }
.icon-btn { width: 40px; height: 40px; border: 2px solid var(--line); border-radius: 50%; background: var(--white); cursor: pointer; font-size: 20px; line-height: 1; }
.drawer-body { flex: 1; overflow-y: auto; padding: 16px; }
.line { display: grid; grid-template-columns: 76px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px dashed var(--ink-2); }
.line img, .line .ph { width: 76px; height: 92px; object-fit: cover; border: 2px solid var(--line); border-radius: 10px; background: var(--paper-2); }
.line .nm { font-weight: 700; line-height: 1.3; }
.line .dl { font-size: 13px; color: var(--ink-2); }
.line .row { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 8px; }
.line .stepper button { width: 32px; height: 32px; font-size: 17px; }
.line .warn { font-size: 13px; color: #b3001f; font-weight: 600; }
.drawer-foot { border-top: 2px solid var(--line); padding: 16px; display: grid; gap: 10px; background: var(--white); }
.tot { display: flex; justify-content: space-between; font-size: 15px; }
.tot.grand { font-size: 19px; font-weight: 700; }
.tot.muted { color: var(--ink-2); }
.coupon { display: flex; gap: 8px; }
.coupon .field { flex: 1; padding: 7px 10px; }
.coupon button { border: 2px solid var(--line); border-radius: 10px; background: var(--white); font-weight: 700; padding: 0 12px; cursor: pointer; }
.cart-empty { text-align: center; padding: 40px 10px; }
.cart-empty p { color: var(--ink-2); }

/* Footer */
.footer { background: var(--ink); color: var(--paper); margin-top: 0; }
.footer .wrap { padding-top: 44px; padding-bottom: 32px; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; }
.footer .logo { color: var(--paper); }
.footer h4 { margin: 0 0 10px; color: var(--sun); font-size: 14px; letter-spacing: .08em; text-transform: uppercase; }
.footer a { color: var(--paper); text-decoration: none; display: block; padding: 3px 0; }
.footer a:hover { text-decoration: underline; }
.footer p { color: #bdb7aa; margin: 10px 0 0; max-width: 28em; }
.footer .fine { grid-column: 1 / -1; border-top: 1px solid #3a3833; padding-top: 18px; font-size: 13px; color: #9c968a; }
@media (max-width: 720px) { .footer .wrap { grid-template-columns: 1fr 1fr; } .footer .brand { grid-column: 1 / -1; } }