:root {
  /* Tema claro: lienzo blanco / crema, texto oscuro */
  --bg: #ffffff;
  --bg-soft: #faf8f4;
  --text: #2a2419;
  --muted: #5c5548;
  /* Amarillo mostaza y queso del logo (acentos; tonos más profundos para texto sobre blanco) */
  --yellow: #c99800;
  --yellow-mid: #ebb000;
  --yellow-strong: #ffcb05;
  --rule: rgba(42, 36, 25, 0.08);
  --rule-strong: rgba(235, 176, 0, 0.45);
  /* Cabecera: madera negra (ébano) */
  --header-wood: #1a1816;
  --header-wood-deep: #0c0b0a;
  --header-bar-h: 60px;
  --logo-h: 46px;
  --section-pad-y: 11px;
  --tap-min: 44px;
  --cart-dock-safe-bottom: calc(max(12px, env(safe-area-inset-bottom, 0px)) + 58px);
  --cart-dock-progress-strips-height: 52px;
}

* {
  box-sizing: border-box;
}

html {
  font-size: 15px;
  background-color: #000000;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: linear-gradient(180deg, #fffef9 0%, var(--bg) 35%, #faf8f4 100%);
  color: var(--text);
  padding-bottom: 0;
}

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

button,
input {
  font: inherit;
}

.site-header {
  flex-shrink: 0;
  background-color: var(--header-wood-deep);
  background-image:
    linear-gradient(
      180deg,
      rgba(42, 38, 34, 0.35) 0%,
      rgba(0, 0, 0, 0.5) 100%
    ),
    url("header-wood.svg?v=20260503-blackwood");
  background-size: cover, cover;
  background-position: center, center;
  background-repeat: no-repeat, no-repeat;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: 6px;
  box-shadow:
    0 6px 20px rgba(0, 0, 0, 0.35),
    0 2px 8px rgba(0, 0, 0, 0.22);
}

.site-header__inner {
  width: min(100%, 560px);
  margin: 0 auto;
  padding: 12px max(16px, env(safe-area-inset-left, 0px)) 14px max(16px, env(safe-area-inset-right, 0px));
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  min-height: var(--header-bar-h);
  height: auto;
  box-sizing: border-box;
}

.site-header__text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  padding: 2px 0 2px 6px;
  text-align: right;
}

.site-header__tagline {
  margin: 0;
  font-family: "Cormorant Garamond", "Times New Roman", Times, serif;
  font-style: italic;
  font-weight: 600;
  font-size: clamp(0.92rem, 3.6vw, 1.18rem);
  line-height: 1.22;
  letter-spacing: 0.04em;
  color: rgba(255, 250, 242, 0.95);
  max-width: 100%;
}

@media (max-width: 560px) {
  :root {
    --logo-h: 43px;
  }

  .site-header__inner {
    gap: 10px;
  }

  .site-header__text {
    padding-left: 4px;
  }

  .site-header__tagline {
    font-size: clamp(0.8rem, 2.82vw + 0.08rem, 1.06rem);
    letter-spacing: 0.026em;
  }
}

@media (max-width: 380px) {
  :root {
    --logo-h: 40px;
  }

  .site-header__inner {
    gap: 8px;
    padding-left: max(12px, env(safe-area-inset-left, 0px));
    padding-right: max(12px, env(safe-area-inset-right, 0px));
  }

  .site-header__text {
    padding-left: 2px;
  }

  .site-header__tagline {
    font-size: clamp(0.72rem, 2.42vw + 0.09rem, 0.94rem);
    letter-spacing: 0.015em;
  }
}

.site-header__sub {
  margin: 0;
  font-family: "Montserrat", system-ui, sans-serif;
  font-style: normal;
  font-weight: 600;
  font-size: clamp(0.62rem, 2.55vw, 0.74rem);
  line-height: 1.38;
  letter-spacing: 0.025em;
  color: rgba(255, 248, 235, 0.85);
}

.store-hero-wrap {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 max(14px, env(safe-area-inset-left, 0px)) 0 max(14px, env(safe-area-inset-right, 0px));
  margin-top: -6px;
  position: relative;
  z-index: 1;
}

#nav-combos,
#nav-mas-pedidos,
#nav-arepas,
#nav-cachapas,
#nav-platos,
#nav-sopas,
#nav-antojitos,
#nav-empanadas,
#nav-postres,
#nav-licuados,
#nav-bebidas {
  scroll-margin-top: calc(env(safe-area-inset-top, 0px) + 152px);
}

.section-jump-nav {
  position: sticky;
  top: 0;
  z-index: 5;
  width: min(100%, 560px);
  margin: 0 auto;
  padding: 6px 0 10px;
  padding-top: max(6px, env(safe-area-inset-top, 0px));
  background: none;
  border: none;
  box-shadow: none;
}

.section-jump-nav__track {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 8px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 4px max(14px, env(safe-area-inset-left, 0px)) 6px max(14px, env(safe-area-inset-right, 0px));
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  scroll-snap-type: x proximity;
}

.section-jump-nav__track::-webkit-scrollbar {
  display: none;
}

.section-jump-nav__link {
  flex: 0 0 auto;
  scroll-snap-align: start;
  min-height: var(--tap-min);
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
  border-radius: 999px;
  background: #fffef8;
  border: 1px solid rgba(42, 36, 25, 0.12);
  box-shadow:
    0 2px 8px rgba(42, 36, 25, 0.1),
    0 1px 2px rgba(42, 36, 25, 0.06);
}

.section-jump-nav__link:hover {
  border-color: rgba(201, 152, 0, 0.45);
  color: #1a150e;
}

.section-jump-nav__link:focus-visible {
  outline: 2px solid var(--yellow-mid);
  outline-offset: 2px;
}

.section-jump-nav__link.is-active {
  color: #1a150e;
  border-color: rgba(201, 152, 0, 0.55);
  box-shadow:
    0 2px 10px rgba(201, 152, 0, 0.22),
    0 1px 2px rgba(42, 36, 25, 0.08);
}

.section-current {
  position: sticky;
  top: calc(env(safe-area-inset-top, 0px) + 58px);
  z-index: 4;
  width: min(100%, 560px);
  margin: 0 auto 10px;
  padding: 6px max(14px, env(safe-area-inset-left, 0px)) 8px max(14px, env(safe-area-inset-right, 0px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: nowrap;
  background: rgba(255, 254, 248, 0.92);
  border-top: 1px solid rgba(42, 36, 25, 0.08);
  border-bottom: 1px solid rgba(42, 36, 25, 0.08);
  backdrop-filter: blur(6px);
}

.section-current__context {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.section-current__label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: rgba(42, 36, 25, 0.64);
  flex-shrink: 0;
}

.section-current__name {
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: #1a150e;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.section-current__rating {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  margin-left: auto;
  padding: 5px 8px;
  margin-right: -4px;
  border-radius: 999px;
  text-decoration: none;
  color: #1a150e;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(42, 36, 25, 0.1);
  box-shadow: 0 1px 3px rgba(42, 36, 25, 0.06);
  transition:
    background 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease;
  -webkit-tap-highlight-color: transparent;
}

.section-current__rating:hover {
  background: rgba(255, 248, 220, 0.95);
  border-color: rgba(201, 152, 0, 0.38);
  box-shadow: 0 2px 8px rgba(201, 152, 0, 0.15);
}

.section-current__rating:focus-visible {
  outline: 2px solid var(--yellow-mid);
  outline-offset: 2px;
}

.section-current__stars {
  --rating: 4.6;
  position: relative;
  display: inline-block;
  flex-shrink: 0;
  height: 1em;
  font-size: 0.68rem;
  line-height: 1;
}

.section-current__stars-bg,
.section-current__stars-fg {
  display: block;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.section-current__stars-bg {
  color: rgba(42, 36, 25, 0.16);
}

.section-current__stars-fg {
  position: absolute;
  left: 0;
  top: 0;
  overflow: hidden;
  width: calc(var(--rating) / 5 * 100%);
  color: #b8860b;
  text-shadow: 0 0.5px 0 rgba(255, 255, 255, 0.4);
}

.section-current__rating-text {
  display: inline-flex;
  align-items: baseline;
  gap: 3px;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.section-current__rating-score {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #141414;
}

.section-current__rating-count {
  font-size: 0.68rem;
  font-weight: 600;
  color: rgba(42, 36, 25, 0.55);
}

/* Tarjeta unificada: bloque horario + banner (sin costura, sombra única, bordes laterales continuos) */
.store-hero-column {
  position: relative;
  width: min(100%, 560px);
  margin-left: auto;
  margin-right: auto;
  border-radius: 18px;
  overflow: hidden;
  background: #ffffff;
  box-shadow:
    0 6px 22px rgba(42, 36, 25, 0.1),
    0 2px 8px rgba(42, 36, 25, 0.06);
}

/* Bordes laterales en todo el bloque (detrás del contenido y de la imagen) */
.store-hero-column::before,
.store-hero-column::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2px;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(180deg, #000000 0%, #ffffff 100%);
}

.store-hero-column::before {
  left: 0;
  border-top-left-radius: 18px;
  border-bottom-left-radius: 18px;
}

.store-hero-column::after {
  right: 0;
  border-top-right-radius: 18px;
  border-bottom-right-radius: 18px;
}

.store-hero {
  position: relative;
  z-index: 1;
  isolation: isolate;
  width: 100%;
  background-color: #ffffff;
  background-image: linear-gradient(180deg, #000000 0%, #ffffff 100%);
  background-size: 100% 2px;
  background-position: top left;
  background-repeat: no-repeat;
  border-radius: 0;
  padding: 16px 16px 10px;
  overflow: visible;
}

/* Fila 1: Abierto | estrellas · Fila 2: Envío | bloque Google+opiniones · Fila 3: Recibes | (misma celda derecha) */
.store-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto auto auto;
  column-gap: 8px;
  row-gap: 4px;
  align-items: center;
}

.store-hero__cell--a {
  grid-column: 1;
  grid-row: 1;
  align-self: center;
}

.store-hero__cell--b {
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
  align-self: center;
}

.store-hero__cell--c {
  grid-column: 1;
  grid-row: 2;
  align-self: center;
}

.store-hero__cell--d {
  grid-column: 2;
  grid-row: 2 / span 2;
  justify-self: end;
  align-self: start;
}

.store-hero__google-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 5px;
}

.store-hero__cell--f {
  grid-column: 1;
  grid-row: 3;
  align-self: center;
}

.store-hero__line--time {
  display: flex;
  align-items: center;
  gap: 6px;
}

.store-hero__clock {
  flex-shrink: 0;
  font-size: 0.88rem;
  line-height: 1;
}

.store-hero__line {
  margin: 0;
  font-size: 0.74rem;
  font-weight: 500;
  line-height: 1.35;
  color: var(--muted);
  letter-spacing: -0.01em;
}

.store-hero__line--open-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.store-hero__line--open-status:not(.is-open) {
  align-items: flex-start;
}

.store-hero__line--open-status:not(.is-open) .store-hero__open-dot {
  margin-top: 0.2em;
}

.store-hero__open-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #20c45a;
  box-shadow: 0 0 0 0 rgba(32, 196, 90, 0.5);
  flex-shrink: 0;
}

.store-hero__line--open-status.is-open .store-hero__open-dot {
  animation: store-open-pulse 1.4s ease-in-out infinite;
}

.store-hero__line--open-status:not(.is-open) .store-hero__open-dot {
  background: #8f8f8f;
  box-shadow: none;
}

@keyframes store-open-pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(32, 196, 90, 0.55);
  }
  70% {
    transform: scale(1.08);
    box-shadow: 0 0 0 7px rgba(32, 196, 90, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(32, 196, 90, 0);
  }
}

.store-hero__line strong {
  color: var(--text);
  font-weight: 700;
}

.store-hero__rating-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 3px 6px;
  line-height: 1;
}

