/* ==========================================================================
   DELECIÊ BURGUER - ESTILOS DO CARDÁPIO DIGITAL (ESTILO APP MOBILE)
   ========================================================================== */

:root {
  /* Paleta Oficial da Marca */
  --primary-gold: #FFBA00;
  --primary-gold-dark: #E6A100;
  --primary-gold-light: #FFF4D1;
  --primary-burgundy: #2B1414;
  --primary-burgundy-light: #442222;
  --accent-red: #D9381E;
  --accent-orange: #E65100;

  /* Superfícies Claras (Estritamente sem fundos escuros) */
  --bg-app: #F8F9FA;
  --bg-card: #FFFFFF;
  --bg-surface: #F3F4F6;
  --bg-banner: #FFFBEB;

  /* Tipografia */
  --text-main: #1F2937;
  --text-muted: #6B7280;
  --text-light: #9CA3AF;
  --text-inverse: #FFFFFF;

  /* Bordas e Sombras */
  --border-light: #F1F2F4;
  --border-accent: rgba(255, 186, 0, 0.3);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 14px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.08);
  --shadow-gold: 0 8px 20px rgba(255, 186, 0, 0.35);
  --shadow-floating: 0 -4px 20px rgba(0, 0, 0, 0.08);

  /* Dimensões */
  --bottom-bar-height: 72px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  /* Transições */
  --transition-fast: 0.18s ease;
  --transition-normal: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html, body {
  width: 100%;
  height: 100%;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text-main);
  background-color: var(--bg-app);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ==========================================================================
   DESKTOP VIEW: TELA DE BLOQUEIO COM QR CODE
   (Apenas funciona no celular; no desktop mostra o QR para escanear)
   ========================================================================== */
#desktop-lock-screen {
  display: none;
  min-height: 100vh;
  width: 100%;
  background: linear-gradient(135deg, #FFFDF8 0%, #FFF4D6 50%, #FFEDBD 100%);
  align-items: center;
  justify-content: center;
  padding: 30px 20px;
  text-align: center;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 99999;
  overflow-y: auto;
}

@media (min-width: 769px) {
  #desktop-lock-screen.active {
    display: flex;
  }
  #mobile-app-root.hidden-on-desktop {
    display: none;
  }
}

.desktop-card {
  background: #FFFFFF;
  border-radius: 28px;
  padding: 40px 36px;
  max-width: 480px;
  width: 100%;
  box-shadow: 0 20px 50px rgba(43, 20, 20, 0.12);
  border: 2px solid rgba(255, 186, 0, 0.4);
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.desktop-logo-wrap {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: var(--shadow-gold);
  border: 4px solid var(--primary-gold);
  margin-bottom: 18px;
}

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

.desktop-badge {
  background: var(--primary-gold-light);
  color: var(--primary-burgundy);
  font-weight: 700;
  font-size: 13px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--primary-gold);
}

.desktop-card h1 {
  font-size: 24px;
  font-weight: 800;
  color: var(--primary-burgundy);
  margin-bottom: 8px;
}

.desktop-card p.desktop-sub {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 24px;
}

.qr-box-container {
  background: #FFFFFF;
  padding: 16px;
  border-radius: 20px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  border: 2px dashed var(--primary-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 220px;
  height: 220px;
  margin-bottom: 20px;
}

.qr-box-container svg {
  width: 100%;
  height: 100%;
  border-radius: 8px;
}

.desktop-features {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
  width: 100%;
}

.desktop-feat-item {
  flex: 1;
  background: var(--bg-app);
  padding: 10px 8px;
  border-radius: var(--radius-md);
  font-size: 12px;
  font-weight: 600;
  color: var(--primary-burgundy);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.desktop-feat-item span.icon {
  font-size: 18px;
}

.desktop-store-info {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.6;
  border-top: 1px solid var(--border-light);
  padding-top: 16px;
  width: 100%;
}

.desktop-store-info strong {
  color: var(--primary-burgundy);
}

.btn-preview-override {
  margin-top: 18px;
  background: transparent;
  border: 1px solid var(--border-light);
  color: var(--text-muted);
  font-size: 12px;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition-fast);
}

.btn-preview-override:hover {
  background: var(--bg-app);
  color: var(--primary-burgundy);
}

/* ==========================================================================
   APP CONTAINER (MOBILE-FIRST)
   ========================================================================== */
#mobile-app-root {
  max-width: 480px;
  margin: 0 auto;
  min-height: 100vh;
  background-color: var(--bg-app);
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.05);
  padding-bottom: calc(var(--bottom-bar-height) + 24px);
}

