/* ==========================================================================
   Supermercado O Bonerjão - Estilo Integrado (Nordestão + Bonerjão Encarte)
   ========================================================================== */

:root {
  --primary: #016929;
  --primary-hover: #015220;
  --primary-light: #e8f5e9;
  --primary-glow: rgba(1, 105, 41, 0.2);
  --accent: #00b300;
  --accent-gold: #f59e0b;
  --danger: #dc2626;
  --danger-light: #fee2e2;
  --dark: #0f172a;
  --dark-soft: #334155;
  --gray-100: #f8fafc;
  --gray-200: #f1f5f9;
  --gray-300: #e2e8f0;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --white: #ffffff;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
  --shadow-card: 0 4px 20px -2px rgba(0, 0, 0, 0.06);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--dark);
  background-color: #f8fafc;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* ─── Header Principal (Padrão Nordestão + Bonerjão) ──── */
header.main-header {
  background: var(--white);
  border-bottom: 1px solid var(--gray-300);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.header-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}
.brand-logo {
  height: 48px;
  width: auto;
  object-fit: contain;
}
.brand-info {
  display: flex;
  flex-direction: column;
}
.brand-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.brand-city {
  display: inline-flex;
  align-items: center;
  font-size: 0.8rem;
  color: var(--primary-dark);
  font-weight: 700;
  background: rgba(1, 105, 41, 0.08);
  padding: 4px 10px;
  border-radius: 20px;
  border: 1px solid rgba(1, 105, 41, 0.18);
  letter-spacing: 0.2px;
}

/* Barra de Pesquisa Nordestão */
.search-wrapper {
  flex: 1;
  max-width: 540px;
  position: relative;
}
.search-input-box {
  width: 100%;
  padding: 11px 44px 11px 42px;
  background-color: var(--gray-100);
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--dark);
  transition: var(--transition);
  outline: none;
}
.search-input-box:focus {
  background-color: var(--white);
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-glow);
}
.search-icon-left {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gray-400);
  pointer-events: none;
}
.search-clear-btn {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--gray-400);
  cursor: pointer;
  padding: 4px;
  display: none;
}
.search-clear-btn:hover {
  color: var(--dark);
}

/* Ações do Header */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.btn-header-orders {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: #f1f5f9;
  color: var(--dark-soft);
  border: 1px solid #cbd5e1;
  padding: 8px 12px;
  border-radius: var(--radius-md);
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}
.btn-header-orders:hover {
  background-color: var(--primary-light);
  color: var(--primary);
  border-color: var(--primary);
}
.btn-header-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--dark-soft);
  text-decoration: none;
  padding: 8px 12px;
  border-radius: var(--radius-md);
  transition: var(--transition);
}
.btn-header-link:hover {
  background-color: var(--gray-200);
  color: var(--primary);
}
.btn-whatsapp-header {
  background-color: #25d366;
  color: #ffffff;
  padding: 8px 14px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  transition: var(--transition);
  box-shadow: 0 2px 8px rgba(37, 211, 102, 0.3);
}
.btn-whatsapp-header:hover {
  background-color: #1eb956;
  transform: translateY(-1px);
}
.btn-cart-header {
  background-color: var(--primary-light);
  color: var(--primary);
  border: 1.5px solid var(--primary);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.88rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
}
.btn-cart-header:hover {
  background-color: var(--primary);
  color: #ffffff;
}
.cart-badge-count {
  background: var(--danger);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ─── Hero / Banner de Ofertas Ativas ─────────────────── */
.hero-promo {
  background: linear-gradient(135deg, #015220 0%, #016929 50%, #028a36 100%);
  color: #ffffff;
  padding: 30px 20px 36px;
  position: relative;
  overflow: hidden;
}
.hero-promo::after {
  content: "";
  position: absolute;
  right: -50px;
  bottom: -50px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hero-container {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 30px;
  position: relative;
  z-index: 2;
}
.hero-content h1 {
  font-size: 2.1rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 8px;
  text-transform: uppercase;
}
.hero-subtitle {
  font-size: 1.05rem;
  opacity: 0.95;
  margin-bottom: 14px;
}
.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.hero-tag {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(4px);
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.hero-tag.tag-tv {
  background: #fbbf24;
  color: #78350f;
  font-weight: 800;
}

/* Caixa do Contador Hero */
.hero-countdown-card {
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-lg);
  padding: 16px 22px;
  text-align: center;
  min-width: 280px;
}
.hero-countdown-title {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  opacity: 0.85;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.countdown-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.countdown-box {
  background: rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  padding: 6px 10px;
  min-width: 50px;
}
.countdown-num {
  font-size: 1.5rem;
  font-weight: 900;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: #ffeb3b;
}
.countdown-label {
  font-size: 0.65rem;
  text-transform: uppercase;
  opacity: 0.8;
  margin-top: 3px;
}

/* ─── Navegação de Categorias / Departamentos ─────────── */
.categories-nav-section {
  background: var(--white);
  border-bottom: 1px solid var(--gray-300);
  position: sticky;
  top: 73px;
  z-index: 90;
  box-shadow: 0 2px 4px rgba(0,0,0,0.03);
}
.categories-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}
.categories-container::-webkit-scrollbar {
  display: none;
}
.category-btn {
  background: var(--gray-100);
  border: 1px solid var(--gray-300);
  color: var(--dark-soft);
  padding: 7px 16px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: inherit;
}
.category-btn:hover {
  background: var(--gray-200);
  color: var(--primary);
  border-color: var(--primary-glow);
}
.category-btn.active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 2px 8px var(--primary-glow);
}

/* ─── Seção Principal de Produtos (Grade Nordestão) ──── */
.products-section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 32px 20px 50px;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 12px;
}
.section-title-wrap h2 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -0.02em;
}
.section-subtitle {
  font-size: 0.9rem;
  color: var(--gray-500);
}
.sort-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}
.sort-select {
  padding: 8px 14px;
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-family: inherit;
  color: var(--dark);
  cursor: pointer;
  outline: none;
}

