/* ============================================================
   ProductFAQ — Styles front-office
   Compatible thème BLCK v3.1.0 — 12euroshirts.com
   ============================================================ */

/* --- Onglet dans la nav produit --- */
.product-faq-tab-li .nav-link {
  cursor: pointer;
}

/* --- Conteneur principal (mode onglet) --- */
#product-faq.tab-pane {
  padding: 1.5rem 0;
}

/* --- Section standalone (fallback footer) --- */
.product-faq-section {
  margin: 2rem 0;
  padding: 1.5rem 0;
  border-top: 2px solid #222;
}

.product-faq-title {
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.25rem;
  color: #222;
}

/* --- Item FAQ --- */
.faq-item {
  border-bottom: 1px solid #e5e5e5;
}

.faq-item:first-of-type {
  border-top: 1px solid #e5e5e5;
}

/* --- Question --- */
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0.25rem;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  color: #222;
  transition: color 0.2s;
  user-select: none;
}

.faq-question:hover { color: #000; }

/* --- Icône +/× --- */
.faq-icon {
  flex-shrink: 0;
  margin-left: 1rem;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #aaa;
  border-radius: 50%;
  transition: background 0.2s, border-color 0.2s;
}

.faq-icon .material-icons {
  font-size: 16px;
  transition: transform 0.25s;
}

.faq-item.is-open .faq-icon {
  background: #222;
  border-color: #222;
}

.faq-item.is-open .faq-icon .material-icons {
  color: #fff;
  transform: rotate(45deg);
}

/* --- Réponse --- */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.25s;
  padding: 0 0.25rem;
  font-size: 0.9rem;
  color: #555;
  line-height: 1.7;
}

.faq-item.is-open .faq-answer {
  max-height: 800px;
  padding: 0 0.25rem 1.25rem;
}

@media (max-width: 767px) {
  .faq-question { font-size: 0.88rem; }
  .faq-answer   { font-size: 0.85rem; }
}
