/* ============================= */
/* VARIÁVEIS GLOBAIS DO DESIGN */
/* ============================= */

:root {
  --brown-dark: #3a1f0f;
  --brown: #6b3e1d;
  --orange: #f28c28;
  --gold: #d4a373;
  --cream: #fff7ec;
  --white: #ffffff;
  --black: #17100b;
  --gray: #6f6258;
  --shadow: 0 20px 60px rgba(58, 31, 15, 0.18);
}

/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Rolagem suave ao clicar no menu */
html {
  scroll-behavior: smooth;
}

/* Corpo do site */
body {
  font-family: "Poppins", sans-serif;
  background: var(--cream);
  color: var(--black);
}

/* Links sem sublinhado */
a {
  text-decoration: none;
  color: inherit;
}

/* Inputs e botões usam a mesma fonte */
button,
input {
  font-family: inherit;
}

/* Container central do site */
.container {
  width: min(1180px, 92%);
  margin: 0 auto;
}

/* ============================= */
/* HEADER */
/* ============================= */

.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 247, 236, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(107, 62, 29, 0.12);
}

.nav {
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  border-radius: 50%;
}

.brand strong {
  display: block;
  font-size: 18px;
  color: var(--brown-dark);
}

.brand span {
  display: block;
  font-size: 12px;
  color: var(--gray);
}

/* Menu desktop */
.menu {
  display: flex;
  align-items: center;
  gap: 24px;
}

.menu a {
  font-size: 14px;
  font-weight: 600;
  color: var(--brown-dark);
  position: relative;
}

.menu a::after {
  content: "";
  width: 0;
  height: 2px;
  background: var(--orange);
  position: absolute;
  left: 0;
  bottom: -6px;
  transition: 0.3s;
}

.menu a:hover::after {
  width: 100%;
}

/* Área dos ícones: cliente, carrinho e menu mobile */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.65);
  padding: 5px;
  border-radius: 16px;
  border: 1px solid rgba(107, 62, 29, 0.10);
}

/* Botões compactos e alinhados */
.user-btn,
.cart-btn,
.menu-btn {
  border: none;
  background: var(--brown-dark);
  color: var(--white);
  width: 40px;
  height: 40px;
  border-radius: 12px;
  cursor: pointer;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
}

.user-btn:hover,
.cart-btn:hover,
.menu-btn:hover {
  background: var(--orange);
  transform: translateY(-2px);
}

/* Bolinha de quantidade do carrinho */
.cart-btn span {
  position: absolute;
  top: -5px;
  right: -5px;
  background: var(--orange);
  color: var(--white);
  font-size: 10px;
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-weight: 800;
}

/* Botão do menu aparece só no mobile */
.menu-btn {
  display: none;
}

/* ============================= */
/* HERO */
/* ============================= */

