* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #ff6b35;
  --secondary-color: #2c3e50;
  --accent-color: #3498db;
  --text-color: #2c3e50;
  --linght-gray: #f8f9fa;
  --border-color: #e9ecef;
  --success-color: #2ecc71;
  --error-color: #e74c3c;
  /* Cores principais - tons de dourado, preto e rosa */
    --primary: #d4af37;           /* Dourado principal */
    --primary-dark: #b8960f;      /* Dourado escuro */
    --secondary: #ff6b9d;         /* Rosa vibrante */
    --accent: #1a1a1a;            /* Preto elegante */

    /* Cores de fundo */
    --bg: #fefefe;                /* Fundo principal (quase branco) */
    --bg-alt: #fff5e6;            /* Fundo alternativo (creme dourado) */

    /* Cores de texto */
    --text: #1a1a1a;              /* Texto principal (preto) */
    --text-light: #6b6b6b;        /* Texto secundário (cinza) */
    --white: #ffffff;             /* Branco puro */

    /* Efeitos */
    --shadow: 0 4px 20px rgba(212, 175, 55, 0.15);
    --shadow-hover: 0 8px 30px rgba(212, 175, 55, 0.25);

    /* Bordas e transições */
    --radius: 16px;               /* Bordas arredondadas */
    --radius-sm: 10px;            /* Bordas menores */
    --transition: all 0.3s ease;  /* Transição suave */
}

/* Rolagem suave ao clicar em links de âncora */
html {
    scroll-behavior: smooth;
}

/* Configurações base do body */
body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

/* Container centralizado com largura máxima */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- ESTILOS DA LOJA (HEADER, PRODUTOS, ETC) --- */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #e61919;
  color: #fff;
  padding: 15px 30px;
}

.logo  {
    width: 120px;
    height: auto;
    margin-right: 10px;
    object-fit: cover;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 50px;
}

/* Imagens responsivas */
img {
    max-width: 100%;
    height: auto;
}

/* Remove decoração de links */
a {
    text-decoration: none;
    color: inherit;
    
}

/* Remove marcadores de lista */
ul {
    list-style: none;
    
}

/* Título principal (Hero) */
h1 {
    font-size: clamp(2rem, 5vw, 3.5rem); /* Tamanho responsivo */
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 1rem;
}

/* Títulos de seção */
h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

/* Subtítulos */
h3 {
    font-size: clamp(1.25rem, 3vw, 1.5rem);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* Títulos menores */
h4 {
    font-size: 1.125rem;
    font-weight: 600;
}

/* Parágrafos */
p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

nav a {
  color: #d4c4c4;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.25rem;
}

.search-container {
  width: 100%;
  max-width: 500px;
  margin: 0;
  display: flex;
  align-items: center;
  background-color: var(--linght-gray);
  border-radius: 1.5rem;
  padding: 0.5rem 1rem;
  order: 3;
  flex-basis: 100%;
}

.search-container input {
  width: 100%;
  border: none;
  background: none;
  outline: none;
  padding: 0.5rem;
  font-size: 1rem;
}

.search-container i {
  color: var(--primary-color);
  cursor: pointer;
}




/*=========WhatsApp-CSS ==========*/

.whatsapp-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 0 0 rgba(37, 211, 102, 0.7);
  z-index: 1000;
  animation: pulse 1.5s infinite;
  transition: transform 0.3s;

  img{
    border-radius: 50%;
    width: 70px;
  }
}

.whatsapp-btn:hover {
  transform: scale(1.1);
  animation: none;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

.products {
  width: 100%;
  max-width: 1200px;
  padding: 1rem;
  margin: 0 auto;
}

.products-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
}

.product-card {
  background-color: #fff;
  border-radius: 1rem;
  overflow: hidden;
  cursor: pointer;
  transition: 0.3s;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  width: 300px;
}

.product-card:hover {
  transform: translateY(-0.5rem);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.product-img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.product-info {
  padding: 1rem;
}

.product-name {
  font-size: 1.1rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
  color: var(--text-color);
}

.product-description {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: #6c757d;
}

.product-price {
  font-size: 1.4rem;
  color: #e61919;
  margin-bottom: 1rem;
  font-weight: bold;
}

.product-button {
  width: 100%;
  background: #e61919;
  color: #fff;
  border: none;
  padding: 0.7rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 0.3rem;
  cursor: pointer;
  transition: 0.3s;
}

.product-button:hover {
  background-color: #e74c3c;
}

/* --- ESTILOS DO CARRINHO --- */
.cart-icon {
  position: relative;
  cursor: pointer;
  padding: 0.5rem;
  order: 2;
}

.cart-icon i {
  font-size: 1.8rem;
  color: var(--primary-color);
}

.cart-badge {
  position: absolute;
  top: 0;
  right: 0;
  background-color: var(--primary-color);
  color: #fff;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 0.8rem;
  font-weight: bold;
  transform: translate(25%, -25%);
}

.cart-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}

