/* ==========================================================================
   L.A. BURGER - CALIFORNIA STYLE
   Digital Menu App Stylesheet (Light Theme / Mobile-First App Experience)
   ========================================================================== */

:root {
  --primary: #E5252A;
  --primary-hover: #D01C21;
  --primary-soft: #FEE2E2;
  --secondary: #F5B025;
  --secondary-soft: #FEF3C7;
  --secondary-hover: #E29E1A;
  
  --bg-page: #F8F9FA;
  --bg-surface: #FFFFFF;
  --bg-muted: #F3F4F6;
  
  --text-main: #18181B;
  --text-muted: #6B7280;
  --text-light: #9CA3AF;
  --text-inverse: #FFFFFF;
  
  --border-color: #E5E7EB;
  --border-light: #F3F4F6;
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 14px rgba(0, 0, 0, 0.07);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.08);
  --shadow-float: 0 12px 30px rgba(229, 37, 42, 0.22);
  
  --bottom-bar-height: 76px;
  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html, body {
  width: 100%;
  min-height: 100%;
  background-color: var(--bg-page);
  color: var(--text-main);
  font-family: var(--font-family);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ==========================================================================
   DESKTOP SCREEN (QR SCANNER - ONLY ACTIVE ON >= 768px)
   ========================================================================== */

#desktop-screen {
  display: none;
  min-height: 100vh;
  background: radial-gradient(circle at 10% 20%, #FFF8E7 0%, #FFFFFF 40%, #FFF1F1 90%);
  padding: 40px 20px;
  align-items: center;
  justify-content: center;
}

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

.desktop-card {
  max-width: 960px;
  width: 100%;
  background: #FFFFFF;
  border-radius: var(--radius-xl);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(229, 37, 42, 0.1);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  overflow: hidden;
}

.desktop-info-col {
  padding: 50px 45px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.desktop-brand-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.desktop-logo {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-full);
  object-fit: cover;
  box-shadow: var(--shadow-md);
  border: 2px solid var(--secondary);
}

.desktop-brand-title {
  font-size: 26px;
  font-weight: 900;
  letter-spacing: -0.5px;
  color: var(--primary);
  text-transform: uppercase;
}

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

.desktop-tagline {
  font-size: 32px;
  font-weight: 800;
  line-height: 1.25;
  color: var(--text-main);
  margin-bottom: 16px;
}

.desktop-tagline span {
  color: var(--primary);
}

.desktop-description {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 30px;
}

.desktop-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 30px;
}

.desktop-feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: var(--bg-page);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

.desktop-feature-icon {
  font-size: 22px;
}

.desktop-feature-text strong {
  display: block;
  font-size: 13px;
  color: var(--text-main);
}

.desktop-feature-text span {
  font-size: 11px;
  color: var(--text-muted);
}

.desktop-footer-info {
  border-top: 1px solid var(--border-color);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--text-muted);
}

