/* [P1 consistência] Uma dupla de fontes: Poppins (título) + Montserrat (corpo).
   Inter foi removida (estava importada e praticamente sem uso — dívida morta). */
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&family=Poppins:wght@400;500;600;700;800&display=swap");
:root {
  --primary-color: #2b6f00;   /* verde confiança */
  --primary-dark: #1f5e00;    /* verde escurecido: hover/pressed */
  /* [P1 consistência] Antes --accent-color == --primary-color, então o hover
     dos botões não mudava de cor (só movia 2px). Agora escurece de verdade. */
  --accent-color: #1f5e00;
  --secondary-color: #d1ff03; /* lima sinalização */
  --price-color: #095605;     /* verde preço */
  --text-color: #333;
  --background-color: #dadada;
  --whats-color: #25d366;     /* verde WhatsApp */
}

/* Dropdown simples e elegante */

.tamanhos-calca {
}

.dropdown {
  position: relative;
  display: inline-block;
  width: 95px;
  max-width: 220px;
  margin-top: 5px;
}

.dropdown-btn {
  width: 100%;
  padding: 12px;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 8px;
  cursor: pointer;
  text-align: left;
  font-size: 12px;
  transition: border-color 0.3s;
  font-family: Poppins, sans-serif;
}

.dropdown-btn:hover {
  border-color: #000;
}

.dropdown-content {
  display: none;
  position: absolute;
  width: 100%;
  background: white;
  border: 1px solid #ccc;
  border-radius: 8px;
  margin-top: 4px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  z-index: 9999;

  /* Limite e rolagem */
  max-height: 140px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch; /* 🟢 rolagem suave no iOS */
  touch-action: pan-y; /* 🟢 ajuda no Android */
}

.dropdown-content div {
  padding: 10px;
  cursor: pointer;
  transition: 0.2s;
}

.dropdown-content div:hover {
  background: #eee;
}

.dropdown-content.show {
  display: block;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Montserrat", sans-serif;
  background-color: var(--background-color);
  color: var(--text-color);
}

.logo-img {
  width: 130px;
}

/* Navbar Styles */
.navbar {
  background-color: var(--secondary-color);
  padding: 1rem 2rem;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
}

.logo {
  /* [P2] Navbar mais enxuta: 100px comia o viewport e forçava margin-top
     grande em toda página. 56px libera a dobra sem perder a marca. */
  height: 56px;
  display: inline-flex;
  align-items: center;
}

.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #25d366;
  color: white;
  border-radius: 50%;
  text-align: center;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
  z-index: 999;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}
.whatsapp-float:hover {
  transform: scale(1.1);
}
.whatsapp-float img {
  width: 35px;
  height: 35px;
}

.gallery img {
  border-radius: 10px;
  margin-top: 50px;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: #2b6f00;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  font-size: 1.1rem;
}

.nav-links a:hover {
  color: var(--accent-color);
}

/* Mobile: hamburger menu */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: white;
  border-radius: 3px;
}

/* Mobile menu (hidden by default) */
.nav-mobile {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 80%;
  max-width: 320px;
  background: var(--secondary-color);
  padding: 3rem 1.5rem;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.4);
  z-index: 1500;
  transform: translateX(100%);
  transition: transform 0.35s ease;
}

.nav-mobile.open {
  transform: translateX(0);
}

.nav-mobile a {
  display: block;
  color: #2b6f00;
  text-decoration: none;
  font-size: 1.2rem;
  padding: 0.75rem 0;
  font-weight: 800;
}

.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1400;
}

