/* ==========================================================================
   COMPONENT / FAQ ACCORDION
   Native <details>/<summary> accordion for FAQ-style Q&A lists. First
   built for Contact Us + General Content ("שיטת הפיבוט"), which both use
   the same plain-list style (no card border, just a hairline divider
   and a light zebra bg on open, unlike the white-card
   components/_accordion.css used on Cart - Sign in).
   ========================================================================== */
.faq-list {
  display: flex;
  flex-direction: column;
}

.faq-item {
  border-bottom: 1px solid #E3E3E3;
}

.faq-item:first-child {
  border-top: 1px solid #E3E3E3;
}

.faq-item > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 32px;
  cursor: pointer;
  list-style: none;
  background: #F7F7F9;
}

.faq-item > summary::-webkit-details-marker {
  display: none;
}

.faq-item[open] > summary {
  background: #EFEFF4;
}

.faq-question {
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 18px;
  line-height: 24px;
  color: var(--color-text-heading);
  text-align: right;
}

.faq-chevron {
  flex-shrink: 0;
  color: var(--color-text-heading);
  transition: transform 0.2s ease;
}

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

.faq-answer {
  padding: 0 32px 24px;
  font-family: var(--font-main);
  font-weight: 400;
  font-size: 16px;
  line-height: 26px;
  color: var(--color-text-heading);
  text-align: right;
  background: #EFEFF4;
}

/* ==========================================================================
   RESPONSIVE — FAQ accordion
   ========================================================================== */
@media (max-width: 599px) {
  .faq-item > summary {
    padding: 16px 20px;
    gap: 12px;
  }

  .faq-question {
    font-size: 16px;
    line-height: 22px;
  }

  .faq-answer {
    padding: 0 20px 18px;
    font-size: 15px;
    line-height: 22px;
  }
}
