/* ==========================================================================
   METRO BURGER - WEBAPP MOBILE DIGITAL MENU 2025
   Theme: Minimalist Premium App (Light Theme Only)
   Palette:
     Brand Navy:      #21163F
     Brand Teal:      #2BB6B4
     Brand Mustard:   #F5BF26
     Brand Coral:     #E84A3B
     App Background:  #F8F7F4
     Surface White:   #FFFFFF
     Text Primary:    #1F1A2E
     Text Muted:      #767285
     Border Color:    #ECE8DF
   ========================================================================== */

:root {
  --bg-app: #F8F7F4;
  --bg-surface: #FFFFFF;
  --bg-surface-subtle: #F3F0E8;
  
  --brand-navy: #21163F;
  --brand-teal: #2BB6B4;
  --brand-teal-light: rgba(43, 182, 180, 0.12);
  --brand-yellow: #F5BF26;
  --brand-yellow-light: rgba(245, 191, 38, 0.15);
  --brand-coral: #E84A3B;
  
  --text-primary: #1D1829;
  --text-muted: #726E80;
  --text-inverse: #FFFFFF;
  
  --border-subtle: #ECE8E0;
  --border-focus: #2BB6B4;
  
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-full: 9999px;
  
  --shadow-card: 0 4px 16px rgba(33, 22, 63, 0.05);
  --shadow-float: 0 8px 24px rgba(33, 22, 63, 0.1);
  --shadow-modal: 0 20px 40px rgba(33, 22, 63, 0.18);
  
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html, body {
  background-color: var(--bg-app);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}

/* ==========================================================================
   DESKTOP QR GATE SCREEN (Shows ONLY on Desktop / Laptop screens)
   ========================================================================== */

.desktop-gate {
  display: none;
}

@media (min-width: 769px) {
  body.enforce-mobile-desktop .desktop-gate {
    display: flex;
    position: fixed;
    inset: 0;
    background: linear-gradient(135deg, #F8F7F4 0%, #EDE9DE 100%);
    z-index: 999999;
    align-items: center;
    justify-content: center;
    padding: 24px;
    overflow-y: auto;
  }

  body.enforce-mobile-desktop .mobile-app-wrapper {
    display: none;
  }
}

.desktop-gate-card {
  background: #FFFFFF;
  border-radius: 28px;
  padding: 40px 36px;
  max-width: 500px;
  width: 100%;
  text-align: center;
  box-shadow: 0 20px 50px rgba(33, 22, 63, 0.12);
  border: 1.5px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.desktop-brand-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.desktop-logo {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid var(--brand-navy);
}

.desktop-brand-header h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--brand-navy);
  text-align: left;
}

.desktop-brand-header p {
  font-size: 0.82rem;
  color: var(--text-muted);
  text-align: left;
}

.qr-box-wrap {
  background: #FFFFFF;
  padding: 16px;
  border-radius: 20px;
  box-shadow: 0 8px 24px rgba(33, 22, 63, 0.08);
  border: 2px dashed var(--brand-teal);
  position: relative;
}

.qr-img {
  width: 220px;
  height: 220px;
  display: block;
  border-radius: 12px;
}

.desktop-gate-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--brand-navy);
}

.desktop-gate-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.desktop-steps {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  text-align: left;
  background: var(--bg-surface-subtle);
  padding: 14px 18px;
  border-radius: 16px;
}

.step-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--text-primary);
}

.step-number {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--brand-teal);
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.bypass-desktop-btn {
  background: transparent;
  border: none;
  font-size: 0.8rem;
  color: var(--brand-teal);
  cursor: pointer;
  text-decoration: underline;
  margin-top: -6px;
}

/* ==========================================================================
   MOBILE WEBAPP CONTAINER
   ========================================================================== */

.mobile-app-wrapper {
  max-width: 480px;
  margin: 0 auto;
  min-height: 100vh;
  background: var(--bg-app);
  position: relative;
  padding-bottom: 110px; /* Space for floating rounded bottom app menu */
}

/* App Header Bar */
.app-header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 90;
  border-bottom: 1px solid var(--border-subtle);
  padding: 12px 16px;
}

.app-header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.app-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}

.app-logo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid var(--brand-navy);
}

.app-brand-info h1 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--brand-navy);
  line-height: 1.1;
}

.app-brand-info span {
  font-size: 0.7rem;
  color: var(--brand-teal);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Top Mode & Branch Selector Strip */
.order-mode-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
  gap: 8px;
}

.mode-pill-toggle {
  background: var(--bg-surface-subtle);
  border-radius: var(--radius-full);
  padding: 3px;
  display: flex;
  border: 1px solid var(--border-subtle);
  flex-grow: 1;
}

