/* ======================================================
   CARDÁPIO DIGITAL & DELIVERY - MODERN DESIGN SYSTEM
   Theme: Vibrant Crimson & Dark Charcoal Glassmorphism
   ====================================================== */

/* Google Fonts carregado via <link> no HTML para evitar bloqueio de render */

:root {
  --primary: #FF385C;
  --primary-hover: #E02B4C;
  --primary-light: rgba(255, 56, 92, 0.12);
  --accent: #FFB800;
  --accent-light: rgba(255, 184, 0, 0.15);
  --success: #00C853;
  --dark-bg: #0F1115;
  --dark-card: #181B22;
  --dark-card-hover: #212530;
  --dark-border: rgba(255, 255, 255, 0.08);
  --text-main: #F3F4F6;
  --text-muted: #9CA3AF;
  --text-dark: #111827;
  --glass-bg: rgba(24, 27, 34, 0.75);
  --glass-border: rgba(255, 255, 255, 0.1);
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.5);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: var(--dark-bg);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.5;
  min-height: 100vh;
  overflow-x: hidden;
  padding-bottom: 90px;
}

/* Header & Banner */
.header-hero {
  position: relative;
  background: linear-gradient(135deg, rgba(15, 17, 21, 0.97) 0%, rgba(24, 27, 34, 0.95) 40%, rgba(255, 56, 92, 0.25) 100%);
  padding: 2.5rem 1.5rem 4rem 1.5rem;
  border-bottom-left-radius: var(--radius-lg);
  border-bottom-right-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.brand-info {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.brand-logo {
  width: 90px;
  height: 90px;
  flex-shrink: 0;
  border-radius: var(--radius-md);
  background: #FFFFFF;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  color: var(--dark-bg);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: calc(var(--radius-md) - 4px);
}

.brand-details h1 {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  background: linear-gradient(90deg, #FFFFFF, #E2E8F0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-subtitle {
  color: var(--text-muted);
  font-size: 0.925rem;
  margin-top: 0.2rem;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  margin-top: 0.5rem;
}

.status-badge.open {
  background: rgba(0, 200, 83, 0.15);
  color: #00E676;
  border: 1px solid rgba(0, 200, 83, 0.3);
}

.status-badge.closed {
  background: rgba(255, 56, 92, 0.15);
  color: #FF5252;
  border: 1px solid rgba(255, 56, 92, 0.3);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: currentColor;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.store-meta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.meta-pill {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  padding: 0.6rem 1rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: var(--text-main);
}

.meta-pill i {
  color: var(--primary);
}

/* Container Principal */
.main-content {
  max-width: 1200px;
  margin: -1.75rem auto 2rem auto;
  padding: 0 1.25rem;
  position: relative;
  z-index: 10;
}

/* Barra de Busca */
.search-wrapper {
  position: relative;
  margin-bottom: 1.5rem;
}

.search-input {
  width: 100%;
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 1.1rem 1.25rem 1.1rem 3.2rem;
  color: var(--text-main);
  font-size: 1rem;
  font-family: var(--font-body);
  transition: all 0.25s ease;
  box-shadow: var(--shadow-sm);
}

.search-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-light);
}

.search-icon {
  position: absolute;
  left: 1.2rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 1.1rem;
}

.search-clear-btn {
  position: absolute;
  right: 1.2rem;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: var(--text-muted);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.search-clear-btn:hover {
  background: var(--primary);
  color: #ffffff;
}

/* Skeleton Loading Animation */
.skeleton-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  animation: pulseSkeleton 1.5s infinite ease-in-out;
}

.skeleton-img {
  width: 100%;
  height: 160px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
}

.skeleton-line {
  height: 14px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
}

.skeleton-line.title {
  width: 70%;
  height: 18px;
}

.skeleton-line.desc {
  width: 90%;
}

.skeleton-line.price {
  width: 40%;
  height: 22px;
  margin-top: 0.5rem;
}

@keyframes pulseSkeleton {
  0% { opacity: 0.4; }
  50% { opacity: 0.8; }
  100% { opacity: 0.4; }
}

/* Abas de Categorias - Carrossel Horizontal Responsivo para Mobile */
.category-tabs {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.75rem;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 0.85rem;
  margin-bottom: 2rem;
  width: 100%;
  max-width: 100%;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x;
  scrollbar-width: none;
  -ms-overflow-style: none;
  user-select: none;
  cursor: grab;
}

.category-tabs:active {
  cursor: grabbing;
}

.category-tabs::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.category-tab {
  flex: 0 0 auto;
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  color: var(--text-muted);
  padding: 0.75rem 1.35rem;
  border-radius: var(--radius-full);
  font-size: 0.925rem;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.category-tab i {
  font-size: 1rem;
}

.category-tab:hover {
  color: var(--text-main);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.category-tab.active {
  background: linear-gradient(135deg, var(--primary), var(--primary-hover));
  color: white;
  border-color: transparent;
  box-shadow: 0 6px 16px rgba(255, 56, 92, 0.35);
}

/* Seções e Grid de Produtos */
.section-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.section-title i {
  color: var(--accent);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

/* Card de Produto */
.product-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.product-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 56, 92, 0.4);
  box-shadow: 0 12px 24px -6px rgba(0, 0, 0, 0.6);
}

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 5;
  background: linear-gradient(135deg, var(--accent), #FF9100);
  color: #000;
  font-weight: 800;
  font-size: 0.75rem;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.product-badge-personalizado {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 5;
  background: linear-gradient(135deg, #FFD600, #FFA000);
  color: #000;
  font-weight: 800;
  font-size: 0.75rem;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.preco-personalizado-nota {
  color: #FFA000;
  font-weight: 700;
  font-size: 0.8rem;
  margin-top: 0.3rem;
}

.product-image-wrap {
  width: 100%;
  height: 180px;
  background: #11141A;
  position: relative;
  overflow: hidden;
}

.product-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.product-card:hover .product-image-wrap img {
  transform: scale(1.08);
}

.product-content {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.4rem;
}

.product-desc {
  color: var(--text-muted);
  font-size: 0.875rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.product-price-box {
  display: flex;
  flex-direction: column;
}

.price-old {
  text-decoration: line-through;
  color: var(--text-muted);
  font-size: 0.8rem;
}

.price-current {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: #FFFFFF;
}

.price-current.discount {
  color: #00E676;
}

.btn-add {
  background: linear-gradient(135deg, var(--primary), var(--primary-hover));
  color: white;
  border: none;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(255, 56, 92, 0.3);
}

.btn-add:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 16px rgba(255, 56, 92, 0.5);
}

/* Floating Cart Trigger */
.floating-cart-bar {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 2.5rem);
  max-width: 500px;
  background: linear-gradient(135deg, #1F2430, #14171F);
  border: 1px solid rgba(255, 56, 92, 0.4);
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.7);
  z-index: 100;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(16px);
}

.floating-cart-bar:hover {
  transform: translateX(-50%) translateY(-3px);
  box-shadow: 0 20px 40px rgba(255, 56, 92, 0.25);
}

.cart-bar-info {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.cart-count-badge {
  background: var(--primary);
  color: white;
  font-weight: 800;
  font-size: 0.85rem;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-bar-text {
  display: flex;
  flex-direction: column;
}

.cart-bar-title {
  font-weight: 700;
  font-size: 0.95rem;
}

.cart-bar-total {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.cart-bar-btn {
  font-weight: 700;
  color: var(--primary);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* Modais & Drawer Lateral com Ocultação Estrita de Barra de Rolagem */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

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

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 480px;
  height: 100%;
  background: var(--dark-card);
  border-left: 1px solid var(--dark-border);
  z-index: 250;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-lg);
}

.cart-drawer.active {
  transform: translateX(0);
}

.drawer-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--dark-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.drawer-header h2 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.btn-close {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.3rem;
  cursor: pointer;
  padding: 0.4rem;
  border-radius: 50%;
  transition: color 0.2s ease;
}

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

.drawer-body {
  padding: 1.5rem;
  overflow-y: auto;
  flex-grow: 1;
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}

.drawer-body::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

.cart-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.cart-item-details h4 {
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}

.cart-item-price {
  color: var(--primary);
  font-weight: 700;
  font-size: 0.9rem;
}

.cart-qty-ctrl {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: #0F1115;
  border: 1px solid var(--dark-border);
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-md);
}

.btn-qty {
  background: none;
  border: none;
  color: var(--text-main);
  width: 24px;
  height: 24px;
  cursor: pointer;
  font-weight: bold;
}

.drawer-footer {
  padding: 1.5rem;
  border-top: 1px solid var(--dark-border);
  background: #11141A;
}

.checkout-summary {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1.25rem;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.summary-row.total {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-main);
  padding-top: 0.5rem;
  border-top: 1px dashed var(--dark-border);
}

.btn-checkout {
  width: 100%;
  background: linear-gradient(135deg, var(--primary), var(--primary-hover));
  color: white;
  border: none;
  padding: 1rem;
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 8px 20px rgba(255, 56, 92, 0.4);
}

.btn-checkout:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(255, 56, 92, 0.6);
}

/* Modal Boxes com Barra de Rolagem Totalmente Oculta (Cross-Browser) */
.modal-box, #modal-orders-list {
  scrollbar-width: none !important; /* Firefox */
  -ms-overflow-style: none !important; /* IE / Edge */
}

.modal-box::-webkit-scrollbar, 
#modal-orders-list::-webkit-scrollbar {
  display: none !important; /* Chrome / Safari / Opera / Webkit */
  width: 0 !important;
  height: 0 !important;
}

.modal-box {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-lg);
  width: 90%;
  max-width: 580px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 1.75rem;
  box-shadow: var(--shadow-lg);
  display: none;
}

/* Posicionamento centralizado de modais (substituindo inline styles) */
.modal-centered {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 300;
  animation: modalIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Modal Meus Pedidos em Tela Ampla / Quase Cheia no PC e Responsivo no Mobile */
#modal-orders {
  width: 96% !important;
  max-width: 1200px !important;
  max-height: 92vh !important;
  padding: 2rem !important;
  z-index: 320;
}

#modal-orders-list {
  max-height: 72vh !important;
  overflow-y: auto;
  padding-right: 0.1rem;
}

@keyframes modalIn {
  from { opacity: 0; transform: translate(-50%, -46%) scale(0.95); }
  to { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

.form-group {
  margin-bottom: 1.2rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

.form-control {
  width: 100%;
  background: #0F1115;
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 0.95rem;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
}

.radio-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.radio-card {
  background: #0F1115;
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-md);
  padding: 0.85rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
  font-weight: 600;
}

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

/* Botões de Filtro por Status no Modal de Pedidos */
.orders-status-filter-bar {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.4rem;
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}

.orders-status-filter-bar::-webkit-scrollbar {
  display: none !important;
}

.order-filter-btn {
  background: #0F1115;
  border: 1px solid var(--dark-border);
  color: var(--text-muted);
  padding: 0.5rem 0.95rem;
  border-radius: var(--radius-full);
  font-size: 0.825rem;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: all 0.2s ease;
}

.order-filter-btn:hover {
  color: var(--text-main);
  border-color: rgba(255, 255, 255, 0.2);
}

.order-filter-btn.active {
  background: var(--btn-color, var(--primary));
  color: #000;
  border-color: transparent;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

/* Grids Responsivos do Formulário de Checkout */
.form-grid-3 {
  display: grid;
  grid-template-columns: 1.2fr 2fr 0.8fr;
  gap: 0.75rem;
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 0.75rem;
}

.form-grid-2-equal {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

/* ======================================================
   RESPONSIVIDADE MOBILE & TABLET COMPLETA
   ====================================================== */

/* Tablet */
@media (max-width: 768px) {
  .header-hero {
    padding: 1.75rem 1rem 3.5rem 1rem;
  }

  .header-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .brand-logo {
    width: 72px;
    height: 72px;
    flex-shrink: 0;
    font-size: 1.6rem;
  }

  .brand-details h1 {
    font-size: 1.35rem;
  }

  .store-meta {
    width: 100%;
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .meta-pill {
    font-size: 0.78rem;
    padding: 0.5rem 0.75rem;
  }

  .products-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .search-input {
    font-size: 0.9rem;
    padding: 0.95rem 1rem 0.95rem 2.8rem;
  }

  .search-input::placeholder {
    font-size: 0.82rem;
  }
}

/* Mobile — Modais Fullscreen */
@media (max-width: 768px) {
  .modal-box.modal-centered {
    position: fixed;
    top: 0 !important;
    left: 0 !important;
    transform: none !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 100% !important;
    max-height: 100% !important;
    border-radius: 0 !important;
    padding: 1rem 0.85rem !important;
    animation: modalSlideUp 0.3s ease-out;
  }

  @keyframes modalSlideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
  }

  #modal-orders {
    width: 100% !important;
    max-width: 100% !important;
    height: 100% !important;
    max-height: 100% !important;
    padding: 1rem 0.85rem !important;
    border-radius: 0 !important;
  }

  #modal-orders-list {
    max-height: calc(100vh - 200px) !important;
  }

  /* Formulário checkout responsivo — grids viram coluna única */
  .form-grid-3,
  .form-grid-2,
  .form-grid-2-equal {
    grid-template-columns: 1fr !important;
  }

  /* Cart drawer fullscreen no mobile */
  .cart-drawer {
    max-width: 100%;
  }

  /* Floating cart bar ajuste */
  .floating-cart-bar {
    width: calc(100% - 1.5rem);
    bottom: 12px;
    padding: 0.7rem 1rem;
  }

  .section-title {
    font-size: 1.2rem;
  }

  .category-tab {
    font-size: 0.85rem;
    padding: 0.6rem 1rem;
  }

  .product-image-wrap {
    height: 160px;
  }

  .product-content {
    padding: 1rem;
  }

  .product-title {
    font-size: 1.05rem;
  }

  .price-current {
    font-size: 1.2rem;
  }
}

/* Extra small (iPhone SE, etc) */
@media (max-width: 375px) {
  .brand-info {
    gap: 0.75rem;
  }

  .brand-logo {
    width: 60px;
    height: 60px;
  }

  .brand-details h1 {
    font-size: 1.15rem;
  }

  .meta-pill {
    font-size: 0.72rem;
    padding: 0.4rem 0.6rem;
  }
}

/* ======================================================
   CARDÁPIO DO DIA - Banner de destaque no topo da home
   ====================================================== */
.daily-menu {
  margin-bottom: 1.75rem;
}

.daily-menu-card {
  position: relative;
  overflow: hidden;
  background:
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.012) 0px, rgba(255, 255, 255, 0.012) 1px, transparent 1px, transparent 3px),
    linear-gradient(165deg, #1B1206 0%, #100C08 55%, #0B0908 100%);
  border: 1px solid rgba(255, 184, 0, 0.28);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.5rem 1.75rem;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 184, 0, 0.05) inset;
  animation: dailyMenuGlow 4s ease-in-out infinite;
}

@keyframes dailyMenuGlow {
  0%, 100% { box-shadow: var(--shadow-lg), 0 0 18px rgba(255, 184, 0, 0.08); }
  50% { box-shadow: var(--shadow-lg), 0 0 32px rgba(255, 184, 0, 0.18); }
}

.daily-menu-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 8% 0%, rgba(255, 184, 0, 0.18), transparent 45%),
    radial-gradient(circle at 100% 0%, rgba(255, 56, 92, 0.14), transparent 45%),
    radial-gradient(circle at 50% 100%, rgba(255, 184, 0, 0.08), transparent 55%),
    radial-gradient(circle at 22% 55%, rgba(255, 138, 0, 0.10), transparent 38%),
    radial-gradient(circle at 78% 60%, rgba(255, 56, 92, 0.09), transparent 38%),
    radial-gradient(circle at 50% 30%, rgba(255, 184, 0, 0.06), transparent 42%);
  pointer-events: none;
  animation: bokehDrift 12s ease-in-out infinite alternate;
}