.store-hero__google-mark {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #5f6368;
  text-transform: uppercase;
  line-height: 1.2;
}

.rating-stars {
  position: relative;
  display: inline-block;
  font-size: 0.78rem;
  line-height: 1;
  letter-spacing: 0.06em;
}

.rating-stars__empty {
  color: rgba(42, 36, 25, 0.14);
}

.rating-stars__fill {
  position: absolute;
  left: 0;
  top: 0;
  overflow: hidden;
  white-space: nowrap;
  color: #f4b400;
  filter: drop-shadow(0 0.5px 0 rgba(218, 165, 32, 0.35));
}

.store-hero__score {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
}

.store-hero__count {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--muted);
}

.store-hero__reviews-link {
  font-size: 0.72rem;
  font-weight: 700;
  color: #1a73e8;
  text-decoration: none;
  border-bottom: 1px solid rgba(26, 115, 232, 0.35);
  padding-bottom: 1px;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.store-hero__reviews-link:hover {
  color: #1557b0;
  border-bottom-color: rgba(21, 87, 176, 0.55);
}

.store-hero__reviews-link:focus-visible {
  outline: 2px solid rgba(26, 115, 232, 0.45);
  outline-offset: 3px;
  border-radius: 2px;
}

.review-highlight {
  margin-top: 0;
  margin-bottom: 4px;
  padding: 9px 10px;
  border: 1px solid rgba(42, 36, 25, 0.1);
  border-radius: 12px;
  background: #f7f7f8;
  box-shadow: 0 1px 4px rgba(42, 36, 25, 0.06);
  transition: opacity 0.24s ease;
}

.review-highlight.is-switching {
  opacity: 0.45;
}

.review-highlight__meta {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.66rem;
  color: #5d5d5d;
}

.review-highlight__meta strong {
  font-size: 0.68rem;
  color: #303030;
}

.review-highlight__stars {
  margin: 3px 0 0;
  letter-spacing: 0.08em;
  color: #f4b400;
  font-size: 0.68rem;
  line-height: 1;
}

.review-highlight__text {
  margin: 4px 0 0;
  font-size: 0.72rem;
  line-height: 1.3;
  color: #424242;
}

.review-highlight__scores {
  margin: 5px 0 0;
  font-size: 0.66rem;
  font-weight: 600;
  line-height: 1.25;
  color: #4a4a4a;
}

.review-highlight__dots {
  margin-top: 7px;
  display: flex;
  justify-content: center;
  gap: 5px;
}

.review-highlight__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(42, 36, 25, 0.25);
}

.review-highlight__dot.is-active {
  background: rgba(201, 152, 0, 0.95);
}

.store-hero-banner {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border-radius: 0;
  overflow: hidden;
  border: 0;
  box-shadow: none;
  background: #0c0b0a;
  line-height: 0;
}

.store-hero-banner__img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: center;
  transform: translateZ(0);
}

@media (prefers-reduced-motion: no-preference) {
  .store-hero-banner__img {
    transition: transform 0.35s ease;
  }

  .store-hero-banner:hover .store-hero-banner__img {
    transform: scale(1.012);
  }
}

/* --- Cupón bienvenida (modal promocional) --- */
.welcome-promo {
  position: fixed;
  inset: 0;
  z-index: 88;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: max(12px, env(safe-area-inset-top, 0px)) max(12px, env(safe-area-inset-right, 0px))
    max(12px, env(safe-area-inset-bottom, 0px)) max(12px, env(safe-area-inset-left, 0px));
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}

.welcome-promo.is-open {
  opacity: 1;
  pointer-events: auto;
}

.welcome-promo__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  margin: 0;
  padding: 0;
  background: rgba(0, 0, 0, 0.72);
  cursor: pointer;
}

.welcome-promo__panel {
  position: relative;
  width: min(100%, 400px);
  max-height: min(90dvh, 640px);
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  background: #050505;
  border: 1px solid rgba(212, 175, 55, 0.35);
  box-shadow:
    0 0 0 1px rgba(212, 175, 55, 0.12),
    0 20px 50px rgba(0, 0, 0, 0.55);
  transform: translateY(8px) scale(0.98);
  transition: transform 0.24s ease;
}

.welcome-promo.is-open .welcome-promo__panel {
  transform: translateY(0) scale(1);
}

@media (prefers-reduced-motion: reduce) {
  .welcome-promo,
  .welcome-promo__panel {
    transition: none;
  }
}

.welcome-promo__close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(212, 175, 55, 0.35);
  background: rgba(10, 10, 10, 0.92);
  color: #f5e6c8;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

.welcome-promo__close:hover {
  background: rgba(30, 28, 24, 0.95);
}

.welcome-promo__close:focus-visible {
  outline: 2px solid #d4af37;
  outline-offset: 2px;
}

.welcome-promo__scroll {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 22px 18px 18px;
}

.welcome-promo__art {
  text-align: center;
  padding: 0 4px 4px;
}

.welcome-promo__logo {
  display: block;
  width: min(100%, 240px);
  height: auto;
  margin: 0 auto 6px;
  filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.55));
}

.welcome-promo__script {
  margin: 0;
  font-family: "Great Vibes", cursive;
  font-size: clamp(1.85rem, 6.5vw, 2.35rem);
  line-height: 1.15;
  color: #d4af37;
  text-shadow: 0 0 24px rgba(212, 175, 55, 0.25);
}

.welcome-promo__headline {
  margin: 2px 0 0;
  font-family: "Bebas Neue", "Montserrat", system-ui, sans-serif;
  font-size: clamp(2.1rem, 8vw, 2.75rem);
  font-weight: 400;
  letter-spacing: 0.06em;
  line-height: 1.05;
  color: #f7f2e8;
  text-transform: uppercase;
}

.welcome-promo__headline--centered {
  margin-top: 6px;
  font-size: clamp(1.55rem, 5.8vw, 1.95rem);
  letter-spacing: 0.04em;
  line-height: 1.12;
}

.welcome-promo__subhead {
  margin: 4px 0 0;
  font-family: "Montserrat", system-ui, sans-serif;
  font-size: clamp(0.78rem, 2.9vw, 0.92rem);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #d4af37;
  text-shadow: 0 0 14px rgba(212, 175, 55, 0.25);
}

.welcome-promo__list,
.welcome-promo__steps {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 30ch;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-family: "Montserrat", system-ui, sans-serif;
  font-size: clamp(0.85rem, 3.1vw, 0.95rem);
  line-height: 1.4;
  color: #f0e8dc;
}

.welcome-promo__list li {
  position: relative;
  padding-left: 22px;
}

.welcome-promo__list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(145deg, #f0d27a, #d4af37 50%, #8f6f22);
  box-shadow:
    0 0 0 1px rgba(212, 175, 55, 0.35),
    0 0 10px rgba(212, 175, 55, 0.3);
}

.welcome-promo__section-title {
  margin: 0 0 10px;
  font-family: "Montserrat", system-ui, sans-serif;
  font-size: clamp(0.78rem, 2.9vw, 0.9rem);
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #d4af37;
  text-shadow: 0 0 14px rgba(212, 175, 55, 0.22);
}

.welcome-promo__steps {
  counter-reset: welcome-step;
  gap: 10px;
}

.welcome-promo__steps li {
  counter-increment: welcome-step;
  position: relative;
  padding-left: 36px;
  min-height: 24px;
  display: flex;
  align-items: center;
}

