/* BURG-CO - ESTILOS OFICIALES APP MÓVIL */
:root {
  --brand-primary: #D9411E;
  --brand-primary-dark: #B83214;
  --brand-primary-light: #FDEEE9;
  --brand-accent: #E88B12;
  --brand-accent-light: #FEF3E2;
  --brand-dark: #1F1916;
  --brand-dark-soft: #38312B;
  --brand-gray-dark: #4A453E;
  --brand-gray-medium: #78716C;
  --brand-gray-light: #E7E2DA;
  --brand-bg: #FAF7F2;
  --brand-card-bg: #FFFFFF;
  --brand-border: #EFE9DF;
  --brand-success: #15803D;
  --brand-success-light: #DCFCE7;
  
  --shadow-sm: 0 1px 3px rgba(31, 25, 22, 0.05);
  --shadow-md: 0 4px 14px rgba(31, 25, 22, 0.08);
  --shadow-lg: 0 10px 28px rgba(31, 25, 22, 0.12);
  --shadow-floating: 0 8px 30px rgba(217, 65, 30, 0.22);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 26px;
  --radius-pill: 9999px;

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

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--brand-bg);
  color: var(--brand-dark);
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ========================================================
   1. DESKTOP QR SCREEN (Solamente para pantallas de escritorio)
   ======================================================== */
#desktop-qr-screen {
  display: none;
}

@media (min-width: 769px) {
  #desktop-qr-screen {
    display: flex;
    min-height: 100vh;
    background: linear-gradient(135deg, #FAF7F2 0%, #F5EFEB 100%);
    align-items: center;
    justify-content: center;
    padding: 32px 20px;
  }

  #mobile-app-container {
    display: none !important;
  }

  .desktop-card {
    background: #FFFFFF;
    max-width: 480px;
    width: 100%;
    border-radius: var(--radius-xl);
    padding: 36px 32px;
    box-shadow: 0 16px 40px rgba(31, 25, 22, 0.08);
    border: 1px solid var(--brand-border);
    text-align: center;
    animation: fadeIn 0.4s ease-out;
  }

  .desktop-logo-wrap {
    width: 104px;
    height: 104px;
    margin: 0 auto 18px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(217, 65, 30, 0.25);
    border: 3px solid #FFFFFF;
  }

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

  .desktop-brand-title {
    font-size: 26px;
    font-weight: 900;
    letter-spacing: -0.5px;
    color: var(--brand-dark);
    margin-bottom: 4px;
  }

  .desktop-brand-subtitle {
    font-size: 14px;
    color: var(--brand-primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
  }

  .desktop-qr-box {
    background: #FAF7F2;
    border: 2px dashed var(--brand-border);
    border-radius: var(--radius-lg);
    padding: 24px;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    box-shadow: inset 0 2px 6px rgba(0,0,0,0.02);
  }

  #desktop-qr-canvas {
    background: #FFFFFF;
    padding: 12px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
  }

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

  .desktop-sub-instruction {
    font-size: 13px;
    color: var(--brand-gray-medium);
    margin-bottom: 24px;
    max-width: 380px;
    margin-left: auto;
    margin-right: auto;
  }

  .desktop-steps {
    display: flex;
    justify-content: space-around;
    gap: 12px;
    margin-bottom: 24px;
    text-align: center;
  }

  .desktop-step {
    flex: 1;
    background: #FAF7F2;
    padding: 12px 8px;
    border-radius: var(--radius-md);
    font-size: 12px;
    color: var(--brand-gray-dark);
  }

  .desktop-step-icon {
    font-size: 20px;
    display: block;
    margin-bottom: 4px;
  }

  .desktop-direct-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--brand-primary);
    color: #FFFFFF;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: var(--radius-pill);
    font-weight: 700;
    font-size: 14px;
    box-shadow: var(--shadow-floating);
    transition: transform 0.2s, background-color 0.2s;
  }

  .desktop-direct-btn:hover {
    background: var(--brand-primary-dark);
    transform: translateY(-2px);
  }

  .desktop-footer-info {
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid var(--brand-border);
    font-size: 12px;
    color: var(--brand-gray-medium);
  }
}

/* ========================================================
   2. MOBILE APP CONTAINER (Para pantallas <= 768px)
   ======================================================== */
