/* ==========================================================================
   TAQUERÍA EL MUÑECO - MENÚ DIGITAL INTERACTIVO (WEBAPP)
   Tema: Minimalista Premium Claro · Colores de Marca (#FF8824, #C83226, Blanco)
   ========================================================================== */

:root {
  --brand-orange: #FF8824;
  --brand-orange-dark: #E66F0F;
  --brand-orange-light: #FFF3E6;
  --brand-orange-glow: rgba(255, 136, 36, 0.25);
  
  --brand-red: #C83226;
  --brand-red-light: #FDF1EF;
  
  --bg-primary: #FAF8F5;
  --bg-surface: #FFFFFF;
  --bg-subtle: #F5F1EB;
  
  --border-light: #EFEBE4;
  --border-medium: #E3DDD3;
  
  --text-primary: #1C1917;
  --text-secondary: #57534E;
  --text-muted: #8F8A83;
  --text-on-brand: #FFFFFF;
  
  --font-heading: 'Montserrat', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  
  --radius-xs: 8px;
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 24px;
  --radius-pill: 9999px;
  --radius-bottom-bar: 32px;
  
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 8px 24px -4px rgba(28, 25, 23, 0.07);
  --shadow-lg: 0 16px 36px -6px rgba(28, 25, 23, 0.12);
  --shadow-brand: 0 8px 20px -3px rgba(255, 136, 36, 0.35);
  
  --bottom-bar-height: 80px;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

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

html {
  font-size: 16px;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  background-color: var(--bg-primary);
  overflow-x: hidden;
  position: relative;
}

/* ==========================================================================
   DESKTOP QR LOCK (Sólo smartphone, no simulador, sólo QR en Desktop)
   ========================================================================== */

#desktop-screen {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: linear-gradient(145deg, #FFFDF9 0%, #FAF3EA 100%);
  align-items: center;
  justify-content: center;
  padding: 24px;
  overflow-y: auto;
}

@media (min-width: 769px) {
  body:not(.force-mobile) #desktop-screen {
    display: flex;
  }
  body:not(.force-mobile) #mobile-app {
    display: none !important;
  }
}

.desktop-card {
  max-width: 520px;
  width: 100%;
  background: #FFFFFF;
  border-radius: 28px;
  padding: 40px 36px;
  box-shadow: 0 25px 60px -10px rgba(120, 53, 15, 0.12), 0 0 1px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(255, 136, 36, 0.15);
  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(--brand-red) 0%, var(--brand-orange) 50%, #FFB020 100%);
}

.desktop-brand-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.desktop-logo {
  width: 90px;
  height: 90px;
  border-radius: 24px;
  object-fit: cover;
  box-shadow: 0 8px 24px rgba(255, 136, 36, 0.25);
  border: 3px solid #FFFFFF;
}

.desktop-title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: -0.5px;
  text-transform: uppercase;
  color: var(--text-primary);
}

.desktop-subtitle {
  font-size: 0.95rem;
  color: var(--brand-orange-dark);
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.desktop-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--brand-orange-light);
  color: var(--brand-orange-dark);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.desktop-qr-container {
  display: inline-flex;
  padding: 16px;
  background: #FFFFFF;
  border: 2px dashed var(--border-medium);
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 20px;
}

.desktop-instructions {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 24px;
}

.desktop-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
  background: var(--bg-primary);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin-bottom: 24px;
}

.desktop-feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.88rem;
  color: var(--text-primary);
  font-weight: 600;
}

.desktop-location-footer {
  font-size: 0.85rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border-light);
  padding-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.desktop-force-btn {
  margin-top: 14px;
  background: none;
  border: none;
  font-size: 0.75rem;
  color: var(--text-muted);
  text-decoration: underline;
  cursor: pointer;
  padding: 6px;
  transition: color 0.2s;
}

.desktop-force-btn:hover {
  color: var(--brand-orange);
}

/* ==========================================================================
   MOBILE WEBAPP CONTAINER & HEADER
   ========================================================================== */

#mobile-app {
  max-width: 480px;
  margin: 0 auto;
  min-height: 100vh;
  background-color: var(--bg-primary);
  position: relative;
  padding-bottom: calc(var(--bottom-bar-height) + var(--safe-bottom) + 24px);
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.05);
}