/* Mobile adjustments */
@media (max-width: 900px) {
  .produtos {
    grid-template-columns: repeat(2, 2fr);
    padding: 20px;
    gap: 20px;
  }
  .nav-links {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  .logo {
    font-size: 1.6rem;
    height: auto;
  }
  .logo-img {
    height: 48px !important;
    width: auto !important;
  }
  .navbar {
    padding: 0.4rem 1rem;
  }
  .banner-container {
    margin-top: 64px;
  }
  .banner-content h2 {
    font-size: 1.6rem;
  }
  .banner-content p {
    font-size: 1rem;
  }
  .vendas {
    margin-top: 14px;
    font-size: 1.3rem;
  }
  .vendas + .vendas {
    margin-top: 0;
  }
  .produtos {
    padding: 16px 12px;
    gap: 14px;
    grid-template-columns: repeat(3, 1fr);
  }
  .produto {
    padding: 12px;
    border-radius: 12px;
  }
  .produto img {
    max-width: 100%;
    margin-bottom: 10px;
  }
  .produto h3 {
    margin: 8px 0;
    font-size: 0.95rem;
  }
  .produto button {
    padding: 10px;
    font-size: 0.9rem;
    margin-top: 10px;
  }
  .carrinho-icon {
    padding: 10px 16px;
  }
  .nav-mobile {
    display: block;
  }
  .nav-overlay.open {
    display: block;
  }
}

/* Telas muito pequenas - uma coluna */
@media (max-width: 480px) {
  .produtos {
    grid-template-columns: fr;
  }
}

/* Banner Styles */
.banner-container {
  margin-top: 75px;
  position: relative;
  /* Proporção fixa (igual à das artes de banner, 1536×1024) em vez de altura
     fixa em px — assim a altura acompanha a largura em qualquer tela, sem
     cortar nem espremer a imagem, e sem precisar de regra extra pra mobile. */
  aspect-ratio: 1536 / 1024;
  height: auto;
  overflow: hidden;
}

.banner {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  color: white;
  text-align: center;
  /* Slides invisíveis ficam empilhados por cima; sem isso o clique ia sempre
     pro link do último slide, independente do banner que estava aparecendo. */
  pointer-events: none;
}

.banner.active {
  opacity: 1;
  pointer-events: auto;
  z-index: 1;
}

.banner-content {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0);
  padding: 0rem;
  border-radius: 10px;
}
.banner-content a {
  position: absolute;
  inset: 0;
  display: block;
}

