/* ========================================================
   MUNCH STREET FOOD AXM - MODERN FAST FOOD DIGITAL MENU
   Style Guide: Clean Light Theme, Vibrant Brand Colors
   Brand Primary: #FA5D00 (Munch Orange)
   Brand Secondary: #0066FF (Electric Blue)
   Theme: Strictly Light Theme (No dark backgrounds)
   ======================================================== */

:root {
  --brand-orange: #FA5D00;
  --brand-orange-hover: #E25200;
  --brand-orange-light: #FFF2EB;
  --brand-orange-glow: rgba(250, 93, 0, 0.22);

  --brand-blue: #0066FF;
  --brand-blue-hover: #0054D6;
  --brand-blue-light: #EBF3FF;
  --brand-blue-glow: rgba(0, 102, 255, 0.2);

  --accent-yellow: #FFB800;
  --accent-green: #25D366;
  --accent-green-dark: #1EBE5D;

  --bg-page: #F6F7F9;
  --bg-card: #FFFFFF;
  --bg-subtle: #F1F3F5;
  --bg-border: #E8ECEF;

  --text-main: #18191F;
  --text-muted: #64748B;
  --text-light: #94A3B8;

  --font-main: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-display: 'Bebas Neue', 'Plus Jakarta Sans', sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 6px 18px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.09);
  --shadow-nav: 0 10px 30px rgba(0, 0, 0, 0.12);

  --nav-height: 74px;
  --safe-bottom: env(safe-area-inset-bottom, 16px);
}

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

html, body {
  width: 100%;
  height: 100%;
  font-family: var(--font-main);
  background-color: var(--bg-page);
  color: var(--text-main);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

input, textarea, select {
  font-family: inherit;
  color: inherit;
}

/* ========================================================
   1. DESKTOP VIEW: ONLY QR CODE & BRANDING
   Strictly active when viewport width >= 768px.
   No phone emulator, no desktop app clone.
   ======================================================== */
.desktop-container {
  display: flex;
  min-height: 100vh;
  width: 100%;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
  background: radial-gradient(circle at 10% 20%, #FFF5ED 0%, #F5F7FA 100%);
}

.desktop-card {
  max-width: 680px;
  width: 100%;
  background: #FFFFFF;
  border-radius: 32px;
  padding: 48px;
  box-shadow: 0 24px 60px rgba(250, 93, 0, 0.08), 0 8px 24px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(250, 93, 0, 0.12);
  text-align: center;
}

.brand-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--brand-orange-light);
  color: var(--brand-orange);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 24px;
}

.dot-live {
  width: 8px;
  height: 8px;
  background-color: var(--brand-orange);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(250, 93, 0, 0.3);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.7; }
}

.desktop-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 20px;
}

.desktop-logo-img {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--brand-orange);
  box-shadow: 0 6px 20px var(--brand-orange-glow);
}

.desktop-mascot-img {
  height: 85px;
  width: auto;
  object-fit: contain;
}

.desktop-title {
  font-family: var(--font-display);
  font-size: 44px;
  letter-spacing: 1px;
  color: var(--brand-orange);
  line-height: 1.1;
  margin-bottom: 8px;
}

.desktop-tagline {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 36px;
}

.qr-presentation-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #FFFDFB;
  border: 2px dashed #FED7AA;
  border-radius: 24px;
  padding: 32px 24px;
  margin-bottom: 32px;
}

@media (min-width: 600px) {
  .qr-presentation-box {
    flex-direction: row;
    gap: 32px;
    text-align: left;
  }
}

.qr-glow-wrapper {
  background: #FFFFFF;
  padding: 16px;
  border-radius: 20px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
  border: 1px solid #F1F5F9;
  display: inline-block;
  flex-shrink: 0;
}

.qr-canvas-holder {
  width: 200px;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qr-canvas-holder canvas {
  width: 100% !important;
  height: 100% !important;
  border-radius: 8px;
}

.qr-instructions {
  flex: 1;
}

.scan-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--brand-blue);
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}

.qr-desc {
  font-size: 15px;
  line-height: 1.5;
  color: var(--text-main);
  margin-bottom: 18px;
}