/* App Header */
.app-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(239, 235, 228, 0.8);
  padding: 12px 16px;
  transition: all 0.3s ease;
}

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

.header-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}

.header-logo {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(255, 136, 36, 0.2);
}

.header-text {
  display: flex;
  flex-direction: column;
}

.header-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: -0.3px;
  text-transform: uppercase;
  color: var(--text-primary);
  line-height: 1.1;
}

.header-location {
  font-size: 0.72rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: 500;
  margin-top: 2px;
}

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

/* Order Mode Pill Switcher */
.mode-toggle-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--brand-orange-light);
  color: var(--brand-orange-dark);
  border: 1px solid rgba(255, 136, 36, 0.25);
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.mode-toggle-pill:active {
  transform: scale(0.96);
}

.mode-toggle-pill svg {
  width: 14px;
  height: 14px;
}

.mode-indicator-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--brand-orange);
  box-shadow: 0 0 6px var(--brand-orange);
}

/* Search bar */
.search-container {
  margin-top: 10px;
  position: relative;
}

.search-input {
  width: 100%;
  padding: 10px 14px 10px 38px;
  background: var(--bg-subtle);
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 0.86rem;
  color: var(--text-primary);
  outline: none;
  transition: all 0.2s ease;
}

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

.search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: var(--text-muted);
  pointer-events: none;
}

/* ==========================================================================
   HERO BANNER (Referencia a los platos y la marca al inicio)
   ========================================================================== */

.hero-banner {
  margin: 14px 16px;
  background: linear-gradient(135deg, #FFF6EC 0%, #FFEAD4 50%, #FFDFC0 100%);
  border-radius: 24px;
  padding: 22px 20px;
  border: 1px solid rgba(255, 136, 36, 0.2);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.hero-banner::after {
  content: '🌮';
  position: absolute;
  right: -8px;
  bottom: -15px;
  font-size: 5rem;
  opacity: 0.18;
  transform: rotate(-15deg);
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #FFFFFF;
  color: var(--brand-red);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: 6px;
  letter-spacing: -0.3px;
}

.hero-title span {
  color: var(--brand-orange);
}

.hero-slogan {
  font-size: 0.82rem;
  color: var(--text-secondary);
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 14px;
}

.hero-dishes-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.hero-chip {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 136, 36, 0.25);
  color: var(--text-primary);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* ==========================================================================
   CATEGORIES WITH ICONS (Barra horizontal deslizable con iconos)
   ========================================================================== */

.categories-bar-wrapper {
  position: sticky;
  top: 98px;
  z-index: 90;
  background: rgba(250, 248, 245, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 8px 16px 12px;
  margin-bottom: 6px;
  border-bottom: 1px solid rgba(239, 235, 228, 0.6);
}

.categories-bar {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 2px;
}

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

.category-tab {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  padding: 8px 16px 8px 10px;
  border-radius: var(--radius-pill);
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--shadow-sm);
}

.category-tab:active {
  transform: scale(0.96);
}

.category-tab-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all 0.2s ease;
}

.category-tab-icon svg {
  width: 18px;
  height: 18px;
}

.category-tab.active {
  background: var(--brand-orange);
  border-color: var(--brand-orange);
  color: #FFFFFF;
  box-shadow: var(--shadow-brand);
}

.category-tab.active .category-tab-icon {
  background: #FFFFFF;
  color: var(--brand-orange);
}

/* ==========================================================================
   CATEGORY INTERMEDIATE BANNERS (Banners entre cada categoría)
   ========================================================================== */

.category-section {
  padding: 12px 16px 20px;
}

.category-divider-banner {
  background: #FFFFFF;
  border-radius: 20px;
  padding: 18px 18px;
  margin-bottom: 16px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  border-left: 5px solid var(--brand-orange);
}

.category-divider-banner.banner-entradas {
  background: linear-gradient(135deg, #FFFFFF 0%, #FFF9F0 100%);
  border-left-color: #E67E22;
}

.category-divider-banner.banner-tacos {
  background: linear-gradient(135deg, #FFFFFF 0%, #FFF3EC 100%);
  border-left-color: var(--brand-orange);
}

.category-divider-banner.banner-tortas {
  background: linear-gradient(135deg, #FFFFFF 0%, #FFF5E8 100%);
  border-left-color: var(--brand-red);
}

.banner-top-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--brand-orange);
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.banner-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--text-primary);
  line-height: 1.2;
  margin-bottom: 4px;
}

.banner-description {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* ==========================================================================
   DISH CARDS (Fondo blanco limpio, sin fotos inventadas)
   ========================================================================== */

.dishes-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

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

.dish-card:hover {
  border-color: var(--border-medium);
  box-shadow: var(--shadow-md);
}

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

.dish-info-left {
  flex: 1;
}

.dish-badge {
  display: inline-block;
  background: var(--bg-subtle);
  color: var(--text-secondary);
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  margin-bottom: 6px;
}

.dish-name {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--text-primary);
  letter-spacing: 0.2px;
  line-height: 1.25;
}

.dish-subname {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--brand-orange-dark);
  margin-top: 2px;
}

