/* =========================================================
   ZATOICHI · MIXTURA NIKKEI — Estilos
   Oscuro carbón + rojo de marca + amarillo de los flyers.
   ========================================================= */
:root {
  --bg: #111013;
  --bg-2: #18171b;
  --surface: #1f1e23;
  --surface-2: #29282e;
  --line: #34333a;
  --text: #f7f3ee;
  --muted: #aaa39c;
  --red: #e3161b;
  --red-2: #b30f13;
  --yellow: #ffc61a;
  --wa: #22c35e;
  --radius: 18px;
  --radius-sm: 12px;
  --header-h: 72px;
  --shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.7);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --f-display: "Bebas Neue", Impact, "Arial Narrow", sans-serif;
  --f-brush: "Kaushan Script", "Brush Script MT", cursive;
  --f-logo: "Josefin Sans", "Futura", sans-serif;
  --f-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 70px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.55 var(--f-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.locked { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 6px; }
.muted { color: var(--muted); }
.small { font-size: 0.86rem; }
[hidden] { display: none !important; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 46px; padding: 12px 22px; border: 0; border-radius: 999px;
  font-weight: 800; letter-spacing: 0.01em; text-decoration: none; white-space: nowrap;
  transition: transform 0.2s var(--ease), background-color 0.2s, box-shadow 0.2s;
}
.btn:active { transform: scale(0.97); }
.btn--lg { min-height: 54px; padding: 14px 28px; font-size: 1.05rem; }
.btn--block { width: 100%; }
.btn--red { background: var(--red); color: #fff; box-shadow: 0 10px 26px -10px rgba(227, 22, 27, 0.8); }
.btn--red:hover { background: #f2262b; }
.btn--ghost { background: rgba(255, 255, 255, 0.06); color: var(--text); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.22); }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.12); }
.btn--wa { background: var(--wa); color: #06210f; }
.btn--wa:hover { background: #2bd86a; }

/* ---------- Pincelada (texto con trazo rojo) ---------- */
.brush {
  position: relative; display: inline-block; z-index: 0;
  font-family: var(--f-brush); font-style: normal; text-transform: none; letter-spacing: 0;
  color: #fff; padding: 0 0.18em;
}
.brush::before {
  content: ""; position: absolute; z-index: -1; left: -0.12em; right: -0.18em; top: 18%; bottom: 6%;
  background: var(--red);
  border-radius: 0.35em 0.1em 0.45em 0.08em / 0.5em 0.2em 0.6em 0.15em;
  transform: rotate(-2.5deg) skewX(-10deg);
  box-shadow: 0.08em 0.06em 0 rgba(0, 0, 0, 0.25);
}
.brush--light::before { background: #0d0c0f; }

/* ---------- Anuncios ---------- */
.announce { background: var(--red); color: #fff; overflow: hidden; font-size: 0.88rem; }
.announce__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.announce__track span { padding: 8px 26px; white-space: nowrap; }
.announce__track b { color: var(--yellow); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Logo ---------- */
.logo { display: inline-flex; flex-direction: column; align-items: center; text-decoration: none; line-height: 1; }
.logo__word {
  display: inline-flex; align-items: flex-end;
  font: 300 1.5rem/1 var(--f-logo); letter-spacing: 0.2em; color: #fff; margin-right: -0.2em;
}
.logo__a { width: 0.62em; height: 1.02em; margin: 0 0.2em -0.04em 0.02em; overflow: visible; }
.logo__a path { fill: none; stroke: currentColor; stroke-width: 3.4; stroke-linecap: round; }
.logo__sub {
  margin-top: 5px; font: 700 0.5rem/1 var(--f-body); letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--red); margin-right: -0.32em;
}
.logo--lg .logo__word { font-size: 2.6rem; }
.logo--lg .logo__sub { font-size: 0.8rem; margin-top: 8px; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; gap: 14px;
  height: var(--header-h); padding: 0 max(16px, env(safe-area-inset-left));
  background: rgba(17, 16, 19, 0.88); backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.header__nav { display: none; gap: 6px; margin-left: auto; }
.header__nav a { padding: 9px 16px; border-radius: 999px; text-decoration: none; font-weight: 700; font-size: 0.95rem; color: #e9e4de; }
.header__nav a:hover { background: rgba(255, 255, 255, 0.07); }
.header__nav a.is-pill { background: var(--red); color: #fff; }
.header__wa {
  display: none; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px;
  text-decoration: none; font-weight: 700; font-size: 0.92rem; color: var(--wa);
  box-shadow: inset 0 0 0 1.5px rgba(34, 195, 94, 0.45);
}
.header__wa:hover { background: rgba(34, 195, 94, 0.1); }
.cart-btn {
  position: relative; margin-left: auto; display: grid; place-items: center;
  width: 48px; height: 48px; border: 0; border-radius: 50%;
  background: var(--surface-2); color: #fff; transition: background-color 0.2s;
}
.cart-btn:hover { background: var(--red); }
.cart-btn__count {
  position: absolute; top: -3px; right: -3px; min-width: 22px; height: 22px; padding: 0 6px;
  display: grid; place-items: center; border-radius: 999px;
  background: var(--yellow); color: #1a1205; font-size: 0.75rem; font-weight: 800;
}
.cart-btn.bump { animation: bump 0.5s var(--ease); }
@keyframes bump { 30% { transform: scale(1.18); } 60% { transform: scale(0.94); } }

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; min-height: min(86svh, 720px); display: flex; align-items: flex-end; }
.hero__bg { position: absolute; inset: 0; z-index: -2; background: center right / cover no-repeat; transform: scale(1.04); animation: heroZoom 14s var(--ease) forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero__shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(17, 16, 19, 0.15) 0%, rgba(17, 16, 19, 0.55) 45%, rgba(17, 16, 19, 0.97) 100%),
    linear-gradient(90deg, rgba(17, 16, 19, 0.6), transparent 70%);
}
.hero__content { width: 100%; max-width: 1280px; margin: 0 auto; padding: 120px 20px 44px; }
.hero__kicker { margin: 0 0 10px; font-weight: 800; font-size: 0.8rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--yellow); }
.hero__title { margin: 0; font: 400 clamp(3.2rem, 12vw, 6.6rem)/0.92 var(--f-display); letter-spacing: 0.01em; text-transform: uppercase; }
.hero__line { display: block; opacity: 0; transform: translateY(24px); animation: rise 0.8s var(--ease) forwards; }
.hero__line:nth-child(2) { animation-delay: 0.12s; }
.hero__title .brush { font-size: 0.82em; line-height: 1.15; margin-left: 0.06em; }
@keyframes rise { to { opacity: 1; transform: none; } }
.hero__sub { max-width: 34rem; margin: 18px 0 26px; color: #ddd6cf; font-size: 1.04rem; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__sticker {
  position: absolute; top: 22px; right: 16px;
  display: grid; justify-items: center; gap: 2px; width: 138px; height: 138px; padding: 16px; border-radius: 50%;
  background: var(--yellow); color: #17110a; text-decoration: none; text-align: center; align-content: center;
  transform: rotate(8deg); box-shadow: 0 16px 36px -12px rgba(0, 0, 0, 0.7);
  animation: wobble 5s ease-in-out infinite;
}
.sticker__kicker { font-weight: 800; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; }
.sticker__price { font: 400 2rem/1 var(--f-display); color: var(--red); }
.sticker__small { font-size: 0.62rem; font-weight: 700; }
@keyframes wobble { 50% { transform: rotate(3deg) scale(1.03); } }

/* ---------- Sellos ---------- */
.seals {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px;
  max-width: 1280px; margin: 0 auto; background: var(--line);
  border-block: 1px solid var(--line);
}
.seal { display: flex; align-items: center; gap: 12px; padding: 18px 16px; background: var(--bg); font-weight: 700; font-size: 0.9rem; line-height: 1.25; }
.seal svg { flex: none; width: 38px; height: 38px; padding: 7px; border-radius: 50%; background: var(--red); fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Carta: barra lateral / superior ---------- */
.carta { max-width: 1280px; margin: 0 auto; padding: 0 0 40px; }
.side {
  position: sticky; top: var(--header-h); z-index: 30;
  padding: 12px 16px 10px; background: rgba(17, 16, 19, 0.94); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.search {
  display: flex; align-items: center; gap: 10px; padding: 0 14px; height: 44px; border-radius: 999px;
  background: var(--surface); color: var(--muted); box-shadow: inset 0 0 0 1px var(--line);
}
.search:focus-within { box-shadow: inset 0 0 0 2px var(--red); color: var(--text); }
.search input { flex: 1; min-width: 0; height: 100%; border: 0; background: transparent; outline: none; }
.search input::placeholder { color: var(--muted); }
.catnav { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; }
.catnav::-webkit-scrollbar { display: none; }
.catnav a {
  flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px;
  text-decoration: none; font-weight: 700; font-size: 0.9rem; white-space: nowrap;
  background: var(--surface); color: #e3ddd6; transition: background-color 0.2s, color 0.2s; scroll-snap-align: center;
}
.catnav a small { font-weight: 700; color: var(--muted); }
.catnav a.is-active { background: var(--red); color: #fff; }
.catnav a.is-active small { color: rgba(255, 255, 255, 0.8); }
.side__note { display: none; }

/* ---------- Carta: secciones ---------- */
.menu { padding: 8px 16px 0; min-width: 0; }
.cat { padding-top: 34px; }
.cat__head { margin-bottom: 18px; }
.cat__kicker { margin: 0; font: 400 1.3rem/1 var(--f-brush); color: var(--red); }
.cat__title { margin: 2px 0 6px; font: 400 clamp(2.4rem, 7vw, 3.2rem)/0.95 var(--f-display); letter-spacing: 0.02em; text-transform: uppercase; }
.cat__tag { margin: 0; color: var(--muted); max-width: 46rem; }
.empty-search { padding: 50px 0; text-align: center; color: var(--muted); }

/* Grilla de productos */
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.card {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  border-radius: var(--radius); background: var(--surface); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.card:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px rgba(227, 22, 27, 0.5), var(--shadow); }
.card__hit { display: flex; flex-direction: column; flex: 1; padding: 0; border: 0; background: none; text-align: left; }
.card__media { position: relative; aspect-ratio: 1; overflow: hidden; background: #0d0c0f; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.card:hover .card__media img { transform: scale(1.06); }
.card__badge {
  position: absolute; top: 10px; left: 10px; padding: 4px 10px; border-radius: 999px;
  background: var(--yellow); color: #17110a; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.02em;
}
.card__body { display: flex; flex-direction: column; gap: 4px; padding: 12px 12px 14px; flex: 1; }
.card__name { font-weight: 800; font-size: 0.92rem; line-height: 1.2; letter-spacing: 0.03em; text-transform: uppercase; padding-right: 40px; }
.card__desc { display: none; color: var(--muted); font-size: 0.86rem; line-height: 1.4; }
.card__price { margin-top: auto; padding-top: 6px; font-weight: 800; color: var(--text); }
.card__price small { font-weight: 600; color: var(--muted); font-size: 0.78rem; margin-right: 4px; }
.card__add {
  position: absolute; right: 10px; bottom: 12px; display: grid; place-items: center;
  width: 42px; height: 42px; border: 0; border-radius: 50%; background: var(--red); color: #fff;
  box-shadow: 0 8px 18px -8px rgba(227, 22, 27, 0.9); transition: transform 0.2s var(--ease), background-color 0.2s;
}
.card__add:hover { background: #f2262b; transform: scale(1.08) rotate(90deg); }
.card__add svg { width: 20px; height: 20px; }

/* Promos */
.grid--promos { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 -16px; padding: 4px 16px 14px; scroll-padding-inline: 16px; }
.grid--promos::-webkit-scrollbar { display: none; }
.grid--promos .card { flex: 0 0 min(80%, 330px); scroll-snap-align: start; }
.card--promo .card__media { aspect-ratio: 4 / 3.4; }
.card--promo .card__body { padding: 14px 16px 18px; }
.card--promo .card__name { font: 400 1.9rem/0.95 var(--f-display); letter-spacing: 0.02em; padding-right: 0; }
.card--promo .card__desc { display: block; }
.card--promo .card__price { font: 400 2rem/1 var(--f-display); color: var(--red); letter-spacing: 0.02em; padding-right: 54px; }
.card--promo .card__add { width: 48px; height: 48px; right: 14px; bottom: 16px; }
.pieces {
  position: absolute; right: 12px; top: 12px; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%;
  background: rgba(17, 16, 19, 0.82); backdrop-filter: blur(6px); box-shadow: inset 0 0 0 2px var(--red); text-align: center; line-height: 1;
}
.pieces b { font: 400 1.6rem/0.9 var(--f-display); }
.pieces span { font-size: 0.55rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.per-piece { font-size: 0.8rem; color: var(--yellow); font-weight: 700; }
.promo-hint { margin: 2px 0 0; font-size: 0.85rem; color: var(--muted); }
.card__price { padding-right: 44px; }
.card__price .promo-hint { display: block; margin: 2px 0 0; font-size: 0.78rem; font-weight: 700; color: var(--yellow); }

/* ---------- Banda CTA ---------- */
.band {
  position: relative; overflow: hidden; text-align: center; padding: 56px 20px 60px; margin-top: 30px;
  background:
    radial-gradient(60% 120% at 10% 100%, rgba(0, 0, 0, 0.35), transparent 60%),
    radial-gradient(50% 100% at 90% 0%, rgba(255, 255, 255, 0.08), transparent 60%),
    var(--red);
}
.band::before, .band::after {
  content: ""; position: absolute; width: 220px; height: 220px; border-radius: 50%;
  border: 14px solid rgba(0, 0, 0, 0.12); box-shadow: 0 0 0 26px rgba(0, 0, 0, 0.06), 0 0 0 56px rgba(0, 0, 0, 0.04);
}
.band::before { left: -90px; bottom: -110px; }
.band::after { right: -80px; top: -120px; }
.band__title { position: relative; margin: 0; font-size: clamp(2rem, 7vw, 3.6rem); line-height: 1.2; }
.band__sub { position: relative; margin: 10px 0 24px; font-weight: 700; color: #ffe7e7; }
.band .btn { position: relative; }

/* ---------- Pasos ---------- */
.steps { max-width: 1280px; margin: 0 auto; padding: 64px 16px 30px; }
.section-head { text-align: center; margin-bottom: 26px; }
.eyebrow { margin: 0; font: 400 1.3rem/1 var(--f-brush); color: var(--red); }
.section-title { margin: 4px 0 0; font: 400 clamp(2.4rem, 7vw, 3.4rem)/1 var(--f-display); letter-spacing: 0.02em; text-transform: uppercase; }
.steps__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.step { position: relative; padding: 24px 22px 22px 84px; border-radius: var(--radius); background: var(--surface); }
.step__n {
  position: absolute; left: 20px; top: 22px; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%;
  background: var(--red); font: 400 1.7rem/1 var(--f-display);
}
.step h3 { margin: 0 0 4px; font-size: 1.08rem; }
.step p { margin: 0; color: var(--muted); }

/* ---------- Footer ---------- */
.footer { padding: 54px 20px calc(110px + env(safe-area-inset-bottom)); text-align: center; border-top: 1px solid var(--line); background: var(--bg-2); }
.footer__cols { display: grid; gap: 22px; max-width: 900px; margin: 32px auto 26px; }
.footer h4 { margin: 0 0 6px; font: 400 1.5rem/1 var(--f-display); letter-spacing: 0.04em; color: var(--red); }
.footer p { margin: 0 0 4px; }
.footer a { color: var(--text); text-decoration: none; font-weight: 700; }
.footer a:hover { color: var(--yellow); }
.footer__tagline { font: 400 1.6rem/1.2 var(--f-brush); color: var(--text); }
.footer__note { margin-top: 14px !important; font-size: 0.8rem; color: var(--muted); }

/* ---------- Barra móvil ---------- */
.mobile-bar {
  position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 45;
  display: flex; align-items: center; gap: 12px; padding: 12px 18px; border: 0; border-radius: 999px;
  background: var(--red); color: #fff; font-weight: 800; font-size: 1rem;
  box-shadow: 0 16px 34px -12px rgba(227, 22, 27, 0.75);
  transform: translateY(140%); transition: transform 0.4s var(--ease);
}
.mobile-bar.is-visible { transform: none; }
.mobile-bar__count { display: grid; place-items: center; min-width: 30px; height: 30px; padding: 0 8px; border-radius: 999px; background: #fff; color: var(--red); }
.mobile-bar__total { margin-left: auto; }

/* ---------- Overlays ---------- */
.overlay {
  position: fixed; inset: 0; z-index: 60; display: flex; align-items: flex-end; justify-content: center;
  background: rgba(5, 4, 6, 0); transition: background-color 0.35s;
}
.overlay.is-open { background: rgba(5, 4, 6, 0.72); }
.sheet {
  position: relative; display: flex; flex-direction: column; width: 100%; max-height: 92svh;
  border-radius: 24px 24px 0 0; background: var(--bg-2); overflow: hidden;
  transform: translateY(100%); transition: transform 0.38s var(--ease);
}
.overlay.is-open .sheet { transform: none; }
.sheet__close {
  position: absolute; top: 12px; right: 12px; z-index: 2; width: 40px; height: 40px; border: 0; border-radius: 50%;
  background: rgba(17, 16, 19, 0.75); color: #fff; font-size: 1.05rem; backdrop-filter: blur(6px);
}
.sheet__close--static { position: static; background: var(--surface-2); flex: none; }
.pm__media { flex: none; height: min(38svh, 320px); background: #0d0c0f; }
.pm__media img { width: 100%; height: 100%; object-fit: cover; }
.pm__body { flex: 1; overflow-y: auto; padding: 18px 20px 10px; overscroll-behavior: contain; }
.pm__badge:not(:empty) { display: inline-block; margin-bottom: 8px; padding: 3px 10px; border-radius: 999px; background: var(--yellow); color: #17110a; font-size: 0.75rem; font-weight: 800; }
.pm__title { margin: 0; font: 400 2.3rem/0.95 var(--f-display); letter-spacing: 0.02em; text-transform: uppercase; }
.pm__desc { margin: 8px 0; color: var(--muted); }
.pm__price { margin: 0 0 16px; font: 400 1.9rem/1 var(--f-display); color: var(--red); letter-spacing: 0.02em; }
.pm__footer { flex: none; display: flex; gap: 12px; padding: 14px 20px calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--bg-2); }

.opt-group { margin-bottom: 18px; }
.opt-group__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.opt-group__title { margin: 0; font-size: 1rem; }
.opt-group__hint { font-size: 0.75rem; font-weight: 800; padding: 3px 9px; border-radius: 999px; background: var(--surface-2); color: var(--muted); }
.opt-group__hint--req { background: rgba(227, 22, 27, 0.18); color: #ff8d8f; }
.opt-list { display: grid; gap: 8px; }
.opt {
  display: flex; align-items: center; gap: 12px; padding: 13px 14px; border-radius: var(--radius-sm);
  background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); cursor: pointer; transition: box-shadow 0.2s, background-color 0.2s;
}
.opt:has(input:checked) { box-shadow: inset 0 0 0 2px var(--red); background: rgba(227, 22, 27, 0.08); }
.opt input { accent-color: var(--red); width: 18px; height: 18px; margin: 0; }
.opt__label { flex: 1; font-weight: 700; }
.opt__label small { display: block; font-weight: 500; color: var(--muted); font-size: 0.8rem; }
.opt__price { font-weight: 800; }

.field-label { display: block; margin: 12px 0 6px; font-weight: 700; font-size: 0.9rem; }
input[type="text"], input[type="tel"], textarea {
  width: 100%; padding: 12px 14px; border: 0; border-radius: var(--radius-sm);
  background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); outline: none; transition: box-shadow 0.2s;
}
input[type="text"]:focus, input[type="tel"]:focus, textarea:focus { box-shadow: inset 0 0 0 2px var(--red); }
textarea { resize: vertical; }
.field-invalid { box-shadow: inset 0 0 0 2px #ff5a5f !important; }

.stepper { display: flex; align-items: center; flex: none; border-radius: 999px; background: var(--surface-2); }
.stepper button { width: 44px; height: 46px; border: 0; background: none; font-size: 1.3rem; font-weight: 700; color: #fff; }
.stepper button:disabled { opacity: 0.35; cursor: default; }
.stepper output { min-width: 26px; text-align: center; font-weight: 800; }
.stepper--sm button { width: 34px; height: 34px; font-size: 1.1rem; }

/* ---------- Drawer ---------- */
.overlay--side { justify-content: flex-end; align-items: stretch; }
.drawer {
  display: flex; flex-direction: column; width: min(100%, 460px); height: 100%; background: var(--bg-2);
  transform: translateX(100%); transition: transform 0.38s var(--ease);
}
.overlay.is-open .drawer { transform: none; }
.drawer__head { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.drawer__head h3 { flex: 1; margin: 0; font: 400 1.9rem/1 var(--f-display); letter-spacing: 0.03em; }
.drawer__back { width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--surface-2); font-size: 1.1rem; }
.drawer__step { display: flex; flex-direction: column; flex: 1; min-height: 0; }
.drawer__scroll { flex: 1; overflow-y: auto; padding: 16px; overscroll-behavior: contain; }
.drawer__foot { padding: 14px 16px calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--bg-2); }
.sum-row { display: flex; justify-content: space-between; margin-bottom: 6px; }
.sum-row--total { font-size: 1.15rem; margin: 10px 0 12px; }
.sum-row--total b { color: var(--yellow); }

.cart-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.cart-item { display: grid; grid-template-columns: 68px 1fr; gap: 12px; padding: 12px; border-radius: var(--radius-sm); background: var(--surface); }
.cart-item img { width: 68px; height: 68px; border-radius: 10px; object-fit: cover; }
.cart-item__name { margin: 0; font-weight: 800; }
.cart-item__mods { list-style: none; margin: 2px 0 8px; padding: 0; font-size: 0.84rem; color: var(--muted); }
.cart-item__row { display: flex; align-items: center; justify-content: space-between; }
.cart-item__price { font-weight: 800; }
.cart-item__del { margin-top: 6px; padding: 0; border: 0; background: none; color: #ff8d8f; font-size: 0.82rem; font-weight: 700; }
.cart-empty { display: grid; justify-items: center; gap: 8px; padding: 50px 0; text-align: center; color: var(--muted); }
.cart-empty__icon { font-size: 3rem; }

.fs { margin: 0 0 18px; padding: 0; border: 0; }
.fs legend { padding: 0; margin-bottom: 8px; font: 400 1.4rem/1 var(--f-display); letter-spacing: 0.04em; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.seg__opt { position: relative; }
.seg__opt input { position: absolute; opacity: 0; }
.seg__opt span {
  display: grid; place-items: center; min-height: 48px; padding: 10px; border-radius: var(--radius-sm);
  background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); font-weight: 700; text-align: center; cursor: pointer;
}
.seg__opt input:checked + span { box-shadow: inset 0 0 0 2px var(--red); background: rgba(227, 22, 27, 0.1); }
.seg__opt input:focus-visible + span { outline: 3px solid var(--yellow); outline-offset: 2px; }
.form-error:not(:empty) { margin: 0 0 10px; color: #ff8d8f; font-weight: 700; font-size: 0.9rem; }

.drawer__done { align-items: center; justify-content: center; gap: 10px; padding: 30px 24px; text-align: center; }
.done__icon { font-size: 3.4rem; }
.drawer__done h4 { margin: 0; font: 400 2rem/1 var(--f-display); }
.drawer__done p { margin: 0; }
.drawer__done .btn { margin-top: 6px; }

/* ---------- Toast y animaciones ---------- */
.toast {
  position: fixed; left: 50%; bottom: calc(88px + env(safe-area-inset-bottom)); z-index: 80;
  padding: 12px 18px; border-radius: 999px; background: #fff; color: #111; font-weight: 800; font-size: 0.92rem;
  transform: translate(-50%, 20px); opacity: 0; pointer-events: none; transition: 0.3s var(--ease);
}
.toast.is-on { transform: translate(-50%, 0); opacity: 1; }
.fly { position: fixed; z-index: 90; border-radius: 50%; object-fit: cover; pointer-events: none; transition: transform 0.75s cubic-bezier(0.5, -0.2, 0.6, 1), opacity 0.75s; }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s var(--ease) var(--d, 0s), transform 0.6s var(--ease) var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }

/* =========================================================
   Responsive
   ========================================================= */
@media (min-width: 560px) {
  .grid--promos .card { flex-basis: 46%; }
  .card__desc { display: block; }
  .steps__list { grid-template-columns: repeat(3, 1fr); }
  .footer__cols { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 760px) {
  .header__wa { display: inline-flex; margin-left: auto; }
  .cart-btn { margin-left: 0; }
  .seals { grid-template-columns: repeat(4, 1fr); }
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .hero__content { padding: 140px 32px 64px; }
  .hero__sticker { top: auto; bottom: 64px; right: 40px; width: 168px; height: 168px; }
  .sticker__price { font-size: 2.5rem; }
  .sticker__small { font-size: 0.72rem; }
}
@media (min-width: 1000px) {
  :root { --header-h: 80px; }
  .header { padding: 0 32px; }
  .header__nav { display: flex; }
  .header__wa { margin-left: 8px; }
  .logo__word { font-size: 1.8rem; }
  .logo__sub { font-size: 0.56rem; }
  .hero { align-items: center; }
  .hero__shade {
    background:
      linear-gradient(90deg, rgba(17, 16, 19, 0.96) 0%, rgba(17, 16, 19, 0.75) 32%, rgba(17, 16, 19, 0.05) 62%),
      linear-gradient(180deg, transparent 70%, rgba(17, 16, 19, 0.9) 100%);
  }
  .hero__content { padding: 60px 40px; }
  .hero__sticker { right: 6%; bottom: 10%; }

  .carta { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 28px; padding: 0 32px 40px; }
  .side {
    top: calc(var(--header-h) + 20px); align-self: start; margin-top: 34px; padding: 0;
    background: none; backdrop-filter: none; border: 0;
  }
  .catnav { flex-direction: column; gap: 2px; margin-top: 18px; overflow: visible; }
  .catnav a { justify-content: space-between; padding: 11px 14px; border-radius: 12px; background: none; font-size: 0.98rem; }
  .catnav a:hover { background: var(--surface); }
  .side__note { display: grid; gap: 4px; margin-top: 18px; padding: 14px; border-radius: var(--radius-sm); background: var(--surface); font-size: 0.85rem; color: var(--muted); }
  .side__note b { color: var(--yellow); }
  .menu { padding: 0; }
  .grid--promos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; overflow: visible; margin: 0; padding: 0; }
  .grid--promos .card { flex: none; }
  .mobile-bar { display: none; }
  .footer { padding-bottom: 54px; }
  .toast { bottom: 30px; }
  .overlay:not(.overlay--side) { align-items: center; padding: 24px; }
  .sheet { flex-direction: row; width: min(920px, 100%); max-height: min(86vh, 640px); border-radius: 24px; transform: translateY(30px) scale(0.97); opacity: 0; transition: transform 0.35s var(--ease), opacity 0.3s; }
  .overlay.is-open .sheet { transform: none; opacity: 1; }
  .pm__media { width: 46%; height: auto; }
  .sheet > .pm__body { padding-top: 26px; }
  .sheet { display: grid; grid-template-columns: 46% 1fr; grid-template-rows: 1fr auto; }
  .pm__media { grid-row: 1 / 3; width: auto; }
}
@media (min-width: 1240px) {
  .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .grid--promos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .reveal, .hero__line { opacity: 1; transform: none; }
}