@media (max-width: 768px) {
  #desktop-qr-screen {
    display: none !important;
  }

  #mobile-app-container {
    display: block;
    max-width: 100%;
    margin: 0 auto;
    min-height: 100vh;
    padding-bottom: calc(100px + var(--safe-bottom));
    background-color: var(--brand-bg);
  }
}

/* ========================================================
   3. APP HEADER & ORDER MODE SELECTOR (Mesa vs Domicilio)
   ======================================================== */
.app-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(250, 247, 242, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--brand-border);
  padding: 10px 16px;
}

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

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

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

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

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

.brand-info-text p {
  font-size: 11px;
  color: var(--brand-primary);
  font-weight: 700;
  letter-spacing: 0.2px;
}

/* Selector estilo Switch Pills para Mesa / Domicilio */
.order-mode-selector {
  display: flex;
  background: #EFEAE2;
  border-radius: var(--radius-pill);
  padding: 3px;
  position: relative;
}

.mode-btn {
  border: none;
  background: transparent;
  padding: 7px 12px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 700;
  color: var(--brand-gray-dark);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.mode-btn.active {
  background: var(--brand-primary);
  color: #FFFFFF;
  box-shadow: 0 2px 6px rgba(217, 65, 30, 0.3);
}

/* Barra de Ubicación / Mesa Activa */
.active-location-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
  padding: 8px 12px;
  background: #FFFFFF;
  border-radius: var(--radius-md);
  border: 1px solid var(--brand-border);
  font-size: 12px;
}

.active-location-content {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--brand-gray-dark);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.active-location-content strong {
  color: var(--brand-dark);
}

.change-mode-link {
  color: var(--brand-primary);
  font-weight: 700;
  font-size: 11px;
  border: none;
  background: none;
  cursor: pointer;
  text-decoration: underline;
  padding: 0 4px;
}

/* ========================================================
   4. HERO PROMO SLIDER / HERO BANNER
   ======================================================== */