.order-features {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.feat-item {
  font-size: 14px;
  font-weight: 600;
  color: #334155;
  display: flex;
  align-items: center;
  gap: 6px;
}

.desktop-footer {
  border-top: 1px solid var(--bg-border);
  padding-top: 24px;
  font-size: 14px;
  color: var(--text-muted);
}

.location-text {
  margin-bottom: 6px;
  color: var(--text-main);
}

.hours-text {
  font-size: 13px;
}


/* ========================================================
   2. MOBILE WEBAPP VIEW (< 768px)
   ======================================================== */
.mobile-app-container {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  min-height: 100vh;
  background-color: var(--bg-page);
  position: relative;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.05);
}

/* Visibility Rules */
@media (min-width: 768px) {
  .mobile-app-container {
    display: none !important;
  }
}

@media (max-width: 767.98px) {
  .desktop-container {
    display: none !important;
  }
}

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

.top-row {
  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%;
  object-fit: cover;
  border: 2px solid var(--brand-orange);
  box-shadow: 0 2px 8px var(--brand-orange-glow);
}

.brand-name {
  font-family: var(--font-display);
  font-size: 24px;
  letter-spacing: 0.5px;
  color: var(--brand-orange);
  line-height: 1;
}

.brand-sub {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
}

.location-pill-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  background: var(--bg-subtle);
  padding: 6px 12px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-main);
  border: 1px solid var(--bg-border);
  cursor: pointer;
  transition: all 0.2s ease;
}

.location-pill-btn:hover {
  background: var(--brand-orange-light);
  border-color: #FDBA74;
}

/* Service Mode Switcher (Domicilio vs Mesa) */
.service-selector-card {
  margin-bottom: 12px;
}

.service-switch-track {
  display: flex;
  background: var(--bg-subtle);
  border-radius: var(--radius-full);
  padding: 4px;
  position: relative;
  gap: 4px;
}

.service-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-btn.active {
  background: #FFFFFF;
  color: var(--brand-orange);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.service-btn:hover:not(.active) {
  color: var(--text-main);
}

.service-hint {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  text-align: center;
  margin-top: 6px;
}

/* Search Bar */
.search-box-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  background: var(--bg-subtle);
  border: 1px solid var(--bg-border);
  border-radius: var(--radius-full);
  padding: 0 14px;
  height: 42px;
  margin-bottom: 12px;
  transition: border-color 0.2s;
}

.search-box-wrapper:focus-within {
  border-color: var(--brand-orange);
  background: #FFFFFF;
  box-shadow: 0 0 0 3px var(--brand-orange-glow);
}

.search-icon {
  color: var(--text-light);
  margin-right: 8px;
  flex-shrink: 0;
}

.search-box-wrapper input {
  flex: 1;
  border: none;
  background: transparent;
  outline: none;
  font-size: 14px;
  color: var(--text-main);
}

.search-clear {
  color: var(--text-light);
  font-size: 18px;
  cursor: pointer;
  padding: 4px;
}

/* Horizontal Scroll Categories with Icons */
.categories-nav {
  width: 100%;
  overflow: hidden;
}

.categories-scroll-track {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding-bottom: 4px;
  scrollbar-width: none;
}

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

.cat-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  background: #FFFFFF;
  border: 1px solid var(--bg-border);
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-main);
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.2s ease;
  position: relative;
}

.cat-pill:hover {
  background: var(--brand-orange-light);
  border-color: #FED7AA;
}

.cat-pill.active {
  background: var(--brand-orange);
  color: #FFFFFF;
  border-color: var(--brand-orange);
  box-shadow: 0 4px 12px var(--brand-orange-glow);
}

.fav-count-badge {
  background: #FFFFFF;
  color: var(--brand-orange);
  font-size: 11px;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: var(--radius-full);
}

.cat-pill.active .fav-count-badge {
  background: #FFFFFF;
  color: var(--brand-orange);
}


