/* ALU Sekai v2 | house style
   Direction: "The pinned poster" · sector ecommerce · tone bold
   Type: Barlow Condensed (display) / Barlow (text)
   Palette: brand-kept (logo sun red / kitsune gold / warm ink)
   v3: compacta — hero 1 pantalla, catálogo de primera, foto fija en columna
*/

:root {
  --ink: #ecebe6;
  --bg: #16110e;
  --bg-deep: #100c0a;
  --surface: #1f1813;
  --surface-2: #241b15;
  --muted: #a89c8c;
  --red: #c8323e;
  --red-hi: #d64250;
  --gold: #d9a441;
  --line: rgba(236, 235, 230, 0.16);
  --pad: clamp(16px, 3vw, 32px);
  --gap-sec: clamp(64px, 8vw, 110px);
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --text: "Barlow", "Helvetica Neue", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scrollbar-gutter: stable; overflow-x: clip; background: var(--bg); }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--text);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; }

::selection { background: var(--red); color: #fff; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  clip-path: inset(50%); overflow: hidden; white-space: nowrap;
}

.skip {
  position: fixed; top: -70px; left: var(--pad); z-index: 200;
  background: var(--ink); color: #17110d; padding: 10px 18px;
  font-weight: 600; text-decoration: none; transition: top .2s ease;
}
.skip:focus { top: 12px; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

#vitrina, #como, #tienda, #top { scroll-margin-top: 84px; }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 10px 30px;
  font-family: var(--text); font-size: 16px; font-weight: 600; letter-spacing: 0.01em;
  text-decoration: none; border: 2px solid transparent; border-radius: 0;
  cursor: pointer; background: var(--ink); color: #17110d;
  transition: background .18s ease, color .18s ease, border-color .18s ease, transform .12s ease;
}
.btn:hover { background: #ffffff; }
.btn:active { transform: scale(0.98); }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-hi); }
.btn-outline { background: transparent; color: var(--ink); border-color: rgba(236, 235, 230, 0.4); }
.btn-outline:hover { background: rgba(236, 235, 230, 0.08); border-color: var(--ink); }

/* ============ TOP BAR ============ */
.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px max(var(--pad), calc((100vw - 1156px) / 2));
  transition: background .25s ease;
}
.topbar.scrolled { background: rgba(13, 9, 7, 0.96); }

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 46px; height: auto; }
.brand-txt { display: flex; flex-direction: column; line-height: 1.15; }
.brand-txt strong {
  font-family: var(--display); font-weight: 700; font-size: 18px;
  letter-spacing: 0.04em; color: var(--ink);
}
.brand-txt small { font-size: 13px; color: var(--muted); }

.mainnav { display: flex; gap: 28px; }
.mainnav a {
  text-decoration: none; font-size: 16px; font-weight: 500; color: var(--muted);
  padding: 6px 2px; border-bottom: 2px solid transparent; transition: color .18s ease, border-color .18s ease;
}
.mainnav a:hover { color: var(--ink); border-color: var(--gold); }

.topbar-actions { display: flex; align-items: center; gap: 12px; }

.cart-btn {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 44px; padding: 8px 18px; cursor: pointer;
  background: transparent; color: var(--ink);
  font-family: var(--text); font-size: 14px; font-weight: 600;
  border: 2px solid rgba(236, 235, 230, 0.3); border-radius: 0;
  transition: border-color .18s ease, background .18s ease;
}
.cart-btn:hover { border-color: var(--gold); background: rgba(236, 235, 230, 0.06); }
.cart-count {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 22px; height: 22px; padding: 0 5px;
  background: var(--gold); color: #17110d;
  font-family: var(--display); font-weight: 700; font-size: 15px;
}

.menu-btn {
  display: none; min-height: 44px; padding: 8px 18px; cursor: pointer;
  background: transparent; color: var(--ink); font-family: var(--text);
  font-size: 15px; font-weight: 600; border: 2px solid rgba(236, 235, 230, 0.3); border-radius: 0;
}