@keyframes bokehDrift {
  0%   { transform: scale(1) translate(0, 0); }
  100% { transform: scale(1.06) translate(-1%, 1%); }
}

/* Vapor decorativo (linhas subindo e balançando, como o cheiro de comida quentinha) */
.steam-wrap {
  position: absolute;
  top: -6px;
  display: flex;
  gap: 6px;
  z-index: 0;
  opacity: 0.55;
  pointer-events: none;
}

.steam-wrap-left { left: 6%; }
.steam-wrap-right { right: 6%; }

.steam-line {
  width: 3px;
  height: 26px;
  border-radius: var(--radius-full);
  background: linear-gradient(to top, rgba(255, 184, 0, 0.55), rgba(255, 255, 255, 0));
  transform-origin: bottom center;
  animation: steamRise 3.2s ease-in-out infinite;
}

.steam-line.s2 { animation-delay: 0.5s; height: 20px; }
.steam-line.s3 { animation-delay: 1s; height: 30px; }

@keyframes steamRise {
  0%   { transform: translateY(0) scaleY(0.8) rotate(0deg); opacity: 0; }
  30%  { opacity: 0.8; }
  100% { transform: translateY(-22px) scaleY(1.15) rotate(6deg); opacity: 0; }
}

/* Faíscas decorativas girando perto do título, como os acentos laranja do flyer */
.daily-menu-spark {
  position: absolute;
  color: var(--accent);
  opacity: 0.35;
  pointer-events: none;
  animation: sparkSpin 6s linear infinite;
}