.hero {
  padding: 80px 0;
  background:
    radial-gradient(circle at top left, rgba(242, 140, 40, 0.25), transparent 35%),
    linear-gradient(135deg, #fff7ec, #f8dfbf);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 50px;
}

.tag {
  display: inline-block;
  background: rgba(242, 140, 40, 0.14);
  color: var(--brown-dark);
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 22px;
}

.hero h1 {
  font-size: clamp(38px, 5vw, 68px);
  line-height: 1.05;
  color: var(--brown-dark);
  letter-spacing: -2px;
  margin-bottom: 24px;
}

.hero p {
  color: var(--gray);
  font-size: 18px;
  line-height: 1.8;
  max-width: 620px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.hero-buttons.center {
  justify-content: center;
}

/* Botões gerais */
.btn {
  border: none;
  cursor: pointer;
  padding: 15px 24px;
  border-radius: 16px;
  font-weight: 800;
  transition: 0.3s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.btn.primary {
  background: linear-gradient(135deg, var(--orange), #bd6418);
  color: var(--white);
  box-shadow: 0 14px 30px rgba(242, 140, 40, 0.35);
}

.btn.whatsapp {
  background: #1fae59;
  color: var(--white);
  box-shadow: 0 14px 30px rgba(31, 174, 89, 0.25);
}

.btn:hover {
  transform: translateY(-3px);
}

.btn.small {
  padding: 12px 18px;
  font-size: 13px;
}

.btn.full {
  width: 100%;
}

/* Números de prova */
.hero-stats {
  display: flex;
  gap: 28px;
  margin-top: 40px;
}

.hero-stats strong {
  display: block;
  font-size: 28px;
  color: var(--brown-dark);
}

.hero-stats span {
  color: var(--gray);
  font-size: 13px;
}

/* Card lateral do hero */
.hero-card {
  background: var(--white);
  border-radius: 32px;
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
  border: 1px solid rgba(107, 62, 29, 0.12);
}

.hero-card img {
  width: 100%;
  height: 390px;
  object-fit: cover;
}

.discount-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  background: var(--orange);
  color: var(--white);
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  z-index: 2;
}

.hero-card-info {
  padding: 26px;
}

.hero-card-info h3 {
  font-size: 24px;
  color: var(--brown-dark);
}

.hero-card-info p {
  margin: 10px 0 18px;
  color: var(--gray);
}

/* ============================= */
/* BENEFÍCIOS */
/* ============================= */

.benefits {
  margin-top: -30px;
  position: relative;
  z-index: 5;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.benefit {
  background: var(--white);
  padding: 26px;
  border-radius: 24px;
  box-shadow: var(--shadow);
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.benefit i {
  font-size: 28px;
  color: var(--orange);
}

.benefit h3 {
  color: var(--brown-dark);
  margin-bottom: 6px;
}

.benefit p {
  color: var(--gray);
  font-size: 14px;
}

/* ============================= */
/* CARROSSEL DE PROMOÇÕES */
/* ============================= */

.promo-section {
  padding: 80px 0 40px;
  background: var(--cream);
}

.promo-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}

.promo-header span {
  color: var(--orange);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 1px;
}

.promo-header h2 {
  color: var(--brown-dark);
  font-size: clamp(30px, 4vw, 44px);
  margin-top: 8px;
}

.promo-controls {
  display: flex;
  gap: 10px;
}

.promo-controls button {
  width: 46px;
  height: 46px;
  border: none;
  border-radius: 14px;
  background: var(--brown-dark);
  color: var(--white);
  cursor: pointer;
  transition: 0.3s;
}

.promo-controls button:hover {
  background: var(--orange);
  transform: translateY(-2px);
}

.promo-carousel {
  overflow: hidden;
  border-radius: 32px;
  box-shadow: var(--shadow);
}

.promo-track {
  display: flex;
  transition: transform 0.6s ease;
}

.promo-slide {
  min-width: 100%;
  min-height: 360px;
  padding: 46px;
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  align-items: center;
  gap: 30px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--brown-dark), var(--brown));
}

.promo-slide::before {
  content: "";
  position: absolute;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: rgba(242, 140, 40, 0.28);
  right: -120px;
  top: -120px;
}

.promo-content,
.promo-image {
  position: relative;
  z-index: 2;
}

.promo-badge {
  display: inline-block;
  background: var(--orange);
  color: var(--white);
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 18px;
}

.promo-content h3 {
  color: var(--white);
  font-size: clamp(30px, 5vw, 54px);
  line-height: 1.05;
  margin-bottom: 16px;
}

.promo-content p {
  color: rgba(255,255,255,0.78);
  line-height: 1.7;
  max-width: 560px;
  margin-bottom: 26px;
}

.promo-price {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 26px;
}

.promo-price strong {
  color: var(--gold);
  font-size: 34px;
}

.promo-price span {
  color: rgba(255,255,255,0.65);
  text-decoration: line-through;
}

.promo-image img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 28px;
  border: 4px solid rgba(255,255,255,0.16);
}

.promo-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
}

.promo-dot {
  width: 10px;
  height: 10px;
  border: none;
  border-radius: 50%;
  background: rgba(58, 31, 15, 0.25);
  cursor: pointer;
}

.promo-dot.active {
  width: 28px;
  border-radius: 999px;
  background: var(--orange);
}

/* ============================= */
/* SEÇÕES GERAIS */
/* ============================= */

.section {
  padding: 90px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 44px;
}

.section-title span {
  color: var(--orange);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 1px;
}

.section-title h2 {
  color: var(--brown-dark);
  font-size: clamp(30px, 4vw, 46px);
  margin-top: 10px;
}

/* ============================= */
/* CATEGORIAS */
/* ============================= */

.category-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}

.category-card {
  background: var(--white);
  padding: 28px 18px;
  text-align: center;
  border-radius: 24px;
  box-shadow: var(--shadow);
  transition: 0.3s;
  border: 1px solid rgba(107, 62, 29, 0.08);
}

