/* =========================================================
   SABOR URBANO — Estilos
   Paleta tomada del logo: negro, amarillo, rojo/naranjo y azul.
   ========================================================= */

:root {
  --bg: #0d0b0a;
  --bg-2: #15110e;
  --card: #1c1713;
  --card-2: #241e18;
  --line: rgba(255, 240, 210, 0.09);
  --text: #fff6e6;
  --muted: #b8aa95;
  --yellow: #ffc61a;
  --yellow-2: #ffe066;
  --red: #e3241b;
  --red-dark: #a9150e;
  --orange: #ff7a12;
  --blue: #3550ff;
  --wa: #22c35e;
  --wa-dark: #179447;

  --f-display: "Anton", Impact, "Arial Narrow", sans-serif;
  --f-brand: "Lilita One", "Arial Rounded MT Bold", sans-serif;
  --f-body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.8);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 68px;
  --gutter: 16px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 64px); overflow-x: clip; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
body.locked { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
input, textarea, select { font: inherit; }
[hidden] { display: none !important; }

.muted { color: var(--muted); }
.small { font-size: 0.85rem; }

/* ---------- Botones ---------- */
.btn {
  --bg-btn: var(--card-2);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 44px; padding: 10px 18px;
  border: 0; border-radius: 999px;
  background: var(--bg-btn); color: var(--text);
  font-weight: 700; text-decoration: none; letter-spacing: 0.01em;
  transition: transform 0.2s var(--ease), background 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }
.btn--primary { background: var(--yellow); color: #1a1205; box-shadow: 0 6px 0 #b98a00; }
.btn--primary:hover { background: var(--yellow-2); }
.btn--primary:active { box-shadow: 0 2px 0 #b98a00; transform: translateY(4px); }
.btn--ghost { background: transparent; border: 2px solid rgba(255, 246, 230, 0.35); }
.btn--ghost:hover { border-color: var(--yellow); color: var(--yellow); }
.btn--dark { background: #000; border: 1px solid var(--line); }
.btn--wa { background: var(--wa); color: #fff; box-shadow: 0 6px 0 var(--wa-dark); }
.btn--wa:hover { filter: brightness(1.06); }
.btn--wa:active { box-shadow: 0 2px 0 var(--wa-dark); transform: translateY(4px); }
.btn--lg { min-height: 54px; padding: 14px 26px; font-size: 1.05rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: 0.5; pointer-events: none; }

.link-btn {
  background: none; border: 0; padding: 8px 0; color: var(--yellow);
  font-weight: 700; text-decoration: underline; text-underline-offset: 3px;
}

/* ---------- Anuncios ---------- */
.announce {
  background: var(--yellow); color: #1a1205;
  font-size: 0.85rem; font-weight: 500;
  overflow: hidden; white-space: nowrap; position: relative; z-index: 31;
}
.announce__track { display: inline-flex; gap: 48px; padding: 8px 0; animation: marquee 38s linear infinite; }
.announce b { font-weight: 800; }

@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 30;
  height: var(--header-h);
  display: flex; align-items: center; gap: 12px;
  padding: 0 var(--gutter);
  background: rgba(13, 11, 10, 0.86);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header__nav { display: none; margin-left: auto; gap: 28px; }
.header__nav a { text-decoration: none; font-weight: 700; color: var(--muted); transition: color 0.2s; }
.header__nav a:hover { color: var(--yellow); }
.header__status { margin-left: auto; }
.status-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 10px; border-radius: 999px;
  font-size: 0.75rem; font-weight: 700; white-space: nowrap;
  background: rgba(34, 195, 94, 0.14); color: #6ef09c;
}
.status-pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; animation: pulse 1.6s infinite; }
.status-pill--closed { background: rgba(227, 36, 27, 0.16); color: #ff8a80; }
.status-pill--closed::before { animation: none; }
@keyframes pulse { 50% { opacity: 0.3; } }

/* Logo (tomado del perfil de Instagram; reemplazar por el archivo original en alta) */
.brand { text-decoration: none; flex-shrink: 0; display: block; }
.brand__logo {
  width: 54px; height: 54px; border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(255, 198, 26, 0.35), 0 0 22px rgba(255, 122, 18, 0.35);
  transition: transform 0.5s var(--ease);
}
.brand:hover .brand__logo { transform: rotate(-10deg) scale(1.07); }
.brand__logo--lg { width: 140px; height: 140px; animation: wobble 5s ease-in-out infinite; }

.cart-btn {
  position: relative;
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 8px 14px;
  background: var(--red); border: 0; border-radius: 999px; color: #fff; font-weight: 700;
  transition: transform 0.2s var(--ease);
}
.cart-btn:hover { transform: translateY(-2px); }
.cart-btn__label { display: none; }
.cart-btn__count {
  min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px;
  display: grid; place-items: center;
  background: var(--yellow); color: #1a1205; font-size: 0.8rem; font-weight: 800;
}
.cart-btn.bump { animation: bump 0.5s var(--ease); }
@keyframes bump { 30% { transform: scale(1.18) rotate(-6deg); } 60% { transform: scale(0.95) rotate(3deg); } }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  min-height: min(88svh, 760px);
  display: flex; align-items: flex-end;
  padding: 120px var(--gutter) 56px;
  isolation: isolate;
}
.hero__bg {
  position: absolute; inset: -4%; z-index: -2;
  background-size: cover; background-position: 70% center;
  animation: kenburns 22s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes kenburns { from { transform: scale(1.04) translate3d(0, 0, 0); } to { transform: scale(1.14) translate3d(-2%, -1%, 0); } }
.hero__shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(13, 11, 10, 0.2) 0%, rgba(13, 11, 10, 0.55) 45%, var(--bg) 100%),
    radial-gradient(120% 80% at 0% 100%, rgba(227, 36, 27, 0.35), transparent 60%);
}
.hero__content { max-width: 640px; }
.hero__kicker {
  display: inline-flex; align-items: center; gap: 8px;
  margin: 0 0 14px; padding: 6px 12px; border-radius: 999px;
  background: rgba(0, 0, 0, 0.55); border: 1px solid var(--line);
  font-size: 0.85rem; font-weight: 700; color: var(--yellow);
}
.hero__kicker .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgba(227, 36, 27, 0.3); }
.hero__title {
  margin: 0;
  font-family: var(--f-display); font-weight: 400;
  font-size: clamp(2.6rem, 11vw, 5.6rem);
  line-height: 0.95; text-transform: uppercase; letter-spacing: 0.005em;
  text-shadow: 0 6px 30px rgba(0, 0, 0, 0.6);
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: 0.04em; }
.hero__title .line > span { display: inline-block; transform: translateY(110%); animation: rise 0.9s var(--ease) forwards; }
.hero__title .line:nth-child(2) > span { animation-delay: 0.12s; }
.hero__title .line:nth-child(3) > span { animation-delay: 0.24s; }
.hero__title .line--accent > span {
  background: linear-gradient(90deg, var(--yellow), var(--orange));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
@keyframes rise { to { transform: translateY(0); } }
.hero__sub { margin: 18px 0 26px; max-width: 46ch; color: #eadfcd; font-size: 1.05rem; opacity: 0; animation: fade-up 0.8s 0.45s var(--ease) forwards; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; opacity: 0; animation: fade-up 0.8s 0.6s var(--ease) forwards; }
@keyframes fade-up { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

.hero__sticker {
  position: absolute; top: 28px; right: 12px;
  width: 128px; height: 128px;
  display: grid; place-content: center; text-align: center;
  color: #1a1205;
  background: var(--yellow);
  clip-path: polygon(50% 0%, 61% 12%, 77% 6%, 80% 22%, 96% 25%, 90% 40%, 100% 52%, 88% 62%, 93% 78%, 77% 80%, 72% 96%, 57% 88%, 45% 100%, 36% 87%, 20% 93%, 18% 77%, 3% 72%, 10% 58%, 0% 46%, 12% 36%, 6% 20%, 22% 18%, 27% 3%, 41% 11%);
  animation: sticker-in 0.8s 0.7s var(--ease) both, wobble 4s 1.5s ease-in-out infinite;
}
.sticker__price { font-family: var(--f-display); font-size: 1.9rem; line-height: 1; color: var(--red); }
.sticker__small { font-size: 0.6rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.02em; line-height: 1.1; max-width: 72%; margin: 0 auto; }
@keyframes sticker-in { from { transform: scale(0) rotate(-120deg); } to { transform: scale(1) rotate(-8deg); } }
@keyframes wobble { 0%, 100% { transform: rotate(-8deg) scale(1); } 50% { transform: rotate(4deg) scale(1.05); } }

/* ---------- Cinta ---------- */
.ribbon-wrap { overflow: hidden; margin-top: -26px; padding: 16px 0; position: relative; z-index: 2; }
.ribbon {
  background: var(--red); color: #fff;
  transform: rotate(-1.6deg) scaleX(1.06);
  overflow: hidden; white-space: nowrap;
  box-shadow: 0 10px 30px -10px rgba(227, 36, 27, 0.6);
}
.ribbon__track { display: inline-flex; align-items: center; gap: 22px; padding: 12px 0; animation: marquee 26s linear infinite; }
.ribbon span { font-family: var(--f-display); font-size: 1.5rem; text-transform: uppercase; letter-spacing: 0.02em; }
.ribbon i { color: var(--yellow); font-style: normal; }

/* ---------- Info rápida ---------- */
.quick {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
  padding: 36px var(--gutter) 8px;
  max-width: 1200px; margin: 0 auto;
}
.quick__item {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 14px; border-radius: var(--r);
  background: var(--card); border: 1px solid var(--line);
}
.quick__icon { font-size: 1.4rem; line-height: 1; }
.quick__item b { display: block; font-size: 0.9rem; }
.quick__item span { display: block; color: var(--muted); font-size: 0.82rem; line-height: 1.35; }

/* ---------- Navegación de categorías ---------- */
.catnav {
  position: sticky; top: var(--header-h); z-index: 20;
  background: rgba(13, 11, 10, 0.92);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  margin-top: 24px;
}
.catnav__inner {
  display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none;
  padding: 12px var(--gutter);
  max-width: 1200px; margin: 0 auto;
  scroll-snap-type: x proximity;
}
.catnav__inner::-webkit-scrollbar { display: none; }
.chip {
  flex-shrink: 0; scroll-snap-align: start;
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 40px; padding: 8px 14px; border-radius: 999px;
  background: transparent; border: 2px solid var(--line);
  font-weight: 700; font-size: 0.92rem; text-decoration: none; color: var(--text);
  transition: background 0.25s, border-color 0.25s, color 0.25s, transform 0.2s;
}
.chip:hover { border-color: var(--yellow); }
.chip.is-active { background: var(--yellow); border-color: var(--yellow); color: #1a1205; transform: translateY(-1px); }

/* ---------- Carta ---------- */
.menu { max-width: 1200px; margin: 0 auto; padding: 8px var(--gutter) 40px; }
.cat { padding-top: 40px; }
.cat__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.cat__title {
  margin: 0; font-family: var(--f-display); font-weight: 400;
  font-size: clamp(2rem, 8vw, 3rem); line-height: 1; text-transform: uppercase;
}
.cat__title .emoji { font-size: 0.8em; margin-right: 6px; display: inline-block; transition: transform 0.4s var(--ease); }
.cat:hover .cat__title .emoji { transform: rotate(-12deg) scale(1.15); }
.cat__tag { margin: 4px 0 0; color: var(--muted); }
.cat__count { color: var(--muted); font-size: 0.85rem; white-space: nowrap; }

.grid { display: grid; grid-template-columns: 1fr; gap: 14px; }

.card {
  position: relative;
  display: grid; grid-template-columns: 116px 1fr; gap: 12px;
  padding: 10px; border-radius: var(--r-lg);
  background: var(--card); border: 1px solid var(--line);
  text-align: left; color: inherit; width: 100%;
  transition: transform 0.35s var(--ease), border-color 0.3s, box-shadow 0.35s;
}
.card:hover { transform: translateY(-4px); border-color: rgba(255, 198, 26, 0.45); box-shadow: var(--shadow); }
.card__media { position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 1; background: radial-gradient(circle at 50% 60%, #3a2a1a, #120e0b 70%); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.card:hover .card__media img { transform: scale(1.08); }
.card__badge {
  position: absolute; top: 8px; left: 8px;
  padding: 3px 8px; border-radius: 999px;
  background: var(--red); color: #fff; font-size: 0.68rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.03em;
}
.card__body { display: flex; flex-direction: column; min-width: 0; padding: 4px 4px 4px 0; }
.card__name { margin: 0; font-size: 1.05rem; font-weight: 700; line-height: 1.2; }
.card__desc { margin: 6px 0 10px; color: var(--muted); font-size: 0.86rem; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.price { font-family: var(--f-display); font-size: 1.45rem; letter-spacing: 0.02em; color: var(--yellow); line-height: 1; }
.price small { font-family: var(--f-body); font-size: 0.7rem; color: var(--muted); margin-right: 3px; text-transform: uppercase; font-weight: 700; }
.price-old { display: block; font-family: var(--f-body); font-size: 0.78rem; color: var(--muted); text-decoration: line-through; margin-bottom: 2px; }
.add {
  width: 44px; height: 44px; flex-shrink: 0;
  display: grid; place-items: center;
  border-radius: 50%; border: 0;
  background: var(--yellow); color: #1a1205; font-size: 1.6rem; font-weight: 700; line-height: 1;
  transition: transform 0.25s var(--ease), background 0.2s;
}
.card:hover .add { transform: rotate(90deg); background: var(--yellow-2); }

/* Promos: carrusel deslizable en celular, grilla en escritorio */
.grid--promos {
  display: flex; gap: 14px;
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
  margin-inline: calc(var(--gutter) * -1); padding: 6px var(--gutter) 18px;
  scrollbar-width: thin; scrollbar-color: var(--red) transparent;
}
.grid--promos > .promo { flex: 0 0 min(82%, 340px); scroll-snap-align: start; }
.promo {
  position: relative; overflow: hidden;
  border-radius: var(--r-lg); border: 0; padding: 0;
  background: var(--red);
  text-align: left; color: #fff; width: 100%;
  display: grid; grid-template-rows: auto 1fr;
  transition: transform 0.4s var(--ease), box-shadow 0.4s;
}
.promo:hover { transform: translateY(-6px) rotate(-0.4deg); box-shadow: 0 24px 50px -20px rgba(227, 36, 27, 0.7); }
.promo__media { aspect-ratio: 4 / 3; overflow: hidden; }
.promo__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.promo:hover .promo__media img { transform: scale(1.06); }
.promo__body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; background: linear-gradient(180deg, var(--red), var(--red-dark)); }
.promo__name { margin: 0; font-family: var(--f-display); font-weight: 400; font-size: 1.7rem; line-height: 1.02; text-transform: uppercase; }
.promo__desc { margin: 0; font-size: 0.9rem; color: #ffe3dc; }
.promo__burst {
  position: absolute; top: 14px; right: 14px;
  width: 96px; height: 96px;
  display: grid; place-content: center; text-align: center;
  background: var(--yellow); color: var(--red);
  clip-path: polygon(50% 0%, 61% 12%, 77% 6%, 80% 22%, 96% 25%, 90% 40%, 100% 52%, 88% 62%, 93% 78%, 77% 80%, 72% 96%, 57% 88%, 45% 100%, 36% 87%, 20% 93%, 18% 77%, 3% 72%, 10% 58%, 0% 46%, 12% 36%, 6% 20%, 22% 18%, 27% 3%, 41% 11%);
  transform: rotate(-10deg);
  transition: transform 0.5s var(--ease);
}
.promo:hover .promo__burst { transform: rotate(6deg) scale(1.08); }
.promo__burst b { font-family: var(--f-display); font-weight: 400; font-size: 1.45rem; line-height: 1; }
.promo__burst s { font-size: 0.68rem; color: #6b4a00; font-weight: 700; }
.promo__cta { margin-top: 8px; align-self: flex-start; background: #fff; color: var(--red); box-shadow: 0 5px 0 rgba(0, 0, 0, 0.25); }

/* ---------- Secciones generales ---------- */
.section-head { max-width: 1200px; margin: 0 auto 22px; }
.eyebrow { margin: 0 0 6px; color: var(--yellow); font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.8rem; }
.section-title { margin: 0; font-family: var(--f-display); font-weight: 400; font-size: clamp(2.2rem, 9vw, 3.6rem); line-height: 1; text-transform: uppercase; }
.section-sub { margin: 10px 0 0; color: var(--muted); max-width: 60ch; }

/* ---------- Despacho ---------- */
.delivery { padding: 56px var(--gutter); background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.delivery__grid { max-width: 1200px; margin: 0 auto; display: grid; gap: 16px; }
.delivery__map { position: relative; z-index: 0; isolation: isolate; height: 320px; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); background: #111; }
.tiers { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 8px; }
.tier {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px; border-radius: var(--r);
  background: var(--card); border: 1px solid var(--line);
  transition: border-color 0.3s, transform 0.3s var(--ease);
}
.tier.is-match { border-color: var(--yellow); transform: translateX(6px); background: var(--card-2); }
.tier__dot { width: 14px; height: 14px; border-radius: 50%; flex-shrink: 0; }
.tier__km { flex: 1; color: var(--muted); }
.tier__price { font-family: var(--f-display); font-size: 1.3rem; color: var(--yellow); }
.delivery__check { padding: 16px; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line); }

/* Leaflet en oscuro */
.leaflet-container { background: #111; font-family: var(--f-body); }
.map-tiles-dark { filter: invert(1) hue-rotate(180deg) brightness(0.9) contrast(0.95) saturate(0.35); }
.leaflet-control-attribution { background: rgba(0, 0, 0, 0.6) !important; color: #aaa !important; font-size: 10px; }
.leaflet-control-attribution a { color: #ddd !important; }
.store-pin { font-size: 30px; filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.6)); }
.home-pin { font-size: 26px; filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.6)); }

/* ---------- Formularios ---------- */
.field-label { display: block; margin: 12px 0 6px; font-size: 0.85rem; font-weight: 700; color: #e8dccb; }
input[type="text"], input[type="tel"], textarea {
  width: 100%; min-height: 46px; padding: 11px 14px;
  border-radius: 12px; border: 1px solid rgba(255, 240, 210, 0.16);
  background: #0f0c0a; color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s;
}
textarea { resize: vertical; min-height: 64px; }
input:focus, textarea:focus { outline: none; border-color: var(--yellow); box-shadow: 0 0 0 3px rgba(255, 198, 26, 0.2); }
input::placeholder, textarea::placeholder { color: #7d7262; }
.inline-field { display: flex; gap: 8px; }
.inline-field input { flex: 1; min-width: 0; }
.calc-result { margin: 6px 0 0; font-size: 0.92rem; min-height: 1.2em; }
.calc-result.ok { color: #7ff0a8; }
.calc-result.warn { color: #ffc9a8; }
.calc-result.err { color: #ff9a92; }
.field-invalid { border-color: var(--red) !important; box-shadow: 0 0 0 3px rgba(227, 36, 27, 0.25) !important; }

/* ---------- Pasos ---------- */
.steps { padding: 56px var(--gutter); }
.steps__list { list-style: none; padding: 0; margin: 0 auto; max-width: 1200px; display: grid; gap: 12px; }
.step { position: relative; padding: 22px; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line); overflow: hidden; }
.step__n {
  position: absolute; right: 14px; top: -6px;
  font-family: var(--f-display); font-size: 5rem; line-height: 1; color: rgba(255, 198, 26, 0.12);
}
.step h3 { margin: 0 0 6px; font-size: 1.15rem; }
.step p { margin: 0; color: var(--muted); }

/* ---------- Footer ---------- */
.footer { padding: 48px var(--gutter) 120px; border-top: 1px solid var(--line); background: #080706; text-align: center; }
.footer__brand { display: grid; place-items: center; margin-bottom: 36px; }
.footer__cols { display: grid; gap: 22px; max-width: 900px; margin: 0 auto; }
.footer h4 { margin: 0 0 6px; color: var(--yellow); font-family: var(--f-display); font-weight: 400; font-size: 1.3rem; text-transform: uppercase; letter-spacing: 0.03em; }
.footer p { margin: 0 0 4px; }
.footer a { color: var(--text); text-decoration-color: var(--yellow); text-underline-offset: 3px; }
.footer__tagline { margin: 34px 0 0 !important; font-family: var(--f-display); font-size: clamp(1.6rem, 6vw, 2.4rem); line-height: 1; text-transform: uppercase; color: var(--yellow); }
.footer__note { margin-top: 18px !important; font-size: 0.8rem; color: #7d7262; }

/* ---------- Barra móvil ---------- */
.mobile-bar {
  position: fixed; left: var(--gutter); right: var(--gutter); bottom: calc(12px + env(safe-area-inset-bottom));
  z-index: 25;
  display: flex; align-items: center; gap: 12px;
  min-height: 58px; padding: 10px 18px;
  border: 0; border-radius: 999px;
  background: var(--yellow); color: #1a1205; font-weight: 800; font-size: 1rem;
  box-shadow: 0 14px 30px -8px rgba(0, 0, 0, 0.8), 0 5px 0 #b98a00;
  transform: translateY(160%);
  transition: transform 0.45s var(--ease);
}
.mobile-bar.is-visible { transform: none; }
.mobile-bar__count { min-width: 28px; height: 28px; border-radius: 999px; display: grid; place-items: center; background: #1a1205; color: var(--yellow); font-size: 0.85rem; }
.mobile-bar__total { margin-left: auto; font-family: var(--f-display); font-weight: 400; font-size: 1.35rem; }

/* ---------- Overlays ---------- */
.overlay {
  position: fixed; inset: 0; z-index: 50;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  display: flex; align-items: flex-end; justify-content: center;
  opacity: 0; transition: opacity 0.3s;
}
.overlay.is-open { opacity: 1; }
.sheet__close {
  position: absolute; top: 12px; right: 12px; z-index: 3;
  width: 40px; height: 40px; border-radius: 50%; border: 0;
  background: rgba(0, 0, 0, 0.65); color: #fff; font-size: 1rem;
  display: grid; place-items: center;
}
.sheet__close--static { position: static; background: var(--card-2); }

/* Modal de producto */
.sheet {
  position: relative;
  width: 100%; max-width: 560px; max-height: 92svh;
  display: flex; flex-direction: column;
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  background: var(--bg-2); border: 1px solid var(--line);
  overflow: hidden;
  transform: translateY(100%);
  transition: transform 0.45s var(--ease);
}
.overlay.is-open .sheet { transform: none; }
.pm__media { flex-shrink: 0; aspect-ratio: 16 / 9; overflow: hidden; background: #000; }
.pm__media img { width: 100%; height: 100%; object-fit: cover; }
.pm__body { padding: 18px var(--gutter) 8px; overflow-y: auto; flex: 1; overscroll-behavior: contain; }
.pm__badge:empty { display: none; }
.pm__badge { display: inline-block; padding: 3px 9px; border-radius: 999px; background: var(--red); font-size: 0.7rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.03em; }
.pm__title { margin: 8px 0 4px; font-family: var(--f-display); font-weight: 400; font-size: 2rem; line-height: 1.02; text-transform: uppercase; }
.pm__desc { margin: 0 0 6px; color: var(--muted); }
.pm__price { margin: 0 0 6px; font-family: var(--f-display); font-size: 1.6rem; color: var(--yellow); }
.opt-group { margin-top: 18px; }
.opt-group__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.opt-group__title { margin: 0; font-size: 1rem; }
.opt-group__hint { font-size: 0.72rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted); }
.opt-group__hint--req { color: #1a1205; background: var(--yellow); padding: 2px 8px; border-radius: 999px; }
.opt-list { display: grid; gap: 6px; }
.opt {
  display: flex; align-items: center; gap: 12px;
  min-height: 48px; padding: 10px 14px; border-radius: 12px;
  background: var(--card); border: 1px solid var(--line);
  cursor: pointer; transition: border-color 0.2s, background 0.2s;
}
.opt:hover { border-color: rgba(255, 198, 26, 0.4); }
.opt input { appearance: none; -webkit-appearance: none; margin: 0; width: 22px; height: 22px; flex-shrink: 0; border: 2px solid #6b5f50; border-radius: 6px; display: grid; place-items: center; transition: background 0.2s, border-color 0.2s; }
.opt input[type="radio"] { border-radius: 50%; }
.opt input:checked { background: var(--yellow); border-color: var(--yellow); }
.opt input:checked::after { content: "✓"; color: #1a1205; font-size: 0.8rem; font-weight: 900; }
.opt input[type="radio"]:checked::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #1a1205; }
.opt:has(input:checked) { border-color: var(--yellow); background: var(--card-2); }
.opt__label { flex: 1; }
.opt__price { color: var(--yellow); font-weight: 700; font-size: 0.9rem; }
.chips-remove { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-rm {
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 40px; padding: 8px 14px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--card);
  font-weight: 600; font-size: 0.9rem;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.chip-rm::before { content: "✓"; color: var(--wa); font-weight: 900; }
.chip-rm[aria-pressed="true"] { background: rgba(227, 36, 27, 0.14); border-color: var(--red); color: #ffb3ac; text-decoration: line-through; }
.chip-rm[aria-pressed="true"]::before { content: "✕"; color: var(--red); }
.pm__footer {
  flex-shrink: 0;
  display: flex; gap: 12px; align-items: center;
  padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line); background: var(--bg-2);
}
.stepper { display: inline-flex; align-items: center; border-radius: 999px; background: var(--card-2); border: 1px solid var(--line); flex-shrink: 0; }
.stepper button { width: 44px; height: 44px; border: 0; background: none; font-size: 1.3rem; font-weight: 700; }
.stepper output { min-width: 26px; text-align: center; font-weight: 800; }
.stepper--sm button { width: 36px; height: 36px; font-size: 1.1rem; }
.pm__footer .btn { justify-content: space-between; }

/* Drawer de carrito */
.overlay--side { justify-content: flex-end; align-items: stretch; }
.drawer {
  width: 100%; max-width: 460px; height: 100%;
  display: flex; flex-direction: column;
  background: var(--bg-2); border-left: 1px solid var(--line);
  transform: translateX(100%); transition: transform 0.45s var(--ease);
}
.overlay.is-open .drawer { transform: none; }
.drawer__head { display: flex; align-items: center; gap: 10px; padding: 14px var(--gutter); border-bottom: 1px solid var(--line); }
.drawer__head h3 { margin: 0; flex: 1; font-family: var(--f-display); font-weight: 400; font-size: 1.6rem; text-transform: uppercase; }
.drawer__back { width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--card-2); font-size: 1.1rem; }
.drawer__step { display: flex; flex-direction: column; flex: 1; min-height: 0; animation: step-in 0.35s var(--ease); }
@keyframes step-in { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: none; } }
.drawer__scroll { flex: 1; overflow-y: auto; padding: 8px var(--gutter) 16px; overscroll-behavior: contain; }
.drawer__foot { padding: 14px var(--gutter) calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--bg); }
.sum-row { display: flex; justify-content: space-between; align-items: baseline; padding: 3px 0; }
.sum-row--total { margin-top: 6px; padding-top: 10px; border-top: 1px dashed var(--line); font-size: 1.1rem; }
.sum-row--total b { font-family: var(--f-display); font-weight: 400; font-size: 1.8rem; color: var(--yellow); }
.drawer__foot .btn { margin-top: 12px; }

.cart-list { list-style: none; margin: 0; padding: 0; }
.cart-item {
  display: grid; grid-template-columns: 64px 1fr; gap: 12px;
  padding: 14px 0; border-bottom: 1px solid var(--line);
  animation: step-in 0.3s var(--ease);
}
.cart-item img { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; }
.cart-item img.is-ph { object-fit: contain; padding: 8px; background: radial-gradient(circle at 50% 55%, #3a2a1a, #120e0b 75%); }

/* Productos sin foto: logo sobre fondo de marca */
.is-ph { background: radial-gradient(circle at 50% 55%, #3d2b16, #120e0b 72%) !important; }
.card__media.is-ph img, .promo__media.is-ph img, .pm__media.is-ph img { object-fit: contain; padding: 16%; opacity: 0.92; }
.pm__media.is-ph img { padding: 6%; }
.ph-tag {
  position: absolute; left: 50%; bottom: 8px; transform: translateX(-50%);
  padding: 2px 8px; border-radius: 999px; white-space: nowrap;
  background: rgba(0, 0, 0, 0.55); color: var(--muted); font-size: 0.62rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em;
}
.cart-item__name { margin: 0; font-weight: 700; line-height: 1.25; }
.cart-item__mods { margin: 4px 0 8px; padding: 0; list-style: none; font-size: 0.82rem; color: var(--muted); }
.cart-item__mods li.rm { color: #ff9a92; }
.cart-item__mods li.ex { color: #9be7b5; }
.cart-item__row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.cart-item__price { font-weight: 800; }
.cart-item__del { background: none; border: 0; color: var(--muted); font-size: 0.8rem; text-decoration: underline; padding: 6px 0; }
.cart-empty { text-align: center; padding: 60px 10px; color: var(--muted); }
.cart-empty__icon { font-size: 3rem; display: block; margin-bottom: 6px; animation: wobble 3s infinite; }

.fs { border: 0; margin: 0 0 6px; padding: 14px 0 10px; border-bottom: 1px solid var(--line); }
.fs legend { padding: 0; font-weight: 800; font-size: 1rem; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.seg__opt { position: relative; }
.seg__opt input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.seg__opt span {
  display: flex; align-items: center; justify-content: center; text-align: center;
  min-height: 48px; padding: 8px; border-radius: 12px;
  background: var(--card); border: 2px solid var(--line); font-weight: 700; font-size: 0.92rem;
  transition: border-color 0.2s, background 0.2s;
}
.seg__opt input:checked + span { border-color: var(--yellow); background: var(--card-2); color: var(--yellow); }
.seg__opt input:focus-visible + span { box-shadow: 0 0 0 3px rgba(255, 198, 26, 0.35); }
.closed-warning { margin: 12px 0 4px; padding: 12px 14px; border-radius: 12px; background: rgba(227, 36, 27, 0.14); border: 1px solid rgba(227, 36, 27, 0.5); color: #ffc2bc; font-size: 0.9rem; }
.form-error { margin: 8px 0 0; color: #ff9a92; font-size: 0.9rem; min-height: 0; }
.form-error:empty { display: none; }

.drawer__done { align-items: center; justify-content: center; text-align: center; padding: 30px var(--gutter); gap: 6px; }
.drawer__done h4 { margin: 8px 0 0; font-family: var(--f-display); font-weight: 400; font-size: 2rem; text-transform: uppercase; }
.drawer__done p { margin: 4px 0; max-width: 34ch; }
.drawer__done .btn { margin-top: 10px; max-width: 320px; }
.done__icon { font-size: 3.4rem; animation: sticker-in 0.7s var(--ease) both; }

/* ---------- Toast y animación al carrito ---------- */
.toast {
  position: fixed; left: 50%; bottom: 90px; z-index: 60;
  transform: translate(-50%, 30px); opacity: 0;
  padding: 12px 18px; border-radius: 999px;
  background: #fff; color: #1a1205; font-weight: 700; font-size: 0.92rem;
  box-shadow: var(--shadow);
  transition: transform 0.35s var(--ease), opacity 0.35s;
  pointer-events: none; white-space: nowrap; max-width: calc(100vw - 32px); overflow: hidden; text-overflow: ellipsis;
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.fly {
  position: fixed; z-index: 70; pointer-events: none;
  border-radius: 50%; object-fit: cover;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  transition: transform 0.75s cubic-bezier(0.55, -0.2, 0.3, 1.1), opacity 0.75s;
}

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (min-width: 560px) {
  .quick { grid-template-columns: repeat(4, 1fr); }
  .grid { grid-template-columns: 1fr 1fr; }
  .grid--promos > .promo { flex-basis: min(46%, 340px); }
  .opt-list--2 { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 640px) {
  .cart-btn__label { display: inline; }
}
@media (min-width: 900px) {
  :root { --gutter: 32px; --header-h: 76px; }
  .header__nav { display: flex; }
  .header__status { margin-left: 24px; }
  .hero { align-items: center; padding-top: 80px; padding-bottom: 80px; }
  .hero__bg { background-position: center; }
  .hero__shade {
    background:
      linear-gradient(90deg, rgba(13, 11, 10, 0.92) 0%, rgba(13, 11, 10, 0.6) 40%, rgba(13, 11, 10, 0) 70%),
      linear-gradient(180deg, transparent 70%, var(--bg) 100%);
  }
  .hero__sticker { top: auto; bottom: 90px; right: 6%; width: 170px; height: 170px; }
  .sticker__price { font-size: 2.6rem; }
  .sticker__small { font-size: 0.8rem; }
  .grid { grid-template-columns: repeat(3, 1fr); }
  .grid--promos { display: grid; grid-template-columns: repeat(4, 1fr); overflow: visible; margin-inline: 0; padding: 0; }
  .promo__name { font-size: 1.4rem; }
  .promo__desc { font-size: 0.84rem; }
  .promo__body { padding: 14px 14px 16px; }
  .promo__burst { width: 84px; height: 84px; top: 10px; right: 10px; }
  .promo__burst b { font-size: 1.25rem; }
  .card { grid-template-columns: 1fr; padding: 10px; }
  .card__media { aspect-ratio: 4 / 3; }
  .card__body { padding: 6px 6px 6px; }
  .delivery__grid { grid-template-columns: 1.3fr 1fr; align-items: start; }
  .delivery__map { height: 470px; }
  .steps__list { grid-template-columns: repeat(3, 1fr); }
  .footer { padding-bottom: 60px; }
  .footer__cols { grid-template-columns: repeat(3, 1fr); }
  .mobile-bar { display: none; }
  .overlay:not(.overlay--side) { align-items: center; padding: 24px; }
  .sheet { border-radius: var(--r-lg); max-height: 88vh; transform: translateY(30px) scale(0.96); opacity: 0; transition: transform 0.4s var(--ease), opacity 0.3s; }
  .overlay.is-open .sheet { opacity: 1; }
}
@media (min-width: 1200px) {
  .grid { grid-template-columns: repeat(4, 1fr); }
  .promo__name { font-size: 1.6rem; }
}

@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 { opacity: 1; transform: none; }
}
