/* ---------- FAQ page (/faq/) ----------
   Same "no full-bleed hero above it" clearance as .order-history-page, and
   the same breadcrumb, for the same reason: neither page has a hero to push
   content clear of the fixed .site-header. */
.faq-page {
  padding-top: clamp(7rem, 14vw, 9rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
  min-height: 60vh;
}
.faq-wrap { max-width: 70ch; }

.faq-breadcrumb { margin-bottom: clamp(1.5rem, 3vw, 2rem); }
.faq-breadcrumb ul {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5em;
  font-size: var(--small);
  font-weight: 500;
}
.faq-breadcrumb li { display: flex; align-items: center; }
.faq-breadcrumb a { color: var(--muted); }
.faq-breadcrumb a:hover { color: var(--terracotta); }
.faq-breadcrumb li[aria-current="page"] { color: color-mix(in srgb, var(--ink) 65%, var(--muted) 35%); }
.faq-breadcrumb-sep {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1em;
  height: 1em;
  color: color-mix(in srgb, var(--ink) 30%, transparent);
  font-size: 0.8em;
}
.faq-breadcrumb-sep i { line-height: 1; transform: rotate(-90deg); }

.faq-page-head { margin-bottom: clamp(2rem, 4vw, 2.75rem); }
.faq-page-head h1 { font-size: var(--h2); letter-spacing: -0.005em; line-height: 1.08; margin-bottom: 0.35em; }
.faq-intro { color: var(--muted); margin: 0; max-width: none; }

.faq-categories { display: flex; flex-direction: column; gap: clamp(2rem, 4vw, 2.75rem); }
.faq-category-heading { font-size: var(--h3); margin-bottom: 0.9em; }

.faq-list { display: flex; flex-direction: column; gap: 0.75rem; }

/* <details>/<summary> accordion — same idiom as the Order History table's
   own row disclosure (.order-history-row-summary), reused rather than
   invented twice. The native marker is hidden in favour of the rotating
   ph-caret-down, which every other disclosure on the site already uses. */
.faq-item {
  border: 1px solid color-mix(in srgb, var(--ink) 12%, transparent);
  border-radius: var(--radius-card);
  padding: 1rem 1.25rem;
}
.faq-item[open] { padding-bottom: 1.25rem; }
.faq-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  list-style: none;
}
.faq-summary::-webkit-details-marker,
.faq-summary::marker { display: none; content: ""; }
.faq-question { font-family: var(--font-display); font-weight: 600; }
.faq-caret { flex-shrink: 0; color: var(--muted); transition: transform 0.15s ease; }
.faq-item[open] .faq-caret { transform: rotate(180deg); }
.faq-summary:hover .faq-caret,
.faq-summary:focus-visible .faq-caret { color: var(--terracotta); }

.faq-answer { margin-top: 0.85rem; color: var(--muted); }
.faq-answer > :first-child { margin-top: 0; }
.faq-answer > :last-child { margin-bottom: 0; }
.faq-answer p { max-width: none; }
.faq-answer ul { list-style: disc; }
.faq-answer ol { list-style: decimal; }
.faq-answer ul,
.faq-answer ol { margin: 0 0 1em; padding-left: 1.5em; }
.faq-answer li { margin-bottom: 0.4em; }
.faq-answer li::marker { color: var(--muted); }
.faq-answer strong { color: var(--ink); font-weight: 600; }

@media (max-width: 560px) {
  .faq-item { padding: 0.85rem 1rem; }
}