.banner-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.banner-content p {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

.banner-btn {
  background-color: var(--accent-color);
  color: white;
  padding: 12px 30px;
  border: none;
  border-radius: 50px;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.banner-btn:hover {
  background-color: var(--primary-color);
  transform: translateY(-2px);
}

/* Carrinho Icon */
.carrinho-icon {
  background-color: var(--accent-color);
  color: white;
  padding: 12px 25px;
  border-radius: 50px;
  cursor: pointer;
  font-weight: 600;
  transition: transform 0.3s ease, background-color 0.3s;
  box-shadow: 0 4px 15px rgba(43, 111, 0, 0.2);
}

.carrinho-icon:hover {
  transform: translateY(-2px);
  background-color: var(--primary-color);
}

/* [P1 home] Header de seção com hierarquia real: título Poppins forte +
   subtítulo que dá sentido à seção. Substitui o texto verde solto que pulsava. */
.vendas {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 4px;
  margin: 52px auto 22px;
  padding: 0 16px;
}
.vendas h2 {
  font-family: "Poppins", sans-serif;
  font-weight: 800;
  font-size: clamp(1.45rem, 4.2vw, 2.1rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--primary-color);
  text-wrap: balance;
}
.vendas .vendas-sub {
  font-family: "Montserrat", sans-serif;
  font-size: 0.98rem;
  font-weight: 500;
  color: #4a6a2e;
  max-width: 54ch;
  line-height: 1.5;
}

/* [P1 home] "Ver todas" ao fim das grades longas: dá saída/escaneabilidade
   e leva ao catálogo completo (produtos.html / produtosbermuda.html). */
.ver-todas-wrap {
  display: flex;
  justify-content: center;
  margin: 6px auto 8px;
  padding: 0 16px;
}
.ver-todas {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  padding: 13px 28px;
  border-radius: 50px;
  transition: background 0.2s ease, color 0.2s ease;
}
.ver-todas:hover {
  background: var(--primary-color);
  color: #fff;
}
.ver-todas svg {
  width: 18px;
  height: 18px;
}

/* [P1 home] Cura o "paredão": na home mostra 8 produtos por seção (6 no
   mobile); o resto vai pro catálogo completo via "Ver todas". Os cards
   seguem no DOM (pixels/SEO) — só ficam ocultos na vitrine da home. */
.produtos-home .produto:nth-child(n + 9) {
  display: none;
}
@media (max-width: 900px) {
  .produtos-home .produto:nth-child(n + 7) {
    display: none;
  }
}

/* Define a animação e o loop infinito */
.pulsar {
  animation: pulse 1s infinite alternate; /* Duração, repetição infinita, e direção alternada */
}
@media (prefers-reduced-motion: reduce) {
  .pulsar { animation: none; }
  .ver-todas { transition: none; }
}

/* Define os frames da animação */
@keyframes pulse {
  0% {
    transform: scale(1); /* Estado inicial */
  }
  100% {
    transform: scale(1.1); /* Estado final (ligeiramente maior) */
  }
}

.btn-comprar {
  padding: 10px 20px; /* aumenta espaço interno */
  width: auto; /* deixa o tamanho se ajustar ao conteúdo */
  white-space: nowrap; /* evita quebra de linha no texto */
  font-size: 12px;
}

/* Produtos Grid */
.produtos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 30px;
  padding: 40px;
  max-width: 1400px;
  margin: 0 auto;
}

.produto {
  background-color: white;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: transform 0.3s ease;
  position: relative;
  overflow: hidden;
}

.produto:hover {
  transform: translateY(-5px);
}

.produto img {
  width: 100%;
  max-width: 240px;
  height: auto;
  margin-bottom: 15px;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.produto:hover img {
  transform: scale(1.05);
}

/* Card de combo misto (2+1): ainda não existe arte pronta como as dos outros
   combos (3x2calca.png, 3x2short.png, 4x4.png), então o card monta a
   composição com as fotos reais dos produtos. Quando a arte chegar, é só
   trocar por uma <img> normal e apagar este bloco. */
.produto-mosaico {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  width: 100%;
  max-width: 240px;
  /* 4/5 é a proporção das artes dos outros combos (1122x1402), pra este card
     ficar da mesma altura que eles na grade. */
  aspect-ratio: 4 / 5;
  margin: 0 auto 15px;
}

.produto-mosaico .pm-item {
  position: relative;
  margin: 0;
  min-height: 0;
}

.produto-mosaico img {
  width: 100%;
  height: 100%;
  max-width: none;
  margin-bottom: 0;
  object-fit: cover;
  border-radius: 10px;
}

.produto-mosaico figcaption {
  position: absolute;
  left: 8px;
  bottom: 8px;
  background: rgba(0, 0, 0, 0.72);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  white-space: nowrap;
  padding: 4px 8px;
  border-radius: 20px;
}

@media (max-width: 600px) {
  .produto-mosaico {
    margin-bottom: 10px;
  }
}

.img-banner {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.produto h3 {
  margin: 15px 0;
  font-weight: 800;
  color: #2b6f00;
  font-family: "Poppins", sans-serif;
}

.preco-antigo {
  color: #000000;
  font-size: 1.1rem;
  font-weight: 300;
  margin: 0px 0;
}

.preco-novo {
  color: #095605;
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0px 0;
}

.produto button {
  background-color: var(--primary-color);
  color: white;
  border: none;
  padding: 12px 25px;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: 1px;
  margin-top: 15px;
  width: 100%;
}

.produto button:hover {
  background-color: var(--accent-color);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(43, 111, 0, 0.25);
}

/* Carrinho Modal */
.carrinho-modal {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: white;
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
  z-index: 1001;
  max-width: 600px;
  width: 90%;
}

.carrinho-modal h2 {
  color: var(--secondary-color);
  font-size: 1.8rem;
  margin-bottom: 20px;
  font-weight: 700;
}

.overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 1000;
  backdrop-filter: blur(5px);
}

.carrinho-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
  border-bottom: 1px solid #eee;
  font-weight: 500;
}

.carrinho-total {
  margin-top: 30px;
  text-align: right;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--primary-color);
}

