@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Oswald:wght@500;600;700&display=swap');

:root {
  --primary: #F59E0B;
  --primary-hover: #D97706;
  --primary-light: #FEF3C7;
  --primary-tint: #FFFBEB;
  --dark: #18181B;
  --dark-soft: #27272A;
  --gray-50: #FAFAFA;
  --gray-100: #F4F4F5;
  --gray-200: #E4E4E7;
  --gray-300: #D4D4D8;
  --gray-400: #A1A1AA;
  --gray-500: #71717A;
  --gray-600: #52525B;
  --white: #FFFFFF;
  --red: #EF4444;
  --green: #10B981;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Oswald', 'Plus Jakarta Sans', sans-serif;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.06), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.07), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
  --shadow-dock: 0 16px 36px -4px rgba(0, 0, 0, 0.12), 0 4px 12px rgba(0, 0, 0, 0.04);
}

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

html, body {
  width: 100%;
  height: 100%;
  font-family: var(--font-sans);
  background-color: var(--white);
  color: var(--dark);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* DESKTOP GATE - ONLY QR CODE SCREEN */
#desktop-gate {
  display: flex;
  min-height: 100vh;
  width: 100%;
  background: radial-gradient(circle at 50% 20%, #FFFBEB 0%, #FFFFFF 65%, #F8FAFC 100%);
  align-items: center;
  justify-content: center;
  padding: 32px 20px;
}

.desktop-card {
  max-width: 520px;
  width: 100%;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 32px;
  padding: 40px 36px;
  text-align: center;
  box-shadow: 0 25px 50px -12px rgba(245, 158, 11, 0.15), 0 12px 24px -8px rgba(0, 0, 0, 0.06);
  position: relative;
  overflow: hidden;
}

.desktop-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, #F59E0B, #D97706, #F59E0B);
}

.desktop-logo-wrap {
  width: 96px;
  height: 96px;
  margin: 0 auto 20px;
  border-radius: 50%;
  padding: 4px;
  background: linear-gradient(135deg, #F59E0B, #FFFBEB);
  box-shadow: 0 8px 20px rgba(245, 158, 11, 0.25);
}

.desktop-logo-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  background: var(--white);
}

.desktop-title {
  font-family: var(--font-display);
  font-size: 28px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--dark);
  margin-bottom: 6px;
}

.desktop-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--primary-light);
  color: #B45309;
  font-size: 13px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 18px;
}

.desktop-subtitle {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--gray-500);
  margin-bottom: 26px;
}

.desktop-qr-box {
  width: 240px;
  height: 240px;
  margin: 0 auto 22px;
  background: var(--white);
  padding: 16px;
  border-radius: 24px;
  border: 2px dashed var(--primary);
  box-shadow: var(--shadow-md);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.desktop-qr-center-logo {
  position: absolute;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--primary);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

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

.desktop-instructions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
  text-align: left;
  background: var(--gray-50);
  padding: 16px;
  border-radius: 18px;
  border: 1px solid var(--gray-200);
}

.step-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13.5px;
  color: var(--dark-soft);
}

.step-num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--dark);
  font-weight: 800;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.desktop-locations {
  font-size: 12.5px;
  color: var(--gray-500);
  font-weight: 500;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 14px;
  margin-bottom: 20px;
}

.desktop-bypass-btn {
  background: none;
  border: none;
  font-size: 12.5px;
  color: var(--gray-400);
  text-decoration: underline;
  cursor: pointer;
  transition: color 0.2s;
}

.desktop-bypass-btn:hover {
  color: var(--primary-hover);
}

/* MOBILE APP VIEW */
#mobile-app {
  display: none;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  min-height: 100vh;
  background-color: var(--white);
  position: relative;
  padding-bottom: 105px;
}

/* APP HEADER */
.app-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--gray-100);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.header-logo {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary);
}

.header-text h1 {
  font-family: var(--font-display);
  font-size: 19px;
  line-height: 1.1;
  text-transform: uppercase;
  color: var(--dark);
}

.header-text p {
  font-size: 11px;
  font-weight: 600;
  color: #B45309;
  display: flex;
  align-items: center;
  gap: 4px;
}

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

