/* ============================================================
   RUPTO BURGUER • DIGITAL MENU WEBAPP
   Minimalist Premium App Style - Light Theme
   ============================================================ */

:root {
  --brand-red: #CB2B28;
  --brand-red-dark: #A71C19;
  --brand-red-light: #FEECEB;
  --brand-red-alpha: rgba(203, 43, 40, 0.12);
  
  --bg-page: #F8F9FA;
  --bg-card: #FFFFFF;
  --bg-surface: #F3F4F6;
  --bg-cream: #FFFDF9;
  
  --text-main: #18181B;
  --text-secondary: #52525B;
  --text-muted: #71717A;
  --text-inverse: #FFFFFF;
  
  --border-light: #F1F1F4;
  --border-subtle: #E4E4E7;
  
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-card: 0 4px 16px -2px rgba(0, 0, 0, 0.05), 0 2px 6px -1px rgba(0, 0, 0, 0.03);
  --shadow-hover: 0 10px 25px -4px rgba(0, 0, 0, 0.08);
  --shadow-modal: 0 20px 40px -10px rgba(0, 0, 0, 0.15);
  --shadow-bottom-bar: 0 -4px 20px rgba(0, 0, 0, 0.06), 0 4px 12px rgba(0, 0, 0, 0.04);
  
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-pill: 9999px;
  
  --font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-display: 'Cabinet Grotesk', 'Plus Jakarta Sans', -apple-system, sans-serif;
}

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

html, body {
  width: 100%;
  height: 100%;
  background-color: var(--bg-page);
  color: var(--text-main);
  font-family: var(--font-family);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  user-select: none;
  -webkit-user-select: none;
}

/* Input, button, textarea enable user select */
input, textarea, button {
  font-family: inherit;
  user-select: auto;
  -webkit-user-select: auto;
}

/* ============================================================
   DESKTOP QR GATE (Hidden on Mobile)
   ============================================================ */
.desktop-qr-gate {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: linear-gradient(135deg, #FFF9F8 0%, #FFFFFF 50%, #FFF5F4 100%);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px 24px;
  text-align: center;
}

@media (min-width: 769px) {
  body:not(.force-mobile-view) .desktop-qr-gate {
    display: flex;
  }
  body:not(.force-mobile-view) #app-container {
    display: none !important;
  }
}

.desktop-card {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: 32px;
  padding: 40px 48px;
  max-width: 480px;
  width: 100%;
  box-shadow: 0 25px 60px -15px rgba(203, 43, 40, 0.12), 0 10px 25px -5px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  animation: fadeInScale 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.desktop-brand-logo {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(203, 43, 40, 0.25);
}

.desktop-brand-title {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--brand-red);
}

.desktop-brand-subtitle {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.desktop-qr-wrapper {
  background: #FFFFFF;
  border: 2px dashed rgba(203, 43, 40, 0.25);
  border-radius: 24px;
  padding: 16px;
  margin: 6px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.desktop-qr-wrapper:hover {
  transform: scale(1.02);
}

.desktop-instructions {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
  max-width: 380px;
}

.desktop-instructions strong {
  color: var(--text-main);
}

.desktop-btn-row {
  display: flex;
  gap: 12px;
  width: 100%;
  margin-top: 6px;
}

.desktop-btn {
  flex: 1;
  padding: 12px 16px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.desktop-btn-primary {
  background-color: var(--brand-red);
  color: #FFFFFF;
}

.desktop-btn-primary:hover {
  background-color: var(--brand-red-dark);
}

.desktop-btn-secondary {
  background-color: var(--bg-surface);
  color: var(--text-main);
}

.desktop-btn-secondary:hover {
  background-color: var(--border-subtle);
}

.desktop-badge-location {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--bg-surface);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
}

/* ============================================================
   APP CONTAINER (Mobile View)
   ============================================================ */
#app-container {
  max-width: 500px;
  margin: 0 auto;
  min-height: 100vh;
  background-color: var(--bg-page);
  position: relative;
  display: flex;
  flex-direction: column;
  padding-bottom: 110px; /* Space for bottom dock */
}

/* App Header */
.app-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  padding: 12px 18px;
  padding-top: max(12px, env(safe-area-inset-top));
}