.fechar-carrinho {
  position: absolute;
  top: 20px;
  right: 20px;
  cursor: pointer;
  font-size: 24px;
  color: var(--secondary-color);
  transition: transform 0.3s ease;
}

.fechar-carrinho:hover {
  transform: rotate(90deg);
}

.btn-finalizar {
  background-color: var(--primary-color);
  color: white;
  border: none;
  padding: 15px 30px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  margin-top: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-finalizar:hover {
  background-color: var(--accent-color);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(43, 111, 0, 0.25);
}

/* === Footer === */
.site-footer {
  background-color: #1a1a1a;
  color: #e0e0e0;
  margin-top: 60px;
  font-family: "Montserrat", sans-serif;
}

.footer-content {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr auto;
  gap: 40px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 50px 40px 30px;
  align-items: start;
}

/* [CRO] Texto fica no início; a logo vai pro fim (ao lado de "Pagamento
   & Entrega"), liberando o topo e encurtando o rodapé. */
.footer-intro { order: 0; }
.footer-brand { order: 5; }
.footer-intro p { max-width: 300px; }

.footer-col h4 {
  color: var(--secondary-color);
  font-size: 1rem;
  margin-bottom: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-col p,
.footer-col li {
  color: #bdbdbd;
  font-size: 0.92rem;
  line-height: 1.65;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col a {
  color: #bdbdbd;
  text-decoration: none;
  transition: color 0.25s ease;
}

.footer-col a:hover {
  color: var(--secondary-color);
}

.footer-logo {
  width: 130px;
  height: auto;
  margin-bottom: 16px;
  background-color: var(--secondary-color);
  padding: 8px 12px;
  border-radius: 8px;
}

.footer-brand p {
  display: none; /* texto descritivo removido pra compactar o footer */
}

.footer-bottom {
  border-top: 1px solid #2a2a2a;
  padding: 18px 20px;
  text-align: center;
  font-size: 0.85rem;
  color: #888;
}

/* === Overrides mobile (declarado por último para vencer source-order) === */
@media (max-width: 900px) {
  .logo-img {
    height: 64px !important;
    width: auto !important;
  }
  .navbar {
    padding: 0.5rem 1rem;
  }
  /* Header mobile: hambúrguer na esquerda, logo centralizada, carrinho na
     direita — os três presos por posição absoluta, cada um no seu canto,
     sem depender de reordenar flex (display:contents tem suporte instável
     em navegador de celular e bagunçou tudo). Como os três saem do fluxo
     normal, dou uma altura mínima no header pra ele não encolher (a logo,
     que dava a altura antes, não conta mais pro tamanho da barra). */
  .nav-content {
    position: relative;
    min-height: 64px;
  }
  .hamburger {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
  }
  .logo {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
  }
  #nav-carrinho-icone {
    position: absolute !important;
    right: 0;
    top: 50%;
    transform: translateY(-50%) !important;
  }
  .banner-container {
    margin-top: 78px;
  }
  .vendas {
    margin-top: 14px;
    margin-bottom: 0;
    font-size: 1.3rem;
  }
  .vendas + .vendas {
    margin-top: 0;
  }
  .produtos {
    padding: 16px 12px;
    gap: 14px;
    margin-top: 14px;
  }
  .produto {
    padding: 12px;
    border-radius: 12px;
  }
  .produto img {
    margin-bottom: 10px;
  }
  .produto h3 {
    margin: 8px 0;
    font-size: 0.95rem;
  }
  .produto button {
    padding: 10px;
    font-size: 0.9rem;
    margin-top: 10px;
  }
  .site-footer {
    margin-top: 32px;
  }
  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    padding: 32px 20px 20px;
  }
  .footer-intro {
    grid-column: 1 / -1; /* texto no topo, largura toda */
  }
  .footer-brand {
    grid-column: auto; /* fica na célula ao lado de "Pagamento & Entrega" */
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .footer-logo {
    width: 110px;
    margin-bottom: 0;
  }
  .footer-col h4 {
    font-size: 0.9rem;
    margin-bottom: 12px;
  }
  .footer-col p,
  .footer-col li {
    font-size: 0.85rem;
  }
  .footer-bottom {
    padding: 14px 16px;
    font-size: 0.78rem;
  }
}

/* === [CRO] Touch targets mínimos no mobile (48x48, padding 16px lateral) === */
@media (max-width: 900px) {
  button, .btn-finalizar, .btn-checkout, .btn-back, .banner-btn, .copy-btn,
  .produto button, .pay-methods label, .frete-methods label {
    min-height: 48px;
    padding-left: 16px;
    padding-right: 16px;
  }
  /* [CRO] iOS dá zoom em input < 16px — forçamos 16px em todos os inputs do checkout */
  .checkout-wrap input,
  .checkout-wrap select,
  .checkout-wrap textarea {
    font-size: 16px !important;
  }
}

/* === [CRO] Grade de tamanhos clicáveis (substitui dropdown na product page) === */
.size-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(56px, 1fr));
  gap: 8px;
  margin-top: 8px;
}
.size-btn {
  min-height: 48px;
  padding: 10px 14px;
  border-radius: 10px;
  border: 2px solid #d8d8d8;
  background: #fff;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.18s ease;
  color: #222;
}
.size-btn:hover { border-color: var(--primary-color); }
.size-btn.active-size {
  background: var(--primary-color);
  color: #fff;
  border-color: var(--primary-color);
  box-shadow: 0 4px 12px rgba(43, 111, 0, 0.25);
}
.size-group-label {
  grid-column: 1 / -1;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 6px;
}
.size-group-label:first-child { margin-top: 0; }

