/* =======================================================
   BonnaGo — Sistema de diseño
   ======================================================= */

:root {
  /* Paleta BonnaGo */
  --bg: #FFFFFF;
  --bg-elev: #FFFFFF;
  --bg-soft: #F3F3FA;      /* lila muy claro derivado de C7C7EA */
  --bg-card: #FAFAFD;      /* blanco roto para cards */
  --ink: #0B2465;          /* azul principal */
  --ink-2: #1A3480;
  --ink-3: #5A6490;
  --ink-4: #9A9FBE;
  --line: #E8E8F2;
  --line-2: #C7C7EA;       /* lila claro */

  --brand: #0B2465;        /* azul principal */
  --brand-ink: #FFFFFF;    /* texto sobre brand */
  --brand-dark: #081C4E;
  --brand-soft: #C7C7EA;   /* lila como acento secundario */
  --black: #000000;
  --accent: #0B2465;
  --danger: #E23E3E;
  --success: #2E8B57;

  /* Tipografía */
  --font-display: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Radios */
  --r-xs: 8px;
  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-pill: 999px;

  /* Sombras */
  --shadow-sm: 0 1px 2px rgba(11, 36, 101, 0.06), 0 2px 6px rgba(11, 36, 101, 0.05);
  --shadow-md: 0 4px 14px rgba(11, 36, 101, 0.08), 0 10px 30px rgba(11, 36, 101, 0.06);
  --shadow-lg: 0 10px 30px rgba(11, 36, 101, 0.12), 0 24px 60px rgba(11, 36, 101, 0.10);
  --shadow-brand: 0 10px 24px rgba(11, 36, 101, 0.28);

  /* Transiciones */
  --t-fast: 150ms cubic-bezier(.2,.7,.2,1);
  --t: 240ms cubic-bezier(.2,.7,.2,1);
  --t-slow: 420ms cubic-bezier(.2,.7,.2,1);

  /* Layout */
  --container: 1200px;
  --nav-h: 72px;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* Tipografía utilitaria */
.display {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
}
.eyebrow {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink-3);
}

/* Contenedor */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

/* =====================
   NAV
   ===================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav-h);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.brand__mark {
  width: 36px; height: 36px;
  border-radius: 12px;
  background: var(--ink);
  display: grid; place-items: center;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.02em;
  transform: rotate(-4deg);
}
.brand em {
  font-style: normal;
  color: var(--ink-3);
  font-weight: 400;
}
.nav__actions { display: flex; align-items: center; gap: 10px; }
.nav__link {
  font-size: 14px; font-weight: 500; color: var(--ink-2);
  padding: 8px 14px; border-radius: var(--r-pill);
  transition: background var(--t), color var(--t);
}
.nav__link:hover { background: var(--bg-soft); color: var(--ink); }

.cart-btn {
  position: relative;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px;
  background: var(--ink);
  color: #fff;
  border-radius: var(--r-pill);
  font-size: 14px; font-weight: 600;
  transition: transform var(--t), box-shadow var(--t);
}
.cart-btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }
.cart-btn__count {
  min-width: 22px; height: 22px; padding: 0 6px;
  background: var(--brand-soft); color: var(--ink);
  border-radius: var(--r-pill);
  font-size: 12px; font-weight: 700;
  display: inline-grid; place-items: center;
}

/* =====================
   HERO
   ===================== */
.hero {
  padding: 40px 0 28px;
  position: relative;
}
.hero__card {
  position: relative;
  background: var(--ink);
  color: #fff;
  border-radius: var(--r-xl);
  padding: 40px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 20px;
  min-height: 280px;
}
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--brand-soft); font-weight: 600;
  margin-bottom: 14px;
}
.hero__eyebrow::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--brand-soft);
  box-shadow: 0 0 0 6px rgba(199, 199, 234, 0.22);
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(30px, 4.5vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin-bottom: 14px;
  color: #fff;
}
.hero__title em { font-style: normal; color: var(--brand-soft); font-weight: 700; }
.hero__desc {
  color: rgba(255,255,255,0.7);
  font-size: 15px;
  max-width: 440px;
  margin-bottom: 22px;
  font-weight: 400;
}
.hero__cta {
  display: inline-flex; align-items: center; gap: 10px;
  background: #fff; color: var(--ink);
  padding: 14px 22px;
  border-radius: var(--r-pill);
  font-weight: 700; font-size: 15px;
  transition: transform var(--t), box-shadow var(--t);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}
.hero__cta:hover { transform: translateY(-2px); background: var(--brand-soft); }
.hero__cta svg { width: 16px; height: 16px; }

.hero__visual {
  position: relative;
  height: 100%;
  min-height: 240px;
}
.hero__blob {
  position: absolute;
  inset: -20% -10% -20% 10%;
  background: radial-gradient(closest-side, rgba(199, 199, 234, 0.35), transparent 70%);
  filter: blur(10px);
}
.hero__plate {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 280px; height: 280px;
  border-radius: 50%;
  background: linear-gradient(135deg, #F2F2FA, #C7C7EA 60%, #9A9FBE);
  box-shadow: 0 30px 60px rgba(0,0,0,0.4), inset 0 -20px 40px rgba(11, 36, 101, 0.15);
}
.hero__plate::before {
  content: "";
  position: absolute; inset: 18px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #FFFFFF, #E4E4F0 55%, #C7C7EA);
  box-shadow: inset 0 10px 30px rgba(11, 36, 101, 0.18);
}
.hero__sprinkles { position: absolute; inset: 0; pointer-events: none; }
.hero__sprinkles span {
  position: absolute; width: 10px; height: 10px; border-radius: 50%;
  background: var(--brand-soft);
  animation: float 6s ease-in-out infinite;
}
.hero__sprinkles span:nth-child(1){top:20%; left:15%; background:#fff; animation-delay:-1s;}
.hero__sprinkles span:nth-child(2){top:65%; left:12%; background:var(--brand-soft); animation-delay:-2.5s;}
.hero__sprinkles span:nth-child(3){top:30%; right:8%; background:#fff; animation-delay:-3.5s; width:6px; height:6px;}
.hero__sprinkles span:nth-child(4){top:75%; right:14%; background:var(--brand-soft); animation-delay:-0.5s; width:6px;height:6px;}

.hero__photo {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  max-width: 90%; max-height: 100%;
  border-radius: var(--r-lg);
  object-fit: cover;
  box-shadow: 0 20px 50px rgba(0,0,0,0.35);
}
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0); }
  50% { transform: translateY(-12px) rotate(12deg); }
}

