/* 172 Hamburguesería Artesanal - Mobile WebApp Style */

:root {
  --brand-primary: #F59E0B; /* Golden mustard / amber */
  --brand-primary-dark: #D97706;
  --brand-primary-light: #FEF3C7;
  --brand-black: #121212;
  --brand-charcoal: #1F2937;
  --brand-red: #E11D48;
  --brand-red-light: #FFE4E6;
  --bg-page: #F8F9FA;
  --bg-card: #FFFFFF;
  --text-main: #111827;
  --text-muted: #6B7280;
  --text-light: #9CA3AF;
  --border-color: #E5E7EB;
  --border-light: #F3F4F6;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-float: 0 12px 30px -4px rgba(0, 0, 0, 0.12), 0 4px 8px -2px rgba(0, 0, 0, 0.06);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --safe-bottom: env(safe-area-inset-bottom, 20px);
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* ============================================================
   DESKTOP SCREEN (STRICTLY QR CODE VIEW - NO DEMO / SIMULATOR)
   ============================================================ */

#desktop-screen {
  display: none;
  min-height: 100vh;
  width: 100%;
  background: linear-gradient(135deg, #FFFDF8 0%, #F9FAFB 50%, #F3F4F6 100%);
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}

.desktop-container {
  max-width: 680px;
  width: 100%;
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: 28px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.08);
  padding: 48px 40px;
  text-align: center;
}

.desktop-logo-wrap {
  width: 110px;
  height: 110px;
  margin: 0 auto 20px;
  border-radius: 50%;
  padding: 4px;
  background: #FFFFFF;
  border: 2px solid var(--brand-primary);
  box-shadow: 0 8px 20px rgba(245, 158, 11, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.desktop-logo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.desktop-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  background: var(--brand-primary-light);
  color: var(--brand-primary-dark);
  font-weight: 700;
  font-size: 13px;
  border-radius: var(--radius-full);
  margin-bottom: 14px;
}

.desktop-title {
  font-size: 32px;
  font-weight: 800;
  color: var(--brand-black);
  letter-spacing: -0.5px;
  margin-bottom: 6px;
}

.desktop-subtitle {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.desktop-qr-card {
  background: #FFFFFF;
  border: 2px dashed #E5E7EB;
  border-radius: 24px;
  padding: 24px;
  display: inline-block;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.desktop-qr-card:hover {
  transform: translateY(-2px);
  border-color: var(--brand-primary);
}

.desktop-qr-frame {
  width: 240px;
  height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #FFFFFF;
  margin: 0 auto;
}

.desktop-qr-frame canvas,
.desktop-qr-frame img {
  width: 100% !important;
  height: 100% !important;
  border-radius: 12px;
}

.desktop-scan-instruction {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-main);
  margin-top: 14px;
}

.desktop-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 24px 0;
  text-align: left;
}

.desktop-step-box {
  background: #F9FAFB;
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 14px;
}

.desktop-step-num {
  font-size: 12px;
  font-weight: 800;
  color: var(--brand-primary-dark);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.desktop-step-text {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.3;
}

.desktop-meta-bar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
  font-size: 13px;
  color: var(--text-muted);
}

.desktop-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.desktop-copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding: 10px 20px;
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
  transition: all 0.2s ease;
}

.desktop-copy-btn:hover {
  background: #F3F4F6;
  border-color: #D1D5DB;
}

/* Responsive Desktop Switch */
@media (min-width: 768px) {
  #desktop-screen {
    display: flex;
  }
  #mobile-app {
    display: none !important;
  }
}

/* ============================================================
   MOBILE WEBAPP SCREEN
   ============================================================ */

#mobile-app {
  display: block;
  max-width: 480px;
  margin: 0 auto;
  min-height: 100vh;
  background: var(--bg-page);
  position: relative;
  padding-bottom: 110px; /* Space for floating bottom nav */
}

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

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

.brand-identity {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--brand-primary);
  overflow: hidden;
  background: #000000;
  flex-shrink: 0;
}

.brand-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-info h1 {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.3px;
  color: var(--brand-black);
  line-height: 1.15;
}

.brand-info p {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 5px;
}

.status-dot {
  width: 7px;
  height: 7px;
  background-color: #10B981;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2);
}

/* Order Mode Switcher (Delivery vs Mesa) */
.order-mode-toggle {
  display: flex;
  background: #F3F4F6;
  padding: 3px;
  border-radius: var(--radius-full);
  border: 1px solid #E5E7EB;
}

.mode-btn {
  border: none;
  background: transparent;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: all 0.25s ease;
}

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

.mode-btn.active .mode-icon {
  transform: scale(1.1);
}

/* Search Bar */
.search-container {
  position: relative;
  margin-top: 4px;
}