.hero-banner {
  margin: 12px 16px;
  background: linear-gradient(135deg, #D9411E 0%, #C53716 100%);
  border-radius: var(--radius-xl);
  padding: 18px 20px;
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.hero-banner::after {
  content: "";
  position: absolute;
  top: -30px;
  right: -30px;
  width: 140px;
  height: 140px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  pointer-events: none;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(255, 255, 255, 0.2);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.hero-title {
  font-size: 21px;
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 6px;
  letter-spacing: -0.4px;
}

.hero-desc {
  font-size: 13px;
  opacity: 0.95;
  margin-bottom: 12px;
  max-width: 90%;
  line-height: 1.35;
}

.hero-perks {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.hero-perk-pill {
  background: #FFFFFF;
  color: var(--brand-dark);
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* ========================================================
   5. SEARCH BAR & CATEGORY BAR FLOTANTE / HORIZONTAL
   ======================================================== */
.search-wrapper {
  padding: 4px 16px 10px;
}

.search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #FFFFFF;
  border: 1px solid var(--brand-border);
  border-radius: var(--radius-pill);
  padding: 8px 16px;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s;
}

.search-box:focus-within {
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 2px var(--brand-primary-light);
}

.search-icon {
  font-size: 16px;
  color: var(--brand-gray-medium);
}

.search-input {
  border: none;
  outline: none;
  width: 100%;
  font-size: 14px;
  color: var(--brand-dark);
  background: transparent;
}

.search-input::placeholder {
  color: #A8A29E;
}

.search-clear-btn {
  background: none;
  border: none;
  color: var(--brand-gray-medium);
  cursor: pointer;
  display: none;
  font-size: 14px;
}

/* Category Slider Sticky */
.category-nav-bar {
  position: sticky;
  top: 98px;
  z-index: 30;
  background: var(--brand-bg);
  padding: 6px 16px 10px;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

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

.cat-tab-btn {
  border: 1px solid var(--brand-border);
  background: #FFFFFF;
  color: var(--brand-dark);
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
}

.cat-tab-btn .cat-icon {
  font-size: 16px;
}

.cat-tab-btn.active {
  background: var(--brand-dark);
  color: #FFFFFF;
  border-color: var(--brand-dark);
}

/* ========================================================
   6. INTER-CATEGORY BANNERS (Banners entre cada categoría)
   ======================================================== */
.section-inter-banner {
  margin: 24px 16px 16px;
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(0,0,0,0.04);
}

/* Banner 1: Calidad Carne (Terracotta & Gold) */
.banner-meat {
  background: linear-gradient(135deg, #2A211D 0%, #1A1412 100%);
  color: #FFFFFF;
  border-left: 6px solid var(--brand-primary);
}

.banner-meat .banner-tag {
  color: #F87171;
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.banner-meat .banner-title {
  font-size: 18px;
  font-weight: 900;
  color: #FFFFFF;
  margin-bottom: 6px;
  letter-spacing: -0.3px;
}

.banner-meat .banner-text {
  font-size: 13px;
  color: #E7E2DA;
  line-height: 1.4;
  margin-bottom: 8px;
}

.banner-meat .banner-cta {
  font-size: 12px;
  font-weight: 800;
  color: #FBBF24;
}

/* Banner 2: Adiciones & Salsas */
.banner-custom {
  background: linear-gradient(135deg, #FFF6EC 0%, #FEEBD5 100%);
  color: var(--brand-dark);
  border-left: 6px solid var(--brand-accent);
}

.banner-custom .banner-tag {
  color: #C2410C;
  font-weight: 800;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 4px;
}

.banner-custom .banner-title {
  font-size: 18px;
  font-weight: 900;
  color: #1F1916;
  margin-bottom: 6px;
}

.banner-custom .banner-text {
  font-size: 13px;
  color: #4A453E;
  margin-bottom: 8px;
}

.banner-custom .banner-cta {
  font-size: 12px;
  font-weight: 800;
  color: var(--brand-primary);
}

/* Banner 3: Bebidas heladas */
.banner-drinks {
  background: linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 100%);
  color: #1E3A8A;
  border-left: 6px solid #2563EB;
}

.banner-drinks .banner-tag {
  color: #1D4ED8;
  font-weight: 800;
  font-size: 11px;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.banner-drinks .banner-title {
  font-size: 18px;
  font-weight: 900;
  color: #1E3A8A;
  margin-bottom: 6px;
}

.banner-drinks .banner-text {
  font-size: 13px;
  color: #3B82F6;
  margin-bottom: 8px;
}

.banner-drinks .banner-cta {
  font-size: 12px;
  font-weight: 800;
  color: #1E40AF;
}

/* ========================================================
   7. SECCIÓN DE MENÚ & PRODUCT CARDS (Estilo McDonald's/KFC/BurgerKing)
   ======================================================== */
.category-section {
  padding: 10px 16px 20px;
}

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

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

.section-icon-badge {
  width: 34px;
  height: 34px;
  background: #FFFFFF;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--brand-border);
}

.section-title {
  font-size: 19px;
  font-weight: 900;
  color: var(--brand-dark);
  letter-spacing: -0.4px;
}

.section-counter {
  font-size: 12px;
  font-weight: 700;
  color: var(--brand-gray-medium);
  background: #EFEAE2;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
}

/* Grid de Tarjetas */
.product-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Card Individual Estilo App Grande */
.product-card {
  background: var(--brand-card-bg);
  border: 1px solid var(--brand-border);
  border-radius: var(--radius-lg);
  padding: 16px;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

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

.card-tag {
  background: var(--brand-primary-light);
  color: var(--brand-primary);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
}

.fav-btn {
  background: #FFFFFF;
  border: 1px solid var(--brand-border);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  cursor: pointer;
  transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: var(--shadow-sm);
}

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

.fav-btn.active {
  color: #DC2626;
  background: #FEF2F2;
  border-color: #FCA5A5;
}

.card-title {
  font-size: 17px;
  font-weight: 900;
  color: var(--brand-dark);
  line-height: 1.2;
  margin-bottom: 6px;
}

.card-desc {
  font-size: 13px;
  color: var(--brand-gray-dark);
  line-height: 1.35;
  margin-bottom: 12px;
}

/* Pills de ingredientes destacados */
.card-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 12px;
}

.highlight-pill {
  font-size: 11px;
  background: #F5EFEB;
  color: var(--brand-dark-soft);
  padding: 2px 7px;
  border-radius: 4px;
  font-weight: 600;
}

/* Precios y Botón Agregar */
.card-bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 10px;
  border-top: 1px solid #F5EFEB;
}

.pricing-box {
  display: flex;
  flex-direction: column;
}

.price-main {
  font-size: 17px;
  font-weight: 900;
  color: var(--brand-dark);
  letter-spacing: -0.3px;
}

.price-combo {
  font-size: 11px;
  font-weight: 700;
  color: var(--brand-primary);
}

.add-btn {
  background: var(--brand-primary);
  color: #FFFFFF;
  border: none;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 10px rgba(217, 65, 30, 0.25);
  transition: transform 0.15s ease, background-color 0.15s ease;
}

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

/* ========================================================
   8. MODAL DE PERSONALIZACIÓN Y SELECCIÓN (SOLA vs COMBO)
   ======================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(31, 25, 22, 0.6);
  backdrop-filter: blur(4px);
  z-index: 100;
  display: none;
  align-items: flex-end;
  justify-content: center;
  animation: fadeIn 0.2s ease-out;
}

.modal-overlay.active {
  display: flex;
}

.modal-sheet {
  background: #FFFFFF;
  width: 100%;
  max-width: 500px;
  max-height: 88vh;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  padding: 20px 20px calc(24px + var(--safe-bottom));
  overflow-y: auto;
  position: relative;
  box-shadow: 0 -10px 40px rgba(0,0,0,0.2);
  animation: slideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-drag-pill {
  width: 40px;
  height: 5px;
  background: #E5E0D8;
  border-radius: var(--radius-pill);
  margin: 0 auto 16px;
}

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

.modal-title {
  font-size: 20px;
  font-weight: 900;
  color: var(--brand-dark);
}

.modal-close-btn {
  background: #F5EFEB;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-gray-dark);
}

.modal-desc {
  font-size: 13px;
  color: var(--brand-gray-dark);
  margin-bottom: 18px;
  line-height: 1.4;
}

/* Opciones de Presentación (Sola vs Combo) */
.option-group-title {
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--brand-gray-dark);
  margin-bottom: 10px;
}

.type-selector-cards {
  display: flex;
  gap: 10px;
  margin-bottom: 18px;
}

.type-card {
  flex: 1;
  border: 2px solid var(--brand-border);
  border-radius: var(--radius-md);
  padding: 12px;
  cursor: pointer;
  background: #FAF7F2;
  transition: all 0.2s ease;
  position: relative;
}

.type-card.selected {
  border-color: var(--brand-primary);
  background: #FFF7F5;
}

.type-card input {
  position: absolute;
  opacity: 0;
}

.type-card-name {
  font-weight: 800;
  font-size: 14px;
  color: var(--brand-dark);
  margin-bottom: 2px;
}

.type-card-price {
  font-size: 15px;
  font-weight: 900;
  color: var(--brand-primary);
  margin-bottom: 2px;
}

.type-card-sub {
  font-size: 11px;
  color: var(--brand-gray-medium);
}

/* Lista de Adiciones seleccionables en el modal */
.modal-adiciones-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
}

.modal-adic-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  background: #FAF7F2;
  border-radius: var(--radius-md);
  border: 1px solid var(--brand-border);
}

.adic-label-wrap {
  display: flex;
  flex-direction: column;
}

.adic-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--brand-dark);
}

.adic-price {
  font-size: 12px;
  font-weight: 800;
  color: var(--brand-primary);
}

.adic-checkbox {
  width: 20px;
  height: 20px;
  accent-color: var(--brand-primary);
  cursor: pointer;
}

/* Notas / Indicaciones especiales */
.special-notes-input {
  width: 100%;
  border: 1px solid var(--brand-border);
  border-radius: var(--radius-md);
  padding: 10px 12px;
  font-size: 13px;
  font-family: inherit;
  resize: none;
  background: #FAF7F2;
  color: var(--brand-dark);
  margin-bottom: 18px;
  outline: none;
}

.special-notes-input:focus {
  border-color: var(--brand-primary);
  background: #FFFFFF;
}

/* Fila de Cantidad y Botón Confirmar Modal */
.modal-footer-action {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--brand-border);
}

.qty-counter {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #FAF7F2;
  border: 1px solid var(--brand-border);
  border-radius: var(--radius-pill);
  padding: 4px 8px;
}

.qty-btn {
  background: #FFFFFF;
  border: 1px solid var(--brand-border);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 16px;
  font-weight: 900;
  color: var(--brand-dark);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
}

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

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

.modal-submit-btn {
  flex: 1;
  background: var(--brand-primary);
  color: #FFFFFF;
  border: none;
  border-radius: var(--radius-pill);
  padding: 14px;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow-floating);
}