.header-btn {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: var(--gray-100);
  border: none;
  color: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  transition: all 0.2s;
}

.header-btn:active {
  transform: scale(0.92);
}

.badge-counter {
  position: absolute;
  top: -2px;
  right: -2px;
  background: var(--red);
  color: var(--white);
  font-size: 10px;
  font-weight: 800;
  min-width: 18px;
  height: 18px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  border: 2px solid var(--white);
}

/* HERO CAROUSEL */
.hero-carousel {
  position: relative;
  margin: 14px 16px 18px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 10px 25px -5px rgba(245, 158, 11, 0.25);
  background: linear-gradient(135deg, #18181B 0%, #27272A 100%);
  color: var(--white);
}

.carousel-track {
  display: flex;
  transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1);
  width: 100%;
}

.carousel-slide {
  min-width: 100%;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 175px;
  position: relative;
  background-size: cover;
  background-position: center;
}

.slide-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(245, 158, 11, 0.2);
  border: 1px solid rgba(245, 158, 11, 0.5);
  color: #FBBF24;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 8px;
  width: fit-content;
}

.slide-title {
  font-family: var(--font-display);
  font-size: 26px;
  text-transform: uppercase;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 6px;
}

.slide-desc {
  font-size: 13px;
  color: #D4D4D8;
  max-width: 78%;
  line-height: 1.35;
  margin-bottom: 12px;
}

.slide-btn {
  background: var(--primary);
  color: var(--dark);
  font-weight: 700;
  font-size: 12.5px;
  padding: 7px 16px;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.35);
}

.slide-badge-winner {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: radial-gradient(circle, #F59E0B, #B45309);
  color: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4px;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.3);
  border: 2px solid rgba(255, 255, 255, 0.4);
}

.slide-badge-winner span:first-child {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.5px;
}
.slide-badge-winner span:last-child {
  font-family: var(--font-display);
  font-size: 14px;
  line-height: 1;
}

.carousel-indicators {
  position: absolute;
  bottom: 10px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 6px;
  z-index: 10;
}

.carousel-dot {
  width: 6px;
  height: 6px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.35);
  transition: all 0.3s;
}

.carousel-dot.active {
  width: 22px;
  background: var(--primary);
}

/* ORDER MODE QUICK SWITCHER (En la Mesa / A Domicilio) */
.order-mode-bar {
  margin: 0 16px 16px;
  background: var(--gray-100);
  border-radius: var(--radius-full);
  padding: 4px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
}

.mode-toggle-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: var(--radius-full);
  border: none;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--gray-500);
  background: transparent;
  cursor: pointer;
  transition: all 0.25s ease;
}

.mode-toggle-btn.active {
  background: var(--white);
  color: var(--dark);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.mode-indicator-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
}

/* CATEGORY SELECTOR TABS WITH ICONS */
.category-nav-wrapper {
  position: sticky;
  top: 66px;
  z-index: 35;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(14px);
  padding: 8px 16px 12px;
  border-bottom: 1px solid var(--gray-100);
}

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

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

.category-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  background: var(--gray-100);
  border: 1px solid transparent;
  color: var(--dark-soft);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.category-pill svg {
  width: 17px;
  height: 17px;
  stroke-width: 2.2;
}

.category-pill.active {
  background: var(--primary-tint);
  border-color: var(--primary);
  color: #B45309;
  font-weight: 800;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.18);
}

/* CATEGORY SECTIONS & BANNERS */
.category-section {
  padding: 16px 16px 8px;
}

.category-header {
  margin-bottom: 14px;
}

.category-header-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.category-header-title h2 {
  font-family: var(--font-display);
  font-size: 24px;
  text-transform: uppercase;
  color: var(--dark);
}