/* Grade de Produtos */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 24px;
}

/* Card de Produto Estilo Nordestão */
.product-card {
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}
.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(1, 105, 41, 0.12);
  border-color: #86efac;
}

/* Badges de Desconto & TV */
.badge-discount {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--danger);
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  z-index: 2;
  box-shadow: 0 2px 8px rgba(220, 38, 38, 0.35);
}
.badge-tv-tag {
  position: absolute;
  top: 14px;
  right: 14px;
  background: #fef08a;
  color: #854d0e;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: 6px;
  text-transform: uppercase;
  z-index: 2;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}

/* Imagem do Produto */
.product-img-wrapper {
  width: 100%;
  height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  padding: 12px;
  position: relative;
  background: #ffffff;
  border-radius: var(--radius-md);
  overflow: hidden;
}
.product-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.35s ease;
}
.product-card:hover .product-img {
  transform: scale(1.08);
}

/* Categoria e Título */
.product-category-tag {
  font-size: 0.78rem;
  color: var(--gray-500);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}
.product-name {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--dark);
  line-height: 1.3;
  margin-bottom: 14px;
  min-height: 2.8em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Área de Preço - Destaque Supermercado */
.product-pricing {
  margin-top: auto;
  margin-bottom: 16px;
  padding: 12px 16px;
  background: linear-gradient(180deg, #f0fdf4 0%, #dcfce7 100%);
  border-radius: var(--radius-md);
  border: 1.5px solid #bbf7d0;
}
.old-price {
  font-size: 0.92rem;
  font-weight: 600;
  color: #64748b;
  text-decoration: line-through;
  line-height: 1;
  margin-bottom: 4px;
}
.current-price-wrap {
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.currency-symbol {
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--primary);
}
.current-price {
  font-size: 2.45rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 0.95;
  letter-spacing: -0.03em;
}
.price-unit {
  font-size: 0.95rem;
  color: #166534;
  font-weight: 700;
  margin-left: 2px;
}

/* Ações do Card */
.product-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.qty-stepper {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius-sm);
  background: var(--gray-100);
  height: 44px;
}
.btn-qty {
  background: none;
  border: none;
  width: 32px;
  height: 100%;
  font-size: 1.25rem;
  font-weight: bold;
  color: var(--dark-soft);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.btn-qty:hover {
  background: var(--gray-300);
  color: var(--primary);
}
.qty-display {
  width: 30px;
  text-align: center;
  font-weight: 800;
  font-size: 0.95rem;
}
.btn-add-cart {
  flex: 1;
  height: 44px;
  background-color: var(--primary);
  color: #ffffff;
  border: none;
  border-radius: var(--radius-sm);
  font-weight: 800;
  font-size: 0.92rem;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 2px 6px rgba(1, 105, 41, 0.2);
}
.btn-add-cart:hover {
  background-color: var(--primary-hover);
  box-shadow: 0 4px 12px var(--primary-glow);
  transform: translateY(-1px);
}
.btn-direct-zap {
  height: 44px;
  width: 44px;
  background-color: #25d366;
  color: #ffffff;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(37, 211, 102, 0.25);
}
.btn-direct-zap:hover {
  background-color: #1eb956;
  transform: translateY(-1px);
}

/* Feedback de Adicionado ao Carrinho */
.btn-add-cart.added {
  background-color: #16a34a !important;
}

/* ─── Seção do Encarte Completo (Os Pedaços do Encarte) ─ */
.encarte-slices-section {
  background: #ffffff;
  border-top: 1px solid var(--gray-300);
  border-bottom: 1px solid var(--gray-300);
  padding: 50px 20px;
}
.encarte-slices-container {
  max-width: 1280px;
  margin: 0 auto;
}
.encarte-section-header {
  text-align: center;
  margin-bottom: 34px;
}
.encarte-section-header h2 {
  font-size: 2rem;
  font-weight: 900;
  color: var(--dark);
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.encarte-section-header p {
  color: var(--gray-500);
  font-size: 1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Grade dos Pedaços do Encarte - Layout Grande Vertical */
.slices-feed {
  display: flex;
  flex-direction: column;
  gap: 28px;
  max-width: 960px;
  margin: 0 auto;
}
.slice-card-large {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1.5px solid var(--gray-300);
  cursor: zoom-in;
  transition: var(--transition);
  position: relative;
}
.slice-card-large:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.14);
  border-color: var(--primary);
}
.slice-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  background: #f8fafc;
  border-bottom: 1px solid var(--gray-200);
}
.slice-page-tag {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.slice-zoom-hint {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gray-500);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.slice-card-large:hover .slice-zoom-hint {
  color: var(--primary);
}
.slice-large-img-wrap {
  width: 100%;
  background: #ffffff;
}
.slice-large-img-wrap img {
  width: 100%;
  height: auto;
  display: block;
}

/* ─── Seção Encerramento da Promoção (Countdown Bonerjão) ─ */
.countdown-banner-section {
  background: linear-gradient(135deg, #18181b 0%, #27272a 100%);
  color: #ffffff;
  padding: 44px 20px;
}
.countdown-banner-container {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.countdown-banner-text h3 {
  font-size: 1.8rem;
  font-weight: 900;
  line-height: 1.15;
  color: #ffffff;
  letter-spacing: -0.02em;
}
.countdown-banner-text p {
  color: #a1a1aa;
  font-size: 0.95rem;
  margin-top: 6px;
}
.countdown-clock-big {
  display: flex;
  align-items: center;
  gap: 12px;
}
.clock-unit {
  background: #09090b;
  border: 1px solid #3f3f46;
  border-radius: var(--radius-md);
  padding: 10px 14px;
  text-align: center;
  min-width: 70px;
}
.clock-val {
  font-size: 2rem;
  font-weight: 900;
  color: #22c55e;
  line-height: 1;
}
.clock-lbl {
  font-size: 0.68rem;
  text-transform: uppercase;
  color: #71717a;
  margin-top: 4px;
  font-weight: 600;
}

/* ─── Aviso Legal e Fale Conosco ──────────────────────── */
.legal-section {
  background: #f4f4f5;
  padding: 24px 20px;
  border-top: 1px solid var(--gray-300);
}
.legal-container {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
  color: #71717a;
  font-size: 0.8rem;
  line-height: 1.6;
}

.contact-cta-section {
  background: var(--white);
  padding: 40px 20px;
  text-align: center;
}
.contact-cta-container {
  max-width: 650px;
  margin: 0 auto;
}
.contact-cta-container h3 {
  font-size: 1.7rem;
  font-weight: 900;
  color: var(--dark);
  margin-bottom: 8px;
}
.contact-cta-container p {
  color: var(--gray-500);
  font-size: 0.95rem;
  margin-bottom: 20px;
}
.btn-cta-zap {
  background: #25d366;
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 800;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  transition: var(--transition);
}
.btn-cta-zap:hover {
  background: #1eb956;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

/* ─── Informações da Loja e Mapa ──────────────────────── */
.store-info-section {
  background: #f8fafc;
  border-top: 1px solid var(--gray-300);
  padding: 40px 20px;
}
.store-info-container {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: center;
}
.store-details-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.store-details-card h4 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 16px;
}
.store-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  color: var(--dark-soft);
  font-size: 0.95rem;
}
.store-detail-item svg {
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
}
.btn-open-maps {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: #fff;
  padding: 10px 18px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.9rem;
  margin-top: 8px;
  text-decoration: none;
  transition: all 0.2s ease;
}
.btn-open-maps:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  color: #fff;
}
.store-map-wrapper {
  height: 300px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-300);
}
.store-map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ─── Footer ─────────────────────────────────────────── */
footer.main-footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 30px 20px;
  font-size: 0.85rem;
  text-align: center;
  border-top: 1px solid #1e293b;
}
.footer-container {
  max-width: 1280px;
  margin: 0 auto;
}
.footer-badge-midiativa {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #cbd5e1;
  font-weight: 600;
  margin-top: 8px;
}

