/* Fontes movidas para <link rel="preconnect"> + <link rel="stylesheet"> no HTML.
   Motivo: @import dentro de CSS é serializado pelo browser (espera o CSS pai
   terminar de processar para começar o download), bloqueando o render. */

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

/* Tokens (--green-700, --sand-100, --text-900, etc.) vêm de
   assets/css/app.css, que é a fonte única de verdade.
   NÃO redefinir :root aqui — causaria divergência. */

html {
  font-family: "Manrope", "Segoe UI", Tahoma, sans-serif;
  scroll-behavior: smooth;
}

body {
  background:
    radial-gradient(circle at 8% 0%, rgba(20, 88, 67, 0.12) 0%, rgba(20, 88, 67, 0) 36%),
    radial-gradient(circle at 96% 4%, rgba(210, 166, 81, 0.14) 0%, rgba(210, 166, 81, 0) 26%),
    #f6f4ef;
  color: var(--text-900);
  line-height: 1.6;
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

header {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(10px);
  color: var(--white);
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(24, 36, 47, 0.1);
}

header .logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  background: var(--white);
  padding: 4px 6px;
  border-radius: 14px;
  border: 1px solid rgba(24, 36, 47, 0.12);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

header .logo:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(18, 29, 41, 0.08);
}

header .logo img {
  height: 48px;
  width: auto;
}

nav {
  position: relative;
  margin-left: auto;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 22px;
  align-items: center;
}

nav a {
  color: var(--text-900);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.96rem;
  letter-spacing: 0.01em;
  transition: color 0.2s ease, opacity 0.2s ease;
}

nav a:hover,
nav a[aria-current="page"] {
  color: var(--blue-900);
}

.hamburger {
  display: none;
  background: none;
  border: none;
  color: var(--text-900);
  font-size: 1.6rem;
  cursor: pointer;
}

.cart-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 16px;
  border: none;
  border-radius: 999px;
  background: var(--text-900);
  color: var(--white);
  font-weight: 600;
  cursor: pointer;
  position: fixed;
  left: 24px;
  bottom: 26px;
  z-index: 1203;
  box-shadow: 0 10px 24px rgba(18, 29, 41, 0.18);
}

.cart-count {
  min-width: 24px;
  height: 24px;
  padding: 0 6px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  color: var(--text-900);
  font-size: 0.8rem;
  font-weight: 700;
}

main {
  display: block;
}

.mobile-app-nav {
  display: none;
}

/* ── HERO (slideshow de fotos turísticas com Ken Burns) ── */
.hero-slideshow {
  position: relative;
  min-height: 82vh;
  overflow: hidden;
  background: var(--green-900);
  border-bottom-left-radius: 40px;
  border-bottom-right-radius: 40px;
}

.hero-slideshow .slideshow,
.hero-slideshow .slide {
  position: absolute;
  inset: 0;
}

.hero-slideshow .slide {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  opacity: 0;
  transition: opacity .7s ease;
  transform: scale(1.04);
  will-change: opacity, transform;
}

.hero-slideshow .slide.active {
  opacity: 1;
  animation: heroSlideZoom 4s ease-out forwards;
}

@keyframes heroSlideZoom {
  from { transform: scale(1.04); }
  to   { transform: scale(1.12); }
}

/* Gradient escuro à esquerda + sombra suave embaixo — garante legibilidade
   do texto branco sem esconder a foto */
.hero-slideshow::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg,
      rgba(7, 33, 25, 0.78) 0%,
      rgba(7, 33, 25, 0.55) 35%,
      rgba(7, 33, 25, 0.25) 62%,
      rgba(7, 33, 25, 0.15) 100%),
    linear-gradient(180deg,
      transparent 0%,
      transparent 60%,
      rgba(8, 20, 28, 0.55) 88%,
      rgba(8, 20, 28, 0.78) 100%);
  pointer-events: none;
}
@media (max-width: 768px) {
  .hero-slideshow::after {
    background:
      linear-gradient(180deg,
        rgba(7, 33, 25, 0.45) 0%,
        rgba(7, 33, 25, 0.60) 40%,
        rgba(7, 33, 25, 0.80) 75%,
        rgba(8, 20, 28, 0.92) 100%);
  }
}

/* Conteúdo ancorado no rodapé do hero, alinhado à esquerda.
   Sem caixa/blur — o texto fica direto sobre a imagem, e a legibilidade
   vem do gradient inferior do ::after + um text-shadow sutil. */
.hero-content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  max-width: min(720px, 92vw);
  padding: 0 clamp(24px, 6vw, 80px) clamp(40px, 6vw, 64px);
  margin-left: 0;
  color: var(--white);
  text-shadow: 0 2px 14px rgba(8, 20, 28, 0.45);
}

/* Eyebrow — pill discreto, alinhado com o ticker animado */
.eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.96);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
}

/* Título: menor, line-height mais aberta, letter-spacing apertado (editorial) */
.hero-content h1 {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 700;
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.012em;
  margin: 0 0 18px;
  max-width: 14ch;
  text-wrap: balance;
}

.hero-content p {
  font-size: clamp(0.98rem, 1.2vw, 1.08rem);
  line-height: 1.55;
  max-width: 46ch;
  margin: 0 0 28px;
  color: rgba(255, 255, 255, 0.86);
}

/* CTAs com mais respiro */
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.btn,
.send-btn,
.contact button,
.buy-btn,
.contact-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 14px;
  padding: 12px 22px;
  border: none;
  background: linear-gradient(135deg, #0f6a50, #0c533f);
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
  box-shadow: 0 12px 24px rgba(9, 56, 42, 0.24);
}

.btn:hover,
.send-btn:hover,
.contact button:hover,
.buy-btn:hover,
.contact-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.03);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.36);
  box-shadow: none;
}

.highlights,
.categories,
.products,
.about,
.contact {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
}

.highlights,
.categories,
.products,
.about,
.contact {
  padding: 56px 0;
}