.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

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

.brand-mini-logo {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  object-fit: cover;
  box-shadow: 0 4px 10px rgba(203, 43, 40, 0.18);
}

.brand-text-block h1 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--brand-red);
  line-height: 1.1;
}

.brand-text-block p {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 4px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-action-btn {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-subtle);
  background: #FFFFFF;
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}

.header-action-btn:hover {
  background: var(--bg-surface);
}

/* Status Pill */
.status-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--brand-red-light);
  border-radius: var(--radius-pill);
  padding: 6px 14px;
  margin-top: 4px;
}

.status-left {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  color: var(--brand-red-dark);
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #22C55E;
  box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.2);
}

.status-right {
  font-size: 11px;
  font-weight: 600;
  color: var(--brand-red);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 3px;
}

/* Search Bar */
.search-container {
  padding: 10px 18px 6px;
}

.search-box {
  position: relative;
  display: flex;
  align-items: center;
}

.search-box svg {
  position: absolute;
  left: 14px;
  color: var(--text-muted);
  pointer-events: none;
}

.search-input {
  width: 100%;
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  padding: 11px 40px 11px 42px;
  font-size: 14px;
  color: var(--text-main);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.search-input:focus {
  border-color: var(--brand-red);
  box-shadow: 0 0 0 3px var(--brand-red-alpha);
}

.search-clear-btn {
  position: absolute;
  right: 12px;
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px;
  display: none;
}

/* ============================================================
   HERO BANNER CAROUSEL (INICIO DEL MENU)
   ============================================================ */
.hero-section {
  padding: 12px 18px 8px;
}

.hero-slider-container {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  background: #FFFFFF;
  border: 1px solid var(--border-light);
}

.hero-slider-track {
  display: flex;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

.hero-slide {
  min-width: 100%;
  padding: 22px 20px;
  background: linear-gradient(135deg, #FFFFFF 0%, #FFF9F7 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 190px;
  position: relative;
}

.hero-badge-tag {
  align-self: flex-start;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: var(--brand-red);
  color: #FFFFFF;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  margin-bottom: 8px;
}

.hero-slide-title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--text-main);
  line-height: 1.15;
  margin-bottom: 4px;
}

.hero-slide-subtitle {
  font-size: 13px;
  font-weight: 600;
  color: var(--brand-red);
  margin-bottom: 6px;
}

.hero-slide-desc {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.4;
  margin-bottom: 14px;
}

.hero-slide-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}

.hero-slide-price {
  font-size: 18px;
  font-weight: 800;
  color: var(--brand-red);
}

.hero-slide-btn {
  background: var(--brand-red);
  color: #FFFFFF;
  border: none;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background-color 0.2s, transform 0.1s;
}

.hero-slide-btn:active {
  transform: scale(0.96);
}

.hero-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  padding: 10px 0 6px;
}

.hero-dot {
  width: 6px;
  height: 6px;
  border-radius: var(--radius-pill);
  background: var(--border-subtle);
  transition: all 0.3s ease;
  cursor: pointer;
}

.hero-dot.active {
  width: 22px;
  background: var(--brand-red);
}

/* ============================================================
   CATEGORIES WITH ICONS (HORIZONTALLY SCROLLABLE)
   ============================================================ */