.category-card:hover {
  transform: translateY(-8px);
}

.category-card i {
  font-size: 34px;
  color: var(--orange);
  margin-bottom: 16px;
}

.category-card h3 {
  color: var(--brown-dark);
  font-size: 15px;
}

/* ============================= */
/* BARRA DE BUSCA + FILTROS      */
/* ============================= */

.products-toolbar {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.search-field {
  flex: 1;
  min-width: 220px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border: 1.5px solid rgba(107,62,29,.14);
  border-radius: 16px;
  padding: 12px 18px;
  transition: .2s;
  box-shadow: 0 4px 16px rgba(58,31,15,.06);
}
.search-field:focus-within {
  border-color: var(--orange);
  box-shadow: 0 4px 20px rgba(242,140,40,.15);
}
.search-field i {
  color: var(--orange);
  font-size: 15px;
  flex-shrink: 0;
}
.search-field input {
  border: none;
  background: none;
  outline: none;
  font-size: 14px;
  color: var(--brown-dark);
  width: 100%;
}
.search-field input::placeholder { color: var(--gold); }

.filter-select {
  padding: 12px 36px 12px 16px;
  border-radius: 16px;
  border: 1.5px solid rgba(107,62,29,.14);
  background: var(--white);
  font-size: 13px;
  font-weight: 700;
  color: var(--brown-dark);
  cursor: pointer;
  outline: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23d4a373'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  box-shadow: 0 4px 16px rgba(58,31,15,.06);
  transition: .2s;
  white-space: nowrap;
}
.filter-select:focus { border-color: var(--orange); }

/* ============================= */
/* PRODUTOS                      */
/* ============================= */

.products-section {
  background: var(--cream);
  padding-bottom: 80px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* Card completo */
.product-card {
  background: var(--white);
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(107,62,29,.09);
  transition: .28s;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(58,31,15,.07);
}
.product-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 20px 48px rgba(58,31,15,.14);
}

/* Imagem */
.product-image-box {
  position: relative;
  aspect-ratio: 1;
  background: var(--cream);
  overflow: hidden;
}
.product-image-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 14px;
  transition: transform .35s;
}
.product-card:hover .product-image-box img {
  transform: scale(1.06);
}

/* Badge oferta */
.product-badge {
  position: absolute;
  top: 12px; left: 12px;
  background: linear-gradient(135deg, #1fae59, #15994e);
  color: var(--white);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  z-index: 2;
}

/* Corpo do card */
.product-info {
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.product-info > span:first-child {
  font-size: 11px;
  font-weight: 800;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: .5px;
}
.product-info h3 {
  font-size: 13px;
  font-weight: 700;
  color: var(--brown-dark);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}
.product-info p {
  font-size: 12px;
  color: var(--gray);
  display: none;
}

/* Preços */
.product-prices {
  display: flex;
  flex-direction: column;
  gap: 1px;
  margin-top: 6px;
}
.product-prices small {
  font-size: 11px;
  color: var(--gold);
  text-decoration: line-through;
  font-weight: 600;
}
.product-prices strong {
  font-size: 20px;
  font-weight: 800;
  color: var(--brown-dark);
  letter-spacing: -.5px;
}

.product-parcel {
  font-size: 11px;
  color: var(--gray);
  font-weight: 500;
}

/* Disponibilidade */
.product-stock {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 700;
  color: #1fae59;
  margin-top: 2px;
}

/* Ações */
.product-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  padding: 0 16px 14px;
}

.add-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: none;
  background: var(--orange);
  color: var(--white);
  padding: 11px 16px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: .2s;
}
.add-btn:hover {
  background: #bd6418;
  transform: translateY(-1px);
}

.whats-product-btn {
  width: 42px;
  height: 42px;
  border: none;
  background: #25d366;
  color: var(--white);
  border-radius: 12px;
  cursor: pointer;
  font-size: 18px;
  display: grid;
  place-items: center;
  transition: .2s;
  flex-shrink: 0;
}
.whats-product-btn:hover {
  background: #1ebe5a;
  transform: translateY(-1px);
}