/* ========================================================
   9. QUICK CART FLOATING PILL (Barra flotante sobre el bottom nav)
   ======================================================== */
.cart-floating-bar {
  position: fixed;
  bottom: calc(82px + var(--safe-bottom));
  left: 20px;
  right: 20px;
  max-width: 400px;
  margin: 0 auto;
  z-index: 55;
  background: var(--brand-primary);
  color: #FFFFFF;
  border-radius: var(--radius-pill);
  padding: 12px 18px;
  display: none;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 8px 24px rgba(217, 65, 30, 0.35);
  animation: slideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.cart-floating-bar.visible {
  display: flex;
}

.cart-pill-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cart-pill-badge {
  background: #FFFFFF;
  color: var(--brand-primary);
  font-size: 12px;
  font-weight: 900;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-pill-label {
  font-weight: 800;
  font-size: 14px;
}

.cart-pill-total {
  font-size: 15px;
  font-weight: 900;
}

/* ========================================================
   10. FLOATING APP BOTTOM NAVIGATION BAR (Con colores de la marca)
   En iconos, con resaltado circular al pasar por cada opción
   ======================================================== */
.bottom-nav-bar {
  position: fixed;
  bottom: calc(16px + var(--safe-bottom));
  left: 20px;
  right: 20px;
  max-width: 400px;
  margin: 0 auto;
  z-index: 60;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--radius-pill);
  padding: 6px 12px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  box-shadow: 0 12px 36px rgba(31, 25, 22, 0.16), 0 2px 8px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(239, 233, 223, 0.95);
  transition: transform 0.25s ease;
}

.nav-item-btn {
  background: transparent;
  border: none;
  padding: 4px;
  cursor: pointer;
  position: relative;
  outline: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Círculo contenedor de cada icono */
.nav-icon-circle {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: #6B635B;
  transition: all 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.nav-item-btn:hover .nav-icon-circle {
  background: rgba(217, 65, 30, 0.06);
  color: var(--brand-primary);
}

/* Estado activo: Resaltado en círculo con color de la marca */
.nav-item-btn.active .nav-icon-circle {
  background: var(--brand-primary);
  color: #FFFFFF;
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 8px 20px rgba(217, 65, 30, 0.42);
}

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

.nav-item-btn.active .nav-svg-icon {
  transform: scale(1.08);
}

.nav-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  background: var(--brand-primary);
  color: #FFFFFF;
  font-size: 10px;
  font-weight: 900;
  min-width: 18px;
  height: 18px;
  border-radius: var(--radius-pill);
  display: none;
  align-items: center;
  justify-content: center;
  border: 2px solid #FFFFFF;
  transition: all 0.2s ease;
}

.nav-badge.visible {
  display: flex;
}

.nav-item-btn.active .nav-badge {
  background: #FFFFFF;
  color: var(--brand-primary);
  border-color: var(--brand-primary);
}

/* ========================================================
   11. VISTAS DE PÁGINA (Menú, Favoritos, Carrito, Info)
   ======================================================== */
.app-view {
  display: none;
}

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

/* Vista Información (Info) */
.info-view {
  padding: 16px;
  animation: fadeIn 0.3s ease;
}

.info-card-header {
  text-align: center;
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  border: 1px solid var(--brand-border);
  padding: 24px 20px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
}

.info-brand-avatar {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 12px;
  border: 3px solid var(--brand-primary);
  box-shadow: 0 6px 18px rgba(217, 65, 30, 0.25);
}

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

.info-brand-name {
  font-size: 22px;
  font-weight: 900;
  color: var(--brand-dark);
  margin-bottom: 2px;
}

.info-brand-subtitle {
  font-size: 12px;
  font-weight: 800;
  color: var(--brand-primary);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.info-quote {
  font-size: 14px;
  font-style: italic;
  color: var(--brand-gray-dark);
  margin-bottom: 4px;
}

.info-slogan {
  font-size: 15px;
  font-weight: 900;
  color: var(--brand-primary);
}

.info-text {
  font-size: 13px;
  color: var(--brand-gray-dark);
  margin-bottom: 12px;
  line-height: 1.4;
}

.info-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: #FAF7F2;
  border: 1px solid var(--brand-border);
  padding: 11px 14px;
  border-radius: var(--radius-md);
  color: var(--brand-dark);
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
  transition: all 0.2s;
}

.info-action-btn:hover {
  border-color: var(--brand-primary);
  background: #FFF7F5;
  color: var(--brand-primary);
}

.info-schedule-list {
  list-style: none;
  font-size: 13px;
  color: var(--brand-gray-dark);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.info-schedule-list li {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px dashed var(--brand-border);
  padding-bottom: 4px;
}

.info-social-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.social-link-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: #FAF7F2;
  border: 1px solid var(--brand-border);
  border-radius: var(--radius-md);
  text-decoration: none;
  color: var(--brand-dark);
  font-size: 13px;
  font-weight: 700;
  transition: all 0.2s;
}

.social-link-btn.ws-btn {
  background: #E8F8EE;
  border-color: #A7F3D0;
  color: #047857;
}

/* Vista Favoritos */
.favorites-view {
  padding: 16px;
}

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

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

.empty-state-title {
  font-size: 18px;
  font-weight: 900;
  color: var(--brand-dark);
  margin-bottom: 6px;
}

.empty-state-desc {
  font-size: 13px;
  color: var(--brand-gray-medium);
  max-width: 280px;
  margin: 0 auto 20px;
}

.btn-secondary {
  background: #FFFFFF;
  border: 1px solid var(--brand-border);
  color: var(--brand-dark);
  font-weight: 800;
  font-size: 13px;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

/* ========================================================
   12. VISTA DE CHECKOUT Y PEDIDO (WhatsApp Direct)
   ======================================================== */
.checkout-view {
  padding: 16px;
}

.checkout-card {
  background: #FFFFFF;
  border: 1px solid var(--brand-border);
  border-radius: var(--radius-lg);
  padding: 18px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
}

.checkout-card-title {
  font-size: 15px;
  font-weight: 900;
  color: var(--brand-dark);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

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

.form-label {
  display: block;
  font-size: 12px;
  font-weight: 800;
  color: var(--brand-gray-dark);
  margin-bottom: 4px;
}

.form-input {
  width: 100%;
  border: 1px solid var(--brand-border);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  font-size: 14px;
  background: #FAF7F2;
  color: var(--brand-dark);
  outline: none;
}

.form-input:focus {
  border-color: var(--brand-primary);
  background: #FFFFFF;
}

/* Selector Métodos de Pago */
.payment-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.payment-btn {
  border: 1px solid var(--brand-border);
  background: #FAF7F2;
  padding: 10px;
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 700;
  color: var(--brand-dark);
  cursor: pointer;
  text-align: center;
  transition: all 0.2s ease;
}

.payment-btn.active {
  border-color: var(--brand-primary);
  background: #FFF7F5;
  color: var(--brand-primary);
  font-weight: 800;
}

/* Lista de Items en Carrito */
.cart-items-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 14px;
}

.cart-item-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--brand-border);
}

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

.cart-item-sub {
  font-size: 11px;
  color: var(--brand-gray-medium);
  margin-top: 2px;
}

.cart-item-price-side {
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.cart-item-total {
  font-size: 14px;
  font-weight: 900;
  color: var(--brand-dark);
}

.cart-item-remove {
  background: none;
  border: none;
  color: #EF4444;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}

/* Totales */
.totals-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--brand-gray-dark);
  margin-bottom: 6px;
}

.totals-row.grand-total {
  font-size: 18px;
  font-weight: 900;
  color: var(--brand-dark);
  border-top: 1px dashed var(--brand-border);
  padding-top: 10px;
  margin-top: 10px;
}

/* Botón Grande Confirmar por WhatsApp */
.whatsapp-submit-btn {
  width: 100%;
  background: #25D366;
  color: #FFFFFF;
  border: none;
  border-radius: var(--radius-pill);
  padding: 16px 20px;
  font-size: 16px;
  font-weight: 900;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
  transition: transform 0.15s ease, background-color 0.15s ease;
}

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

.ws-icon-svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

/* Toast Notificaciones */
.toast-msg {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(-30px);
  background: rgba(31, 25, 22, 0.94);
  color: #FFFFFF;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 700;
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 8px;
}

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

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

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