.category-header-title .count-badge {
  font-size: 11px;
  font-weight: 700;
  background: var(--gray-100);
  color: var(--gray-600);
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

.category-header p {
  font-size: 12.5px;
  color: var(--gray-500);
  margin-top: 2px;
}

/* INTER-CATEGORY BANNER (Between categories banner) */
.inter-category-banner {
  margin: 24px 0 16px;
  border-radius: 20px;
  padding: 18px 20px;
  background: linear-gradient(135deg, #FFFBEB 0%, #FEF3C7 100%);
  border: 1px solid #FDE68A;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.inter-category-banner::after {
  content: '';
  position: absolute;
  right: -20px;
  top: -20px;
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

.banner-content {
  flex: 1;
}

.banner-tag {
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #B45309;
  margin-bottom: 3px;
}

.banner-title {
  font-family: var(--font-display);
  font-size: 19px;
  text-transform: uppercase;
  color: var(--dark);
  line-height: 1.15;
  margin-bottom: 3px;
}

.banner-subtitle {
  font-size: 12px;
  color: #78350F;
  line-height: 1.35;
}

.banner-icon-badge {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-hover);
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(245, 158, 11, 0.2);
}

/* DISH CARDS (Minimalist Premium, Clean White Background) */
.dishes-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.dish-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
  position: relative;
}

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

.dish-image-wrapper {
  position: relative;
  width: 100%;
  background: var(--white);
  padding: 16px 16px 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 190px;
}

.dish-img {
  width: 100%;
  max-height: 175px;
  object-fit: contain;
  background: var(--white);
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.08));
  transition: transform 0.3s ease;
}

.dish-card:hover .dish-img {
  transform: scale(1.03);
}

.dish-badge-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(24, 24, 27, 0.9);
  color: var(--white);
  font-size: 10.5px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  letter-spacing: 0.3px;
  backdrop-filter: blur(8px);
}

.dish-badge-winner {
  background: linear-gradient(135deg, #F59E0B, #D97706);
  color: var(--white);
  box-shadow: 0 3px 8px rgba(245, 158, 11, 0.4);
}

.dish-fav-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--gray-200);
  color: var(--gray-400);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.2s;
  z-index: 5;
}

.dish-fav-btn.active {
  color: var(--red);
  border-color: #FECACA;
  background: #FEF2F2;
}

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

/* Card Content */
.dish-details {
  padding: 12px 18px 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.dish-name {
  font-family: var(--font-display);
  font-size: 21px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  color: var(--dark);
  line-height: 1.15;
  margin-bottom: 6px;
}

.dish-desc {
  font-size: 13px;
  line-height: 1.45;
  color: var(--gray-500);
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Pricing Section */
.dish-pricing-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px dashed var(--gray-200);
}

.price-options {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.price-tag-solo {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  color: var(--dark);
}

.price-label-small {
  font-size: 11px;
  font-weight: 600;
  color: var(--gray-500);
  text-transform: uppercase;
}

.price-tag-combo {
  font-size: 12.5px;
  font-weight: 700;
  color: #B45309;
}

.add-dish-btn {
  background: var(--primary);
  color: var(--dark);
  font-size: 13px;
  font-weight: 800;
  padding: 9px 18px;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
  transition: all 0.2s;
}

.add-dish-btn:active {
  transform: scale(0.94);
}

/* TYPOGRAPHIC ITEMS WITHOUT IMAGES (Adicionales & Bebidas sin foto) */
.text-item-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 18px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s;
}

.text-item-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.text-item-title {
  font-family: var(--font-display);
  font-size: 18px;
  text-transform: uppercase;
  color: var(--dark);
}

.text-item-desc {
  font-size: 12px;
  color: var(--gray-500);
}

.text-item-price {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: #B45309;
}

/* FLOATING BOTTOM APP NAVIGATION BAR (Brand Style & Rounded Corners) */
.bottom-dock-nav {
  position: fixed;
  bottom: 16px;
  left: 16px;
  right: 16px;
  max-width: 440px;
  margin: 0 auto;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(228, 228, 231, 0.85);
  border-radius: 36px; /* BORDES REDONDEADOS */
  box-shadow: var(--shadow-dock);
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 8px 12px;
}

.dock-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--gray-500);
  font-size: 10px;
  font-weight: 700;
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  min-width: 58px;
}