/* =====================
   CATEGORÍAS
   ===================== */
.cats {
  display: flex; gap: 10px; overflow-x: auto;
  padding: 8px 0 18px;
  scrollbar-width: none;
}
.cats::-webkit-scrollbar { display: none; }
.cat {
  flex: 0 0 auto;
  padding: 10px 18px;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  font-size: 14px; font-weight: 600;
  color: var(--ink-2);
  display: inline-flex; align-items: center; gap: 8px;
  transition: all var(--t);
  white-space: nowrap;
}
.cat:hover { border-color: var(--ink-2); transform: translateY(-1px); }
.cat.is-active {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.cat__emoji { font-size: 16px; }

/* =====================
   PRODUCTOS
   ===================== */
.section { padding: 24px 0 120px; }
.section__head {
  display: flex; align-items: end; justify-content: space-between;
  margin-bottom: 20px;
  gap: 20px;
}
.section__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(24px, 3vw, 34px);
  letter-spacing: -0.02em;
  color: var(--ink);
}
.section__title em { font-style: normal; color: var(--ink-3); font-weight: 400; }
.section__meta {
  font-size: 13px; color: var(--ink-3);
}

.grid-products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}

.product {
  background: var(--bg-elev);
  border-radius: var(--r-lg);
  padding: 16px;
  border: 1px solid var(--line);
  display: flex; flex-direction: column;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
  position: relative;
  overflow: hidden;
}
.product:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--line-2);
}
.product__media {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--r-md);
  overflow: hidden;
  background: linear-gradient(135deg, var(--bg-soft), #FAFAFD);
  margin-bottom: 14px;
  display: grid; place-items: center;
}
.product__img { font-size: 80px; line-height: 1; filter: drop-shadow(0 8px 18px rgba(11, 36, 101, 0.18)); }
.product__photo {
  width: 100%; height: 100%; object-fit: cover;
  position: absolute; inset: 0;
}
.product__tag {
  position: absolute; top: 10px; left: 10px;
  padding: 5px 10px;
  background: rgba(11, 36, 101, 0.9);
  color: #fff;
  border-radius: var(--r-pill);
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.02em;
  backdrop-filter: blur(6px);
}
.product__tag--sale { background: var(--black); }
.product__fav {
  position: absolute; top: 10px; right: 10px;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  display: grid; place-items: center;
  font-size: 16px;
  backdrop-filter: blur(6px);
  transition: transform var(--t), background var(--t);
  color: var(--ink);
}
.product__fav:hover { transform: scale(1.1); background: #fff; }
.product__fav.is-active { background: var(--ink); color: var(--brand-soft); }

.product__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.01em;
  line-height: 1.25;
  margin-bottom: 4px;
  color: var(--ink);
}
.product__desc {
  font-size: 13px; color: var(--ink-3);
  line-height: 1.45;
  margin-bottom: 14px;
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product__foot {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px;
}
.product__price {
  display: flex; flex-direction: column;
}
.product__price strong {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.product__price s { font-size: 12px; color: var(--ink-4); }
.product__add {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  display: grid; place-items: center;
  font-size: 22px; font-weight: 400;
  transition: transform var(--t), background var(--t);
}
.product__add:hover { transform: rotate(90deg) scale(1.08); background: var(--brand-dark); }
.product__add svg { width: 18px; height: 18px; }

/* =====================
   CARRITO FLOTANTE (bottom bar móvil / lateral en desktop)
   ===================== */
.cart-bar {
  position: fixed;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%) translateY(140%);
  z-index: 40;
  width: calc(100% - 32px);
  max-width: 520px;
  background: var(--ink);
  color: #fff;
  border-radius: var(--r-pill);
  padding: 12px 14px 12px 20px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px;
  box-shadow: var(--shadow-lg);
  transition: transform var(--t-slow), opacity var(--t-slow);
  opacity: 0;
  pointer-events: none;
}
.cart-bar.is-visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.cart-bar__info { display: flex; flex-direction: column; }
.cart-bar__count { font-size: 12px; color: rgba(255,255,255,0.65); }
.cart-bar__total { font-family: var(--font-display); font-size: 18px; font-weight: 600; }
.cart-bar__cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--brand-soft); color: var(--ink);
  padding: 12px 18px;
  border-radius: var(--r-pill);
  font-weight: 700; font-size: 14px;
  transition: transform var(--t);
}
.cart-bar__cta:hover { transform: scale(1.03); background: #fff; }

/* =====================
   DRAWER (carrito lateral)
   ===================== */
.scrim {
  position: fixed; inset: 0;
  background: rgba(20, 20, 15, 0.55);
  backdrop-filter: blur(4px);
  opacity: 0; visibility: hidden;
  transition: opacity var(--t), visibility var(--t);
  z-index: 90;
}
.scrim.is-open { opacity: 1; visibility: visible; }

.drawer {
  position: fixed; top: 0; right: 0;
  height: 100vh;
  width: 100%; max-width: 460px;
  background: var(--bg);
  z-index: 100;
  transform: translateX(110%);
  transition: transform var(--t-slow);
  display: flex; flex-direction: column;
  box-shadow: -20px 0 60px rgba(0,0,0,0.15);
}
.drawer.is-open { transform: translateX(0); }
.drawer__head {
  padding: 22px 24px 16px;
  border-bottom: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between;
}
.drawer__title {
  font-family: var(--font-display); font-size: 22px; font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.drawer__close {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--bg-soft);
  display: grid; place-items: center;
  transition: background var(--t);
}
.drawer__close:hover { background: var(--line); }
.drawer__body {
  flex: 1; overflow-y: auto;
  padding: 20px 24px;
}
.drawer__foot {
  padding: 18px 24px 24px;
  border-top: 1px solid var(--line);
  background: var(--bg-elev);
}

.cart-empty {
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
  padding: 40px 20px;
  color: var(--ink-3);
}
.cart-empty__icon {
  font-size: 56px; margin-bottom: 14px; opacity: 0.6;
}

.cart-item {
  display: grid;
  grid-template-columns: 60px 1fr auto;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px dashed var(--line);
  align-items: start;
}
.cart-item:last-child { border-bottom: 0; }
.cart-item__img {
  width: 60px; height: 60px;
  border-radius: var(--r-sm);
  background: var(--bg-soft);
  display: grid; place-items: center;
  font-size: 28px;
}
.cart-item__name { font-weight: 600; font-size: 14px; margin-bottom: 2px; }
.cart-item__toppings {
  font-size: 12px; color: var(--ink-3);
  margin-bottom: 6px;
}
.cart-item__controls {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--bg-soft);
  border-radius: var(--r-pill);
  padding: 4px;
}
.cart-item__btn {
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--bg-elev);
  display: grid; place-items: center;
  font-weight: 600;
  transition: background var(--t);
}
.cart-item__btn:hover { background: #fff; }
.cart-item__qty { min-width: 20px; text-align: center; font-weight: 600; font-size: 14px; }
.cart-item__right { display: flex; flex-direction: column; align-items: end; gap: 8px; }
.cart-item__price { font-weight: 600; font-size: 14px; }
.cart-item__remove {
  font-size: 12px; color: var(--ink-4);
  padding: 2px 6px; border-radius: var(--r-xs);
  transition: color var(--t);
}
.cart-item__remove:hover { color: var(--danger); }

.totals {
  display: flex; flex-direction: column; gap: 6px;
  margin-bottom: 14px;
}
.totals__row {
  display: flex; justify-content: space-between;
  font-size: 14px; color: var(--ink-3);
}
.totals__row--total {
  font-family: var(--font-display);
  font-size: 20px; font-weight: 700;
  color: var(--ink);
  padding-top: 8px;
  border-top: 1px solid var(--line);
  margin-top: 4px;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 22px;
  border-radius: var(--r-pill);
  font-weight: 700; font-size: 15px;
  transition: transform var(--t), box-shadow var(--t), background var(--t);
  cursor: pointer;
  width: 100%;
  text-align: center;
}
.btn--primary {
  background: var(--ink); color: #fff;
  box-shadow: var(--shadow-brand);
}
.btn--primary:hover { transform: translateY(-2px); background: var(--brand-dark); }
.btn--dark {
  background: var(--black); color: #fff;
}
.btn--dark:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--ghost {
  background: var(--bg-soft); color: var(--ink);
}
.btn--ghost:hover { background: var(--line-2); color: var(--ink); }
.btn--whatsapp {
  background: #25D366; color: #fff;
}
.btn--whatsapp:hover { background: #1eb858; transform: translateY(-2px); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none !important; }

/* =====================
   MODAL PRODUCTO (toppings)
   ===================== */
.modal {
  position: fixed; inset: 0;
  display: grid; place-items: center;
  padding: 20px;
  z-index: 100;
  opacity: 0; visibility: hidden;
  transition: opacity var(--t), visibility var(--t);
}
.modal.is-open { opacity: 1; visibility: visible; }
.modal__panel {
  background: var(--bg);
  border-radius: var(--r-xl);
  width: 100%;
  max-width: 460px;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  transform: translateY(20px) scale(0.98);
  transition: transform var(--t-slow);
}
.modal.is-open .modal__panel { transform: translateY(0) scale(1); }
.modal__hero {
  position: relative;
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, var(--bg-soft), var(--brand-soft));
  display: grid; place-items: center;
  font-size: 110px;
  overflow: hidden;
}
.modal__hero--img { background: var(--bg-soft); }
.modal__hero--img > img {
  width: 100%; height: 100%; object-fit: cover;
}
.modal__close {
  position: absolute; top: 14px; right: 14px;
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,0.9);
  display: grid; place-items: center;
  backdrop-filter: blur(6px);
  color: var(--ink);
}
.modal__body { padding: 22px 24px 24px; }
.modal__title {
  font-family: var(--font-display); font-size: 24px; font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
  color: var(--ink);
}
.modal__desc {
  font-size: 14px; color: var(--ink-3);
  margin-bottom: 18px;
}
.modal__section-title {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 14px; font-weight: 700;
  margin-bottom: 10px;
  margin-top: 18px;
}
.modal__section-title small { font-weight: 400; color: var(--ink-4); font-size: 12px; }