.section-heading {
  max-width: min(980px, 92vw);
  margin-bottom: 26px;
}

.section-heading .eyebrow {
  background: rgba(31, 107, 82, 0.1);
  color: var(--green-700);
}

.section-heading h2,
.about h2,
.contact h2,
.products h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2rem, 3.2vw, 2.9rem);
  line-height: 1.18;
  color: #0c2f45;
  text-wrap: pretty;
}

.highlight-grid,
.stats-grid,
.categories .grid,
.product-grid,
footer .footer-content {
  display: grid;
  gap: 20px;
}

.highlight-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 24px;
}

.highlight-card,
.stat-card,
.category-card,
.product-card,
.about,
.contact form,
.locations,
.cta-band {
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid rgba(20, 41, 56, 0.09);
  box-shadow: var(--shadow-soft);
}

.highlight-card,
.stat-card,
.category-card,
.locations,
.cta-band {
  border-radius: var(--radius-lg);
}

.highlight-card {
  padding: 22px;
  transition: transform .2s ease, box-shadow .2s ease;
}

.highlight-icon {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: linear-gradient(145deg, #0d4b3a, #0d3a5a);
  color: #fff;
  font-size: 0.92rem;
  margin-bottom: 9px;
}

.highlight-card strong {
  display: block;
  margin-bottom: 8px;
  color: var(--green-900);
  font-size: 1.1rem;
}

.highlight-card p,
.category-desc,
.stat-label,
.product-meta,
.contact p,
.about p,
.locations p,
.locations li {
  color: var(--text-700);
}

.stats-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.stat-card {
  padding: 20px;
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 2.35rem;
  line-height: 1;
  color: var(--green-900);
  font-weight: 800;
  margin-bottom: 8px;
}

.highlight-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 34px rgba(16, 35, 47, 0.14);
}

.categories {
  background: transparent;
  border-radius: 0;
  padding: 56px 0;
}

.categories .grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.featured-products-home {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
  padding: 56px 0;
}

.section-heading-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

.section-heading-row > div {
  flex: 1 1 auto;
  min-width: 0;
}

.section-link,
.featured-link {
  color: var(--green-700);
  font-weight: 700;
  text-decoration: none;
}