.categories-section {
  padding: 10px 0 14px;
  position: sticky;
  top: 96px;
  z-index: 90;
  background: rgba(248, 249, 250, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.categories-scroll {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 0 18px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.categories-scroll::-webkit-scrollbar {
  display: none;
}

.category-pill {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 15px;
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 700;
  color: var(--text-main);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--shadow-sm);
}

.category-pill .cat-icon {
  font-size: 18px;
  line-height: 1;
}

.category-pill.active {
  background: var(--brand-red);
  color: #FFFFFF;
  border-color: var(--brand-red);
  box-shadow: 0 4px 14px rgba(203, 43, 40, 0.3);
  transform: translateY(-1px);
}

.category-pill.active .cat-icon {
  transform: scale(1.1);
}

/* ============================================================
   SECTION CATEGORY BANNER (ENTRE CADA CATEGORIA)
   ============================================================ */
.category-block {
  padding: 0 18px 16px;
}

.category-banner-card {
  margin: 18px 0 14px;
  border-radius: var(--radius-md);
  padding: 16px 18px;
  background: #FFFFFF;
  border-left: 5px solid var(--brand-red);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: relative;
  overflow: hidden;
}

.category-banner-card::after {
  content: '';
  position: absolute;
  right: -20px;
  top: -20px;
  width: 90px;
  height: 90px;
  background: var(--brand-red-alpha);
  border-radius: 50%;
  pointer-events: none;
}

.cat-banner-badge {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-red);
}

.cat-banner-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.01em;
}

.cat-banner-subtitle {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* ============================================================
   PRODUCT CARDS (FONDO BLANCO LIMPIO - SIN FOTOS INVENTADAS)
   ============================================================ */
.products-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.product-card:hover {
  border-color: rgba(203, 43, 40, 0.3);
  box-shadow: var(--shadow-hover);
}

.product-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 6px;
}

.product-title-group {
  flex: 1;
}

.product-name {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.2;
}

.product-subtitle {
  font-size: 12px;
  font-weight: 600;
  color: var(--brand-red);
  margin-top: 2px;
}

.product-badge-pill {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  background: var(--brand-red-light);
  color: var(--brand-red);
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  margin-bottom: 6px;
}

.product-fav-btn {
  background: none;
  border: none;
  color: #D1D5DB;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275), color 0.2s;
}

.product-fav-btn:active {
  transform: scale(1.3);
}

.product-fav-btn.favorited {
  color: var(--brand-red);
}

.product-fav-btn.favorited svg {
  fill: var(--brand-red);
}

.product-desc {
  font-size: 12.5px;
  color: var(--text-secondary);
  line-height: 1.45;
  margin-bottom: 10px;
}

.product-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.product-tag {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--bg-surface);
  padding: 3px 8px;
  border-radius: 6px;
}

.product-tag-includes {
  font-size: 11px;
  font-weight: 700;
  color: #047857;
  background: #ECFDF5;
  padding: 3px 8px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  border-top: 1px solid var(--border-light);
  margin-top: 4px;
}

.product-price {
  font-size: 17px;
  font-weight: 800;
  color: var(--brand-red);
  letter-spacing: -0.01em;
}

.product-add-btn {
  background: var(--brand-red);
  color: #FFFFFF;
  border: none;
  border-radius: var(--radius-pill);
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background-color 0.2s, transform 0.1s;
}

.product-add-btn:active {
  transform: scale(0.95);
}

/* ============================================================
   BOTTOM NAVIGATION BAR (APP STYLE - ROUNDED BORDERS)
   ACTIVE ITEM ENCLOSED IN CIRCLE OF BRAND COLOR
   ============================================================ */
.bottom-nav-dock {
  position: fixed;
  bottom: max(16px, env(safe-area-inset-bottom));
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 32px);
  max-width: 440px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-subtle);
  border-radius: 36px; /* Bordes redondeados */
  box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.12), 0 4px 12px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 8px 12px;
  z-index: 500;
}

.nav-item {
  background: none;
  border: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 4px;
  position: relative;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  color: var(--text-muted);
}

.nav-icon-container {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  color: var(--text-muted);
}

.nav-icon-container svg {
  width: 22px;
  height: 22px;
  transition: transform 0.2s;
}

.nav-label {
  font-size: 10px;
  font-weight: 700;
  margin-top: 2px;
  transition: color 0.2s;
}

/* Active item enclosed in brand red circle */
.nav-item.active .nav-icon-container {
  background-color: var(--brand-red); /* Círculo del color de la marca */
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(203, 43, 40, 0.4);
  transform: translateY(-4px) scale(1.08);
}

.nav-item.active .nav-label {
  color: var(--brand-red);
  font-weight: 800;
}

