/* Estilos modernos da Fábrica Allegrine - Paleta Marrom/Bege */

:root {
  /* Paleta de cores da logo */
  --marrom-escuro: #5a3a22;
  --marrom-medio: #8b5a3c;
  --marrom-claro: #a67c5a;
  --bege-escuro: #d4b896;
  --bege-medio: #e6d1bd;
  --bege-claro: #f4e7da;
  --bege-muito-claro: #faf7f2;
  
  /* Cores de apoio */
  --branco: #ffffff;
  --cinza-claro: #f8f9fa;
  --cinza-medio: #6c757d;
  --verde-whatsapp: #25d366;
  --vermelho: #dc3545;
  --dourado: #d4af37;
  
  /* Sombras */
  --sombra-suave: 0 4px 20px rgba(90, 58, 34, 0.08);
  --sombra-media: 0 8px 30px rgba(90, 58, 34, 0.12);
  --sombra-forte: 0 12px 40px rgba(90, 58, 34, 0.16);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}

body {
  background: linear-gradient(135deg, var(--bege-claro) 0%, var(--bege-muito-claro) 100%);
  color: var(--marrom-escuro);
  line-height: 1.6;
  min-height: 100vh;
}

/* Header horizontal moderno */
header {
  background: linear-gradient(135deg, var(--marrom-escuro) 0%, var(--marrom-medio) 100%);
  color: var(--branco);
  position: relative;
  box-shadow: var(--sombra-media);
  overflow: hidden;
}

header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.03)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.03)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.02)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  pointer-events: none;
}

/* Container principal do header */
.header-content {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* Logo */
.header-logo img {
  max-width: 80px;
  height: auto;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.2));
  transition: transform 0.3s ease;
}

.header-logo img:hover {
  transform: scale(1.05);
}

/* Informações da loja */
.header-info {
  flex: 1;
}

.header-info h1 {
  font-size: 1.8rem;
  margin: 0 0 0.3rem 0;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
  letter-spacing: -0.02em;
  color: var(--branco);
}

.header-info p {
  font-size: 1rem;
  color: var(--bege-medio);
  font-weight: 400;
  opacity: 0.9;
  margin: 0;
}

/* Faixa de promoção */
.header-promo {
  background: linear-gradient(135deg, var(--dourado), #b8860b);
  padding: 0.8rem 2rem;
  text-align: center;
  position: relative;
  z-index: 1;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.1);
}

.promo-icon {
  font-size: 1.1rem;
  margin-right: 0.5rem;
  animation: pulse 2s infinite;
}

.promo-text {
  font-weight: 600;
  color: var(--marrom-escuro);
  font-size: 1rem;
}

#countdown {
  font-weight: 700;
  color: var(--marrom-escuro);
  text-shadow: 0 1px 2px rgba(255,255,255,0.3);
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

/* Container principal */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