/* ─── Carrinho / Drawer Offcanvas (Nordestão Style) ───── */
.cart-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.cart-drawer-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 420px;
  background: var(--white);
  box-shadow: -5px 0 25px rgba(0, 0, 0, 0.15);
  z-index: 1001;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.cart-drawer.open {
  transform: translateX(0);
}
.cart-header {
  padding: 18px 20px;
  border-bottom: 1px solid var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.cart-header h3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--dark);
}
.btn-close-cart {
  background: none;
  border: none;
  font-size: 1.4rem;
  color: var(--gray-400);
  cursor: pointer;
  padding: 4px;
}
.btn-close-cart:hover {
  color: var(--dark);
}
.cart-items-list {
  flex: 1;
  overflow-y: auto;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cart-empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--gray-400);
}
.cart-item-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  background: var(--gray-100);
}
.cart-item-img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  background: var(--white);
  border-radius: 6px;
  padding: 4px;
}
.cart-item-info {
  flex: 1;
  min-width: 0;
}
.cart-item-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cart-item-price {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--primary);
}
.cart-item-stepper {
  display: flex;
  align-items: center;
  gap: 4px;
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: 4px;
}
.cart-stepper-btn {
  background: none;
  border: none;
  width: 24px;
  height: 24px;
  font-size: 0.9rem;
  font-weight: bold;
  cursor: pointer;
}
.cart-stepper-qty {
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0 4px;
}
.btn-remove-item {
  background: none;
  border: none;
  color: var(--danger);
  cursor: pointer;
  padding: 4px;
  opacity: 0.7;
}
.btn-remove-item:hover {
  opacity: 1;
}