.spark-1 { top: 0.75rem; left: 44%; font-size: 0.9rem; }
.spark-2 { top: 2.5rem; right: 8%; font-size: 0.7rem; animation-duration: 5s; animation-direction: reverse; }

@keyframes sparkSpin {
  from { transform: rotate(0deg) scale(1); }
  50% { transform: rotate(180deg) scale(1.2); }
  to { transform: rotate(360deg) scale(1); }
}

.daily-menu-header {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.daily-menu-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, var(--accent), #FF8A00);
  color: #1a1200;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.01em;
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius-full);
  box-shadow: 0 6px 16px rgba(255, 184, 0, 0.35);
  animation: badgePulse 2.6s ease-in-out infinite;
}

@keyframes badgePulse {
  0%, 100% { box-shadow: 0 6px 16px rgba(255, 184, 0, 0.35); }
  50% { box-shadow: 0 6px 24px rgba(255, 184, 0, 0.55); }
}

.daily-menu-date {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--dark-border);
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-full);
  text-transform: capitalize;
}

.daily-menu-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: start;
  gap: 1.25rem;
}

/* Divisor central com "panela" e vaporzinho, como o ícone entre as colunas do flyer */
.daily-menu-divider {
  display: flex;
  justify-content: center;
  padding-top: 1.9rem;
}