.section-link {
  white-space: nowrap;
  margin-left: auto;
  align-self: flex-end;
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.featured-card {
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid rgba(20, 41, 56, 0.09);
  box-shadow: var(--shadow-soft);
}

.featured-media {
  height: 220px;
  background: linear-gradient(135deg, #d8e8e1, #d8e2ef);
}

.featured-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-body {
  padding: 18px;
  display: grid;
  gap: 10px;
}

.featured-body strong {
  color: var(--green-900);
  font-size: 1.08rem;
}

.featured-price {
  color: var(--blue-900);
  font-weight: 800;
}

.featured-rating {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .85rem;
  color: #6f551f;
}

.featured-stars {
  color: #f3ad20;
  letter-spacing: .05em;
}

.featured-region {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: .73rem;
  font-weight: 700;
  color: #0f5b45;
  background: #ebfff7;
  border: 1px solid #b9f0da;
}

.featured-body p {
  color: var(--text-700);
}

.featured-actions {
  display: grid;
  gap: 8px;
}

.featured-link {
  min-height: 42px;
  border: 1px solid rgba(2, 32, 58, 0.16);
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
}

.product-card-featured {
  border: 2px solid rgba(31, 107, 82, 0.34);
  box-shadow: 0 16px 36px rgba(19, 78, 58, 0.14);
}

.category-card {
  padding: 22px;
  text-align: left;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-card:hover,
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 30px rgba(16, 35, 47, 0.14);
}

.category-circle {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 14px;
  font-size: 1.2rem;
  color: var(--white);
  font-weight: 700;
  box-shadow: none;
}

.category-name,
.product-name {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: var(--green-900);
  font-weight: 700;
}

.cta-band {
  width: min(1200px, calc(100% - 32px));
  margin: 56px auto 0;
  padding: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background:
    linear-gradient(130deg, #082635 0%, #0d4b3a 56%, #0f6a50 100%);
  color: var(--white);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cta-band h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.16;
  margin-bottom: 8px;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.85);
}

.cta-band .eyebrow {
  background: rgba(255, 255, 255, 0.16);
  color: #ffd88e;
}

.product-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.product-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  box-shadow: 0 8px 24px rgba(16, 35, 47, 0.07);
  border: 1px solid var(--sand-200, #efe5d6) !important;
  background: var(--white) !important;
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 48px rgba(16, 35, 47, 0.12);
  border-color: var(--green-700) !important;
}

.product-image {
  height: 180px;
  background: linear-gradient(135deg, #d8e8e1, #d8e2ef);
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-info {
  padding: 12px;
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 8px;
}

.product-meta {
  font-size: 0.88rem;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-price {
  font-size: 1rem;
  color: var(--blue-900);
  font-weight: 800;
}

.contact-btn,
.buy-btn {
  width: 100%;
  background: var(--green-700);
  box-shadow: 0 8px 18px rgba(19, 78, 58, 0.16);
}

.product-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-top: 0;
}

.store-filters {
  padding: 20px 22px;
  margin-bottom: 22px;
  position: static;
  z-index: auto;
  background: var(--sand-100, #f6f1e8) !important;
  border-radius: 20px !important;
  border: 1px solid var(--sand-200, #efe5d6) !important;
  box-shadow: none !important;
}

.store-filters-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}

.store-filters-grid select,
.store-filters-grid input {
  padding: 11px 14px;
  border: 1px solid var(--sand-200, #efe5d6);
  border-radius: 12px;
  background: var(--white);
  font-size: 0.92rem;
  font-family: inherit;
  color: var(--text-900);
  transition: border-color .15s, box-shadow .15s;
}

.store-filters-grid select:focus,
.store-filters-grid input:focus {
  outline: none;
  border-color: var(--green-700);
  box-shadow: 0 0 0 3px rgba(15, 91, 69, .12);
}

.store-region-shortcuts {
  padding: 12px;
  margin-bottom: 20px;
  position: static;
  z-index: auto;
}

.store-region-shortcuts-head {
  margin-bottom: 8px;
  color: var(--text-900);
}

.store-region-shortcuts-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.store-region-chip {
  border: 1px solid rgba(31, 107, 82, 0.25);
  background: #f7fffb;
  color: #0f5b45;
  border-radius: 999px;
  min-height: 36px;
  padding: 0 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.store-region-chip span {
  font-size: 0.72rem;
  font-weight: 600;
  color: #36745f;
}

.details-btn {
  width: 100%;
  border: 1px solid rgba(2, 32, 58, 0.18);
  border-radius: 10px;
  min-height: 36px;
  padding: 0 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--primary-color);
  background: #fff;
  transition: all 0.2s ease;
}

.details-btn:hover {
  border-color: var(--green-700);
  color: var(--green-700);
  transform: translateY(-1px);
}

.region-section {
  display: grid;
  gap: 14px;
  margin-bottom: 30px;
  position: static;
  z-index: auto;
}

.region-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  position: static;
}

.region-header h3 {
  margin: 6px 0 0;
  color: var(--text-900);
  font-size: clamp(1.3rem, 2.2vw, 1.8rem);
}

.region-cities {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.region-city-pill {
  font-size: 0.78rem;
  font-weight: 700;
  background: rgba(31, 107, 82, 0.1);
  color: var(--green-700);
  border: 1px solid rgba(31, 107, 82, 0.24);
  border-radius: 999px;
  padding: 5px 10px;
}

.region-product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin: 0;
}

.product-tag {
  font-size: 0.72rem;
  font-weight: 700;
  color: #0a3a62;
  background: #edf5ff;
  border: 1px solid #d5e6ff;
  border-radius: 999px;
  padding: 4px 8px;
}

.product-cities,
.product-stock,
.product-rating-text {
  font-size: 0.78rem;
}

.product-cities {
  margin: 0;
  color: var(--text-700);
}

.product-price-rating-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.product-rating-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 0;
  margin-left: auto;
  white-space: nowrap;
}

.product-stars {
  font-size: 0.8rem;
  letter-spacing: 0.03em;
  color: #f6a800;
}

.product-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 6px;
}

.product-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 8px;
}

.product-badge-hot {
  color: #7a3a00;
  background: #fff3d7;
  border: 1px solid #ffd485;
}

.product-badge-region {
  color: #0b4f33;
  background: #e7fff4;
  border: 1px solid #b7f0d6;
}

.cart-primary-btn {
  width: 100%;
  background: #0b4f33;
  color: #fff;
  border: 0;
  border-radius: 14px;
  min-height: 44px;
  font-weight: 700;
}

.product-empty-state {
  background: #fff;
  border: 1px solid rgba(20, 41, 56, 0.09);
  border-radius: 14px;
  padding: 16px;
  color: var(--text-700);
}

.product-detail-layout {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(280px, 1fr);
  gap: 18px;
}

.product-detail-shell {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(300px, 1fr);
  gap: 20px;
  align-items: start;
}

.product-detail-media {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(20, 41, 56, 0.09);
  box-shadow: var(--shadow-soft);
}

.product-detail-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.product-detail-content {
  display: grid;
  gap: 10px;
}

.product-qty-row {
  display: grid;
  gap: 6px;
  max-width: 140px;
}

.product-qty-row input {
  width: 100%;
}

.product-reviews {
  margin-top: 14px;
  padding: 14px;
}

.product-rating-widget .star-wrapper {
  display: inline-flex;
  gap: 4px;
}

.product-rating-widget .star {
  border: 0;
  background: transparent;
  color: #f3ad20;
  font-size: 1.1rem;
  cursor: pointer;
}

.product-rating-widget .rating-info {
  margin-top: 4px;
  color: var(--text-700);
  font-size: .88rem;
}

@media (max-width: 900px) {
  .product-detail-layout {
    grid-template-columns: 1fr;
  }
  .product-detail-shell {
    grid-template-columns: 1fr;
  }
}

.add-cart-btn {
  width: 100%;
  min-height: 36px;
  padding: 0 8px;
  border-radius: 10px;
  border: 1px solid rgba(24, 36, 47, 0.1);
  background: #fff;
  color: var(--text-900);
  font-weight: 700;
  font-size: 0.84rem;
  cursor: pointer;
}

main.products {
  padding-bottom: 110px;
}

.about,
.contact {
  max-width: 860px;
}

.about,
.contact form,
.locations {
  border-radius: var(--radius-lg);
  padding: 24px;
}

.about ul,
.locations ul {
  padding-left: 20px;
  margin-top: 18px;
}

.about li,
.locations li {
  margin-bottom: 10px;
}

.contact form {
  display: grid;
  gap: 14px;
  margin: 24px 0 32px;
}

.contact input,
.contact textarea,
.popup-body input,
.popup-body select,
.popup-body textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(11, 79, 51, 0.18);
  font-size: 1rem;
  background: #fff;
}

.contact textarea,
.popup-body textarea {
  resize: vertical;
  min-height: 120px;
}

.locations h3 {
  color: var(--green-900);
  margin-bottom: 10px;
}

footer {
  background: linear-gradient(155deg, #0b1f2d 0%, #0b1822 100%);
  color: var(--white);
  padding: 34px 20px 22px;
  margin-top: 56px;
}

footer .footer-content {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 1200px;
  margin: 0 auto;
  row-gap: 12px;
}

footer h4 {
  margin-bottom: 10px;
  color: #ffd45a;
}

footer ul {
  list-style: none;
  line-height: 1.9;
}

footer a {
  text-decoration: none;
}

footer a:hover {
  color: #ffd45a;
}

.footer-copy {
  text-align: center;
  margin-top: 24px;
  color: rgba(255,255,255,.72);
}

.regions-home {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
  padding: 14px 0 50px;
}

.regions-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.region-home-card {
  border-radius: 16px;
  border: 1px solid rgba(20, 41, 56, 0.09);
  background: #fff;
  box-shadow: var(--shadow-soft);
  padding: 16px 14px;
  text-decoration: none;
  display: grid;
  gap: 3px;
}

.region-home-card strong {
  color: #0c2f45;
}

.region-home-card span {
  color: var(--text-700);
  font-size: .85rem;
}

.region-home-card p {
  font-size: .88rem;
  color: var(--text-700);
}

.popup-body #letterContainer,
.quantity-field {
  margin-bottom: 14px;
}

.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(24, 36, 47, 0.34);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
  z-index: 1190;
}

.cart-overlay.show {
  opacity: 1;
  pointer-events: auto;
}

.cart-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: min(390px, 100%);
  height: 100dvh;
  background: linear-gradient(180deg, #123528 0%, #0d281f 100%);
  box-shadow: 14px 0 34px rgba(18, 29, 41, 0.14);
  z-index: 1191;
  transform: translateX(-100%);
  transition: transform 0.22s ease;
  display: flex;
  flex-direction: column;
}

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

.cart-header,
.cart-footer {
  padding: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.cart-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  color: var(--white);
}

.cart-footer {
  border-bottom: none;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
}

.cart-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  background: transparent;
}