/* === [CRO] Bloco descritivo estruturado (composição, corte, etc) === */
.product-desc {
  background: #fafafa;
  border-radius: 10px;
  padding: 14px 16px;
  margin-top: 6px;
}
.product-desc h4 {
  color: var(--primary-color);
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.product-desc ul { list-style: none; padding: 0; margin: 0; }
.product-desc li {
  font-size: 0.92rem;
  padding: 6px 0;
  border-bottom: 1px dashed #e0e0e0;
  color: #333;
}
.product-desc li:last-child { border-bottom: none; }
.product-desc li strong { color: #111; margin-right: 4px; }
.product-desc p {
  font-size: 0.92rem;
  color: #333;
  line-height: 1.5;
  margin: 0 0 10px;
}
.product-desc p:last-child { margin-bottom: 0; }
.product-desc p strong { color: #111; }

/* === [CRO] Tabela de medidas colapsável === */
.size-table-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: #fff;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  padding: 12px 14px;
  font-weight: 700;
  font-size: 0.95rem;
  color: #333;
  cursor: pointer;
  margin-top: 8px;
}
.size-table-toggle:hover { border-color: var(--primary-color); }
.size-table-toggle::after {
  content: "▾";
  font-size: 1.1rem;
  transition: transform 0.2s;
}
.size-table-toggle.open::after { transform: rotate(180deg); }
.size-table-wrap {
  display: none;
  margin-top: 10px;
  overflow-x: auto;
  border-radius: 10px;
  background: #fff;
  border: 1px solid #eee;
}
.size-table-wrap.open { display: block; }
.size-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}
.size-table th, .size-table td {
  padding: 10px 12px;
  text-align: center;
  border-bottom: 1px solid #f0f0f0;
}
.size-table th {
  background: #f6f6f6;
  color: var(--primary-color);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.5px;
}
.size-table tr:last-child td { border-bottom: none; }
.size-table .size-table-group td {
  text-align: left;
  background: #f1faec;
  color: var(--primary-color);
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 7px 12px;
}

/* === [CRO] Reviews estáticas (prova social) === */
.reviews-section {
  margin-top: 20px;
  padding: 16px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid #f0f0f0;
}
.reviews-section > h3 {
  color: var(--primary-color);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 14px;
}
.reviews-head-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}
.reviews-head-row h3 { margin-bottom: 14px; }
.review-add-link {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--primary-color);
  text-decoration: underline;
  white-space: nowrap;
  margin-bottom: 14px;
}
.review-item {
  padding: 12px 0;
  border-bottom: 1px solid #f0f0f0;
}
.review-item:last-child { border-bottom: none; }
.review-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}
.review-name { font-weight: 700; font-size: 0.95rem; color: #222; }
.review-stars { color: #f5b400; letter-spacing: 1px; font-size: 0.95rem; }
.review-text { font-size: 0.9rem; color: #555; line-height: 1.5; }

/* === Prova social (fotos reais enviadas pelo cliente) — estilo marketplace,
   uma ou duas fotos logo abaixo do texto de cada avaliação === */
.review-fotos {
  display: flex;
  gap: 6px;
  margin-top: 8px;
}
.review-fotos img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
}

/* === Paginação das avaliações (mostra 3 por vez) === */
.reviews-pager {
  display: flex;
  gap: 6px;
  justify-content: center;
  margin-top: 14px;
}
.reviews-pager button {
  box-sizing: border-box;
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  min-width: 30px;
  min-height: 30px;
  border-radius: 50%;
  border: 1px solid #ddd;
  background: #fff;
  color: #555;
  font-weight: 600;
  font-size: 0.85rem;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.reviews-pager button.ativo {
  background: var(--primary-color);
  color: #fff;
  border-color: var(--primary-color);
}

/* === Lightbox: foto da avaliação em tamanho maior ao clicar === */
.foto-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  z-index: 10000;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.foto-lightbox.ativo {
  display: flex;
}
.foto-lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: 10px;
  object-fit: contain;
}
.foto-lightbox-fechar {
  position: absolute;
  top: 18px;
  right: 26px;
  color: #fff;
  font-size: 2.4rem;
  line-height: 1;
  cursor: pointer;
}

/* === Modal "Avaliar produto" === */
.avaliacao-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 10001;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.avaliacao-overlay.ativo { display: flex; }
.avaliacao-modal {
  background: #fff;
  border-radius: 14px;
  padding: 24px;
  width: 100%;
  max-width: 420px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
}
.avaliacao-modal h3 {
  margin-bottom: 16px;
  color: var(--primary-color);
  font-size: 1.05rem;
}
.avaliacao-fechar {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  color: #888;
}
.avaliacao-modal form { display: flex; flex-direction: column; gap: 14px; }
.avaliacao-modal label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #333;
}
.avaliacao-modal input[type="text"],
.avaliacao-modal textarea {
  font-family: inherit;
  font-size: 0.92rem;
  padding: 10px 12px;
  border: 1.5px solid #ddd;
  border-radius: 8px;
  resize: vertical;
}
.avaliacao-modal input[type="file"] { font-size: 0.82rem; }
.estrelas-input { display: flex; gap: 4px; }
.estrelas-input button {
  background: none;
  border: none;
  font-size: 1.8rem;
  line-height: 1;
  color: #ddd;
  cursor: pointer;
  padding: 0;
}
.estrelas-input button.ativa { color: #f5b400; }
.avaliacao-msg { font-size: 0.85rem; color: var(--primary-color); min-height: 18px; }
.avaliacao-honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px; opacity: 0;
}

/* === Provas sociais (fotos reais de clientes) — página de produtos === */
.provas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px 8px;
}
.prova-item {
  display: none;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}