.welcome-promo__steps li::before {
  content: counter(welcome-step);
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-family: "Montserrat", system-ui, sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  color: #1a1206;
  background: linear-gradient(145deg, #f0d27a, #d4af37 48%, #8f6f22);
  box-shadow:
    0 2px 8px rgba(212, 175, 55, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.welcome-promo__cta {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.welcome-promo__rule {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 14px 0 12px;
}

.welcome-promo__rule--subtle {
  margin: 16px 0 14px;
  opacity: 0.85;
}

.welcome-promo__rule-line {
  flex: 1;
  max-width: 120px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.75), transparent);
}

.welcome-promo__rule-gem {
  font-size: 0.45rem;
  color: #d4af37;
  line-height: 1;
  text-shadow: 0 0 12px rgba(212, 175, 55, 0.45);
}

.welcome-promo__gift {
  margin: 4px 0 10px;
  color: #d4af37;
  display: flex;
  justify-content: center;
}

.welcome-promo__gift-svg {
  width: 52px;
  height: 52px;
  opacity: 0.95;
}

.welcome-promo__offer {
  margin: 0;
  font-family: "Montserrat", system-ui, sans-serif;
  font-size: clamp(0.88rem, 3.4vw, 1rem);
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0.02em;
}

.welcome-promo__offer-line {
  display: block;
}

.welcome-promo__text-cream {
  color: #f0e8dc;
}

.welcome-promo__text-gold {
  color: #d4af37;
  text-shadow: 0 0 18px rgba(212, 175, 55, 0.2);
}

.welcome-promo__cta-text {
  margin: 0;
  font-family: "Montserrat", system-ui, sans-serif;
  font-size: clamp(0.82rem, 3.1vw, 0.94rem);
  font-weight: 700;
  line-height: 1.55;
  letter-spacing: 0.03em;
}

.welcome-promo__form {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(212, 175, 55, 0.2);
  display: grid;
  gap: 8px;
}

.welcome-promo__label {
  font-family: "Montserrat", system-ui, sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(240, 232, 220, 0.85);
}

.welcome-promo__input {
  width: 100%;
  min-height: 44px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid rgba(212, 175, 55, 0.35);
  background: rgba(18, 16, 14, 0.95);
  color: #f7f2e8;
  font-family: "Montserrat", system-ui, sans-serif;
  font-size: 0.92rem;
  outline: none;
}

.welcome-promo__input::placeholder {
  color: rgba(240, 232, 220, 0.35);
}

.welcome-promo__input:focus {
  border-color: rgba(212, 175, 55, 0.75);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.18);
}

.welcome-promo__input.welcome-promo__input--invalid {
  border-color: rgba(255, 107, 107, 0.75);
}

.welcome-promo__error {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 600;
  color: #ffb4a8;
}

.welcome-promo__submit {
  margin-top: 6px;
  width: 100%;
  min-height: 48px;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  font-family: "Montserrat", system-ui, sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #1a1206;
  background: linear-gradient(180deg, #d4af37 0%, #b8922e 48%, #8f6f22 100%);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

.welcome-promo__submit:hover {
  filter: brightness(1.04);
}

.welcome-promo__submit:focus-visible {
  outline: 2px solid #f5e6c8;
  outline-offset: 2px;
}

.welcome-promo__dismiss {
  margin-top: 4px;
  padding: 10px;
  border: none;
  background: transparent;
  color: rgba(240, 232, 220, 0.55);
  font-family: "Montserrat", system-ui, sans-serif;
  font-size: 0.76rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.welcome-promo__dismiss:hover {
  color: rgba(240, 232, 220, 0.85);
}

.menu-promo-banner {
  width: 100%;
  margin: 0 0 4px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(42, 36, 25, 0.1);
  box-shadow: 0 1px 4px rgba(42, 36, 25, 0.06);
  background: #0a0a0a;
}

.menu-promo-banner__img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
  object-fit: cover;
  object-position: center;
}

.app-shell-promo-banner {
  width: 100%;
  margin: 0 auto 4px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(42, 36, 25, 0.1);
  box-shadow: 0 2px 10px rgba(42, 36, 25, 0.08);
  background: #0a0a0a;
}

.app-shell-promo-banner__img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
  object-fit: cover;
  object-position: center;
}

.combos {
  width: min(100%, 560px);
  padding: 0 0 8px;
}

.combos.mas-pedidos {
  padding-top: 14px;
}

.menu {
  width: min(100%, 560px);
  padding: 4px 0 12px;
}

.menu__title {
  margin: 0 0 18px;
  font-size: 1.08rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.06em;
  color: var(--text);
  text-align: center;
}

.menu-category {
  margin: 0;
}

.menu-category + .menu-category {
  margin-top: 22px;
}

.menu-category__heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 0 0 6px;
  padding: 0 4px;
}

.menu-category__line {
  flex: 1;
  max-width: 72px;
  height: 1px;
  background: rgba(42, 36, 25, 0.14);
}

.menu-category__name {
  flex-shrink: 0;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
}

.menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu-item {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(42, 36, 25, 0.07);
}

.menu-item:last-child {
  border-bottom: none;
}

.menu-item__text {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.menu-item__title {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--text);
}

.menu-item__desc {
  margin: 5px 0 0;
  font-size: 0.74rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--muted);
}

.menu-item__price {
  margin: 0;
  margin-top: auto;
  padding-top: 8px;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #141414;
}

/* Precio lista + cupón: tachado, % y monto nuevo */
.price-stack {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 6px;
}

.price-stack__old {
  text-decoration: line-through;
  font-weight: 600;
  color: var(--muted);
  font-size: 0.88em;
}

.price-stack__tag {
  font-weight: 800;
  font-size: 0.72em;
  letter-spacing: 0.03em;
  color: #92400e;
  background: rgba(251, 191, 36, 0.4);
  padding: 2px 6px;
  border-radius: 6px;
  white-space: nowrap;
}

.price-stack__new {
  font-weight: 800;
  color: #166534;
}

.menu-item__price .price-stack,
.combo-card__price .price-stack {
  justify-content: flex-start;
}

.menu-item__photo {
  position: relative;
  flex: 0 0 40%;
  width: 40%;
  min-width: 0;
  aspect-ratio: 1;
  border-radius: 14px;
  background: linear-gradient(145deg, #eceae6 0%, #ddd9d2 45%, #e8e4de 100%);
  border: 1px solid rgba(42, 36, 25, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
  align-self: center;
  overflow: hidden;
}

.menu-item__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 13px;
}

.menu-subsection--bebidas .menu-item__photo--bev-agua-con-gas img,
.menu-subsection--bebidas .menu-item__photo--bev-agua-sin-gas img {
  object-position: 50% 42%;
}

.menu-subsection--bebidas .menu-item__photo--bev-coca-zero-250 img {
  object-position: 52% 48%;
}

.menu-subsection--bebidas .menu-item__photo--bev-coca-600 img,
.menu-subsection--bebidas .menu-item__photo--bev-coca-light img,
.menu-subsection--bebidas .menu-item__photo--bev-coca-zero-600 img {
  object-position: 49% 40%;
}

.menu-subsection--bebidas .menu-item__photo--bev-sprite img,
.menu-subsection--bebidas .menu-item__photo--bev-paso-pomelo img {
  object-position: 50% 41%;
}

.menu-subsection--bebidas .menu-item__photo--bev-polar-lata img {
  object-position: 50% 45%;
}

.menu-subsection--bebidas .menu-item__photo--bev-lager-patricia img {
  object-position: 48% 38%;
}

.menu-subsection--bebidas .menu-item__photo--bev-malta-maltin img {
  object-position: 51% 44%;
}

.menu-subsection--bebidas .menu-item__photo--bev-patricia-litro img {
  object-position: 49% 36%;
}

.menu-item__photo:has(img) {
  background: #1c1b18;
  cursor: pointer;
}

.menu-item__photo:has(.cart-add-btn) {
  cursor: pointer;
}

.cart-add-btn {
  position: absolute;
  right: 5px;
  bottom: 5px;
  z-index: 2;
  width: 34px;
  height: 34px;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1;
  color: #2a1f0a;
  cursor: pointer;
  background: linear-gradient(
    180deg,
    rgba(255, 203, 5, 0.55) 0%,
    rgba(235, 176, 0, 0.5) 52%,
    rgba(201, 152, 0, 0.48) 100%
  );
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow:
    0 1px 3px rgba(42, 36, 25, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.45);
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.15s ease, filter 0.15s ease, border-color 0.15s ease;
}

.cart-add-btn:hover {
  filter: brightness(1.06);
  border-color: rgba(255, 255, 255, 0.65);
}

.cart-add-btn:active {
  transform: scale(0.94);
}

.cart-dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 0 max(14px, env(safe-area-inset-left, 0px)) max(12px, env(safe-area-inset-bottom, 0px))
    max(14px, env(safe-area-inset-right, 0px));
  pointer-events: none;
}

.cart-dock__toast {
  position: absolute;
  left: max(14px, env(safe-area-inset-left, 0px));
  right: max(14px, env(safe-area-inset-right, 0px));
  bottom: calc(54px + max(12px, env(safe-area-inset-bottom, 0px)));
  z-index: 41;
  max-width: min(100%, 560px);
  margin: 0 auto;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(22, 101, 52, 0.28);
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.35;
  text-align: center;
  color: #0f2918;
  background: linear-gradient(
    165deg,
    rgba(236, 253, 245, 0.98) 0%,
    rgba(209, 250, 229, 0.96) 45%,
    rgba(167, 243, 208, 0.94) 100%
  );
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.55) inset,
    0 6px 22px rgba(16, 185, 129, 0.22),
    0 4px 14px rgba(15, 41, 24, 0.08);
  pointer-events: none;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.cart-dock__toast.cart-dock__toast--visible {
  opacity: 1;
  transform: translateY(0);
}

/* Barra envío gratis encima del mini: sube el toast para no taparla */
.cart-dock--shipping-strip .cart-dock__toast {
  bottom: calc(
    54px + var(--cart-dock-progress-strips-height, 52px) + max(12px, env(safe-area-inset-bottom, 0px))
  );
}

.cart-dock__mini {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 8px;
  width: min(100%, 560px);
  min-height: 48px;
  margin: 0 auto;
  padding: 8px 12px;
  border: 1px solid rgba(42, 36, 25, 0.1);
  border-top: 1px solid rgba(42, 36, 25, 0.08);
  border-radius: 0 0 14px 14px;
  background: rgba(255, 252, 245, 0.98);
  box-shadow: 0 -2px 12px rgba(42, 36, 25, 0.06);
  pointer-events: auto;
}

.cart-dock__mini-icon {
  flex-shrink: 0;
  font-size: 1.1rem;
  line-height: 1;
}

.cart-dock__mini-summary {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--muted);
}

.cart-dock__mini-total {
  flex-shrink: 0;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #141414;
}