/* Main Scroll Area */
.app-main-content {
  flex: 1;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* HERO BRAND BANNER */
.hero-brand-banner {
  background: linear-gradient(135deg, #FFF7ED 0%, #FFEDD5 100%);
  border: 1px solid #FED7AA;
  border-radius: 22px;
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  position: relative;
}

.hero-chip {
  display: inline-block;
  background: var(--brand-orange);
  color: #FFFFFF;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.6px;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  margin-bottom: 6px;
}

.hero-headline {
  font-size: 16px;
  font-weight: 800;
  color: #7C2D12;
  line-height: 1.25;
  margin-bottom: 4px;
}

.hero-subline {
  font-size: 12px;
  font-weight: 600;
  color: #9A3412;
}

.hero-img-side {
  flex-shrink: 0;
}

.hero-mascot {
  width: 90px;
  height: auto;
  object-fit: contain;
  transform: rotate(-3deg);
  filter: drop-shadow(0 4px 12px rgba(250, 93, 0, 0.2));
}


/* Menu Sections & Headers */
.menu-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

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

.section-title-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.section-icon {
  font-size: 22px;
}

.section-title {
  font-family: var(--font-display);
  font-size: 28px;
  letter-spacing: 0.5px;
  color: var(--text-main);
}

.section-badge {
  font-size: 11px;
  font-weight: 700;
  background: var(--brand-orange-light);
  color: var(--brand-orange);
  padding: 4px 10px;
  border-radius: var(--radius-full);
}


/* ========================================================
   INTER-CATEGORY APP BANNERS
   ======================================================== */
.inter-category-banner {
  border-radius: 20px;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  box-shadow: var(--shadow-sm);
  margin: 6px 0;
  transition: transform 0.2s ease;
}

.banner-orange {
  background: linear-gradient(135deg, #FFF1E6 0%, #FFE2CC 100%);
  border: 1.5px solid #FFC999;
}

.banner-blue {
  background: linear-gradient(135deg, #EBF3FF 0%, #D6E7FF 100%);
  border: 1.5px solid #ADCFFF;
}

.banner-gradient {
  background: linear-gradient(135deg, #FFF5EB 0%, #EBF4FF 100%);
  border: 1.5px solid #E2E8F0;
}

.banner-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.6px;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  margin-bottom: 6px;
}

.banner-orange .banner-tag {
  background: var(--brand-orange);
  color: #FFFFFF;
}

.banner-blue .banner-tag {
  background: var(--brand-blue);
  color: #FFFFFF;
}

.banner-gradient .banner-tag {
  background: #334155;
  color: #FFFFFF;
}

.banner-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.25;
  margin-bottom: 4px;
}

.banner-desc {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  line-height: 1.35;
}

.banner-emoji {
  font-size: 38px;
  flex-shrink: 0;
}


/* ========================================================
   PRODUCT CARDS GRID & CARD DESIGN
   Clean light theme, no invented fake stock photos
   White-background real photo for La Munchy Burger
   ======================================================== */
.products-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.product-card {
  background: #FFFFFF;
  border: 1px solid var(--bg-border);
  border-radius: var(--radius-lg);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  position: relative;
}

.product-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: #FED7AA;
}

/* Card Top: Tags & Favorite Button */
.card-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.card-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 700;
  color: var(--brand-blue);
  background: var(--brand-blue-light);
  padding: 3px 9px;
  border-radius: var(--radius-full);
}

.card-badge.orange {
  color: var(--brand-orange);
  background: var(--brand-orange-light);
}

.favorite-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--bg-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
}

.favorite-btn:hover {
  background: #FFE4E6;
  color: #E11D48;
}

.favorite-btn.is-fav {
  background: #FFE4E6;
  color: #E11D48;
  transform: scale(1.08);
}

.favorite-btn svg {
  width: 18px;
  height: 18px;
  transition: transform 0.2s;
}

/* Product Card Layout with Real White-Background Image */
.card-body-flex {
  display: flex;
  gap: 14px;
}

.card-text-side {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.25;
  margin-bottom: 4px;
}

.product-desc {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  line-height: 1.4;
  margin-bottom: 8px;
}

.fries-tag-inline {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 600;
  color: #B45309;
  background: #FEF3C7;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  margin-bottom: 8px;
  align-self: flex-start;
}

/* Product Image (for real white-background assets) */
.card-img-side {
  width: 100px;
  height: 100px;
  flex-shrink: 0;
  background: #FFFFFF;
  border-radius: var(--radius-md);
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--bg-border);
}

.product-real-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #FFFFFF;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.08));
}

/* Card Bottom: Price & Add Button */
.card-footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px dashed var(--bg-border);
}

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

.product-price {
  font-size: 17px;
  font-weight: 800;
  color: var(--brand-orange);
}

.price-k-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-light);
}

.btn-card-add {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--brand-orange);
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 12px var(--brand-orange-glow);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-card-add:hover {
  background: var(--brand-orange-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(250, 93, 0, 0.35);
}

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


/* Additions Grid (Individual Extras cards) */
.additions-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.addition-item-card {
  background: #FFFFFF;
  border: 1px solid var(--bg-border);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: border-color 0.2s;
}

.addition-item-card:hover {
  border-color: #FDBA74;
}

.addition-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-main);
}