.cart-overlay.show {
  opacity: 1;
  visibility: visible;
}

.cart-sidebar {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 420px;
  height: 100%;
  background-color: #fff;
  box-shadow: -4px 0 15px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.cart-sidebar.show {
  transform: translateX(0);
}

.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border-color);
}

.cart-header h3 {
  font-size: 1.5rem;
  color: var(--secondary-color);
}

.close-cart-btn {
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: var(--text-color);
}

.cart-body {
  padding: 1.5rem;
  overflow-y: auto;
  flex-shrink: 1;
}

.cart-footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--border-color);
  background-color: var(--linght-gray);
  overflow-y: auto;
  flex-grow: 1;
}

.finish-order-btn-container {
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--border-color);
  background-color: #fff;
  box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.05);
}

.cart-body::-webkit-scrollbar,
.cart-footer::-webkit-scrollbar {
  width: 6px;
}

.cart-body::-webkit-scrollbar-track,
.cart-footer::-webkit-scrollbar-track {
  background: var(--linght-gray);
}

.cart-body::-webkit-scrollbar-thumb,
.cart-footer::-webkit-scrollbar-thumb {
  background-color: #ccc;
  border-radius: 10px;
  border: 2px solid var(--linght-gray);
}

.cart-empty {
  text-align: center;
  padding-top: 4rem;
  color: #999;
}

.cart-empty i {
  font-size: 4rem;
  margin-bottom: 1rem;
  color: var(--border-color);
}

.cart-empty p {
  font-size: 1.2rem;
  font-weight: 600;
}

.cart-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.cart-item-img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 0.5rem;
  border: 1px solid var(--border-color);
}

.cart-item-info {
  flex-grow: 1;
}

.cart-item-name {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.cart-item-price {
  font-size: 0.9rem;
  color: var(--primary-color);
  font-weight: bold;
}

.cart-item-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.quantity-btn {
  background-color: var(--linght-gray);
  border: 1px solid var(--border-color);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.2s;
}

.quantity-btn:hover {
  background-color: #ddd;
}

.remove-item-btn {
  background: none;
  border: none;
  color: #f44336;
  font-size: 1.8rem;
  cursor: pointer;
  margin-left: auto;
  transition: color 0.2s;
}

.remove-item-btn:hover {
  color: #c23126;
}

.product-image-fly {
  position: fixed;
  z-index: 1001;
  border-radius: 50%;
  transition: all 0.7s cubic-bezier(0.55, 0.055, 0.675, 0.19);
  object-fit: cover;
}

.options-toggle {
  display: flex;
  border: 1px solid var(--border-color);
  border-radius: 1.5rem;
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.delivery-btn {
  flex: 1;
  padding: 0.75rem;
  border: none;
  background-color: #fff;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-color);
  transition: background-color 0.3s;
}

.delivery-btn.active {
  background-color: var(--secondary-color);
  color: #fff;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border-color);
  border-radius: 0.5rem;
  font-size: 1rem;
  font-family: inherit;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
  outline: none;
}

.form-group input.error,
.form-group textarea.error,
.form-group select.error {
  border-color: var(--error-color) !important;
  box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.2) !important;
}

.form-group input:read-only {
  background-color: #eee;
  cursor: not-allowed;
  opacity: 0.8;
}

.payment-options-container {
  border-top: 1px solid var(--border-color);
  margin-top: 1.5rem;
  padding-top: 1.5rem;
}

.payment-options-container h4 {
  font-size: 1rem;
  margin-top: 0;
  margin-bottom: 1rem;
}

.payment-option {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  border: 1px solid var(--border-color);
  border-radius: 0.5rem;
  margin-bottom: 0.5rem;
  cursor: pointer;
  transition:
    border-color 0.2s,
    background-color 0.2s;
}

.payment-option:hover {
  background-color: #fff;
}

.payment-option input[type="radio"] {
  width: auto;
}

.payment-option.selected {
  border-color: var(--primary-color);
  background-color: #fff5f0;
}

#troco-container {
  display: none;
  margin-top: 1rem;
  padding: 1rem;
  background-color: #fff;
  border-radius: 0.5rem;
  border: 1px solid var(--border-color);
}

.delivery-fee-notice {
  font-size: 0.8rem;
  text-align: center;
  color: #777;
  background-color: #fff;
  padding: 0.5rem;
  border-radius: 0.5rem;
  margin: 1.5rem 0;
}

.date-time-row {
  display: flex;
  gap: 1rem;
}

.cart-summary {
  margin: 1.5rem 0;
  border-top: 1px solid var(--border-color);
  padding-top: 1.5rem;
}

.summary-line {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.summary-line.total {
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--primary-color);
  margin-top: 1rem;
}

.coupon-container {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

#coupon-input {
  flex-grow: 1;
  border: 1px solid var(--border-color);
  border-radius: 0.5rem;
  padding: 0.75rem;
  font-size: 1rem;
}

