@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800;900&family=Playfair+Display:wght@700;900&display=swap');

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

:root {
  /* ── VERDES (primarios) — opacos, apagados, sin brillo ── */
  --primary:       #2E6B45;   /* verde bosque opaco — botones principales */
  --primary-dark:  #1E4F31;   /* verde muy oscuro — hover/pressed */
  --primary-light: #427A57;   /* verde medio apagado — precios, badges */
  --accent:        #5A8E6F;   /* verde grisáceo — títulos, etiquetas */
  --accent-light:  #1E3D2A;   /* verde oscuro casi negro — sutiles */
  --gold:          #4A7A5C;   /* verde apagado neutro — reemplaza dorado */

  /* ── FONDOS GRIS OSCURO TIPO EDITOR (VS Code) ── */
  --bg:    #1A1A1A;   /* fondo principal — más profundo */
  --bg2:   #202020;   /* fondo secundario — ligeramente elevado */

  /* ── TARJETAS / SUPERFICIES ── */
  --card:  #272727;   /* tarjeta — superficie principal */
  --card2: #313131;   /* tarjeta elevada — hover/secundaria */

  /* ── BORDES Y SEPARADORES ── */
  --border: #2E4A38;  /* borde verde oscuro muy discreto */

  /* ── TEXTO (menos brillante) ── */
  --text:       #B8B8B8;   /* texto principal — gris medio, no blanco puro */
  --text-muted: #5E8A6E;   /* texto secundario — verde apagado */
  --text-light: #C8C8C8;   /* texto claro — menos luminoso */

  /* ── INPUTS ── */
  --input-bg:   #313131;   /* fondo input oscuro */
  --input-text: #B8B8B8;   /* texto input gris medio */

  --success: #2E9455;
  --white:   #FFFFFF;
  --radius:    12px;
  --radius-sm:  8px;
  --shadow:    0 8px 30px rgba(0,0,0,0.55), 0 2px 8px rgba(0,0,0,0.4);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.4);
}

html {
  font-size: 16px;
}

body {
  font-family: 'Nunito', 'Inter', sans-serif;
  background: var(--bg);
  background-image:
    radial-gradient(ellipse 80% 40% at 80% 0%, rgba(90, 158, 111, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 0% 100%, rgba(61, 122, 82, 0.05) 0%, transparent 60%);
  color: var(--text-light);
  min-height: 100vh;
}

/* ── HEADER ── */
.header {
  background: rgba(37, 37, 38, 0.97); /* gris VS Code panel */
  backdrop-filter: blur(12px);
  border-bottom: 2px solid var(--primary-dark);
  padding: 0 20px;
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.35);
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-logo img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary-light);
  /* Borde claro para resaltar en fondo oscuro */
}

.header-logo span {
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--gold);
  /* Tono dorado/claro para la marca */
  letter-spacing: 0.5px;
  font-family: 'Playfair Display', serif;
}

.header-logo .tagline {
  font-size: 0.65rem;
  color: var(--text-light);
  /* Texto claro para la descripción */
  font-weight: 600;
  letter-spacing: 0.5px;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.cart-btn {
  background: var(--primary-light);
  color: #1A261D;
  border: none;
  border-radius: 50px;
  padding: 8px 16px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: background 0.2s;
  text-decoration: none;
}

.cart-btn:hover {
  background: var(--primary);
  color: #1A261D;
}

.cart-badge {
  background: #1A261D;
  color: var(--primary-light);
  border-radius: 50%;
  width: 20px;
  height: 20px;
  font-size: 0.7rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── PROGRESS BAR ── */
.progress-wrap {
  background: var(--bg2);
  padding: 12px 20px;
  border-bottom: 1px solid var(--border);
}

.progress-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  flex: 1;
  position: relative;
}

.step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 14px;
  left: 60%;
  width: 80%;
  height: 2px;
  background: var(--border);
  z-index: 0;
}

.step.active:not(:last-child)::after,
.step.done:not(:last-child)::after {
  background: var(--primary);
}

.step-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--border);
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  transition: all 0.3s;
}

.step.active .step-dot {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 0 0 4px rgba(74, 122, 82, 0.2);
}