.cart-dock__mini-toggle {
  flex-shrink: 0;
  min-height: 36px;
  padding: 6px 12px;
  border-radius: 10px;
  border: 1px solid rgba(42, 36, 25, 0.18);
  background: #fff;
  font: inherit;
  font-size: 0.74rem;
  font-weight: 800;
  color: var(--text);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.cart-dock__mini-toggle:hover {
  border-color: rgba(201, 152, 0, 0.55);
  background: rgba(255, 248, 230, 0.95);
}

.cart-dock__mini-toggle:focus-visible {
  outline: 2px solid rgba(201, 152, 0, 0.75);
  outline-offset: 2px;
}

.cart-dock__collapsible {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    max-height 0.32s ease,
    opacity 0.22s ease,
    visibility 0s linear 0.24s;
}

.cart-dock--cart-open .cart-dock__collapsible {
  max-height: min(72vh, 2200px);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition:
    max-height 0.32s ease,
    opacity 0.22s ease,
    visibility 0s linear 0s;
}

.cart-dock__panel {
  position: relative;
  pointer-events: auto;
  display: flex;
  flex-direction: column;
  width: min(100%, 560px);
  margin: 0 auto;
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: none;
  border-bottom: none;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  max-height: none;
  transition:
    max-height 0.28s ease,
    padding 0.22s ease,
    background 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease;
}

/* Marco del panel solo al abrir “Ver pedido”, preview de plato o combo */
.cart-dock--cart-open .cart-dock__panel,
.cart-dock__panel--item-preview-open,
.cart-dock__panel--picker-open {
  padding: 12px 14px 14px;
  border-radius: 16px 16px 0 0;
  background: rgba(255, 254, 252, 0.97);
  border: 1px solid rgba(42, 36, 25, 0.1);
  border-bottom: none;
  box-shadow:
    0 -8px 32px rgba(42, 36, 25, 0.12),
    0 -2px 8px rgba(42, 36, 25, 0.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* Solo barra mini: se ve como una pastilla completa */
.cart-dock:not(.cart-dock--cart-open):not(:has(.cart-dock__panel--item-preview-open)):not(:has(.cart-dock__panel--picker-open))
  .cart-dock__mini {
  border-radius: 14px;
  border: 1px solid rgba(42, 36, 25, 0.1);
  box-shadow: 0 4px 18px rgba(42, 36, 25, 0.08);
}

/* Con ítems: envío gratis encima del mini — pastilla inferior solo en el mini */
.cart-dock.cart-dock--shipping-strip:not(.cart-dock--cart-open):not(:has(.cart-dock__panel--item-preview-open)):not(
    :has(.cart-dock__panel--picker-open)
  )
  .cart-dock__mini {
  border-radius: 0 0 14px 14px;
  border-top: 1px solid rgba(42, 36, 25, 0.06);
  box-shadow: 0 4px 18px rgba(42, 36, 25, 0.08);
}

.cart-dock__panel-close {
  display: none;
  position: absolute;
  top: max(8px, env(safe-area-inset-top, 0px));
  right: max(8px, env(safe-area-inset-right, 0px));
  z-index: 6;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 40px;
  height: 40px;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  font: inherit;
  line-height: 1;
  color: #fff;
  background: rgba(28, 27, 24, 0.55);
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
  -webkit-tap-highlight-color: transparent;
}

.cart-dock__panel-close-x {
  display: block;
  font-size: 1.35rem;
  font-weight: 300;
  line-height: 1;
  margin-top: -1px;
}

.cart-dock__panel-close:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.cart-dock__panel--item-preview-open .cart-dock__panel-close {
  display: inline-flex;
}

.cart-dock__panel-close:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(28, 27, 24, 0.75);
}

.cart-dock__panel--picker-open {
  max-height: min(90vh, 640px);
}

.cart-dock__panel--item-preview-open {
  max-height: min(92vh, 720px);
  padding-top: 12px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.cart-dock__item-preview {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0 0 10px;
  padding: 0 0 8px;
  border-bottom: none;
}

.cart-dock__item-preview[hidden] {
  display: none !important;
}

.cart-dock__item-preview-media {
  position: relative;
  margin: 0 auto;
  width: 100%;
  max-width: min(100%, 520px);
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  background: #1c1b18;
}

.cart-dock__item-preview-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-dock__item-preview-meta {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 5;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "title add"
    "price add";
  align-items: end;
  column-gap: 10px;
  row-gap: 4px;
  padding: 28px 12px 12px;
  background: linear-gradient(180deg, rgba(28, 27, 24, 0) 0%, rgba(28, 27, 24, 0.78) 62%);
}

.cart-dock__item-preview-title {
  grid-area: title;
  margin: 0;
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1.3;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.36);
}

.cart-dock__item-preview-price {
  grid-area: price;
  margin: 0;
  font-size: 0.9rem;
  font-weight: 800;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.36);
}

.cart-dock__item-preview-add.cart-add-btn {
  grid-area: add;
  position: static;
  width: 46px;
  height: 46px;
  align-self: end;
  font-size: 1.35rem;
  box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.28),
    0 1px 4px rgba(0, 0, 0, 0.22);
}

.cart-dock__item-preview-add.cart-add-btn.cart-dock__item-preview-add--combo-flow {
  width: auto;
  min-width: 46px;
  height: 46px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.cart-dock__upsell {
  margin: 6px 0;
  padding: 0 0 12px;
  border-bottom: 1px solid rgba(42, 36, 25, 0.09);
}

.cart-dock__upsell[hidden] {
  display: none !important;
}

.cart-dock__upsell-title {
  margin: 0 0 10px;
  font-size: 0.86rem;
  font-weight: 800;
  color: var(--text);
}

.cart-dock__upsell-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.cart-dock__upsell-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "name action"
    "price action";
  align-items: center;
  column-gap: 10px;
  row-gap: 2px;
  padding: 7px 2px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.cart-dock__upsell-card + .cart-dock__upsell-card {
  border-top: 1px solid rgba(42, 36, 25, 0.12);
}

.cart-dock__upsell-name {
  grid-area: name;
  margin: 0;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--text);
}

.cart-dock__upsell-price {
  grid-area: price;
  margin: 1px 0 0;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--muted);
}

.cart-dock__upsell-select {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 6px 10px;
  border-radius: 10px;
  border: 1px solid rgba(42, 36, 25, 0.2);
  background: #fff;
  color: var(--text);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
}

.cart-dock__upsell-toggle {
  grid-area: action;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 6px 10px;
  border-radius: 10px;
  border: 1px solid rgba(42, 36, 25, 0.2);
  background: #fff;
  color: var(--text);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
}

.cart-dock__upsell-select {
  grid-area: action;
}

.cart-dock__upsell-toggle.is-active,
.cart-dock__upsell-select.is-active {
  border-color: rgba(182, 108, 0, 0.65);
  background: rgba(255, 191, 69, 0.22);
}

.cart-dock__upsell-picker {
  margin-top: 10px;
  padding: 10px;
  border-radius: 12px;
  border: 1px solid rgba(42, 36, 25, 0.14);
  background: rgba(255, 255, 255, 0.9);
}

.cart-dock__upsell-picker-title {
  margin: 0 0 8px;
  font-size: 0.83rem;
  font-weight: 800;
  color: var(--text);
}

.cart-dock__upsell-picker-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cart-dock__upsell-licuado-option {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(42, 36, 25, 0.18);
  background: #fff;
  color: var(--text);
  font: inherit;
  font-size: 0.74rem;
  font-weight: 700;
  cursor: pointer;
}

.cart-dock__upsell-licuado-option.is-active {
  border-color: rgba(182, 108, 0, 0.65);
  background: rgba(255, 191, 69, 0.22);
}

.cart-dock__upsell-picker-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 10px;
}

.cart-dock__upsell-cancel,
.cart-dock__upsell-confirm {
  min-height: 38px;
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid rgba(42, 36, 25, 0.2);
  background: #fff;
  color: var(--text);
  font: inherit;
  font-size: 0.76rem;
  font-weight: 700;
  cursor: pointer;
}

.cart-dock__upsell-confirm {
  background: #2a2419;
  border-color: #2a2419;
  color: #fff;
}

.cart-dock__upsell-confirm[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
}

.cart-dock__upsell-draft-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  margin-top: 8px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid #2a2419;
  background: #2a2419;
  color: #fff;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  cursor: pointer;
}

.cart-dock__upsell-draft-hint {
  margin: 6px 2px 0;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--muted);
}

.cart-dock__main {
  display: flex;
  flex-direction: column;
  flex: 0 0 auto;
  min-height: 0;
}

.cart-dock__picker[hidden] {
  display: none !important;
}

.cart-dock__picker {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  max-height: min(48vh, 340px);
  margin: -6px -6px 10px;
  padding: 0 6px 12px;
  border-bottom: 1px solid rgba(42, 36, 25, 0.12);
}

.cart-dock__picker-head {
  flex-shrink: 0;
  margin-bottom: 10px;
}

.cart-dock__picker-back {
  display: inline-flex;
  align-items: center;
  margin: 0 0 8px;
  padding: 6px 10px 6px 0;
  border: none;
  background: none;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--muted);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.cart-dock__picker-back:hover {
  color: var(--text);
}

.cart-dock__picker-intro {
  padding-right: 4px;
}

.cart-dock__picker-title {
  margin: 0 0 4px;
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--text);
}

.cart-dock__picker-desc {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--muted);
}

.cart-dock__picker-options {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  margin: 0 -2px;
  padding: 0 2px 2px;
  -webkit-overflow-scrolling: touch;
}

.cart-dock__picker-option {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  margin: 0 0 8px;
  padding: 10px 12px;
  text-align: left;
  border: 1px solid rgba(42, 36, 25, 0.1);
  border-radius: 12px;
  background: #ffffff;
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}

.cart-dock__picker-option-main {
  flex: 1 1 auto;
  min-width: 0;
  text-align: left;
}

.cart-dock__picker-option-thumb {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid rgba(42, 36, 25, 0.12);
  background: linear-gradient(145deg, #eceae6 0%, #ddd9d2 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.cart-dock__picker-option-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.cart-dock__picker-option:last-child {
  margin-bottom: 0;
}

.cart-dock__picker-option:hover,
.cart-dock__picker-option:focus-visible {
  outline: none;
  border-color: rgba(201, 152, 0, 0.55);
  box-shadow: 0 2px 10px rgba(235, 176, 0, 0.18);
}

.cart-dock__picker-option-name {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.35;
}

.cart-dock__picker-option-desc {
  display: block;
  margin-top: 4px;
  font-size: 0.68rem;
  font-weight: 500;
  line-height: 1.35;
  color: var(--muted);
}

.cart-dock__panel--picker-open .cart-dock__list {
  max-height: 100px;
}

.cart-dock__shipping {
  margin: 4px 0 8px;
}

/* Bloque único: envío gratis + tequeños regalo (solo con ítems, vía JS) */
.cart-dock__progress-stack {
  flex-shrink: 0;
  width: min(100%, 560px);
  margin: 0 auto;
  padding: 0;
  border: 1px solid rgba(42, 36, 25, 0.1);
  border-bottom: none;
  border-radius: 14px 14px 0 0;
  background: rgba(255, 252, 245, 0.98);
  box-shadow: 0 2px 10px rgba(42, 36, 25, 0.05);
  overflow: hidden;
  pointer-events: none;
}

.cart-dock__progress-stack__row {
  margin: 0;
  padding: 8px 12px 10px;
  border: none;
  border-radius: 0;
  box-shadow: none;
  width: 100%;
  box-sizing: border-box;
}

.cart-dock__progress-stack .cart-dock__shipping {
  margin: 0;
}

.cart-dock--shipping-strip .cart-dock__mini {
  border-top: 1px solid rgba(42, 36, 25, 0.06);
}

.cart-dock__shipping-text {
  margin: 0 0 6px;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--muted);
}