.topping {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 14px;
  background: var(--bg-elev);
  border: 1.5px solid var(--line);
  border-radius: var(--r-md);
  margin-bottom: 8px;
  cursor: pointer;
  transition: all var(--t);
}
.topping:hover { border-color: var(--line-2); }
.topping input { display: none; }
.topping__label { display: flex; align-items: center; gap: 10px; font-weight: 500; font-size: 14px; }
.topping__emoji { font-size: 20px; }
.topping__check {
  width: 22px; height: 22px;
  border-radius: 8px;
  border: 2px solid var(--line-2);
  display: grid; place-items: center;
  transition: all var(--t);
}
.topping__check svg { width: 14px; height: 14px; opacity: 0; transition: opacity var(--t); }
.topping.is-selected {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}
.topping.is-selected .topping__check {
  background: var(--brand-soft);
  border-color: var(--brand-soft);
  color: var(--ink);
}
.topping.is-selected .topping__check svg { opacity: 1; }

.qty-stepper {
  display: inline-flex; align-items: center;
  background: var(--bg-soft);
  border-radius: var(--r-pill);
  padding: 6px;
  gap: 6px;
}
.qty-stepper button {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--bg-elev);
  display: grid; place-items: center;
  font-weight: 600;
}
.qty-stepper span { min-width: 32px; text-align: center; font-weight: 700; }