.search-input {
  width: 100%;
  padding: 10px 38px 10px 38px;
  background: #F3F4F6;
  border: 1px solid transparent;
  border-radius: var(--radius-full);
  font-size: 14px;
  color: var(--text-main);
  outline: none;
  transition: all 0.2s ease;
}

.search-input:focus {
  background: #FFFFFF;
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.15);
}

.search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  color: var(--text-light);
  pointer-events: none;
}

.search-clear {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: none;
  font-size: 15px;
  color: var(--text-light);
  cursor: pointer;
  display: none;
}

/* Category Horizontal Bar */
.category-bar-wrapper {
  background: #FFFFFF;
  border-bottom: 1px solid var(--border-color);
  padding: 10px 16px;
  position: sticky;
  top: 114px;
  z-index: 35;
}

.category-scroll {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 2px;
}

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

.category-chip {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: #F3F4F6;
  border: 1px solid #E5E7EB;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 700;
  color: var(--brand-charcoal);
  cursor: pointer;
  transition: all 0.2s ease;
}

.category-chip.active {
  background: var(--brand-primary);
  color: #111827;
  border-color: var(--brand-primary);
  box-shadow: 0 3px 8px rgba(245, 158, 11, 0.35);
}

.category-chip .chip-count {
  font-size: 11px;
  padding: 2px 6px;
  background: rgba(0, 0, 0, 0.08);
  border-radius: 10px;
}

.category-chip.active .chip-count {
  background: rgba(0, 0, 0, 0.15);
}

/* Promos & Banners */
.banner-section {
  padding: 16px 16px 8px;
}

.promo-hero-card {
  background: linear-gradient(135deg, #FFFBEB 0%, #FEF3C7 50%, #FDE68A 100%);
  border: 1px solid #FCD34D;
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.promo-hero-card::after {
  content: "🍔";
  position: absolute;
  right: -10px;
  bottom: -15px;
  font-size: 85px;
  opacity: 0.18;
  pointer-events: none;
}

.promo-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  background: var(--brand-black);
  color: var(--brand-primary);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  border-radius: var(--radius-full);
  margin-bottom: 8px;
}

.promo-hero-title {
  font-size: 18px;
  font-weight: 900;
  color: #78350F;
  line-height: 1.25;
  margin-bottom: 4px;
}

.promo-hero-desc {
  font-size: 13px;
  color: #92400E;
  font-weight: 500;
  max-width: 85%;
}

/* Category Section Banners */
.category-divider-banner {
  margin: 24px 16px 12px;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--border-color);
  background: #FFFFFF;
  box-shadow: var(--shadow-sm);
}

.banner-theme-burgers {
  background: linear-gradient(90deg, #FFFFFF 0%, #FFFBEB 100%);
  border-left: 5px solid var(--brand-primary);
}

.banner-theme-entradas {
  background: linear-gradient(90deg, #FFFFFF 0%, #FEF2F2 100%);
  border-left: 5px solid var(--brand-red);
}

.banner-theme-bebidas {
  background: linear-gradient(90deg, #FFFFFF 0%, #EFF6FF 100%);
  border-left: 5px solid #3B82F6;
}

.cat-banner-content h2 {
  font-size: 16px;
  font-weight: 800;
  color: var(--brand-black);
  display: flex;
  align-items: center;
  gap: 6px;
  line-height: 1.2;
}

.cat-banner-content p {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 2px;
}

.cat-banner-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  background: #F3F4F6;
  border-radius: var(--radius-full);
  color: var(--text-muted);
  flex-shrink: 0;
}

/* Products Container & Cards */
.products-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 4px 16px 12px;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 14px;
  display: flex;
  gap: 14px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
  position: relative;
  cursor: pointer;
}

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

.product-card:hover {
  border-color: #D1D5DB;
  box-shadow: var(--shadow-md);
}

/* Product Image Frame (White Background) */
.product-image-box {
  width: 105px;
  height: 105px;
  border-radius: 14px;
  background: #FFFFFF;
  border: 1px solid #F3F4F6;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.02);
}

.product-image-box img {
  width: 95%;
  height: 95%;
  object-fit: contain;
  transition: transform 0.25s ease;
}

.product-card:hover .product-image-box img {
  transform: scale(1.05);
}

/* Placeholder for items without images (No Inventar) */
.product-placeholder-icon {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #F9FAFB 0%, #F3F4F6 100%);
  color: var(--brand-primary-dark);
  font-size: 38px;
}

.product-placeholder-icon span {
  font-size: 10px;
  font-weight: 700;
  color: var(--text-muted);
  margin-top: 4px;
  text-transform: uppercase;
}

/* Heart Favorite Button */
.fav-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 15px;
  color: #9CA3AF;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  z-index: 5;
}