/* EL ITEM SELECCIONADO DEBE ENCERRARSE EN UN CÍRCULO DEL COLOR DE LA MARCA */
.dock-icon-wrapper {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  color: var(--gray-500);
  position: relative;
}

.dock-item.active .dock-icon-wrapper {
  background-color: var(--primary); /* CÍRCULO DEL COLOR DE LA MARCA */
  color: var(--dark);
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.45);
  transform: translateY(-4px) scale(1.08);
}

.dock-item.active .dock-label {
  color: var(--dark);
  font-weight: 800;
}

.dock-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  background: var(--red);
  color: var(--white);
  font-size: 9.5px;
  font-weight: 800;
  min-width: 17px;
  height: 17px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  border: 2px solid var(--white);
}

/* PRODUCT CUSTOMIZATION BOTTOM SHEET DRAWER */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  z-index: 60;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.drawer-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.bottom-sheet {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  max-width: 480px;
  margin: 0 auto;
  background: var(--white);
  border-radius: 32px 32px 0 0;
  z-index: 70;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1);
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.15);
}

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

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

.drawer-header {
  padding: 8px 20px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--gray-100);
}

.drawer-close-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gray-100);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--dark);
}

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

.drawer-img-box {
  width: 100%;
  height: 180px;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.drawer-img-box img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.08));
}

.drawer-product-title {
  font-family: var(--font-display);
  font-size: 24px;
  text-transform: uppercase;
  color: var(--dark);
  margin-bottom: 4px;
}

.drawer-product-desc {
  font-size: 13.5px;
  color: var(--gray-500);
  line-height: 1.45;
  margin-bottom: 18px;
}

.option-group-title {
  font-size: 13.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--dark);
  margin: 16px 0 10px;
}

.selection-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 16px;
}

.select-card {
  border: 2px solid var(--gray-200);
  border-radius: 16px;
  padding: 14px;
  cursor: pointer;
  background: var(--white);
  transition: all 0.2s;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.select-card.selected {
  border-color: var(--primary);
  background: var(--primary-tint);
}

.select-card-name {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 4px;
}

.select-card-price {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: #B45309;
}

/* ADICIONALES CHECKBOX LIST */
.adicionales-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
}

.adicional-item-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--gray-200);
  background: var(--white);
  cursor: pointer;
  transition: all 0.2s;
}

.adicional-item-label.checked {
  border-color: var(--primary);
  background: var(--primary-tint);
}

.adicional-item-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.custom-checkbox {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  border: 2px solid var(--gray-300);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.adicional-item-label.checked .custom-checkbox {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--dark);
}

.adicional-name {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--dark-soft);
}

.adicional-price {
  font-size: 13px;
  font-weight: 700;
  color: #B45309;
}

/* QUANTITY SELECTOR */
.qty-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-top: 1px solid var(--gray-100);
  margin-bottom: 12px;
}

.qty-control {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--gray-100);
  padding: 6px 12px;
  border-radius: var(--radius-full);
}

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

.qty-btn:active {
  transform: scale(0.9);
}

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

.drawer-footer {
  padding: 14px 20px 24px;
  border-top: 1px solid var(--gray-100);
  background: var(--white);
}

.drawer-add-btn {
  width: 100%;
  background: var(--primary);
  color: var(--dark);
  font-size: 15px;
  font-weight: 800;
  padding: 15px;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 6px 16px rgba(245, 158, 11, 0.35);
}

/* CART & CHECKOUT VIEW (Pedidos en dos modalidades: Mesa / Domicilio) */
.view-container {
  padding: 18px 16px 24px;
}

.view-header-title {
  font-family: var(--font-display);
  font-size: 26px;
  text-transform: uppercase;
  color: var(--dark);
  margin-bottom: 4px;
}

.view-header-subtitle {
  font-size: 13.5px;
  color: var(--gray-500);
  margin-bottom: 18px;
}

.cart-items-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.cart-item-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 18px;
  padding: 14px;
  display: flex;
  gap: 12px;
  align-items: center;
  box-shadow: var(--shadow-sm);
}

.cart-item-img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  background: var(--white);
  border-radius: 12px;
  padding: 2px;
  flex-shrink: 0;
}

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