.cart-form {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
}

.cart-section {
  border-radius: 18px;
  padding: 14px;
  margin-bottom: 14px;
}

.cart-section-products {
  background: #ffffff;
  border: 1px solid rgba(24, 36, 47, 0.08);
}

.cart-section-customer {
  background: #f3f8f5;
  border: 1px solid rgba(31, 107, 82, 0.14);
}

.cart-section-heading {
  display: grid;
  gap: 2px;
  margin-bottom: 12px;
}

.cart-section-heading strong {
  color: var(--text-900);
}

.cart-form label {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-900);
}

.cart-form input,
.cart-form select,
.cart-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(24, 36, 47, 0.12);
  border-radius: 12px;
  background: #fff;
  color: var(--text-900);
  font: inherit;
}

.cart-form textarea {
  min-height: 88px;
  resize: vertical;
}

.cart-empty {
  padding: 18px;
  border-radius: 16px;
  background: #f7f8f9;
  color: var(--text-700);
}

.cart-items {
  display: grid;
  gap: 12px;
}

.cart-item {
  border: 1px solid rgba(24, 36, 47, 0.08);
  border-radius: 16px;
  padding: 14px;
  display: grid;
  gap: 10px;
}

.cart-item-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.cart-item-name {
  font-weight: 700;
  color: var(--text-900);
}

.cart-item-price {
  color: var(--green-700);
  font-weight: 700;
}

.cart-item-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.cart-note-field {
  display: grid;
  gap: 6px;
}

.cart-note-field label {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-900);
}

.cart-note-field textarea {
  width: 100%;
  min-height: 76px;
  padding: 10px 12px;
  border: 1px solid rgba(24, 36, 47, 0.12);
  border-radius: 12px;
  background: #fff;
  color: var(--text-900);
  font: inherit;
  resize: vertical;
}

.cart-qty {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.cart-qty button,
.remove-item-btn,
.cart-whatsapp-btn {
  cursor: pointer;
}

.cart-qty button {
  width: 32px;
  height: 32px;
  border: 1px solid rgba(24, 36, 47, 0.12);
  border-radius: 10px;
  background: #fff;
  color: var(--text-900);
}

.remove-item-btn {
  border: none;
  background: transparent;
  color: #b04242;
  font-weight: 600;
}

.cart-summary {
  display: grid;
  gap: 4px;
  margin-bottom: 12px;
}

.cart-summary span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
}

.cart-whatsapp-btn {
  width: 100%;
  min-height: 48px;
  border: none;
  border-radius: 12px;
  background: var(--green-700);
  color: var(--white);
  font-weight: 700;
}

.cart-secondary-btn {
  width: 100%;
  min-height: 46px;
  margin-bottom: 10px;
  border: 1px solid rgba(24, 36, 47, 0.12);
  border-radius: 12px;
  background: #fff;
  color: var(--text-900);
  font-weight: 700;
  cursor: pointer;
}

.cart-whatsapp-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(24, 36, 47, 0.38);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
  z-index: 1200;
}

.popup-overlay.show {
  opacity: 1;
  pointer-events: auto;
}