.dish-fav-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  color: var(--text-muted);
  border-radius: 50%;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.dish-fav-btn.is-favorite {
  color: var(--brand-red);
}

.dish-fav-btn.is-favorite svg {
  fill: var(--brand-red);
  stroke: var(--brand-red);
}

.dish-description {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

.dish-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 8px;
  border-top: 1px solid var(--border-light);
  margin-top: 2px;
}

.dish-price-wrapper {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.dish-price-currency {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--brand-orange-dark);
}

.dish-price-amount {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--text-primary);
}

.dish-price-tag {
  font-size: 0.7rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* Quantity & Add to Cart Controls */
.dish-action-area {
  display: flex;
  align-items: center;
  gap: 8px;
}

.add-btn {
  background: var(--brand-orange);
  color: #FFFFFF;
  border: none;
  border-radius: var(--radius-pill);
  padding: 8px 16px;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(255, 136, 36, 0.25);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.qty-control {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-subtle);
  border-radius: var(--radius-pill);
  padding: 4px;
}

.qty-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.15s ease;
}

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

.qty-value {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.88rem;
  min-width: 20px;
  text-align: center;
}

/* Empty favorites / search state */
.empty-state {
  background: #FFFFFF;
  border-radius: 20px;
  padding: 40px 24px;
  text-align: center;
  border: 1px dashed var(--border-medium);
  margin: 20px 0;
}

.empty-state-icon {
  font-size: 3rem;
  margin-bottom: 12px;
}

.empty-state-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.empty-state-text {
  font-size: 0.85rem;
  color: var(--text-muted);
  max-width: 260px;
  margin: 0 auto 16px;
}

/* ==========================================================================
   FLOATING BOTTOM NAVIGATION BAR (Bordes redondeados, círculo color marca)
   ========================================================================== */

.bottom-nav-container {
  position: fixed;
  bottom: calc(14px + var(--safe-bottom));
  left: 0;
  right: 0;
  max-width: 480px;
  margin: 0 auto;
  padding: 0 16px;
  z-index: 1000;
  pointer-events: none;
}