.fav-btn:hover {
  transform: scale(1.15);
}

.fav-btn.is-fav {
  color: var(--brand-red);
  background: var(--brand-red-light);
  border-color: #FECDD3;
  transform: scale(1.05);
}

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

/* Product Info */
.product-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
  padding-right: 28px; /* space for fav btn */
}

.product-tag {
  display: inline-block;
  align-self: flex-start;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--brand-primary-dark);
  background: var(--brand-primary-light);
  padding: 2px 7px;
  border-radius: var(--radius-full);
  margin-bottom: 4px;
}

.product-name {
  font-size: 15px;
  font-weight: 800;
  color: var(--brand-black);
  line-height: 1.25;
  margin-bottom: 4px;
}

.product-description {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 8px;
}

.product-bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}

.product-price {
  font-size: 15px;
  font-weight: 900;
  color: var(--brand-black);
  background: #FFFBEB;
  border: 1px solid #FDE68A;
  padding: 3px 8px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
}

.product-combo-tag {
  font-size: 10px;
  color: #10B981;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 3px;
}

/* Quick Add Button */
.add-btn {
  background: var(--brand-black);
  color: #FFFFFF;
  border: none;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.add-btn:hover {
  background: var(--brand-primary);
  color: #111827;
  transform: translateY(-1px);
}

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

.btn-counter {
  display: inline-flex;
  align-items: center;
  background: var(--brand-primary);
  color: #111827;
  border-radius: var(--radius-full);
  padding: 2px 6px;
  gap: 8px;
  font-weight: 800;
  font-size: 12px;
}

.counter-btn {
  background: transparent;
  border: none;
  color: #111827;
  font-weight: 900;
  font-size: 14px;
  cursor: pointer;
  padding: 0 4px;
}

/* ============================================================
   FLOATING BOTTOM NAVIGATION BAR (APP STYLE)
   "cada vez que el cliente se pare sobre un item del menu se debe
    resaltar en un circulo con un fondo de relleno del color de la marca"
   ============================================================ */

.floating-bottom-bar {
  position: fixed;
  bottom: 16px;
  left: 16px;
  right: 16px;
  max-width: 440px;
  margin: 0 auto;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-float);
  padding: 6px 12px;
}

.bottom-nav-list {
  display: flex;
  align-items: center;
  justify-content: space-around;
  list-style: none;
}

.nav-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 4px 8px;
  transition: all 0.25s ease;
  text-decoration: none;
  -webkit-user-select: none;
  user-select: none;
}

/* Icon Container Circle */
.nav-icon-circle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--text-muted);
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
}

.nav-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  margin-top: 2px;
  transition: color 0.2s ease;
}

/* ACTIVE AND HOVER STATE: BRAND CIRCLE HIGHLIGHT */
.nav-item:hover .nav-icon-circle,
.nav-item.active .nav-icon-circle {
  background: var(--brand-primary);
  color: #111827;
  transform: translateY(-4px) scale(1.1);
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.45);
}

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

/* Badge on cart / favorites */
.nav-badge {
  position: absolute;
  top: 0;
  right: -2px;
  background: var(--brand-red);
  color: #FFFFFF;
  font-size: 10px;
  font-weight: 800;
  min-width: 18px;
  height: 18px;
  border-radius: var(--radius-full);
  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);
}

/* ============================================================
   MODALS (PRODUCT DETAILS & CART / CHECKOUT)
   ============================================================ */

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 100;
  display: none;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s ease;
}

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

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

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

.modal-handle-bar {
  width: 40px;
  height: 5px;
  background: #D1D5DB;
  border-radius: 3px;
  margin: 12px auto 6px;
}

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

.modal-header h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--brand-black);
}

.modal-close-btn {
  background: #F3F4F6;
  border: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-muted);
}

.modal-body {
  padding: 20px;
  overflow-y: auto;
  flex: 1;
}

.modal-footer {
  padding: 16px 20px;
  background: #FFFFFF;
  border-top: 1px solid var(--border-color);
  position: sticky;
  bottom: 0;
  box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.03);
}

/* Customizer Details */
.customizer-image-wrap {
  width: 180px;
  height: 150px;
  margin: 0 auto 16px;
  background: #FFFFFF;
  border: 1px solid #F3F4F6;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
}

.customizer-image-wrap img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
}

.customizer-title {
  font-size: 20px;
  font-weight: 900;
  color: var(--brand-black);
  margin-bottom: 6px;
}

.customizer-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.4;
  margin-bottom: 16px;
}

.customizer-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: #FFFBEB;
  border: 1px solid #FCD34D;
  border-radius: 12px;
  margin-bottom: 20px;
}

