/* ========================================================
   BULLDOGOS - MENÚ DIGITAL WEBAPP ESTILO APP
   Paleta de Colores de Marca (Fondos Claros / No Oscuros):
   - Primary Crimson: #981A1A / #7E1313
   - Gold / Cheddar: #E89C12 / #F39C12
   - Background Light: #FAF8F5
   - Cards Light: #FFFFFF
   - Border Light: #EFEAE1
   - Text Dark: #1A1A1A
   - Text Muted: #66615B
   - WhatsApp Green: #25D366
   ======================================================== */

:root {
  --primary: #981A1A;
  --primary-dark: #781212;
  --primary-light: #FBEAEA;
  --accent: #E89C12;
  --accent-light: #FFF4DC;
  --accent-hover: #D48806;
  
  --bg-app: #FAF8F5;
  --bg-card: #FFFFFF;
  --bg-subtle: #F3EFEA;
  
  --border-light: #ECE5DA;
  --border-focus: #981A1A;
  
  --text-main: #181818;
  --text-muted: #66615B;
  --text-light: #948E85;
  --text-white: #FFFFFF;
  
  --wa-green: #25D366;
  --wa-green-dark: #1EBE5D;
  
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.07);
  --shadow-lg: 0 10px 30px rgba(152, 26, 26, 0.12);
  --shadow-floating: 0 8px 24px rgba(0, 0, 0, 0.12);
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  --nav-height: 68px;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

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

/* ========================================================
   RESPONSIVE SWITCHER: DESKTOP QR VS MOBILE ONLY
   ======================================================== */

#desktop-screen {
  display: none;
}

#mobile-app {
  display: block;
  max-width: 480px;
  margin: 0 auto;
  min-height: 100vh;
  background-color: var(--bg-app);
  position: relative;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.04);
  padding-bottom: calc(var(--nav-height) + var(--safe-bottom) + 30px);
}

/* On Desktop screens (>= 768px): Hide Mobile App, Show QR Landing */
@media (min-width: 768px) {
  #mobile-app {
    display: none !important;
  }
  #desktop-screen {
    display: flex !important;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 40px 20px;
    background: radial-gradient(circle at 50% 20%, #FFF8EF 0%, #F5EFE6 100%);
  }
}

/* Forzar modo móvil en smartphones y navegadores móviles */
body.is-mobile #desktop-screen {
  display: none !important;
}

body.is-mobile #mobile-app {
  display: block !important;
}

/* ========================================================
   DESKTOP LANDING (QR CODE ONLY - NO DEMO)
   ======================================================== */

.desktop-card {
  max-width: 580px;
  width: 100%;
  background: #FFFFFF;
  border-radius: 28px;
  padding: 44px 36px;
  box-shadow: 0 20px 60px rgba(152, 26, 26, 0.08), 0 4px 16px rgba(0, 0, 0, 0.03);
  border: 1px solid var(--border-light);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.desktop-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 50%, var(--primary) 100%);
}

.desktop-logo-wrap {
  position: relative;
  width: 130px;
  height: 130px;
  margin: 0 auto 18px;
}

.desktop-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 6px 14px rgba(152, 26, 26, 0.2));
}

.brand-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}

.desktop-title {
  font-size: 28px;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.5px;
  margin-bottom: 6px;
}

.desktop-slogan {
  font-size: 16px;
  font-style: italic;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 14px;
}

.desktop-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 26px;
  max-width: 440px;
  margin-left: auto;
  margin-right: auto;
}

.qr-box-container {
  display: inline-block;
  background: #FFFFFF;
  padding: 18px;
  border-radius: 20px;
  border: 2px dashed #E2D9CB;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
  margin-bottom: 20px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.qr-box-container:hover {
  transform: scale(1.02);
  border-color: var(--primary);
}

#desktop-qrcode {
  width: 200px;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#desktop-qrcode svg {
  border-radius: 8px;
}

.qr-scan-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 24px;
}

.features-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 28px;
}