.whatsapp-button {
  position: fixed;
  right: 20px;
  bottom: 26px;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, #22c55e, #0f7a53);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 14px 30px rgba(12, 88, 60, 0.35);
  z-index: 1203;
  animation: pulse 2.1s infinite;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.whatsapp-button:hover {
  transform: translateY(-2px) scale(1.02);
  filter: brightness(1.05);
}

.whatsapp-button img {
  width: 32px;
  height: 32px;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.55);
  }
  70% {
    transform: scale(1.05);
    box-shadow: 0 0 0 18px rgba(37, 211, 102, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

.popup {
  position: fixed;
  right: 20px;
  bottom: 92px;
  width: min(420px, calc(100% - 24px));
  max-width: calc(100% - 24px);
  background: var(--white);
  border-radius: 22px;
  border: 1px solid rgba(24, 36, 47, 0.08);
  box-shadow: 0 18px 48px rgba(18, 29, 41, 0.16);
  overflow: hidden;
  z-index: 1202;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
  max-height: min(82vh, 720px);
  display: flex;
  flex-direction: column;
}

.popup.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.popup-header {
  position: sticky;
  top: 0;
  background: linear-gradient(135deg, #0f2f45 0%, #0f6a50 100%);
  color: #fff;
  padding: 12px 16px 14px;
  border-bottom: 1px solid rgba(24, 36, 47, 0.08);
  z-index: 2;
}

.popup-header h3 {
  font-size: 1.05rem;
  line-height: 1.2;
  color: #fff;
}

.popup-header p {
  margin-top: 8px;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.86);
}

.popup-handle {
  width: 44px;
  height: 5px;
  border-radius: 999px;
  background: rgba(24, 36, 47, 0.16);
  margin: 0 auto 12px;
}

.popup-header-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.popup-kicker {
  display: inline-block;
  margin-bottom: 4px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #b6ffde;
}

.close-btn {
  flex-shrink: 0;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(24, 36, 47, 0.12);
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.24);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
}

.popup-body {
  padding: 18px;
  overflow-y: auto;
  background: linear-gradient(180deg, #ffffff 0%, #f9fcfb 100%);
}

.popup-body label {
  display: block;
  margin-bottom: 6px;
  font-weight: 700;
  color: var(--text-900);
}

.field-hint {
  margin: -2px 0 8px;
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--text-700);
}

.wa-premium-form {
  display: grid;
  gap: 10px;
}

.wa-send-btn {
  margin-top: 6px;
  min-height: 52px;
  background: linear-gradient(135deg, #0e8f66, #0a5e44);
  font-size: 1rem;
  letter-spacing: 0.01em;
}

.quantity-field input {
  text-align: left;
}

.badge-message {
  position: fixed;
  right: 96px;
  bottom: 28px;
  background: linear-gradient(135deg, #ffffff, #f1fff8);
  color: #0f4a37;
  padding: 10px 14px;
  border-radius: 16px;
  box-shadow: 0 12px 28px rgba(16, 35, 47, 0.16);
  font-size: 0.92rem;
  z-index: 1201;
  animation: none;
  max-width: 260px;
  display: none;
}

.badge-message::after {
  content: "";
  position: absolute;
  right: -7px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 12px;
  height: 12px;
  background: #f5fff9;
}

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

@media (max-width: 900px) {
  .highlight-grid,
  .stats-grid,
  .featured-grid,
  footer .footer-content {
    grid-template-columns: 1fr;
  }

  .cta-band {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .regions-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  header {
    padding: 10px 14px;
    flex-wrap: wrap;
  }

  nav ul {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 210px;
    padding: 8px 0;
    background: rgba(255, 255, 255, 0.99);
    border: 1px solid rgba(24, 36, 47, 0.08);
    border-radius: 14px;
    box-shadow: 0 14px 32px rgba(18, 29, 41, 0.12);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    display: none;
  }

  nav ul.show {
    display: flex;
  }

  nav ul a {
    display: block;
    padding: 12px 14px;
  }

  .hamburger {
    display: block;
  }

  .cart-toggle {
    left: 12px;
    bottom: 18px;
    min-height: 48px;
    padding: 0 14px;
  }

  nav {
    order: 3;
    width: auto;
    margin-left: 0;
  }

  .hero-slideshow {
    min-height: 78vh;
    border-bottom-left-radius: 28px;
    border-bottom-right-radius: 28px;
  }

  .hero-slideshow .slide {
    background-position: center center;
  }

  .hero-content {
    padding: 0 18px 36px;
    max-width: 100%;
  }

  .hero-content h1 {
    max-width: 18ch;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .categories {
    padding: 48px 0;
  }

  .category-card,
  .highlight-card,
  .stat-card,
  .product-card {
    border-radius: 16px;
  }

  .featured-grid {
    gap: 14px;
  }
}

/* ════════════════════════════════════════════════════════════════════════
 * HERO MOBILE (≤640px) — compacto, foco no texto, sem tomar tela inteira
 * Pattern: hero "snack-size" como AirBnB/Booking mobile.
 * ════════════════════════════════════════════════════════════════════════ */
@media (max-width: 640px) {
  .hero-slideshow {
    min-height: 0;
    height: 58vh;
    max-height: 520px;
    border-bottom-left-radius: 22px;
    border-bottom-right-radius: 22px;
  }
  /* Gradient escuro mais forte embaixo pra texto legível em hero menor */
  .hero-slideshow::after {
    background:
      linear-gradient(180deg,
        rgba(7, 33, 25, 0.30) 0%,
        rgba(7, 33, 25, 0.55) 45%,
        rgba(7, 33, 25, 0.85) 78%,
        rgba(8, 20, 28, 0.94) 100%);
  }
  .hero-content {
    padding: 0 18px 22px;
    max-width: 100%;
  }
  .eyebrow {
    margin-bottom: 8px;
    padding: 5px 11px;
    font-size: 0.66rem;
    letter-spacing: 0.08em;
  }
  .hero-ticker {
    font-size: 0.62rem;
    letter-spacing: 0.10em;
    margin-bottom: 10px;
    max-width: 100%;
  }
  .hero-content h1 {
    font-size: clamp(1.6rem, 7.5vw, 2.05rem);
    line-height: 1.1;
    margin: 0 0 10px;
    max-width: 16ch;
  }
  .hero-content p {
    font-size: 0.92rem;
    line-height: 1.45;
    margin: 0 0 14px;
    max-width: 38ch;
    color: rgba(255, 255, 255, 0.90);
  }
  /* Trust chips: compactos, scroll horizontal se passar da largura */
  .hero-trust {
    margin: 12px 0 0;
    gap: 6px;
    font-size: 0.72rem;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 2px;
  }
  .hero-trust::-webkit-scrollbar { display: none; }
  .hero-trust > span:not(.hero-trust-dot) {
    padding: 4px 10px;
    flex-shrink: 0;
    font-size: 0.72rem;
  }
  .hero-trust > span:not(.hero-trust-dot)::before {
    font-size: 0.7rem;
  }
}

@media (max-width: 480px) {
  body {
    padding-bottom: 104px;
  }

  .highlights,
  .categories,
  .featured-products-home,
  .products,
  .about,
  .contact,
  .cta-band {
    width: min(100% - 20px, 1200px);
  }

  .hero-content h1 {
    max-width: 12ch;
  }

  .about,
  .contact form,
  .locations,
  .cta-band {
    padding: 18px;
  }

  .highlights,
  .products,
  .about,
  .contact {
    padding: 34px 0;
  }

  .section-heading {
    margin-bottom: 20px;
  }

  .product-image {
    height: 122px;
  }

  .popup {
    right: 10px;
    left: 10px;
    top: 74px;
    bottom: 10px;
    width: auto;
    max-width: none;
    max-height: calc(100dvh - 84px);
    border-radius: 20px 20px 16px 16px;
  }

  .cart-drawer {
    width: 100%;
    bottom: 84px;
    height: calc(100dvh - 84px);
    border-radius: 20px 20px 0 0;
  }

  .cart-toggle {
    display: none;
  }

  .whatsapp-button {
    right: 12px;
    bottom: 102px;
  }

  /* Badge "Atendimento rápido pelo WhatsApp" escondida em mobile.
     O botão verde já é universalmente reconhecível; o tooltip ocupava
     espaço útil e cobria parcialmente conteúdo. */
  .badge-message {
    display: none;
  }

  /* Em páginas onde a bottom nav não faz sentido (sem CTAs de navegação
     primária — checkout, profile, login), esconde a barra. Mantém-na
     na home, loja, tourist-spots, catalogos etc. via classe no <body>. */
  body.no-bottom-nav .mobile-app-nav {
    display: none;
  }
  body.no-bottom-nav {
    padding-bottom: 0 !important;
  }
  body.no-bottom-nav .whatsapp-button {
    bottom: 18px;
  }

  .store-region-shortcuts-grid {
    display: grid;
    grid-template-columns: 1fr;
  }

  .product-actions {
    grid-template-columns: 1fr 1fr;
  }

  .product-info {
    padding: 10px;
    gap: 7px;
  }

  .product-price-rating-row {
    flex-wrap: wrap;
    row-gap: 4px;
  }

  .product-rating-row {
    margin-left: 0;
  }

  .regions-grid {
    grid-template-columns: 1fr;
  }

  .cta-actions {
    width: 100%;
    display: grid;
  }

  .cta-actions .btn {
    width: 100%;
  }

  .mobile-app-nav {
    position: fixed;
    left: 10px;
    right: 10px;
    bottom: 10px;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 6px;
    padding: 8px;
    border-radius: 20px;
    background: rgba(13, 40, 31, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 16px 40px rgba(6, 18, 14, 0.32);
    z-index: 1204;
  }

  .mobile-app-link {
    min-height: 58px;
    border: none;
    border-radius: 16px;
    background: transparent;
    color: rgba(255, 255, 255, 0.86);
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    font-size: 0.72rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
  }

  .mobile-app-link[aria-current="page"] {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
  }

  .mobile-app-icon {
    font-size: 1.1rem;
    line-height: 1;
  }
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(18px) scale(0.99);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

@media (prefers-reduced-motion: reduce) {
  .reveal-on-scroll {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ── Hero trust strip — chips/pills modernos ── */
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 22px 0 26px;
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
  letter-spacing: 0.01em;
}
.hero-trust > span:not(.hero-trust-dot) {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(6px);
}
.hero-trust > span:not(.hero-trust-dot)::before {
  content: "✓";
  font-size: 0.78rem;
  color: #6ee7b7;
  font-weight: 800;
}
/* Os pontos separadores ficam invisíveis agora — chips substituem a separação visual. */
.hero-trust-dot {
  display: none;
}

/* ── WhatsApp CTA button (hero) ── */
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 30px;
  border-radius: 14px;
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
  text-decoration: none;
}
.btn-whatsapp::before {
  content: "💬";
  font-size: 1.1rem;
}
.btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(37, 211, 102, 0.48);
  filter: brightness(1.04);
}
.btn-whatsapp:active {
  transform: scale(0.97);
}

/* ── WhatsApp CTA button (CTA band, large) ── */
.btn-whatsapp-large {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #25D366;
  color: #fff;
  font-weight: 700;
  font-size: 1.08rem;
  padding: 16px 36px;
  border-radius: 14px;
  border: none;
  box-shadow: 0 10px 32px rgba(37, 211, 102, 0.40);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}
.btn-whatsapp-large::before {
  content: "💬";
  font-size: 1.15rem;
}
.btn-whatsapp-large:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 44px rgba(37, 211, 102, 0.52);
}
.btn-whatsapp-large:active {
  transform: scale(0.97);
}

/* ── Hide retail price on homepage featured cards ── */
.featured-grid .featured-price {
  display: none;
}

/* ── Region home card: hover improvement ── */
.region-home-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.region-home-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(16, 35, 47, 0.14);
  border-color: rgba(15, 91, 69, 0.28);
}
.region-home-card:hover strong {
  color: var(--green-700);
}

/* ── Mobile WhatsApp nav link ── */
.mobile-app-whatsapp {
  color: #1a7a46;
}

/* ── Stat card: bigger numbers ── */
.stat-number {
  font-size: 2.8rem;
}

/* ── CTA band: bigger, bolder conversion section ── */
.cta-band {
  padding: 44px 36px;
}
.cta-band h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  margin-bottom: 12px;
}
.cta-band p {
  font-size: 1.06rem;
  max-width: 44ch;
}

@media (max-width: 768px) {
  .hero-trust {
    font-size: 0.76rem;
    gap: 6px;
  }
  .btn-whatsapp,
  .btn-whatsapp-large {
    width: 100%;
    justify-content: center;
    font-size: 0.96rem;
    padding: 14px 24px;
  }
  .cta-band {
    flex-direction: column;
    gap: 24px;
    padding: 32px 20px;
    text-align: center;
  }
  .cta-band p {
    max-width: 100%;
  }
}

/* ── Acessibilidade: respeitar prefers-reduced-motion ───────────────────────
   Aplica globalmente para usuários com sensibilidade vestibular ou que
   configuraram o SO para reduzir movimento. Desabilita animações e transições
   sem quebrar a renderização (mantém 0.01ms para que callbacks de transitionend
   continuem disparando).
*/
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ── Cart Drawer global (rendered by navbar.js) — itens ───────────────────
   Estrutura nova usada pelo drawer global. Convive com .cart-item-top /
   .cart-item-controls da loja antiga (não conflita). */
.cart-item-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cart-item-info .cart-item-name {
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
}

.cart-item-info .cart-item-price {
  color: var(--gold-400, #d2a651);
  font-weight: 700;
  font-size: 0.92rem;
}

/* O .cart-item dentro do drawer global fica em fundo verde escuro → ajusta */
.cart-drawer .cart-item {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.cart-drawer .cart-empty {
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.75);
  text-align: center;
  border-radius: 14px;
}

.cart-item-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cart-qty-btn {
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: background .15s ease;
}

.cart-qty-btn:hover {
  background: rgba(255, 255, 255, 0.14);
}

.cart-drawer .cart-qty {
  min-width: 22px;
  text-align: center;
  color: var(--white);
  font-weight: 700;
}

.cart-remove {
  margin-left: auto;
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 10px;
  background: transparent;
  color: rgba(255, 165, 165, 0.9);
  font-size: 1.2rem;
  cursor: pointer;
  transition: background .15s, color .15s;
}

.cart-remove:hover {
  background: rgba(220, 50, 50, 0.18);
  color: #ff8585;
}

/* Estado "carrinho aberto": trava scroll do body atrás do drawer */
body.cart-open {
  overflow: hidden;
}

/* Tablet/desktop: drawer com largura confortável e summary lado-a-lado */
.cart-drawer .cart-summary {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.cart-drawer .cart-summary strong {
  color: var(--white);
  font-size: 0.95rem;
}
.cart-drawer .cart-summary span#cartSubtotalText {
  color: var(--gold-400, #d2a651);
  font-size: 1.2rem;
  font-weight: 800;
}

/* Botão "Ver carrinho completo" do drawer (link) */
.cart-drawer #goToCheckout {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  width: 100%;
  min-height: 48px;
  border: none;
  border-radius: 12px;
  background: var(--green-700);
  color: var(--white);
  font-weight: 700;
  margin-bottom: 8px;
  transition: background .15s, transform .15s;
}
.cart-drawer #goToCheckout:hover {
  background: var(--green-900);
  transform: translateY(-1px);
}

/* O botão #navCartTrigger é um <button> agora (era <a>) — alinha estilos
   com o resto da navbar pra não parecer descolado. */
.nav-cart {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 6px 10px;
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-cart .nav-cart-icon {
  font-size: 1.2rem;
}

/* ── Cards de produto (loja/home) ─────────────────────────────────── */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  padding: 0 0 30px;
}

.product-card {
  background: #fff;
  border: 1px solid #eef2f0;
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .15s ease, box-shadow .15s ease;
}
.product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 22px rgba(0,0,0,.08);
}

.product-card-media {
  display: block;
  aspect-ratio: 1;
  background: linear-gradient(135deg, #f6f1e8, #e8e1d2);
  overflow: hidden;
  position: relative;
}
.product-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Fallback bonito quando produto não tem imagem */
.product-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 3.2rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-shadow: 0 2px 8px rgba(0,0,0,.15);
  background-image:
    radial-gradient(circle at 25% 35%, rgba(255,255,255,0.15), transparent 50%),
    radial-gradient(circle at 75% 65%, rgba(0,0,0,0.10), transparent 50%);
}

.product-card-body {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
.product-category {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #6b7280;
}
.product-card-body h3 {
  font-size: 0.98rem;
  font-weight: 800;
  margin: 0;
  color: #10232f;
  line-height: 1.3;
}
.product-desc {
  font-size: 0.85rem;
  color: #5d6c78;
  margin: 0;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-price-rating-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 4px;
}
.product-price-rating-row strong {
  color: #0f5b45;
  font-weight: 800;
  font-size: 1.05rem;
}
.product-price-rating-row span {
  color: #f5b800;
  font-size: 0.85rem;
  font-weight: 700;
}

.add-cart-btn {
  background: #0f5b45;
  color: #fff;
  border: 0;
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  font-family: inherit;
  margin-top: auto;
  transition: background .15s, transform .1s;
}
.add-cart-btn:hover {
  background: #0d4a39;
  transform: translateY(-1px);
}

/* ── WhatsApp floating button (deve ser discreto) ─────────────────── */
.whatsapp-button {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background: #25d366;
  border-radius: 50%;
  box-shadow: 0 8px 20px rgba(37,211,102,.4);
  border: 0;
  cursor: pointer;
  z-index: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .2s, box-shadow .2s;
}
.whatsapp-button:hover {
  transform: scale(1.08);
  box-shadow: 0 10px 26px rgba(37,211,102,.5);
}
.whatsapp-button img {
  width: 30px;
  height: 30px;
  display: block;
}
@media (max-width: 768px) {
  .whatsapp-button {
    bottom: 80px;
    width: 50px;
    height: 50px;
  }
  .whatsapp-button img { width: 26px; height: 26px; }
}

/* ═════ Loja Virtual ═════ */
.loja-page {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 22px 100px;
}
.loja-hero {
  text-align: center;
  padding: 36px 0 26px;
  border-bottom: 1px solid #eef2f0;
  margin-bottom: 22px;
}
.loja-eyebrow {
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #0f5b45;
}
.loja-hero h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.4rem;
  font-weight: 700;
  margin: 6px 0 10px;
  color: #10232f;
  letter-spacing: -0.01em;
  line-height: 1.1;
}
.loja-hero p {
  color: #5d6c78;
  max-width: 640px;
  margin: 0 auto;
  font-size: 1rem;
  line-height: 1.55;
}
#loja-count-badge {
  font-weight: 800;
  color: #0f5b45;
}

.loja-filters {
  background: #fff;
  border: 1px solid #eef2f0;
  border-radius: 16px;
  padding: 18px 20px;
  margin-bottom: 18px;
  box-shadow: 0 4px 14px rgba(2,32,58,0.04);
}
.loja-filters-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 14px;
}
.loja-filter-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.loja-filter-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #6b7280;
}
.loja-filters select,
.loja-filters input {
  padding: 9px 12px;
  border: 1px solid #e5ded2;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.92rem;
  background: #fff;
  color: #10232f;
  transition: border-color .15s;
}
.loja-filters select:focus,
.loja-filters input:focus {
  outline: none;
  border-color: #0f5b45;
  box-shadow: 0 0 0 3px rgba(15,91,69,0.10);
}