.customizer-price-title {
  font-size: 13px;
  font-weight: 700;
  color: #78350F;
}

.customizer-price-val {
  font-size: 20px;
  font-weight: 900;
  color: #78350F;
}

/* Option Groups */
.option-group {
  margin-bottom: 20px;
  background: #F9FAFB;
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 16px;
}

.option-group-title {
  font-size: 14px;
  font-weight: 800;
  color: var(--brand-black);
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.option-group-subtitle {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.option-pill-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.option-pill-label {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #FFFFFF;
  border: 1.5px solid var(--border-color);
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--brand-charcoal);
  cursor: pointer;
  transition: all 0.2s ease;
}

.option-pill-label input[type="radio"],
.option-pill-label input[type="checkbox"] {
  accent-color: var(--brand-primary);
  width: 16px;
  height: 16px;
}

.option-pill-label:has(input:checked) {
  border-color: var(--brand-primary);
  background: var(--brand-primary-light);
  color: var(--brand-black);
  font-weight: 700;
}

.notes-textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  font-size: 13px;
  color: var(--text-main);
  background: #FFFFFF;
  outline: none;
  resize: none;
  font-family: inherit;
}

.notes-textarea:focus {
  border-color: var(--brand-primary);
}

/* Quantity & Confirm Buttons */
.modal-actions-bar {
  display: flex;
  align-items: center;
  gap: 12px;
}

.qty-control {
  display: flex;
  align-items: center;
  background: #F3F4F6;
  border-radius: var(--radius-full);
  padding: 4px;
  border: 1px solid var(--border-color);
}

.qty-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #FFFFFF;
  border: none;
  font-size: 16px;
  font-weight: 800;
  color: var(--brand-black);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.qty-number {
  min-width: 36px;
  text-align: center;
  font-weight: 800;
  font-size: 15px;
}

.confirm-add-btn {
  flex: 1;
  background: var(--brand-black);
  color: #FFFFFF;
  border: none;
  padding: 14px 20px;
  border-radius: var(--radius-full);
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.confirm-add-btn:hover {
  background: var(--brand-primary);
  color: #111827;
}

/* ============================================================
   CART & WHATSAPP CHECKOUT MODAL
   ============================================================ */

.cart-items-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.cart-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px;
  background: #F9FAFB;
  border: 1px solid var(--border-color);
  border-radius: 14px;
  gap: 10px;
}

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

.cart-item-title {
  font-size: 14px;
  font-weight: 800;
  color: var(--brand-black);
}

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

.cart-item-price {
  font-size: 13px;
  font-weight: 800;
  color: var(--brand-primary-dark);
  margin-top: 4px;
}

.cart-item-remove {
  border: none;
  background: none;
  color: #EF4444;
  font-size: 16px;
  cursor: pointer;
  padding: 6px;
}

/* Checkout Form */
.checkout-form-section {
  background: #F9FAFB;
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 16px;
  margin-bottom: 20px;
}

.checkout-title {
  font-size: 14px;
  font-weight: 800;
  color: var(--brand-black);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.form-group {
  margin-bottom: 12px;
}

.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--brand-charcoal);
  margin-bottom: 5px;
}

.form-input {
  width: 100%;
  padding: 10px 14px;
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  font-size: 13px;
  color: var(--text-main);
  outline: none;
  font-family: inherit;
}

.form-input:focus {
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.2);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

/* Price breakdown */
.breakdown-box {
  border-top: 1px dashed var(--border-color);
  padding-top: 14px;
  margin-top: 14px;
}

.breakdown-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.breakdown-line.total {
  font-size: 17px;
  font-weight: 900;
  color: var(--brand-black);
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--border-color);
}

.btn-whatsapp-order {
  width: 100%;
  background: #25D366;
  color: #FFFFFF;
  border: none;
  padding: 15px 20px;
  border-radius: var(--radius-full);
  font-size: 16px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.35);
  transition: all 0.2s ease;
}

.btn-whatsapp-order:hover {
  background: #1EBE5D;
  transform: translateY(-1px);
}

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

/* Toast Notifications */
.toast-notice {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(-100px);
  background: rgba(18, 18, 18, 0.95);
  color: #FFFFFF;
  padding: 10px 18px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 200;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  pointer-events: none;
}

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

/* Empty State */
.empty-state {
  text-align: center;
  padding: 40px 20px;
}

.empty-state-icon {
  font-size: 48px;
  margin-bottom: 12px;
}

.empty-state h3 {
  font-size: 17px;
  font-weight: 800;
  color: var(--brand-black);
  margin-bottom: 6px;
}

.empty-state p {
  font-size: 13px;
  color: var(--text-muted);
  max-width: 260px;
  margin: 0 auto;
}