.pill-item {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  padding: 8px 14px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-main);
}

.desktop-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
}

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

.btn-secondary:hover {
  background: var(--bg-subtle);
  border-color: #D6CEBE;
}

/* ========================================================
   MOBILE APP STYLES (FAST FOOD APP AESTHETIC)
   ======================================================== */

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

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

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

.header-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 50%;
  box-shadow: 0 3px 8px rgba(152, 26, 26, 0.18);
}

.brand-info {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 18px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.1;
  letter-spacing: -0.3px;
}

.brand-sub {
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #E8F8EE;
  color: #1A8245;
  font-size: 11px;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: var(--radius-full);
  border: 1px solid #C4EDD3;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  background-color: var(--wa-green);
  border-radius: 50%;
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.9); opacity: 0.8; box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
  70% { transform: scale(1.1); opacity: 1; box-shadow: 0 0 0 6px rgba(37, 211, 102, 0); }
  100% { transform: scale(0.9); opacity: 0.8; box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Service Mode Switcher Pill (Domicilio vs Mesa) */
.service-mode-bar {
  display: flex;
  background: var(--bg-subtle);
  border-radius: var(--radius-full);
  padding: 3px;
  border: 1px solid var(--border-light);
}

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

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

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

/* Banner Slogan / Horario */
.app-banner {
  margin: 14px 16px 8px;
  background: linear-gradient(135deg, #FFF6EC 0%, #FFEFE0 100%);
  border: 1px solid #F5DEB3;
  border-radius: var(--radius-md);
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.banner-icon {
  font-size: 24px;
}

.banner-content {
  flex: 1;
}

.banner-title {
  font-size: 13px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 2px;
}

.banner-subtitle {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 500;
}

/* Search Bar */
.search-wrapper {
  padding: 8px 16px;
}

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

.search-box:focus-within {
  border-color: var(--primary);
}

.search-input {
  border: none;
  outline: none;
  background: transparent;
  width: 100%;
  font-size: 13px;
  color: var(--text-main);
  font-family: inherit;
}

.search-input::placeholder {
  color: var(--text-light);
}

/* Category Navigation (Horizontal Pill Carousel) */
.categories-nav {
  position: sticky;
  top: 118px;
  z-index: 40;
  background: rgba(250, 248, 245, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 10px 16px 12px;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.categories-nav::-webkit-scrollbar {
  display: none;
}

.cat-pill {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  color: var(--text-main);
  padding: 8px 14px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}

.cat-pill.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(152, 26, 26, 0.25);
}

/* Products Container */
.products-wrapper {
  padding: 8px 16px;
}

.category-section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 16px 0 12px;
}

.section-heading {
  font-size: 16px;
  font-weight: 800;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 8px;
}

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

/* Product Card - Clean Fast-Food App Card (No Dark Background) */
.product-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  padding: 16px;
  margin-bottom: 14px;
  box-shadow: var(--shadow-md);
  position: relative;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

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

.card-header-line {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.product-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.item-badge {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 8px;
  border-radius: 6px;
  background: var(--accent-light);
  color: var(--accent-hover);
}

.item-badge.badge-gramaje {
  background: var(--primary-light);
  color: var(--primary);
}

.fav-btn {
  background: transparent;
  border: none;
  font-size: 20px;
  line-height: 1;
  color: #D1C9BD;
  cursor: pointer;
  padding: 4px;
  border-radius: 50%;
  transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275), color 0.2s ease;
}

.fav-btn.is-fav {
  color: #E0245E;
  transform: scale(1.1);
}

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

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

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

.product-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  border-top: 1px dashed var(--border-light);
}

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

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

.price-main {
  font-size: 19px;
  font-weight: 900;
  color: var(--primary);
  line-height: 1.1;
}

.price-combo-hint {
  font-size: 11px;
  color: var(--accent-hover);
  font-weight: 600;
  margin-top: 2px;
}

.add-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--primary);
  color: #FFFFFF;
  border: none;
  padding: 10px 16px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(152, 26, 26, 0.25);
  transition: all 0.15s ease;
}

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

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