.daily-menu-pot {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 184, 0, 0.1);
  border: 1px solid rgba(255, 184, 0, 0.3);
  color: var(--accent);
  font-size: 0.85rem;
  box-shadow: 0 0 14px rgba(255, 184, 0, 0.2);
}

.daily-menu-col {
  position: relative;
  min-height: 90px;
}

/* Marca d'água grande e translúcida atrás de cada coluna, preenchendo espaços vazios com elegância */
.daily-menu-watermark {
  position: absolute;
  right: -0.4rem;
  bottom: -0.6rem;
  font-size: 4.5rem;
  color: var(--accent);
  opacity: 0.06;
  transform: rotate(-12deg);
  pointer-events: none;
  z-index: 0;
}

.daily-menu-col ul {
  position: relative;
  z-index: 1;
}

.daily-menu-col h3 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 0.65rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255, 184, 0, 0.2);
}

.daily-menu-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.daily-menu-col li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--text-main);
  line-height: 1.35;
  transition: transform 0.15s ease;
}

.daily-menu-col li:hover {
  transform: translateX(3px);
}

.daily-menu-item-icon {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255, 184, 0, 0.28), rgba(255, 184, 0, 0.06));
  border: 1px solid rgba(255, 184, 0, 0.25);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.35);
}

/* Bolinha de feijão desenhada em CSS (evita emoji sem suporte em alguns aparelhos) */
.bean-dot {
  width: 15px;
  height: 15px;
  border-radius: 55% 45% 50% 50% / 55% 55% 45% 45%;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.45) inset, 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Faixa decorativa de ícones repetidos (efeito "tira de fotos" do flyer, sem depender de imagens reais) */