/* Carrinho flutuante moderno */
.carrinho-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: linear-gradient(135deg, var(--verde-whatsapp), #1da851);
  color: white;
  border: none;
  border-radius: 50%;
  width: 70px;
  height: 70px;
  font-size: 1.8rem;
  cursor: pointer;
  box-shadow: var(--sombra-forte);
  z-index: 1000;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carrinho-btn:hover {
  transform: scale(1.1) translateY(-2px);
  box-shadow: 0 15px 50px rgba(37, 211, 102, 0.4);
}

.carrinho-count {
  position: absolute;
  top: -8px;
  right: -8px;
  background: linear-gradient(135deg, var(--vermelho), #b91c1c);
  color: white;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  border: 3px solid var(--branco);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

/* Container principal */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

/* Grid de produtos moderno */
.produtos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

/* Card do produto moderno */
.produto {
  background: var(--branco);
  border-radius: 20px;
  box-shadow: var(--sombra-suave);
  overflow: hidden;
  transition: all 0.4s ease;
  position: relative;
  border: 1px solid var(--bege-medio);
  cursor: pointer;
}

.produto:hover {
  transform: translateY(-8px);
  box-shadow: var(--sombra-forte);
  border-color: var(--marrom-claro);
}

.produto::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, transparent 0%, rgba(90, 58, 34, 0.02) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 1;
}

.produto:hover::before {
  opacity: 1;
}

/* Container da imagem do produto */
.produto-imagem {
  position: relative;
  overflow: hidden;
}

/* Faixa de entrega moderna */
.entrega-faixa {
  background: linear-gradient(135deg, var(--marrom-medio), var(--marrom-claro));
  color: var(--branco);
  padding: 0.6rem 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  text-align: center;
  position: relative;
}

.entrega-faixa::before {
  content: '🚚';
  margin-right: 0.5rem;
}

/* Etiquetas modernas */
.etiqueta {
  position: absolute;
  bottom: 15px;
  left: 15px;
  background: linear-gradient(135deg, var(--vermelho), #b91c1c);
  color: var(--branco);
  padding: 0.4rem 0.8rem;
  font-size: 0.75rem;
  border-radius: 20px;
  font-weight: 600;
  z-index: 3;
  box-shadow: var(--sombra-suave);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.etiqueta.mais-vendido {
  background: linear-gradient(135deg, var(--dourado), #b8860b);
}

/* Imagem do produto */
.produto img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.produto:hover img {
  transform: scale(1.05);
}

/* Informações do produto */
.produto-info {
  padding: 1.5rem;
  position: relative;
  z-index: 2;
}

.produto-info h3 {
  font-size: 1.1rem;
  margin-bottom: 0.8rem;
  color: var(--marrom-escuro);
  font-weight: 600;
  line-height: 1.3;
  min-height: 2.6rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Avaliações modernas */
.avaliacao {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.8rem;
}

.avaliacao .estrelas {
  color: var(--dourado);
  font-size: 1rem;
}

.avaliacao .vendidos {
  color: var(--marrom-claro);
  font-size: 0.85rem;
  font-weight: 500;
}

/* Estoque moderno */
.estoque {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  margin-bottom: 1rem;
  color: var(--marrom-medio);
  font-weight: 500;
}

.estoque::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--verde-whatsapp);
}

.estoque.baixo::before {
  background: var(--vermelho);
  animation: pulse 2s infinite;
}

/* Preços modernos */
.precos {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.preco {
  color: var(--marrom-escuro);
  font-size: 1.4rem;
  font-weight: 700;
}

.preco-original {
  text-decoration: line-through;
  color: var(--cinza-medio);
  font-size: 1rem;
  font-weight: 400;
}

.desconto {
  background: linear-gradient(135deg, var(--vermelho), #b91c1c);
  color: var(--branco);
  padding: 0.2rem 0.6rem;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
}

/* Botão de comprar moderno */
.botao-comprar {
  width: 100%;
  background: linear-gradient(135deg, var(--marrom-escuro), var(--marrom-medio));
  color: var(--branco);
  padding: 1rem;
  text-align: center;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1rem;
  position: relative;
  overflow: hidden;
}

.botao-comprar::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s ease;
}

.botao-comprar:hover::before {
  left: 100%;
}

.botao-comprar:hover {
  background: linear-gradient(135deg, var(--marrom-medio), var(--marrom-claro));
  transform: translateY(-2px);
  box-shadow: var(--sombra-media);
}

/* Container dos botões do produto */
.produto-botoes {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* Botão WhatsApp */
.botao-whatsapp {
  width: 100%;
  background: linear-gradient(135deg, var(--verde-whatsapp), #1da851);
  color: var(--branco);
  padding: 1rem;
  text-align: center;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1rem;
  position: relative;
  overflow: hidden;
}

.botao-whatsapp::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s ease;
}

.botao-whatsapp:hover::before {
  left: 100%;
}

.botao-whatsapp:hover {
  background: linear-gradient(135deg, #1da851, #16a34a);
  transform: translateY(-2px);
  box-shadow: var(--sombra-media);
}

/* Footer moderno */
footer {
  background: linear-gradient(135deg, var(--marrom-escuro), var(--marrom-medio));
  color: var(--bege-medio);
  text-align: center;
  padding: 3rem 1rem;
  margin-top: 4rem;
  font-size: 0.9rem;
}

/* Modal ultra-moderno */
.modal {
  display: none;
  position: fixed;
  z-index: 3000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal-content {
  background: #f5f1eb;
  margin: 2% auto;
  padding: 0;
  border-radius: 24px;
  width: 95%;
  max-width: 900px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(212, 184, 150, 0.3);
  animation: slideIn 0.4s ease;
}

@keyframes slideIn {
  from { 
    opacity: 0;
    transform: translateY(-30px) scale(0.95);
  }
  to { 
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Layout em grid do modal */
.modal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 600px;
}

/* Seção da imagem */
.modal-image-section {
  background: var(--branco);
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border-radius: 24px 0 0 24px;
}

.modal-image-section img {
  width: 100%;
  max-width: 350px;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Slider de imagens do produto */
.produto-slider {
  position: relative;
  width: 100%;
  max-width: 350px;
  height: 300px;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.slider-container {
  display: flex;
  transition: transform 0.3s ease;
  height: 100%;
}

.slider-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  flex-shrink: 0;
  border-radius: 0;
  box-shadow: none;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider-btn:hover {
  background: rgba(0, 0, 0, 0.7);
  transform: translateY(-50%) scale(1.1);
}

.slider-prev {
  left: 10px;
}

.slider-next {
  right: 10px;
}

.slider-dots {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

.slider-dot.active {
  background: white;
  transform: scale(1.2);
}

.slider-dot:hover {
  background: rgba(255, 255, 255, 0.8);
}

/* Badge do modal */
.modal-badge {
  position: absolute;
  top: 2rem;
  left: 2rem;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

/* Seção de informações */
.modal-info-section {
  padding: 2rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

/* Header do produto */
.modal-product-header {
  margin-bottom: 1.5rem;
}

.modal-product-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--marrom-escuro);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.modal-rating {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.modal-stars {
  color: #fbbf24;
  font-size: 1.1rem;
}

.modal-reviews {
  color: var(--marrom-claro);
  font-size: 0.9rem;
}

.modal-stock {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #10b981;
  font-weight: 600;
  font-size: 0.9rem;
}

.modal-stock::before {
  content: '●';
  color: #10b981;
  font-size: 1.2rem;
}

/* Preços do modal - Melhor alinhamento */
.modal-pricing {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.modal-price-current {
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--marrom-escuro);
  line-height: 1;
}

.modal-price-original {
  font-size: 1.3rem;
  color: var(--cinza-medio);
  text-decoration: line-through;
  line-height: 1;
  margin-top: 0.2rem;
}

.modal-discount-badge {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: white;
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
  margin-left: auto;
}

/* Container dos botões de ação */
.modal-action-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: auto;
  padding-top: 1rem;
}

/* Botão Adicionar ao Carrinho */
.modal-add-to-cart {
  background: linear-gradient(135deg, var(--marrom-escuro), var(--marrom-medio));
  color: white;
  padding: 1.25rem 1.5rem;
  border: none;
  border-radius: 16px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: 0 8px 25px rgba(90, 58, 34, 0.3);
  position: relative;
  overflow: hidden;
}

.modal-add-to-cart::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s ease;
}

.modal-add-to-cart:hover::before {
  left: 100%;
}

.modal-add-to-cart:hover {
  background: linear-gradient(135deg, var(--marrom-medio), var(--marrom-claro));
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(90, 58, 34, 0.4);
}

/* Botão Comprar Agora */
.modal-buy-now {
  background: linear-gradient(135deg, #25d366, #1da851);
  color: white;
  padding: 1.25rem 1.5rem;
  border: none;
  border-radius: 16px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
  position: relative;
  overflow: hidden;
}

.modal-buy-now::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s ease;
}

.modal-buy-now:hover::before {
  left: 100%;
}

.modal-buy-now:hover {
  background: linear-gradient(135deg, #1da851, #16a34a);
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(37, 211, 102, 0.4);
}

.modal-button-icon {
  font-size: 1.1rem;
}

/* Seções organizadas */
.modal-section {
  background: rgba(255, 255, 255, 0.7);
  border-radius: 16px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(212, 184, 150, 0.2);
  backdrop-filter: blur(10px);
}

.modal-section-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--marrom-escuro);
  margin-bottom: 1rem;
}

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

.modal-section.description .modal-section-title::before {
  content: '📝';
}

.modal-section.features .modal-section-title::before {
  content: '✨';
}

.modal-section.delivery .modal-section-title::before {
  content: '🚚';
}

/* Descrição */
.modal-description {
  color: var(--cinza-escuro);
  line-height: 1.6;
  font-size: 0.95rem;
}

/* Características */
.modal-features-list {
  display: grid;
  gap: 0.75rem;
}

.modal-feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--cinza-escuro);
  font-size: 0.9rem;
}

.modal-feature-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  flex-shrink: 0;
}

.modal-feature-icon.security {
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  color: white;
}

.modal-feature-icon.design {
  background: linear-gradient(135deg, #ec4899, #be185d);
  color: white;
}

.modal-feature-icon.kids {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: white;
}

.modal-feature-icon.assembly {
  background: linear-gradient(135deg, #6b7280, #4b5563);
  color: white;
}

.modal-feature-icon.quality {
  background: linear-gradient(135deg, #8b5a3c, #5a3a22);
  color: white;
}

/* Cards de entrega */
.modal-delivery-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.modal-delivery-card {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(212, 184, 150, 0.3);
  border-radius: 12px;
  padding: 1.25rem;
  text-align: center;
  transition: all 0.3s ease;
}

.modal-delivery-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.modal-delivery-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
  display: block;
}

.modal-delivery-title {
  font-weight: 600;
  color: var(--marrom-escuro);
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.modal-delivery-subtitle {
  color: var(--marrom-claro);
  font-size: 0.85rem;
}

/* Botão fechar moderno */
.close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  color: var(--cinza-medio);
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  z-index: 10;
}

.close:hover {
  color: var(--marrom-escuro);
  background: rgba(255, 255, 255, 0.95);
  transform: rotate(90deg);
}

/* Responsividade do header */
@media(max-width: 768px) {
  .header-content {
    padding: 1rem 1.5rem;
    gap: 1rem;
  }
  
  .header-logo img {
    max-width: 60px;
  }
  
  .header-info h1 {
    font-size: 1.4rem;
  }
  
  .header-info p {
    font-size: 0.9rem;
  }
  
  .header-promo {
    padding: 0.6rem 1.5rem;
  }
  
  .promo-text {
    font-size: 0.9rem;
  }
}

@media(max-width: 480px) {
  .header-content {
    padding: 0.8rem 1rem;
    gap: 0.8rem;
  }
  
  .header-logo img {
    max-width: 50px;
  }
  
  .header-info h1 {
    font-size: 1.2rem;
  }
  
  .header-info p {
    font-size: 0.8rem;
  }
  
  .header-promo {
    padding: 0.5rem 1rem;
  }
  
  .promo-text {
    font-size: 0.8rem;
  }
  
  .promo-icon {
    font-size: 1rem;
  }
}

/* Responsividade do modal ultra-moderno */
@media(max-width: 768px) {
  .modal-content {
    width: 98%;
    margin: 1% auto;
    border-radius: 20px;
  }
  
  .modal-grid {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  
  .modal-image-section {
    border-radius: 20px 20px 0 0;
    padding: 1.5rem;
  }
  
  .produto-slider {
    max-width: 280px;
    height: 250px;
  }
  
  .slider-btn {
    width: 35px;
    height: 35px;
    font-size: 16px;
  }
  
  .slider-prev {
    left: 8px;
  }
  
  .slider-next {
    right: 8px;
  }
  
  .slider-dots {
    bottom: 10px;
  }
  
  .slider-dot {
    width: 8px;
    height: 8px;
  }
  
  .modal-image-section img {
    max-width: 280px;
  }
  
  .modal-info-section {
    padding: 1.5rem;
  }
  
  .modal-product-title {
    font-size: 1.5rem;
  }
  
  .modal-price-current {
    font-size: 1.8rem;
  }
  
  .modal-delivery-cards {
    grid-template-columns: 1fr;
  }
  
  .modal-section {
    padding: 1.25rem;
  }
  
  .modal-action-buttons {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  
  .modal-add-to-cart,
  .modal-buy-now {
    padding: 1rem 1.25rem;
    font-size: 0.95rem;
  }
}
  float: right;
  font-size: 32px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s ease;
}

.close:hover {
  color: var(--marrom-escuro);
}

/* Itens do carrinho modernos */
.carrinho-item {
  display: flex;
  align-items: center;
  padding: 1.5rem;
  border-bottom: 1px solid var(--bege-medio);
  transition: background 0.3s ease;
}

.carrinho-item:hover {
  background: var(--cinza-claro);
}

.carrinho-item img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 12px;
  margin-right: 1rem;
  box-shadow: var(--sombra-suave);
}

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

.carrinho-item-info h4 {
  margin-bottom: 0.5rem;
  color: var(--marrom-escuro);
  font-weight: 600;
}

.carrinho-item-preco {
  color: var(--marrom-medio);
  font-weight: 700;
  font-size: 1.1rem;
}

.remover-item {
  background: linear-gradient(135deg, var(--vermelho), #b91c1c);
  color: var(--branco);
  border: none;
  padding: 0.75rem;
  border-radius: 8px;
  cursor: pointer;
  margin-left: 1rem;
  transition: all 0.3s ease;
  font-weight: 600;
}

.remover-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--sombra-media);
}

/* Botão finalizar pedido moderno */
.finalizar-pedido {
  width: 100%;
  background: linear-gradient(135deg, var(--verde-whatsapp), #1da851);
  color: var(--branco);
  padding: 1.25rem;
  border: none;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 600;
  margin-top: 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.finalizar-pedido::before {
  content: '📱';
  margin-right: 0.5rem;
}

.finalizar-pedido:hover {
  background: linear-gradient(135deg, #1da851, #16a34a);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
}

/* Responsividade moderna */
@media(max-width: 768px) {
  header {
    padding: 2rem 1rem 1.5rem;
  }
  
  header h1 {
    font-size: 2rem;
  }
  
  .carrinho-btn {
    bottom: 1.5rem;
    right: 1.5rem;
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }
  
  .produtos {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
  }
}

@media(max-width: 500px) {
  header h1 {
    font-size: 1.8rem;
  }

  .produto img {
    height: 200px;
  }
  
  .modal-content {
    margin: 5% auto;
    padding: 1.5rem;
    border-radius: 15px;
  }
  
  .produtos {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

/* Animações de entrada */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.produto {
  animation: fadeInUp 0.6s ease forwards;
}

.produto:nth-child(1) { animation-delay: 0.1s; }
.produto:nth-child(2) { animation-delay: 0.2s; }
.produto:nth-child(3) { animation-delay: 0.3s; }
.produto:nth-child(4) { animation-delay: 0.4s; }
.produto:nth-child(5) { animation-delay: 0.5s; }
.produto:nth-child(6) { animation-delay: 0.6s; }