.loja-results-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 4px 16px;
  font-size: 0.88rem;
  color: #6b7280;
}
.loja-clear-btn {
  background: transparent;
  border: 0;
  color: #b94545;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.86rem;
  padding: 6px 12px;
  border-radius: 8px;
  transition: background .12s;
}
.loja-clear-btn:hover { background: #fff5f5; }

.loja-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  color: #6b7280;
}
.loja-empty-icon {
  font-size: 3rem;
  display: block;
  margin-bottom: 14px;
  opacity: 0.6;
}
.loja-empty h3 {
  font-size: 1.2rem;
  color: #10232f;
  margin: 0 0 6px;
}

@media (max-width: 600px) {
  .loja-page { padding: 0 14px 100px; }

  /* Hero mais compacto no mobile — mostra filtros e produtos mais cedo */
  .loja-hero { padding: 18px 0 14px; margin-bottom: 14px; }
  .loja-hero h1 { font-size: 1.6rem; margin: 4px 0 7px; }
  .loja-hero p { font-size: 0.88rem; }

  /* Filtros: layout 2 colunas, grupos com visual de card */
  .loja-filters-row { grid-template-columns: 1fr 1fr; gap: 8px; }
  .loja-filters {
    padding: 12px;
    border-radius: 16px;
    background: #faf8f4;
    border-color: #e8e0d4;
  }
  .loja-filter-group {
    background: #fff;
    border: 1px solid #eef2f0;
    border-radius: 12px;
    padding: 9px 11px;
    gap: 2px;
    box-shadow: 0 1px 4px rgba(8, 20, 28, 0.04);
  }
  .loja-filter-label {
    font-size: 0.63rem;
    color: #0f5b45;
    letter-spacing: 0.10em;
  }
  /* Select sem borda + seta customizada (verde) */
  .loja-filters select {
    border: 0;
    padding: 3px 22px 3px 0;
    background: transparent;
    font-size: 0.93rem;
    font-weight: 700;
    color: #10232f;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%230f5b45' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 2px center;
    box-shadow: none;
  }
  .loja-filters select:focus { box-shadow: none; }
  /* Inputs de preço sem seta */
  .loja-filters input {
    border: 0;
    padding: 3px 0;
    background: transparent;
    font-size: 0.93rem;
    font-weight: 700;
    color: #10232f;
    box-shadow: none;
  }
  .loja-filters input:focus { box-shadow: none; }
}

