/* ============================================================
   JAM BURGER - Minimalist Premium App Stylesheet
   Brand Colors:
   - Primary Red: #B11A23
   - Dark Red: #8F121A
   - Warm Canvas: #FAF8F5
   - White: #FFFFFF
   - Text Primary: #1F1D1A
   - Text Secondary: #736B63
   - Border Subtle: #EBE5DC
============================================================ */

:root {
  --brand-red: #B11A23;
  --brand-red-dark: #8F121A;
  --brand-red-light: #FDF1F2;
  --brand-red-glow: rgba(177, 26, 35, 0.25);
  --brand-gold: #D97706;
  --brand-gold-light: #FEF3C7;
  
  --bg-canvas: #FAF8F5;
  --bg-card: #FFFFFF;
  --bg-subtle: #F5EFEB;
  
  --text-main: #1C1917;
  --text-muted: #78716C;
  --text-light: #A8A29E;
  
  --border-light: #EDE7DF;
  --border-focus: #B11A23;
  
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  
  --font-display: 'Fredoka', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  
  --shadow-sm: 0 2px 8px rgba(28, 25, 23, 0.04);
  --shadow-md: 0 8px 24px rgba(28, 25, 23, 0.06);
  --shadow-lg: 0 16px 40px rgba(177, 26, 35, 0.12);
  --shadow-bottom-nav: 0 10px 35px rgba(28, 25, 23, 0.12);
}

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

html, body {
  width: 100%;
  min-height: 100%;
  background-color: var(--bg-canvas);
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ============================================================
   DESKTOP QR SHIELD (Desktop View Guard)
   Requirement: No debe abrir desde desktop, solo desde smartphone.
   No simulador, solo un QR que redirige al móvil.
============================================================ */
#desktop-guard {
  display: none;
}

@media (min-width: 769px) {
  #mobile-app {
    display: none !important;
  }
  
  #desktop-guard {
    display: flex !important;
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    background: radial-gradient(circle at 50% 20%, #FFF5F5 0%, #FAF8F5 60%, #F5EFEB 100%);
    align-items: center;
    justify-content: center;
    padding: 24px;
    z-index: 99999;
    overflow-y: auto;
  }
  
  .desktop-card {
    background: #FFFFFF;
    border: 1px solid var(--border-light);
    border-radius: 32px;
    max-width: 480px;
    width: 100%;
    padding: 44px 36px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(177, 26, 35, 0.08), 0 4px 16px rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
  }
  
  .desktop-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, #B11A23, #E11D48, #B11A23);
  }
  
  .desktop-logo-wrap {
    width: 96px;
    height: 96px;
    margin: 0 auto 18px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(177, 26, 35, 0.2);
    border: 3px solid #FFFFFF;
  }
  
  .desktop-logo-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .desktop-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--brand-red-light);
    color: var(--brand-red);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    margin-bottom: 14px;
  }
  
  .desktop-title {
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 800;
    color: var(--brand-red);
    line-height: 1.2;
    margin-bottom: 10px;
    letter-spacing: -0.5px;
  }
  
  .desktop-desc {
    color: var(--text-muted);
    font-size: 14.5px;
    line-height: 1.5;
    margin-bottom: 24px;
  }
  
  .qr-box-wrapper {
    display: inline-block;
    padding: 18px;
    background: #FFFFFF;
    border-radius: 24px;
    border: 2px dashed #E2D9CE;
    box-shadow: 0 8px 20px rgba(0,0,0,0.03);
    margin-bottom: 20px;
    position: relative;
  }
  
  #qr-container canvas {
    display: block;
    border-radius: 12px;
  }
  
  .qr-instruction {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 18px;
  }
  
  .desktop-location-footer {
    padding-top: 18px;
    border-top: 1px solid var(--border-light);
    font-size: 12.5px;
    color: var(--text-muted);
    line-height: 1.5;
  }
  
  .desktop-location-footer strong {
    color: var(--text-main);
  }
}

/* ============================================================
   MOBILE APP STYLES (Smartphone Exclusive WebApp)
============================================================ */
#mobile-app {
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  min-height: 100vh;
  position: relative;
  background-color: var(--bg-canvas);
  padding-bottom: 110px; /* Space for floating bottom nav */
}