.mode-btn {
  flex: 1;
  border: none;
  background: transparent;
  padding: 6px 10px;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transition: all 0.2s ease;
}

.mode-btn.active {
  background: #FFFFFF;
  color: var(--brand-navy);
  box-shadow: 0 2px 8px rgba(33, 22, 63, 0.08);
}

.branch-select-pill {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  padding: 6px 12px;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--brand-navy);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

/* ==========================================================================
   FEATURED DISHES HERO CAROUSEL BANNER
   ========================================================================== */

.hero-dishes-section {
  padding: 16px 16px 8px;
}

.hero-dishes-title {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero-carousel-container {
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  display: flex;
  gap: 14px;
  padding-bottom: 6px;
  scroll-snap-type: x mandatory;
}

.hero-carousel-container::-webkit-scrollbar {
  display: none;
}

.hero-dish-card {
  min-width: 85%;
  scroll-snap-align: center;
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--border-subtle);
  padding: 16px;
  box-shadow: var(--shadow-card);
  display: flex;
  gap: 14px;
  align-items: center;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.hero-dish-badge {
  position: absolute;
  top: 10px;
  left: 12px;
  background: var(--brand-yellow);
  color: var(--brand-navy);
  font-family: var(--font-heading);
  font-size: 0.68rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

.hero-dish-info {
  flex: 1;
}

.hero-dish-tag {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--brand-teal);
  text-transform: uppercase;
  margin-bottom: 2px;
}

.hero-dish-name {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--brand-navy);
  line-height: 1.2;
  margin-bottom: 4px;
}

.hero-dish-desc {
  font-size: 0.74rem;
  color: var(--text-muted);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hero-dish-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
}

.hero-dish-price {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--brand-navy);
}

.hero-dish-btn {
  background: var(--brand-teal);
  color: #FFFFFF;
  border: none;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 800;
  cursor: pointer;
}

.hero-dish-img-wrap {
  width: 90px;
  height: 90px;
  background: #FFFFFF;
  border-radius: var(--radius-md);
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-dish-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ==========================================================================
   CATEGORY ICON NAVIGATION BAR
   "las categorias deben ser a traves de iconos, a medida que voy seleccionando
   un item debe encerrarse en un circulo del color de la marca"
   ========================================================================== */

.category-icon-nav {
  position: sticky;
  top: 65px;
  z-index: 85;
  background: rgba(248, 247, 244, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 10px 16px;
  border-bottom: 1px solid var(--border-subtle);
}

.category-icon-track {
  display: flex;
  align-items: center;
  gap: 12px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 4px 2px;
}

.category-icon-track::-webkit-scrollbar {
  display: none;
}

.cat-icon-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  background: transparent;
  border: none;
  min-width: 62px;
  transition: transform 0.2s ease;
}

/* CIRCLE ENCLOSURE of the brand color when selected */
.cat-icon-circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 2px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.cat-icon-label {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
  white-space: nowrap;
  transition: color 0.2s ease;
}

/* ACTIVE STATE: Enclosed in brand color circle with glow */
.cat-icon-item.active .cat-icon-circle {
  background: #FFFFFF;
  border-color: var(--brand-teal);
  box-shadow: 0 0 0 3px rgba(43, 182, 180, 0.25), 0 4px 12px rgba(43, 182, 180, 0.2);
  transform: translateY(-2px) scale(1.06);
}

.cat-icon-item.active .cat-icon-label {
  color: var(--brand-teal);
  font-weight: 800;
}

/* Search Bar Pill */
.search-input-wrap {
  padding: 8px 16px 4px;
}

.app-search-input {
  width: 100%;
  background: #FFFFFF;
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 9px 16px 9px 38px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--text-primary);
  outline: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.app-search-input:focus {
  border-color: var(--brand-teal);
}

.search-icon-svg {
  position: absolute;
  left: 28px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}

/* ==========================================================================
   CATEGORY BANNERS (Between each category)
   "usa un banner entre cada categoria que haga referencia a esa categoria"
   ========================================================================== */

.category-divider-banner {
  margin: 28px 16px 14px;
  background: #FFFFFF;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border-subtle);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

.category-divider-banner::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  background: var(--brand-teal);
}

.category-divider-banner[data-color="yellow"]::before {
  background: var(--brand-yellow);
}
.category-divider-banner[data-color="coral"]::before {
  background: var(--brand-coral);
}
.category-divider-banner[data-color="navy"]::before {
  background: var(--brand-navy);
}

.cat-banner-content {
  flex: 1;
}

.cat-banner-badge {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--brand-teal);
  margin-bottom: 2px;
}

