/* =========================================================
   BURRITOS A LO COSTEÑO — Estilos
   Paleta inspirada en el atardecer del Caribe / Tierralta
   ========================================================= */

:root {
  /* Colores costeños */
  --sunset:    #FF6B35;   /* naranja atardecer */
  --mango:     #FFB627;   /* amarillo mango */
  --sun:       #FFD23F;   /* sol */
  --caribe:    #00B4D8;   /* turquesa Caribe */
  --deep-sea:  #0B3D4F;   /* azul mar profundo */
  --palm:      #2A9D8F;   /* verde palma */
  --chili:     #E63946;   /* rojo ají */
  --cream:     #FFF3E0;   /* crema / arena */
  --sand:      #F6E0B5;
  --cacao:     #3D2914;   /* marrón texto */
  --ink:       #1a1410;
  --crudo:     #E8DCC0;   /* fondo crudo del tejido vueltiao */
  --trenza:    #2B241C;   /* negro caña flecha (rombos zenú) */
  --rio:       #3E7C6B;   /* verde esmeralda del alto Sinú */

  --grad-warm: linear-gradient(135deg, var(--sunset), var(--mango));
  --grad-sea:  linear-gradient(135deg, var(--caribe), var(--palm));

  --shadow-sm: 0 6px 18px rgba(43, 36, 28, .20);
  --shadow-md: 0 18px 50px rgba(43, 36, 28, .30);
  --shadow-glow: 0 10px 40px rgba(255, 107, 53, .45);

  --radius: 22px;
  --maxw: 1180px;
  --ease: cubic-bezier(.22, 1, .36, 1);

  --font-display: "Bebas Neue", sans-serif;
  --font-logo: "Pacifico", cursive;
  --font-body: "Poppins", system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--cream);
  background: var(--deep-sea);
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

/* Texto resaltado tipo subrayado pincelado */
.hl {
  background: linear-gradient(120deg, rgba(255,210,63,.35), rgba(255,107,53,.35));
  padding: 0 .12em;
  border-radius: 6px;
  color: var(--sun);
  white-space: nowrap;
}

/* =========================================================
   FONDO ANIMADO (canvas 3D + fallbacks)
   ========================================================= */
#bg-canvas,
.bg-fallback,
.bg-vignette {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  /* En celular, la barra del navegador se esconde al hacer scroll y el viewport
     "crece" un instante: con height 100% quedaba una franja azul abajo hasta
     reacomodarse. 100lvh = altura del viewport GRANDE (barra escondida) →
     el fondo ya cubre esa zona desde el principio y no salta nada. */
  height: 100lvh;
  z-index: -3;
}
#bg-canvas { z-index: -2; }

/* Fallback: atardecer en CSS si WebGL falla */
.bg-fallback {
  background:
    radial-gradient(120% 90% at 50% 18%, #FFE08A 0%, var(--sun) 12%, var(--sunset) 34%, #C75B8B 58%, var(--deep-sea) 86%);
  animation: skyShift 18s ease-in-out infinite alternate;
}
@keyframes skyShift {
  0%   { filter: hue-rotate(0deg) saturate(1); }
  100% { filter: hue-rotate(-12deg) saturate(1.15); }
}

/* Viñeta para legibilidad */
.bg-vignette {
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(120% 80% at 50% 0%, transparent 40%, rgba(11,61,79,.35) 100%),
    linear-gradient(180deg, rgba(11,61,79,.15) 0%, transparent 22%, transparent 60%, rgba(11,61,79,.55) 100%);
}

/* =========================================================
   LOADER
   ========================================================= */
.loader {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 18px;
  background: radial-gradient(circle at 50% 40%, #FF8E53, var(--sunset) 45%, #b23a1f);
  transition: opacity .6s ease, visibility .6s ease;
}
.loader.hide { opacity: 0; visibility: hidden; }
.loader__sun {
  position: absolute;
  top: 30%;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--sun), transparent 65%);
  filter: blur(8px);
  animation: pulse 2s ease-in-out infinite;
}
.loader__burrito {
  font-size: 84px;
  z-index: 1;
  animation: spin3d 2.4s linear infinite;
}
.loader__text {
  font-weight: 600;
  letter-spacing: .04em;
  color: #fff;
  z-index: 1;
}
.dots span { animation: blink 1.4s infinite both; }
.dots span:nth-child(2) { animation-delay: .2s; }
.dots span:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 100% { opacity: .2; } 50% { opacity: 1; } }
@keyframes spin3d {
  0%   { transform: rotateY(0) rotateZ(-12deg); }
  100% { transform: rotateY(360deg) rotateZ(-12deg); }
}
@keyframes pulse { 0%,100% { transform: scale(1); opacity:.85; } 50% { transform: scale(1.12); opacity:1; } }

/* =========================================================
   NAVBAR
   ========================================================= */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px clamp(16px, 5vw, 48px);
  transition: background .4s ease, padding .4s ease, box-shadow .4s ease;
}
.nav.scrolled {
  background: rgba(11, 61, 79, .82);
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 30px rgba(0,0,0,.25);
  padding-top: 10px;
  padding-bottom: 10px;
}
.nav__brand { display: flex; align-items: center; gap: 12px; }
.nav__hat { font-size: 34px; filter: drop-shadow(0 4px 8px rgba(0,0,0,.3)); animation: floaty 4s ease-in-out infinite; }
.nav__name { font-family: var(--font-logo); font-size: 20px; line-height: 1; color: #fff; }
.nav__name em { color: var(--sun); font-size: 15px; }

.nav__links { display: flex; gap: 28px; }
.nav__links a {
  font-weight: 500;
  position: relative;
  padding: 4px 0;
  color: #fff;
  opacity: .9;
  white-space: nowrap;
}
.nav__links a::after {
  content: "";
  position: absolute; left: 0; bottom: -2px;
  width: 0; height: 3px; border-radius: 3px;
  background: var(--grad-warm);
  transition: width .3s var(--ease);
}
.nav__links a:hover { opacity: 1; }
.nav__links a:hover::after { width: 100%; }

.nav__actions { display: flex; align-items: center; gap: 12px; }
.cart-btn {
  position: relative;
  border: none;
  cursor: pointer;
  background: var(--grad-warm);
  color: #fff;
  font-size: 18px;
  padding: 10px 16px;
  border-radius: 999px;
  box-shadow: var(--shadow-glow);
  transition: transform .25s var(--ease);
}
.cart-btn:hover { transform: translateY(-2px) scale(1.04); }
.cart-btn__count {
  position: absolute; top: -8px; right: -8px;
  background: var(--deep-sea);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  min-width: 22px; height: 22px;
  display: grid; place-content: center;
  border-radius: 999px;
  border: 2px solid #fff;
  transform: scale(0);
  transition: transform .3s var(--ease);
}
.cart-btn__count.show { transform: scale(1); }
.nav__toggle {
  display: none;
  background: none; border: none; color: #fff;
  font-size: 26px; cursor: pointer;
}

/* =========================================================
   BOTONES
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 28px;
  border-radius: 999px;
  cursor: pointer;
  border: none;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s ease;
  white-space: nowrap;
}
.btn--primary { background: var(--grad-warm); color: #fff; box-shadow: var(--shadow-glow); }
.btn--primary:hover { transform: translateY(-3px) scale(1.03); box-shadow: 0 16px 50px rgba(255,107,53,.6); }
.btn--ghost { background: rgba(255,255,255,.12); color: #fff; border: 2px solid rgba(255,255,255,.5); }
.btn--ghost:hover { background: rgba(255,255,255,.22); transform: translateY(-3px); }
.btn--whatsapp { background: #25D366; color: #063; width: 100%; justify-content: center; font-weight: 700; }
.btn--whatsapp:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(37,211,102,.5); }
.btn:disabled { opacity: .5; cursor: not-allowed; }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  min-height: 100vh;
  display: grid;
  align-content: center;
  padding: 120px clamp(16px, 5vw, 48px) 80px;
  max-width: var(--maxw);
  margin: 0 auto;
  position: relative;
}
.hero__content { max-width: 720px; }
.hero__eyebrow {
  display: inline-block;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.3);
  backdrop-filter: blur(6px);
  padding: 8px 18px;
  border-radius: 999px;
  font-weight: 500;
  margin-bottom: 22px;
}
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(3.4rem, 11vw, 8rem);
  line-height: .92;
  letter-spacing: .01em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 8px 30px rgba(0,0,0,.35);
}
.hero__title .hl {
  display: inline-block;
  color: var(--sun);
  background: none;
  transform: rotate(-2deg);
  text-shadow: 0 6px 0 rgba(230,57,70,.35), 0 10px 30px rgba(0,0,0,.3);
}
.hero__subtitle {
  font-size: clamp(1.05rem, 2.4vw, 1.4rem);
  max-width: 600px;
  margin: 22px 0 32px;
  color: rgba(255,255,255,.92);
}
.hero__cta { display: flex; gap: 16px; flex-wrap: wrap; }
.hero__badges {
  display: flex; flex-wrap: wrap; gap: 14px;
  list-style: none; margin-top: 40px;
}
.hero__badges li {
  background: rgba(11,61,79,.45);
  border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(6px);
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 500;
  font-size: .95rem;
}
.hero__scroll {
  position: absolute;
  bottom: 28px; left: 50%;
  transform: translateX(-50%);
  display: grid; justify-items: center; gap: 8px;
  font-size: .8rem; letter-spacing: .2em; text-transform: uppercase;
  opacity: .8;
}
.hero__mouse {
  width: 26px; height: 42px;
  border: 2px solid rgba(255,255,255,.7);
  border-radius: 14px;
  display: grid; justify-items: center;
  padding-top: 8px;
}
.hero__mouse div {
  width: 4px; height: 8px; border-radius: 4px;
  background: #fff;
  animation: scrollWheel 1.6s ease infinite;
}
@keyframes scrollWheel { 0% { opacity:0; transform: translateY(-4px);} 40%{opacity:1;} 80%{opacity:0; transform: translateY(10px);} }

/* =========================================================
   SECCIONES GENÉRICAS
   ========================================================= */
.section {
  position: relative;
  padding: clamp(70px, 12vw, 130px) clamp(16px, 5vw, 48px);
  max-width: var(--maxw);
  margin: 0 auto;
}
.section__head { text-align: center; max-width: 720px; margin: 0 auto 50px; }
.section__kicker {
  text-transform: uppercase;
  letter-spacing: .25em;
  font-weight: 600;
  font-size: .85rem;
  color: var(--sun);
  margin-bottom: 10px;
}
.section__title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  line-height: 1;
  text-transform: uppercase;
  color: #fff;
}
.section__lead { margin-top: 14px; color: rgba(255,255,255,.85); }