.modal__foot {
  display: flex; align-items: center; gap: 12px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  margin-top: 20px;
}
.modal__foot .btn { flex: 1; }

/* =====================
   CHECKOUT FLOW (drawer steps)
   ===================== */
.stepper {
  display: flex; gap: 6px;
  margin-bottom: 22px;
}
.stepper__dot {
  flex: 1; height: 4px;
  border-radius: 4px;
  background: var(--line);
  transition: background var(--t);
}
.stepper__dot.is-active { background: var(--ink); }
.stepper__dot.is-done { background: var(--brand-soft); }

.step { display: none; }
.step.is-active { display: block; animation: stepIn var(--t-slow); }
@keyframes stepIn {
  from { opacity: 0; transform: translateX(12px); }
  to { opacity: 1; transform: translateX(0); }
}
.step__title {
  font-family: var(--font-display);
  font-size: 22px; font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
  color: var(--ink);
}
.step__hint {
  font-size: 14px; color: var(--ink-3);
  margin-bottom: 20px;
}

.field { margin-bottom: 14px; }
.field label {
  display: block;
  font-size: 13px; font-weight: 600;
  margin-bottom: 6px;
  color: var(--ink-2);
}
.field input, .field textarea {
  width: 100%;
  padding: 14px 16px;
  background: var(--bg-elev);
  border: 1.5px solid var(--line);
  border-radius: var(--r-md);
  font-size: 15px;
  transition: border-color var(--t), box-shadow var(--t);
  font-family: inherit;
}
.field input:focus, .field textarea:focus {
  outline: 0;
  border-color: var(--ink);
  box-shadow: 0 0 0 4px rgba(20, 20, 15, 0.06);
}
.field textarea { min-height: 80px; resize: vertical; }