/* ==========================================================================
   HEADER SUPERIOR (ESTILO APP MCDONALD'S / BURGER KING)
   ========================================================================== */
.app-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #FFFFFF;
  box-shadow: var(--shadow-sm);
  padding: 12px 16px 8px;
}

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

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

.brand-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--primary-gold);
  box-shadow: 0 2px 8px rgba(255, 186, 0, 0.3);
  flex-shrink: 0;
}

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

.brand-text h1 {
  font-size: 16px;
  font-weight: 800;
  color: var(--primary-burgundy);
  line-height: 1.1;
}

.brand-text .status-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 600;
  color: #15803D;
  background: #DCFCE7;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  margin-top: 2px;
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #22C55E;
  display: inline-block;
}

/* Botão Seletor de Modo: Mesa vs Delivery */
.order-mode-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-surface);
  border: 1.5px solid var(--primary-gold);
  border-radius: var(--radius-full);
  padding: 6px 12px;
  cursor: pointer;
  transition: var(--transition-fast);
}

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

.order-mode-icon {
  font-size: 15px;
}

.order-mode-info {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.order-mode-title {
  font-size: 11px;
  font-weight: 800;
  color: var(--primary-burgundy);
  text-transform: uppercase;
}

.order-mode-detail {
  font-size: 10px;
  color: var(--text-muted);
  max-width: 90px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Barra de Busca */
.search-bar-wrap {
  position: relative;
  width: 100%;
  margin-top: 4px;
}

.search-input {
  width: 100%;
  height: 40px;
  background: var(--bg-app);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-full);
  padding: 0 38px 0 38px;
  font-size: 13px;
  color: var(--text-main);
  outline: none;
  transition: var(--transition-fast);
}

.search-input:focus {
  background: #FFFFFF;
  border-color: var(--primary-gold);
  box-shadow: 0 0 0 3px rgba(255, 186, 0, 0.2);
}

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

.search-clear-btn {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--text-light);
  font-size: 16px;
  cursor: pointer;
  display: none;
}

/* ==========================================================================
   CARROSSEL DE CATEGORIAS (COM ÍCONES CORRESPONDENTES)
   ========================================================================== */
.categories-nav {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 12px 16px;
  scrollbar-width: none;
  background: #FFFFFF;
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 104px;
  z-index: 90;
}

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

.cat-chip {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: var(--radius-full);
  background: var(--bg-surface);
  border: 1px solid transparent;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
  white-space: nowrap;
  cursor: pointer;
  transition: var(--transition-fast);
  flex-shrink: 0;
}

.cat-chip .cat-icon {
  font-size: 15px;
}

.cat-chip:active {
  transform: scale(0.95);
}

.cat-chip.active {
  background: var(--primary-burgundy);
  color: var(--primary-gold);
  border-color: var(--primary-burgundy);
  box-shadow: 0 4px 12px rgba(43, 20, 20, 0.2);
}

/* ==========================================================================
   BANNER PRINCIPAL DA CASA (HERO)
   ========================================================================== */
.hero-banner {
  margin: 14px 16px 6px;
  background: linear-gradient(135deg, #FFF6D6 0%, #FFE89E 100%);
  border-radius: var(--radius-lg);
  padding: 16px 18px;
  border: 1.5px solid var(--primary-gold);
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.hero-banner::after {
  content: "🍔";
  position: absolute;
  right: -10px;
  bottom: -15px;
  font-size: 80px;
  opacity: 0.15;
  pointer-events: none;
}

.hero-text {
  max-width: 70%;
}

.hero-badge {
  display: inline-block;
  background: var(--primary-burgundy);
  color: var(--primary-gold);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  margin-bottom: 6px;
  letter-spacing: 0.5px;
}

.hero-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--primary-burgundy);
  line-height: 1.25;
  margin-bottom: 4px;
}

.hero-sub {
  font-size: 12px;
  color: #6B4E1B;
  line-height: 1.35;
}

/* ==========================================================================
   SEÇÕES DE CATEGORIA DO CARDÁPIO
   ========================================================================== */