.cat-banner-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--brand-navy);
  line-height: 1.2;
}

.cat-banner-subtitle {
  font-size: 0.74rem;
  color: var(--text-muted);
  line-height: 1.35;
  margin-top: 3px;
}

.cat-banner-icon-side {
  font-size: 2rem;
  opacity: 0.9;
}

/* ==========================================================================
   PRODUCT CARDS (Clean Minimalist White Background)
   "las imagenes de cada plato deben quedar en fondo blanco limpio,
   sino hay imagenes de los platos no las inventes no uses imagenes"
   ========================================================================== */

.category-items-container {
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.product-item-card {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border-subtle);
  padding: 14px;
  box-shadow: var(--shadow-card);
  display: flex;
  gap: 14px;
  align-items: center;
  position: relative;
  transition: transform 0.18s ease, border-color 0.18s ease;
  cursor: pointer;
}

.product-item-card:active {
  transform: scale(0.99);
}

.product-item-card:hover {
  border-color: var(--brand-teal);
}

/* FAVORITE BUTTON (Heart on top right) */
.favorite-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background: transparent;
  border: none;
  font-size: 1.2rem;
  color: #D1CCD9;
  cursor: pointer;
  z-index: 5;
  transition: transform 0.18s ease, color 0.18s ease;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.favorite-btn:hover {
  transform: scale(1.18);
}

.favorite-btn.active {
  color: var(--brand-coral);
}

/* Pure clean white background for photos */
.dish-img-box {
  width: 96px;
  height: 96px;
  background: #FFFFFF;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.dish-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #FFFFFF;
}

.product-info-box {
  flex: 1;
  padding-right: 22px; /* space for heart button */
}

.dish-badge-pill {
  display: inline-block;
  background: var(--bg-surface-subtle);
  color: var(--brand-navy);
  font-family: var(--font-heading);
  font-size: 0.65rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: var(--radius-full);
  margin-bottom: 4px;
}

.dish-badge-pill.gold {
  background: var(--brand-yellow-light);
  color: #8C6A00;
}

.dish-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 800;
  color: var(--brand-navy);
  line-height: 1.25;
  margin-bottom: 4px;
}

.dish-ingredients {
  font-size: 0.76rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin-bottom: 8px;
}

.dish-bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dish-price {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--brand-navy);
}

.dish-add-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--brand-teal);
  color: #FFFFFF;
  border: none;
  font-size: 1.2rem;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(43, 182, 180, 0.35);
  transition: transform 0.15s ease;
}

.dish-add-circle:active {
  transform: scale(0.9);
}

/* ==========================================================================
   FLOATING ROUNDED BOTTOM APP MENU
   "añade un menu estilo app que vaya de acuerdo a los colores de la marca en la
   parte inferior, la barra de menu inferior debe tener bordes redondeados, a
   medida que voy seleccionando un item debe encerrarse en un circulo del color
   de la marca"
   ========================================================================== */

.app-bottom-dock {
  position: fixed;
  bottom: 16px;
  left: 16px;
  right: 16px;
  max-width: 440px;
  margin: 0 auto;
  background: #FFFFFF;
  border-radius: 34px; /* Rounded corners */
  border: 1.5px solid var(--border-subtle);
  box-shadow: 0 10px 30px rgba(33, 22, 63, 0.14);
  padding: 8px 12px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  z-index: 100;
}

.dock-tab-btn {
  background: transparent;
  border: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  cursor: pointer;
  padding: 4px 10px;
  position: relative;
  transition: all 0.2s ease;
}

/* Circle around the selected dock item */
.dock-icon-circle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 1.25rem;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.dock-tab-label {
  font-family: var(--font-heading);
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

/* ACTIVE STATE: Enclosed in brand circle */
.dock-tab-btn.active .dock-icon-circle {
  background: var(--brand-teal);
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(43, 182, 180, 0.35);
  transform: translateY(-3px) scale(1.05);
}

.dock-tab-btn.active .dock-tab-label {
  color: var(--brand-teal);
  font-weight: 800;
}

.dock-badge-counter {
  position: absolute;
  top: -2px;
  right: -2px;
  background: var(--brand-coral);
  color: #FFFFFF;
  font-size: 0.65rem;
  font-weight: 800;
  min-width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid #FFFFFF;
}

/* ==========================================================================
   FAVORITES VIEW (Dedicated view when tapping Favoritos in bottom dock)
   ========================================================================== */

.view-section {
  display: none;
}

.view-section.active {
  display: block;
}

.favorites-header {
  padding: 16px;
  background: #FFFFFF;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 14px;
}

.favorites-header h2 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--brand-navy);
}

.favorites-header p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.empty-favorites {
  text-align: center;
  padding: 50px 20px;
  color: var(--text-muted);
}