.floating-bottom-bar {
  position: fixed;
  bottom: calc(14px + var(--safe-bottom));
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 32px);
  max-width: 440px;
  height: var(--nav-height);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(236, 229, 218, 0.9);
  border-radius: 26px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 0 8px;
  box-shadow: var(--shadow-floating);
  z-index: 100;
}

.nav-tab-btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  background: transparent;
  border: none;
  cursor: pointer;
  position: relative;
  padding: 6px 0;
  color: var(--text-light);
  transition: all 0.2s ease;
}

.nav-icon {
  font-size: 20px;
  line-height: 1;
  transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.nav-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2px;
}

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

.nav-tab-btn.active .nav-icon {
  transform: translateY(-2px) scale(1.1);
}

.nav-badge-count {
  position: absolute;
  top: 2px;
  right: calc(50% - 20px);
  background: var(--primary);
  color: #FFFFFF;
  font-size: 10px;
  font-weight: 800;
  min-width: 17px;
  height: 17px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  border: 2px solid #FFFFFF;
  box-shadow: 0 2px 5px rgba(152, 26, 26, 0.4);
}

/* Floating Mini Cart Bar (Above Bottom Nav) */
.floating-cart-toast {
  position: fixed;
  bottom: calc(var(--nav-height) + 24px + var(--safe-bottom));
  left: 50%;
  transform: translateX(-50%) translateY(120%);
  width: calc(100% - 32px);
  max-width: 440px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 8px 24px rgba(152, 26, 26, 0.4);
  z-index: 90;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.floating-cart-toast.visible {
  transform: translateX(-50%) translateY(0);
}

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

.toast-cart-icon {
  font-size: 20px;
}

.toast-cart-count {
  font-size: 12px;
  font-weight: 600;
  opacity: 0.9;
}

.toast-cart-total {
  font-size: 15px;
  font-weight: 800;
}

.toast-cart-cta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.2);
  padding: 6px 12px;
  border-radius: var(--radius-full);
}

/* ========================================================
   MODALS & DRAWERS (PRODUCT CUSTOMIZATION & CART)
   ======================================================== */

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 200;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

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

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

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

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

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

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

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

.sheet-footer {
  padding: 16px 20px calc(16px + var(--safe-bottom));
  border-top: 1px solid var(--border-light);
  background: #FFFFFF;
  display: flex;
  gap: 12px;
  align-items: center;
}

/* Customization Options inside Modal */
.modal-product-summary {
  margin-bottom: 18px;
}

.modal-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.45;
  margin-top: 4px;
}

.options-group {
  margin-bottom: 20px;
}

.options-group-title {
  font-size: 13px;
  font-weight: 800;
  color: var(--text-main);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
  display: flex;
  justify-content: space-between;
}

.options-group-subtitle {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-light);
  text-transform: none;
}

/* Radio Cards (Sola vs Con Papas) */
.radio-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  background: var(--bg-subtle);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  margin-bottom: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.radio-card.selected {
  background: var(--primary-light);
  border-color: var(--primary);
}

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

.custom-radio-circle {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid #C4BCB0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.radio-card.selected .custom-radio-circle {
  border-color: var(--primary);
  background: var(--primary);
}

.custom-radio-circle::after {
  content: "";
  width: 6px;
  height: 6px;
  background: #FFFFFF;
  border-radius: 50%;
  display: none;
}

.radio-card.selected .custom-radio-circle::after {
  display: block;
}

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

.radio-card.selected .radio-name {
  color: var(--primary);
}

.radio-price {
  font-size: 13px;
  font-weight: 800;
  color: var(--text-main);
}

/* Checkboxes for Customizations */
.checkbox-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  margin-bottom: 6px;
  cursor: pointer;
}

.checkbox-card.checked {
  border-color: var(--accent);
  background: #FFFDF9;
}

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