.cart-dock__shipping-track {
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: rgba(42, 36, 25, 0.12);
  overflow: hidden;
}

.cart-dock__shipping-bar {
  display: block;
  height: 100%;
  width: 0%;
  border-radius: inherit;
  background: linear-gradient(90deg, #ffcb05 0%, #ebb000 62%, #c99800 100%);
  transition: width 0.3s ease;
}

.cart-dock__shipping.is-free .cart-dock__shipping-text {
  color: #14853f;
}

.cart-dock__shipping.is-free .cart-dock__shipping-bar {
  background: linear-gradient(90deg, #2fc06c 0%, #1ea759 62%, #14853f 100%);
}

.cart-dock__coupon-progress {
  margin: 0 0 12px;
}

.cart-dock__coupon-text {
  margin: 0 0 6px;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--muted);
}

.cart-dock__coupon-track {
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: rgba(42, 36, 25, 0.12);
  overflow: hidden;
}

.cart-dock__coupon-bar {
  display: block;
  height: 100%;
  width: 0%;
  border-radius: inherit;
  background: linear-gradient(90deg, #f3b63f 0%, #e39400 62%, #cb6f00 100%);
  transition: width 0.3s ease;
}

.cart-dock__coupon-progress.is-max .cart-dock__coupon-text {
  color: #14853f;
}

.cart-dock__coupon-progress.is-max .cart-dock__coupon-bar {
  background: linear-gradient(90deg, #2fc06c 0%, #1ea759 62%, #14853f 100%);
}

.cart-dock__order-block {
  margin: 0 -14px 10px;
  padding: 10px 14px 8px;
  border: 1px solid rgba(42, 36, 25, 0.1);
  border-radius: 0;
  background: rgba(255, 252, 245, 0.9);
}

.cart-dock__heading {
  margin: 0 0 6px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.cart-dock__list {
  max-height: 132px;
  overflow-y: auto;
  margin: 0 0 8px;
  padding: 0;
  -webkit-overflow-scrolling: touch;
}

.cart-dock__empty {
  margin: 0;
  padding: 0 4px;
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1.45;
  color: var(--muted);
  text-align: center;
}

.cart-dock__empty-plus {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5em;
  height: 1.5em;
  margin: 0 2px;
  border-radius: 50%;
  font-weight: 800;
  font-size: 0.95em;
  vertical-align: middle;
  color: #2a1f0a;
  background: linear-gradient(180deg, var(--yellow-strong) 0%, var(--yellow-mid) 100%);
}

.cart-dock__line {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 8px 10px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(42, 36, 25, 0.07);
  font-size: 0.78rem;
}

.cart-dock__line:last-child {
  border-bottom: none;
}

.cart-dock__line-name {
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
  min-width: 0;
}

.cart-dock__line-note,
.cart-modal__line-note {
  display: block;
  margin-top: 3px;
  font-size: 0.72rem;
  font-weight: 500;
  font-style: italic;
  line-height: 1.3;
  color: #6b4a18;
}

.cart-dock__line-controls {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.cart-dock__qty {
  width: 32px;
  height: 32px;
  padding: 0;
  border: 1px solid rgba(42, 36, 25, 0.14);
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1;
  color: var(--text);
  background: #fff;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.cart-dock__qty:active {
  background: rgba(42, 36, 25, 0.06);
}

.cart-dock__qty--remove {
  font-size: 0.95rem;
}

.cart-dock__qty-num {
  min-width: 1.25rem;
  font-size: 0.82rem;
  font-weight: 800;
  text-align: center;
  color: var(--text);
}

.cart-dock__line-sub {
  font-weight: 800;
  font-size: 0.8rem;
  color: #141414;
  white-space: nowrap;
  text-align: right;
  line-height: 1.35;
  max-width: none;
}

.cart-dock__line-sub .price-stack {
  justify-content: flex-end;
}

.cart-dock__line-thumb {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  overflow: hidden;
  background: linear-gradient(145deg, #eceae6 0%, #ddd9d2 100%);
  border: 1px solid rgba(42, 36, 25, 0.1);
}

.cart-dock__line-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.cart-dock__summary {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
  padding-top: 6px;
  border-top: 1px solid rgba(42, 36, 25, 0.08);
}

.cart-dock__summary--discounted {
  align-items: flex-end;
}

.cart-dock__total-label {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text);
}

.cart-dock__total-value {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #141414;
}

.cart-dock__total-value--discounted {
  text-align: right;
  line-height: 1.25;
  max-width: 62%;
}

.cart-dock__total-value--discounted .price-stack {
  justify-content: flex-end;
}

.cart-dock__checkout {
  margin: 0;
}

.cart-dock__checkout:disabled {
  opacity: 0.42;
  cursor: not-allowed;
  filter: grayscale(0.25);
  box-shadow: none;
  transform: none;
  pointer-events: none;
}

.cart-dock__checkout:disabled:hover {
  filter: grayscale(0.25);
  transform: none;
}

.cart-modal {
  position: fixed;
  inset: 0;
  z-index: 85;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  padding: max(12px, env(safe-area-inset-top, 0px)) max(12px, env(safe-area-inset-right, 0px))
    max(12px, env(safe-area-inset-bottom, 0px)) max(12px, env(safe-area-inset-left, 0px));
}

.cart-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.cart-modal__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  margin: 0;
  padding: 0;
  background: rgba(18, 12, 8, 0.55);
  cursor: pointer;
}

.cart-modal__panel {
  position: relative;
  width: min(100%, 560px);
  max-height: min(92vh, 840px);
  display: flex;
  flex-direction: column;
  margin: 0 auto;
  border-radius: 18px;
  background: rgba(255, 254, 252, 0.98);
  border: 1px solid rgba(42, 36, 25, 0.12);
  box-shadow:
    0 12px 34px rgba(42, 36, 25, 0.2),
    0 2px 10px rgba(42, 36, 25, 0.1);
  transform: translateY(10px) scale(0.985);
  transition: transform 0.24s ease, opacity 0.24s ease;
}

.cart-modal.is-open .cart-modal__panel {
  transform: translateY(0) scale(1);
}

.cart-modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 14px 10px;
}

.cart-modal__title {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--text);
}

.cart-modal__close {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(42, 36, 25, 0.16);
  border-radius: 50%;
  background: #fff;
  color: #2a2419;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
}

.cart-modal__list {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding: 2px 14px 12px;
  -webkit-overflow-scrolling: touch;
}

.cart-modal__line {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 8px 10px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(42, 36, 25, 0.08);
}

.cart-modal__line:last-child {
  border-bottom: none;
}

.cart-modal__line-name {
  font-size: 0.84rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--text);
}

.cart-modal__line-controls {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.cart-modal__line-sub {
  font-size: 0.82rem;
  font-weight: 800;
  color: #141414;
  white-space: nowrap;
}

.cart-modal__footer {
  padding: 10px 14px max(12px, env(safe-area-inset-bottom, 0px));
  display: grid;
  gap: 10px;
}

.cart-modal__summary-wrap {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cart-modal__summary {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.cart-modal__perks {
  display: flex;
  flex-direction: column;
  gap: 3px;
  align-items: flex-end;
  text-align: right;
}

.cart-modal__perks[hidden] {
  display: none !important;
}

.cart-modal__perk {
  margin: 0;
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.3;
  color: #166534;
  letter-spacing: 0.01em;
}

.cart-modal__total-label {
  font-size: 0.9rem;
  font-weight: 700;
}

.cart-modal__total-value {
  font-size: 1.08rem;
  font-weight: 800;
}

.product-modal {
  padding: max(6px, env(safe-area-inset-top, 0px)) max(6px, env(safe-area-inset-right, 0px))
    max(6px, env(safe-area-inset-bottom, 0px)) max(6px, env(safe-area-inset-left, 0px));
}

.product-modal__panel {
  width: 100%;
  max-width: min(100%, 720px);
  height: 96vh;
  max-height: 96vh;
  height: 96dvh;
  max-height: 96dvh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  border-radius: 16px;
  overflow: hidden;
}

.product-modal__close {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 5;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 8px rgba(22, 16, 11, 0.2);
  width: 34px;
  height: 34px;
  font-size: 1.1rem;
}

.product-modal__media {
  position: relative;
  flex-shrink: 0;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #1c1b18;
}

.product-modal__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.product-modal__media::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 46%;
  background: linear-gradient(180deg, rgba(10, 8, 5, 0) 0%, rgba(10, 8, 5, 0.78) 100%);
  pointer-events: none;
}

.product-modal__media-meta {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 10px;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
}

.product-modal__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: rgba(255, 254, 250, 0.98);
  border-top: 0;
}

.product-modal__title {
  margin: 0;
  font-size: clamp(0.94rem, 0.8rem + 0.5vw, 1.05rem);
  font-weight: 800;
  line-height: 1.25;
  color: #fffef7;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6);
  max-width: 76%;
}

.product-modal__price {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 800;
  color: #fffdf5;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.58);
  white-space: nowrap;
}

.product-modal__desc {
  order: 1;
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.35;
  color: #5c5548;
  overflow: visible;
  display: block;
}

.product-modal__dip-picker {
  order: 1;
  display: grid;
  gap: 8px;
  margin-top: 2px;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.product-modal__dip-picker[hidden] {
  display: none;
}

.product-modal__dip-picker-title {
  margin: 0;
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1.25;
  color: #4a4036;
  text-align: center;
}

.product-modal__dip-picker-title--counted {
  display: block;
  font-size: 0.92rem;
}

.product-modal__dip-picker-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  margin: 0 2px;
  padding: 1px 7px;
  border-radius: 6px;
  background: rgba(182, 128, 58, 0.14);
  color: #6b4a18;
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: 0.01em;
  vertical-align: 1px;
}

.product-modal__dip-picker-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.product-modal__dip-picker-options--single {
  grid-template-columns: minmax(120px, 160px);
  justify-content: center;
}

.product-modal__dip-picker.is-locked .product-modal__dip-picker-title {
  color: #8a7a5e;
  font-weight: 700;
  font-size: 0.82rem;
}

.product-modal__dip-option {
  appearance: none;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 10px 6px 8px;
  background: #fff;
  border: 1.5px solid rgba(42, 36, 25, 0.16);
  border-radius: 12px;
  cursor: pointer;
  font: inherit;
  color: inherit;
  text-align: center;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease,
    background 0.18s ease;
  -webkit-tap-highlight-color: transparent;
  overflow: visible;
}

.product-modal__dip-option[hidden] {
  display: none;
}

.product-modal__dip-option-count {
  position: absolute;
  top: -8px;
  right: -8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 24px;
  padding: 0 6px;
  border-radius: 12px;
  background: linear-gradient(180deg, #d49a4a 0%, #b6803a 100%);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.01em;
  box-shadow:
    0 0 0 2px #fff,
    0 4px 10px rgba(182, 128, 58, 0.45);
  pointer-events: none;
  z-index: 2;
  animation: dip-badge-pop 0.2s ease-out;
}

.product-modal__dip-option-count[hidden] {
  display: none;
}

@keyframes dip-badge-pop {
  0% { transform: scale(0.6); opacity: 0; }
  60% { transform: scale(1.15); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}

.product-modal__dip-option-thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255, 251, 240, 0.9);
  overflow: hidden;
  transition: filter 0.18s ease, transform 0.18s ease;
}

.product-modal__dip-option-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.product-modal__dip-option-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: #3f3528;
  line-height: 1.2;
}

.product-modal__dip-option:hover {
  border-color: rgba(42, 36, 25, 0.32);
}

.product-modal__dip-option.is-locked,
.product-modal__dip-option.is-locked:hover {
  cursor: not-allowed;
  opacity: 0.45;
  filter: grayscale(0.65);
  border-color: rgba(42, 36, 25, 0.16);
  background: #fff;
  transform: none;
  box-shadow: none;
}

.product-modal__dip-option.is-locked .product-modal__dip-option-thumb img {
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.06));
}

