/* =========================================================
   Tortas Kiara — sistema visual
   Inspirado en el estilo "Wise" (refero.design):
   tinta oscura dominante + un solo acento vibrante,
   titulares gigantes peso 900, píldoras, diseño plano.
   Adaptado: verde bosque -> cacao · lima -> rosa frosting.
   ========================================================= */

:root {
  /* Marca */
  --cacao: #2a1306;        /* Tinta dominante: texto, nav, secciones oscuras */
  --frosting: #ffa8c5;     /* Acento: CTAs, pestaña activa, resaltes */
  --mocha: #43200f;        /* Tarjetas sobre fondo oscuro */
  --blush: #fde8ef;        /* Superficies suaves con tinte de marca */
  --cherry: #c2264b;       /* Acento de apoyo (descuentos, alertas) */

  /* Neutros cálidos */
  --obsidian: #1a0b04;
  --charcoal: #4a403b;
  --slate: #6d625c;
  --pebble: #8f857f;
  --fog: #f5eee7;
  --line: #e6dcd2;
  --paper: #fffcf9;

  --radius: 10px;
  --radius-lg: 28px;
  --pill: 9999px;

  --max: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --section: clamp(64px, 10vw, 120px);

  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.5;
  color: var(--charcoal);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
a, button, label { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 3px solid var(--frosting); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Tipografía ---------- */
.display {
  font-weight: 900;
  text-transform: uppercase;
  color: var(--cacao);
  letter-spacing: -0.045em;
  line-height: 0.86;
}
.display--md { font-size: clamp(44px, 7vw, 92px); }
/* inline-block: el resaltado ocupa solo su línea y no tapa la línea de arriba */
.hl { display: inline-block; background: var(--frosting); padding: .06em .08em .02em; border-radius: .12em; }
.hl-dark { color: var(--frosting); }

.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--slate); max-width: 34ch; }
.lead--dark { color: #d9c7bc; }
.lead strong { color: var(--cacao); }
.lead--dark strong { color: #fff; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 600; color: var(--cacao);
  background: var(--fog); padding: 8px 16px; border-radius: var(--pill);
  margin-bottom: 28px;
}

/* ---------- Botones y enlaces ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 0; cursor: pointer; text-decoration: none;
  font-weight: 700; font-size: 16px; line-height: 1;
  padding: 14px 22px; border-radius: var(--pill);
  transition: transform .2s var(--ease), background-color .2s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(.97); }
.btn--lg { padding: 18px 28px; font-size: 17px; }
.btn--block { width: 100%; }
.btn--primary { background: var(--frosting); color: var(--cacao); }
.btn--dark { background: var(--cacao); color: #fff; }
@media (hover: hover) {
  .btn--primary:hover { background: #ff93b7; }
  .btn--dark:hover { background: var(--mocha); }
}

.link {
  font-weight: 700; font-size: 16px; color: var(--cacao);
  text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 2px;
}
.link--dark { color: #fff; }
@media (hover: hover) { .link:hover { text-decoration-color: var(--frosting); } }

.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 32px; }
.cta-row--center { justify-content: center; }

.tag {
  display: inline-block; font-size: 13px; font-weight: 700;
  letter-spacing: .02em; padding: 7px 14px; border-radius: var(--pill);
}
.tag--accent { background: var(--frosting); color: var(--cacao); }
.tag--soft { background: rgba(255,168,197,.16); color: var(--frosting); }
.tag--blush { background: var(--blush); color: var(--cacao); }

.dot { width: 9px; height: 9px; border-radius: 50%; background: #3fb950; display: inline-block; flex: none; }
.dot.is-closed { background: var(--cherry); }
.dot--live { box-shadow: 0 0 0 0 rgba(63,185,80,.5); animation: pulse 2s infinite; }
.dot--live.is-closed { animation: none; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(63,185,80,0); } 100% { box-shadow: 0 0 0 0 rgba(63,185,80,0); } }

/* ---------- Anuncio y nav ---------- */
.announce { background: var(--cacao); color: #f3e3d9; text-align: center; font-size: 14px; padding: 10px var(--gutter); }
.announce a { color: var(--frosting); font-weight: 700; }

.nav { position: sticky; top: 0; z-index: 40; background: rgba(255,252,249,.9); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.nav.is-scrolled { border-bottom-color: var(--line); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 72px; }

.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--cacao); }
.logo__mark {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: var(--cacao); color: var(--frosting); font-weight: 900; font-size: 22px; letter-spacing: -0.04em;
}
.logo__text { font-weight: 900; font-size: 24px; letter-spacing: -0.04em; line-height: .9; display: flex; flex-direction: column; }
.logo__text small { font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--slate); margin-top: 3px; }
.logo--light { color: #fff; }
.logo--light .logo__mark { background: var(--frosting); color: var(--cacao); }
/* Logo subido desde el panel */
.logo__img { width: auto; height: 44px; max-width: 160px; object-fit: contain; }
.logo--light .logo__img { background: #fff; border-radius: 10px; padding: 4px; }
.logo--light small { color: #c9b4a7; }

.nav__links { display: flex; gap: 4px; background: var(--fog); padding: 4px; border-radius: var(--pill); }
.nav__links a { text-decoration: none; font-weight: 600; font-size: 15px; padding: 9px 16px; border-radius: var(--pill); color: var(--cacao); transition: background-color .2s; }
@media (hover: hover) { .nav__links a:hover { background: #fff; } }
.nav__actions { display: flex; align-items: center; gap: 10px; }

.cart-btn {
  position: relative; width: 48px; height: 48px; border-radius: 50%;
  border: 1.5px solid var(--line); background: #fff; cursor: pointer; display: grid; place-items: center;
}
.cart-btn svg, .icon-btn svg, .info-list svg, .chip-ico svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.cart-btn { color: var(--cacao); }
.cart-btn__count {
  position: absolute; top: -4px; right: -4px; min-width: 22px; height: 22px; padding: 0 6px;
  border-radius: var(--pill); background: var(--cacao); color: #fff; font-size: 12px; font-weight: 700;
  display: grid; place-items: center; transform: scale(0); transition: transform .25s var(--ease);
}
.cart-btn__count.has-items { transform: scale(1); }
.cart-btn.bump { animation: bump .4s var(--ease); }
@keyframes bump { 40% { transform: scale(1.12); } }

/* ---------- Hero ---------- */
.hero { padding: clamp(40px, 7vw, 88px) 0 clamp(40px, 6vw, 72px); }
.hero__title { font-size: clamp(40px, 7.5vw, 100px); margin-bottom: clamp(32px, 5vw, 56px); }
.hero__grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 5vw, 72px); align-items: end; }
.hero__copy .lead { max-width: 30ch; }

.proof { display: flex; align-items: center; gap: 14px; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); font-size: 15px; }
.proof strong { color: var(--cacao); }
.proof span { color: var(--slate); }
.avatars { display: flex; }
.avatars span {
  width: 40px; height: 40px; border-radius: 50%; background: var(--c); border: 3px solid var(--paper);
  margin-left: -10px; display: grid; place-items: center; font-weight: 800; font-size: 14px; color: var(--cacao);
}
.avatars span:first-child { margin-left: 0; }

.hero__media { position: relative; }
.hero__img { margin: 0; aspect-ratio: 1 / 0.9; border-radius: var(--radius-lg); overflow: hidden; background: var(--fog); }
.hero__img img { width: 100%; height: 100%; object-fit: cover; }
.hero__pill {
  position: absolute; left: -40px; bottom: -32px; width: 34%; aspect-ratio: 5 / 7; margin: 0;
  border-radius: var(--pill); overflow: hidden; border: 6px solid var(--paper); background: var(--blush);
}
.hero__pill img { width: 100%; height: 100%; object-fit: cover; }
.hero__chip {
  position: absolute; top: 20px; right: 20px; display: flex; align-items: center; gap: 12px;
  background: #fff; border-radius: var(--pill); padding: 8px 18px 8px 8px; font-size: 13px; line-height: 1.3; color: var(--slate);
}
.hero__chip strong { color: var(--cacao); font-size: 14px; }
.chip-ico { width: 40px; height: 40px; border-radius: 50%; background: var(--frosting); color: var(--cacao); display: grid; place-items: center; }

/* ---------- Categorías (marquee) ---------- */
.cats { padding: 40px 0 clamp(48px, 7vw, 80px); overflow: hidden; }
.marquee { mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee__track { display: flex; gap: 12px; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.cat {
  display: inline-flex; align-items: center; gap: 12px; padding: 8px 24px 8px 8px; border-radius: var(--pill);
  background: var(--fog); text-decoration: none; font-weight: 700; font-size: 18px; color: var(--cacao); white-space: nowrap;
  transition: background-color .2s;
}
.cat img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; background: var(--blush); }
@media (hover: hover) { .cat:hover { background: var(--blush); } }

/* ---------- Secciones ---------- */
.section { padding: var(--section) 0; }
.section--fog { background: var(--fog); }
.section__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 48px; }
.dark { background: var(--cacao); color: #e9dbd2; }
.dark .display { color: #fff; }

/* ---------- Promo ---------- */
.promo { padding: var(--section) 0; }
.promo__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.promo__copy .display { margin: 20px 0 24px; }
.promo__price { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.price-now { font-size: clamp(44px, 5vw, 60px); font-weight: 900; color: #fff; letter-spacing: -0.04em; line-height: 1; }
.price-old { font-size: 22px; color: #a8908a; text-decoration: line-through; }
.stock { margin-top: 24px; max-width: 360px; font-size: 15px; }
.stock__bar { height: 8px; background: var(--mocha); border-radius: var(--pill); overflow: hidden; margin-bottom: 10px; }
.stock__bar span { display: block; height: 100%; background: var(--frosting); border-radius: inherit; }
.stock strong { color: #fff; }
.promo__img { margin: 0; aspect-ratio: 10 / 11; border-radius: var(--radius-lg); overflow: hidden; background: var(--mocha); }
.promo__img img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Menú ---------- */
.tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin-bottom: 32px; padding: 4px; background: var(--fog); border-radius: var(--pill); width: max-content; max-width: 100%; }
.tabs::-webkit-scrollbar { display: none; }
.tab {
  border: 0; background: transparent; cursor: pointer; white-space: nowrap;
  font-weight: 600; font-size: 15px; padding: 10px 18px; border-radius: var(--pill); color: var(--cacao);
  transition: background-color .2s;
}
.tab.is-active { background: var(--cacao); color: #fff; }
@media (hover: hover) { .tab:not(.is-active):hover { background: #fff; } }

.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.product { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: border-color .2s; }
@media (hover: hover) { .product:hover { border-color: #d6c5b6; } .product:hover .product__img img { transform: scale(1.04); } }
.product[hidden] { display: none; }
.product__img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--fog); }
.product__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.product__badge { position: absolute; top: 14px; left: 14px; background: #fff; color: var(--cacao); font-size: 12px; font-weight: 700; padding: 6px 12px; border-radius: var(--pill); }
.product__badge--hot { background: var(--frosting); }
.product__body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.product__name { font-size: 20px; font-weight: 800; color: var(--cacao); letter-spacing: -0.02em; line-height: 1.2; }
.product__desc { font-size: 15px; color: var(--slate); line-height: 1.45; }
.product__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 16px; }
.product__price { font-size: 22px; font-weight: 900; color: var(--cacao); letter-spacing: -0.03em; }
.product__price small { font-size: 13px; font-weight: 500; color: var(--pebble); letter-spacing: 0; }
.add-btn { padding: 11px 18px; font-size: 15px; }
.add-btn.is-added { background: var(--cacao); color: #fff; }
/* Producto agotado (se marca desde el panel) */
.product__badge--out { background: var(--cacao); color: #fff; }
.product.is-sold-out .product__img img { filter: grayscale(.6); opacity: .75; }
.btn:disabled { background: var(--fog); color: var(--pebble); cursor: not-allowed; box-shadow: none; }

/* ---------- Números ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.stat { border-top: 2px solid var(--cacao); padding-top: 24px; }
.stat__n { display: block; font-size: clamp(64px, 9vw, 128px); margin-bottom: 14px; }
.stat p { color: var(--slate); max-width: 24ch; }

/* ---------- A medida ---------- */
.custom { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.custom__intro .display { margin: 20px 0 24px; }
.steps { list-style: none; padding: 0; margin: 40px 0 0; display: grid; gap: 20px; }
.steps li { display: flex; gap: 16px; align-items: flex-start; }
.steps li > span { flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--cacao); color: var(--frosting); display: grid; place-items: center; font-weight: 900; font-size: 18px; }
.steps strong { color: var(--cacao); font-size: 18px; }
.steps p { color: var(--slate); font-size: 16px; }

.quote { background: var(--fog); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 40px); display: grid; gap: 20px; }
.quote h3 { font-size: 24px; font-weight: 900; color: var(--cacao); letter-spacing: -0.03em; }
.field { display: grid; gap: 8px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field label, .field legend, .field__label { font-size: 15px; font-weight: 600; color: var(--cacao); padding: 0; }
.field legend { margin-bottom: 8px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field input[type="text"], .field textarea {
  width: 100%; background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius);
  padding: 13px 14px; font-size: 16px; color: var(--cacao); transition: border-color .2s; min-height: 50px;
}
.field textarea { resize: none; overflow-y: hidden; min-height: 70px; max-height: 260px; line-height: 1.5; } /* crece solo (main.js) */
.field input:focus, .field textarea:focus { outline: none; border-color: var(--cacao); }
.field input.is-invalid, .field textarea.is-invalid, .is-invalid > .picker { border-color: var(--cherry) !important; }

/* ---------- Componentes: selector (picker), lista y calendario ---------- */
.dd, .dp { position: relative; }
.picker {
  width: 100%; min-height: 50px; display: flex; align-items: center; gap: 10px;
  padding: 0 14px; background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius);
  font-size: 16px; font-weight: 500; color: var(--cacao); text-align: left; cursor: pointer;
  transition: border-color .2s;
  -webkit-tap-highlight-color: transparent;
}
@media (hover: hover) { .picker:hover { border-color: #d3c1b2; } }
.is-open > .picker { border-color: var(--cacao); }
.picker__value { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.picker__value.is-placeholder { color: var(--pebble); }
.picker__ico, .picker__chev, .dp__nav svg, .dd__check, .segmented svg {
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none;
}
.picker__ico { width: 20px; height: 20px; }
.picker__chev { width: 18px; height: 18px; color: var(--slate); transition: transform .2s var(--ease); }
.is-open .picker__chev { transform: rotate(180deg); }

.pop {
  position: absolute; top: calc(100% + 8px); left: 0; z-index: 30;
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  box-shadow: 0 18px 40px -16px rgba(42, 19, 6, .28);
  transform-origin: top center; animation: pop-in .18s var(--ease);
}
.pop[hidden] { display: none; }
@keyframes pop-in { from { opacity: 0; transform: translateY(-6px) scale(.98); } }

.dd__swatch { width: 18px; height: 18px; border-radius: 50%; background: var(--s, var(--fog)); box-shadow: inset 0 0 0 1px rgba(42, 19, 6, .16); flex: none; }
.dd__list { list-style: none; margin: 0; padding: 6px; width: max(100%, 300px); max-width: calc(100vw - 32px); max-height: 320px; overflow-y: auto; outline: none; }
.dd__list li { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 12px; cursor: pointer; font-size: 15px; color: var(--cacao); }
.dd__list li.is-active { background: var(--fog); }
.dd__list li[aria-selected="true"] { font-weight: 700; }
.dd__name { flex: 1; white-space: nowrap; }
.dd__meta { font-size: 13px; color: var(--slate); font-weight: 500; }
.dd__check { width: 18px; height: 18px; opacity: 0; }
.dd__list li[aria-selected="true"] .dd__check { opacity: 1; }

.dp__pop { left: auto; right: 0; width: 304px; padding: 14px; }
.dp__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.dp__title { display: block; font-size: 16px; font-weight: 800; color: var(--cacao); letter-spacing: -0.01em; }
.dp__title::first-letter { text-transform: uppercase; }
.dp__nav { width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--fog); color: var(--cacao); display: grid; place-items: center; cursor: pointer; }
.dp__nav svg { width: 18px; height: 18px; }
.dp__nav:disabled { opacity: .3; cursor: default; }
@media (hover: hover) { .dp__nav:not(:disabled):hover { background: var(--blush); } }
.dp__week, .dp__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.dp__week { font-size: 12px; font-weight: 700; color: var(--pebble); text-align: center; padding-bottom: 6px; }
.dp__day {
  aspect-ratio: 1; border: 0; border-radius: 50%; background: transparent; cursor: pointer;
  font-size: 14px; font-weight: 600; color: #cbbdb2; font-variant-numeric: tabular-nums;
  transition: background-color .15s, color .15s;
}
.dp__day:disabled { cursor: default; }
.dp__day.is-today { box-shadow: inset 0 0 0 1.5px var(--line); }
.dp__day.is-available { color: var(--cacao); background: var(--blush); }
@media (hover: hover) { .dp__day.is-available:hover { background: var(--frosting); } }
.dp__day.is-selected { background: var(--cacao) !important; color: #fff; }
.dp__hint { display: flex; align-items: center; gap: 8px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--slate); line-height: 1.35; }
.dp__hint strong { color: var(--cacao); }
.dp__dot { width: 12px; height: 12px; border-radius: 50%; background: var(--blush); flex: none; }

/* Control segmentado (entrega en el carrito) */
.segmented { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; background: var(--fog); border-radius: var(--pill); }
.segmented label { cursor: pointer; }
.segmented input { position: absolute; opacity: 0; pointer-events: none; }
.segmented span {
  display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 8px 10px;
  border-radius: var(--pill); font-size: 14px; font-weight: 600; color: var(--cacao); text-align: center; line-height: 1.2;
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
.segmented svg { width: 18px; height: 18px; }
.segmented input:checked + span { background: var(--cacao); color: #fff; }
.segmented input:focus-visible + span { outline: 3px solid var(--frosting); outline-offset: 2px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { cursor: pointer; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { display: inline-block; padding: 10px 16px; border-radius: var(--pill); background: #fff; border: 1.5px solid var(--line); font-size: 15px; font-weight: 600; color: var(--cacao); transition: background-color .15s, border-color .15s; }
.chips input:checked + span { background: var(--cacao); border-color: var(--cacao); color: #fff; }
.chips input:focus-visible + span { outline: 3px solid var(--frosting); outline-offset: 2px; }

input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: var(--pill); background: linear-gradient(to right, var(--cacao) var(--p, 7%), #fff var(--p, 7%)); border: 1.5px solid var(--line); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: var(--frosting); border: 4px solid var(--cacao); cursor: pointer; }
input[type="range"]::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: var(--frosting); border: 4px solid var(--cacao); cursor: pointer; }

.quote__total { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 8px; border-top: 1px solid var(--line); padding-top: 20px; font-size: 15px; color: var(--slate); }
.quote__price { font-size: 18px; color: var(--cacao); }
.quote__price strong { font-size: 36px; font-weight: 900; letter-spacing: -0.04em; }
.form-error { color: var(--cherry); font-size: 14px; font-weight: 600; min-height: 0; }
.form-error:empty { display: none; }
.fine { font-size: 13px; color: var(--pebble); text-align: center; }

/* ---------- Opiniones ---------- */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review { margin: 0; background: var(--mocha); border-radius: var(--radius-lg); padding: 28px; display: flex; flex-direction: column; gap: 18px; font-size: 17px; color: #f1e4dc; }
.stars { color: var(--frosting); letter-spacing: 3px; font-size: 18px; }
.review footer { margin-top: auto; display: flex; align-items: center; gap: 12px; font-size: 14px; color: #bfa79b; line-height: 1.35; }
.review footer strong { color: #fff; font-size: 15px; }
.av { width: 44px; height: 44px; border-radius: 50%; background: var(--c); color: var(--cacao); display: grid; place-items: center; font-weight: 800; font-size: 14px; flex: none; }

/* ---------- Visítanos ---------- */
.visit { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: stretch; }
.open-now { display: inline-flex; align-items: center; gap: 10px; margin: 24px 0 8px; padding: 8px 16px; border-radius: var(--pill); background: var(--fog); color: var(--cacao); font-size: 15px; }
.info-list { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 22px; }
.info-list li { display: flex; gap: 16px; }
.info-list svg { flex: none; width: 24px; height: 24px; color: var(--cacao); margin-top: 2px; }
.info-list strong { color: var(--cacao); font-size: 16px; }
.info-list p, .info-list a { color: var(--slate); font-size: 16px; }
.hours { border-collapse: collapse; font-size: 15px; color: var(--slate); margin-top: 4px; }
.hours td { padding: 2px 0; }
.hours td:first-child { padding-right: 24px; }
.hours tr.is-today td { color: var(--cacao); font-weight: 700; }
.visit__map { border-radius: var(--radius-lg); overflow: hidden; background: var(--fog); min-height: 380px; }
.visit__map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; filter: saturate(.85); }

/* ---------- CTA final ---------- */
.final { padding: clamp(80px, 12vw, 160px) 0; text-align: center; }
.final__inner { display: flex; flex-direction: column; align-items: center; }
.final__title { font-size: clamp(64px, 14vw, 200px); margin-bottom: 28px; }
.final .lead { max-width: 40ch; }

/* ---------- Footer ---------- */
.footer { background: var(--obsidian); color: #bfa79b; padding: 48px 0; }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.footer__links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer__links a { text-decoration: none; font-size: 15px; font-weight: 600; color: #f1e4dc; }
@media (hover: hover) { .footer__links a:hover { color: var(--frosting); } }
.footer__copy { font-size: 14px; width: 100%; padding-top: 24px; border-top: 1px solid #3a2116; }

/* ---------- WhatsApp flotante ---------- */
.wa-float {
  position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 45;
  width: 60px; height: 60px; border-radius: 50%; background: #25d366; color: #fff;
  display: none; place-items: center; box-shadow: 0 6px 20px rgba(0,0,0,.18);
}
.wa-float svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.wa-float .fill { fill: currentColor; stroke: none; }

/* ---------- Carrito ---------- */
.drawer-backdrop { position: fixed; inset: 0; background: rgba(26,11,4,.45); z-index: 60; opacity: 0; transition: opacity .3s var(--ease); }
.drawer-backdrop.is-open { opacity: 1; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 61; width: min(440px, 100%);
  background: var(--paper); display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .4s var(--ease); visibility: hidden;
}
.drawer.is-open { transform: none; visibility: visible; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.drawer__head h3 { font-size: 24px; font-weight: 900; color: var(--cacao); letter-spacing: -0.03em; }
.icon-btn { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--fog); cursor: pointer; display: grid; place-items: center; color: var(--cacao); }
.drawer__body { flex: 1; overflow-y: auto; padding: 8px 24px; overscroll-behavior: contain; }
.drawer__foot { padding: 20px 24px calc(20px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); display: grid; gap: 16px; background: #fff; }
.drawer__total { display: flex; justify-content: space-between; align-items: baseline; color: var(--slate); }
.drawer__total strong { font-size: 32px; font-weight: 900; color: var(--cacao); letter-spacing: -0.04em; }

.line { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.line img { width: 64px; height: 64px; border-radius: var(--radius); object-fit: cover; background: var(--fog); }
.line__name { font-weight: 700; color: var(--cacao); font-size: 16px; line-height: 1.25; }
.line__price { font-size: 14px; color: var(--slate); }
.qty { display: inline-flex; align-items: center; gap: 2px; background: var(--fog); border-radius: var(--pill); padding: 3px; }
.qty button { width: 32px; height: 32px; border-radius: 50%; border: 0; background: #fff; cursor: pointer; font-size: 18px; font-weight: 700; color: var(--cacao); line-height: 1; }
.qty span { min-width: 26px; text-align: center; font-weight: 700; font-size: 15px; color: var(--cacao); }
.empty { text-align: center; padding: 56px 8px; color: var(--slate); }
.empty strong { display: block; font-size: 22px; color: var(--cacao); font-weight: 900; letter-spacing: -0.03em; margin-bottom: 6px; }
.empty .btn { margin-top: 20px; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 70; transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  background: var(--cacao); color: #fff; font-size: 15px; font-weight: 600; padding: 14px 22px; border-radius: var(--pill);
  transition: opacity .25s var(--ease), transform .25s var(--ease); white-space: nowrap; max-width: calc(100% - 32px);
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Animación de entrada ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .nav__links { display: none; }
}
@media (max-width: 860px) {
  .hero__grid, .promo__grid, .custom, .visit { grid-template-columns: 1fr; }
  .hero__media { margin-bottom: 24px; }
  .hero__title { margin-bottom: 24px; }
  .proof { margin-top: 28px; padding-top: 20px; }
  .hero__pill { left: auto; right: 16px; bottom: -28px; width: 28%; }
  .reviews { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; gap: 24px; }
  .promo__img { aspect-ratio: 4 / 3; order: -1; }
  .section__head { margin-bottom: 32px; }
}
@media (max-width: 560px) {
  body { font-size: 17px; }
  .nav__cta { display: none; }
  .wa-float { display: grid; }
  .hero__chip { top: 12px; right: 12px; font-size: 12px; }
  .field-row { grid-template-columns: 1fr; }
  .dp__pop { left: 0; right: 0; width: auto; }
  .toast { bottom: 90px; }
  .announce .hide-sm { display: none; }
  .products { grid-template-columns: 1fr 1fr; gap: 12px; }
  .product { border-radius: 18px; }
  .product__badge { top: 8px; left: 8px; font-size: 11px; padding: 4px 9px; }
  .product__body { padding: 12px 12px 14px; gap: 4px; }
  .product__name { font-size: 15px; }
  .product__desc { display: none; }
  .product__foot { flex-direction: column; align-items: stretch; gap: 8px; padding-top: 8px; }
  .product__price { font-size: 18px; }
  .add-btn { min-height: 44px; padding: 10px 12px; font-size: 14px; }
  .product__badge { white-space: nowrap; max-width: calc(100% - 16px); overflow: hidden; text-overflow: ellipsis; }

  /* Pastillas de estado: texto más compacto */
  .eyebrow, .open-now { font-size: 13px; padding: 8px 14px; border-radius: 18px; margin-bottom: 22px; }
  .open-now { margin: 20px 0 4px; }

  /* Números en fila: número a la izquierda, texto a la derecha */
  .stats { gap: 0; }
  .stat { display: grid; grid-template-columns: 142px 1fr; align-items: center; gap: 14px; padding: 18px 0; border-top-width: 1.5px; }
  .stat__n { font-size: 52px; margin: 0; }
  .tag { border-radius: 14px; line-height: 1.4; }
  .stat p { font-size: 15px; line-height: 1.4; }

  /* Que el botón flotante de WhatsApp no tape el pie de página */
  .footer { padding-bottom: calc(100px + env(safe-area-inset-bottom)); }
  .final { padding: 72px 0 80px; }
  .cta-row .btn--lg { width: 100%; }
  .cta-row { justify-content: center; }
}

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