.daily-menu-strip {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  margin-top: 1.4rem;
  padding: 0.65rem 0.5rem;
  background: linear-gradient(90deg, transparent, rgba(255, 184, 0, 0.07) 20%, rgba(255, 184, 0, 0.07) 80%, transparent);
  border-top: 1px dashed rgba(255, 184, 0, 0.22);
  border-bottom: 1px dashed rgba(255, 184, 0, 0.22);
  color: var(--accent);
  opacity: 0.55;
  font-size: 1rem;
}

.daily-menu-tagline {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 1.5rem;
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--accent);
  text-align: center;
}

.daily-menu-tagline i {
  color: var(--primary);
}

.daily-menu-share-btn {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 0.85rem;
  padding: 0.85rem 1.25rem;
  background: linear-gradient(135deg, #00C853, #00E676);
  color: #06280F;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border-radius: var(--radius-md);
  box-shadow: 0 8px 18px rgba(0, 200, 83, 0.25);
  transition: transform 0.2s ease;
}

.daily-menu-share-btn:hover {
  transform: translateY(-2px);
}

.daily-menu-share-btn i {
  font-size: 1.15rem;
}

@media (max-width: 640px) {
  .daily-menu-card {
    padding: 1.25rem 1rem 1.5rem;
  }

  .daily-menu-grid {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .daily-menu-divider {
    padding: 0.35rem 0;
  }

  .daily-menu-pot {
    width: 28px;
    height: 28px;
    transform: rotate(90deg);
  }

  .daily-menu-col {
    padding-bottom: 0.4rem;
  }

  .daily-menu-col h3 {
    font-size: 0.85rem;
  }

  .daily-menu-badge {
    font-size: 0.9rem;
  }

  .steam-wrap { display: none; }

  .daily-menu-watermark {
    font-size: 3rem;
    opacity: 0.05;
  }

  .daily-menu-strip {
    font-size: 0.85rem;
    gap: 0.4rem;
  }

  .daily-menu-strip i:nth-child(n+6) {
    display: none;
  }

  .daily-menu-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .daily-menu-date {
    font-size: 0.78rem;
    padding: 0.35rem 0.7rem;
  }
}

/* ==========================================================================
   Promoções do Dia (api/promocao_dia.php - tabela promocao_dia_web)
   Visual de "oferta relâmpago": gradiente magenta -> laranja -> amarelo em
   vez de um vermelho liso, cartões estilo cupom com brilho passando por
   cima (shine sweep) e badge de desconto com leve "respiro" (pulse), pra
   chamar mais atenção que o card calmo do Cardápio do Dia.
   ========================================================================== */

.daily-promos {
  margin-bottom: 1.75rem;
}

.daily-promos-card {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 15% 20%, rgba(255, 56, 168, 0.16), transparent 45%),
    radial-gradient(circle at 85% 85%, rgba(255, 149, 0, 0.16), transparent 45%),
    linear-gradient(165deg, #1B0620 0%, #12081A 55%, #0B0908 100%);
  border: 1px solid transparent;
  background-clip: padding-box;
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem 1.5rem;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 56, 168, 0.12) inset;
}

.daily-promos-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(120deg, #FF2FA0, #FF8A00, #FFD400, #FF2FA0);
  background-size: 300% 300%;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: promosBorderFlow 6s linear infinite;
  opacity: 0.55;
}

@keyframes promosBorderFlow {
  0% { background-position: 0% 50%; }
  100% { background-position: 300% 50%; }
}

.daily-promos-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.daily-promos-badge {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(110deg, #FF2FA0, #FF6B00 55%, #FFC700);
  background-size: 220% 100%;
  color: #2a0018;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.01em;
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius-full);
  box-shadow: 0 6px 18px rgba(255, 47, 160, 0.4);
  animation: promosBadgeShift 3.5s ease-in-out infinite;
}

@keyframes promosBadgeShift {
  0%, 100% { background-position: 0% 50%; box-shadow: 0 6px 18px rgba(255, 47, 160, 0.4); }
  50% { background-position: 100% 50%; box-shadow: 0 6px 24px rgba(255, 138, 0, 0.5); }
}

.daily-promos-list {
  display: flex;
  gap: 0.85rem;
  overflow-x: auto;
  padding-bottom: 0.35rem;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.daily-promo-item {
  position: relative;
  overflow: hidden;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 0.65rem 1rem 0.65rem 0.7rem;
  min-width: 200px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.daily-promo-item:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 138, 0, 0.4);
}

/* Brilho diagonal que varre o cartao, tipo "flash" de oferta */
.daily-promo-item::after {
  content: '';
  position: absolute;
  top: 0;
  left: -60%;
  width: 40%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.16), transparent);
  transform: skewX(-20deg);
  animation: promoShine 3.2s ease-in-out infinite;
}

@keyframes promoShine {
  0%   { left: -60%; }
  35%  { left: 130%; }
  100% { left: 130%; }
}

.daily-promo-item-icon {
  flex-shrink: 0;
  width: 2.1rem;
  height: 2.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255, 199, 0, 0.35), rgba(255, 47, 160, 0.25));
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.daily-promo-item-name {
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--text-main);
  line-height: 1.25;
}

.daily-promo-item-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.8rem;
  color: #2a0018;
  background: linear-gradient(120deg, #FFD400, #FF8A00);
  padding: 0.3rem 0.55rem;
  border-radius: var(--radius-full);
  white-space: nowrap;
  margin-left: auto;
  box-shadow: 0 3px 10px rgba(255, 138, 0, 0.4);
}

@media (max-width: 640px) {
  .daily-promos-card {
    padding: 1.1rem 1.1rem 1.35rem;
  }

  .daily-promos-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .daily-promo-item {
    min-width: 175px;
    padding: 0.55rem 0.85rem 0.55rem 0.6rem;
  }
}