/* Cenefa zenú: franja de rombos tejidos (vueltiao) bajo el título de cada sección */
.section__head::after {
  content: "";
  display: block;
  width: 90px;
  height: 8px;
  margin: 18px auto 0;
  border-radius: 4px;
  background: repeating-conic-gradient(from 45deg, var(--trenza) 0 25%, var(--crudo) 0 50%) 0 0 / 14px 14px;
  opacity: .92;
}

/* Las secciones de contenido van sobre una "tarjeta" crema para legibilidad */
.menu, .armar, .historia, .pedir, .cobertura {
  background: linear-gradient(180deg, rgba(255,243,224,.06), rgba(255,243,224,.02));
}

/* =========================================================
   MENÚ
   ========================================================= */
.menu__filters {
  display: flex; flex-wrap: wrap; gap: 10px;
  justify-content: center;
  margin-bottom: 40px;
}
.chip {
  border: 1.5px solid rgba(232,220,192,.42);   /* crudo vueltiao translúcido */
  background: rgba(255,255,255,.06);
  color: #fff;
  padding: 9px 18px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 500;
  font-family: var(--font-body);
  transition: all .25s var(--ease);
}
.chip:hover { background: rgba(255,255,255,.15); transform: translateY(-2px); }
.chip.is-active { background: var(--grad-warm); border-color: transparent; color: #fff; box-shadow: var(--shadow-glow); }

.menu__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 26px;
  perspective: 1200px;
}