/* Badge for cart & favorites */
.nav-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  background-color: var(--brand-red);
  color: #FFFFFF;
  font-size: 10px;
  font-weight: 800;
  min-width: 18px;
  height: 18px;
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  border: 2px solid #FFFFFF;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.nav-item.active .nav-badge {
  background-color: #18181B;
  border-color: #FFFFFF;
}

/* ============================================================
   MODALS & DRAWERS (CART / ORDER MODALITY / PRODUCT DETAIL / INFO)
   ============================================================ */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1000;
  display: none;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal-backdrop.open {
  display: flex;
  opacity: 1;
}

.modal-sheet {
  background: #FFFFFF;
  width: 100%;
  max-width: 500px;
  max-height: 90vh;
  border-radius: 28px 28px 0 0;
  padding: 20px 20px max(24px, env(safe-area-inset-bottom));
  box-shadow: var(--shadow-modal);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.modal-drag-handle {
  width: 36px;
  height: 4px;
  background: var(--border-subtle);
  border-radius: var(--radius-pill);
  align-self: center;
  margin-bottom: 12px;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-light);
}

.modal-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  color: var(--text-main);
}

.modal-close-btn {
  background: var(--bg-surface);
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-muted);
}

.modal-body {
  overflow-y: auto;
  padding: 16px 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Modality Segmented Control (En la mesa vs A domicilio) */
.modality-selector {
  background: var(--bg-surface);
  border-radius: var(--radius-pill);
  padding: 4px;
  display: flex;
  gap: 4px;
}

.modality-btn {
  flex: 1;
  border: none;
  background: none;
  padding: 10px 14px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.modality-btn.active {
  background: #FFFFFF;
  color: var(--brand-red);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* Form inputs */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 4px;
}

.form-label .req {
  color: var(--brand-red);
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 11px 14px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--text-main);
  outline: none;
  transition: border-color 0.2s, background-color 0.2s;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--brand-red);
  background: #FFFFFF;
}

/* Cart Items in Checkout */
.cart-items-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

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

.cart-item-details {
  flex: 1;
}

.cart-item-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-main);
}

.cart-item-extras {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 2px;
}

.cart-item-price {
  font-size: 12px;
  font-weight: 700;
  color: var(--brand-red);
  margin-top: 4px;
}

.cart-item-qty-control {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  padding: 2px 6px;
}

.qty-btn {
  background: none;
  border: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  font-size: 14px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-main);
}

.qty-val {
  font-size: 13px;
  font-weight: 700;
  min-width: 16px;
  text-align: center;
}

/* Order Summary Box */
.order-summary-box {
  background: var(--bg-cream);
  border: 1px dashed rgba(203, 43, 40, 0.3);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-secondary);
}

.summary-row.total-row {
  font-size: 16px;
  font-weight: 800;
  color: var(--brand-red);
  padding-top: 8px;
  border-top: 1px solid rgba(203, 43, 40, 0.2);
}

/* WhatsApp Order Button */
.btn-whatsapp-confirm {
  width: 100%;
  background: #25D366;
  color: #FFFFFF;
  border: none;
  padding: 15px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  box-shadow: 0 8px 20px -4px rgba(37, 211, 102, 0.4);
  transition: all 0.2s ease;
  margin-top: 6px;
}

.btn-whatsapp-confirm:hover {
  background: #20BA5A;
  transform: translateY(-1px);
}

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

/* Modal Customization (Adicionales) Checkbox pills */
.extras-checkbox-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.extra-option-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s;
}

.extra-option-label:has(input:checked) {
  background: var(--brand-red-light);
  border-color: var(--brand-red);
}

.extra-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.extra-info input[type="checkbox"] {
  accent-color: var(--brand-red);
  width: 18px;
  height: 18px;
}

.extra-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-main);
}

.extra-price {
  font-size: 13px;
  font-weight: 700;
  color: var(--brand-red);
}

/* Toast Feedback */
.toast-notice {
  position: fixed;
  bottom: 85px;
  left: 50%;
  transform: translateX(-50%) translateY(30px);
  background: rgba(24, 24, 27, 0.95);
  color: #FFFFFF;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  gap: 8px;
}

.toast-notice.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* Animations */
@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