.prova-item.ativo {
  display: block;
}
.prova-item img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
}
@media (max-width: 700px) {
  .provas-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
  }
}

/* === [CRO] CTA fixo no rodapé (sticky) — só mobile === */
.sticky-buy-bar {
  display: none;
}
@media (max-width: 900px) {
  .sticky-buy-bar {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.12);
    z-index: 998;
    gap: 10px;
    align-items: center;
  }
  .sticky-buy-bar .sb-price {
    flex: 0 0 auto;
    font-weight: 800;
    color: var(--primary-color);
    font-size: 1.1rem;
  }
  .sticky-buy-bar .sb-btn {
    flex: 1;
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 10px;
    min-height: 48px;
    padding: 0 16px;
    font-weight: 800;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
  }
  /* [CRO] espaço extra no fim da page pra não esconder conteúdo atrás do sticky */
  body.has-sticky-cta main { padding-bottom: 90px; }
}

/* === [CRO] CTA secundário "Dúvida? WhatsApp" no checkout === */
.btn-whats-checkout {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
  padding: 12px 16px;
  background: #fff;
  color: #25d366;
  border: 2px solid #25d366;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  min-height: 48px;
  transition: background 0.2s, color 0.2s;
}
.btn-whats-checkout:hover {
  background: #25d366;
  color: #fff;
}

