/* ==========================================================================
   Veelgestelde vragen – Novadecor
   Professionele FAQ-accordion
   ========================================================================== */

.faq-section {
  padding: 1.5rem 0;
  border-bottom: 1px solid #f0f0f0;
}

.faq-section:last-of-type {
  border-bottom: none;
}

.faq-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.faq-item {
  border: 1px solid #e5e5e5;
  border-radius: 6px;
  margin-bottom: 0.5rem;
  overflow: hidden;
}

.faq-item:last-child {
  margin-bottom: 0;
}

.faq-item[open] {
  border-color: #d4d4d4;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #171717;
  cursor: pointer;
  list-style: none;
  transition: background-color 0.15s;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: "";
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23525252' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  transition: transform 0.2s;
}

.faq-item[open] .faq-question::after {
  transform: rotate(180deg);
}

.faq-question:hover {
  background-color: #fafafa;
}

.faq-answer {
  padding: 0 1.25rem 1.25rem;
}

.faq-answer p {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.6;
  color: #404040;
}

.faq-answer p + p {
  margin-top: 0.75rem;
}