.desktop-qr-col {
  background: linear-gradient(135deg, #FFF9EB 0%, #FFF2F2 100%);
  padding: 50px 35px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-left: 1px solid rgba(229, 37, 42, 0.08);
}

.desktop-qr-card {
  background: #FFFFFF;
  padding: 24px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 2px solid #FFFFFF;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 24px;
}

.qr-box {
  width: 220px;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.qr-box svg {
  width: 100%;
  height: 100%;
}

.qr-logo-overlay {
  position: absolute;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: #FFFFFF;
  padding: 3px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.qr-logo-overlay img {
  width: 100%;
  height: 100%;
  border-radius: var(--radius-full);
  object-fit: cover;
}

.desktop-qr-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: #FFFFFF;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}

.desktop-qr-instruction {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 6px;
}

.desktop-qr-subinstruction {
  font-size: 13px;
  color: var(--text-muted);
  max-width: 240px;
}

.desktop-simulate-btn {
  margin-top: 18px;
  background: transparent;
  border: 1px dashed var(--primary);
  color: var(--primary);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.desktop-simulate-btn:hover {
  background: var(--primary-soft);
}


/* ==========================================================================
   MOBILE WEB APP (ONLY ACTIVE ON < 768px OR MOBILE EMULATION)
   ========================================================================== */

#mobile-app {
  max-width: 480px;
  margin: 0 auto;
  min-height: 100vh;
  background: #FFFFFF;
  position: relative;
  padding-bottom: calc(var(--bottom-bar-height) + 24px);
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.04);
}

/* --- Mobile Sticky Top Header --- */
.app-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #FFFFFF;
  border-bottom: 1px solid var(--border-light);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.app-header-top {
  padding: 12px 16px 8px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.app-logo {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-full);
  object-fit: cover;
  border: 2px solid var(--secondary);
}

.app-brand-info h1 {
  font-size: 18px;
  font-weight: 900;
  color: var(--primary);
  line-height: 1.1;
  letter-spacing: -0.3px;
}

.app-brand-info p {
  font-size: 10px;
  font-weight: 700;
  color: var(--secondary);
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.app-status-badge {
  display: flex;
  align-items: center;
  gap: 5px;
  background: #ECFDF5;
  color: #059669;
  border: 1px solid #A7F3D0;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 700;
}

.status-dot {
  width: 6px;
  height: 6px;
  background: #10B981;
  border-radius: var(--radius-full);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

/* --- Order Type Switcher (En Mesa / A Domicilio) --- */
.order-mode-toggle {
  display: flex;
  background: var(--bg-muted);
  border-radius: var(--radius-full);
  padding: 4px;
  margin: 6px 16px 10px 16px;
  position: relative;
}

.order-mode-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 12px;
  border: none;
  background: transparent;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.order-mode-btn.active.domicilio {
  color: var(--secondary-hover);
}

/* --- Search Bar --- */
.app-search-wrapper {
  padding: 0 16px 12px 16px;
}

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

.search-icon {
  position: absolute;
  left: 12px;
  font-size: 16px;
  color: var(--text-muted);
}

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

.search-input:focus {
  background: #FFFFFF;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(229, 37, 42, 0.1);
}

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

/* --- Category Navigation Bar (Horizontal Scrolling Circles) --- */
.category-nav-bar {
  display: flex;
  gap: 12px;
  padding: 6px 16px 12px 16px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.category-nav-bar::-webkit-scrollbar {
  display: none;
}

.category-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: none;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
  gap: 5px;
  transition: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.category-icon-circle {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-full);
  background: #FFFFFF;
  border: 1.5px solid var(--border-color);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  transition: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
}

.category-name {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

/* When category is active / highlighted in a circle */
.category-item.active .category-icon-circle {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%);
  border-color: var(--secondary);
  box-shadow: 0 4px 14px rgba(229, 37, 42, 0.35);
  transform: translateY(-2px) scale(1.08);
}

.category-item.active .category-name {
  color: var(--primary);
  font-weight: 800;
}

/* ==========================================================================
   APP CONTENT SECTIONS & BANNERS
   ========================================================================== */

.app-main-content {
  padding: 0 16px;
}

/* --- Hero Banner (California Style) --- */
.hero-banner {
  margin: 14px 0 18px 0;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #FFF7ED 0%, #FEE2E2 100%);
  border: 1px solid rgba(229, 37, 42, 0.12);
  padding: 16px 18px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.hero-banner-content {
  position: relative;
  z-index: 2;
  max-width: 65%;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--secondary);
  color: #FFFFFF;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  margin-bottom: 6px;
}

.hero-title {
  font-size: 18px;
  font-weight: 900;
  line-height: 1.2;
  color: var(--primary);
  margin-bottom: 4px;
}

.hero-subtitle {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.3;
}

.hero-image-wrapper {
  position: absolute;
  right: -10px;
  bottom: -5px;
  width: 42%;
  max-width: 180px;
  z-index: 1;
}

.hero-image-wrapper img {
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 8px 12px rgba(0, 0, 0, 0.12));
}

/* --- Section Banners Between Categories --- */
.section-banner {
  margin: 28px 0 16px 0;
  border-radius: var(--radius-md);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.banner-fries {
  background: linear-gradient(135deg, #FFFBEB 0%, #FEF3C7 100%);
  border: 1px solid #FDE68A;
}

.banner-salads {
  background: linear-gradient(135deg, #ECFDF5 0%, #D1FAE5 100%);
  border: 1px solid #A7F3D0;
}

.banner-combos {
  background: linear-gradient(135deg, #FEF2F2 0%, #FEE2E2 100%);
  border: 1px solid #FECACA;
}

.banner-extras {
  background: linear-gradient(135deg, #FFF7ED 0%, #FFEDD5 100%);
  border: 1px solid #FED7AA;
}

.banner-drinks {
  background: linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 100%);
  border: 1px solid #BFDBFE;
}

.section-banner-text {
  flex: 1;
}

.section-banner-title {
  font-size: 14px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 2px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.section-banner-desc {
  font-size: 11px;
  color: var(--text-muted);
}

.section-banner-badge {
  font-size: 11px;
  font-weight: 800;
  color: var(--primary);
  background: #FFFFFF;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
}

/* --- Category Title Headers --- */
.category-section {
  scroll-margin-top: 155px;
  margin-bottom: 20px;
}

.category-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 18px 0 12px 0;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--border-light);
}

.category-header-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 900;
  color: var(--text-main);
}

.category-header-title .cat-icon {
  font-size: 20px;
}

.category-header-count {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  background: var(--bg-muted);
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

/* ==========================================================================
   PRODUCT CARDS GRID & ITEM STYLING (WHITE BACKGROUND IMAGES)
   ========================================================================== */

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

.product-card {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  padding: 12px;
  display: flex;
  gap: 12px;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}

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

/* Product Image Box (Pure White Background Only) */
.product-image-box {
  width: 96px;
  height: 96px;
  background: #FFFFFF;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-shrink: 0;
  overflow: hidden;
}

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

.product-card:active .product-image-box img {
  transform: scale(1.06);
}

/* If no image: Clean typographic badge placeholder with highlighted circle icon */
.product-placeholder-box {
  width: 96px;
  height: 96px;
  background: linear-gradient(135deg, #FFFBF0 0%, #FFF5F5 100%);
  border-radius: var(--radius-sm);
  border: 1px dashed rgba(229, 37, 42, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6px;
  flex-shrink: 0;
}

.item-icon-circle-lg {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: #FFFFFF;
  border: 2px solid var(--secondary);
  box-shadow: 0 3px 8px rgba(245, 176, 37, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 4px;
  transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.product-card:active .item-icon-circle-lg {
  transform: scale(1.1);
}

.product-placeholder-tag {
  font-size: 9px;
  font-weight: 800;
  color: var(--primary);
  text-transform: uppercase;
}

/* Card Badges */
.card-badge-new {
  position: absolute;
  top: 4px;
  left: 4px;
  background: var(--primary);
  color: #FFFFFF;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.5px;
  padding: 2px 6px;
  border-radius: var(--radius-full);
  z-index: 2;
  box-shadow: 0 2px 4px rgba(229, 37, 42, 0.3);
}

/* Favorite Button */
.btn-favorite {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 32px;
  height: 32px;
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  color: #D1D5DB;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  z-index: 3;
}

.btn-favorite.active {
  color: var(--primary);
  background: #FFF1F2;
  border-color: #FECDD3;
  transform: scale(1.1);
}

/* Product Info */
.product-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-right: 28px; /* space for favorite button */
}

.product-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

/* Circle Highlighted Icon on each item */
.item-icon-circle {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-full);
  background: #FFF1F2;
  border: 1.5px solid rgba(229, 37, 42, 0.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(229, 37, 42, 0.12);
  transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.product-card:hover .item-icon-circle,
.product-card:active .item-icon-circle {
  transform: scale(1.15) rotate(6deg);
  background: var(--primary);
  color: #FFFFFF;
  border-color: var(--secondary);
  box-shadow: 0 3px 10px rgba(229, 37, 42, 0.3);
}

.product-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.2;
}

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

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

.product-price {
  font-size: 16px;
  font-weight: 900;
  color: var(--primary);
}

.product-price small {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
}

/* Add to Cart Button & Quantity Controls */
.btn-add-cart {
  background: var(--primary);
  color: #FFFFFF;
  border: none;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(229, 37, 42, 0.25);
  transition: all 0.2s ease;
}

.btn-add-cart:active {
  transform: scale(0.95);
  background: var(--primary-hover);
}

.qty-control {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-muted);
  border-radius: var(--radius-full);
  padding: 2px 6px;
}

.qty-btn {
  width: 24px;
  height: 24px;
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
  color: var(--primary);
  cursor: pointer;
  transition: background 0.15s ease;
}

.qty-btn:active {
  background: var(--primary-soft);
}

.qty-value {
  font-size: 13px;
  font-weight: 800;
  color: var(--text-main);
  min-width: 14px;
  text-align: center;
}

/* ==========================================================================
   FLOATING BOTTOM NAVIGATION BAR (APP STYLE LIKE MCDONALD'S / KFC / BK)
   ========================================================================== */

.floating-bottom-nav {
  position: fixed;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 24px);
  max-width: 456px;
  height: 64px;
  background: #FFFFFF;
  border-radius: var(--radius-full);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(229, 37, 42, 0.08);
  border: 1px solid rgba(229, 37, 42, 0.15);
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 0 8px;
  z-index: 90;
  backdrop-filter: blur(10px);
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 10px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease;
}

.nav-item .nav-icon {
  font-size: 18px;
  margin-bottom: 2px;
  transition: transform 0.2s ease;
}

.nav-item.active {
  color: var(--primary);
}

.nav-item.active .nav-icon {
  transform: translateY(-2px);
}

/* Cart Button in Nav (Featured pill button) */
.nav-cart-btn {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%);
  color: #FFFFFF !important;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 12px rgba(229, 37, 42, 0.35);
}

.nav-cart-btn .nav-icon {
  font-size: 18px;
  margin-bottom: 0;
}

.nav-cart-btn .nav-cart-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.1;
}

.nav-cart-btn .cart-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.nav-cart-btn .cart-total-badge {
  font-size: 13px;
  font-weight: 900;
}

/* Notification Badges */
.badge-count {
  position: absolute;
  top: 2px;
  right: 12px;
  background: var(--secondary);
  color: #FFFFFF;
  font-size: 10px;
  font-weight: 900;
  min-width: 17px;
  height: 17px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  border: 2px solid #FFFFFF;
}

/* ==========================================================================
   MODALS & DRAWERS (CART / ORDER CHECKOUT / FAVORITES / INFO)
   ========================================================================== */

.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(4px);
  z-index: 100;
  display: none;
  align-items: flex-end;
  justify-content: center;
  animation: fadeIn 0.2s ease;
}

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

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.bottom-drawer {
  background: #FFFFFF;
  width: 100%;
  max-width: 480px;
  max-height: 85vh;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  animation: slideUp 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

@keyframes slideUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

.drawer-header {
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-light);
  position: relative;
}

.drawer-drag-handle {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 4px;
  background: #E5E7EB;
  border-radius: var(--radius-full);
}

.drawer-title {
  font-size: 17px;
  font-weight: 900;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 8px;
}

.drawer-close {
  background: var(--bg-muted);
  border: none;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--text-muted);
  cursor: pointer;
}

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

/* Cart Items inside Drawer */
.cart-items-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 18px;
}

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

.cart-item-info h4 {
  font-size: 14px;
  font-weight: 800;
  color: var(--text-main);
}

.cart-item-info p {
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
}

.cart-item-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cart-empty-state {
  text-align: center;
  padding: 40px 20px;
}

.cart-empty-icon {
  font-size: 50px;
  margin-bottom: 10px;
}

.cart-empty-state h3 {
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 4px;
}

.cart-empty-state p {
  font-size: 13px;
  color: var(--text-muted);
}

/* Checkout Form */
.checkout-section-title {
  font-size: 14px;
  font-weight: 800;
  color: var(--text-main);
  margin: 16px 0 10px 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

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

.form-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 4px;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 10px 12px;
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 13px;
  color: var(--text-main);
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s ease;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(229, 37, 42, 0.1);
}

.form-textarea {
  resize: none;
  height: 60px;
}

/* Order Summary Box */
.order-summary-box {
  background: #FFFBEB;
  border: 1px solid #FDE68A;
  border-radius: var(--radius-md);
  padding: 14px;
  margin: 16px 0;
}

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

.summary-row.total {
  font-size: 16px;
  font-weight: 900;
  color: var(--text-main);
  border-top: 1px dashed #FCD34D;
  padding-top: 8px;
  margin-top: 8px;
}

.summary-row.total span:last-child {
  color: var(--primary);
}

/* Drawer Footer */
.drawer-footer {
  padding: 16px 20px;
  border-top: 1px solid var(--border-light);
  background: #FFFFFF;
}

.btn-whatsapp-submit {
  width: 100%;
  background: #25D366;
  color: #FFFFFF;
  border: none;
  padding: 14px 20px;
  border-radius: var(--radius-full);
  font-size: 15px;
  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.35);
  transition: all 0.2s ease;
}

.btn-whatsapp-submit:active {
  transform: scale(0.98);
  background: #20BD5A;
}

.whatsapp-icon {
  font-size: 20px;
}

/* Store Info View in Drawer */
.info-card {
  background: var(--bg-muted);
  border-radius: var(--radius-md);
  padding: 14px;
  margin-bottom: 12px;
}

.info-card h4 {
  font-size: 14px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.info-card p {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.4;
}

.instagram-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(45deg, #F58529, #DD2A7B, #8134AF);
  color: #FFFFFF;
  text-decoration: none;
  padding: 8px 14px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
  margin-top: 8px;
}

/* Toast Message */
.toast-notice {
  position: fixed;
  bottom: 86px;
  left: 50%;
  transform: translateX(-50%) translateY(50px);
  background: #18181B;
  color: #FFFFFF;
  padding: 10px 18px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
  z-index: 200;
  opacity: 0;
  transition: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  pointer-events: none;
  white-space: nowrap;
}

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