/* Rodapé do Carrinho */
.cart-footer {
  padding: 20px;
  border-top: 1px solid var(--gray-200);
  background: var(--gray-100);
}
.cart-savings-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 6px;
}
.cart-total-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--dark);
  margin-bottom: 16px;
}
.btn-checkout-zap {
  width: 100%;
  background: #25d366;
  color: #ffffff;
  border: none;
  padding: 14px;
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-weight: 800;
  font-family: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
}
.btn-checkout-zap:hover {
  background: #1eb956;
}

/* ─── Botão Flutuante do Carrinho (Mobile & Desktop) ─── */
.floating-cart-pill {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--primary);
  color: #ffffff;
  padding: 12px 20px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 6px 20px rgba(1, 105, 41, 0.4);
  cursor: pointer;
  z-index: 80;
  transition: var(--transition);
  border: 2px solid #ffffff;
}
.floating-cart-pill:hover {
  background: var(--primary-hover);
  transform: scale(1.04);
}
.floating-cart-count {
  background: var(--danger);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: var(--radius-full);
}

/* ─── Lightbox Modal para o Encarte ─────────────────── */
.lightbox-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.98);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 0;
  overflow: hidden;
}
.lightbox-modal.open {
  opacity: 1;
  pointer-events: auto;
}
.lightbox-img-wrapper {
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: auto;
}
.lightbox-img {
  width: 100vw;
  height: 100vh;
  max-width: 100vw;
  max-height: 100vh;
  object-fit: contain;
  box-shadow: 0 0 50px rgba(0,0,0,0.9);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  transform: scale(0.96);
  cursor: zoom-in;
}
.lightbox-img.zoomed-full {
  height: auto;
  max-height: none;
  max-width: 1100px;
  width: 95vw;
  cursor: zoom-out;
  margin: 40px auto;
}
.lightbox-modal.open .lightbox-img {
  transform: scale(1);
}
.lightbox-close-btn {
  position: fixed;
  top: 20px;
  right: 24px;
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  color: #ffffff;
  font-size: 2rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  z-index: 10001;
}
.lightbox-close-btn:hover {
  background: rgba(220, 38, 38, 0.95);
  border-color: #dc2626;
  transform: scale(1.1);
}
.lightbox-nav-btn {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  font-size: 1.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  z-index: 10001;
}
.lightbox-nav-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  transform: translateY(-50%) scale(1.1);
}
.lightbox-nav-btn.prev { left: 24px; }
.lightbox-nav-btn.next { right: 24px; }

