/* CSS responsivo para layout de colunas */
.produtos-grid {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -10px;
  /* Margem negativa para alinhar os itens */
}

.produto-item {
  width: calc(25% - 20px);
  /* 4 colunas em desktop grande */
  margin: 10px;
  /* Margem entre os itens */
  padding: 25px 0;
  background: linear-gradient(180deg, rgb(0 0 0 / 2%) 47.8%, rgb(0 0 0 / 21%) 99.92%);
  /* border: 1px solid #000001; */
  position: relative;
}

.produto-item:hover {
  background: linear-gradient(
    180deg,
    rgba(213, 186, 142, 0) 47.8%,
    rgba(0, 0, 0, 0.47) 99.92%
  );
}

.produto-item svg {
  position: absolute;
  right: 15px;
  width: 25px;
  top: 0;
}

.produto-imagem {
  width: 100%;
  /* Ajuste conforme necessário */
  height: 300px;
  /* Defina a altura desejada para todas as imagens */
  background-size: contain;
  /* A imagem vai cobrir toda a área */
  background-position: center;
  /* Centraliza a imagem */
  background-repeat: no-repeat;
  z-index: -1;
  position: relative;
}

@media (max-width: 1366px) {
  .produto-item {
    width: calc(33.33% - 20px);
    /* 3 colunas no desktop médio */
  }
}

@media (max-width: 1200px) {
  .left-sidebar {
    width: 29% !important;
  }

  .post-area {
    width: 69% !important;
  }

  .produto-item {
    width: calc(50% - 20px);
    /* 2 colunas no desktop médio */
  }
}

@media (max-width: 768px) {
  .left-sidebar {
    width: 29% !important;
  }

  .post-area {
    width: 69% !important;
  }

  .produto-item {
    width: 100%;
  }

  /* 1 coluna */
}

@media (max-width: 480px) {
  .left-sidebar,
  .post-area {
    width: 100% !important;
  }

  .produto-item {
    width: 100%;
    /* 1 coluna no celular */
  }
}

/* Ajuste para post-area quando filtros são exibidos */
.left-sidebar {
  width: 20%;
  /* Define o tamanho da sidebar quando visível */
}

.post-area {
  width: 80%;
  /* Área dos produtos ocupa 80% quando filtros estão visíveis */
  margin-right: 0 !important;
}

.post-area.span_12 {
  width: 100% !important;
  /* O post-area vai ocupar 100% quando a sidebar não estiver visível */
}

/* Overlay de carregamento */
#loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgb(0, 0, 0, 0.5);
  display: flex;
  /* Usar flexbox para centralizar o conteúdo */
  justify-content: center;
  /* Centralizar horizontalmente */
  align-items: center;
  /* Centralizar verticalmente */
  z-index: 9999;
  /* Garantir que fique acima de outros elementos */
}

/* Círculo de carregamento */
.loading-circle {
  border: 8px solid rgba(255, 255, 255, 0.3);
  border-top: 8px solid #fff;
  /* Cor da borda superior */
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 1s linear infinite;
  /* Animação de rotação */
  margin: 0;
  /* Garantir que não há margens que possam causar deslocamento */
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.subcategory label {
  font-size: 12px;
  line-height: 12px;
  color: #000000;
}

.produto-item p {
  font-size: 16px;
  margin-top: 15px;
  padding: 0 25px;
  color: #000;
  font-family: "Playfair Display";
  font-style: normal;
  font-weight: 400;
  line-height: 26px;
  /* 44px */
  letter-spacing: 0.4px;
  text-align: center;
}

li.subcategory {
  padding: 0 !important;
}

#toggle-filters,
#reset-filters {
    border: 2px solid #000;
    max-width: 200px;
    text-align: center;
    text-transform: uppercase;
    padding: 5px;
    cursor: pointer;
    font-weight: bold;
    color: #000;
    font-size: 14px;
    border-radius: 40px;
}