.product-modal__dip-option:focus-visible {
  outline: none;
  border-color: #b6803a;
  box-shadow: 0 0 0 3px rgba(182, 128, 58, 0.32);
}

.product-modal__dip-option.is-selected {
  border-color: #b6803a;
  background: linear-gradient(180deg, #fff5dd 0%, #fff 100%);
  box-shadow:
    0 0 0 2px rgba(182, 128, 58, 0.32),
    0 8px 18px rgba(182, 128, 58, 0.22);
  transform: translateY(-1px);
}

.product-modal__dip-option.is-selected .product-modal__dip-option-thumb {
  transform: scale(1.04);
}

.product-modal__dip-option.is-selected .product-modal__dip-option-thumb img {
  filter: drop-shadow(0 4px 8px rgba(182, 128, 58, 0.4));
}

.product-modal__dip-option.is-selected .product-modal__dip-option-label {
  color: #6b4a18;
}

.product-modal__picker-hint {
  order: 2;
  margin: 0;
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.25;
  color: #3f3528;
}

.product-modal__picker {
  order: 3;
  display: grid;
  gap: 8px;
  padding-bottom: 4px;
}

.product-modal__upsell {
  order: 4;
  display: grid;
  gap: 10px;
  padding-top: 2px;
  margin-top: 0;
  border-top: 0;
}

.product-modal__upsell-heading {
  margin: 0;
  font-size: 0.84rem;
  font-weight: 800;
  line-height: 1.28;
  color: #4a4036;
}

.product-modal__observations {
  order: 5;
  display: grid;
  gap: 6px;
  padding-top: 2px;
}

.product-modal__observations-label {
  margin: 0;
  font-size: 0.84rem;
  font-weight: 800;
  line-height: 1.28;
  color: #4a4036;
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.product-modal__observations-hint {
  font-size: 0.7rem;
  font-weight: 600;
  color: #8a7d68;
  letter-spacing: 0.02em;
  text-transform: lowercase;
}

.product-modal__observations-input {
  width: 100%;
  resize: vertical;
  min-height: 44px;
  max-height: 120px;
  padding: 8px 10px;
  font-family: inherit;
  font-size: 0.85rem;
  line-height: 1.35;
  color: #2a2419;
  background: #fffefb;
  border: 1px solid rgba(42, 36, 25, 0.18);
  border-radius: 8px;
  outline: none;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.02) inset;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.product-modal__observations-input:focus {
  border-color: rgba(212, 175, 55, 0.6);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}

.product-modal__observations-input::placeholder {
  color: #b4a895;
}

.product-modal__picker--upsell {
  order: initial;
  padding-bottom: 0;
}

.product-modal__picker-group {
  display: grid;
  gap: 7px;
}

.product-modal__picker-group-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.product-modal__picker-group-title,
.product-modal__picker-group-progress {
  margin: 0;
  font-size: 0.94rem;
  font-weight: 800;
  color: #3f3528;
}

.product-modal__picker-option {
  width: 100%;
  border: 1px solid rgba(42, 36, 25, 0.14);
  border-radius: 12px;
  background: #fff;
  padding: 9px 10px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 8px;
  align-items: center;
  text-align: left;
}

.product-modal__picker-option-main {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.product-modal__picker-option-name {
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.28;
  color: #282116;
}

.product-modal__picker-option-desc {
  font-size: 0.74rem;
  line-height: 1.25;
  color: #6a6052;
}

.product-modal__picker-option-thumb {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  overflow: hidden;
  background: #1c1b18;
}

.product-modal__picker-option-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-modal__picker-controls {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.product-modal__picker-count {
  min-width: 24px;
  height: 24px;
  border-radius: 999px;
  border: 1px solid rgba(42, 36, 25, 0.14);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.76rem;
  font-weight: 800;
  color: #2a2419;
  background: #fffef8;
}

.product-modal__picker-minus,
.product-modal__picker-plus {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(42, 36, 25, 0.16);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
}

.product-modal__picker-minus {
  background: #fffef8;
  color: #2a2419;
}

.product-modal__picker-minus:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.product-modal__upsell-choose,
.product-modal__upsell-add-btn {
  min-height: 28px;
  border-radius: 999px;
  border: 1px solid rgba(42, 36, 25, 0.2);
  background: rgba(255, 252, 240, 0.95);
  color: #2a2419;
  font-family: inherit;
  font-size: 0.75rem;
  font-weight: 800;
  line-height: 1;
  padding: 0 12px;
  cursor: pointer;
}

.product-modal__picker-plus {
  background: linear-gradient(180deg, #ffcb05 0%, #ebb000 56%, #c99800 100%);
  color: #2a1f0a;
}

.product-modal__picker-plus:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.product-modal__upsell-choice-list {
  display: grid;
  gap: 6px;
  margin-top: -1px;
  padding: 0 0 2px 10px;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateY(-4px);
  transition:
    max-height 220ms ease,
    opacity 180ms ease,
    transform 180ms ease;
  pointer-events: none;
}

/* Alto generoso: la lista crece en el flujo; el scroll único es .product-modal__body */
.product-modal__upsell-choice-list.is-open {
  max-height: min(500vh, 4800px);
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  overflow-x: hidden;
  overflow-y: visible;
}

.product-modal__upsell-choice-btn {
  appearance: none;
  width: 100%;
  border: 1px solid rgba(42, 36, 25, 0.16);
  border-radius: 10px;
  background: #fff;
  color: #2a2419;
  font-family: inherit;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.22;
  text-align: left;
  padding: 6px 8px 6px 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 52px;
}

.product-modal__upsell-choice-label {
  flex: 1;
  min-width: 0;
  text-align: left;
}

.product-modal__upsell-choice-thumb {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 8px;
  overflow: hidden;
  background: #1c1b18;
}

.product-modal__upsell-choice-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-modal__upsell-choice-btn.is-active {
  border-color: rgba(201, 152, 0, 0.78);
  background: rgba(255, 245, 203, 0.72);
}

@media (prefers-reduced-motion: reduce) {
  .product-modal__upsell-choice-list {
    transition: none;
    transform: none;
  }
}

.product-modal__actions {
  padding: 10px 14px 14px;
  border-top: 1px solid rgba(42, 36, 25, 0.08);
  background: rgba(255, 254, 250, 0.98);
  min-width: 0;
}

.product-modal__summary {
  display: grid;
  gap: 6px;
  margin-bottom: 10px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  min-width: 0;
  max-width: 100%;
}

#productModalSummary[hidden] {
  display: none !important;
}

.product-modal__summary-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-width: 0;
}

.product-modal__summary-main-controls.product-modal__picker-controls {
  flex-shrink: 0;
}

/* [hidden] debe ganar a .product-modal__picker-controls { display: inline-flex } */
#productModalSummaryMainQtyWrap[hidden] {
  display: none !important;
}

.product-modal__summary-head .product-modal__summary-base {
  flex: 1;
  margin: 0;
  font-size: 0.82rem;
  font-weight: 800;
  color: #2a2419;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-modal__summary-lines {
  display: grid;
  gap: 5px;
}

.product-modal__summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.product-modal__summary-row .product-modal__summary-line {
  flex: 1;
  min-width: 0;
}

.product-modal__summary-row--combo-picks .product-modal__summary-line {
  white-space: normal;
}

.product-modal__summary-line {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.3;
  color: #6b4a18;
  font-weight: 700;
}

.product-modal__summary-line::first-letter {
  text-transform: uppercase;
}

.product-modal__summary-line--combo-nav {
  white-space: normal;
}

.product-modal__summary-line--combo-fixed,
.product-modal__summary-line--dip {
  color: #6b4a18;
  font-weight: 700;
}

.product-modal__summary-row--dip {
  align-items: center;
}

.product-modal__summary-row--dip-hint {
  align-items: center;
}

.product-modal__summary-line-qty {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  padding: 1px 6px;
  border-radius: 6px;
  background: rgba(182, 128, 58, 0.12);
  color: #6b4a18;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.01em;
  align-self: center;
}

.product-modal__summary-line-free {
  margin-left: 4px;
  padding: 1px 6px;
  border-radius: 8px;
  background: rgba(63, 130, 76, 0.14);
  color: #2f7a3c;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: lowercase;
  vertical-align: 1px;
}

.product-modal__summary-upsell-controls.product-modal__picker-controls {
  flex-shrink: 0;
}

.product-modal__add {
  position: static;
  right: auto;
  bottom: auto;
  z-index: auto;
  width: 100%;
  height: auto;
  min-height: var(--tap-min);
  padding: 10px 14px;
  margin-top: 0;
  border: none;
  border-radius: 12px;
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.25;
  text-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  white-space: normal;
  text-align: center;
  word-break: break-word;
}

.product-modal__add.is-disabled {
  filter: grayscale(0.3);
  opacity: 0.68;
  cursor: not-allowed;
}

/* --- Checkout: datos antes de WhatsApp --- */
.cart-checkout {
  position: fixed;
  inset: 0;
  z-index: 95;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  padding: max(12px, env(safe-area-inset-top, 0px)) max(12px, env(safe-area-inset-right, 0px))
    max(12px, env(safe-area-inset-bottom, 0px)) max(12px, env(safe-area-inset-left, 0px));
}

.cart-checkout.is-open {
  opacity: 1;
  pointer-events: auto;
}

.cart-checkout__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  margin: 0;
  padding: 0;
  background: rgba(18, 12, 8, 0.58);
  cursor: pointer;
}

.cart-checkout__panel {
  position: relative;
  width: min(100%, 420px);
  max-height: min(92vh, 640px);
  display: flex;
  flex-direction: column;
  margin: 0 auto;
  border-radius: 18px;
  background: rgba(255, 254, 252, 0.99);
  border: 1px solid rgba(42, 36, 25, 0.12);
  box-shadow:
    0 14px 40px rgba(42, 36, 25, 0.22),
    0 2px 10px rgba(42, 36, 25, 0.1);
  transform: translateY(12px) scale(0.98);
  transition: transform 0.24s ease;
}

.cart-checkout.is-open .cart-checkout__panel {
  transform: translateY(0) scale(1);
}

.cart-checkout__head {
  flex-shrink: 0;
  padding: 12px 14px 10px;
  border-bottom: 1px solid rgba(42, 36, 25, 0.08);
}

.cart-checkout__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
}