#apply-coupon-btn {
  border: none;
  background-color: var(--secondary-color);
  color: #fff;
  padding: 0 1.5rem;
  border-radius: 0.5rem;
  cursor: pointer;
  font-weight: 600;
  transition: background-color 0.2s;
}

#apply-coupon-btn:hover {
  background-color: #3e5771;
}

.coupon-feedback {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1rem;
  height: 1em;
}

.coupon-feedback.success {
  color: var(--success-color);
}

.coupon-feedback.error {
  color: var(--error-color);
}

.summary-line.discount-line {
  color: var(--success-color);
  font-weight: 600;
}

.finish-order-btn {
  width: 100%;
  padding: 1rem;
  font-size: 1.2rem;
  font-weight: bold;
  color: #fff;
  background: #e61919;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: background-color 0.3s;
}

.finish-order-btn:hover:not(:disabled) {
  background-color: #27ae60;
}

.finish-order-btn:disabled {
  background-color: #ccc;
  cursor: not-allowed;
}

.finish-order-btn .fa-whatsapp {
  margin-right: 0.5rem;
}

/* --- BARRA INFERIOR "VER CARRINHO" (RESTAURADA) --- */
.view-cart-banner {
  position: fixed;
  bottom: -100px;
  /* Começa escondida */
  left: 0;
  width: 100%;
  background-color: var(--secondary-color);
  color: #fff;
  z-index: 980;
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
  transition: bottom 0.4s ease-in-out;
}

.view-cart-banner.show {
  bottom: 0;
}

.view-cart-banner p {
  margin: 0;
  font-weight: 600;
}

.view-cart-banner-btn {
  background-color: var(--primary-color);
  color: #fff;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 1.5rem;
  font-weight: bold;
  cursor: pointer;
}

/* --- MEDIA QUERIES PARA RESPONSIVIDADE --- */
@media (min-width: 768px) {
  .search-container {
    order: 2;
    flex-basis: auto;
    width: auto;
  }

  .cart-icon {
    order: 3;
  }

  .categories-bar {
    justify-content: center;
  }

  .category-btn {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
  }

  .products {
    padding: 2rem;
  }

  .products-container {
    gap: 2rem;
  }

  .product-img {
    height: 250px;
  }

  .product-info {
    padding: 1.5rem;
  }

  .product-name {
    font-size: 1.2rem;
  }

  .hero-section {
    padding: 3rem 2rem;
  }

  .hero-section h2 {
    font-size: 2.5rem;
  }
}

/* ========== 13. SEÇÃO FAQ ========== */
.faq {
  background: var(--white);
}

/* Lista de perguntas */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

/* Item individual do FAQ */
.faq-item {
  margin-bottom: 15px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

/* Botão da pergunta */
.faq-question {
  width: 100%;
  background: rgba(211, 211, 211, 1);
  border: none;
  padding: 20px 25px;
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}

.faq-question:hover {
  background: var(--bg-alt);
}

/* Ícone de expandir/colapsar */
.faq-icon {
  font-size: 1.5rem;
  font-weight: 300;
  transition: var(--transition);
  color: var(--primary);
}

/* Rotação do ícone quando ativo */
.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

/* Container da resposta (escondido por padrão) */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.3s ease,
    padding 0.3s ease;
  background: var(--white);
}

/* Resposta expandida */
.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 20px 25px;
}

.faq-answer p {
  margin: 0;
}

/* ========== 14. SEÇÃO CONTATO ========== */
.contato {
  background: rgba(211, 211, 211, 1);
  height: 500px;

}

/* Grid do contato */
.section-header h2 {
  text-align: center;
 
}

.section-header p {
  color: var(--text);
}

.contato-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

/* Lista de informações */
.contato-info {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

/* Item de informação */
.info-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.info-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.info-item h4 {
  color: var(--text);
  margin-bottom: 10px;
}

.info-item p {
  margin: 0;
  color: var(--text);
}

/* Container do mapa */
.contato-mapa {
  display: flex;
  align-items: center;
  justify-content: center;
}

.contato-mapa iframe {
  position: relative;
  width: 100%;
  height: 400px;
  border: none;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-top: -40px;
}

/* ========== ÁREA DO AGENTE DE IA ========== */
/* Área reservada para integração futura */
.ai-agent-area {
    min-height: 0;
    padding: 0;
}


footer {
  background: #e61919;
  color: #000;
  text-align: center;
  padding: 20px;
  font-weight: 500;
}

footer p{
  color: #000;
  font-weight: 500;
}


/* estilos responsivos */
@media (max-width: 600px) {
  nav ul {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
  }
  header {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .search-container {
    max-width: 100%;
    padding: 0.3rem 0.7rem;
  }
}

@media (max-width: 768px) {
  .contato-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 480px) {
  .faq-question {
    padding: 15px;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  footer {
    padding: 10px;
    font-size: 0.9rem;
  }
}

@media (max-width: 768px) {
  .contato-mapa {
    display: none;
  }
}