.addition-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.addition-price {
  font-size: 14px;
  font-weight: 800;
  color: var(--brand-orange);
}

.btn-add-mini {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--brand-orange-light);
  color: var(--brand-orange);
  font-size: 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.btn-add-mini:hover {
  background: var(--brand-orange);
  color: #FFFFFF;
}


/* ========================================================
   3. FLOATING APP BOTTOM NAVIGATION BAR
   "en la parte inferior debe tener un menu estilo APP flotante
   con lo colores de la marca (bottom navigation bar),
   Usando iconos, y cada ves 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"
   ======================================================== */
.bottom-floating-nav {
  position: fixed;
  bottom: 12px;
  left: 0;
  right: 0;
  z-index: 900;
  display: flex;
  justify-content: center;
  padding: 0 16px;
  pointer-events: none; /* Let touches pass outside the pill */
}

.nav-bar-container {
  pointer-events: auto;
  width: 100%;
  max-width: 440px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 34px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.14), 0 2px 8px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(250, 93, 0, 0.15);
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 4px 10px;
  position: relative;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  color: var(--text-muted);
}

/* Circular icon wrapper for the highlight requirement */
.nav-icon-wrapper {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background-color: transparent;
  color: #64748B;
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

/* REQUIREMENT: When hovering or active, highlight in a circle filled with brand color */
.nav-item:hover .nav-icon-wrapper,
.nav-item.active .nav-icon-wrapper {
  background-color: var(--brand-orange);
  color: #FFFFFF;
  box-shadow: 0 6px 16px var(--brand-orange-glow);
  transform: translateY(-3px) scale(1.08);
}

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

/* Badge counter on nav items */
.badge-counter {
  position: absolute;
  top: -2px;
  right: -2px;
  background: var(--brand-blue);
  color: #FFFFFF;
  font-size: 10px;
  font-weight: 800;
  min-width: 18px;
  height: 18px;
  line-height: 18px;
  padding: 0 5px;
  border-radius: var(--radius-full);
  text-align: center;
  border: 2px solid #FFFFFF;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.nav-item.active .badge-counter {
  border-color: var(--brand-orange);
}


/* FLOATING CART SUMMARY PILL (Appears above the nav when cart has items) */
.floating-order-bar {
  position: fixed;
  bottom: 84px;
  left: 0;
  right: 0;
  z-index: 850;
  display: flex;
  justify-content: center;
  padding: 0 16px;
  pointer-events: none;
  animation: floatUp 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes floatUp {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.floating-order-bar .f-cart-info {
  display: flex;
  flex-direction: column;
}

.floating-order-bar .f-cart-count {
  font-size: 11px;
  font-weight: 600;
  color: #FFFFFF;
  opacity: 0.88;
}

.floating-order-bar .f-cart-total {
  font-size: 16px;
  font-weight: 800;
  color: #FFFFFF;
}

.floating-order-bar > div,
.floating-order-bar > button {
  pointer-events: auto;
}

.floating-order-bar {
  max-width: 440px;
  margin: 0 auto;
}

#floating-cart-pill {
  background: linear-gradient(135deg, var(--brand-orange) 0%, #FF7824 100%);
  border-radius: 20px;
  padding: 10px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: calc(100% - 32px);
  box-shadow: 0 8px 24px rgba(250, 93, 0, 0.38);
  pointer-events: auto;
}

.f-cart-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #FFFFFF;
  color: var(--brand-orange);
  font-size: 13px;
  font-weight: 800;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  transition: transform 0.2s;
}

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

.bottom-scroll-spacer {
  height: 120px;
}


/* ========================================================
   4. MODALS & BOTTOM DRAWERS (Product Details & Cart)
   ======================================================== */
.modal-backdrop,
.cart-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1200;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  transition: opacity 0.3s ease;
}

.modal-sheet-content,
.cart-drawer-sheet {
  background: #FFFFFF;
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  border-radius: 28px 28px 0 0;
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  animation: slideUpSheet 0.3s cubic-bezier(0.34, 1.3, 0.64, 1);
}

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

.sheet-drag-handle {
  width: 44px;
  height: 5px;
  background: #E2E8F0;
  border-radius: var(--radius-full);
  margin: 12px auto 6px auto;
}

.modal-close-btn,
.drawer-close-btn {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-subtle);
  color: var(--text-main);
  font-size: 22px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  cursor: pointer;
  transition: background 0.2s;
}

