.faq-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  display: none;
  z-index: 999;
}

.faq-overlay.is-open {
  display: flex;
  align-items: center;
  justify-content: center;
}

.faq-box {
  background: #fff;
  width: 90%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: 16px;
  padding: 1rem;
  position: relative;
}

.faq-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: none;
  border: none;
  font-size: 1.25rem;
  cursor: pointer;
}

/* FAQ items */
.faq-item {
  border: 1px solid #ddd;
  border-radius: 12px;
  margin-bottom: 0.75rem;
  padding: 0.5rem 0.75rem;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  font-weight: 600;
  position: relative;
  padding-right: 1.5rem;
}

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

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-overlay.is-open ~ #scroll-top {
  opacity: 0;
  pointer-events: none;
}