.step.done .step-dot {
  background: var(--success);
  color: #fff;
}

.step span {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--text-light);
  /* Modificado a claro */
  text-align: center;
  max-width: 60px;
  line-height: 1.2;
}

.step.active span {
  color: var(--text-light);
  font-weight: 800;
}

/* ── CONTENEDOR PRINCIPAL ── */
.container {
  max-width: 500px;
  margin: 0 auto;
  padding: 85px 15px 90px;
}

/* ── SPLASH (Index) ── */
#splash-screen {
  position: fixed;
  inset: 0;
  background-color: var(--bg);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: opacity 0.5s ease;
}

#splash-screen.hidden {
  opacity: 0;
  pointer-events: none;
}

.splash-bg-mosaic {
  position: absolute;
  inset: -10%;
  width: 120%;
  height: 120%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 1fr;
  gap: 15px;
  opacity: 0.12;
  pointer-events: none;
  transform: rotate(-10deg) scale(1.1);
}

.splash-bg-mosaic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

.splash-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 20px;
}

.splash-logo-wrap {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  padding: 4px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--gold) 100%);
  margin-bottom: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.splash-logo-wrap img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--bg);
}

.splash-name {
  font-family: 'Playfair Display', serif;
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--white);
  letter-spacing: 1px;
  margin-bottom: 5px;
  text-shadow: 0 4px 12px rgba(0,0,0,0.4);
}

.splash-name span {
  color: var(--primary-light);
}

.splash-tagline {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-light);
  letter-spacing: 2px;
  margin-bottom: 30px;
}

.splash-food-row {
  display: flex;
  gap: 12px;
  margin-bottom: 40px;
}

.splash-food-img {
  width: 65px;
  height: 65px;
  border-radius: 12px;
  object-fit: cover;
  border: 2px solid var(--border);
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.splash-bar-wrap {
  width: 200px;
  height: 4px;
  background: var(--bg2);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 10px;
}

.splash-bar {
  height: 100%;
  background: var(--primary-light);
  width: 0%;
  animation: loadBar 2.5s ease-in-out forwards;
}

@keyframes loadBar {
  0% { width: 0%; }
  40% { width: 60%; }
  100% { width: 100%; }
}

/* ── MAIN CONTENT ── */
.main {
  padding: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

/* ── PAGE TITLE ── */
.page-title {
  font-size: 1.5rem;
  font-weight: 900;
  margin-bottom: 4px;
  font-family: 'Playfair Display', serif;
  color: var(--white);
  /* Para resaltar sobre el fondo verde pastel oscuro */
}

.page-subtitle {
  font-size: 0.85rem;
  color: var(--text-light);
  /* En vez de text-muted oscuro */
  margin-bottom: 20px;
  font-weight: 600;
}

/* ── CATEGORY FILTER ── */
.category-row {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 8px;
  margin-bottom: 20px;
  scrollbar-width: none;
  margin-left: -20px;
  margin-right: -20px;
  padding-left: 20px;
  padding-right: 20px;
}

.category-row::-webkit-scrollbar {
  display: none;
}

.cat-btn {
  background: var(--card);
  color: var(--text-muted);
  border: 1.5px solid var(--border);
  border-radius: 50px;
  padding: 7px 16px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s;
  font-family: 'Nunito', sans-serif;
}

.cat-btn.active,
.cat-btn:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(74, 122, 82, 0.28);
}

/* ── SECTION LABEL ── */
.section-label {
  font-size: 1.15rem;
  font-weight: 900;
  margin-bottom: 14px;
  color: var(--gold);
  /* Un tono más dorado/claro para contraste */
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Playfair Display', serif;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--border);
}

.section-label span {
  font-size: 1.3rem;
}

/* ── PRODUCTS ROW (scroll horizontal) ── */
.products-row {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 12px;
  margin-bottom: 28px;
  scrollbar-width: thin;
  scrollbar-color: var(--primary) transparent;
  margin-left: -20px;
  margin-right: -20px;
  padding-left: 20px;
  padding-right: 20px;
}

.products-row::-webkit-scrollbar {
  height: 4px;
}

.products-row::-webkit-scrollbar-thumb {
  background: var(--primary-light);
  border-radius: 4px;
}

/* ── PRODUCT CARD ── */
.product-card {
  background: var(--card);
  border-radius: var(--radius);
  border: 1.5px solid var(--border);
  min-width: 160px;
  max-width: 160px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  cursor: pointer;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: var(--primary);
}

.product-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  object-position: center;
}