.cart-checkout__toolbar .cart-checkout__back {
  margin: 0;
}

.cart-checkout__back {
  display: inline-flex;
  align-items: center;
  margin: 0 0 8px;
  padding: 6px 0;
  border: 0;
  background: none;
  font-size: 0.82rem;
  font-weight: 700;
  color: #5c5345;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.cart-checkout__back:hover {
  color: var(--text);
}

.cart-checkout__head-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.cart-checkout__title {
  margin: 0;
  flex: 1;
  min-width: 0;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--text);
}

.cart-checkout__close {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(42, 36, 25, 0.16);
  border-radius: 50%;
  background: #fff;
  color: #2a2419;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
}

.cart-checkout__scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding: 12px 14px 8px;
  -webkit-overflow-scrolling: touch;
}

.cart-checkout__intro {
  margin: 0 0 14px;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.45;
  color: var(--muted);
}

.cart-checkout__form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-bottom: 4px;
}

.cart-checkout__form-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
  padding-bottom: max(12px, env(safe-area-inset-bottom, 0px));
}

.cart-checkout__form-actions .cart-checkout__submit {
  width: 100%;
}

.cart-checkout__group {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cart-checkout__group[hidden] {
  display: none;
}

.cart-checkout__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cart-checkout__mode-row {
  display: flex;
  gap: 10px;
  width: 100%;
}

.cart-checkout__mode-option {
  position: relative;
  flex: 1;
  margin: 0;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  /* `display: flex` para que el btn se estire al alto del más alto
     (con 3 opciones, "Delivery" es 1 línea pero las otras wrappean a 2). */
  display: flex;
}

.cart-checkout__mode-option .cart-checkout__mode-btn {
  flex: 1;
  width: 100%;
}

.cart-checkout__mode-radio {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.cart-checkout__mode-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: var(--tap-min, 44px);
  padding: 10px 8px;
  border-radius: 12px;
  border: 2px solid rgba(42, 36, 25, 0.14);
  background: #fff;
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1.22;
  text-align: center;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  pointer-events: none;
  word-break: keep-all;
  hyphens: auto;
}

.cart-checkout__mode-option:has(.cart-checkout__mode-radio:checked) .cart-checkout__mode-btn {
  border-color: var(--yellow-mid);
  background: rgba(255, 214, 102, 0.35);
  box-shadow: 0 0 0 3px rgba(235, 176, 0, 0.18);
}

.cart-checkout__mode-radio:focus-visible + .cart-checkout__mode-btn {
  border-color: var(--yellow-mid);
  box-shadow: 0 0 0 3px rgba(235, 176, 0, 0.22);
}

.cart-checkout__mode-row.cart-checkout__input--invalid .cart-checkout__mode-btn {
  border-color: #c44;
}

.cart-checkout__label {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

p.cart-checkout__label {
  margin: 0;
}

.cart-checkout__input,
.cart-checkout__textarea,
.cart-checkout__select {
  width: 100%;
  margin: 0;
  padding: 12px 14px;
  border: 1px solid rgba(42, 36, 25, 0.14);
  border-radius: 12px;
  background: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.35;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.cart-checkout__input::placeholder,
.cart-checkout__textarea::placeholder {
  color: #9a9283;
  font-weight: 500;
}

.cart-checkout__textarea {
  resize: vertical;
  min-height: 52px;
  font-family: inherit;
}

.cart-checkout__textarea--notes {
  min-height: 72px;
}

.cart-checkout__select {
  min-height: var(--tap-min, 44px);
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%235c5345' d='M1 1.5L6 6l5-4.5' stroke='%235c5345' stroke-width='1.2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

.cart-checkout__input:focus,
.cart-checkout__textarea:focus,
.cart-checkout__select:focus {
  border-color: var(--yellow-mid);
  box-shadow: 0 0 0 3px rgba(235, 176, 0, 0.22);
}

.cart-checkout__input.cart-checkout__input--invalid,
.cart-checkout__select.cart-checkout__input--invalid,
.cart-checkout__textarea.cart-checkout__input--invalid {
  border-color: #c44;
}

/* Los modificadores flex/grid ganaban a [hidden]; forzar oculto correctamente */
.cart-checkout__mode-hint[hidden] {
  display: none !important;
}

.cart-checkout__mode-hint {
  margin: 10px 0 0;
  padding: 6px 0 0;
  border: none;
  border-radius: 0;
  background: transparent;
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1.35;
  color: #3d3528;
}

.cart-checkout__mode-hint--inline {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cart-checkout__mode-hint--stack {
  display: grid;
  gap: 4px;
}

.cart-checkout__mode-hint-line {
  margin: 0;
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1.35;
  color: #3d3528;
}

.cart-checkout__error {
  margin: 0 0 10px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #a22;
  line-height: 1.35;
}

.cart-checkout__submit {
  margin: 0;
}

@media (prefers-reduced-motion: reduce) {
  .cart-modal,
  .cart-modal__panel {
    transition: none;
  }

  .cart-checkout,
  .cart-checkout__panel {
    transition: none;
  }
}

.menu-category--platos .menu-item__price,
.menu-category--sopas .menu-item__price,
.menu-category--empanadas .menu-item__price {
  margin-top: 0;
}

.menu-category--licuados-bebidas .menu-item:has(.menu-item__desc) .menu-item__price {
  margin-top: 0;
}

.menu-category--antojitos .menu-item:has(.menu-item__desc) .menu-item__price {
  margin-top: 0;
}

.menu-category--postres .menu-item:has(.menu-item__desc) .menu-item__price {
  margin-top: 0;
}

.menu-antojitos-cols,
.menu-empanadas-cols,
.menu-bebidas-cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 14px;
  align-items: start;
}

.menu-empanadas-group {
  margin: 0;
  min-width: 0;
}

.menu-empanadas-subheading {
  margin: 0 0 10px;
  padding: 0 2px 8px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.28;
  color: var(--text);
  border-bottom: 1px solid rgba(42, 36, 25, 0.1);
}

.menu-empanadas-subheading__paren {
  font-weight: 600;
  color: var(--muted);
}

/* ===================== Separador de sección (decorativo) =====================
 * Hairline dorado con un pequeño ◆ central. Pensado para introducir bloques
 * "extra" en el menú (ej: dip-extras) sin competir con los headings de categoría.
 */
.menu-section-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 18px 0 14px;
}

.menu-section-divider__line {
  flex: 1;
  max-width: 110px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 152, 0, 0.45), transparent);
}

.menu-section-divider__gem {
  font-size: 0.55rem;
  color: rgba(201, 152, 0, 0.75);
  line-height: 1;
  letter-spacing: 0;
  user-select: none;
}

/* ===================== Dip extras (en menú) =====================
 * Bloque compacto, 1 fila por dip, stepper horizontal a la derecha.
 * El número del stepper es la única fuente visual de la cantidad agregada
 * (no hay badge sobre la imagen). Cuando la cantidad pasa de 0 a >0, la
 * fila se "activa" para reforzar el feedback.
 */
.dip-extras {
  margin: 4px 0 18px;
  padding: 12px 14px 10px;
  background: #ffffff;
  border: 1px dashed rgba(201, 152, 0, 0.32);
  border-radius: 12px;
}

.dip-extras__title {
  margin: 0 0 10px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.28;
  color: var(--text);
}

.dip-extras__price {
  font-weight: 700;
  color: var(--yellow);
  white-space: nowrap;
}

.dip-extras__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.dip-extras__row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 6px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.55);
  transition: background-color 160ms ease, box-shadow 160ms ease;
}

.dip-extras__row.is-active {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 1px 0 rgba(201, 152, 0, 0.35) inset, 0 0 0 1px rgba(235, 176, 0, 0.45);
}

.dip-extras__media {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
}

.dip-extras__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.dip-extras__text {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
}

.dip-extras__name {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
  line-height: 1.2;
}

/* Badge "agregaste N a tu pedido" — mismo lenguaje visual que el chip "gratis"
 * del resumen del modal de producto, en verde suave. Solo visible cuando hay
 * al menos 1 unidad de ese dip extra en el carrito. */
.dip-extras__added-badge {
  display: inline-block;
  padding: 1px 6px;
  border-radius: 8px;
  background: rgba(63, 130, 76, 0.14);
  color: #2f7a3c;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.3;
  text-transform: lowercase;
  white-space: nowrap;
}

.dip-extras__added-badge[hidden] {
  display: none;
}