.menu-section {
  padding: 16px 16px 8px;
}

.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 {
  font-size: 20px;
}

.section-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--primary-burgundy);
}

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

/* Grid de Produtos */
.products-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Card do Burger (Design Fast-Food Premium Branco) */
.product-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 12px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  display: flex;
  gap: 12px;
  position: relative;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  cursor: pointer;
}

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

/* Imagem do Produto */
.product-image-wrap {
  position: relative;
  width: 110px;
  height: 110px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background-color: #FFFFFF;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #F3F4F6;
}

.product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

.product-card:hover .product-img {
  transform: scale(1.05);
}

/* Botão de Favorito no Card */
.btn-fav-card {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(4px);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
  transition: transform var(--transition-fast);
  z-index: 5;
}

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

.btn-fav-card.favorited {
  color: var(--accent-red);
}

/* Detalhes do Produto */
.product-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
}

.product-top-info {
  display: flex;
  flex-direction: column;
}

.product-badge-tag {
  align-self: flex-start;
  font-size: 10px;
  font-weight: 800;
  background: var(--primary-gold-light);
  color: #855300;
  padding: 2px 6px;
  border-radius: var(--radius-sm);
  margin-bottom: 4px;
  letter-spacing: 0.2px;
}

.product-name {
  font-size: 15px;
  font-weight: 800;
  color: var(--primary-burgundy);
  margin-bottom: 4px;
  line-height: 1.2;
}

.product-desc {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 6px;
}

.product-bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}

.product-price {
  font-size: 16px;
  font-weight: 800;
  color: var(--primary-burgundy);
}

.product-price small {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
}

.btn-add-quick {
  background: var(--primary-gold);
  color: var(--primary-burgundy);
  border: none;
  font-size: 13px;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(255, 186, 0, 0.4);
  transition: transform var(--transition-fast);
}

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

/* ==========================================================================
   BANNERS ENTRE SEÇÕES (ENTRE CADA CATEGORIA)
   ========================================================================== */