.modal-close-btn:hover,
.drawer-close-btn:hover {
  background: #E2E8F0;
}

/* Product Modal Body */
.product-modal-body {
  padding: 16px 20px 24px 20px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.modal-image-wrap {
  width: 100%;
  height: 180px;
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--bg-border);
  padding: 8px;
}

.modal-product-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.1));
}

.modal-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

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

.modal-price {
  font-size: 22px;
  font-weight: 800;
  color: var(--brand-orange);
  white-space: nowrap;
}

.modal-description {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}

.fries-included-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #FEF3C7;
  color: #B45309;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: var(--radius-full);
}

/* Modal Extras List */
.modal-extras-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 1px solid var(--bg-border);
  padding-top: 14px;
}

.extras-section-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-main);
}

.extras-checkbox-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

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

.extra-check-row:hover,
.extra-check-row.checked {
  background: var(--brand-orange-light);
  border-color: #FDBA74;
}

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

.extra-checkbox {
  width: 18px;
  height: 18px;
  accent-color: var(--brand-orange);
}

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

.extra-price-tag {
  font-size: 13px;
  font-weight: 800;
  color: var(--brand-orange);
}

/* Notes Textarea */
.modal-notes-section label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.modal-notes-section textarea,
.form-field textarea {
  width: 100%;
  min-height: 64px;
  border: 1px solid var(--bg-border);
  border-radius: var(--radius-md);
  padding: 10px 12px;
  font-size: 13px;
  resize: none;
  outline: none;
  background: var(--bg-subtle);
  transition: border-color 0.2s;
}

.modal-notes-section textarea:focus,
.form-field textarea:focus {
  border-color: var(--brand-orange);
  background: #FFFFFF;
}

/* Modal Actions Footer */
.modal-footer-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--bg-border);
}

.qty-counter {
  display: flex;
  align-items: center;
  background: var(--bg-subtle);
  border-radius: var(--radius-full);
  padding: 4px 6px;
  border: 1px solid var(--bg-border);
}

.qty-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #FFFFFF;
  color: var(--text-main);
  font-size: 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.qty-val {
  min-width: 30px;
  text-align: center;
  font-size: 15px;
  font-weight: 800;
  color: var(--text-main);
}

.btn-add-modal {
  flex: 1;
  background: var(--brand-orange);
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 800;
  padding: 14px 20px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 6px 18px var(--brand-orange-glow);
  transition: all 0.2s;
}

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


/* ========================================================
   CART DRAWER & WHATSAPP CHECKOUT
   ======================================================== */
.drawer-header {
  padding: 18px 20px;
  border-bottom: 1px solid var(--bg-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.drawer-title-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

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

.drawer-title-wrap h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-main);
}

.cart-drawer-body {
  padding: 16px 20px 32px 20px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Service Mode inside Cart */
.cart-mode-toggle-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-subtle);
  border-radius: var(--radius-full);
  padding: 6px 8px;
  border: 1px solid var(--bg-border);
}

.cart-mode-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  margin-left: 8px;
}

.cart-mode-options {
  display: flex;
  gap: 4px;
}

.mode-pill {
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  transition: all 0.2s;
}

.mode-pill.active {
  background: var(--brand-orange);
  color: #FFFFFF;
  box-shadow: 0 2px 8px var(--brand-orange-glow);
}

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

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

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

.cart-item-name {
  font-size: 14px;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.25;
}

.cart-item-extras {
  font-size: 11px;
  color: var(--brand-orange);
  font-weight: 600;
  margin-top: 3px;
}

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

.cart-item-price {
  font-size: 14px;
  font-weight: 800;
  color: var(--text-main);
  margin-top: 4px;
}

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

.cart-qty-ctrl {
  display: flex;
  align-items: center;
  background: #FFFFFF;
  border-radius: var(--radius-full);
  border: 1px solid var(--bg-border);
  padding: 2px 4px;
}

.c-qty-btn {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  color: var(--text-main);
}

.c-qty-val {
  min-width: 24px;
  text-align: center;
  font-size: 13px;
  font-weight: 800;
}

.cart-item-del-btn {
  color: #EF4444;
  font-size: 18px;
  padding: 4px;
  line-height: 1;
}