/* ── Loja bottom CTA cards (cross-link com catálogos + roteiros) ────── */
.loja-bottom-cta {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin: 36px 22px 0;
}
@media (min-width: 720px) {
  .loja-bottom-cta { grid-template-columns: 1fr 1fr; gap: 18px; }
}
.loja-cta-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  border: 1px solid #eef2f0;
  border-radius: 16px;
  padding: 18px 20px;
  box-shadow: 0 2px 10px rgba(8, 20, 28, 0.04);
  transition: transform .15s, box-shadow .15s, border-color .15s;
}
.loja-cta-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(8, 20, 28, 0.08);
  border-color: rgba(15, 91, 69, 0.20);
}
.loja-cta-cat {
  background: linear-gradient(135deg, rgba(15, 91, 69, 0.06), rgba(31, 79, 134, 0.04));
  border-color: rgba(15, 91, 69, 0.15);
}
.loja-cta-rot {
  background: linear-gradient(135deg, rgba(245, 184, 0, 0.07), rgba(210, 166, 81, 0.04));
  border-color: rgba(245, 184, 0, 0.20);
}
.loja-cta-icon {
  font-size: 1.8rem;
  width: 56px; height: 56px;
  background: #fff;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(8, 20, 28, 0.06);
}
.loja-cta-card > div:not(.loja-cta-icon) { flex: 1; min-width: 0; }
.loja-cta-card strong {
  display: block;
  font-size: 1rem; font-weight: 800; color: #10232f; line-height: 1.3;
}
.loja-cta-card p {
  font-size: 0.82rem; color: #5d6c78; margin: 2px 0 0; line-height: 1.4;
}
.loja-cta-btn {
  background: linear-gradient(135deg, #0f5b45, #0a3d2e);
  color: #fff;
  border-radius: 999px;
  padding: 9px 16px;
  font-size: 0.82rem; font-weight: 800;
  text-decoration: none; flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(15, 91, 69, 0.22);
  white-space: nowrap; min-height: 38px;
  display: inline-flex; align-items: center;
}
.loja-cta-rot .loja-cta-btn {
  background: linear-gradient(135deg, #d2a651, #a8842f);
  box-shadow: 0 4px 12px rgba(210, 166, 81, 0.30);
}
@media (max-width: 600px) {
  .loja-bottom-cta { margin: 28px 16px 0; }
  .loja-cta-card { padding: 14px 16px; gap: 12px; flex-wrap: wrap; }
  .loja-cta-icon { width: 44px; height: 44px; font-size: 1.4rem; }
  .loja-cta-btn { font-size: 0.78rem; padding: 8px 14px; flex-basis: 100%; justify-content: center; }
}