/* === [CRO] Banner de frete grátis (wrapper de imagem, centralizado e reduzido) === */
.frete-banner {
  display: block;
  max-width: 75%;
  margin: 0 auto 16px;
  border-radius: 10px;
  overflow: hidden;
  line-height: 0; /* remove gap fantasma do baseline da img */
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}
.frete-banner img {
  display: block;
  width: 100%;
  height: auto;
}
@media (max-width: 900px) {
  .frete-banner { max-width: 100%; } /* mobile usa largura cheia */
}

/* === [CRO] Validação em tempo real (borda verde/vermelha) === */
.form-group input.valid,
.form-group select.valid {
  border-color: #2b6f00 !important;
  background: #f4faef;
}
.form-group input.invalid,
.form-group select.invalid {
  border-color: #d33 !important;
  background: #fff5f5;
}

/* [P2] Banner de erro inline (substitui o alert em bloco do checkout) */
.form-error-banner {
  display: none;
  align-items: flex-start;
  gap: 10px;
  background: #fff5f5;
  border: 1px solid #f0c9c9;
  border-radius: 10px;
  padding: 12px 14px;
  margin: 14px 0 4px;
  color: #a12626;
  font-size: 0.9rem;
  line-height: 1.5;
}
.form-error-banner.show { display: flex; }
.form-error-banner svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 1px;
}
.form-error-banner strong { font-weight: 700; }

/* === [CRO] Badge de promoção sobreposto nos cards do home === */
.produto { position: relative; }
.produto-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #d33;
  color: #fff;
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.5px;
  padding: 5px 9px;
  border-radius: 20px;
  z-index: 2;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
  text-transform: uppercase;
}
.produto-badge.combo { background: #2b6f00; }

/* === [CRO] Faixa de confiança (selos) — home === */
.trust-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  max-width: 1100px;
  margin: 18px auto;
  padding: 0 16px;
}
.trust-bar .trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 0.86rem;
  font-weight: 600;
  color: #333;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  flex: 1 1 200px;
  max-width: 250px;
  justify-content: center;
}
.trust-bar .trust-item .ti-icon {
  display: inline-flex;
  align-items: center;
  color: var(--primary-color);
  flex-shrink: 0;
}
.trust-bar .trust-item .ti-icon svg { width: 20px; height: 20px; }
@media (max-width: 900px) {
  .trust-bar { gap: 8px; }
  .trust-bar .trust-item { flex: 1 1 45%; max-width: none; font-size: 0.78rem; padding: 9px 8px; }
}