.lightbox-counter {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 700;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(6px);
  padding: 8px 20px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  z-index: 10001;
  pointer-events: none;
}

/* ─── Responsividade ─────────────────────────────────── */
@media (max-width: 1024px) {
  .store-info-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .header-container {
    flex-wrap: wrap;
    padding: 10px 14px;
  }
  .search-wrapper {
    order: 3;
    max-width: 100%;
    width: 100%;
    margin-top: 6px;
  }
  .hero-container {
    grid-template-columns: 1fr;
  }
  .hero-content h1 {
    font-size: 1.6rem;
  }
  .hero-countdown-card {
    min-width: 100%;
  }
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .product-card {
    padding: 12px;
  }
  .product-img-wrapper {
    height: 170px;
  }
  .product-name {
    font-size: 0.95rem;
    min-height: 2.5em;
    margin-bottom: 8px;
  }
  .product-pricing {
    padding: 8px 10px;
    margin-bottom: 10px;
  }
  .old-price {
    font-size: 0.78rem;
  }
  .currency-symbol {
    font-size: 1.05rem;
  }
  .current-price {
    font-size: 1.85rem;
  }
  .price-unit {
    font-size: 0.8rem;
  }
  .qty-stepper {
    height: 38px;
  }
  .btn-qty {
    width: 26px;
  }
  .qty-display {
    width: 24px;
    font-size: 0.85rem;
  }
  .btn-add-cart {
    height: 38px;
    font-size: 0.82rem;
  }
  .btn-direct-zap {
    height: 38px;
    width: 38px;
  }
  .slices-feed {
    gap: 18px;
  }
  .countdown-banner-container {
    flex-direction: column;
    text-align: center;
  }
  .btn-header-link {
    display: none;
  }
  .lightbox-nav-btn {
    width: 44px;
    height: 44px;
    font-size: 1.3rem;
  }
  .lightbox-nav-btn.prev { left: 10px; }
  .lightbox-nav-btn.next { right: 10px; }
  .lightbox-close-btn {
    width: 42px;
    height: 42px;
    font-size: 1.6rem;
    top: 14px;
    right: 14px;
  }
}

@media (max-width: 480px) {
  .products-grid {
    grid-template-columns: 1fr;
  }
}

/* ─── Modal de Finalização do Pedido (Checkout WhatsApp) ───── */
.checkout-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(6px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  animation: fadeInModal 0.2s ease;
}
.checkout-modal-overlay.open {
  display: flex;
}
@keyframes fadeInModal {
  from { opacity: 0; }
  to { opacity: 1; }
}
.checkout-modal-card {
  background: #ffffff;
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  border-radius: 20px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: popInCard 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes popInCard {
  from { opacity: 0; transform: scale(0.92) translateY(10px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
.checkout-modal-header {
  padding: 20px 22px;
  background: #0f172a;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.checkout-modal-badge {
  display: inline-block;
  background: rgba(22, 163, 74, 0.25);
  color: #4ade80;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 12px;
  margin-bottom: 4px;
}
.checkout-modal-header h3 {
  font-size: 1.12rem;
  font-weight: 800;
  color: #ffffff;
}
.btn-close-modal {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #cbd5e1;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}
.btn-close-modal:hover {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}
.checkout-modal-body {
  padding: 22px;
  overflow-y: auto;
}
.checkout-modal-intro {
  font-size: 0.88rem;
  color: #475569;
  line-height: 1.45;
  margin-bottom: 18px;
}
.checkout-field-group {
  margin-bottom: 14px;
}
.checkout-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: #334155;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.checkout-input {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid #cbd5e1;
  border-radius: 10px;
  font-size: 0.95rem;
  font-family: inherit;
  transition: all 0.2s;
}
.checkout-input:focus {
  outline: none;
  border-color: #16a34a;
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.15);
}
.delivery-options-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.delivery-opt-label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #334155;
  cursor: pointer;
  transition: all 0.2s;
}
.delivery-opt-label:hover {
  border-color: #16a34a;
  background: #f0fdf4;
}
.delivery-opt-label input[type="radio"]:checked + span {
  color: #16a34a;
}
.checkout-summary-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 12px 16px;
  margin: 16px 0;
}
.checkout-summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: #64748b;
  margin-bottom: 4px;
}
.checkout-summary-row.highlight {
  font-size: 1.05rem;
  font-weight: 800;
  color: #0f172a;
  border-top: 1px solid #e2e8f0;
  padding-top: 6px;
  margin-top: 6px;
  margin-bottom: 0;
}
.checkout-summary-row.highlight strong {
  color: #16a34a;
}
.btn-confirm-send-zap {
  width: 100%;
  padding: 14px;
  background: #25D366;
  color: #ffffff;
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background 0.2s, transform 0.1s;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
}
.btn-confirm-send-zap:hover {
  background: #1ebd5a;
  transform: translateY(-1px);
}
.btn-confirm-send-zap:active {
  transform: translateY(0);
}