.menu {
  position: fixed; inset: 0; z-index: 150;
  background: var(--bg-deep);
  display: flex; flex-direction: column; align-items: flex-start; justify-content: center;
  padding: 0 var(--pad);
}
.menu[hidden] { display: none; }
.menu nav { display: flex; flex-direction: column; gap: 8px; }
.menu nav a {
  font-family: var(--display); font-weight: 700; font-size: clamp(44px, 13vw, 72px);
  text-transform: uppercase; letter-spacing: -0.01em;
  text-decoration: none; color: var(--ink); line-height: 1.1;
}
.menu nav a:hover { color: var(--gold); }
.menu-close {
  position: absolute; top: 16px; right: var(--pad);
  min-width: 48px; min-height: 48px; cursor: pointer;
  background: transparent; color: var(--ink); font-size: 22px;
  border: 2px solid rgba(236, 235, 230, 0.3);
}

/* ============ FOTOS - FRAME COMPARTIDO ============ */
.photo-frame {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--surface);
}
.photo-frame img { width: 100%; height: 100%; object-fit: cover; }
.how-photo figcaption,
.store-photo figcaption {
  margin-top: 10px;
  font-size: 13px; color: var(--muted);
}

/* ============ HERO - FULL-BLEED FOTOGRAFÍA ============ */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  padding: calc(96px + var(--pad)) var(--pad) var(--pad);
  overflow: hidden;
  background: #100c0a;
}
.hero-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 30%;
  filter: saturate(0.85) brightness(0.42);
  animation: kb 22s ease-in-out infinite alternate;
  z-index: 0;
}
.hero-scrim {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top, rgba(14,9,7,0.88) 0%, rgba(14,9,7,0.28) 45%, rgba(14,9,7,0.05) 100%), linear-gradient(to bottom, rgba(14,9,7,0.78) 0%, rgba(14,9,7,0) 24%); /* taste-skill-ignore — neutral legibility scrims over hero photo */
}
.hero-copy {
  position: relative; z-index: 2;
  display: grid; gap: 24px;
  max-width: 860px;
}
.hero-title {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(64px, 11vw, 168px);
  line-height: 0.92; letter-spacing: -0.02em; text-transform: uppercase;
  color: var(--ink);
}
.hero-title .hero-sekai { color: var(--gold); }
.hero-support {
  max-width: 46ch;
  font-size: 18px;
  line-height: 1.55; color: rgba(236,235,230,0.88);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-meta {
  display: flex; flex-wrap: wrap; gap: 8px 0;
  font-size: 14px; color: var(--muted);
}
.hero-meta strong { color: var(--ink); font-weight: 600; }
@keyframes kb {
  from { transform: scale(1); }
  to { transform: scale(1.07); }
}

/* ============ BANDA DE VENTAJAS ============ */
.features {
  padding: var(--gap-sec) var(--pad);
  background: var(--bg-deep);
}
.feat-line {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1; letter-spacing: -0.01em; text-transform: uppercase;
  color: var(--ink); max-width: 24ch;
}
.feat-grid {
  list-style: none;
  margin-top: 38px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px;
}
.feat-grid li { display: grid; gap: 8px; padding-top: 18px; border-top: 2px solid var(--red); }
.feat-grid strong {
  font-family: var(--display); font-weight: 700;
  font-size: 22px; letter-spacing: 0.02em; text-transform: uppercase;
  color: var(--ink);
}
.feat-grid span { font-size: 14px; line-height: 1.5; color: var(--muted); }

/* ============ CATÁLOGO ============ */
.catalog {
  padding: calc(64px + var(--gap-sec)) var(--pad) var(--gap-sec);
  background: var(--bg);
}
body[data-page="catalog"] { padding-top: 0; }
body[data-page="catalog"] .catalog { padding-top: calc(56px + var(--gap-sec)); }
body[data-page="catalog"] .catalog-head h1 {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(52px, 8.5vw, 128px);
  line-height: 0.95; text-transform: uppercase; letter-spacing: -0.015em;
  color: var(--ink);
}
.catalog-head h2 {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(48px, 7.5vw, 110px);
  line-height: 0.95; text-transform: uppercase; letter-spacing: -0.015em;
  color: var(--ink);
}
.catalog-sub {
  margin-top: 14px; max-width: 56ch;
  font-size: 16px; color: var(--muted);
}
.catalog-sub em { font-style: normal; color: var(--gold); font-weight: 600; }

.catalog-tools {
  display: flex; flex-wrap: wrap; align-items: center; gap: 16px;
  margin: 30px 0 22px;
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  min-height: 42px; padding: 8px 16px; cursor: pointer;
  background: transparent; color: var(--muted);
  font-family: var(--text); font-size: 14px; font-weight: 600;
  border: 2px solid var(--line); border-radius: 0;
  transition: color .15s ease, border-color .15s ease, background .15s ease;
}
.chip:hover { color: var(--ink); border-color: rgba(236, 235, 230, 0.45); }
.chip[aria-pressed="true"] {
  background: var(--gold); border-color: var(--gold); color: #17110d;
}

.search input {
  min-height: 48px; width: min(360px, 100%); padding: 10px 16px;
  background: var(--surface); color: var(--ink);
  font-family: var(--text); font-size: 16px;
  border: 2px solid var(--line); border-radius: 0;
  transition: border-color .15s ease;
}
.search input::placeholder { color: var(--muted); }
.search input:focus { outline: none; border-color: var(--gold); }

.catalog-grid {
  display: grid; gap: 14px;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}
.pcard {
  background: var(--surface);
  display: flex; flex-direction: column;
  border-top: 2px solid transparent;
  transition: background .2s ease, border-color .2s ease;
}
.pcard:hover { background: var(--surface-2); border-color: var(--red); }
.pcard-media {
  aspect-ratio: 4 / 5;
  background: var(--g, var(--surface-2));
  display: grid; place-items: center;
  overflow: hidden; position: relative;
}
.pcard-media img.pimg {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity .3s ease, transform .35s ease;
}
.pcard-media img.pimg.shown { opacity: 1; }
.pcard:hover .pcard-media img.pimg.shown { transform: scale(1.05); }
.emblem { width: 52%; height: 52%; color: var(--ink); opacity: 0.92; }
.pcard-body { padding: 14px 14px 16px; display: grid; gap: 6px; }
.pcard-name {
  font-size: 16px; font-weight: 600; line-height: 1.3; color: var(--ink);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.pcard-cat { font-size: 13px; color: var(--muted); }
.pcard-line { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-top: 2px; }
.pcard-price {
  font-family: var(--display); font-weight: 700; font-size: 26px; color: var(--gold);
}
.pcard-stock { font-size: 13px; color: var(--muted); text-align: right; line-height: 1.35; }
.pcard-stock.low { color: var(--gold); font-weight: 600; }
.pcard-add {
  margin-top: 8px; min-height: 46px; cursor: pointer;
  background: transparent; color: var(--ink);
  font-family: var(--text); font-size: 14px; font-weight: 600;
  border: 2px solid rgba(236, 235, 230, 0.35); border-radius: 0;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.pcard-add:hover { background: var(--red); border-color: var(--red); color: #fff; }
.pcard-add:active { transform: scale(0.98); }
.pcard-add.added { background: var(--gold); border-color: var(--gold); color: #17110d; }

.noscript-note { margin-top: 24px; color: var(--gold); font-size: 16px; }

/* ============ DESTACADOS (HOME) ============ */
.featured {
  padding: var(--gap-sec) var(--pad);
  background: var(--bg);
}
.featured-head h2 {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(48px, 7.5vw, 110px);
  line-height: 0.95; text-transform: uppercase; letter-spacing: -0.015em;
  color: var(--ink);
}
.featured-sub {
  margin-top: 14px; max-width: 60ch;
  font-size: 16px; color: var(--muted);
}
.featured-sub #totalCount { color: var(--gold); font-weight: 600; }
.featured-grid {
  display: grid; gap: 14px;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  margin-top: 34px;
}
.featured-more {
  margin-top: 40px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 18px;
  padding-top: 26px;
  border-top: 2px solid var(--line);
}
.featured-more p { font-size: 16px; color: var(--muted); max-width: 52ch; }
.featured-cta { min-width: 280px; }

/* ============ CATEGORÍAS — DROPDOWN ANIMADO ============ */
.catdd { position: relative; }
.catdd-btn {
  display: inline-flex; align-items: center; gap: 12px;
  min-height: 48px; padding: 10px 18px; cursor: pointer;
  background: var(--surface); color: var(--ink);
  font-family: var(--text); font-size: 15px; font-weight: 600;
  border: 2px solid var(--line); border-radius: 0;
  transition: border-color .18s ease;
}
.catdd-btn:hover { border-color: rgba(236,235,230,.45); }
.catdd-btn[aria-expanded="true"] { border-color: var(--gold); }
.catdd-caret {
  width: 18px; height: 18px; color: var(--muted); flex: 0 0 auto;
  transition: transform .25s cubic-bezier(.2,.7,.3,1);
}
.catdd-btn[aria-expanded="true"] .catdd-caret { transform: rotate(180deg); color: var(--gold); }
.catdd-label { max-width: 240px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.catdd-list {
  position: absolute; top: calc(100% + 8px); left: 0; z-index: 60;
  min-width: 280px; max-height: 60vh; overflow-y: auto;
  list-style: none;
  background: var(--surface-2);
  border: 2px solid rgba(236,235,230,.28);
  padding: 6px;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .22s ease, transform .22s cubic-bezier(.2,.7,.3,1), visibility 0s linear .22s;
}
.catdd-list.open {
  opacity: 1; visibility: visible; transform: translateY(0);
  transition: opacity .22s ease, transform .22s cubic-bezier(.2,.7,.3,1);
}
.catdd-item {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  width: 100%; min-height: 44px; padding: 10px 14px; cursor: pointer;
  background: transparent; color: var(--ink); text-align: left;
  font-family: var(--text); font-size: 15px; font-weight: 500;
  border: 0; border-radius: 0;
  transition: background .14s ease, color .14s ease;
}
.catdd-item:hover, .catdd-item:focus-visible { background: rgba(236,235,230,.08); }
.catdd-item small {
  font-family: var(--display); font-weight: 700; font-size: 15px;
  color: var(--gold);
}
li[aria-selected="true"] .catdd-item { background: var(--gold); color: #17110d; }
li[aria-selected="true"] .catdd-item small { color: #17110d; }

/* grid empty state */
.grid-empty {
  grid-column: 1 / -1;
  padding: 48px 24px;
  background: var(--surface);
  font-size: 17px; color: var(--muted);
  text-align: center;
}
.grid-empty a { color: var(--gold); font-weight: 600; }
.catalog-count {
  font-size: 14px; color: var(--muted);
  margin: 0 0 16px;
}

/* ============ BLIND BOX ============ */
.showcase {
  display: grid; grid-template-columns: minmax(0, 620px) minmax(280px, 400px);
  justify-content: center;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  padding: var(--gap-sec) var(--pad);
  background: var(--bg-deep);
}
.showcase-text { display: grid; gap: 18px; align-content: start; justify-items: start; }
.showcase-title {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(40px, 6vw, 108px);
  line-height: 0.95; text-transform: uppercase; letter-spacing: -0.015em;
  color: var(--ink);
}
.showcase-note { max-width: 48ch; font-size: 16px; line-height: 1.55; color: var(--muted); }
.showcase-note strong { color: var(--gold); font-weight: 600; }
.showcase-frame {
  aspect-ratio: 1;
  background: var(--surface);
  display: grid; place-items: center;
  overflow: hidden;
}
.box-art { width: 58%; height: auto; color: var(--ink); overflow: visible; }

/* ============ CÓMO COMPRAR ============ */
.how { padding: var(--gap-sec) var(--pad); background: var(--bg); }
.how-head h2 {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(48px, 7.5vw, 110px);
  line-height: 0.95; text-transform: uppercase; letter-spacing: -0.015em;
  color: var(--ink);
}
.how-grid {
  margin-top: 38px;
  display: grid; grid-template-columns: 5fr 7fr;
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
}
.how-photo { position: sticky; top: 96px; }
.how-photo .photo-frame { aspect-ratio: 4 / 5; }
.how-steps { display: grid; gap: 0; }
.how-step {
  display: grid; grid-template-columns: auto 1fr; gap: 20px;
  padding: 26px 0;
  border-bottom: 2px solid var(--line);
}
.how-verb {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(26px, 2.4vw, 34px);
  line-height: 1; text-transform: uppercase; letter-spacing: 0.01em;
  color: var(--red);
  min-width: 11ch;
}
.how-step p { font-size: 16px; line-height: 1.55; color: var(--muted); max-width: 52ch; }

/* ============ PROOF | SERIES ============ */
.proof { padding-bottom: var(--gap-sec); background: var(--bg); }
.marquee {
  background: var(--red);
  padding: clamp(22px, 4vh, 36px) 0;
  overflow: hidden;
}
.marquee-track {
  display: flex; align-items: center; gap: 3.5vw;
  width: max-content;
  animation: marquee 60s linear infinite;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.marquee-track span,
.marquee-track .marquee-name {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1; letter-spacing: 0;
  text-transform: uppercase; color: var(--ink);
  white-space: nowrap;
}
.marquee-track .marquee-name {
  display: inline-block; padding: 0; cursor: pointer;
  background: transparent; border: 0; border-radius: 0; text-align: left;
  transition: color .15s ease;
}
.marquee-track .marquee-name:hover { color: #17110d; }
.marquee:hover .marquee-track,
.marquee:focus-within .marquee-track { animation-play-state: paused; }
.proof-line {
  padding: 20px var(--pad) 0;
  font-size: 16px; color: var(--muted); max-width: 60ch;
}

/* ============ LA TIENDA ============ */
.store {
  padding: 0 var(--pad) var(--gap-sec);
  background: var(--bg);
}
.store-grid {
  margin-top: 38px;
  display: grid; grid-template-columns: 5fr 7fr;
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
}
.store-lead { margin-top: 14px; font-size: 18px; color: var(--ink); max-width: 46ch; }
.store-photo { position: sticky; top: 96px; align-self: start; }
.store-photo .photo-frame { aspect-ratio: 4 / 3; }
.store-photo .photo-frame img { filter: saturate(0.95); }
.store-info h2 {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(48px, 7.5vw, 110px);
  line-height: 0.95; text-transform: uppercase; letter-spacing: -0.015em;
}
.store-address {
  font-style: normal; margin-top: 26px;
  font-size: 16px; color: var(--muted);
  display: grid; gap: 12px;
}
.store-address strong { color: var(--ink); font-size: 18px; }
.store-hours { color: var(--gold); font-weight: 600; }
.store-phone a { color: var(--ink); text-decoration-color: var(--gold); text-underline-offset: 3px; }
.store-phone a:hover { color: var(--gold); }
.store-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* ============ CTA FINAL ============ */
.cta {
  position: relative;
  min-height: clamp(420px, 68svh, 620px);
  background: #120d0b;
  display: grid; align-items: center;
  overflow: hidden;
}
.cta-bg {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  object-position: center 40%;
  filter: saturate(0.85) brightness(0.55);
}
.cta .cta-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.cta-scrim { position: absolute; inset: 0; background: rgba(14, 9, 7, 0.5); z-index: 2; }
.cta-text {
  position: relative; z-index: 3;
  padding: 56px var(--pad);
  max-width: 760px;
}
.cta-text h2 {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(34px, 5vw, 60px);
  line-height: 1.02; letter-spacing: -0.01em;
  color: var(--ink);
}
.cta-sub {
  margin: 14px 0 26px;
  max-width: 44ch;
  font-size: 18px; color: rgba(236, 235, 230, 0.9);
}

/* ============ FOOTER ============ */
.footer {
  background: var(--bg-deep);
  padding: 60px var(--pad) 28px;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1.4fr 1.6fr; gap: 32px;
}
.footer-brand img { width: 74px; height: auto; margin-bottom: 14px; }
.footer-brand p { font-size: 14px; color: var(--muted); }
.footer-col { display: grid; gap: 8px; align-content: start; }
.footer-col p, .footer-col a { font-size: 14px; color: var(--muted); text-decoration: none; }
.footer-col a:hover { color: var(--gold); }
.footer-h {
  font-family: var(--display); font-weight: 700; font-size: 16px;
  color: var(--ink);
}
.footer-credits { font-size: 13px; line-height: 1.55; }
.footer-base {
  margin-top: 48px; padding-top: 24px;
  font-size: 13px; color: var(--muted);
}

/* ============ CART DRAWER ============ */
.cart-backdrop {
  position: fixed; inset: 0; z-index: 180;
  background: rgba(8, 5, 4, 0.6);
  opacity: 0; transition: opacity .25s ease;
}
.cart-backdrop.on { opacity: 1; }

.cart {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 190;
  width: min(430px, 100vw);
  background: #1a1410;

  display: flex; flex-direction: column;
  transform: translateX(102%);
  visibility: hidden;
  transition: transform .3s ease, visibility 0s linear .3s;
}
.cart.open { transform: translateX(0); visibility: visible; transition: transform .3s ease; }
.cart-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 22px;
}
.cart-head h2 {
  font-family: var(--display); font-weight: 700; font-size: 26px;
  text-transform: uppercase; letter-spacing: 0.03em;
}
.cart-close {
  min-width: 44px; min-height: 44px; cursor: pointer;
  background: transparent; color: var(--ink); font-size: 18px;
  border: 2px solid rgba(236, 235, 230, 0.28);
}
.cart-close:hover { border-color: var(--gold); }
.cart-body { flex: 1; overflow-y: auto; padding: 18px 22px; display: grid; gap: 14px; align-content: start; }
.cart-empty { font-size: 15px; color: var(--muted); line-height: 1.7; }
.cart-empty a { color: var(--gold); }

.cline {
  display: grid; grid-template-columns: 1fr auto; gap: 4px 12px;
  padding-bottom: 18px; border-bottom: none;
}
.cline-name { font-size: 14px; font-weight: 600; line-height: 1.35; }
.cline-cat { font-size: 13px; color: var(--muted); }
.cline-price { font-family: var(--display); font-weight: 700; font-size: 18px; color: var(--gold); align-self: start; }
.cline-ctrl {
  grid-column: 1 / -1; display: flex; align-items: center; gap: 10px; margin-top: 4px;
}
.qty-btn {
  min-width: 34px; min-height: 34px; cursor: pointer;
  background: transparent; color: var(--ink); font-size: 17px; font-weight: 600;
  border: 2px solid rgba(236, 235, 230, 0.28);
  transition: border-color .15s ease;
}
.qty-btn:hover { border-color: var(--gold); }
.cline-qty { font-size: 14px; font-weight: 600; min-width: 20px; text-align: center; }
.cline-rm {
  margin-left: auto; cursor: pointer; background: transparent; border: none;
  color: var(--muted); font-size: 13px; text-decoration: underline; text-underline-offset: 2px;
}
.cline-rm:hover { color: var(--red-hi); }

.cart-foot { padding: 26px 22px 22px; display: grid; gap: 14px; }
.cart-delivery { display: grid; gap: 8px; }
.cart-lbl { font-size: 14px; font-weight: 600; color: var(--muted); }
.cart-radios { display: grid; gap: 6px; }
.cart-radios label {
  display: flex; gap: 10px; align-items: center;
  font-size: 14px; color: var(--ink); cursor: pointer;
}
.cart-radios input { accent-color: var(--red); width: 17px; height: 17px; }
.cart-total {
  display: flex; justify-content: space-between; align-items: baseline;
  font-size: 16px; color: var(--muted);
}
.cart-total strong {
  font-family: var(--display); font-weight: 700; font-size: 26px; color: var(--ink);
}
.cart-note { font-size: 13px; color: var(--muted); line-height: 1.5; }

/* ============ REVEALS ============ */
html.js [data-reveal] {
  opacity: 0; transform: translateY(26px);
  transition: opacity .7s ease, transform .7s ease;
}
html.js [data-reveal].in { opacity: 1; transform: none; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1000px) {
  .mainnav { display: none; }
  .menu-btn { display: inline-flex; }
  .brand-txt small { display: none; }

  .hero { padding: calc(88px + var(--pad)) var(--pad) var(--pad); }
  .hero-copy { gap: 18px; }
  .hero-title { font-size: clamp(56px, 14vw, 115px); }

  .feat-grid { grid-template-columns: 1fr 1fr; gap: 24px 18px; }

  .showcase { grid-template-columns: 1fr; gap: 26px; }
  .showcase-frame { width: min(58vw, 320px); justify-self: center; }

  .how-grid { grid-template-columns: 1fr; gap: 30px; }
  .how-photo { position: static; max-width: 520px; }

  .store-grid { grid-template-columns: 1fr; gap: 28px; }
  .store-photo { max-width: 560px; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 480px) {
  .catalog-grid, .featured-grid { grid-template-columns: 1fr; gap: 10px; }
  .featured-more { flex-direction: column; align-items: stretch; }
  .featured-cta { min-width: 0; }
  .catalog-tools { flex-direction: column; align-items: stretch; }
  .catdd-btn { width: 100%; }
  .catdd-list { min-width: 0; width: 100%; }
  .search input { width: 100%; }
  .pcard { flex-direction: row; }
  .pcard-media { flex: 0 0 112px; width: 112px; aspect-ratio: 1; }
  .emblem { width: 62%; height: 62%; }
  .pcard-body { padding: 12px 12px 12px 14px; gap: 3px; align-content: center; }
  .pcard-name { font-size: 15px; }
  .pcard-price { font-size: 21px; }
  .pcard-add { min-height: 38px; margin-top: 6px; }
  .pcard-stock { font-size: 13px; }
}

@media (max-width: 560px) {
  .hero { min-height: 92svh; }
  .hero-title { font-size: clamp(52px, 17vw, 84px); }
  .hero-meta { flex-direction: column; gap: 4px; }
  .hero-meta span { padding: 0; border-left: none; }
  .feat-grid { grid-template-columns: 1fr; gap: 20px; }
  .catalog-tools { flex-direction: column; align-items: stretch; }
  .search input { width: 100%; }
  .how-step { grid-template-columns: 1fr; gap: 6px; padding: 18px 0; }
  .how-verb { min-width: 0; }
  .cta-text { padding: 48px var(--pad); }
  .footer-grid { grid-template-columns: 1fr; }
}

/* ============ REDUCED MOTION ============ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
  }
  .hero-bg { animation: none; }
  .catdd-list, .catdd-list.open { transition: none; }
  .marquee-track { animation: none; flex-wrap: wrap; width: auto; row-gap: 16px; padding: 0 var(--pad); }
  html.js [data-reveal] { opacity: 1; transform: none; }
  .how-photo { position: static; }
}