/* === [CRO] Caixa de garantia (produto/checkout) === */
.guarantee-box {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #f4faef;
  border: 1px solid #cfe6b8;
  border-radius: 10px;
  padding: 14px 16px;
  margin-top: 6px;
}
.guarantee-box .g-icon {
  display: inline-flex;
  align-items: center;
  color: var(--primary-color);
  flex-shrink: 0;
}
.guarantee-box .g-icon svg { width: 28px; height: 28px; }

/* Ícones SVG inline avulsos (selo de segurança, CTA WhatsApp) */
.secure-tag svg,
.btn-whats-checkout svg {
  width: 16px;
  height: 16px;
  vertical-align: -3px;
  margin-right: 5px;
}

/* === [CRO] Selos de confiança rotativos abaixo do botão (1 por vez) === */
.checkout-selos {
  position: relative;
  height: 22px;
  margin-top: 12px;
  font-size: 0.82rem;
  color: #666;
}
.checkout-selos span {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}
.checkout-selos span.active { opacity: 1; }
.checkout-selos svg {
  width: 15px;
  height: 15px;
  color: var(--primary-color);
  flex-shrink: 0;
}
.guarantee-box .g-title { font-weight: 800; color: var(--primary-color); font-size: 0.95rem; }
.guarantee-box .g-text { font-size: 0.82rem; color: #555; line-height: 1.4; }

/* === [CRO] Barra de progresso de seleção (combos) === */
.combo-progress {
  position: sticky;
  top: 110px;
  z-index: 5;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 10px 14px;
  margin-bottom: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}
.combo-progress .cp-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 6px;
}
.combo-progress .cp-count { color: var(--primary-color); }
.combo-progress .cp-track {
  height: 8px;
  background: #eee;
  border-radius: 6px;
  overflow: hidden;
}
.combo-progress .cp-fill {
  height: 100%;
  width: 0;
  background: var(--primary-color);
  border-radius: 6px;
  transition: width 0.3s ease;
}

/* === [CRO] Validação inline nos combos (destaca campo faltante) === */
.selection-item.invalid .mp-trigger,
.selection-item.invalid select {
  border-color: #d33 !important;
  background: #fff5f5;
}
.selection-item.invalid > strong { color: #d33; }
.selection-item .si-erro {
  display: none;
  font-size: 0.78rem;
  color: #d33;
  font-weight: 600;
}
.selection-item.invalid .si-erro { display: block; }
.selection-item.ok > strong::after {
  content: " ✓";
  color: var(--primary-color);
}

/* === [CRO] Order bump no checkout === */
.order-bump {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 16px 0 6px;
  padding: 12px;
  border: 2px dashed #f5b400;
  border-radius: 12px;
  background: #fffdf3;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
  position: relative;
}
.order-bump:hover { border-color: #e0a500; }
.order-bump.checked {
  border-style: solid;
  border-color: var(--primary-color);
  background: #f4faef;
  box-shadow: 0 4px 14px rgba(43, 111, 0, 0.12);
}
.order-bump input[type="checkbox"] {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  accent-color: var(--primary-color);
  cursor: pointer;
}
.order-bump .ob-img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 8px;
  background: #eee;
  flex-shrink: 0;
}
.order-bump .ob-info { display: flex; flex-direction: column; gap: 2px; line-height: 1.25; }
.order-bump .ob-tag {
  display: inline-block;
  width: fit-content;
  background: #f5b400;
  color: #3a2c00;
  font-size: 0.66rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  padding: 2px 7px;
  border-radius: 20px;
}
.order-bump .ob-title { font-size: 0.95rem; font-weight: 700; color: #222; }
.order-bump .ob-price { font-size: 0.9rem; }
.order-bump .ob-price del { color: #999; margin-right: 6px; }
.order-bump .ob-price b { color: var(--primary-color); font-size: 1rem; }
.order-bump .ob-sub { font-size: 0.74rem; color: #777; }