.inter-category-banner {
  margin: 18px 16px;
  border-radius: var(--radius-lg);
  padding: 16px 18px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.inter-category-banner.gradient-orange {
  background: linear-gradient(135deg, #FFF1EB 0%, #FFE3D6 100%);
  border: 1.5px solid #FFCCBA;
}

.inter-category-banner.gradient-gold {
  background: linear-gradient(135deg, #FFFBEB 0%, #FEF3C7 100%);
  border: 1.5px solid var(--primary-gold);
}

.inter-category-banner.gradient-burgundy {
  background: linear-gradient(135deg, #FBF4F4 0%, #F5E6E6 100%);
  border: 1.5px solid #E8CCCC;
}

.banner-badge-pill {
  align-self: flex-start;
  font-size: 10px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  background: var(--primary-burgundy);
  color: var(--primary-gold);
}

.banner-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--primary-burgundy);
  line-height: 1.25;
}

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

.banner-action-btn {
  align-self: flex-start;
  background: #FFFFFF;
  border: 1px solid rgba(43, 20, 20, 0.15);
  color: var(--primary-burgundy);
  font-size: 11px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  margin-top: 4px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* ==========================================================================
   BARRA DE NAVEGAÇÃO FLUTUANTE ESTILO APP (BOTTOM NAVIGATION BAR)
   (Estilo apps McDonald's, Burger King, KFC)
   ========================================================================== */
.bottom-nav-container {
  position: fixed;
  bottom: 12px;
  left: 0;
  right: 0;
  max-width: 456px;
  margin: 0 auto;
  padding: 0 12px;
  z-index: 1000;
  pointer-events: none;
}

.bottom-nav-bar {
  pointer-events: auto;
  background: #FFFFFF;
  border-radius: 24px;
  box-shadow: 0 8px 30px rgba(43, 20, 20, 0.15);
  border: 1.5px solid var(--primary-gold);
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 6px 8px;
  backdrop-filter: blur(10px);
}

.nav-item {
  flex: 1;
  background: transparent;
  border: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 6px 2px;
  border-radius: 16px;
  color: var(--text-muted);
  cursor: pointer;
  position: relative;
  transition: all var(--transition-fast);
}

.nav-item:active {
  transform: scale(0.92);
}

.nav-item .nav-icon {
  font-size: 20px;
  line-height: 1;
}

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

.nav-item.active {
  color: var(--primary-burgundy);
}

.nav-item.active .nav-icon {
  transform: translateY(-1px);
}

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

/* Badge contador de itens na sacola ou favoritos */
.nav-badge {
  position: absolute;
  top: 2px;
  right: 18px;
  background: var(--accent-red);
  color: #FFFFFF;
  font-size: 10px;
  font-weight: 800;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #FFFFFF;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.nav-badge.hidden {
  display: none;
}

/* Botão Flutuante Rápido de Sacola (quando tiver itens) */
.cart-floating-banner {
  position: fixed;
  bottom: calc(var(--bottom-bar-height) + 20px);
  left: 0;
  right: 0;
  max-width: 440px;
  margin: 0 auto;
  padding: 0 16px;
  z-index: 990;
  transition: transform var(--transition-normal), opacity var(--transition-normal);
  transform: translateY(120px);
  opacity: 0;
  pointer-events: none;
}

.cart-floating-banner.show {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.cart-banner-btn {
  width: 100%;
  background: var(--primary-burgundy);
  color: #FFFFFF;
  border: 2px solid var(--primary-gold);
  border-radius: var(--radius-full);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 8px 24px rgba(43, 20, 20, 0.35);
  cursor: pointer;
  transition: transform var(--transition-fast);
}

.cart-banner-btn:active {
  transform: scale(0.98);
}

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

.cart-banner-count {
  background: var(--primary-gold);
  color: var(--primary-burgundy);
  font-size: 12px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

.cart-banner-title {
  font-size: 13px;
  font-weight: 700;
}

.cart-banner-price {
  font-size: 14px;
  font-weight: 800;
  color: var(--primary-gold);
}

/* ==========================================================================
   MODAIS E BOTTOM SHEETS (PRODUTO, SACOLA, MESA/DELIVERY, INFO)
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-normal), visibility var(--transition-normal);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.bottom-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 var(--transition-normal);
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

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

.sheet-header-handle {
  width: 44px;
  height: 5px;
  background: #E5E7EB;
  border-radius: var(--radius-full);
  margin: 10px auto 4px;
}

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

.sheet-title {
  font-size: 17px;
  font-weight: 800;
  color: var(--primary-burgundy);
}

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

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

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

/* Detalhe do Produto Modal */
.modal-product-img-wrap {
  width: 100%;
  height: 220px;
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 14px;
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.modal-product-name {
  font-size: 20px;
  font-weight: 800;
  color: var(--primary-burgundy);
}

.modal-product-price {
  font-size: 20px;
  font-weight: 800;
  color: var(--primary-burgundy);
}

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

/* Opções de Customização */
.custom-section {
  margin-bottom: 18px;
}

.custom-title {
  font-size: 13px;
  font-weight: 800;
  color: var(--primary-burgundy);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.custom-title span.tag {
  font-size: 10px;
  font-weight: 600;
  background: var(--bg-surface);
  color: var(--text-muted);
  padding: 2px 6px;
  border-radius: var(--radius-full);
}

.radio-group, .checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.option-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  background: var(--bg-app);
  border-radius: var(--radius-md);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: var(--transition-fast);
}

.option-item.selected {
  background: var(--primary-gold-light);
  border-color: var(--primary-gold);
}

.option-left {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-main);
}

.option-price {
  font-size: 12px;
  font-weight: 700;
  color: var(--primary-burgundy);
}

/* Campo de Observação */
.obs-textarea {
  width: 100%;
  height: 64px;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border-light);
  padding: 10px;
  font-size: 13px;
  font-family: inherit;
  resize: none;
  outline: none;
}

.obs-textarea:focus {
  border-color: var(--primary-gold);
}

/* Quantidade e Botão Adicionar */
.qty-selector {
  display: flex;
  align-items: center;
  background: var(--bg-surface);
  border-radius: var(--radius-full);
  padding: 4px;
  border: 1px solid var(--border-light);
}

.btn-qty {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  font-size: 16px;
  font-weight: 700;
  color: var(--primary-burgundy);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qty-number {
  min-width: 30px;
  text-align: center;
  font-size: 14px;
  font-weight: 800;
  color: var(--primary-burgundy);
}

.btn-primary-action {
  flex: 1;
  background: var(--primary-gold);
  color: var(--primary-burgundy);
  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-gold);
  transition: transform var(--transition-fast);
}

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

/* ==========================================================================
   SACOLA E CHECKOUT (MESA vs DELIVERY)
   ========================================================================== */
.cart-empty-state {
  text-align: center;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.empty-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--primary-burgundy);
  margin-bottom: 4px;
}

.empty-sub {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 18px;
}

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

.cart-item {
  background: var(--bg-app);
  border-radius: var(--radius-md);
  padding: 10px 12px;
  display: flex;
  gap: 10px;
  position: relative;
  border: 1px solid var(--border-light);
}

.cart-item-img {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  background: #FFFFFF;
}

.cart-item-info {
  flex: 1;
  min-width: 0;
}

.cart-item-name {
  font-size: 14px;
  font-weight: 800;
  color: var(--primary-burgundy);
}

.cart-item-custom {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.3;
  margin: 2px 0 4px;
}

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

.cart-item-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
}

.btn-remove-item {
  background: none;
  border: none;
  color: var(--accent-red);
  font-size: 14px;
  cursor: pointer;
}

/* Seletor Segmentado de Mesa ou Delivery no Checkout */
.checkout-mode-toggle {
  display: flex;
  background: var(--bg-surface);
  border-radius: var(--radius-full);
  padding: 4px;
  margin-bottom: 16px;
  border: 1px solid var(--border-light);
}

.mode-btn {
  flex: 1;
  border: none;
  background: transparent;
  padding: 10px 12px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all var(--transition-fast);
}

.mode-btn.active {
  background: var(--primary-burgundy);
  color: var(--primary-gold);
  box-shadow: 0 2px 8px rgba(43, 20, 20, 0.2);
}

/* Formulário de Finalização */
.form-group {
  margin-bottom: 12px;
}

.form-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--primary-burgundy);
  margin-bottom: 4px;
}

.form-input, .form-select {
  width: 100%;
  height: 42px;
  background: var(--bg-app);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 0 12px;
  font-size: 13px;
  color: var(--text-main);
  outline: none;
  font-family: inherit;
}

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

.table-chips-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 6px;
  margin-top: 6px;
}