.bottom-nav-bar {
  pointer-events: auto;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--radius-bottom-bar);
  padding: 8px 12px;
  border: 1px solid rgba(239, 235, 228, 0.9);
  box-shadow: 0 14px 35px -6px rgba(0, 0, 0, 0.12), 0 4px 12px rgba(255, 136, 36, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-around;
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px 10px;
  position: relative;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-icon-container {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.nav-icon-container svg {
  width: 20px;
  height: 20px;
  transition: transform 0.2s ease;
}

.nav-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  transition: color 0.2s ease;
}

/* Estado seleccionado: Encerrado en círculo del color de la marca */
.nav-item.active {
  color: var(--brand-orange);
}

.nav-item.active .nav-icon-container {
  background-color: var(--brand-orange);
  color: #FFFFFF;
  box-shadow: 0 6px 16px -2px rgba(255, 136, 36, 0.45);
  transform: translateY(-4px) scale(1.08);
}

.nav-item.active .nav-icon-container svg {
  stroke: #FFFFFF;
}

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

/* Badge contador */
.nav-badge {
  position: absolute;
  top: 0;
  right: -2px;
  background-color: var(--brand-red);
  color: #FFFFFF;
  font-size: 0.65rem;
  font-weight: 800;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #FFFFFF;
  box-shadow: 0 2px 5px rgba(200, 50, 38, 0.3);
}

/* ==========================================================================
   MODALS / DRAWERS (Carrito, Modalidad de Pedido, Info)
   ========================================================================== */

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(28, 25, 23, 0.4);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

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

.drawer-sheet {
  background: #FFFFFF;
  width: 100%;
  max-width: 480px;
  border-radius: 28px 28px 0 0;
  padding: 20px 20px calc(24px + var(--safe-bottom));
  max-height: 88vh;
  overflow-y: auto;
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.15);
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.modal-backdrop.is-open .drawer-sheet {
  transform: translateY(0);
}

.drawer-handle {
  width: 40px;
  height: 4px;
  background: var(--border-medium);
  border-radius: 2px;
  margin: 0 auto 16px;
}

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

.drawer-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--text-primary);
}

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

/* Modality Selector in Drawer */
.modality-segmented-control {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  background: var(--bg-subtle);
  padding: 4px;
  border-radius: var(--radius-md);
  margin-bottom: 18px;
}

.modality-opt-btn {
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  border: none;
  background: transparent;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.modality-opt-btn.active {
  background: #FFFFFF;
  color: var(--brand-orange);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
}

/* Form inputs in Drawer */
.form-group {
  margin-bottom: 14px;
}

.form-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 6px;
  letter-spacing: 0.4px;
}

.form-input, .form-textarea, .form-select {
  width: 100%;
  padding: 12px 14px;
  background: var(--bg-subtle);
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text-primary);
  outline: none;
  transition: all 0.2s ease;
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
  background: #FFFFFF;
  border-color: var(--brand-orange);
  box-shadow: 0 0 0 3px var(--brand-orange-glow);
}

/* Table Quick Pills */
.table-pills-row {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding: 4px 0 8px;
  scrollbar-width: none;
}

.table-pills-row::-webkit-scrollbar {
  display: none;
}

.table-pill {
  flex-shrink: 0;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  color: var(--text-secondary);
  transition: all 0.15s ease;
}

.table-pill.active {
  background: var(--brand-orange);
  color: #FFFFFF;
  border-color: var(--brand-orange);
}

/* Cart Items in Drawer */
.cart-items-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
  max-height: 220px;
  overflow-y: auto;
}

.cart-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  background: var(--bg-subtle);
  border-radius: var(--radius-sm);
}

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

.cart-item-title {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--text-primary);
}

.cart-item-price {
  font-size: 0.78rem;
  color: var(--brand-orange-dark);
  font-weight: 700;
}

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

/* Total Summary */
.cart-summary-box {
  background: var(--bg-primary);
  border: 1px dashed var(--border-medium);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  margin-bottom: 18px;
}

.summary-line {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.summary-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--text-primary);
  border-top: 1px solid var(--border-light);
  padding-top: 8px;
  margin-top: 4px;
}

.summary-total span:last-child {
  color: var(--brand-orange-dark);
}

/* WhatsApp Confirmation Button */
.btn-whatsapp-confirm {
  width: 100%;
  background: #25D366;
  color: #FFFFFF;
  border: none;
  border-radius: var(--radius-pill);
  padding: 16px 20px;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  box-shadow: 0 8px 24px -2px rgba(37, 211, 102, 0.4);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.btn-whatsapp-confirm svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

/* Toast Message */
.toast-notice {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(-100px);
  background: rgba(28, 25, 23, 0.92);
  color: #FFFFFF;
  backdrop-filter: blur(10px);
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  z-index: 9999;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

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

/* Info / Location Drawer Specifics */
.info-card {
  background: var(--bg-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 12px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.info-card-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-orange);
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}

.info-card-title {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.info-card-text {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

.info-link {
  color: var(--brand-orange-dark);
  font-weight: 700;
  text-decoration: none;
  display: inline-block;
  margin-top: 4px;
}