.product-card .card-body {
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.product-card .card-name {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1.2;
}

.product-card .card-desc {
  font-size: 0.72rem;
  color: var(--text-muted);
  line-height: 1.4;
  font-weight: 600;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.product-card .card-price {
  font-size: 1rem;
  font-weight: 900;
  color: var(--primary-light);
  margin-top: auto;
  padding-top: 4px;
}

.add-btn {
  background: var(--primary-light);
  color: #1A261D;
  border: none;
  border-radius: var(--radius-sm);
  padding: 7px;
  font-size: 0.8rem;
  font-weight: 800;
  cursor: pointer;
  width: 100%;
  transition: background 0.2s;
  margin-top: auto;
  font-family: 'Nunito', sans-serif;
}

.add-btn:hover {
  background: var(--primary);
  color: #1A261D;
}

.add-btn.added {
  background: var(--success);
  color: #1A261D;
}

/* ── ARMA TU BOWL — sección especial ── */
.product-section {
  margin-bottom: 8px;
}

.bowl-builder-card {
  background: var(--card);
  border-radius: var(--radius);
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  margin-bottom: 28px;
}

.bowl-builder-header {
  background: var(--primary-light);   /* #427A57 — igual que add-btn normal */
  border-bottom: 1px solid var(--border);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.bowl-builder-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 900;
  color: #1A261D;   /* texto verde muy oscuro — igual que add-btn */
  letter-spacing: 0.3px;
}

.bowl-price-badge {
  background: var(--card2);
  color: var(--primary-light);
  font-weight: 900;
  font-size: 1rem;
  padding: 6px 14px;
  border-radius: 50px;
  font-family: 'Nunito', sans-serif;
  border: 1px solid var(--border);
  box-shadow: none;
}

.bowl-steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
}

@media (min-width: 600px) {
  .bowl-steps {
    grid-template-columns: repeat(4, 1fr);
  }
}

.bowl-step {
  padding: 14px 16px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.bowl-step:nth-child(even) {
  border-right: none;
}

@media (min-width: 600px) {
  .bowl-step:nth-child(even) {
    border-right: 1px solid var(--border);
  }

  .bowl-step:last-child {
    border-right: none;
  }
}

.bowl-step-title {
  font-size: 0.7rem;
  font-weight: 900;
  color: var(--primary-light);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.bowl-step-title .step-num {
  background: var(--primary);
  color: #fff;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  font-size: 0.65rem;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.bowl-ingredient-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.bowl-ingredient-list li {
  font-size: 0.78rem;
  color: var(--text);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  line-height: 1.3;
}

.bowl-ingredient-list li::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--primary-light);
  flex-shrink: 0;
}

.bowl-footer {
  padding: 14px 20px;
  background: var(--bg2);
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.bowl-footer-note {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* ── ADICIONALES TABLE ── */
.adicionales-card {
  background: var(--card);
  border-radius: var(--radius);
  border: 1.5px solid var(--border);
  overflow: hidden;
  margin-bottom: 28px;
  box-shadow: var(--shadow-sm);
}

.adicionales-header {
  background: var(--bg2);
  padding: 12px 18px;
  font-size: 0.8rem;
  font-weight: 900;
  color: var(--primary-light);
  text-transform: uppercase;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--border);
}

.adicional-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 18px;
  border-bottom: 1px solid var(--border);
  font-size: 0.85rem;
  transition: background-color 0.4s ease, transform 0.3s;
}

.adicional-row:last-child {
  border-bottom: none;
}

.adicional-name {
  font-weight: 700;
  color: var(--text);
}

.adicional-price {
  font-weight: 900;
  color: var(--primary-light);
  font-size: 0.9rem;
}

.adicional-dots {
  flex: 1;
  border-bottom: 1.5px dotted var(--border);
  margin: 0 10px;
  height: 1px;
  align-self: flex-end;
  margin-bottom: 4px;
}

/* ── BEBIDAS — sección lista ── */
.bebidas-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-bottom: 28px;
}