.table-chip {
  background: var(--bg-app);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 8px 4px;
  font-size: 12px;
  font-weight: 700;
  color: var(--primary-burgundy);
  cursor: pointer;
  text-align: center;
}

.table-chip.selected {
  background: var(--primary-gold);
  border-color: var(--primary-gold-dark);
  color: var(--primary-burgundy);
}

/* Resumo de Valores */
.order-summary-box {
  background: var(--bg-app);
  border-radius: var(--radius-md);
  padding: 12px;
  margin-top: 14px;
  border: 1px solid var(--border-light);
}

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

.summary-row.total {
  border-top: 1px dashed var(--border-light);
  padding-top: 8px;
  margin-top: 6px;
  font-size: 15px;
  font-weight: 800;
  color: var(--primary-burgundy);
}

/* Botão Oficial do WhatsApp */
.btn-whatsapp-order {
  width: 100%;
  background: #25D366;
  color: #FFFFFF;
  border: none;
  border-radius: var(--radius-full);
  padding: 14px 20px;
  font-size: 14px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4);
  transition: transform var(--transition-fast);
}

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

/* ==========================================================================
   TELA / ABA DE FAVORITOS
   ========================================================================== */
.favorites-view {
  display: none;
  padding: 16px;
}

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

/* ==========================================================================
   TELA / ABA DE INFORMAÇÕES DA LOJA (SOBRE)
   ========================================================================== */
.info-view {
  display: none;
  padding: 16px;
}

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

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

.info-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.info-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 3px solid var(--primary-gold);
}

.info-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-light);
  font-size: 13px;
}

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

.info-row span.icon {
  font-size: 18px;
  color: var(--primary-gold-dark);
}

.info-row strong {
  display: block;
  color: var(--primary-burgundy);
  font-weight: 700;
}

/* ==========================================================================
   TOAST / NOTIFICAÇÃO FLUTUANTE
   ========================================================================== */
.toast-msg {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(-100px);
  background: var(--primary-burgundy);
  color: #FFFFFF;
  padding: 10px 18px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow-lg);
  border: 1.5px solid var(--primary-gold);
  z-index: 99999;
  transition: transform var(--transition-normal);
  pointer-events: none;
}

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