/* Carregar mais */
.carregar-mais {
  display: block;
  margin: 36px auto 0;
  padding: 14px 42px;
  font-size: 15px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--orange), #bd6418);
  color: var(--white);
  border: none;
  border-radius: 16px;
  cursor: pointer;
  transition: .2s;
  box-shadow: 0 12px 30px rgba(242,140,40,.28);
}
.carregar-mais:hover { transform: translateY(-2px); filter: brightness(1.05); }

/* Empty + loading */
.loading-produtos {
  grid-column: 1/-1;
  text-align: center;
  padding: 60px 20px;
  color: var(--gray);
}
.loading-produtos i { font-size: 32px; color: var(--orange); margin-bottom: 12px; }

.empty-products {
  grid-column: 1/-1;
  text-align: center;
  padding: 60px 20px;
}
.empty-products h3 { color: var(--brown-dark); margin-bottom: 8px; }
.empty-products p  { color: var(--gray); font-size: 14px; }

/* ============================= */
/* FRETE */
/* ============================= */

.freight {
  padding: 80px 0;
  background: var(--brown-dark);
  color: var(--white);
}

.freight-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
}

.freight h2 {
  font-size: clamp(30px, 4vw, 48px);
  margin-bottom: 18px;
}

.freight p {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.8;
}

.freight-box {
  background: var(--white);
  padding: 32px;
  border-radius: 28px;
  color: var(--brown-dark);
}

.freight-box label {
  display: block;
  font-weight: 800;
  margin-bottom: 12px;
}

.input-row {
  display: flex;
  gap: 10px;
}

.input-row input {
  flex: 1;
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 14px;
  outline: none;
}

.input-row button {
  border: none;
  background: var(--orange);
  color: var(--white);
  padding: 0 22px;
  border-radius: 14px;
  font-weight: 800;
  cursor: pointer;
}

#freightResult {
  margin-top: 14px;
  color: var(--brown-dark);
  font-weight: 700;
}

/* ============================= */
/* LOCALIZAÇÃO */
/* ============================= */

.location-section {
  padding: 90px 0;
  background: var(--cream);
}

.location-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: center;
}

.location-content h2 {
  font-size: clamp(30px, 4vw, 48px);
  color: var(--brown-dark);
  margin-bottom: 18px;
}

.location-content p {
  color: var(--gray);
  line-height: 1.8;
}

.location-info {
  margin: 24px 0;
  display: grid;
  gap: 12px;
}

.location-info p {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: var(--brown-dark);
}

.location-info i {
  color: var(--orange);
}

.map-box {
  height: 420px;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 6px solid var(--white);
}

.map-box iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ============================= */
/* CTA FINAL */
/* ============================= */

.cta {
  padding: 90px 0;
  background:
    linear-gradient(rgba(58, 31, 15, 0.82), rgba(58, 31, 15, 0.82)),
    url("https://images.unsplash.com/photo-1581094794329-c8112a89af12?auto=format&fit=crop&w=1400&q=80");
  background-size: cover;
  background-position: center;
  color: var(--white);
  text-align: center;
}

.cta-box h2 {
  font-size: clamp(32px, 5vw, 56px);
}

.cta-box p {
  margin: 16px auto 0;
  max-width: 640px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.8;
}

/* ============================= */
/* CARRINHO LATERAL */
/* ============================= */

.cart-panel {
  position: fixed;
  top: 0;
  right: -420px;
  width: min(420px, 92%);
  height: 100vh;
  background: var(--white);
  z-index: 2000;
  box-shadow: -20px 0 60px rgba(0, 0, 0, 0.18);
  transition: 0.35s;
  display: flex;
  flex-direction: column;
}

.cart-panel.active {
  right: 0;
}

.cart-header {
  padding: 24px;
  border-bottom: 1px solid #eee;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-header h3 {
  color: var(--brown-dark);
}

.cart-header button {
  border: none;
  background: var(--brown-dark);
  color: var(--white);
  width: 38px;
  height: 38px;
  border-radius: 12px;
  cursor: pointer;
}

.cart-items {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
}

.cart-item {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid #eee;
}

.cart-item h4 {
  color: var(--brown-dark);
  font-size: 15px;
}

.cart-item span {
  font-size: 13px;
  color: var(--gray);
}

.remove-btn {
  border: none;
  background: transparent;
  color: #d13b2f;
  cursor: pointer;
  font-size: 16px;
}

.cart-footer {
  padding: 24px;
  border-top: 1px solid #eee;
  display: grid;
  gap: 12px;
}