@media (min-width: 500px) {
  .bebidas-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.bebidas-group {
  background: var(--card);
  border-radius: var(--radius);
  border: 1.5px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.bebidas-group-header {
  background: var(--primary);
  color: #fff;
  padding: 10px 16px;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.bebida-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 16px;
  border-bottom: 1px solid var(--border);
  font-size: 0.82rem;
}

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

.bebida-name {
  font-weight: 700;
  color: var(--text);
}

.bebida-price {
  font-weight: 900;
  color: var(--primary-light);
  white-space: nowrap;
}

.bebida-sub {
  font-size: 0.7rem;
  color: var(--text-muted);
  font-weight: 600;
  display: block;
  margin-top: 1px;
}

/* ── PARFAITS ── */
.parfaits-section {
  margin-bottom: 28px;
}

.parfaits-row {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 12px;
  scrollbar-width: thin;
  scrollbar-color: var(--primary) transparent;
  margin-left: -20px;
  margin-right: -20px;
  padding-left: 20px;
  padding-right: 20px;
}

.parfait-card {
  background: var(--card);
  border-radius: var(--radius);
  border: 1.5px solid var(--border);
  min-width: 200px;
  max-width: 200px;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.parfait-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: var(--primary);
}

.parfait-card img {
  width: 100%;
  height: 130px;
  object-fit: cover;
}

.parfait-body {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.parfait-name {
  font-weight: 900;
  font-size: 0.9rem;
  color: var(--accent);
  font-family: 'Playfair Display', serif;
}

.parfait-desc {
  font-size: 0.72rem;
  color: var(--text-muted);
  line-height: 1.4;
  font-weight: 600;
}

.parfait-prices {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.parfait-price-tag {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 4px 8px;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--primary-light);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.parfait-price-tag span {
  font-size: 0.6rem;
  font-weight: 700;
  color: var(--text-muted);
}

.parfait-add-row {
  display: flex;
  gap: 6px;
  margin-top: 4px;
}

.parfait-add-btn {
  flex: 1;
  background: var(--primary-light);
  color: #1A261D;
  border: none;
  border-radius: var(--radius-sm);
  padding: 7px;
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
  transition: background 0.2s;
  font-family: 'Nunito', sans-serif;
}

.parfait-add-btn:hover {
  background: var(--primary);
  color: #1A261D;
}

.parfait-add-btn.added {
  background: var(--success);
  color: #1A261D;
}

/* ── FLOATING CART ── */
.floating-cart {
  z-index: 1000;
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary-light);
  color: #1A261D;
  border-radius: 50px;
  padding: 12px 24px;
  min-width: 260px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.18);
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}

.floating-cart:hover {
  transform: translateX(-50%) translateY(-2px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.22);
}

.fc-info {
  display: flex;
  flex-direction: column;
}

.fc-count {
  font-size: 0.75rem;
  opacity: 0.8;
  font-weight: 600;
}

.fc-label {
  font-size: 0.88rem;
  font-weight: 800;
}

.fc-price {
  font-size: 1.1rem;
  font-weight: 900;
  color: #1A261D;
}

/* ── CART / CHECKOUT pages ── */
/* ── CART / CHECKOUT pages ── */
.cart-item {
  background: var(--card);
  border-radius: 16px;
  border: 1.5px solid var(--border);
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  margin-bottom: 14px;
}

.cart-item img {
  width: 65px;
  height: 65px;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid var(--border);
}

.cart-item-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cart-item-name {
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--white);
  line-height: 1.2;
}

.cart-item-price {
  font-size: 0.95rem;
  color: var(--primary-light);
  font-weight: 800;
}

.remove-btn {
  background: rgba(229, 57, 53, 0.1);
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.remove-btn:hover {
  background: rgba(229, 57, 53, 0.25);
  transform: scale(1.05);
}

.qty-control {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg2);
  border-radius: 50px;
  padding: 4px;
  border: 1px solid var(--border);
  width: fit-content;
}

.qty-btn {
  background: var(--card);
  border: 1px solid var(--border);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  color: var(--primary);
  cursor: pointer;
  transition: all 0.2s;
  font-size: 1rem;
}

.qty-btn:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.qty-num {
  font-weight: 800;
  font-size: 0.95rem;
  min-width: 20px;
  text-align: center;
  color: var(--white);
}

/* ── ORDER TOTALS ── */
.order-total {
  background: var(--card2);
  border-radius: 16px;
  padding: 20px 24px;
  margin-top: 30px;
  margin-bottom: 24px;
  border: 1.5px solid var(--border);
  box-shadow: 0 4px 15px rgba(0,0,0,0.25);
}

.total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  font-size: 1rem;
  color: var(--text-light);
  font-weight: 600;
  border-bottom: 1px dashed var(--border);
}

