/**
 * Estilos dos produtos (listagem WooCommerce).
 */

/* Linha intro da listagem: 50% breadcrumb + 50% descriÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â§ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â£o */
.ac-shop-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: center;
  margin-bottom: 32px;
  max-width: 1640px;
  margin-top: 50px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 5%;
  padding-right: 5%;
}

/* TÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â­tulo por baixo do banner (imagem) */
.ac-shop-intro__title {
  max-width: 1640px;
  margin: 100px auto 0;
  padding-left: 5%;
  padding-right: 5%;
  font-weight: 300;
  color: #708AC2;
}

.ac-shop-intro__breadcrumb {
  font-size: 32px;
  color: #708AC2;
}

.ac-shop-intro__breadcrumb .woocommerce-breadcrumb {
  padding: 0;
  margin: 0;
  background: none;
}

.ac-breadcrumb-sep {
  margin: 0 4px;
}

.ac-shop-intro__label {
  margin: 0;
}

.ac-shop-intro__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
}

/* Imagem da categoria (ou placeholder) por baixo da linha intro */
.ac-shop-intro__image {
  max-width: 1800px;
  margin: 0 auto 32px;
  padding-left: 5%;
  padding-right: 5%;
  border-radius: 12px;
  overflow: hidden;
}

.ac-shop-intro__image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* SecÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â§ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â£o de FAQs / accordions */
.ac-products-faq {margin-inline: auto;width: var(--theme-container-width);max-width: var(--theme-block-max-width);padding: 150px 0;}

.ac-products-faq__inner {
  margin: 0 auto;
}

.ac-products-faq__title {
  font-size: 36px;
  font-weight: 300;
  margin: 0 0 32px;
  color: #708AC2;
}

.ac-products-faq__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 50px;
  padding-top: 15px;
}

.ac-products-faq__question {
  cursor: pointer;
  list-style: none;
  padding: 20px 0;
  background: none;
  margin: 0;
  width: 100%;
  border-top: 1px solid #A8BBDD;
  font-weight: 500;
  color: #39579B;
  display: flex;
  align-items: center;
  gap: 12px;
}

.ac-products-faq__question::-webkit-details-marker {
  display: none;
}

.ac-products-faq__answer {
  padding-bottom: 0;
  margin-top: 0;
  font-size: 14px;
  color: #708AC2;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-4px);
  transition: max-height 0.25s ease, opacity 0.25s ease, transform 0.25s ease, margin-top 0.25s ease, padding-bottom 0.25s ease;
}

.ac-products-faq__answer p {
  margin: 0;
}

/* ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Âcone + / - ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â  esquerda da pergunta */
/* ÃƒÂcone + / Ã¢Ë†â€™ ÃƒÂ  esquerda da pergunta (texto vem do HTML) */
.ac-products-faq__question .ac-products-faq__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  color: #708AC2;
  font-size: 24px;
  flex-shrink: 0;
  margin-right: 8px;
}

.ac-products-faq__item.is-open .ac-products-faq__answer {
  max-height: 300px;
  opacity: 1;
  transform: translateY(0);
  margin-top: 8px;
  padding-bottom: 16px;
}

/* Produtos: fundo e cantos arredondados na ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡rea da imagem */
.woocommerce ul.products figure,
ul.products figure {
  border-radius: 12px;
  overflow: hidden;
}

.woocommerce ul.products .ct-media-container,
ul.products .ct-media-container {
  background-color: #c8d3e7;
  border-radius: 12px;
  overflow: hidden;
}

/* Card completo sobe no hover */
.woocommerce ul.products li.product,
ul.products li.product {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.woocommerce ul.products li.product:hover,
ul.products li.product:hover {
  transform: translateY(-15px);
}

/* Content block final a toda a largura */
.ac-products-bottom-block {
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  width: 100vw;
}

@media (max-width: 768px) {
  .ac-shop-intro {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 24px;
  }
  .ac-products-faq {
    padding: 50px 0 !important;
  }
  .ac-products-faq__title {
    font-size: 28px;
  }
  .ac-products-faq__question {
    justify-content: flex-start;
    text-align: left;
  }
  .ac-shop-intro__title {
    font-size: 28px;
    font-weight: 300;
  }
  .ac-shop-intro__breadcrumb {
    font-size: 28px;
  }
  .ac-shop-intro__image img {
    min-height: 300px;
  }

  /* Listagem: 2 produtos por fila em mobile */
  .woocommerce ul.products,
  ul.products {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 50px 16px;
  }
  .woocommerce ul.products li.product,
  ul.products li.product {
    width: 100% !important;
    max-width: none !important;
  }

  /* Título do produto: 24px, margin-bottom 10px */
  .woocommerce ul.products .woocommerce-loop-product__title,
  ul.products .woocommerce-loop-product__title {
    font-size: 18px !important;
    margin-bottom: 5px !important;
  }

  /* Descrição do produto: 12px, máximo 2 linhas em mobile */
  .woocommerce ul.products .entry-excerpt,
  .woocommerce ul.products .entry-excerpt p,
  ul.products .entry-excerpt,
  ul.products .entry-excerpt p {
    font-size: 12px !important;
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
    overflow: hidden !important;
  }
}