.cart-item-name {
  font-family: var(--font-display);
  font-size: 16px;
  text-transform: uppercase;
  color: var(--dark);
  margin-bottom: 2px;
}

.cart-item-option {
  font-size: 12px;
  color: #B45309;
  font-weight: 700;
}

.cart-item-subtext {
  font-size: 11px;
  color: var(--gray-500);
}

.cart-item-price {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--dark);
  margin-top: 4px;
}

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

/* FORM FIELDS FOR MESA / DOMICILIO */
.checkout-section-box {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 20px;
  padding: 18px;
  margin-bottom: 18px;
  box-shadow: var(--shadow-sm);
}

.checkout-box-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--dark);
  margin-bottom: 14px;
}

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

.form-label {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--dark-soft);
  margin-bottom: 6px;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--gray-300);
  background: var(--gray-50);
  font-size: 14px;
  font-family: var(--font-sans);
  color: var(--dark);
  outline: none;
  transition: all 0.2s;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--primary);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.15);
}

.table-quick-selector {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}

.table-chip {
  padding: 10px 0;
  text-align: center;
  border-radius: 12px;
  border: 1px solid var(--gray-200);
  background: var(--gray-50);
  font-weight: 700;
  font-size: 13.5px;
  cursor: pointer;
  transition: all 0.2s;
}

.table-chip.selected {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--dark);
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
}

/* TOTAL SUMMARY BOX */
.order-summary-box {
  background: var(--gray-50);
  border-radius: 18px;
  padding: 16px;
  margin-bottom: 20px;
  border: 1px solid var(--gray-200);
}

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

.summary-row.total {
  border-top: 1px dashed var(--gray-300);
  padding-top: 10px;
  margin-top: 6px;
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 700;
  color: var(--dark);
}

.whatsapp-order-btn {
  width: 100%;
  background: #25D366;
  color: var(--white);
  font-size: 15px;
  font-weight: 800;
  padding: 16px;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.35);
  transition: all 0.2s;
}

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

/* SEDES / UBICACIÓN VIEW */
.locations-hero-map {
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-bottom: 20px;
  border: 1px solid var(--gray-200);
}

.locations-hero-map img {
  width: 100%;
  height: auto;
  display: block;
}

.branches-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.branch-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 18px;
  padding: 16px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  box-shadow: var(--shadow-sm);
}

.branch-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary-light);
  color: #B45309;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.branch-info h3 {
  font-family: var(--font-display);
  font-size: 18px;
  text-transform: uppercase;
  color: var(--dark);
  margin-bottom: 2px;
}

.branch-info p {
  font-size: 12.5px;
  color: var(--gray-500);
}

/* SEARCH & FAVORITES EMPTY STATES */
.empty-state {
  text-align: center;
  padding: 48px 24px;
}

.empty-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--gray-100);
  color: var(--gray-400);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.empty-title {
  font-family: var(--font-display);
  font-size: 21px;
  text-transform: uppercase;
  color: var(--dark);
  margin-bottom: 6px;
}

.empty-subtitle {
  font-size: 13.5px;
  color: var(--gray-500);
  max-width: 280px;
  margin: 0 auto 20px;
}

/* SEARCH INPUT */
.search-bar-wrap {
  position: relative;
  margin-bottom: 18px;
}

.search-icon-left {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gray-400);
  pointer-events: none;
}

.search-input {
  width: 100%;
  padding: 14px 14px 14px 44px;
  border-radius: var(--radius-full);
  border: 1px solid var(--gray-200);
  background: var(--gray-50);
  font-size: 14px;
  outline: none;
}

.search-input:focus {
  border-color: var(--primary);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.15);
}

/* TOAST NOTIFICATION */
.toast-msg {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(-100px);
  background: rgba(24, 24, 27, 0.95);
  color: var(--white);
  padding: 10px 20px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 99;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  pointer-events: none;
}

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

/* RESPONSIVE TOGGLING */
@media (max-width: 768px) {
  #desktop-gate {
    display: none !important;
  }
  #mobile-app {
    display: block !important;
  }
}