.total-row:last-child {
  border-bottom: none;
}

.total-row.big {
  margin-top: 10px;
  padding-top: 16px;
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--white);
}

.total-row .val {
  font-weight: 800;
  color: var(--primary-light);
}

.total-row.big .val {
  font-size: 1.45rem;
  color: var(--gold);
}

/* ── FORM STYLES ── */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}

.form-label {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--text);
}

.form-input,
.form-select,
.form-textarea {
  background: var(--input-bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  font-size: 0.9rem;
  color: var(--input-text);
  font-family: 'Nunito', sans-serif;
  width: 100%;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(74, 122, 82, 0.15);
}

.form-textarea {
  min-height: 90px;
  resize: vertical;
}

.form-hint {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 600;
}

.form-error {
  font-size: 0.72rem;
  color: #E53935;
  font-weight: 700;
}

/* ── DELIVERY CARDS ── */
.delivery-options {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}

.delivery-card {
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.delivery-card.selected {
  border-color: var(--primary);
  background: rgba(74, 122, 82, 0.05);
  box-shadow: 0 0 0 3px rgba(74, 122, 82, 0.12);
}

.delivery-icon {
  font-size: 2.8rem;
  width: 60px;
  text-align: center;
  flex-shrink: 0;
}

.delivery-info .d-title {
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--white);
  margin-bottom: 6px;
  letter-spacing: 0.3px;
}

.delivery-info .d-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
  line-height: 1.4;
}

.delivery-check {
  margin-left: auto;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.delivery-card.selected .delivery-check {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  font-size: 0.75rem;
}

/* ── SUMMARY CARD ── */
/* ── SUMMARY CARD ── */
.summary-section {
  margin-bottom: 24px;
}

.summary-section-title {
  font-size: 0.9rem;
  font-weight: 900;
  color: var(--primary-light);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
  font-family: 'Nunito', sans-serif;
  padding-left: 4px;
}

.summary-box {
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  font-size: 1rem;
}

.summary-row:last-child {
  border-bottom: none;
}

.summary-row .sr-label {
  color: var(--text-muted);
  font-weight: 700;
  flex: 1;
}

.summary-row .sr-val {
  font-weight: 800;
  color: var(--text-light);
  text-align: right;
  flex: 2;
  line-height: 1.4;
}

.summary-item-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
}

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

.summary-item-row img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--border);
}

.summary-item-info {
  flex: 1;
}

.summary-item-info .si-name {
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--white);
  margin-bottom: 6px;
}

.summary-item-info .si-qty {
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 700;
}

.summary-item-price {
  font-weight: 900;
  color: var(--primary-light);
  font-size: 1.1rem;
}

/* ── WHATSAPP PREVIEW ── */
.wa-preview-wrap {
  background: #0B141A;
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 20px;
  min-height: 260px;
}

.wa-chat-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 14px;
  border-bottom: 1px solid #1F2C34;
  margin-bottom: 16px;
}

.wa-avatar {
  width: 40px;
  height: 40px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.wa-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: #E9EDF0;
}

.wa-status {
  font-size: 0.72rem;
  color: #8696A0;
}

.wa-bubble {
  background: #202C33;
  border-radius: 8px 18px 18px 18px;
  padding: 12px 14px;
  max-width: 85%;
  position: relative;
  font-size: 0.82rem;
  line-height: 1.6;
  color: #E9EDF0;
  white-space: pre-line;
}