/* ─────────────────────────────────────────────────────────────
   ESTRATÉGIA 1: CLUBE DO ENCARTE NO WHATSAPP
   ───────────────────────────────────────────────────────────── */
.clube-zap-section {
  max-width: 1240px;
  margin: 36px auto 20px;
  padding: 0 16px;
}
.clube-zap-card {
  background: linear-gradient(135deg, #064e3b 0%, #047857 60%, #065f46 100%);
  border-radius: 18px;
  padding: 28px 24px;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 24px;
  box-shadow: 0 10px 30px rgba(6, 78, 59, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.15);
  position: relative;
  overflow: hidden;
}
.clube-zap-card::before {
  content: "";
  position: absolute;
  top: -40px;
  right: -40px;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(37, 211, 102, 0.3) 0%, transparent 70%);
  pointer-events: none;
}
.clube-zap-icon {
  width: 68px;
  height: 68px;
  min-width: 68px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #25D366;
  border: 2px solid rgba(37, 211, 102, 0.4);
}
.clube-zap-content {
  flex: 1;
}
.clube-zap-badge {
  display: inline-block;
  background: #fef08a;
  color: #854d0e;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 12px;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}
.clube-zap-content h3 {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 6px;
  color: #ffffff;
  line-height: 1.3;
}
.clube-zap-content p {
  font-size: 0.9rem;
  color: #d1fae5;
  margin-bottom: 14px;
  line-height: 1.4;
}
.clube-zap-form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.clube-zap-input {
  flex: 1;
  min-width: 160px;
  padding: 11px 14px;
  border-radius: 10px;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.95);
  color: #0f172a;
  font-size: 0.92rem;
  font-weight: 500;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}
.clube-zap-input:focus {
  background: #ffffff;
  border-color: #25D366;
  box-shadow: 0 0 0 3px rgba(37, 211, 102, 0.3);
}
.btn-clube-submit {
  padding: 11px 22px;
  background: #25D366;
  color: #ffffff;
  border: none;
  border-radius: 10px;
  font-size: 0.92rem;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background 0.2s, transform 0.1s;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
}
.btn-clube-submit:hover {
  background: #1ebd5a;
  transform: translateY(-1px);
}
.clube-zap-feedback {
  margin-top: 10px;
  font-size: 0.88rem;
  font-weight: 700;
  display: none;
}

@media (max-width: 768px) {
  .clube-zap-card {
    flex-direction: column;
    text-align: center;
    padding: 22px 18px;
    gap: 16px;
  }
  .clube-zap-icon {
    margin: 0 auto;
  }
  .clube-zap-form {
    flex-direction: column;
  }
  .btn-clube-submit {
    justify-content: center;
    width: 100%;
  }
}

/* ─────────────────────────────────────────────────────────────
   ESTRATÉGIA 2: RECUPERAÇÃO DE CARRINHO ABANDONADO (MODAL/POPUP)
   ───────────────────────────────────────────────────────────── */