/* Empty Cart View */
.cart-empty-box,
.empty-state-box {
  text-align: center;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.empty-bag-icon,
.empty-icon {
  font-size: 48px;
}

.btn-primary-action {
  background: var(--brand-orange);
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 800;
  padding: 10px 24px;
  border-radius: var(--radius-full);
  margin-top: 8px;
  box-shadow: 0 4px 14px var(--brand-orange-glow);
}

/* Checkout Form Inputs */
.checkout-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-top: 1px solid var(--bg-border);
  padding-top: 14px;
}

.form-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--text-main);
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.form-field label {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-main);
}

.form-field label .req {
  color: #EF4444;
}

.input-with-icon {
  position: relative;
  display: flex;
  align-items: center;
  background: var(--bg-subtle);
  border: 1px solid var(--bg-border);
  border-radius: var(--radius-md);
  padding: 0 12px;
  height: 44px;
  transition: border-color 0.2s, background 0.2s;
}

.input-with-icon:focus-within {
  border-color: var(--brand-orange);
  background: #FFFFFF;
  box-shadow: 0 0 0 3px var(--brand-orange-glow);
}

.input-icon {
  font-size: 16px;
  margin-right: 8px;
  flex-shrink: 0;
}

.input-with-icon input,
.input-with-icon select {
  width: 100%;
  border: none;
  background: transparent;
  outline: none;
  font-size: 14px;
  color: var(--text-main);
}

/* Order Summary Box */
.order-summary-box {
  background: var(--bg-subtle);
  border-radius: var(--radius-md);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border: 1px solid var(--bg-border);
  margin-top: 4px;
}

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

.highlight-text {
  color: var(--brand-blue);
  font-weight: 700;
}

.summary-total-line {
  display: flex;
  justify-content: space-between;
  font-size: 16px;
  font-weight: 800;
  color: var(--text-main);
  border-top: 1px dashed #CBD5E1;
  padding-top: 8px;
  margin-top: 2px;
}

.summary-total-line span:last-child {
  color: var(--brand-orange);
  font-size: 18px;
}

/* WhatsApp Submit Button */
.btn-whatsapp-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--accent-green);
  color: #FFFFFF;
  font-size: 15px;
  font-weight: 800;
  padding: 15px 20px;
  border-radius: var(--radius-full);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  margin-top: 4px;
}

.btn-whatsapp-submit:hover {
  background: var(--accent-green-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
}

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

.ws-security-notice {
  font-size: 11px;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.35;
}


/* ========================================================
   5. FAVORITES & INFO VIEWS
   ======================================================== */
.favorites-wrapper,
.info-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.favs-header {
  text-align: center;
  padding: 16px 8px;
}

.favs-big-icon {
  font-size: 40px;
  margin-bottom: 6px;
  display: inline-block;
}

.favs-header h2 {
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--brand-orange);
}

.favs-header p {
  font-size: 13px;
  color: var(--text-muted);
}

.info-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 24px;
  border: 1px solid var(--bg-border);
  box-shadow: var(--shadow-sm);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.info-logo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 3px solid var(--brand-orange);
  box-shadow: 0 4px 14px var(--brand-orange-glow);
}

.info-card h2 {
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--brand-orange);
}

.info-motto {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  font-style: italic;
}

.info-details-list {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-align: left;
  background: var(--bg-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
}

.info-row {
  display: flex;
  gap: 12px;
}

.row-icon {
  font-size: 18px;
  flex-shrink: 0;
}

.info-row strong {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
}

.info-row p,
.info-row a {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-main);
  text-decoration: none;
}

.info-row a {
  color: var(--brand-blue);
}

.btn-maps-action {
  width: 100%;
  background: var(--brand-blue);
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 800;
  padding: 12px;
  border-radius: var(--radius-full);
  text-decoration: none;
  box-shadow: 0 4px 14px var(--brand-blue-glow);
  transition: transform 0.2s;
}

.btn-maps-action:active {
  transform: scale(0.98);
}


/* ========================================================
   6. TOAST NOTIFICATIONS
   ======================================================== */
.toast-popup {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(24, 25, 31, 0.94);
  color: #FFFFFF;
  padding: 10px 18px;
  border-radius: var(--radius-full);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  z-index: 2000;
  pointer-events: none;
  animation: toastFadeIn 0.3s cubic-bezier(0.34, 1.3, 0.64, 1);
}

@keyframes toastFadeIn {
  from { opacity: 0; transform: translate(-50%, -15px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}

/* Helpers */
.hidden {
  display: none !important;
}