.cart-total {
  display: flex;
  justify-content: space-between;
  font-size: 18px;
}

.cart-total strong {
  color: var(--brown-dark);
}

/* Fundo escuro atrás do carrinho */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 1500;
  display: none;
}

.overlay.active {
  display: block;
}

/* ============================= */
/* FOOTER */
/* ============================= */

.footer {
  background: var(--brown-dark);
  color: var(--white);
  margin-top: 60px;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding: 56px 0 40px;
}

.footer-brand img {
  height: 48px;
  margin-bottom: 14px;
}

.footer-brand p {
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
  max-width: 240px;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: grid;
  place-items: center;
  color: var(--white);
  font-size: 16px;
  transition: .2s;
  text-decoration: none;
}

.footer-social a:hover { background: var(--orange); }

.footer-col h4 {
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--orange);
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul li {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-col ul li a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: color .2s;
}

.footer-col ul li a:hover { color: var(--orange); }

.footer-col ul li i { color: var(--orange); font-size: 13px; }

.footer-payments {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.footer-payments span {
  background: rgba(255,255,255,0.08);
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-payments span i { color: var(--orange); }

.footer-delivery {
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 4px;
}

.footer-delivery i { color: var(--orange); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 18px 0;
  text-align: center;
}

.footer-bottom p {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
}

@media (max-width: 900px) {
  .footer-main { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 560px) {
  .footer-main { grid-template-columns: 1fr; gap: 28px; }
}

/* ============================= */
/* RESPONSIVO */
/* ============================= */

@media (max-width: 980px) {
  .menu {
    position: fixed;
    top: 82px;
    left: 0;
    width: 100%;
    background: var(--white);
    padding: 24px;
    flex-direction: column;
    display: none;
    box-shadow: var(--shadow);
  }

  .menu.active {
    display: flex;
  }

  .menu-btn {
    display: flex;
  }

  .hero-grid,
  .freight-grid,
  .location-grid {
    grid-template-columns: 1fr;
  }

  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
  .products-toolbar {
    gap: 10px;
  }

  .category-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .promo-slide {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .brand div {
    display: none;
  }

  .hero {
    padding: 50px 0;
  }

  .hero-stats {
    flex-direction: column;
    gap: 16px;
  }

  .benefits-grid,
  .category-grid {
    grid-template-columns: 1fr;
  }
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .products-toolbar {
    flex-direction: column;
  }
  .search-field { min-width: 0; width: 100%; }
  .filter-select { width: 100%; }

  .input-row {
    flex-direction: column;
  }

  .input-row button {
    padding: 15px;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .promo-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .promo-slide {
    padding: 28px;
    min-height: auto;
  }

  .promo-image img {
    height: 220px;
  }

  .map-box {
    height: 320px;
  }
}
.product-image-box {
  position: relative;
}

.product-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--orange);
  color: var(--white);
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  z-index: 2;
}

.product-prices {
  display: grid;
  gap: 2px;
  margin-bottom: 14px;
}

.product-prices small {
  color: #d13b2f;
  text-decoration: line-through;
  font-weight: 700;
}

.product-prices strong {
  color: var(--brown-dark);
  font-size: 22px;
}

.whats-product-btn {
  border: none;
  background: #1fae59;
  color: var(--white);
  padding: 12px 14px;
  border-radius: 14px;
  cursor: pointer;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.home-banner-prices {
  display: grid;
  gap: 4px;
  margin: 14px 0 18px;
}

#homeBannerOldPrice {
  color: #d13b2f;
  text-decoration: line-through;
  font-weight: 700;
}

#homeBannerPrice {
  color: var(--brown-dark);
  font-size: 24px;
}
/* ============================= */
/* API — ESTADOS DINÂMICOS       */
/* ============================= */

/* Loading de produtos */
.loading-produtos {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  color: var(--gray);
}
.loading-produtos i {
  font-size: 32px;
  color: var(--orange);
  margin-bottom: 12px;
}
.loading-produtos p {
  font-size: 15px;
}

/* Parcelamento */
.product-parcel {
  font-size: 12px;
  color: var(--orange);
  font-weight: 600;
  margin-top: -4px;
}

/* Botão carregar mais */
.carregar-mais {
  display: block;
  margin: 32px auto 0;
  padding: 14px 36px;
  font-size: 15px;
}