.abandoned-cart-prompt {
  position: fixed;
  bottom: 24px;
  left: 20px;
  max-width: 420px;
  width: calc(100% - 40px);
  z-index: 1050;
  transform: translateY(150%);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
  pointer-events: none;
}
.abandoned-cart-prompt.show {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.abandoned-cart-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.22);
  border: 1px solid #e2e8f0;
  position: relative;
}
.abandoned-close-btn {
  position: absolute;
  top: 10px;
  right: 12px;
  background: #f1f5f9;
  border: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  font-size: 16px;
  cursor: pointer;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
}
.abandoned-cart-header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 10px;
}
.abandoned-icon {
  font-size: 26px;
  line-height: 1;
}
.abandoned-cart-header strong {
  font-size: 0.98rem;
  color: #0f172a;
  display: block;
}
.abandoned-cart-header p {
  font-size: 0.82rem;
  color: #64748b;
  margin-top: 2px;
}
.abandoned-text {
  font-size: 0.85rem;
  color: #334155;
  margin-bottom: 14px;
  line-height: 1.4;
}
.abandoned-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.btn-recover-zap {
  flex: 1;
  padding: 10px 14px;
  background: #25D366;
  color: #ffffff;
  border: none;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-decoration: none;
  transition: background 0.2s;
}
.btn-recover-zap:hover { background: #1ebd5a; }
.btn-keep-browsing {
  padding: 10px 14px;
  background: #f1f5f9;
  color: #475569;
  border: none;
  border-radius: 10px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
}
.btn-keep-browsing:hover { background: #e2e8f0; }

/* ─────────────────────────────────────────────────────────────
   ESTRATÉGIA 3: BOTÃO FLUTUANTE DE AJUDA / DIFICULDADE
   ───────────────────────────────────────────────────────────── */
.floating-help-btn {
  position: fixed;
  bottom: 24px;
  left: 20px;
  z-index: 998;
  background: #ffffff;
  border-radius: 30px;
  padding: 8px 14px 8px 10px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.16);
  border: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
  color: #0f172a;
}
.floating-help-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.22);
}
.floating-help-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #25D366;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.floating-help-icon::after {
  content: "";
  position: absolute;
  top: -2px;
  right: -2px;
  width: 10px;
  height: 10px;
  background: #22c55e;
  border-radius: 50%;
  border: 2px solid #ffffff;
  animation: pulse-ring 2s infinite;
}
.floating-help-text {
  display: flex;
  flex-direction: column;
}
.floating-help-title {
  font-size: 0.8rem;
  font-weight: 800;
  color: #0f172a;
}
.floating-help-sub {
  font-size: 0.7rem;
  color: #16a34a;
  font-weight: 600;
}

@keyframes pulse-ring {
  0% { transform: scale(0.95); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.4; }
  100% { transform: scale(0.95); opacity: 1; }
}

@media (max-width: 640px) {
  .floating-help-sub { display: none; }
  .floating-help-btn { padding: 6px 12px 6px 6px; bottom: 18px; left: 14px; }
  .floating-help-icon { width: 32px; height: 32px; }
}

/* ─── Botão Meus Pedidos no Carrinho ─────────────────────── */
.btn-link-my-orders {
  background: transparent;
  border: none;
  color: var(--gray-600);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  padding: 8px 0 2px 0;
  display: block;
  width: 100%;
  text-align: center;
  transition: color 0.15s ease;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.btn-link-my-orders:hover {
  color: var(--primary);
}

/* ─── Modal de Confirmação & Envio Pós-Pedido ─────────────── */
.success-modal-card {
  text-align: center;
  max-width: 480px !important;
  padding: 32px 24px !important;
  position: relative;
}
.success-icon-badge {
  font-size: 2.8rem;
  margin-bottom: 10px;
  line-height: 1;
}
.success-order-code-box {
  background: #f0fdf4;
  border: 1.5px dashed #22c55e;
  border-radius: 12px;
  padding: 14px 20px;
  margin: 14px 0;
}
.success-actions-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
}
.btn-track-order-modal {
  background: #0284c7;
  color: #ffffff;
  border: none;
  border-radius: var(--radius-md);
  padding: 12px 18px;
  font-size: 0.95rem;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background 0.2s, transform 0.15s;
}
.btn-track-order-modal:hover {
  background: #0369a1;
  transform: translateY(-1px);
}
.btn-secondary-close {
  background: transparent;
  border: none;
  color: var(--gray-500);
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  padding: 8px;
  transition: color 0.15s;
}
.btn-secondary-close:hover {
  color: var(--gray-800);
}