/* --- Top Sticky App Bar --- */
.app-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-light);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.brand-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--brand-red);
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}

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

.brand-text-col {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 800;
  color: var(--brand-red);
  letter-spacing: -0.3px;
  line-height: 1.1;
}

.brand-status-row {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-muted);
  margin-top: 2px;
}

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

.status-dot.closed {
  background-color: #EF4444;
  box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.2);
}

/* Header Order Mode Selector Switch */
.order-mode-pill {
  display: flex;
  background: var(--bg-subtle);
  padding: 3px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-light);
}

.order-mode-pill button {
  border: none;
  background: transparent;
  padding: 6px 11px;
  border-radius: var(--radius-full);
  font-size: 11.5px;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 4px;
}

.order-mode-pill button.active {
  background: var(--brand-red);
  color: #FFFFFF;
  box-shadow: 0 2px 6px var(--brand-red-glow);
}

/* --- Top Hero Banner (Referencing the dishes at the start of menu) --- */
.hero-dish-banner {
  margin: 16px 16px 12px;
  background: linear-gradient(135deg, #B11A23 0%, #90131B 100%);
  border-radius: 24px;
  padding: 22px 20px;
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.hero-dish-banner::after {
  content: "";
  position: absolute;
  right: -30px;
  bottom: -30px;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 10px;
}

.hero-dish-title {
  font-family: var(--font-display);
  font-size: 27px;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}

.hero-dish-desc {
  font-size: 13px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 14px;
}

.hero-dish-features {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.hero-feature-chip {
  background: rgba(255, 255, 255, 0.15);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 8px;
}

/* --- Category Navigation (Icons) --- */
.category-nav-wrapper {
  position: sticky;
  top: 69px; /* Below app header */
  z-index: 90;
  background: var(--bg-canvas);
  padding: 10px 16px 8px;
  border-bottom: 1px solid rgba(237, 231, 223, 0.8);
}

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

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

.cat-chip {
  display: flex;
  align-items: center;
  gap: 7px;
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  padding: 8px 15px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
  box-shadow: 0 1px 4px rgba(0,0,0,0.03);
}

.cat-chip .cat-icon {
  font-size: 16px;
  line-height: 1;
}

.cat-chip.active {
  background: var(--brand-red);
  color: #FFFFFF;
  border-color: var(--brand-red);
  box-shadow: 0 3px 10px var(--brand-red-glow);
  transform: scale(1.02);
}

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

/* --- Main Menu Sections --- */
.menu-container {
  padding: 14px 16px 20px;
}

.section-anchor {
  scroll-margin-top: 130px;
}

.category-section {
  margin-bottom: 26px;
}

.category-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  padding-left: 4px;
}

.category-title-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.category-title {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 800;
  color: var(--brand-red);
  letter-spacing: -0.3px;
  text-transform: uppercase;
}

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

/* --- Category Interstitial Banners (Between Each Category) --- */
.interstitial-banner {
  margin: 8px 0 22px;
  border-radius: 20px;
  padding: 18px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.interstitial-banner.banner-papas {
  background: linear-gradient(135deg, #FFF9EB 0%, #FEF3C7 100%);
  border: 1px solid #FDE68A;
  color: #78350F;
}

.interstitial-banner.banner-adiciones {
  background: linear-gradient(135deg, #FFF1F2 0%, #FFE4E6 100%);
  border: 1px solid #FECDD3;
  color: #881337;
}

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

.banner-content {
  flex: 1;
}

.banner-eyebrow {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  opacity: 0.85;
  margin-bottom: 4px;
}

.banner-headline {
  font-family: var(--font-display);
  font-size: 16.5px;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 4px;
}

.banner-sub {
  font-size: 12px;
  opacity: 0.9;
  line-height: 1.35;
}

.banner-graphic {
  font-size: 38px;
  line-height: 1;
  flex-shrink: 0;
}

/* --- Clean White Dish Cards (Minimalist Premium App Style) --- */
.dishes-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.dish-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 18px;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

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

.card-top-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
}

.dish-name {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.2px;
  line-height: 1.2;
}

/* Favorite Heart Button */
.btn-favorite {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: 50%;
  color: #D1D5DB;
  font-size: 20px;
  line-height: 1;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.btn-favorite.active {
  color: var(--brand-red);
  transform: scale(1.15);
  animation: heartPop 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes heartPop {
  0% { transform: scale(0.8); }
  50% { transform: scale(1.3); }
  100% { transform: scale(1.15); }
}

.dish-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}

.dish-badge {
  font-size: 10.5px;
  font-weight: 700;
  color: var(--brand-red);
  background: var(--brand-red-light);
  padding: 3px 8px;
  border-radius: var(--radius-full);
}

.dish-description {
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.45;
  margin-bottom: 14px;
}

.dish-subnote {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--brand-red);
  background: #FFF1F2;
  border: 1px dashed rgba(177, 26, 35, 0.3);
  padding: 3px 8px;
  border-radius: 6px;
  margin-bottom: 12px;
}

/* Variant Selector for LA JAM (Sencilla, Doble, Triple) */
.variant-selector-wrap {
  background: var(--bg-canvas);
  border: 1px solid var(--border-light);
  border-radius: 14px;
  padding: 10px 12px;
  margin-bottom: 14px;
}

.variant-label {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
  display: block;
}

.variant-options-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.variant-btn {
  background: #FFFFFF;
  border: 1.5px solid var(--border-light);
  border-radius: 10px;
  padding: 8px 4px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.variant-btn .v-name {
  font-size: 11.5px;
  font-weight: 800;
  display: block;
  color: var(--text-main);
}

.variant-btn .v-price {
  font-size: 11px;
  font-weight: 600;
  color: var(--brand-red);
  display: block;
  margin-top: 2px;
}

.variant-btn.selected {
  background: var(--brand-red);
  border-color: var(--brand-red);
  box-shadow: 0 2px 8px var(--brand-red-glow);
}

.variant-btn.selected .v-name,
.variant-btn.selected .v-price {
  color: #FFFFFF;
}

/* Option Toggle for ¿Sin mermelada? */
.custom-checkbox-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: 10px;
  padding: 8px 12px;
  margin-top: 8px;
  cursor: pointer;
}

.custom-checkbox-row span {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-main);
}

.custom-checkbox-row input[type="checkbox"] {
  accent-color: var(--brand-red);
  width: 17px;
  height: 17px;
  cursor: pointer;
}

/* Bottom Row of Card: Price & Add Button */
.card-bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 8px;
  border-top: 1px solid rgba(237, 231, 223, 0.6);
}

.price-container {
  display: flex;
  flex-direction: column;
}

.price-eyebrow {
  font-size: 10px;
  font-weight: 600;
  color: var(--text-light);
  text-transform: uppercase;
}

.dish-price {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  color: var(--brand-red);
  letter-spacing: -0.3px;
}

.btn-add-cart {
  background: var(--brand-red);
  color: #FFFFFF;
  border: none;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  box-shadow: 0 3px 10px var(--brand-red-glow);
  transition: all 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

/* ============================================================
   BOTTOM NAVIGATION BAR (APP STYLE)
   Requirements:
   - Rounded borders
   - Active item enclosed in a solid circle of brand color
   - Accord with brand colors
   - No dark theme
============================================================ */
.bottom-app-bar {
  position: fixed;
  bottom: 14px;
  left: 14px;
  right: 14px;
  max-width: 472px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(220, 210, 200, 0.75);
  border-radius: 32px;
  padding: 6px 10px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  box-shadow: var(--shadow-bottom-nav);
  z-index: 1000;
}

.nav-tab-item {
  background: transparent;
  border: none;
  outline: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 6px 8px;
  cursor: pointer;
  position: relative;
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  min-width: 58px;
}

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

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

/* Enclosed in brand red circle when selected */
.nav-tab-item.active .nav-icon-wrapper {
  background: var(--brand-red);
  color: #FFFFFF;
  box-shadow: 0 4px 14px var(--brand-red-glow);
  transform: translateY(-4px);
}

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

/* Badge for Cart count */
.cart-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  background: #10B981;
  color: #FFFFFF;
  font-size: 10px;
  font-weight: 800;
  min-width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 3px;
  border: 2px solid #FFFFFF;
}

/* ============================================================
   VIEWS / MODALS / DRAWERS
============================================================ */

/* View Containers */
.view-panel {
  display: none;
}

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

/* Favoritos View */
.empty-state {
  text-align: center;
  padding: 48px 24px;
}

.empty-state-icon {
  font-size: 54px;
  color: #D1D5DB;
  margin-bottom: 12px;
}

.empty-state-title {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 6px;
}

.empty-state-desc {
  font-size: 13.5px;
  color: var(--text-muted);
  max-width: 280px;
  margin: 0 auto 20px;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--brand-red-light);
  color: var(--brand-red);
  border: 1px solid rgba(177, 26, 35, 0.2);
  padding: 10px 20px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

/* Cart & Checkout View */
.cart-drawer-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(4px);
  z-index: 2000;
}

.cart-drawer-overlay.active {
  display: block;
}

.cart-modal {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  max-width: 500px;
  margin: 0 auto;
  background: #FFFFFF;
  border-radius: 28px 28px 0 0;
  box-shadow: 0 -10px 40px rgba(0,0,0,0.15);
  z-index: 2001;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.cart-modal.active {
  transform: translateY(0);
}

.modal-handle-bar {
  width: 44px;
  height: 5px;
  background: #E5E7EB;
  border-radius: 3px;
  margin: 10px auto 4px;
}

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

.modal-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  color: var(--brand-red);
}

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

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

/* Order Mode Toggle in Cart */
.mode-toggle-box {
  background: var(--bg-canvas);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 4px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  margin-bottom: 18px;
}

.mode-toggle-btn {
  background: transparent;
  border: none;
  padding: 10px 8px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

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

/* Form Fields */
.form-group {
  margin-bottom: 12px;
}

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

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

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

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

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

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

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

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

.cart-item-subtotal {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--brand-red);
  margin-top: 3px;
}

.cart-qty-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-qty {
  width: 28px;
  height: 28px;
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: 50%;
  font-size: 14px;
  font-weight: 800;
  color: var(--brand-red);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.qty-display {
  font-size: 13.5px;
  font-weight: 800;
  min-width: 18px;
  text-align: center;
}

/* Order Totals */
.cart-totals-summary {
  background: #FFFFFF;
  border-top: 1px solid var(--border-light);
  padding: 14px 20px 20px;
}

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

.summary-row.total-row {
  font-size: 17px;
  font-weight: 800;
  color: var(--text-main);
  padding-top: 8px;
  border-top: 1px dashed var(--border-light);
  margin-top: 8px;
}

.total-amount {
  font-family: var(--font-display);
  color: var(--brand-red);
  font-size: 21px;
}

/* WhatsApp Confirmation Button */
.btn-whatsapp-confirm {
  width: 100%;
  background: #25D366;
  color: #FFFFFF;
  border: none;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 800;
  padding: 14px 18px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35);
  margin-top: 12px;
  transition: transform 0.2s ease;
}

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

/* Location & Business Info View */
.location-hero-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: 24px;
  padding: 24px 20px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 16px;
  text-align: center;
}

.location-mascot {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  margin: 0 auto 12px;
  border: 2px solid var(--brand-red);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.location-mascot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.info-item-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: 18px;
  padding: 16px;
  margin-bottom: 12px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.info-icon-badge {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--brand-red-light);
  color: var(--brand-red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.info-text-col h4 {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 3px;
}

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

/* Quick Action Links */
.action-buttons-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 14px;
}

.action-link-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 14px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
}

.action-link-btn.btn-maps {
  background: #FFFFFF;
  color: #1E293B;
  border: 1.5px solid var(--border-light);
}

.action-link-btn.btn-ig {
  background: linear-gradient(45deg, #F58529, #DD2A7B, #8134AF);
  color: #FFFFFF;
}

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

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