#toggle-filters:hover,
#reset-filters:hover {
  border: 2px solid #000;
  color: #fff;
  background-color: #000;
}

.show-more {
  font-weight: bold;
  font-size: 12px;
  cursor: pointer;
  color: #000000;
}

input[type="checkbox"] {
  /* Add if not using autoprefixer */
  -webkit-appearance: none;
  /* Remove most all native input styles */
  appearance: none;
  /* For iOS < 15 */
  background-color: var(--form-background);
  /* Not removed via appearance */
  margin: 0;

  font: inherit;
  color: #000000;
  width: 1.15em;
  height: 1.15em;
  border: 0.15em solid #000000;
  transform: translateY(5px);
  display: grid;
  place-content: center;
  float: left;
  margin-right: 5px;
  cursor: pointer;
}

input[type="checkbox"]::before {
  content: "";
  width: 0.65em;
  height: 0.65em;
  clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
  transform: scale(0);
  transform-origin: bottom left;
  transition: 120ms transform ease-in-out;
  box-shadow: inset 1em 1em var(--form-control-color);
  /* Windows High Contrast Mode */
  background-color: #000000;
}

input[type="checkbox"]:checked::before {
  transform: scale(1);
}

input[type="checkbox"]:disabled {
  --form-control-color: var(--form-control-disabled);

  color: var(--form-control-disabled);
  cursor: not-allowed;
}

.marca-item {
  width: calc(25% - 20px);
  /* 4 colunas no desktop grande */
  margin: 10px;
  position: relative;
  /* Para usar com o span */
  overflow: hidden;
}

.marca-item a {
  display: block;
  height: 350px;
  /* Ajuste a altura conforme necessário */
  background-size: cover;
  background-position: center;
  color: #fff;
  /* Cor do texto */
  text-decoration: none;
  /* Remove underline */
  text-align: center;
  position: relative;
  /* Para o span */
}

.marca-regiao {
  position: absolute;
  /* Permite posicionar o título em relação ao item */
  top: 5%;
  /* Ajuste conforme necessário */
  left: 50%;
  transform: translateX(-50%);
  /* Centraliza horizontalmente */
  color: #fff;
  font-family: "Poppins";
  font-style: normal;
  font-weight: 600;
  line-height: 26px;
  letter-spacing: 0.4px;
  font-size: 16px;
  width: 85%;
}
.marca-title {
  position: absolute;
  /* Permite posicionar o título em relação ao item */
  bottom: 20%;
  /* Ajuste conforme necessário */
  left: 50%;
  transform: translateX(-50%);
  /* Centraliza horizontalmente */
  color: #fff;
  font-family: "Playfair Display";
  font-style: normal;
  font-weight: 400;
  line-height: 36px;
  letter-spacing: 0.4px;
  font-size: 26px;
  width: 85%;
}

.marca-bg {
  height: 100%;
  width: 100%;
  /* SL - alterado a 02.04.25
  background: linear-gradient(
    180deg,
    rgba(119, 38, 17, 0.93) 13.5%,
    rgba(119, 38, 17, 0) 100%
  );
*/
  background: rgb(0 0 0 / 30%);
}

.marca-item svg {
  position: absolute;
  right: 15px;
  width: 40px;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
}

@media (max-width: 1200px) {
  .marca-item {
    width: calc(33.33% - 20px);
    /* 3 colunas no desktop médio */
  }
}

@media (max-width: 768px) {
  .page-1524 .full-width-section .row-bg,
  .wpb_row .row-bg {
    display: none;
  }

  .marca-item {
    width: calc(50% - 20px);
    /* 2 colunas no tablet */
  }
}

@media (max-width: 480px) {
  .page-1524 .full-width-section .row-bg,
  .wpb_row .row-bg {
    display: none;
  }

  .marca-item {
    width: 100%;
    /* 1 coluna no celular */
    margin: 10px 0;
  }
}