/* ─── Modal / Tela de Acompanhamento "Meus Pedidos" ───────── */
.my-orders-card {
  max-width: 620px !important;
  width: 95% !important;
  max-height: 90vh !important;
  display: flex;
  flex-direction: column;
}
.my-orders-customer-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f8fafc;
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  padding: 10px 14px;
  margin-bottom: 12px;
}
.cust-info-text {
  display: flex;
  flex-direction: column;
  font-size: 0.88rem;
  color: var(--gray-800);
}
.btn-change-phone {
  background: white;
  border: 1px solid var(--gray-300);
  border-radius: 6px;
  padding: 5px 10px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gray-700);
  cursor: pointer;
  transition: all 0.15s;
}
.btn-change-phone:hover {
  border-color: var(--primary);
  color: var(--primary);
}
.my-orders-search-box {
  background: #f1f5f9;
  border-radius: 10px;
  padding: 12px;
  margin-bottom: 14px;
}
.live-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f0fdf4;
  color: #15803d;
  border: 1px solid #bbf7d0;
  border-radius: 20px;
  padding: 4px 10px;
  font-size: 0.74rem;
  font-weight: 700;
  margin-bottom: 14px;
}
.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  animation: pulse-ring 1.8s infinite;
}
.my-orders-container {
  overflow-y: auto;
  max-height: calc(85vh - 220px);
  padding-right: 4px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Card Individual de Pedido */
.order-tracking-card {
  background: #ffffff;
  border: 1.5px solid var(--gray-200);
  border-radius: 12px;
  padding: 18px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: border-color 0.2s;
}
.order-tracking-card:hover {
  border-color: var(--gray-300);
}
.order-tracking-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
}
.order-code-badge {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary-dark);
}
.order-date-label {
  font-size: 0.78rem;
  color: var(--gray-500);
}
.order-total-badge {
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a;
}

/* Banner de Status Atual */
.order-status-banner {
  border-radius: 8px;
  padding: 12px 14px;
  margin-bottom: 14px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.order-status-banner.status-recebido {
  background: #fef3c7;
  color: #92400e;
  border-left: 4px solid #f59e0b;
}
.order-status-banner.status-separando {
  background: #dbeafe;
  color: #1e40af;
  border-left: 4px solid #3b82f6;
}
.order-status-banner.status-entrega {
  background: #ede9fe;
  color: #5b21b6;
  border-left: 4px solid #8b5cf6;
}
.order-status-banner.status-concluido {
  background: #dcfce7;
  color: #14532d;
  border-left: 4px solid #22c55e;
}
.order-status-banner.status-cancelado {
  background: #fee2e2;
  color: #991b1b;
  border-left: 4px solid #ef4444;
}
.status-banner-title {
  font-weight: 800;
  font-size: 0.92rem;
  display: flex;
  align-items: center;
  gap: 6px;
}
.status-banner-desc {
  font-size: 0.8rem;
  opacity: 0.9;
  line-height: 1.35;
}

/* Timeline de Progresso Visual */
.tracking-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  position: relative;
  margin: 14px 0 16px 0;
}
.timeline-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
}
.timeline-step-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #e2e8f0;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
  margin-bottom: 5px;
  z-index: 2;
  transition: all 0.2s;
}
.timeline-step-label {
  font-size: 0.7rem;
  font-weight: 700;
  color: #64748b;
  line-height: 1.2;
}
.timeline-step.completed .timeline-step-icon {
  background: #16a34a;
  color: #ffffff;
}
.timeline-step.completed .timeline-step-label {
  color: #15803d;
}
.timeline-step.active .timeline-step-icon {
  background: #0284c7;
  color: #ffffff;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.25);
  transform: scale(1.1);
}
.timeline-step.active .timeline-step-label {
  color: #0284c7;
  font-weight: 800;
}

/* Detalhes dos Itens do Pedido */
.order-items-toggle {
  background: #f8fafc;
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  padding: 8px 12px;
  width: 100%;
  text-align: left;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--gray-700);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.order-items-details {
  display: none;
  background: #f8fafc;
  border: 1px solid var(--gray-200);
  border-top: none;
  border-radius: 0 0 8px 8px;
  padding: 10px 12px;
  font-size: 0.8rem;
}
.order-items-details.open {
  display: block;
}
.order-item-row {
  display: flex;
  justify-content: space-between;
  padding: 4px 0;
  border-bottom: 1px dashed #e2e8f0;
}
.order-item-row:last-child {
  border-bottom: none;
}

/* Ações do Pedido */
.order-tracking-actions {
  display: flex;
  gap: 8px;
  margin-top: 14px;
  flex-wrap: wrap;
}
.btn-zap-order-support {
  flex: 1;
  min-width: 200px;
  background: #25D366;
  color: white;
  padding: 9px 14px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.84rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-decoration: none;
  transition: background 0.15s;
}
.btn-zap-order-support:hover {
  background: #1eb956;
}

