/* ==================================================
   HERO PRODUTOS
================================================== */

.products-hero {
  text-align: center;
  padding: 10px 20px 18px;
}

.products-hero h1 {
  font-size: 28px;
  margin-bottom: 14px;
}

.products-badge {
  display: inline-block;
  background: var(--verde-claro);
  color: var(--verde-escuro);
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 14px;
}

/* ==================================================
   GRID DE PRODUTOS
================================================== */

.produtos-section {
  padding: 40px 20px 60px;
}

.produtos-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  gap: 28px;
}

.produtos-grid {
  display: grid;
  gap: 32px;
}

/* Desktop */
@media (min-width: 1024px) {
  .produtos-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px;
  }
}


/* Tablet */
@media (min-width: 769px) and (max-width: 1023px) {
  .produtos-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ==================================================
   CARD DE PRODUTO
================================================== */

.produto-card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
  transition: transform .25s ease, box-shadow .25s ease;
  display: flex;
  flex-direction: column;
}

.produto-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 45px rgba(0,0,0,.12);
}

/* ================= IMAGE ================= */

.produto-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #f4f4f4;
}


.produto-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* ================= INFO ================= */

.produto-info {
  padding: 16px 18px 18px;
}


.produto-info h3 {
  font-size: 18px;
  margin-bottom: 6px;
  line-height: 1.35;
}

.produto-info .categoria {
  font-size: 14px;
  color: var(--cinza-texto);
  display: block;
  margin-bottom: 14px;
}

/* ==================================================
   BADGE ATACADO
================================================== */

.badge-atacado {
  display: inline-block;
  background: linear-gradient(135deg, #0b4d1c, #146b2d);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 12px;
}

/* ==================================================
   PREÇO
================================================== */

.produto-preco {
  margin: 10px 0 14px;
}

.faixa-preco {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px;
}

.produto-preco .a-partir {
  display: block;
  font-size: 0.8rem;
  color: #777;
  margin-bottom: 4px;
}
.preco-info {
    font-size: 12px;
    line-height: 1.1;
    margin: 0;
}


.produto-preco .valor {
  display: block;
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--verde-escuro);
}

/* ==================================================
   BOTÃO
================================================== */

.btn-ver {
  display: block;
  text-align: center;
  background: var(--verde-escuro);
  color: #fff;
  padding: 11px;
  border-radius: 999px;
  font-size: 13px;
  text-decoration: none;
  transition: background .2s ease, transform .2s ease;
}

.btn-ver:hover {
  background: #083914;
  transform: translateY(-2px);
}

/* ==================================================
   MOBILE
================================================== */

@media (max-width: 768px) {

  .products-hero {
    padding: 24px 16px 18px;
  }

  .products-hero h1 {
    font-size: 1.8rem;
  }

  .products-badge {
    font-size: 0.95rem;
    padding: 12px 18px;
  }

  .produtos-section {
    padding: 24px 0 48px;
  }

  .produtos-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px;
  }

  .produto-card {
    border-radius: 16px;
  }

  .produto-info {
    padding: 12px;
  }

  .produto-info h3 {
    font-size: 13px;
    line-height: 1.3;
    margin-bottom: 4px;
  }

  .produto-info .categoria {
    font-size: 12px;
    margin-bottom: 8px;
  }

  .produto-preco {
    margin: 6px 0 10px;
  }

  .faixa-preco {
    flex-wrap: wrap;
    gap: 1px 4px;
    align-items: baseline;
  }

  /* Escopo em .faixa-preco para não vazar para o PDP */
  .faixa-preco .preco-min {
    flex: 0 0 100%; /* ocupa linha inteira → empurra "até R$X" para a linha 2 */
    font-size: 15px;
    white-space: nowrap;
  }

  .faixa-preco .preco-ate {
    font-size: 11px;
    white-space: nowrap;
  }

  .faixa-preco .preco-max {
    font-size: 13px;
    white-space: nowrap;
  }

  .preco-info {
    font-size: 11px;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.2 !important;
  }

  .btn-ver {
    font-size: 13px;
    padding: 9px;
  }

}
/* =========================================
   FILTROS PRODUTOS
========================================= */

.products-filtros-wrapper {
    margin: 40px 0;
}

.filtros-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.filtro-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 22px 20px 18px;
    border: 1px solid #e7efe9;
    box-shadow: none;
}

.filtro-card-head {
    margin-bottom: 16px;
}

.filtro-card h3 {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 4px;
    font-size: 20px;
    font-weight: 800;
    color: #0d4d1f;
}

.filtro-card h3 i {
    width: 40px;
    height: 40px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #eaf3ed;
    color: #0d4d1f;
    font-size: 15px;
    box-shadow: none;
}

.filtro-head-line {
    display: block;
    width: 38px;
    height: 2px;
    border-radius: 999px;
    background: #0d7a34;
    margin: 0 0 8px 52px;
}

.filtro-card-head p {
    margin: 0;
    font-size: 14px;
    line-height: 1.45;
    color: #6b746d;
    margin-left: 52px;
}

.filtro-botoes {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.filtro-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 12px;
    font-size: 13px;
    border-radius: 999px;
    border: 1px solid #b9d0be;
    color: #0d4d1f;
    text-decoration: none;
    font-weight: 700;
    transition: 0.2s ease;
    background: #fdfefd;
    box-shadow: none;
}

.filtro-btn i {
    font-size: 11px;
    opacity: 0.8;
}

.filtro-btn:hover,
.filtro-btn.active {
    background: #0d4d1f;
    color: #ffffff;
    border-color: #0d4d1f;
    transform: none;
    box-shadow: none;
}

/* RESPONSIVO */
@media (max-width: 768px) {
    .filtros-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .filtro-card {
        padding: 18px 16px 14px;
        border-radius: 18px;
    }

    .filtro-card h3 {
        font-size: 18px;
    }

    .filtro-card h3 i {
        width: 34px;
        height: 34px;
        border-radius: 12px;
        font-size: 13px;
    }

    .filtro-head-line,
    .filtro-card-head p {
        margin-left: 46px;
    }

    .filtro-head-line {
        width: 30px;
        margin-bottom: 6px;
    }

    .filtro-card-head p {
        font-size: 13px;
    }

    .filtro-botoes {
        gap: 7px;
    }

    .filtro-btn {
        width: 100%;
        justify-content: flex-start;
        padding: 10px 12px;
        font-size: 13px;
    }
}

.size-price {
  font-weight: 700;
  font-size: 1.2rem;
}

.preco-min {
  color: #0b7d3a; /* verde marca */
  font-size: 18px;
  font-weight: 600;
}

.preco-max {
  color: #b06b44; /* vermelho suave */
  font-size: 16px;
  font-weight: 600;
}

.preco-ate {
  color: #666;
  font-weight: 500;
  margin: 0 4px;
}