.card {
  position: relative;
  background: linear-gradient(160deg, #FFFBF0, #F3E8D2);
  border-radius: var(--radius);
  padding: 26px 24px 22px;
  color: var(--cacao);
  box-shadow: var(--shadow-md);
  transform-style: preserve-3d;
  transition: transform .2s var(--ease), box-shadow .3s ease;
  overflow: hidden;
  will-change: transform;
}
.card::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(120% 120% at var(--mx,50%) var(--my,0%), rgba(255,210,63,.35), transparent 55%);
  opacity: 0;
  transition: opacity .3s ease;
  pointer-events: none;
}
.card:hover::before { opacity: 1; }
.card__emoji {
  font-size: 64px;
  line-height: 1;
  display: inline-block;
  transform: translateZ(40px);
  filter: drop-shadow(0 12px 14px rgba(0,0,0,.25));
  transition: transform .3s var(--ease);
}
.card:hover .card__emoji { transform: translateZ(60px) scale(1.08) rotate(-6deg); }
.card__tag {
  position: absolute; top: 18px; right: 18px;
  background: var(--chili); color: #fff;
  font-size: .7rem; font-weight: 700; letter-spacing: .05em;
  text-transform: uppercase;
  padding: 5px 10px; border-radius: 999px;
  transform: translateZ(30px);
}
.card__tag--pop { background: var(--palm); }
.card__tag--new { background: var(--caribe); }
.card__title {
  font-size: 1.4rem; font-weight: 700;
  margin: 14px 0 6px;
  transform: translateZ(25px);
}
.card__desc { font-size: .92rem; color: #6b5742; min-height: 46px; transform: translateZ(15px); }
.card__foot {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 18px;
  transform: translateZ(20px);
}
.card__price { font-family: var(--font-display); font-size: 1.9rem; color: var(--sunset); letter-spacing: .02em; }
.card__price small { font-size: .85rem; color: #957a5f; font-family: var(--font-body); }
.card__add {
  border: none; cursor: pointer;
  background: var(--grad-warm); color: #fff;
  width: 48px; height: 48px; border-radius: 50%;
  font-size: 24px; font-weight: 700;
  display: grid; place-content: center;
  box-shadow: var(--shadow-glow);
  transition: transform .2s var(--ease);
}
.card__add:hover { transform: rotate(90deg) scale(1.12); }
.card__add:active { transform: scale(.9); }

/* Selector de salsa en las tarjetas */
.sauce { margin: 14px 0 4px; transform: translateZ(15px); }
.sauce__label { font-size: .8rem; font-weight: 600; color: #8a7159; display: block; margin-bottom: 6px; }
.sauce__opts { display: flex; flex-wrap: wrap; gap: 6px; }
.sauce__chip {
  border: 1.5px solid #E0D2B4;                 /* crudo vueltiao sobre fondo claro */
  background: #fff; color: var(--cacao);
  font-family: var(--font-body); font-size: .76rem; font-weight: 500;
  padding: 6px 11px; border-radius: 999px; cursor: pointer;
  transition: all .2s var(--ease);
}
.sauce__chip b { color: var(--sunset); font-weight: 700; }
.sauce__chip:hover { border-color: var(--mango); background: #fff7e8; }
.sauce__chip.is-active { background: var(--grad-warm); color: #fff; border-color: transparent; }
.sauce__chip.is-active b { color: #fff; }

/* ===== Tarjeta con EFECTO CARTA (productos con imagen) ===== */
.card--flip { padding: 0; background: transparent; box-shadow: none; overflow: visible; perspective: 1100px; min-height: 360px; }
.card--flip::before { content: none; }
.card--flip .card__inner {
  position: relative; width: 100%; min-height: 360px; display: grid; /* grid: el alto crece hasta la cara más alta → se ve TODO */
  border-radius: var(--radius); box-shadow: var(--shadow-md);
  transform-style: preserve-3d; transition: transform .7s cubic-bezier(.2,.8,.2,1);
}
.card--flip.is-flipped .card__inner { transform: rotateY(180deg); }
/* Solo la cara VISIBLE recibe clics (evita que el "+" se bugee) */
.card__face--back { pointer-events: none; }
.card--flip.is-flipped .card__face--front { pointer-events: none; }
.card--flip.is-flipped .card__face--back { pointer-events: auto; }
/* En escritorio (mouse real) también voltea al pasar el cursor */
@media (hover: hover) {
  .card--flip:hover .card__inner { transform: rotateY(180deg); }
  .card--flip:hover .card__face--front { pointer-events: none; }
  .card--flip:hover .card__face--back { pointer-events: auto; }
}
.card--flip .card__tag, .card--flip .card__title, .card--flip .card__desc,
.card--flip .card__foot, .card--flip .sauce { transform: none; }
.card__face {
  grid-area: 1 / 1; border-radius: var(--radius); overflow: hidden; /* ambas caras en la misma celda: la tarjeta crece a la más alta */
  backface-visibility: hidden; -webkit-backface-visibility: hidden;
  background-size: cover; background-position: center;
}
/* Frente: la foto + título + precio */
.card__face--front { display: flex; flex-direction: column; justify-content: flex-end; }
.card__face--front::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 38%, rgba(0,0,0,.74) 100%); }
.card__cover { position: relative; z-index: 1; padding: 20px 22px; }
.card__cover .card__title { color: #fff; margin: 0 0 4px; text-shadow: 0 2px 10px rgba(0,0,0,.55); }
.card__cover-price { color: #fff; font-family: var(--font-display); font-size: 1.7rem; letter-spacing: .02em; text-shadow: 0 2px 10px rgba(0,0,0,.55); }
.card__flip-hint { position: absolute; top: 14px; left: 14px; z-index: 1; background: rgba(255,255,255,.92); color: var(--cacao); font-size: .72rem; font-weight: 800; padding: 5px 11px; border-radius: 999px; box-shadow: var(--shadow-sm); }
/* Detrás: la foto oscurecida con los datos encima */
.card__face--back { transform: rotateY(180deg); }
.card__face--back::after { content: ""; position: absolute; inset: 0; background: linear-gradient(170deg, rgba(22,9,0,.80), rgba(22,9,0,.93)); }
.card__back-inner { position: relative; z-index: 1; padding: 20px 22px; display: flex; flex-direction: column; color: #fff; }
.card__face--back .card__title { color: #fff; margin: 0 0 8px; }
/* Descripción COMPLETA visible (la tarjeta crece para mostrarla toda). */
.card__face--back .card__desc { color: rgba(255,255,255,.9); min-height: 0; }
.card__face--back .sauce__label { color: rgba(255,255,255,.85); }
/* TODAS las adiciones visibles, sin scroll (la tarjeta crece para mostrarlas). */
.card__face--back .sauce { margin: 12px 0 4px; }
.card__face--back .card__foot { margin-top: auto; padding-top: 14px; }
.card__face--back .card__price { color: #fff; }
.card__face--back .card__price small { color: rgba(255,255,255,.7); }
@media (max-width: 560px) { .card--flip, .card--flip .card__inner { min-height: 360px; } }

/* =========================================================
   ARMA TU PROPIO BURRITO
   ========================================================= */
.builder {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 32px;
  align-items: start;
}
.builder__choices { display: grid; gap: 34px; }
.builder__h {
  display: flex; align-items: center; gap: 12px;
  color: #fff; font-size: 1.3rem; margin-bottom: 16px;
}
.builder__h em { color: var(--sun); font-style: normal; font-size: .85rem; font-weight: 500; }
.builder__num {
  flex: none;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--grad-warm); color: #fff;
  display: grid; place-content: center;
  font-family: var(--font-display); font-size: 1.25rem;
  box-shadow: var(--shadow-glow);
}

/* Bases (proteínas) — obligatorio elegir una */
.proteins { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.protein {
  display: grid; justify-items: center; gap: 4px;
  padding: 20px 10px; cursor: pointer;
  background: rgba(255,255,255,.07);
  border: 2px solid rgba(255,255,255,.18);
  border-radius: 18px; color: #fff;
  font-family: var(--font-body);
  transition: transform .25s var(--ease), background .25s ease, border-color .25s ease;
}
.protein:hover { transform: translateY(-4px); background: rgba(255,255,255,.13); }
.protein__emoji { font-size: 40px; transition: transform .25s var(--ease); }
.protein:hover .protein__emoji { transform: scale(1.15) rotate(-6deg); }
.protein strong { font-size: 1.05rem; }
.protein__desc { font-size: .74rem; color: rgba(255,255,255,.7); text-align: center; }
.protein.is-active {
  background: var(--grad-warm); border-color: #fff; box-shadow: var(--shadow-glow);
}
.protein.is-active .protein__desc { color: rgba(255,255,255,.92); }

/* Ingredientes — multi-selección */
.ingredients { display: grid; grid-template-columns: repeat(auto-fill, minmax(158px, 1fr)); gap: 10px; }
.ingredient {
  position: relative;
  display: flex; align-items: center; gap: 10px;
  padding: 10px 30px 10px 12px;   /* hueco a la derecha para el check */
  cursor: pointer; text-align: left;
  background: rgba(11,61,79,.5);
  border: 1.5px solid rgba(255,255,255,.18);
  border-radius: 14px; color: #fff;
  font-family: var(--font-body);
  backdrop-filter: blur(4px);
  transition: transform .2s var(--ease), background .2s ease, border-color .2s ease;
}
.ingredient:hover { background: rgba(11,61,79,.72); transform: translateY(-2px); }
.ingredient__emoji { font-size: 22px; flex: none; line-height: 1; }
.ingredient__body { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.15; }
.ingredient__name { font-size: .86rem; font-weight: 500; }
.ingredient__price { font-size: .78rem; color: var(--sun); font-weight: 700; }
.ingredient__check {
  position: absolute; top: 50%; right: 9px; transform: translateY(-50%) scale(.4);
  opacity: 0; color: #fff; font-weight: 800; font-size: .85rem;
  transition: opacity .2s var(--ease), transform .2s var(--ease);
}
.ingredient.is-active { background: var(--grad-sea); border-color: #fff; }
.ingredient.is-active .ingredient__price { color: #fff; }
.ingredient.is-active .ingredient__check { opacity: 1; transform: translateY(-50%) scale(1); }

/* Resumen en vivo (sticky) */
.builder__summary {
  position: sticky; top: 100px;
  background: linear-gradient(160deg, #FFFBF0, #F3E8D2);
  color: var(--cacao);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-md);
  text-align: center;
}
.builder__burrito { position: relative; height: 120px; margin-bottom: 8px; display: grid; place-content: center; }
.builder__tortilla {
  font-size: 84px;
  filter: drop-shadow(0 10px 12px rgba(0,0,0,.25));
  animation: floaty 4s ease-in-out infinite;
}
.builder__burrito.pulse .builder__tortilla { animation: bpulse .45s var(--ease); }
@keyframes bpulse { 0% { transform: scale(1); } 50% { transform: scale(1.18) rotate(-5deg); } 100% { transform: scale(1); } }
.builder__floats { position: absolute; inset: 0; pointer-events: none; }
.builder__floats span {
  position: absolute; top: 50%; left: 50%;
  width: 0; height: 0; display: grid; place-content: center;
  font-size: 22px;
  transform: rotate(calc(var(--i) * 45deg)) translateY(-62px) rotate(calc(var(--i) * -45deg));
  animation: floatIn .35s ease both;
}
@keyframes floatIn { from { opacity: 0; } to { opacity: 1; } }
.builder__summary h4 { font-size: 1.3rem; margin-bottom: 6px; }
.builder__recipe { font-size: .9rem; color: #6b5742; min-height: 50px; }
.builder__recipe .muted { color: #a8957f; }
.builder__total {
  display: flex; align-items: baseline; justify-content: space-between;
  margin: 16px 0; padding-top: 14px; border-top: 2px dashed rgba(61,41,20,.18);
}
.builder__total span { font-weight: 600; }
.builder__total strong { font-family: var(--font-display); font-size: 2.2rem; color: var(--sunset); }
.builder__add { width: 100%; justify-content: center; }

@media (max-width: 860px) {
  .builder { grid-template-columns: 1fr; }
  .builder__summary { position: static; }
}
@media (max-width: 420px) {
  .proteins { gap: 8px; }
  .protein { padding: 16px 6px; }
  .protein__emoji { font-size: 34px; }
}

/* =========================================================
   HISTORIA
   ========================================================= */
.historia__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(30px, 6vw, 70px);
  align-items: center;
}
.historia__text p { color: rgba(255,255,255,.9); margin-bottom: 16px; }
.historia__art { display: grid; place-items: center; }
.historia__card {
  position: relative;
  width: min(100%, 380px);
  aspect-ratio: 1;
  border-radius: 30px;
  background: var(--grad-sea);
  display: grid;
  grid-template-columns: 1fr 1fr;
  place-items: center;
  gap: 10px;
  padding: 30px;
  box-shadow: var(--shadow-md);
  transform: rotate(-3deg);
  transition: transform .5s var(--ease);
  overflow: hidden;
}
.historia__card::after {
  content: "";
  position: absolute; inset: 0;
  background: repeating-linear-gradient(45deg, rgba(255,255,255,.06) 0 16px, transparent 16px 32px);
}
.historia__card:hover { transform: rotate(0deg) scale(1.02); }
.historia__emoji { font-size: clamp(48px, 10vw, 74px); animation: floaty 5s ease-in-out infinite; }
.historia__emoji:nth-child(2){ animation-delay: .6s; }
.historia__emoji:nth-child(3){ animation-delay: 1.2s; }
.historia__emoji:nth-child(4){ animation-delay: 1.8s; }
.historia__label {
  grid-column: 1 / -1;
  font-family: var(--font-logo);
  font-size: 1.4rem; color: #fff;
  z-index: 1;
}
.historia__stats {
  display: flex; gap: 26px; flex-wrap: wrap;
  margin-top: 26px;
}
.historia__stats div { display: grid; }
.historia__stats strong { font-family: var(--font-display); font-size: 2.6rem; color: var(--sun); line-height: 1; }
.historia__stats span { font-size: .85rem; color: rgba(255,255,255,.8); }

/* =========================================================
   CÓMO PEDIR — pasos
   ========================================================= */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}
.step {
  position: relative;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.16);
  backdrop-filter: blur(8px);
  border-radius: var(--radius);
  padding: 34px 24px 26px;
  text-align: center;
  transition: transform .3s var(--ease), background .3s ease;
}
.step:hover { transform: translateY(-8px); background: rgba(255,255,255,.12); }
.step__num {
  position: absolute; top: -18px; left: 50%; transform: translateX(-50%);
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--grad-warm); color: #fff;
  font-family: var(--font-display); font-size: 1.5rem;
  display: grid; place-content: center;
  box-shadow: var(--shadow-glow);
}
.step__icon { font-size: 54px; display: block; margin: 6px 0 12px; }
.step h3 { color: #fff; margin-bottom: 8px; }
.step p { color: rgba(255,255,255,.82); font-size: .95rem; }

/* =========================================================
   COBERTURA
   ========================================================= */
.cobertura__box {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(30px, 6vw, 70px);
  align-items: center;
  background: rgba(11,61,79,.4);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 30px;
  padding: clamp(28px, 5vw, 56px);
  backdrop-filter: blur(8px);
}
.cobertura__text p { color: rgba(255,255,255,.9); margin-bottom: 16px; }
.cobertura__list { list-style: none; margin: 0 0 26px; display: grid; gap: 10px; }
.cobertura__list li { color: rgba(255,255,255,.92); }
.cobertura__map {
  position: relative;
  aspect-ratio: 1;
  border-radius: 24px;
  background: radial-gradient(circle at 50% 50%, var(--palm), var(--deep-sea));
  display: grid; place-content: center; place-items: center;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.cobertura__iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; z-index: 1; }
.cobertura__map span {
  position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%);
  font-family: var(--font-logo); font-size: 1rem; color: #fff; z-index: 2;
  background: rgba(11,61,79,.72); padding: 5px 14px; border-radius: 999px;
  backdrop-filter: blur(4px); white-space: nowrap;
}
.cobertura__pin { font-size: 70px; z-index: 2; animation: floaty 3s ease-in-out infinite; }
.cobertura__ripple {
  position: absolute; width: 60px; height: 60px; border-radius: 50%;
  border: 3px solid rgba(255,255,255,.6);
  animation: ripple 2.4s ease-out infinite;
}
@keyframes ripple {
  0% { transform: scale(.4); opacity: 1; }
  100% { transform: scale(5.5); opacity: 0; }
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  position: relative;
  background: rgba(7, 40, 52, .9);
  backdrop-filter: blur(8px);
  padding: 70px clamp(16px, 5vw, 48px) 30px;
  border-top: 4px solid transparent;
  border-image: var(--grad-warm) 1;
}
/* Cenefa vueltiao a lo ancho del footer (identidad zenú) */
.footer::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 6px;
  background: repeating-conic-gradient(from 45deg, var(--trenza) 0 25%, var(--crudo) 0 50%) 0 0 / 12px 12px;
  opacity: .85;
  pointer-events: none;
}
.footer__grid {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 36px;
}
.footer__brand { font-family: var(--font-logo); color: var(--sun); font-size: 1.5rem; margin-bottom: 12px; }
.footer h4 { color: #fff; margin-bottom: 14px; font-size: 1.1rem; }
.footer p, .footer a { color: rgba(255,255,255,.8); margin-bottom: 8px; }
.footer a:hover { color: var(--sun); }
.footer__copy {
  text-align: center; margin-top: 50px;
  color: rgba(255,255,255,.55); font-size: .85rem;
}
.footer__admin { color: rgba(255,255,255,.5); text-decoration: none; }
.footer__admin:hover { color: var(--mango); }

/* ============ Mascota "Tito el Burrito" ============ */
.nav__logo { height: 42px; width: auto; filter: drop-shadow(0 4px 8px rgba(0,0,0,.3)); animation: floaty 4s ease-in-out infinite; }
.loader__tito { width: 132px; height: auto; z-index: 1; filter: drop-shadow(0 12px 20px rgba(0,0,0,.3)); animation: floaty 2.4s ease-in-out infinite; }
.historia__tito {
  display: block;
  width: min(80%, 330px);
  height: auto;
  margin: 0 auto;
  filter: drop-shadow(0 18px 28px rgba(0,0,0,.45));
  animation: floaty 5.5s ease-in-out infinite;
}
.drawer__empty-tito {
  display: block;
  width: 150px;
  height: auto;
  margin: 0 auto 8px;
  filter: drop-shadow(0 8px 14px rgba(0,0,0,.18));
}
.footer__tito {
  width: 112px;
  height: auto;
  display: block;
  margin: 0 0 12px;
  filter: drop-shadow(0 8px 14px rgba(0,0,0,.3));
}
.pedir__tito { display: flex; align-items: center; justify-content: center; gap: 18px; margin: 40px auto 0; flex-wrap: wrap; }
.pedir__tito img { width: 132px; height: auto; filter: drop-shadow(0 10px 16px rgba(0,0,0,.3)); animation: floaty 5s ease-in-out infinite; }
.pedir__tito-bubble {
  position: relative; background: var(--cream); color: var(--deep-sea);
  font-family: var(--font-display); font-size: 1.15rem; line-height: 1.3;
  padding: 16px 22px; border-radius: 18px; box-shadow: var(--shadow-md); max-width: 280px;
}
.pedir__tito-bubble::after { content: ""; position: absolute; left: -12px; top: 50%; transform: translateY(-50%); border: 12px solid transparent; border-right-color: var(--cream); }
.prog__tito { display: block; width: clamp(130px, 32vw, 175px); height: auto; margin: 4px auto 10px; filter: drop-shadow(0 12px 20px rgba(0,0,0,.3)); animation: floaty 5s ease-in-out infinite; }
@media (max-width: 860px) {
  .historia__tito { width: min(64%, 250px); }
  .pedir__tito-bubble::after { left: 50%; top: -12px; transform: translateX(-50%); border-right-color: transparent; border-bottom-color: var(--cream); }
}

/* =========================================================
   DRAWER (carrito)
   ========================================================= */
.drawer-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(7,30,40,.6);
  backdrop-filter: blur(3px);
  opacity: 0; visibility: hidden;
  transition: opacity .35s ease, visibility .35s ease;
}
.drawer-overlay.show { opacity: 1; visibility: visible; }
.drawer {
  position: fixed; top: 0; right: 0; z-index: 201;
  width: min(420px, 100%);
  height: 100%;               /* fallback */
  height: 100dvh;             /* viewport dinámico: el pie no queda tras la barra del navegador */
  background: linear-gradient(180deg, #fffaf2, var(--cream));
  color: var(--cacao);
  display: flex; flex-direction: column;
  transform: translateX(105%);
  transition: transform .4s var(--ease);
  box-shadow: -20px 0 60px rgba(0,0,0,.35);
}
.drawer.show { transform: translateX(0); }
.drawer__head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 24px; border-bottom: 2px dashed rgba(61,41,20,.18);
}
.drawer__head h3 { font-size: 1.4rem; }
.drawer__close {
  border: none; background: rgba(61,41,20,.08); cursor: pointer;
  width: 38px; height: 38px; border-radius: 50%; font-size: 18px; color: var(--cacao);
  transition: transform .2s ease, background .2s ease;
}
.drawer__close:hover { background: var(--chili); color: #fff; transform: rotate(90deg); }
.drawer__items { flex: 1; overflow-y: auto; padding: 18px 24px; }
.drawer__empty { text-align: center; color: #8a7159; margin-top: 40px; }

.cart-item {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 12px; align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid rgba(61,41,20,.1);
  animation: slideIn .35s var(--ease);
}
@keyframes slideIn { from { opacity:0; transform: translateX(20px);} to {opacity:1; transform:none;} }
.cart-item__emoji { font-size: 38px; }
.cart-item__info strong { display: block; font-size: .98rem; }
.cart-item__info span { font-size: .82rem; color: #8a7159; }
.cart-item__note {
  display: block; font-size: .78rem; color: var(--palm);
  font-style: italic; line-height: 1.3; margin: 2px 0;
}
.cart-item__qty { display: flex; align-items: center; gap: 8px; margin-top: 6px; }
.cart-item__qty button {
  width: 26px; height: 26px; border-radius: 8px; border: none; cursor: pointer;
  background: var(--sand); color: var(--cacao); font-weight: 700; font-size: 15px;
  transition: background .2s ease;
}
.cart-item__qty button:hover { background: var(--mango); }
.cart-item__qty span { min-width: 20px; text-align: center; font-weight: 600; }
.cart-item__price { font-weight: 700; color: var(--sunset); white-space: nowrap; }
.cart-item__remove {
  background: none; border: none; cursor: pointer; color: #b9876a; font-size: 13px; margin-top: 4px;
}
.cart-item__remove:hover { color: var(--chili); text-decoration: underline; }

.drawer__foot { padding: 20px 24px calc(26px + env(safe-area-inset-bottom, 0px)); border-top: 2px dashed rgba(61,41,20,.18); }
.drawer__total {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 14px;
}
.drawer__total strong { font-family: var(--font-display); font-size: 2rem; color: var(--sunset); }
.drawer__discount {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 8px; padding: 8px 12px; border-radius: 12px;
  background: rgba(42,157,143,.14);
  color: var(--palm); font-weight: 600; font-size: .9rem;
  animation: slideIn .35s var(--ease);
}
.drawer__discount strong { color: var(--palm); font-weight: 800; }
.drawer__ship-row {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 8px; padding: 8px 12px; border-radius: 12px;
  background: rgba(61,41,20,.06);
  color: var(--cacao); font-weight: 600; font-size: .9rem;
}
.drawer__ship-row strong { color: var(--cacao); font-weight: 800; }
.drawer__note { font-size: .78rem; color: #8a7159; text-align: center; margin-top: 10px; }

/* =========================================================
   WHATSAPP FLOTANTE
   ========================================================= */
.wa-float {
  position: fixed; bottom: 26px; right: 26px; z-index: 150;
  width: 62px; height: 62px; border-radius: 50%;
  background: #25D366;
  display: grid; place-content: center;
  font-size: 30px;
  box-shadow: 0 12px 30px rgba(37,211,102,.5);
  transition: transform .3s var(--ease);
}
.wa-float:hover { transform: scale(1.1) rotate(8deg); }
.wa-float__pulse {
  position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid #25D366;
  animation: ripple 2.2s ease-out infinite;
}

/* =========================================================
   BOTÓN SONIDO DE MAR
   ========================================================= */
.snd-toggle {
  position: fixed; bottom: 26px; left: 26px; z-index: 150;
  width: 54px; height: 54px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(11,61,79,.7);
  backdrop-filter: blur(8px);
  color: #fff; font-size: 23px; cursor: pointer;
  display: grid; place-content: center;
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), background .3s ease;
}
.snd-toggle:hover { transform: scale(1.1); }
.snd-toggle.is-on { background: var(--grad-sea); border-color: transparent; }
.snd-toggle__icon { line-height: 1; pointer-events: none; }
.snd-toggle.is-on .snd-toggle__icon { animation: sndPulse 1.9s ease-in-out infinite; }
@keyframes sndPulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.15); } }

/* =========================================================
   TOAST
   ========================================================= */
.toast {
  position: fixed; bottom: 30px; left: 50%;
  transform: translate(-50%, 120%);
  z-index: 300;
  background: var(--deep-sea);
  color: #fff;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(255,255,255,.2);
  transition: transform .4s var(--ease);
  pointer-events: none;
}
.toast.show { transform: translate(-50%, 0); }

/* =========================================================
   REVEAL (scroll)
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(38px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }

/* Animación flotante reutilizable */
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* Botones de redes sociales en el nav (aparecen solo si tienen URL) */
.nav__social { display: inline-flex; align-items: center; gap: 6px; }
.nav__social-btn { width: 32px; height: 32px; display: inline-grid; place-items: center; border-radius: 50%; color: #fff; background: rgba(255,255,255,.16); border: none; cursor: pointer; text-decoration: none; transition: background .2s ease, transform .2s ease, color .2s ease; }
.nav__social-btn:hover { background: var(--mango); color: var(--cacao); transform: translateY(-2px); }
.nav__social-btn svg { width: 17px; height: 17px; fill: currentColor; display: block; }
.nav__social-btn[hidden] { display: none; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 860px) {
  .nav__links {
    position: fixed; inset: 0 0 0 auto;
    width: min(280px, 80%);
    flex-direction: column;
    background: var(--deep-sea);                 /* SÓLIDO: se ve aunque el navegador desactive backdrop-filter (Brave) */
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    z-index: 120;                                /* por encima del nav (100) y de todo el contenido */
    padding: 100px 30px 30px;
    gap: 22px;
    transform: translateX(105%);
    transition: transform .4s var(--ease);
  }
  .nav__links.open { transform: translateX(0); }
  .nav__links a { font-size: 1.2rem; }
  .nav__toggle { display: block; }
  /* SIN backdrop-filter en el nav al hacer scroll EN MÓVIL: si lo lleva, el nav se vuelve
     el "containing block" del menú (.nav__links es position:fixed e hijo del nav) y el
     drawer colapsa a la altura de la barra → fondo transparente y letras desbordadas.
     Lo compensamos con un fondo casi opaco para que la barra siga viéndose bien. */
  .nav.scrolled { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(11,61,79,.92); }

  .historia__grid { grid-template-columns: 1fr; }
  .historia__art { order: -1; }
  .cobertura__box { grid-template-columns: 1fr; }
  .cobertura__map { max-width: 320px; margin: 0 auto; width: 100%; }
}

/* ===== Menú superior PRIORITARIO (laptops / pantallas medianas) =====
   Siempre visibles: Menú · Arma el tuyo · Promos · Top 15 · Cómo pedir.
   Los demás pasan al desplegable ☰ a medida que se angosta la pantalla:
   tier A (Historia/Opiniones/Normas) primero, tier B (Domicilios/Puntos) después. */
@media (min-width: 861px) and (max-width: 1620px) {
  .nav__toggle { display: block; }
  .nav__links { gap: 18px; }
  .nav__opt-a { display: none; }
  .nav__links.open {
    position: fixed; inset: 0 0 0 auto;
    width: min(280px, 80%);
    flex-direction: column;
    background: var(--deep-sea);
    z-index: 120;
    padding: 100px 30px 30px;
    gap: 22px;
    box-shadow: -12px 0 40px rgba(0,0,0,.35);
    overflow-y: auto;
  }
  .nav__links.open a { display: block; font-size: 1.15rem; white-space: normal; }
}
@media (min-width: 861px) and (max-width: 1250px) {
  .nav__opt-b { display: none; }
}

@media (max-width: 480px) {
  .hero { padding-top: 100px; }
  .hero__badges li { font-size: .82rem; padding: 8px 14px; }
  .historia__stats { gap: 18px; }
  .historia__stats strong { font-size: 2rem; }
}

/* =========================================================
   CUENTAS (botón, login / registro / perfil / términos)
   ========================================================= */
.acct-btn {
  display: inline-flex; align-items: center; gap: 6px;
  border: 1.5px solid rgba(255,255,255,.5);
  background: rgba(255,255,255,.12); color: #fff;
  font-family: var(--font-body); font-weight: 600; font-size: .9rem;
  padding: 9px 14px; border-radius: 999px; cursor: pointer;
  backdrop-filter: blur(6px); max-width: 160px;
  transition: transform .25s var(--ease), background .25s ease;
}
.acct-btn span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.acct-btn:hover { transform: translateY(-2px); background: rgba(255,255,255,.22); }
.acct-btn.is-in { background: var(--grad-sea); border-color: transparent; }

.auth-overlay {
  position: fixed; inset: 0; z-index: 210;
  background: rgba(7,30,40,.6); backdrop-filter: blur(3px);
  opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility .3s ease;
}
.auth-overlay.show { opacity: 1; visibility: visible; }
.auth {
  position: fixed; z-index: 211; left: 50%; top: 50%;
  transform: translate(-50%, -48%) scale(.96);
  width: min(420px, 92vw);
  max-height: 90vh;            /* fallback navegadores viejos */
  max-height: 88dvh;          /* viewport DINÁMICO: se ajusta a las barras del navegador móvil */
  overflow-y: auto; overscroll-behavior: contain;
  background: linear-gradient(160deg, #fffaf2, var(--cream));
  color: var(--cacao); border-radius: var(--radius);
  padding: 28px 26px calc(24px + env(safe-area-inset-bottom, 0px)); box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden;
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s ease;
}
.auth.show { opacity: 1; visibility: visible; transform: translate(-50%, -50%) scale(1); }
.auth__close {
  position: absolute; top: 14px; right: 14px;
  width: 34px; height: 34px; border-radius: 50%; border: none; cursor: pointer;
  background: rgba(61,41,20,.08); color: var(--cacao); font-size: 16px;
  transition: background .2s ease, transform .2s ease;
}
.auth__close:hover { background: var(--chili); color: #fff; transform: rotate(90deg); }
.auth__title { font-size: 1.5rem; margin-bottom: 14px; }
.auth__cta {
  background: rgba(255,178,39,.18); border: 1px solid rgba(255,178,39,.5); color: #8a5a12;
  padding: 8px 12px; border-radius: 12px; font-size: .85rem; margin-bottom: 12px;
}
.auth__input {
  width: 100%; box-sizing: border-box; margin-bottom: 10px;
  padding: 12px 14px; border-radius: 12px;
  border: 1.5px solid rgba(61,41,20,.2); background: #fff; color: var(--cacao);
  font-family: var(--font-body); font-size: .95rem;
}
.auth__input:focus { outline: none; border-color: var(--sunset); box-shadow: 0 0 0 3px rgba(255,107,53,.18); }
.auth__hint { font-size: .85rem; color: #6b5742; line-height: 1.4; margin-bottom: 12px; }
.auth__label { display: block; font-size: .82rem; color: #6b5742; margin: 4px 0; }
.auth__label small { color: #957a5f; }
.auth__check { display: flex; align-items: flex-start; gap: 8px; font-size: .82rem; color: #6b5742; margin: 4px 0 14px; line-height: 1.4; }
.auth__check input { margin-top: 3px; }
.auth__check button { background: none; border: none; color: var(--sunset); font-weight: 700; cursor: pointer; text-decoration: underline; font-size: .82rem; padding: 0; }
.auth__btn { width: 100%; justify-content: center; margin-top: 4px; }
.auth__link { display: block; width: 100%; background: none; border: none; color: var(--caribe); cursor: pointer; font-size: .85rem; margin-top: 10px; text-align: center; }
.auth__link:hover { text-decoration: underline; }
.auth__or { display: flex; align-items: center; gap: 10px; color: #b9a98f; margin: 14px 0; font-size: .8rem; }
.auth__or::before, .auth__or::after { content: ""; flex: 1; height: 1px; background: rgba(61,41,20,.15); }
.auth__google {
  width: 100%; display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 11px; border-radius: 12px; cursor: pointer;
  border: 1.5px solid rgba(61,41,20,.2); background: #fff; color: var(--cacao);
  font-family: var(--font-body); font-weight: 600; font-size: .92rem;
  transition: background .2s ease, transform .2s ease;
}
.auth__google b { color: #4285F4; font-size: 1.1rem; }
.auth__google:hover { background: #f6f1e8; transform: translateY(-1px); }
.auth__switch { text-align: center; margin-top: 16px; font-size: .88rem; color: #6b5742; }
.auth__switch button { background: none; border: none; color: var(--sunset); font-weight: 700; cursor: pointer; font-size: .88rem; }
.auth__msg { margin-top: 12px; text-align: center; font-size: .88rem; min-height: 1.1em; }
.auth__msg.is-err { color: var(--chili); }
.auth__msg.is-ok { color: var(--palm); }
.profile__data { margin-bottom: 16px; }
.profile__row { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid rgba(61,41,20,.1); }
.profile__row span { color: #8a7159; font-size: .9rem; }
.profile__row strong { text-align: right; }
.profile__note { font-size: .78rem; color: #957a5f; margin-top: 10px; }
.profile__alias { margin-top: 14px; padding-top: 12px; border-top: 1px dashed rgba(61,41,20,.18); }
.profile__aliasLabel { display: block; font-weight: 800; color: var(--cacao); margin-bottom: 8px; }
.profile__aliasRow { display: flex; gap: 8px; }
.profile__aliasRow .auth__input { margin-bottom: 0; }
.profile__aliasBtn { flex-shrink: 0; border: none; background: var(--mango); color: #fff; font-weight: 800; padding: 0 18px; border-radius: 12px; cursor: pointer; }
.profile__aliasBtn:hover { filter: brightness(1.05); }
.profile__aliasMsg { font-size: .8rem; color: var(--palm); min-height: 1em; margin-top: 6px; }
.auth--terms .terms__text { font-size: .9rem; color: #5b4a38; line-height: 1.5; margin-bottom: 16px; }
.auth--terms .terms__text p { margin-bottom: 10px; }

/* Cerrar sesión (legible en el modal claro) */
.auth__logout {
  width: 100%; margin-top: 8px; padding: 12px;
  border: 1.5px solid var(--chili); background: #fff; color: var(--chili);
  border-radius: 999px; font-family: var(--font-body); font-weight: 700; cursor: pointer;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.auth__logout:hover { background: var(--chili); color: #fff; transform: translateY(-1px); }

/* Mis direcciones */
.profile__section { margin: 6px 0 14px; }
.profile__sectionHead { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.profile__sectionHead h4 { font-size: 1.05rem; }
.profile__add { border: none; background: var(--grad-warm); color: #fff; font-weight: 700; font-size: .82rem; padding: 6px 12px; border-radius: 999px; cursor: pointer; }
.profile__add:hover { transform: translateY(-1px); }
.addr-list { display: grid; gap: 8px; }
.addr-empty { color: #957a5f; font-size: .88rem; text-align: center; padding: 8px 0; }
.addr-item { background: #fff; border: 1.5px solid rgba(61,41,20,.14); border-radius: 14px; padding: 10px 12px; }
.addr-item.is-principal { border-color: var(--mango); background: #fffaf0; }
.addr-item__info strong { display: block; font-size: .95rem; }
.addr-item__info .addr-badge { display: inline-block; vertical-align: middle; background: var(--mango); color: #6b4a12; font-size: .68rem; font-weight: 800; padding: 2px 8px; border-radius: 999px; margin-left: 6px; }
.addr-item__info span { display: block; font-size: .82rem; color: #8a7159; }
.addr-item__info .addr-ref { font-style: italic; }
.addr-item__actions { display: flex; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.addr-item__actions button { border: none; background: rgba(61,41,20,.07); color: var(--cacao); font-size: .78rem; font-weight: 600; padding: 5px 10px; border-radius: 999px; cursor: pointer; }
.addr-item__actions button:hover { background: var(--sand); }
.addr-item__actions [data-act="del"]:hover { background: var(--chili); color: #fff; }
.auth__gps { width: 100%; border: 1.5px dashed rgba(0,180,216,.6); background: rgba(0,180,216,.08); color: var(--deep-sea); font-weight: 600; padding: 10px; border-radius: 12px; cursor: pointer; margin-bottom: 6px; }
.auth__gps:hover { background: rgba(0,180,216,.16); }
.addr-gps-status { display: block; font-size: .8rem; color: var(--palm); margin-bottom: 10px; min-height: 1em; }
select.auth__input { appearance: auto; cursor: pointer; }
@media (max-width: 560px) { .acct-btn span { display: none; } .acct-btn { padding: 9px 12px; } }

/* ===================== CHECKOUT / PEDIDO ===================== */
.auth--wide { width: min(480px, 94vw); }
/* El formulario de dirección debe quedar SOBRE el checkout */
#addrOverlay { z-index: 230; }
#addrModal   { z-index: 231; }
#okOverlay   { z-index: 240; }
#okModal     { z-index: 241; }

.co-summary { background: rgba(61,41,20,.04); border: 1px solid rgba(61,41,20,.08); border-radius: 14px; padding: 12px 14px; margin-bottom: 16px; }
.co-lines { display: flex; flex-direction: column; gap: 6px; margin-bottom: 8px; }
.co-line { display: flex; justify-content: space-between; gap: 10px; font-size: .9rem; }
.co-line i { color: #8a7159; font-style: italic; font-size: .82rem; }
.co-line b { white-space: nowrap; }
.co-row { display: flex; justify-content: space-between; font-size: .9rem; padding: 3px 0; border-top: 1px dashed rgba(61,41,20,.12); }
.co-row.co-disc { color: var(--palm); font-weight: 700; }
.co-row.co-total { font-size: 1.1rem; font-weight: 800; color: var(--chili); border-top: 2px solid rgba(61,41,20,.18); margin-top: 4px; padding-top: 8px; }

.co-section { margin-bottom: 16px; }
.co-notas { min-height: 58px; resize: vertical; font-family: inherit; }
.co-h { font-size: 1rem; font-weight: 800; margin-bottom: 10px; color: var(--cacao); }

.co-radios { display: flex; flex-wrap: wrap; gap: 8px; }
.co-radio { display: inline-flex; align-items: center; gap: 7px; padding: 9px 13px; border: 1.5px solid rgba(61,41,20,.18); border-radius: 12px; cursor: pointer; font-size: .9rem; font-weight: 600; background: #fff; transition: border-color .2s ease, background .2s ease; }
.co-radio:has(input:checked) { border-color: var(--mango); background: #fffaf0; }
.co-radio input { accent-color: var(--mango); }

.co-muted { font-size: .84rem; color: #8a7159; margin: 8px 0; }
.co-note { font-size: .85rem; color: var(--deep-sea); background: rgba(0,180,216,.1); border-radius: 12px; padding: 10px 12px; margin-top: 10px; }
.co-pay-box { display: flex; flex-direction: column; gap: 4px; background: rgba(0,180,216,.08); border: 1px dashed rgba(0,180,216,.5); border-radius: 12px; padding: 12px 14px; margin: 8px 0; font-size: .86rem; }
.co-nequi { font-size: 1.15rem; color: var(--deep-sea); letter-spacing: .5px; }

/* Código de descuento */
.co-code__row { display: flex; gap: 8px; align-items: stretch; }
.co-code__input { flex: 1; margin: 0; text-transform: uppercase; }
.co-code__input::placeholder { text-transform: none; }
.co-code__btn { flex: 0 0 auto; border: none; border-radius: 12px; padding: 0 18px; font-weight: 800; font-size: .92rem; cursor: pointer; color: var(--cacao); background: var(--mango); transition: filter .2s ease, transform .15s ease; }
.co-code__btn:hover { filter: brightness(1.04); }
.co-code__btn:active { transform: scale(.97); }
.co-code__btn:disabled { opacity: .6; cursor: default; }
.co-code__msg { font-size: .84rem; margin: 8px 0 0; min-height: 1em; color: var(--chili); font-weight: 600; }
.co-code__msg.ok { color: var(--palm); }
.co-row.co-disc--code { color: var(--mango); font-weight: 700; }

/* Pedido confirmado */
.auth--ok { text-align: center; }
.co-ok__icon { font-size: 3rem; line-height: 1; margin-bottom: 6px; animation: okPop .5s var(--ease); }
.co-ok__num { font-size: 2rem; font-weight: 900; color: var(--chili); margin: 4px 0 8px; }
.co-ok__msg { font-size: .92rem; color: var(--cacao); margin-bottom: 16px; }
@keyframes okPop { 0% { transform: scale(0); } 70% { transform: scale(1.25); } 100% { transform: scale(1); } }

/* ===================== MIS PEDIDOS ===================== */
.profile__orders { width: 100%; border: none; background: rgba(61,41,20,.07); color: var(--cacao); font-weight: 700; padding: 12px; border-radius: 12px; cursor: pointer; transition: background .2s ease; }
.profile__orders:hover { background: var(--sand); }
#ordersOverlay { z-index: 220; }
#ordersModal   { z-index: 221; }

.orders-list { display: flex; flex-direction: column; gap: 12px; margin-top: 4px; }
.orders-empty { text-align: center; color: #8a7159; padding: 18px 0; }
.order-card { border: 1px solid rgba(61,41,20,.12); border-radius: 14px; padding: 12px 14px; background: #fff; }
.order-card__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; }
.order-num { font-size: 1.15rem; color: var(--cacao); }
.order-badge { font-size: .72rem; font-weight: 800; padding: 3px 10px; border-radius: 999px; }
.order-badge.st-nuevo  { background: #ffe3c2; color: #8a4b00; }
.order-badge.st-lista  { background: #d8ecff; color: #1c5a8a; }
.order-badge.st-prep   { background: #fff0b3; color: #7a5d00; }
.order-badge.st-emp    { background: #e6d8ff; color: #553a8a; }
.order-badge.st-camino { background: #cdeffd; color: #0a6c8a; }
.order-badge.st-ok     { background: #cdfbe0; color: #0a7a45; }
.order-badge.st-cancel { background: #ffd6d6; color: #a32020; }
.order-meta { font-size: .8rem; color: #8a7159; margin-bottom: 6px; }
.order-items { font-size: .88rem; color: var(--cacao); margin-bottom: 8px; }
.order-card__bot { display: flex; justify-content: space-between; align-items: center; }
.order-pago { font-size: .82rem; color: #8a7159; }
.order-total { font-size: 1.05rem; color: var(--chili); }
.order-repeat { width: 100%; margin-top: 10px; border: 1.5px solid var(--mango); background: #fffaf0; color: #8a4b00; font-weight: 700; padding: 8px; border-radius: 10px; cursor: pointer; transition: background .2s ease; }
.order-repeat:hover { background: var(--mango); color: #fff; }

/* ===================== CARTEL OPEN/CLOSED + BANNER ENVÍO ===================== */
.hero__status { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-bottom: 16px; }
.open-sign {
  font-weight: 900; font-size: .9rem; letter-spacing: 1.5px; padding: 7px 16px;
  border-radius: 999px; border: 2px solid currentColor; background: rgba(0,0,0,.25);
  transition: color .4s ease, box-shadow .4s ease;
}
.open-sign[data-open="1"] { color: #7CFFB2; box-shadow: 0 0 10px rgba(44,214,110,.6), inset 0 0 8px rgba(44,214,110,.35); text-shadow: 0 0 8px #2bd66e, 0 0 16px #2bd66e; }
.open-sign[data-open="0"] { color: #FF9b9b; box-shadow: 0 0 10px rgba(230,57,70,.6), inset 0 0 8px rgba(230,57,70,.35); text-shadow: 0 0 8px #e63946, 0 0 16px #e63946; }
.open-sign[data-open=""]  { color: #cfcfcf; opacity: .55; box-shadow: none; text-shadow: none; }
.ship-banner {
  background: linear-gradient(90deg, var(--mango), #ffcf5c); color: #5a3a00; font-weight: 800;
  font-size: .82rem; padding: 7px 14px; border-radius: 999px;
  box-shadow: 0 4px 16px rgba(244,163,0,.45); animation: shipPulse 2.4s ease-in-out infinite;
}
@keyframes shipPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.04); } }

/* Producto agotado */
.card.is-agotado { opacity: .62; filter: grayscale(.35); }
.card.is-agotado .card__emoji { filter: grayscale(1); }
.card__agotado { font-weight: 800; font-size: .82rem; color: var(--chili); border: 1.5px solid var(--chili); padding: 7px 14px; border-radius: 999px; }

/* Menú agrupado por categoría */
.menu__groups { display: block; }
.menu__cat {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 1.15rem; font-weight: 800; color: var(--cacao);
  background: rgba(255,250,242,.92); padding: 9px 20px; border-radius: 999px;
  margin: 32px 0 16px; box-shadow: 0 6px 18px rgba(0,0,0,.18);
}
.menu__groups > .menu__cat:first-child { margin-top: 4px; }

/* ===================== RANKING — TOP COSTEÑO ===================== */
.rank__tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-bottom: 28px; }
.rank__tabgroup { display: inline-flex; background: rgba(255,250,242,.9); border-radius: 999px; padding: 4px; box-shadow: 0 6px 16px rgba(0,0,0,.15); }
.rank__tab { border: none; background: none; padding: 9px 16px; border-radius: 999px; font-weight: 700; font-size: .88rem; color: var(--cacao); cursor: pointer; transition: background .2s ease, color .2s ease; }
.rank__tab.is-active { background: linear-gradient(135deg, var(--chili), #ff7a45); color: #fff; }

.rank__podium { display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-end; gap: 14px; margin-bottom: 22px; }
.rank-pod { width: 150px; background: linear-gradient(160deg, #fffaf2, var(--cream)); border-radius: 18px; padding: 16px 12px; text-align: center; box-shadow: var(--shadow-md); border: 2px solid transparent; }
.rank-pod__icon { font-size: 1.9rem; line-height: 1; }
.rank-pod__medal { font-weight: 800; color: var(--chili); font-size: .82rem; margin-top: 4px; }
.rank-pod__name { font-weight: 800; color: var(--cacao); margin-top: 6px; font-size: 1rem; word-break: break-word; }
.rank-pod__val { color: var(--palm); font-weight: 700; font-size: .9rem; margin-top: 2px; }
.rank-pod--1 { border-color: var(--mango); transform: translateY(-10px); box-shadow: 0 16px 36px rgba(244,163,0,.4); }
.rank-pod--1 .rank-pod__icon { font-size: 2.4rem; }

.rank__list { max-width: 520px; margin: 0 auto; display: flex; flex-direction: column; gap: 8px; }
.rank-row { display: flex; align-items: center; gap: 14px; background: rgba(255,250,242,.92); border-radius: 12px; padding: 10px 16px; box-shadow: 0 4px 12px rgba(0,0,0,.12); }
.rank-row__pos { font-weight: 800; color: var(--mango); min-width: 24px; }
.rank-row__name { flex: 1; font-weight: 600; color: var(--cacao); }
.rank-row__val { font-weight: 700; color: var(--palm); }
.rank-empty { text-align: center; color: #fff; opacity: .85; }

.rank__cta { text-align: center; margin-top: 26px; color: #fff; }
.rank__cta p { margin-bottom: 10px; font-weight: 600; }

/* ===================== NOTICIAS (CARRUSEL) ===================== */
.noticias { padding-top: 44px; padding-bottom: 0; }
.news { position: relative; max-width: 1000px; margin: 0 auto; border-radius: 22px; overflow: hidden; box-shadow: 0 22px 54px rgba(0,0,0,.38); background: rgba(10,28,38,.42); backdrop-filter: blur(14px) saturate(1.25); -webkit-backdrop-filter: blur(14px) saturate(1.25); border: 1px solid rgba(255,255,255,.18); }
.news__viewport { overflow: hidden; }
.news__track { display: flex; transition: transform .5s var(--ease); }
.news__slide { flex: 0 0 100%; display: flex; min-height: 200px; }
.news__img { flex: 0 0 42%; width: 42%; object-fit: cover; min-height: 200px; background: rgba(255,255,255,.06); }
.news__slide--text .news__body { width: 100%; }
.news__body { flex: 1; padding: 26px 30px; display: flex; flex-direction: column; justify-content: center; }
.news__title { font-size: 1.6rem; font-weight: 900; color: #ffe39a; margin-bottom: 10px; line-height: 1.12; text-shadow: 0 0 8px rgba(244,163,0,.95), 0 0 22px rgba(244,163,0,.6), 0 0 40px rgba(230,57,70,.35); }
.news__text { color: #f3ead9; line-height: 1.55; font-size: 1rem; }
.news__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 50%; border: none; background: rgba(0,0,0,.4); color: #fff; font-size: 1.5rem; line-height: 1; cursor: pointer; display: grid; place-items: center; transition: background .2s ease; }
.news__nav:hover { background: rgba(0,0,0,.65); }
.news__nav--prev { left: 10px; }
.news__nav--next { right: 10px; }
.news__dots { position: absolute; bottom: 12px; left: 0; right: 0; display: flex; justify-content: center; gap: 7px; }
.news__dot { width: 9px; height: 9px; border-radius: 50%; border: none; background: rgba(255,255,255,.4); cursor: pointer; padding: 0; }
.news__dot.is-on { background: var(--mango); box-shadow: 0 0 8px var(--mango); }
@media (max-width: 640px) {
  .news__slide { flex-direction: column; }
  .news__img { flex: none; width: 100%; height: 150px; min-height: 0; }
  .news__body { padding: 20px 22px; }
}

/* ===================== PROMOCIONES ===================== */
.promos__list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  max-width: 980px;
  margin: 0 auto;
}
.promo {
  position: relative;
  display: flex;
  align-items: center;
  gap: 18px;
  background: linear-gradient(160deg, #FFFBF0, #F3E8D2);
  border-radius: var(--radius);
  padding: 24px 24px;
  color: var(--cacao);
  box-shadow: var(--shadow-md);
  border: 1.5px solid rgba(255,182,39,.35);
  overflow: hidden;
  transition: transform .25s var(--ease), box-shadow .3s ease;
}
.promo::before {
  content: "";
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 6px;
  background: var(--grad-warm);
}
.promo:hover { transform: translateY(-4px); box-shadow: var(--shadow-glow); }
.promo__emoji {
  flex: 0 0 auto;
  font-size: 2.8rem;
  line-height: 1;
  filter: drop-shadow(0 4px 8px rgba(230,57,70,.3));
}
.promo__body { flex: 1; min-width: 0; }
.promo__title {
  font-family: var(--font-display);
  font-size: 1.7rem;
  line-height: 1.05;
  letter-spacing: .01em;
  color: var(--sunset);
  margin-bottom: 6px;
}
.promo__text { color: var(--cacao); line-height: 1.5; font-size: .96rem; word-break: break-word; }
.promo__btn {
  margin-top: 12px; border: none; cursor: pointer;
  background: var(--grad-warm); color: #fff; font-weight: 800; font-size: .95rem;
  padding: 11px 20px; border-radius: 12px; box-shadow: var(--shadow-sm);
  transition: filter .2s ease, transform .15s ease;
}
.promo__btn:hover { filter: brightness(1.06); transform: translateY(-1px); }
.promo__btn:active { transform: scale(.97); }
@media (max-width: 560px) {
  .promo { gap: 14px; padding: 20px 18px; }
  .promo__emoji { font-size: 2.3rem; }
  .promo__title { font-size: 1.5rem; }
}

/* Caja de código de descuento dentro de Promos */
.promo-code { max-width: 560px; margin: 0 auto 26px; background: linear-gradient(160deg, #fffaf2, var(--cream)); border: 1px solid rgba(255, 182, 39, .45); border-radius: 18px; padding: 18px 20px; box-shadow: var(--shadow-md); text-align: center; }
.promo-code__label { display: block; font-weight: 800; color: var(--cacao); margin-bottom: 12px; }
.promo-code__row { display: flex; gap: 8px; }
.promo-code__input { flex: 1 1 auto; min-width: 0; border: 1px solid rgba(61, 41, 20, .2); border-radius: 12px; padding: 12px 14px; font-size: 1rem; text-transform: uppercase; background: #fff; color: var(--cacao); }
.promo-code__input:focus { outline: none; border-color: var(--mango); box-shadow: 0 0 0 3px rgba(255, 182, 39, .25); }
.promo-code__btn { flex: 0 0 auto; border: none; border-radius: 12px; padding: 0 22px; font-weight: 800; cursor: pointer; color: var(--cacao); background: var(--grad-warm); transition: filter .2s ease, transform .15s ease; }
.promo-code__btn:hover { filter: brightness(1.05); }
.promo-code__btn:active { transform: scale(.97); }
.promo-code__btn:disabled { opacity: .6; cursor: default; }
.promo-code__msg { margin: 12px 0 0; font-size: .92rem; min-height: 1.1em; color: var(--chili); }
.promo-code__msg.ok { color: var(--palm); }
@media (max-width: 560px) { .promo-code__row { flex-direction: column; } .promo-code__btn { padding: 12px; } }

/* ===================== COMENTARIOS ===================== */
.cmt__form { max-width: 640px; margin: 0 auto 26px; background: rgba(255,250,242,.95); border-radius: 18px; padding: 20px 22px; box-shadow: var(--shadow-md); }
.cmt__starsPick { display: flex; gap: 4px; margin-bottom: 10px; }
.cmt__star { border: none; background: none; cursor: pointer; font-size: 1.7rem; line-height: 1; color: #d8c7b0; padding: 0; transition: color .15s ease, transform .15s ease; }
.cmt__star.on { color: var(--mango); }
.cmt__star:hover { transform: scale(1.15); }
.cmt__textarea { width: 100%; box-sizing: border-box; min-height: 70px; resize: vertical; border: 1.5px solid rgba(61,41,20,.18); border-radius: 12px; padding: 12px 14px; font-family: inherit; font-size: .95rem; color: var(--cacao); }
.cmt__textarea:focus { outline: none; border-color: var(--mango); }
.cmt__formBot { display: flex; align-items: center; gap: 14px; margin-top: 12px; flex-wrap: wrap; }
.cmt__msg { font-size: .85rem; color: var(--palm); font-weight: 600; }
.cmt__login { text-align: center; }
.cmt__login p { color: var(--cacao); margin-bottom: 12px; font-weight: 600; }

.cmt__list { max-width: 640px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.cmt__empty { text-align: center; color: #fff; opacity: .85; }
.cmt { display: flex; gap: 14px; background: rgba(255,250,242,.95); border-radius: 14px; padding: 14px 16px; box-shadow: 0 6px 16px rgba(0,0,0,.12); }
.cmt__avatar { width: 42px; height: 42px; min-width: 42px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--chili), var(--mango)); }
.cmt__bodyc { flex: 1; min-width: 0; }
.cmt__head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.cmt__head b { color: var(--cacao); }
.cmt__stars { color: var(--mango); font-size: .9rem; letter-spacing: 1px; }
.cmt__date { color: #957a5f; font-size: .78rem; }
.cmt__text { color: var(--cacao); margin-top: 4px; line-height: 1.5; word-break: break-word; }
.cmt__del { margin-top: 8px; border: none; background: none; color: var(--chili); font-size: .8rem; font-weight: 700; cursor: pointer; padding: 0; }
.cmt__del:hover { text-decoration: underline; }

/* =========================================================
   DESCUENTOS: precio tachado, día especial y regalos
   ========================================================= */
/* Precio tachado (antes) junto al precio real */
.price-old { color: #b08968; font-size: .72em; font-weight: 600; text-decoration: line-through; text-decoration-thickness: 2px; text-decoration-color: var(--chili, #D62828); margin-right: 2px; opacity: .85; }
.card__cover-price .price-old { color: rgba(255,255,255,.75); text-decoration-color: #ff8a5c; }

/* Banner de día especial en el hero (junto al de envío gratis) */
.ship-banner--dia { background: linear-gradient(120deg, #9B7BB5, #C75B8B); color: #fff; border-color: rgba(255,255,255,.35); }

/* Aviso de día especial sobre el menú */
.menu__dia { max-width: 720px; margin: 0 auto 18px; text-align: center; font-weight: 800; color: #fff; background: linear-gradient(120deg, #9B7BB5, #C75B8B); padding: 10px 18px; border-radius: 999px; box-shadow: var(--shadow-sm); }

/* Línea de regalo en el carrito */
.cart-item--gift { background: rgba(155, 197, 61, .12); border-radius: 14px; }
.cart-item--gift .cart-item__price { color: #2e7d32; font-weight: 800; font-size: .85rem; }

/* =========================================================
   TABLERO DE EMBAJADOR (referidos) en "Mi cuenta"
   ========================================================= */
.emb-card { margin-top: 16px; padding: 16px; border-radius: 16px; background: linear-gradient(135deg, rgba(155,123,181,.16), rgba(199,91,139,.14)); border: 1.5px solid rgba(199,91,139,.3); }
.emb-card__t { margin: 0 0 8px; color: var(--cacao); font-size: 1rem; }
.emb-stats { display: flex; gap: 10px; margin-bottom: 10px; }
.emb-stat { flex: 1; text-align: center; background: #fffaf2; border-radius: 12px; padding: 8px; }
.emb-stat b { display: block; font-size: 1.5rem; color: var(--mango); font-family: var(--font-display); }
.emb-stat span { font-size: .72rem; color: #8a7159; }
.emb-code { margin: 6px 0; color: var(--cacao); }
.emb-share { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-bottom: 10px; }
.emb-wa { padding: 8px 14px; font-size: .85rem; }
.emb-copy2 { border: 1.5px solid rgba(61,41,20,.2); background: #fffaf2; border-radius: 999px; padding: 7px 12px; cursor: pointer; font-size: .82rem; color: var(--cacao); }
.emb-premio { display: flex; justify-content: space-between; align-items: center; gap: 8px; background: #fffaf2; border-radius: 12px; padding: 8px 12px; margin-bottom: 6px; }
.emb-premio small { color: #8a7159; }
.emb-canjear { background: var(--mango); color: var(--cacao); border: none; border-radius: 999px; padding: 7px 14px; font-weight: 800; cursor: pointer; white-space: nowrap; }
.emb-canjear:disabled { background: #e7ddcf; color: #a8967f; cursor: not-allowed; }
.emb-codigo { background: rgba(155,197,61,.16); border-radius: 10px; padding: 7px 12px; margin: 5px 0; color: var(--cacao); }
.emb-loading { color: #8a7159; font-size: .85rem; margin: 6px 0; }

/* Invitación a activar código de Embajador (no-embajadores) */
.emb-invite { margin-top: 16px; padding: 14px; border-radius: 14px; background: rgba(155,123,181,.1); border: 1.5px dashed rgba(155,123,181,.45); }
.emb-invite__t { margin: 0; font-weight: 800; color: var(--cacao); }
.emb-invite__sub { margin: 2px 0 8px; font-size: .82rem; color: #8a7159; }
.emb-invite__row { display: flex; gap: 8px; }
.emb-invite__row .auth__input { flex: 1; }
.emb-invite__msg { margin: 6px 0 0; font-size: .82rem; color: var(--cacao); min-height: 1em; }

/* Respeta usuarios que prefieren menos movimiento */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .1ms !important; }
  html { scroll-behavior: auto; }
}

/* =========================================================
   GUÍA CON TITO (tour de bienvenida)
   ========================================================= */
.pedir__cta { text-align: center; margin: 4px 0 30px; }

.tour-overlay {
  position: fixed; inset: 0; z-index: 240;
  background: rgba(7,30,40,.62);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  opacity: 0; transition: opacity .3s ease;
}
.tour-overlay.show { opacity: 1; }

.tour {
  position: fixed; z-index: 241; left: 50%; top: 50%;
  transform: translate(-50%, -46%) scale(.96);
  width: min(440px, 92vw); max-height: 88dvh; overflow-y: auto;
  background: linear-gradient(160deg, #fffaf2, var(--cream));
  border-radius: var(--radius); padding: 30px 26px 20px;
  box-shadow: var(--shadow-md); text-align: center;
  opacity: 0; transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.tour.show { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.tour__close { position: absolute; top: 10px; right: 14px; background: none; border: none; font-size: 22px; line-height: 1; color: #8a7159; cursor: pointer; }
.tour__dots { display: flex; justify-content: center; gap: 7px; margin: 0 0 14px; flex-wrap: wrap; }
.tour__dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(61,41,20,.22); border: none; padding: 0; cursor: pointer; transition: background .2s, transform .2s; }
.tour__dot.is-on { background: var(--mango); transform: scale(1.3); box-shadow: 0 0 8px var(--mango); }
.tour__tito { width: 118px; height: auto; display: block; margin: 0 auto 12px; filter: drop-shadow(0 8px 14px rgba(0,0,0,.2)); animation: floaty 4s ease-in-out infinite; }
.tour__title { font-family: var(--font-display); color: var(--sunset); font-size: 1.5rem; line-height: 1.1; margin: 0 0 8px; }
.tour__text { color: var(--cacao); font-size: 1rem; line-height: 1.55; margin: 0 0 14px; }
.tour__extra { display: flex; flex-direction: column; gap: 8px; margin: 0 0 16px; }
.tour__extra:empty { display: none; }
.tour__action { background: var(--cream); border: 2px solid var(--mango); color: var(--cacao); font-weight: 700; padding: 11px 14px; border-radius: 12px; cursor: pointer; font-size: .95rem; font-family: var(--font-body); }
.tour__action:hover { background: #fff7e8; }
.tour__code { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; background: #fff4dd; border: 2px dashed var(--sunset); border-radius: 14px; padding: 14px; margin: 0 0 14px; }
.tour__code b { font-family: var(--font-display); font-size: 1.7rem; letter-spacing: 1px; color: var(--deep-sea); }
.tour__copy { background: var(--deep-sea); color: #fff; border: none; border-radius: 10px; padding: 9px 16px; font-weight: 700; cursor: pointer; font-family: var(--font-body); }
.tour__copy:hover { filter: brightness(1.12); }
.tour__nav { display: flex; gap: 10px; }
.tour__btn { flex: 1; padding: 13px; border: none; border-radius: 14px; font-weight: 800; font-size: 1rem; cursor: pointer; font-family: var(--font-body); transition: transform .2s var(--ease), filter .2s ease; }
.tour__btn--primary { background: var(--grad-warm); color: #fff; box-shadow: var(--shadow-glow); }
.tour__btn--primary:hover { transform: translateY(-2px); }
.tour__btn--ghost { background: rgba(61,41,20,.1); color: var(--cacao); }
.tour__btn:disabled { opacity: .4; cursor: not-allowed; box-shadow: none; transform: none; }
.tour__skip { display: block; margin: 12px auto 0; background: none; border: none; color: #8a7159; font-size: .85rem; text-decoration: underline; cursor: pointer; }
@media (max-width: 860px) {
  .tour { padding: 26px 18px 16px; }
  .tour__tito { width: 96px; }
  .tour__title { font-size: 1.3rem; }
}