.pay-options { display: grid; gap: 10px; margin-bottom: 16px; }
.pay-option {
  display: flex; align-items: center; gap: 14px;
  padding: 16px;
  background: var(--bg-elev);
  border: 1.5px solid var(--line);
  border-radius: var(--r-md);
  cursor: pointer;
  transition: all var(--t);
  position: relative;
}
.pay-option:hover { border-color: var(--line-2); }
.pay-option input { position: absolute; opacity: 0; pointer-events: none; }
.pay-option__logo {
  width: 46px; height: 46px;
  border-radius: var(--r-sm);
  display: grid; place-items: center;
  font-weight: 800; font-size: 14px;
  letter-spacing: -0.02em;
  color: #fff;
  flex-shrink: 0;
}
.pay-option__logo--nequi { background: #da0080; }
.pay-option__logo--banco { background: #fdda24; color: #00254d; }
.pay-option__logo--bre { background: linear-gradient(135deg, #00a8b5, #004b6a); }
.pay-option__info { flex: 1; }
.pay-option__name { font-weight: 700; font-size: 15px; }
.pay-option__meta { font-size: 12px; color: var(--ink-3); }
.pay-option__radio {
  width: 22px; height: 22px; border-radius: 50%;
  border: 2px solid var(--line-2);
  position: relative;
  transition: all var(--t);
}
.pay-option.is-selected {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}
.pay-option.is-selected .pay-option__meta { color: rgba(255,255,255,0.6); }
.pay-option.is-selected .pay-option__radio {
  border-color: var(--brand-soft);
  background: var(--brand-soft);
}
.pay-option.is-selected .pay-option__radio::after {
  content: ""; position: absolute; inset: 4px;
  border-radius: 50%; background: var(--ink);
}

/* Summary step */
.summary-block {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 18px;
  margin-bottom: 12px;
}
.summary-block h4 {
  font-family: var(--font-display);
  font-size: 15px; font-weight: 700;
  margin-bottom: 10px;
  display: flex; align-items: center; gap: 8px;
  color: var(--ink);
}
.summary-block p { font-size: 14px; color: var(--ink-2); line-height: 1.5; }
.summary-block ul li {
  padding: 6px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 14px;
  display: flex; justify-content: space-between;
}
.summary-block ul li:last-child { border-bottom: 0; }
.summary-block ul li span:last-child { font-weight: 600; }
.summary-block ul li small { display: block; color: var(--ink-3); font-size: 12px; margin-top: 2px; }

/* Step nav */
.step-nav {
  display: flex; gap: 10px;
  margin-top: 8px;
}
.step-nav .btn { flex: 1; }
.step-nav .btn--back {
  flex: 0 0 auto; width: auto;
  padding: 14px 18px;
  background: var(--bg-soft);
}

/* =====================
   PAGO MODAL (con datos bancarios)
   ===================== */
.pay-modal .modal__panel { max-width: 440px; }
.pay-data {
  background: var(--ink); color: #fff;
  border-radius: var(--r-lg);
  padding: 20px;
  margin: 16px 0;
}
.pay-data__label { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.55); margin-bottom: 6px; font-weight: 600; }
.pay-data__value {
  font-family: var(--font-display);
  font-size: 26px; font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px;
  color: #fff;
}
.pay-data__copy {
  background: var(--brand-soft); color: var(--ink);
  padding: 6px 12px; border-radius: var(--r-pill);
  font-size: 12px; font-weight: 700;
  transition: transform var(--t);
}
.pay-data__copy:hover { transform: scale(1.05); background: #fff; }
.pay-data__sub { font-size: 13px; color: rgba(255,255,255,0.65); }

.pay-info {
  padding: 14px 16px;
  background: rgba(199, 199, 234, 0.3);
  border: 1px solid var(--line-2);
  border-radius: var(--r-md);
  margin-bottom: 16px;
  font-size: 13px; color: var(--ink-2);
  line-height: 1.55;
}
.pay-info strong { color: var(--ink); font-weight: 700; }

/* Toast */
.toast {
  position: fixed;
  top: 90px;
  left: 50%;
  transform: translateX(-50%) translateY(-20px);
  background: var(--ink); color: #fff;
  padding: 12px 18px;
  border-radius: var(--r-pill);
  font-size: 14px; font-weight: 600;
  z-index: 200;
  opacity: 0;
  transition: opacity var(--t), transform var(--t);
  box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 10px;
}
.toast.is-visible { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast__icon {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--brand-soft); color: var(--ink);
  display: grid; place-items: center;
  font-size: 14px;
  font-weight: 700;
}

/* =====================
   FOOTER
   ===================== */
.footer {
  padding: 40px 0 120px;
  border-top: 1px solid var(--line);
  margin-top: 60px;
  font-size: 13px;
  color: var(--ink-3);
}
.footer__inner {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 16px;
}
.footer a { color: var(--ink-2); }
.footer a:hover { color: var(--ink); text-decoration: underline; }

/* =====================
   RESPONSIVE
   ===================== */
@media (max-width: 860px) {
  /* Margen lateral generoso tipo app móvil */
  .container { padding: 0 6vw; }

  /* === Carrusel mobile: ver override al final del archivo === */
  .promo-carousel__nav { display: none; }

  .section { padding: 20px 30px 160px; /* extra para bottom nav */ }
  .section__head {
    flex-direction: column;
    align-items: start;
    gap: 6px;
  }
  .section__title { font-size: 24px; }
  .section__meta { font-size: 12px; }

  .grid-products {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .product { padding: 10px; border-radius: var(--r-md); }
  .product__media { margin-bottom: 10px; border-radius: var(--r-sm); }
  .product__img { font-size: 52px; }
  .product__name { font-size: 14px; line-height: 1.25; }
  .product__desc { font-size: 12px; line-height: 1.4; margin-bottom: 10px; }
  .product__price strong { font-size: 16px; }
  .product__add { width: 34px; height: 34px; }
  .product__add svg { width: 16px; height: 16px; }

  /* Nav: más compacto y oculta links */
  .nav { height: 60px; padding: 0; }
  .nav__inner { padding: 0 6vw; }
  .nav__link { display: none; }
  .brand { font-size: 18px; }
  .brand__mark { width: 32px; height: 32px; font-size: 14px; border-radius: 10px; }
  .cart-btn { padding: 8px 12px; font-size: 13px; }
  .cart-btn__label { display: none; }

  /* Cart bar: subir para no chocar con bottom nav */
  .cart-bar {
    width: calc(100% - 12vw);
    bottom: 90px;
    padding: 10px 12px 10px 18px;
  }
  .cart-bar__total { font-size: 16px; }
  .cart-bar__cta { padding: 10px 14px; font-size: 13px; }

  /* Drawer y modales fullscreen tipo app */
  .drawer {
    max-width: 100%;
    border-top-left-radius: var(--r-xl);
    border-top-right-radius: var(--r-xl);
    height: 92vh;
    top: 8vh;
    transform: translateY(110%);
  }
  .drawer.is-open { transform: translateY(0); }
  .drawer__head { padding: 18px 22px 12px; }
  .drawer__body { padding: 16px 22px; }
  .drawer__foot { padding: 14px 22px 22px; }

  /* Modal: bottom sheet tipo app */
  .modal { padding: 0; align-items: end; }
  .modal__panel {
    max-width: 100%;
    max-height: 92vh;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    transform: translateY(40px) scale(1);
  }
  .modal.is-open .modal__panel { transform: translateY(0) scale(1); }
  .modal__body { padding: 18px 22px 22px; }
  .modal__hero { aspect-ratio: 16/8; }

  /* Steps form: campos más cómodos */
  .field input, .field textarea {
    padding: 13px 14px;
    font-size: 16px; /* evita zoom en iOS */
  }
  .step__title { font-size: 20px; }
}

@media (max-width: 420px) {
  .grid-products { grid-template-columns: 1fr 1fr; gap: 10px; }
  .hero__card { padding: 22px 20px; border-radius: var(--r-lg); }
  .hero__title { font-size: 26px; }
  .hero__desc { font-size: 13px; }
}

.cart-bar.is-pulse { animation: cartPulse 400ms cubic-bezier(.2,.7,.2,1); }
@keyframes cartPulse {
  0%   { transform: translateX(-50%) translateY(0) scale(1); }
  40%  { transform: translateX(-50%) translateY(0) scale(1.04); }
  100% { transform: translateX(-50%) translateY(0) scale(1); }
}

/* Scrollbar sutil */
.drawer__body::-webkit-scrollbar,
.modal__panel::-webkit-scrollbar { width: 6px; }
.drawer__body::-webkit-scrollbar-thumb,
.modal__panel::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 6px; }

/* Animación entrada productos */
.product { animation: cardIn 0.5s cubic-bezier(.2,.7,.2,1) both; }
.product:nth-child(1) { animation-delay: .02s; }
.product:nth-child(2) { animation-delay: .06s; }
.product:nth-child(3) { animation-delay: .10s; }
.product:nth-child(4) { animation-delay: .14s; }
.product:nth-child(5) { animation-delay: .18s; }
.product:nth-child(6) { animation-delay: .22s; }
.product:nth-child(7) { animation-delay: .26s; }
.product:nth-child(8) { animation-delay: .30s; }
@keyframes cardIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Accesibilidad focus */
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

/* Badge de descuento flotante */
.discount-badge {
  position: absolute;
  top: -6px; right: -6px;
  background: var(--black);
  color: #fff;
  font-size: 11px; font-weight: 800;
  padding: 4px 8px;
  border-radius: var(--r-pill);
  transform: rotate(6deg);
  box-shadow: var(--shadow-sm);
}

/* ==========================================================
   TRACKER DEL PEDIDO (cliente)
   ========================================================== */
.tracker__hero {
  flex-direction: column;
  background: linear-gradient(160deg, var(--ink), var(--brand-dark));
  color: #fff;
  text-align: center;
  padding: 22px 22px 28px;
  aspect-ratio: auto;
  display: flex;
  font-size: initial;
}
.tracker__hero--cancel {
  flex-direction: column;
  background: linear-gradient(160deg, #4a3030, #2a1818);
  color: #fff;
  text-align: center;
  padding: 22px 22px 28px;
  aspect-ratio: auto;
  display: flex;
  font-size: initial;
}
.tracker__hero-top {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 12px;
}
.tracker__code {
  font-size: 12px;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.65);
}
.tracker__code strong {
  font-family: var(--font-display);
  color: var(--brand-soft);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.15em;
  margin-left: 6px;
}
.tracker__status-icon {
  font-size: 56px; line-height: 1;
  margin: 8px 0;
  animation: bounce 2s ease-in-out infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}
.tracker__status-label {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}
.tracker__status-msg {
  font-size: 14px;
  color: rgba(255,255,255,0.78);
  max-width: 320px;
  margin: 0 auto;
}

.track-steps {
  display: flex; flex-direction: column;
  gap: 0;
  margin-bottom: 20px;
  position: relative;
}
.track-step {
  display: flex; align-items: center;
  gap: 14px;
  padding: 12px 0;
  position: relative;
}
.track-step:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 19px; top: 46px; bottom: -6px;
  width: 2px;
  background: var(--line);
  z-index: 0;
}
.track-step.is-done:not(:last-child)::after { background: var(--ink); }
.track-step__bullet {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--bg-soft);
  border: 2px solid var(--line);
  display: grid; place-items: center;
  font-size: 18px;
  z-index: 1;
  flex-shrink: 0;
  transition: all var(--t);
}
.track-step.is-done .track-step__bullet {
  background: var(--ink); border-color: var(--ink);
}
.track-step.is-current .track-step__bullet {
  background: var(--brand-soft); border-color: var(--ink);
  box-shadow: 0 0 0 6px rgba(11, 36, 101, 0.12);
  animation: pulseRing 1.5s ease-in-out infinite;
}
@keyframes pulseRing {
  0%, 100% { box-shadow: 0 0 0 6px rgba(11, 36, 101, 0.12); }
  50%      { box-shadow: 0 0 0 10px rgba(11, 36, 101, 0.05); }
}
.track-step__content { flex: 1; }
.track-step__label {
  font-weight: 600;
  font-size: 14px;
  color: var(--ink-3);
}
.track-step.is-done .track-step__label { color: var(--ink); }
.track-step.is-current .track-step__label { color: var(--ink); font-weight: 700; }
.track-step__time {
  font-size: 12px;
  color: var(--ink-4);
  margin-top: 2px;
}

/* ==========================================================
   NAV — botón "Mi pedido"
   ========================================================== */
.nav__track {
  background: none;
  border: 0;
  cursor: pointer;
}

/* ==========================================================
   TOGGLE BUTTON (sin doble disparo)
   ========================================================== */
.toggle-btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 12px 14px;
  background: var(--bg-elev);
  border: 1.5px solid var(--line);
  border-radius: var(--r-md);
  cursor: pointer;
  font: inherit;
  color: var(--ink);
  width: 100%;
  text-align: left;
  transition: all var(--t);
}
.toggle-btn:hover { border-color: var(--line-2); }
.toggle-btn__track {
  width: 40px; height: 22px;
  border-radius: 11px;
  background: var(--line);
  position: relative;
  transition: background var(--t);
  flex-shrink: 0;
}
.toggle-btn__thumb {
  position: absolute;
  top: 2px; left: 2px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: #fff;
  transition: transform var(--t);
  box-shadow: var(--shadow-sm);
}
.toggle-btn.is-on .toggle-btn__track { background: var(--brand-dark); }
.toggle-btn.is-on .toggle-btn__thumb { transform: translateX(18px); }
.toggle-btn__label { font-size: 14px; font-weight: 500; }

/* ==========================================================
   GRUPOS DE TOPPINGS (cliente — modal de producto)
   ========================================================== */
.topping-group-cust { margin-top: 14px; }
.topping-group-cust:first-child { margin-top: 0; }
.topping-group-cust__title {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700;
  color: var(--ink-3);
  letter-spacing: 0.04em;
  margin-bottom: 8px;
  padding-bottom: 6px;
  border-bottom: 1px dashed var(--line);
}

/* ==========================================================
   CARRUSEL DE PROMOCIONES (home)
   ========================================================== */
.hero-section {
  padding: 28px 0 12px;
  position: relative;
}
.promo-carousel {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: transparent;
}
.promo-carousel__track {
  display: flex;
  transition: transform 0.55s cubic-bezier(.2,.7,.2,1);
  will-change: transform;
}
.promo-slide {
  flex: 0 0 100%;
  min-width: 100%;
  position: relative;
  background: var(--ink);
  color: #fff;
  border-radius: var(--r-xl);
  padding: 40px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 20px;
  min-height: 320px;
}
.promo-slide__content { position: relative; z-index: 2; }
.promo-slide__eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--brand-soft); font-weight: 600;
  margin-bottom: 14px;
}
.promo-slide__eyebrow::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--brand-soft);
  box-shadow: 0 0 0 6px rgba(199, 199, 234, 0.22);
}
.promo-slide__badge {
  display: inline-block;
  background: var(--brand-soft);
  color: var(--ink);
  padding: 5px 12px;
  border-radius: var(--r-pill);
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  margin-bottom: 14px;
}
.promo-slide__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 4.2vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin-bottom: 14px;
  color: #fff;
}
.promo-slide__title em { font-style: normal; color: var(--brand-soft); font-weight: 700; }
.promo-slide__desc {
  color: rgba(255,255,255,0.75);
  font-size: 15px;
  max-width: 480px;
  margin-bottom: 22px;
}
.promo-slide__cta {
  display: inline-flex; align-items: center; gap: 10px;
  background: #fff; color: var(--ink);
  padding: 14px 22px;
  border-radius: var(--r-pill);
  font-weight: 700; font-size: 15px;
  transition: transform var(--t), background var(--t);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  border: 0;
}
.promo-slide__cta:hover { transform: translateY(-2px); background: var(--brand-soft); }
.promo-slide__cta svg { width: 16px; height: 16px; }