.custom-check-box {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  border: 2px solid #C4BCB0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: #FFFFFF;
  font-weight: 900;
}

.checkbox-card.checked .custom-check-box {
  background: var(--accent);
  border-color: var(--accent);
}

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

.checkbox-price {
  font-size: 12px;
  font-weight: 700;
  color: var(--accent-hover);
}

/* Special Instructions Textarea */
.special-notes-input {
  width: 100%;
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 12px;
  font-size: 13px;
  font-family: inherit;
  resize: none;
  height: 70px;
  outline: none;
}

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

/* Quantity Control */
.quantity-control {
  display: flex;
  align-items: center;
  background: var(--bg-subtle);
  border-radius: var(--radius-full);
  padding: 4px;
  border: 1px solid var(--border-light);
}

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

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

/* Big Action Button */
.btn-primary-action {
  flex: 1;
  background: var(--primary);
  color: #FFFFFF;
  border: none;
  padding: 14px 20px;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  transition: all 0.2s ease;
}

.btn-primary-action:active {
  background: var(--primary-dark);
  transform: scale(0.98);
}

/* ========================================================
   CART / CHECKOUT VIEW DETAILS
   ======================================================== */

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

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

.cart-item-name {
  font-size: 14px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 3px;
}

.cart-item-details {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.35;
  margin-bottom: 6px;
}

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

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

.cart-qty-pill {
  display: flex;
  align-items: center;
  background: var(--bg-subtle);
  border-radius: var(--radius-full);
  padding: 2px;
}

.cart-qty-btn {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: none;
  background: #FFFFFF;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-main);
  cursor: pointer;
}

.cart-qty-num {
  padding: 0 8px;
  font-size: 12px;
  font-weight: 800;
}

/* Order Form Fields */
.order-form-group {
  margin-top: 18px;
  background: var(--bg-subtle);
  padding: 16px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
}

.form-group-title {
  font-size: 13px;
  font-weight: 800;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
}

.form-field {
  margin-bottom: 10px;
}

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

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

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

.payment-method-selector {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 6px;
}

.payment-chip {
  padding: 8px 10px;
  background: #FFFFFF;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-size: 11px;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  transition: all 0.15s ease;
}

.payment-chip.selected {
  border-color: var(--primary);
  background: var(--primary-light);
  color: var(--primary);
}

/* Breakdown Totals */
.cart-totals-card {
  margin: 18px 0;
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 14px;
}

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

.total-row.final {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--border-light);
  font-size: 16px;
  font-weight: 900;
  color: var(--text-main);
}

.total-row.final .amount {
  color: var(--primary);
  font-size: 19px;
}

/* WhatsApp Big Confirmation Button */
.btn-whatsapp-order {
  width: 100%;
  background: var(--wa-green);
  color: #FFFFFF;
  border: none;
  padding: 15px 20px;
  border-radius: var(--radius-full);
  font-size: 15px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  transition: all 0.2s ease;
}

.btn-whatsapp-order:hover {
  background: var(--wa-green-dark);
}

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

/* ========================================================
   FAVORITOS & NOSOTROS TABS
   ======================================================== */

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

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

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

.empty-state-desc {
  font-size: 13px;
  color: var(--text-muted);
  max-width: 280px;
  margin: 0 auto 18px;
  line-height: 1.4;
}

/* Info / Nosotros Tab */
.info-tab-wrapper {
  padding: 16px;
}

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

.info-logo {
  width: 90px;
  height: 90px;
  margin: 0 auto 12px;
}

.info-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 2px;
}

.info-slogan {
  font-size: 13px;
  font-style: italic;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 14px;
}

.info-details-list {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  overflow: hidden;
  margin-bottom: 20px;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-light);
}

.info-item:last-child {
  border-bottom: none;
}

.info-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.info-text-group {
  flex: 1;
}

.info-item-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-light);
  text-transform: uppercase;
}

.info-item-value {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-main);
  margin-top: 1px;
}

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

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