.wa-bubble::before {
  content: '';
  position: absolute;
  left: -8px;
  top: 0;
  border: 8px solid transparent;
  border-right-color: #202C33;
  border-top: 0;
}

.wa-time {
  font-size: 0.65rem;
  color: #8696A0;
  text-align: right;
  margin-top: 6px;
}

.wa-sent-label {
  text-align: center;
  font-size: 0.75rem;
  color: #8696A0;
  background: #0B141A;
  padding: 4px 14px;
  border-radius: 8px;
  margin-bottom: 10px;
}

/* ── BUTTONS ── */
.btn {
  display: block;
  width: 100%;
  padding: 15px;
  border: none;
  border-radius: var(--radius);
  font-family: 'Nunito', sans-serif;
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
  text-decoration: none;
}

.btn-primary {
  background: var(--primary-light);
  color: #1A261D;
}

.btn-primary:hover {
  background: var(--primary);
  color: #1A261D;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(74, 122, 82, 0.35);
}

.btn-secondary {
  background: var(--card2);
  color: var(--text);
  border: 1.5px solid var(--border);
}

.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.btn-success {
  background: #25D366;
  color: #fff;
}

.btn-success:hover {
  background: #1DA851;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
}

.btn-back {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 0.9rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 16px;
  transition: color 0.2s;
  font-family: inherit;
  padding: 0;
  font-weight: 700;
}

.btn-back:hover {
  color: var(--primary);
}

/* ── EMPTY STATE ── */
.empty-state {
  text-align: center;
  padding: 50px 20px;
}

.empty-state .empty-icon {
  font-size: 4rem;
  margin-bottom: 16px;
}

.empty-state h3 {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.empty-state p {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* ── SUCCESS PAGE ── */
.success-wrap {
  text-align: center;
  padding: 40px 20px;
}

.success-icon {
  width: 80px;
  height: 80px;
  background: rgba(39, 174, 96, 0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  margin: 0 auto 20px;
  border: 2px solid var(--success);
}

.success-title {
  font-size: 1.5rem;
  font-weight: 900;
  margin-bottom: 8px;
  font-family: 'Playfair Display', serif;
  color: var(--accent);
}

.success-sub {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 30px;
  font-weight: 600;
}

.order-num {
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 24px;
}

.order-num span {
  font-size: 0.75rem;
  color: var(--text-muted);
  display: block;
  font-weight: 600;
}

.order-num strong {
  font-size: 1.4rem;
  color: var(--primary);
  font-weight: 900;
}

/* ── MISC ── */
.divider {
  height: 1px;
  background: var(--border);
  margin: 20px 0;
}

.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 800;
}

.badge-delivery {
  background: rgba(74, 122, 82, 0.10);
  color: var(--primary);
}

.badge-pickup {
  background: rgba(39, 174, 96, 0.12);
  color: var(--success);
}

.pb-120 {
  padding-bottom: 120px;
}

.gap-12 {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mt-12 {
  margin-top: 12px;
}

.text-center {
  text-align: center;
}

/* ── BOWL TEASER SHORTCUT (solo en "Todo") ── */
.bowl-teaser-shortcut {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--primary-light);   /* #427A57 — igual que add-btn normal */
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-bottom: 20px;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0,0,0,0.30);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  text-decoration: none;
  outline: none;
}

.bowl-teaser-shortcut:hover {
  transform: translateY(-3px);
  background: var(--primary);   /* #2E6B45 — igual que add-btn hover */
  border-color: var(--primary);
  box-shadow: var(--shadow);
}

.bts-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.bts-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.bts-text strong {
  font-size: 1rem;
  font-weight: 900;
  color: #1A261D;   /* texto verde muy oscuro — igual que add-btn */
  font-family: 'Playfair Display', serif;
}

.bts-text span {
  font-size: 0.75rem;
  color: rgba(26, 38, 29, 0.80);
  font-weight: 600;
}

.bts-arrow {
  font-size: 1.4rem;
  color: #1A261D;
  font-weight: 900;
  flex-shrink: 0;
  transition: transform 0.2s;
}

.bowl-teaser-shortcut:hover .bts-arrow {
  transform: translateX(4px);
}

/* ── BOWL DINÁMICO ── */
.bowl-steps-dynamic {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.bowl-step-d {
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
}

.bowl-step-d:last-child {
  border-bottom: none;
}

.bowl-step-d .bowl-step-title {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.step-info {
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--text-muted);
  font-family: 'Nunito', sans-serif;
  text-transform: none;
  letter-spacing: 0;
  margin-left: auto;
}

.bowl-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.bowl-chip {
  background: var(--bg2);
  border: 1.5px solid var(--border);
  border-radius: 50px;
  padding: 6px 14px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
  transition: all 0.18s ease;
  user-select: none;
  font-family: 'Nunito', sans-serif;
}

.bowl-chip:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(74, 122, 82, 0.07);
}

.bowl-chip.selected {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  box-shadow: 0 3px 10px rgba(74, 122, 82, 0.35);
  transform: scale(1.04);
}

.bowl-chip.selected:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: #fff;
}

