/* Shared FAQ Widget Styles - Extracted from pages/faqs.css */

.faq-section {
  padding: 10px;
}

.faq-main-title {
  color: #7a4aa3;
  font-family: poppins-bold;
  font-style: italic;
  font-size: 24px;
  margin: 50px 0 30px 0;
  text-align: center;
}

@media (max-width: 900px) {
  .faq-main-title {
    margin: 0px 0 18px 0;
  }
}

/* Product heading key for multi-product view */
.faq-product-heading {
  margin: 18px 0 10px 0;
  padding: 10px 12px;
  border-radius: 12px;
  background: #fff7fd;
  border: 1px solid #ffcdf3;
  color: #7a4aa3;
  font-family: poppins-semibold;
  font-size: 15px;
  text-transform: capitalize;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.faq-item {
  background: #faeaff;
  border: 1px solid #ffcdf3;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-question {
  padding: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
}

.faq-question-text {
  font-weight: 600;
  font-size: 14px;
  color: #000;
}

.faq-toggle-icon {
  font-size: 20px;
  font-weight: 500;
  line-height: 1;
  transition: transform 0.25s ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition:
    max-height 0.4s cubic-bezier(0.25, 1, 0.5, 1),
    opacity 0.25s ease;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  opacity: 1;
}

.faq-item.active .faq-toggle-icon {
  transform: rotate(180deg);
}

.answer-content {
  padding: 0 16px 16px 16px;
  font-size: 13px;
  color: #333;
  line-height: 1.5;
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.3s ease;
}

.faq-item.active .answer-content {
  opacity: 1;
  transform: translateY(0);
}

.empty-state {
  text-align: center;
  color: #666;
  font-size: 13px;
  margin: 12px 0;
}

/* ═══════════════════════════════════════════════
   DESKTOP FAQ LAYOUT (≥ 900px)
   ═══════════════════════════════════════════════ */
@media (min-width: 900px) {
  .faq-section {
    padding: 0px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* ═══════════════════════════════════════════════
   FRAUNCES THEME OVERRIDES (splashbook)
   ═══════════════════════════════════════════════ */
body.landing-fraunces-page #faqMount {
  margin: 50px 0px;
}

body.landing-fraunces-page .faq-main-title {
  margin: 0 0 12px;
  color: var(--sb-ink);
  text-align: center;
  font-style: normal;
  line-height: 0.98;
}

body.landing-fraunces-page #faqMount .faq-list {
  gap: 12px;
}

body.landing-fraunces-page #faqMount .faq-item {
  background: #ffcdf3;
  border: 1px solid rgba(25, 24, 22, 0.12);
  border-radius: 14px;
}

body.landing-fraunces-page #faqMount .faq-question {
  padding: 14px;
}

body.landing-fraunces-page #faqMount .q-text {
  color: #25211b;
  font-size: 14px;
  font-weight: 700;
}

body.landing-fraunces-page #faqMount .q-icon {
  color: #25211b;
}

body.landing-fraunces-page #faqMount .answer-content {
  color: #545046;
  font-size: 13px;
  line-height: 1.55;
  padding: 0 16px 14px;
}