.empty-favorites-icon {
  font-size: 3rem;
  margin-bottom: 10px;
}

/* ==========================================================================
   ORDER CUSTOMIZATION MODAL & CART DRAWER
   ========================================================================== */

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(33, 22, 63, 0.55);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  z-index: 200;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}

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

.modal-sheet {
  background: #FFFFFF;
  border-radius: 28px 28px 0 0;
  width: 100%;
  max-width: 480px;
  max-height: 88vh;
  overflow-y: auto;
  box-shadow: var(--shadow-modal);
  transform: translateY(100%);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.modal-backdrop.open .modal-sheet {
  transform: translateY(0);
}

.modal-top-notch {
  width: 40px;
  height: 5px;
  background: #D9D5CB;
  border-radius: 9999px;
  margin: 12px auto 4px;
}

.modal-header-clean {
  padding: 12px 20px 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-close-icon {
  background: var(--bg-surface-subtle);
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

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

.modal-dish-preview {
  display: flex;
  gap: 14px;
  align-items: center;
}

.modal-dish-img-box {
  width: 80px;
  height: 80px;
  background: #FFFFFF;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.modal-dish-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.modal-dish-name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--brand-navy);
}

.modal-dish-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.35;
  margin-top: 3px;
}

/* Option Groups */
.option-group-title {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--brand-navy);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.option-cards-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.option-check-card {
  background: #FFFFFF;
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: all 0.18s ease;
}

.option-check-card:hover, .option-check-card.checked {
  border-color: var(--brand-teal);
  background: var(--brand-teal-light);
}

.option-check-card input {
  accent-color: var(--brand-teal);
  width: 18px;
  height: 18px;
  margin-right: 10px;
}

.option-card-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
  flex: 1;
}

.option-card-price {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--brand-teal);
}

.instructions-input {
  width: 100%;
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  outline: none;
}

.instructions-input:focus {
  border-color: var(--brand-teal);
}

/* Modal Bottom Sticky Submit */
.modal-submit-sticky {
  position: sticky;
  bottom: 0;
  background: #FFFFFF;
  padding: 14px 20px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  gap: 12px;
}

.modal-qty-picker {
  display: flex;
  align-items: center;
  background: var(--bg-surface-subtle);
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
}

.modal-qty-btn {
  width: 36px;
  height: 36px;
  border: none;
  background: transparent;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--brand-navy);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-qty-value {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.95rem;
  min-width: 26px;
  text-align: center;
}

.modal-add-button {
  flex: 1;
  background: var(--brand-navy);
  color: #FFFFFF;
  border: none;
  padding: 12px 18px;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  box-shadow: var(--shadow-float);
  transition: all 0.2s ease;
}

.modal-add-button:hover {
  background: var(--brand-teal);
}

/* ==========================================================================
   ORDER CART DRAWER (With 2 Modes: En la Mesa & A Domicilio)
   ========================================================================== */

.cart-drawer-sheet {
  max-height: 92vh;
}

.cart-mode-selector-card {
  background: var(--bg-surface-subtle);
  padding: 12px;
  border-radius: var(--radius-md);
  margin-bottom: 12px;
}

.cart-mode-selector-title {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.cart-mode-toggle-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.cart-mode-btn {
  padding: 10px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border-subtle);
  background: #FFFFFF;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.18s ease;
}

.cart-mode-btn.active {
  background: var(--brand-navy);
  color: #FFFFFF;
  border-color: var(--brand-navy);
}

/* Cart Items */
.cart-items-scroll {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 240px;
  overflow-y: auto;
  margin-bottom: 12px;
}

.cart-item-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px;
  background: var(--bg-surface-subtle);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
}

.cart-item-text h4 {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--brand-navy);
}

.cart-item-text p {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.cart-item-counter {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cart-qty-mini-btn {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid var(--border-subtle);
  background: #FFFFFF;
  font-size: 0.85rem;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Form Inputs for In-table vs Delivery */
.order-fields-wrap {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.app-input-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
}

.app-form-input {
  width: 100%;
  padding: 8px 12px;
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.85rem;
  outline: none;
}

.app-form-input:focus {
  border-color: var(--brand-teal);
}

.whatsapp-confirm-btn {
  width: 100%;
  background: #25D366;
  color: #FFFFFF;
  border: none;
  padding: 14px 20px;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4);
  margin-top: 10px;
  transition: transform 0.15s ease;
}

.whatsapp-confirm-btn:active {
  transform: scale(0.98);
}

.whatsapp-confirm-btn:disabled {
  background: #BFB9C9;
  cursor: not-allowed;
  box-shadow: none;
}