/* Barra de resumen */
.bowl-summary-bar {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 10px 20px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  flex-wrap: wrap;
  min-height: 40px;
}

.bowl-summary-label {
  font-size: 0.72rem;
  font-weight: 900;
  color: var(--primary-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
  padding-top: 1px;
}

.bowl-summary-text {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  line-height: 1.4;
}

.bowl-add-btn {
  width: 100%;
  padding: 13px;
  font-size: 1rem;
  font-weight: 900;
  border-radius: var(--radius-sm);
  letter-spacing: 0.3px;
  transition: background 0.2s, transform 0.15s;
}

.bowl-add-btn:active {
  transform: scale(0.98);
}

/* ── ADICIONALES DINÁMICOS ── */
.adicional-price-sm {
  font-size: 0.7rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-left: 4px;
}

.qty-control {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg2);
  border-radius: 50px;
  padding: 4px;
  border: 1px solid var(--border);
}

.qty-btn {
  background: var(--card);
  border: 1px solid var(--border);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  color: var(--primary);
  cursor: pointer;
  transition: all 0.2s;
}

.qty-btn:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.qty-num {
  font-weight: 800;
  font-size: 0.9rem;
  min-width: 16px;
  text-align: center;
}

#adicionales-card {
  transition: transform 0.3s, border-color 0.3s, background-color 0.4s ease;
}

/* ── PRODUCT PREVIEW MODAL (bottom sheet) ── */
.product-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  z-index: 3000;
  display: none;
  align-items: flex-end;
  justify-content: center;
  backdrop-filter: blur(3px);
}

.product-modal-overlay.active {
  display: flex;
}

.product-modal-sheet {
  background: var(--card);
  border-radius: 24px 24px 0 0;
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: sheetSlideUp 0.3s cubic-bezier(0.34, 1.2, 0.64, 1);
  position: relative;
}

@keyframes sheetSlideUp {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}

.modal-close-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(0, 0, 0, 0.5);
  border: none;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  color: #fff;
  font-size: 0.9rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: background 0.2s;
}

.modal-close-btn:hover {
  background: rgba(0, 0, 0, 0.75);
}

/* Scrollable content area */
.modal-scroll-area {
  overflow-y: auto;
  flex: 1;
  -webkit-overflow-scrolling: touch;
}

#modal-img {
  width: 100%;
  height: 380px;
  object-fit: contain;
  object-position: center;
  background: #111a13; /* Fondo ligeramente más oscuro para enmarcar la imagen */
  display: block;
  flex-shrink: 0;
}

.modal-body {
  padding: 38px 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.modal-header-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.modal-name {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1.25;
  flex: 1;
}

.modal-price {
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--gold);
  white-space: nowrap;
}

.modal-desc {
  font-size: 0.93rem;
  color: var(--text-light);
  line-height: 1.75;
  font-weight: 600;
  border-left: 3px solid var(--primary);
  padding-left: 14px;
}

/* Sticky add button at bottom */
.modal-footer {
  padding: 14px 20px 20px;
  border-top: 1px solid var(--border);
  background: var(--card);
  flex-shrink: 0;
}

.modal-add-btn {
  font-size: 1.05rem;
  padding: 16px;
  margin: 0;
}