.dip-extras__stepper {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 0;
  background: #fff;
  border: 1px solid rgba(42, 36, 25, 0.12);
  border-radius: 999px;
  padding: 2px;
}

.dip-extras__btn {
  appearance: none;
  -webkit-appearance: none;
  border: none;
  background: transparent;
  color: var(--text);
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1;
  width: 32px;
  height: 32px;
  min-width: 32px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 120ms ease, color 120ms ease, opacity 120ms ease;
}

.dip-extras__btn:hover:not(:disabled) {
  background: rgba(235, 176, 0, 0.16);
}

.dip-extras__btn:active:not(:disabled) {
  background: rgba(235, 176, 0, 0.26);
}

.dip-extras__btn--plus {
  background: var(--yellow-strong);
  color: #1a1816;
}

.dip-extras__btn--plus:hover:not(:disabled) {
  background: var(--yellow-mid);
}

.dip-extras__btn:disabled {
  color: rgba(42, 36, 25, 0.3);
  cursor: not-allowed;
}

.dip-extras__btn:focus-visible {
  outline: 2px solid var(--yellow-mid);
  outline-offset: 2px;
}

.dip-extras__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  padding: 0 4px;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}

@media (max-width: 360px) {
  .dip-extras {
    padding: 10px 12px 8px;
  }
  .dip-extras__name {
    font-size: 0.88rem;
  }
  .dip-extras__btn {
    width: 30px;
    height: 30px;
    min-width: 30px;
  }
  .dip-extras__count {
    min-width: 24px;
    font-size: 0.9rem;
  }
}

.menu-postres-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 12px;
  align-items: start;
}

.menu-subsection--bebidas .menu-bebidas-cols {
  margin-top: 2px;
  padding-top: 12px;
  border-top: 1px solid rgba(42, 36, 25, 0.12);
}

@media (max-width: 560px) {
  .menu-antojitos-cols,
  .menu-empanadas-cols,
  .menu-bebidas-cols {
    grid-template-columns: 1fr;
  }

  .menu-postres-cols {
    grid-template-columns: 1fr;
  }

  .menu-empanadas-cols > .menu-empanadas-group:nth-child(2) {
    margin-top: 2px;
    padding-top: 14px;
    border-top: 1px solid rgba(42, 36, 25, 0.12);
  }

  .menu-bebidas-cols > ul:nth-child(2) {
    margin-top: 2px;
    padding-top: 14px;
    border-top: 1px solid rgba(42, 36, 25, 0.12);
  }

  .menu-postres-cols > ul:nth-child(2),
  .menu-postres-cols > ul:nth-child(3) {
    margin-top: 2px;
    padding-top: 14px;
    border-top: 1px solid rgba(42, 36, 25, 0.12);
  }
}

.menu-subsection {
  margin: 0;
}

.menu-category--licuados-bebidas .menu-subsection + .menu-subsection {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(42, 36, 25, 0.1);
}

.menu-subsection__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 2px;
  padding: 0 2px 10px;
  border-bottom: 1px solid rgba(42, 36, 25, 0.08);
}

.menu-subsection__title {
  margin: 0;
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
}

.menu-subsection__title--block {
  margin: 0 0 10px;
  padding: 0 2px;
}

.menu-subsection__meta {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted);
  flex-shrink: 0;
}

.combos__title {
  margin: 0 0 14px;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text);
}

.combos__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 12px;
}

.combo-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-width: 0;
  gap: 8px;
}

.combo-card__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  width: 100%;
  border-radius: 16px;
  background: linear-gradient(145deg, #eceae6 0%, #ddd9d2 45%, #e8e4de 100%);
  border: 1px solid rgba(42, 36, 25, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
  margin-bottom: 0;
}

.combo-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 15px;
}

.combo-card__media:has(img),
.combo-card__media:has(.cart-add-btn) {
  cursor: pointer;
}

.combo-card__media .cart-add-btn {
  right: 8px;
  bottom: 8px;
  width: 44px;
  height: 44px;
  font-size: 1.45rem;
  background: linear-gradient(
    180deg,
    rgba(255, 203, 5, 0.52) 0%,
    rgba(235, 176, 0, 0.46) 52%,
    rgba(201, 152, 0, 0.44) 100%
  );
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow:
    0 2px 8px rgba(42, 36, 25, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.combo-card__title {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--text);
  text-align: left;
}

.combo-card__badge {
  margin: 0;
  display: inline-block;
  align-self: flex-start;
  max-width: 100%;
  padding: 4px 9px;
  border-radius: 999px;
  background: #141414;
  color: #ffffff;
  font-size: 0.62rem;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  opacity: 0;
  transform: translateY(12px);
  transition:
    transform 420ms cubic-bezier(0.22, 0.61, 0.36, 1),
    opacity 420ms ease,
    filter 420ms ease;
  will-change: transform, opacity;
}

.combo-card__price {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #141414;
  text-align: left;
}

.combo-card.is-revealed .combo-card__badge {
  opacity: 1;
  transform: translateY(0);
  filter: brightness(1);
}

@media (prefers-reduced-motion: reduce) {
  .combo-card__badge {
    transition: none;
    transform: none;
    opacity: 1;
  }
}

@media (max-width: 320px) {
  .combos__grid {
    grid-template-columns: 1fr;
  }
}

.app-shell {
  flex: 1 1 auto;
  width: min(100%, 560px);
  margin: 0 auto;
  padding-top: 12px;
  padding-bottom: max(12px, env(safe-area-inset-bottom, 0px));
  padding-left: max(14px, env(safe-area-inset-left, 0px));
  padding-right: max(14px, env(safe-area-inset-right, 0px));
}

.app-shell--spacer {
  flex: 1 1 auto;
  min-height: 0;
  padding-top: 8px;
  padding-bottom: 0;
}

main.app-shell.app-shell--spacer {
  padding-bottom: 0;
}

.site-footer {
  flex-shrink: 0;
  width: 100%;
  min-height: var(--cart-dock-safe-bottom);
  height: var(--cart-dock-safe-bottom);
  margin-top: auto;
  background-color: #000000;
  background-image:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.98) 0%,
      rgba(248, 244, 238, 0.55) 22%,
      rgba(32, 20, 14, 0.65) 52%,
      rgba(8, 5, 3, 0.92) 78%,
      #000000 100%
    ),
    linear-gradient(
      180deg,
      rgba(28, 18, 12, 0.25) 0%,
      rgba(12, 8, 5, 0.45) 100%
    ),
    url("header-wood.svg?v=20260503-blackwood");
  background-size: cover, cover, cover;
  background-position: center, center, center bottom;
  background-repeat: no-repeat, no-repeat, no-repeat;
  padding-bottom: 0;
}

.logo {
  flex-shrink: 0;
  width: auto;
  max-width: 100%;
  max-height: var(--logo-h);
  height: auto;
  object-fit: contain;
  border-radius: 9px;
  margin: 2px 0;
}

.flow-stack {
  display: flex;
  flex-direction: column;
}

.flow-stack > .flow-section:first-child {
  border-top: none;
  padding-top: 8px;
  padding-bottom: var(--section-pad-y);
}

.flow-section--cta {
  padding: var(--section-pad-y) 0 4px;
}

.section-head {
  text-align: center;
  margin-bottom: 4px;
}

.section-head h2 {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text);
}

.section-head--inline {
  text-align: left;
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 6px;
}

.section-emoji {
  font-size: 1rem;
  line-height: 1;
  flex-shrink: 0;
  opacity: 0.95;
}

.field-label {
  display: block;
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.35;
}

.input-wrap {
  position: relative;
  margin-bottom: 12px;
}

input {
  width: 100%;
  min-height: var(--tap-min);
  padding: 0 12px;
  color: var(--text);
  background: #ffffff;
  border: 1px solid rgba(42, 36, 25, 0.14);
  border-radius: 12px;
  outline: none;
  font-size: 0.95rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input::placeholder {
  color: #9a9283;
}

input:focus {
  border-color: var(--yellow-mid);
  box-shadow: 0 0 0 3px rgba(235, 176, 0, 0.2);
}

.whatsapp-btn {
  width: 100%;
  min-height: var(--tap-min);
  margin-top: 0;
  border: none;
  border-radius: 12px;
  background: linear-gradient(180deg, var(--yellow-strong) 0%, var(--yellow-mid) 48%, var(--yellow) 100%);
  color: #2a1f0a;
  font-weight: 800;
  font-size: 0.92rem;
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 22px rgba(235, 176, 0, 0.35);
  cursor: pointer;
  transition: transform 0.18s ease, filter 0.18s ease, box-shadow 0.18s ease;
  -webkit-tap-highlight-color: transparent;
}

.whatsapp-btn:hover {
  filter: brightness(1.03);
  transform: translateY(-1px);
}

.whatsapp-btn:active {
  transform: translateY(1px) scale(0.995);
}

@media (min-width: 700px) {
  html {
    font-size: 16px;
  }

  :root {
    --logo-h: 52px;
  }

  .site-header {
    padding-top: env(safe-area-inset-top, 0px);
    padding-bottom: 8px;
  }

  .site-header__inner {
    padding-top: 14px;
    padding-bottom: 16px;
    padding-left: max(22px, env(safe-area-inset-left, 0px));
    padding-right: max(22px, env(safe-area-inset-right, 0px));
  }

  .store-hero-wrap {
    padding-left: max(20px, env(safe-area-inset-left, 0px));
    padding-right: max(20px, env(safe-area-inset-right, 0px));
  }

  .store-hero {
    padding: 18px 20px 12px;
  }

  .app-shell {
    padding-top: 16px;
    padding-bottom: max(16px, env(safe-area-inset-bottom, 0px));
    padding-left: max(20px, env(safe-area-inset-left, 0px));
    padding-right: max(20px, env(safe-area-inset-right, 0px));
  }
}

/* Pantallas bajas: aún más compacto */
@media (max-height: 720px) {
  :root {
    --section-pad-y: 8px;
  }

  .app-shell {
    padding-top: 8px;
    padding-bottom: max(10px, env(safe-area-inset-bottom, 0px));
  }

  .flow-stack > .flow-section:first-child {
    padding-top: 4px;
  }

  .whatsapp-btn {
    margin-top: 8px;
  }
}

@media (max-height: 620px) {
  :root {
    --section-pad-y: 6px;
  }

  .section-head {
    margin-bottom: 2px;
  }
}