.promo-slide__visual {
  position: relative;
  height: 100%;
  min-height: 240px;
  z-index: 1;
}
.promo-slide__photo {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: var(--r-lg);
}

/* Dots */
.promo-carousel__dots {
  position: absolute;
  bottom: 18px; left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 8px;
  z-index: 5;
}
.promo-carousel__dot {
  width: 8px; height: 8px;
  border-radius: 4px;
  background: rgba(255,255,255,0.4);
  border: 0;
  padding: 0;
  cursor: pointer;
  transition: all var(--t);
}
.promo-carousel__dot:hover { background: rgba(255,255,255,0.7); }
.promo-carousel__dot.is-active {
  background: var(--brand-soft);
  width: 24px;
}

/* Botones prev/next */
.promo-carousel__nav {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  border: 0;
  display: grid; place-items: center;
  cursor: pointer;
  z-index: 5;
  transition: all var(--t);
  color: var(--ink);
  backdrop-filter: blur(6px);
}
.promo-carousel__nav:hover { background: #fff; transform: translateY(-50%) scale(1.05); }
.promo-carousel__nav--prev { left: 14px; }
.promo-carousel__nav--next { right: 14px; }
@media (max-width: 860px) {
  .promo-carousel__nav { display: none; }
}

/* ==========================================================
   CARRUSEL MOBILE (override final con specificity de orden)
   ========================================================== */
@media (max-width: 860px) {
  .hero-section { padding: 14px 0 12px; }
  .promo-carousel { border-radius: var(--r-xl); overflow: hidden; }
  .promo-carousel__track { /* sin cambios estructurales */ }

  .promo-slide {
    grid-template-columns: 1fr;
    padding: 0;
    min-height: 72vh;
    height: 72vh;
    border-radius: var(--r-xl);
    background: var(--ink);
    overflow: hidden;
    display: block; /* anula el grid del desktop */
    position: relative;
  }

  /* Visual decorativo: solo en el TOP del slide */
  .promo-slide__visual {
    position: absolute !important;
    top: 0; left: 0; right: 0; bottom: auto !important;
    height: 50% !important;
    z-index: 0;
    min-height: 0;
    overflow: hidden;
  }
  .promo-slide__photo {
    width: 100%; height: 100%;
    object-fit: cover;
    border-radius: 0;
    position: absolute; inset: 0;
  }
  .promo-slide__visual .hero__plate {
    width: 60vw !important; height: 60vw !important;
    max-width: 240px; max-height: 240px;
    top: 50% !important; left: 50% !important;
    transform: translate(-50%, -50%) !important;
    opacity: 0.85;
  }
  .promo-slide__visual .hero__blob {
    inset: -10%;
  }
  .promo-slide__visual .hero__sprinkles {
    display: none;
  }

  /* Contenido: posicionado al fondo del slide, fondo sólido ink */
  .promo-slide__content {
    position: absolute !important;
    left: 0; right: 0; bottom: 0; top: auto;
    z-index: 2;
    padding: 22px 22px 24px;
    background: var(--ink);
    display: flex; flex-direction: column; align-items: flex-start;
    /* Difumina la unión con la imagen de arriba */
    box-shadow: 0 -28px 28px -8px var(--ink);
  }

  /* Eyebrow / badge: pill compacto inline */
  .promo-slide__eyebrow,
  .promo-slide__badge {
    display: inline-flex !important;
    width: auto !important;
    align-self: flex-start;
    padding: 4px 10px !important;
    border-radius: var(--r-pill) !important;
    font-size: 10px !important;
    font-weight: 700;
    letter-spacing: 0.12em !important;
    margin-bottom: 12px !important;
    text-transform: uppercase;
  }
  .promo-slide__eyebrow {
    background: rgba(199, 199, 234, 0.18);
    color: var(--brand-soft);
  }
  .promo-slide__eyebrow::before { display: none !important; }
  .promo-slide__badge {
    background: var(--brand-soft);
    color: var(--ink);
  }

  /* Título compacto */
  .promo-slide__title {
    font-size: 22px !important;
    line-height: 1.18 !important;
    margin-bottom: 8px !important;
    letter-spacing: -0.02em;
    max-width: 100%;
  }

  /* Descripción 3 líneas máx */
  .promo-slide__desc {
    font-size: 13px !important;
    line-height: 1.5 !important;
    margin-bottom: 14px !important;
    color: rgba(255,255,255,0.72);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    max-width: 100%;
  }

  /* CTA en lila brand-soft, full width */
  .promo-slide__cta {
    width: 100%;
    justify-content: center;
    background: var(--brand-soft) !important;
    color: var(--ink) !important;
    padding: 13px 22px !important;
    font-size: 14px !important;
    box-shadow: none !important;
  }
  .promo-slide__cta:hover { background: #fff !important; transform: none !important; }

  /* Dots arriba a la derecha sobre la imagen */
  .promo-carousel__dots {
    bottom: auto !important;
    top: 14px;
    left: auto;
    right: 14px;
    transform: none !important;
    z-index: 3;
  }
  .promo-carousel__dot {
    background: rgba(255,255,255,0.5);
    width: 6px; height: 6px;
  }
  .promo-carousel__dot.is-active {
    background: #fff;
    width: 18px;
  }
}

/* ==========================================================
   BOTTOM NAV (mobile)
   ========================================================== */
.bottom-nav {
  display: flex;
  position: fixed;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 12vw);
  max-width: 460px;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  padding: 8px;
  box-shadow: var(--shadow-lg);
  z-index: 60;
  align-items: stretch;
  justify-content: space-between;
  gap: 4px;
}
@media (min-width: 861px) {
  .bottom-nav { display: none; }
}
.bottom-nav__item {
  flex: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2px;
  padding: 8px 6px;
  background: none;
  border: 0;
  border-radius: var(--r-pill);
  cursor: pointer;
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-3);
  transition: all var(--t);
  min-height: 50px;
}
.bottom-nav__item svg { width: 20px; height: 20px; flex-shrink: 0; }
.bottom-nav__item:hover { color: var(--ink); }
.bottom-nav__item.is-active {
  background: var(--ink);
  color: #fff;
}
.bottom-nav__item.is-active svg {
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

/* ==========================================================
   SIZE PICKER (cliente)
   ========================================================== */
.size-picker {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 8px;
  margin-bottom: 16px;
}
.size-pick {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 12px 14px;
  background: var(--bg-elev, #fff);
  border: 1.5px solid var(--line, #E5E7EB);
  border-radius: var(--r-md, 14px);
  cursor: pointer;
  font: inherit;
  color: var(--ink);
  text-align: left;
  transition: all .18s ease;
}
.size-pick:hover { border-color: var(--ink-3, #6E7796); }
.size-pick.is-selected {
  background: var(--ink, #0B2465);
  border-color: var(--ink, #0B2465);
  color: #fff;
}
.size-pick__name { font-size: 13px; font-weight: 600; }
.size-pick__price { font-size: 14px; font-weight: 700; opacity: 0.9; }

/* Notice de fecha entrega */
.delivery-notice {
  margin-top: 8px;
  padding: 10px 12px;
  background: rgba(199, 199, 234, 0.35);
  border-left: 3px solid var(--ink, #0B2465);
  border-radius: 8px;
  font-size: 13px;
  color: var(--ink, #0B2465);
  line-height: 1.4;
}

/* Tamaño en línea de carrito */
.cart-item__size {
  font-size: 12px;
  color: var(--ink-3, #6E7796);
  margin-bottom: 4px;
  font-weight: 500;
}

/* ==========================================================
   CARRUSEL MOBILE — REDISEÑO COMPACTO Y BONITO
   ========================================================== */
@media (max-width: 860px) {
  .promo-slide {
    grid-template-columns: 1fr !important;
    padding: 0 !important;
    min-height: 72vh !important;
    height: 72vh !important;
    border-radius: 24px !important;
    overflow: hidden;
    position: relative;
  }
  /* La decoración / imagen ocupa la mitad superior */
  .promo-slide__visual {
    position: absolute !important;
    top: 0; left: 0; right: 0;
    height: 50% !important;
    min-height: 0 !important;
    z-index: 0;
    overflow: hidden;
  }
  .promo-slide__visual .hero__plate {
    width: 60vw !important; height: 60vw !important;
    max-width: 240px !important; max-height: 240px !important;
    top: 50% !important; left: 50% !important;
    transform: translate(-50%, -50%) !important;
  }
  .promo-slide__visual .hero__blob,
  .promo-slide__visual .hero__sprinkles { display: none !important; }
  .promo-slide__photo {
    width: 100% !important; height: 100% !important;
    object-fit: cover !important;
    border-radius: 0 !important;
  }
  /* Contenido en la mitad inferior con fondo sólido */
  .promo-slide__content {
    position: absolute !important;
    bottom: 0; left: 0; right: 0;
    height: 50% !important;
    padding: 24px 22px 26px !important;
    background: var(--ink, #0B2465) !important;
    border-radius: 0 !important;
    display: flex !important;
    flex-direction: column;
    justify-content: space-between;
    align-self: stretch !important;
  }
  .promo-slide__badge {
    display: inline-block !important;
    align-self: flex-start;
    padding: 4px 10px !important;
    font-size: 10px !important;
    background: var(--brand-soft, #C7C7EA) !important;
    color: var(--ink, #0B2465) !important;
    border-radius: 999px !important;
    margin-bottom: 10px !important;
    width: auto !important;
  }
  .promo-slide__eyebrow {
    font-size: 10px !important;
    margin-bottom: 8px !important;
  }
  .promo-slide__title {
    font-size: 22px !important;
    line-height: 1.18 !important;
    margin-bottom: 8px !important;
    color: #fff !important;
  }
  .promo-slide__title em { color: var(--brand-soft, #C7C7EA) !important; }
  .promo-slide__desc {
    font-size: 12.5px !important;
    line-height: 1.45 !important;
    margin-bottom: 12px !important;
    color: rgba(255,255,255,0.78) !important;
    /* máx 3 líneas */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .promo-slide__cta {
    align-self: stretch;
    width: 100%;
    justify-content: center;
    padding: 12px 20px !important;
    font-size: 14px !important;
    background: var(--brand-soft, #C7C7EA) !important;
    color: var(--ink, #0B2465) !important;
  }
  .promo-carousel__dots {
    bottom: auto !important;
    top: 14px !important;
    right: 14px !important;
    left: auto !important;
    transform: none !important;
  }
  .promo-carousel__dot {
    background: rgba(255, 255, 255, 0.85) !important;
  }
  .promo-carousel__dot.is-active {
    background: var(--brand-soft, #C7C7EA) !important;
  }
}
