/* =========================================================
   SCOPIONE FAQ PAGE — scopione-faqs.css  (FAQ-1, Jun 2026)

   Loads AFTER scopione-contact.css on /faq/ (page-faqs.php). The contact sheet
   styles the copied bottom-7 blocks (form, reveal, channels, trust, marquee,
   ticker, final CTA) and supplies the --shop-* / --sc-block-pad tokens (its token
   block now also matches .page-template-page-faqs). THIS sheet styles ONLY the new
   category-grouped FAQ accordion: question pills, each with a relevant gold icon,
   POP on hover (lift) + SHINE on hover (gold sheen sweep), reduced-motion safe.

   Shine note: the cross-surface "shine" recipe uses a white sweep + mix-blend:screen,
   but that's invisible on a white card (screen-blend of white over white = white).
   The FAQ pills are white, so this clone uses a GOLD-tinted sweep (normal blend) —
   visible + on-brand.
   ========================================================= */

/* ---- Section shell ---- */
.sc-faqs {
  padding: var(--sc-block-pad) 0;
}

.sc-faqs-title {
  margin: 0 0 0.5rem;
  text-align: center;
  font-family: "Space Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: var(--shop-h2);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--sc-dark);
}

/* ---- Category group ---- */
.sc-faqs-cat {
  max-width: 1040px;
  margin: 2.25rem auto 0;
}

.sc-faqs-cat:first-of-type {
  margin-top: 1.75rem;
}

.sc-faqs-cat-head {
  margin: 0 0 1.4rem;
  text-align: center;
}

.sc-faqs-cat-name {
  margin: 0;
  font-family: "Space Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: clamp(1.35rem, 2.8vw, 1.6rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--sc-dark);
}

/* Scopione signature: a centered gold rule under each category title (replaces
   the full-width gray hairline). margin-top matches the head's 1.4rem bottom
   margin → equal gap above (title→rule) and below (rule→Q&A list). */
.sc-faqs-cat-name::after {
  content: "";
  display: block;
  width: 73px;
  height: 3px;
  margin: 1.4rem auto 0;
  background: var(--sc-yellow);
  border-radius: 999px;
}

/* ---- Question pills grid (1-up mobile → 2-up ≥992px, matching contact FAQ) ---- */
.sc-faqs-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}

@media (min-width: 992px) {
  .sc-faqs-list {
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem 1.25rem;
    align-items: start; /* an opened pill doesn't stretch its row neighbour */
  }
}

/* ---- The pill (native <details>/<summary>) ---- */
.sc-faqs-item {
  position: relative;
  overflow: hidden; /* clips the shine sweep to the rounded card */
  background: #fff;
  border: 1px solid rgba(17, 17, 17, 0.09);
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

/* POP on hover — lift + gold border + glow (clone of .sc-contact-card:hover) */
@media (hover: hover) and (pointer: fine) {
  .sc-faqs-item:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 190, 61, 0.5);
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.09), 0 0 20px rgba(255, 190, 61, 0.2);
  }
}

.sc-faqs-item[open] {
  border-color: rgba(255, 190, 61, 0.6);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.07);
}

/* SHINE on hover — gold sheen sweep (gold, not the white screen-blend recipe —
   see header note). Desktop fine-pointer ≥992px only; respects reduced-motion. */
.sc-faqs-item::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(105deg, transparent 38%, rgba(255, 190, 61, 0.22) 50%, transparent 62%);
  opacity: 0;
  transform: translateX(-100%);
  pointer-events: none;
  z-index: 1;
}

@media (hover: hover) and (pointer: fine) and (min-width: 992px) {
  .sc-faqs-item:hover::after {
    animation: scFaqsShine 2.4s ease-out forwards;
  }
}

@keyframes scFaqsShine {
  0%   { opacity: 0; transform: translateX(-100%); }
  15%  { opacity: 1; }
  100% { opacity: 0; transform: translateX(100%); }
}

/* ---- Summary (question row) ---- */
.sc-faqs-q {
  position: relative;
  z-index: 2; /* keep text/chevron above the shine sweep */
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.05rem 1.3rem;
  list-style: none;
  cursor: pointer;
}

.sc-faqs-q::-webkit-details-marker {
  display: none;
}

.sc-faqs-q-inner {
  display: flex;
  align-items: flex-start; /* pin the icon to the FIRST line of a wrapped question */
  gap: 0.7rem;
  min-width: 0; /* allow the question text to wrap */
}

.sc-faqs-icon {
  flex: 0 0 auto;
  display: inline-flex;
  margin-top: 2px; /* optical: center the 22px icon on the first text line */
  color: var(--sc-yellow);
  line-height: 0;
  transition: transform 0.2s ease;
}

.sc-faqs-icon svg {
  display: block;
  width: 22px;
  height: 22px;
}

/* Icon pops in concert with the card lift */
@media (hover: hover) and (pointer: fine) {
  .sc-faqs-item:hover .sc-faqs-icon {
    transform: scale(1.18);
  }
}

.sc-faqs-q-text {
  font-weight: 600;
  font-size: var(--shop-body);
  line-height: 1.45;
  color: var(--sc-dark);
}

/* Gold chevron — down when closed, flips up when open */
.sc-faqs-q::after {
  content: "";
  flex: 0 0 auto;
  width: 9px;
  height: 9px;
  margin-right: 4px;
  border-right: 2px solid var(--sc-yellow);
  border-bottom: 2px solid var(--sc-yellow);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}

.sc-faqs-item[open] .sc-faqs-q::after {
  transform: rotate(-135deg);
}

.sc-faqs-q:focus-visible {
  outline: 2px solid var(--sc-yellow);
  outline-offset: -2px;
  border-radius: 10px;
}

/* ---- Answer ---- */
.sc-faqs-a {
  position: relative;
  z-index: 2;
  /* Full-width like the contact FAQ (.sc-contact-faq-a): the answer starts at the
     card padding, NOT indented under the question text past the icon. */
  padding: 0 1.3rem 1.15rem;
  color: rgba(17, 17, 17, 0.78);
  line-height: 1.7;
}

.sc-faqs-a p {
  margin: 0 0 0.75rem;
}

.sc-faqs-a p:last-child {
  margin-bottom: 0;
}

.sc-faqs-a a {
  color: var(--sc-dark);
  text-decoration: underline;
  text-decoration-color: var(--sc-yellow);
}

.sc-faqs-a a:hover {
  color: var(--sc-yellow);
}

/* ---- Reduced motion: no lift, no shine, no icon scale ---- */
@media (prefers-reduced-motion: reduce) {
  .sc-faqs-item,
  .sc-faqs-icon,
  .sc-faqs-q::after {
    transition: none;
  }
  .sc-faqs-item:hover {
    transform: none;
  }
  .sc-faqs-item:hover .sc-faqs-icon {
    transform: none;
  }
  .sc-faqs-item:hover::after {
    animation: none;
  }
}

/* =========================================================
   PORTED FROM scopione-contact.css (FAQ-1c, Jun 7)

   The FAQ page co-loads scopione-contact.css for the copied bottom-7 blocks, but
   a few of that sheet's rules are body-scoped to .page-template-page-contact and
   so don't reach this page (body class .page-template-page-faqs). Rather than edit
   the shared sheet, those rules are re-declared here under .page-template-page-faqs.
   Values are verbatim from scopione-contact.css — keep in sync if the contact form
   styling is ever retuned.
   ========================================================= */

/* 1) Design tokens — type scale + section rhythm. The copied blocks AND the FAQ
   accordion above resolve these via var(); without them var(--shop-*) is undefined
   on this page. (scopione-contact.css scopes the same block to
   .page-template-page-contact, .page-template-page-dealer.) */
.page-template-page-faqs {
  --shop-h1: clamp(1.9rem, 4.5vw, 2.75rem);
  --shop-h2: clamp(1.55rem, 3.2vw, 2.1rem);
  --shop-body: clamp(1rem, 1.5vw, 1.1rem);
  --shop-small: clamp(0.8rem, 1.2vw, 0.9rem);
  --shop-section-gap: clamp(3rem, 5vw, 4rem);
  --sc-block-pad: calc(var(--shop-section-gap) / 2);
}

/* 2) CF7 submit pill — re-assert base + hover at page-template scope + !important so
   the gold→dark white-shine sweep wins over a plugin's global form-button :hover. */
.page-template-page-faqs .scopione-form-wrap .wpcf7 input.wpcf7-submit.btn-scopione {
  background-color: var(--sc-yellow) !important;
  background-image: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, 0.85) 50%, transparent 65%) !important;
  background-repeat: no-repeat !important;
  background-size: 250% 100% !important;
  background-position: 150% 0 !important;
  color: var(--sc-dark) !important;
  border: 2px solid transparent !important;
  transition: background-color 0.3s ease, background-position 0.7s ease, box-shadow 0.3s ease, color 0.3s ease, border-color 0.3s ease !important;
}

.page-template-page-faqs .scopione-form-wrap .wpcf7 input.wpcf7-submit.btn-scopione:hover,
.page-template-page-faqs .scopione-form-wrap .wpcf7 input.wpcf7-submit.btn-scopione:focus-visible {
  background-color: var(--sc-dark) !important;
  background-position: -50% 0 !important;
  color: #fff !important;
  border-color: var(--sc-yellow) !important;
  box-shadow: 0 0 25px rgba(255, 190, 61, 0.55), 0 10px 40px rgba(255, 190, 61, 0.28) !important;
}

@media (prefers-reduced-motion: reduce) {
  .page-template-page-faqs .scopione-form-wrap .wpcf7 input.wpcf7-submit.btn-scopione,
  .page-template-page-faqs .scopione-form-wrap .wpcf7 input.wpcf7-submit.btn-scopione:hover,
  .page-template-page-faqs .scopione-form-wrap .wpcf7 input.wpcf7-submit.btn-scopione:focus-visible {
    background-position: 150% 0 !important;
  }
}

/* 3) The copied "Let's Connect" form band — even section rhythm (was Bootstrap .py-5). */
.page-template-page-faqs section.bg-light#contact-form {
  padding-top: var(--sc-block-pad) !important;
  padding-bottom: var(--sc-block-pad) !important;
}

/* =========================================================
   AWARD-TIER PARITY (FAQ-5, Jun 7) — scroll-progress bar + scroll-reveal fades.

   Cloned from scopione-contact.css (884–908 + 781–803); the contact versions are
   body-scoped to .page-template-page-contact, so they never reached this page.
   Same gates as everywhere else: ≥768px + @supports + reduced-motion → a clean
   no-op on phones / older browsers / reduced-motion.
   ========================================================= */

/* Gold scroll-progress bar pinned to the viewport top; width tracks scroll depth. */
@media (prefers-reduced-motion: no-preference) and (min-width: 768px) {
  @supports (animation-timeline: scroll(root)) {
    .page-template-page-faqs::before {
      content: "";
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 2px;
      background: var(--sc-yellow);
      transform-origin: 0 50%;
      transform: scaleX(0);
      animation: sc-faqs-scroll-progress linear forwards;
      animation-timeline: scroll(root);
      z-index: 9999;
      pointer-events: none;
      box-shadow: 0 0 8px color-mix(in srgb, var(--sc-yellow) 60%, transparent);
    }

    @keyframes sc-faqs-scroll-progress {
      from { transform: scaleX(0); }
      to   { transform: scaleX(1); }
    }
  }
}

/* Scroll-reveal fade-ups — LIGHT sections only (the dark hero / marquee / ticker /
   final CTA are excluded: a translateY at a dark↔white boundary flashes the body
   bg — Trap #50). Opacity floor 0.6 so text never washes out mid-reveal. Each
   category fades in as it enters → a gentle staggered reveal of the accordion. */
@media (prefers-reduced-motion: no-preference) and (min-width: 768px) {
  @supports (animation-timeline: view()) {
    .page-template-page-faqs .sc-faqs-cat,
    .page-template-page-faqs section.bg-light#contact-form,
    .page-template-page-faqs .sc-contact-channels {
      animation: sc-faqs-fade-up linear both;
      animation-timeline: view();
      animation-range: entry 0% cover 30%;
    }

    @keyframes sc-faqs-fade-up {
      from {
        opacity: 0.6;
        transform: translateY(14px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }
  }
}

/* =========================================================
   CATEGORY QUICK-NAV (FAQ-6) — anchor pills above the accordion.

   Plain <a> links → work without JS (native hash jump); the FAQ JS adds the
   active-in-view state + smooth scroll. Sticky below the header on ≥768px.
   --sc-faqs-headh = the live sticky-header height (drives sticky-nav top + the
   scroll-margin so hash/nav jumps aren't hidden under the header). Tune ONE value
   if the header height differs.
   ========================================================= */
.page-template-page-faqs {
  --sc-faqs-headh: 64px; /* live sticky-header height — tucks the sticky nav right under it */
}

.sc-faqs-nav {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  max-width: 1040px;
  margin: 0 auto 1.6rem;
  padding: 0.65rem 0.9rem;
  /* The transparent border lights up into a floating card when the nav sticks
     (.is-stuck); the rest-state divider is the ::after gradient hairline below. */
  border: 1px solid transparent;
  transition: background-color 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

/* Enhanced divider (all screens) — a hairline that fades to transparent at both
   ends with a soft gold heart, instead of a flat full-width gray line. Hidden
   when the nav sticks (the card border takes over). */
.sc-faqs-nav::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.45rem; /* drop the divider a little further below the pills */
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(17, 17, 17, 0.08) 22%,
    rgba(255, 190, 61, 0.55) 50%,
    rgba(17, 17, 17, 0.08) 78%,
    transparent 100%
  );
  transition: opacity 0.2s ease;
}
.sc-faqs-nav.is-stuck::after {
  opacity: 0;
}

@media (min-width: 768px) {
  .sc-faqs-nav {
    position: sticky;
    top: var(--sc-faqs-headh);
    z-index: 20;
  }
  /* Stuck (toggled by the FAQ JS): morph into a floating card matching the Q/A
     pills — same 1px border + 10px radius — so it reads as part of the design. */
  .sc-faqs-nav.is-stuck {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: saturate(1.5) blur(8px);
    -webkit-backdrop-filter: saturate(1.5) blur(8px);
    border-color: rgba(17, 17, 17, 0.09);
    border-radius: 10px;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.1);
  }
}

.sc-faqs-nav-pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 44px; /* WCAG tap target */
  padding: 0.4rem 1rem;
  /* Match the brand CTA pill (.sc-contact-cta-btn): 8px radius + a white shine
     sweep that fires on the gold→dark hover. A visible resting border keeps the
     white pill defined against the white page. */
  border: 2px solid rgba(17, 17, 17, 0.12);
  border-radius: 8px;
  background-color: #fff;
  background-image: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, 0.85) 50%, transparent 65%);
  background-repeat: no-repeat;
  background-size: 250% 100%;
  background-position: 150% 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  color: var(--sc-dark);
  font-size: var(--shop-small);
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color 0.3s ease, background-position 0.7s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
}

.sc-faqs-nav-icon {
  display: inline-flex;
  color: var(--sc-yellow);
  line-height: 0;
  transition: transform 0.2s ease, color 0.3s ease;
}
.sc-faqs-nav-icon svg {
  width: 16px;
  height: 16px;
}

/* Hover = the CTA treatment: gold→dark + white shine sweep + gold glow; the icon
   pops. color:#fff also kills the default link-blue that was leaking on :hover. */
@media (hover: hover) and (pointer: fine) {
  .sc-faqs-nav-pill:hover {
    background-color: var(--sc-dark);
    background-position: -50% 0;
    color: #fff;
    border-color: var(--sc-yellow);
    box-shadow: 0 6px 16px rgba(255, 190, 61, 0.3);
    transform: translateY(-1px);
  }
  .sc-faqs-nav-pill:hover .sc-faqs-nav-icon {
    transform: scale(1.18);
  }
}

.sc-faqs-nav-pill:focus-visible {
  outline: 2px solid var(--sc-yellow);
  outline-offset: 2px;
}

/* Active = the category currently in view (set by the FAQ JS): solid gold, no
   sweep. Stays gold on hover (just lifts + pops the icon). */
.sc-faqs-nav-pill.is-active {
  background-color: var(--sc-yellow);
  background-image: none;
  border-color: var(--sc-yellow);
  color: var(--sc-dark);
  box-shadow: 0 4px 12px rgba(255, 190, 61, 0.26);
}
.sc-faqs-nav-pill.is-active .sc-faqs-nav-icon {
  color: var(--sc-dark);
}
@media (hover: hover) and (pointer: fine) {
  .sc-faqs-nav-pill.is-active:hover {
    background-color: var(--sc-yellow);
    color: var(--sc-dark);
    box-shadow: 0 6px 16px rgba(255, 190, 61, 0.3);
    transform: translateY(-1px);
  }
}

/* Anchor offset so a hash / nav jump lands below the sticky header (+ sticky nav ≥768px).
   Higher specificity than the global `:target { scroll-margin-top:96px }` so it wins. */
.page-template-page-faqs .sc-faqs-cat,
.page-template-page-faqs .sc-faqs-item {
  scroll-margin-top: calc(var(--sc-faqs-headh) + 10px);
}

@media (min-width: 768px) {
  .page-template-page-faqs .sc-faqs-cat,
  .page-template-page-faqs .sc-faqs-item {
    scroll-margin-top: calc(var(--sc-faqs-headh) + 64px); /* + the sticky nav's height */
  }
}

@media (prefers-reduced-motion: reduce) {
  .sc-faqs-nav-pill,
  .sc-faqs-nav-pill:hover {
    transition: none;
    background-position: 150% 0 !important; /* park the shine sweep */
  }
}

/* =========================================================
   SEARCH + TOOLS (FAQ-7) — revealed by JS (progressive enhancement).

   The tools/clear/no-results carry the `hidden` attribute in the markup; the
   `[hidden]` guards below beat the display rules so they truly hide until JS
   removes the attribute (a class with `display:flex` would otherwise win over UA
   `[hidden]{display:none}`).
   ========================================================= */
.sc-faqs-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  max-width: 1040px;
  margin: 0 auto 0.85rem; /* pull the category pills closer to the search bar */
}
.sc-faqs-tools[hidden] {
  display: none;
}

.sc-faqs-search {
  position: relative;
  display: flex;
  align-items: center;
  flex: 1 1 320px;
  max-width: 520px;
}

.sc-faqs-search-icon {
  position: absolute;
  left: 0.95rem;
  color: rgba(17, 17, 17, 0.4);
  pointer-events: none;
}

.sc-faqs-search-input {
  width: 100%;
  height: 48px;
  padding: 0 3rem 0 2.7rem; /* right room for the 44px clear button */
  border: 1px solid rgba(17, 17, 17, 0.14);
  border-radius: 8px; /* match the CTA / nav-pill radius for a cohesive block */
  background: #fff;
  font-size: var(--shop-body);
  color: var(--sc-dark);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.sc-faqs-search-input::placeholder {
  color: rgba(17, 17, 17, 0.45);
}
.sc-faqs-search-input:focus {
  outline: none;
  border-color: var(--sc-yellow);
  box-shadow: 0 0 0 3px rgba(255, 190, 61, 0.25);
}
/* Clear the sticky header when the "/" shortcut (or any anchor) focuses the search. */
.sc-faqs-search-input {
  scroll-margin-top: calc(var(--sc-faqs-headh) + 12px);
}
/* Drop the native WebKit search clear (we provide our own button). */
.sc-faqs-search-input::-webkit-search-decoration,
.sc-faqs-search-input::-webkit-search-cancel-button {
  -webkit-appearance: none;
  appearance: none;
}

.sc-faqs-search-clear {
  position: absolute;
  top: 50%;
  right: 3px;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; /* WCAG tap target (glyph stays small, centered) */
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: rgba(17, 17, 17, 0.5);
  font-size: 1.45rem;
  line-height: 1;
  cursor: pointer;
  transition: color 0.2s ease, background-color 0.2s ease;
}
.sc-faqs-search-clear[hidden] {
  display: none;
}
.sc-faqs-search-clear:hover {
  color: var(--sc-dark);
  background: rgba(17, 17, 17, 0.05);
}

.sc-faqs-toggle-all {
  position: relative;
  min-height: 44px;
  padding: 0 1.25rem;
  /* Match the brand CTA pill (.sc-contact-cta-btn): 8px + white shine sweep on hover.
     Visible resting border so it doesn't merge with the white page. */
  border: 2px solid rgba(17, 17, 17, 0.12);
  border-radius: 8px;
  background-color: #fff;
  background-image: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, 0.85) 50%, transparent 65%);
  background-repeat: no-repeat;
  background-size: 250% 100%;
  background-position: 150% 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  color: var(--sc-dark);
  font-size: var(--shop-small);
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease, background-position 0.7s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
@media (hover: hover) and (pointer: fine) {
  .sc-faqs-toggle-all:hover {
    background-color: var(--sc-dark);
    background-position: -50% 0;
    color: #fff;
    border-color: var(--sc-yellow);
    box-shadow: 0 6px 16px rgba(255, 190, 61, 0.3);
  }
}

.sc-faqs-toggle-all:focus-visible,
.sc-faqs-search-clear:focus-visible {
  outline: 2px solid var(--sc-yellow);
  outline-offset: 2px;
}

/* Filtered-out items / categories / nav-pills (toggled by the search). */
.sc-faqs-hidden {
  display: none !important;
}

/* "/" keyboard-shortcut hint — shows only when the field is empty + unfocused, on
   devices with a real pointer (hidden on touch). */
.sc-faqs-search-kbd {
  position: absolute;
  top: 50%;
  right: 0.85rem;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  font-family: var(--font-mono, monospace);
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(17, 17, 17, 0.5);
  background: rgba(17, 17, 17, 0.05);
  border: 1px solid rgba(17, 17, 17, 0.12);
  border-radius: 5px;
  pointer-events: none;
}
.sc-faqs-search-input:focus ~ .sc-faqs-search-kbd,
.sc-faqs-search-input:not(:placeholder-shown) ~ .sc-faqs-search-kbd {
  display: none;
}
@media (pointer: coarse) {
  .sc-faqs-search-kbd {
    display: none;
  }
}

/* Live result count + SR announcement (shown while searching). */
.sc-faqs-search-count {
  max-width: 1040px;
  margin: 0 auto 0.9rem;
  text-align: center;
  font-size: var(--shop-small);
  color: rgba(17, 17, 17, 0.7);
}
.sc-faqs-search-count[hidden] {
  display: none;
}

/* Designed empty-state — shown by JS when a search matches nothing. */
.sc-faqs-noresults {
  max-width: 460px;
  margin: 2rem auto 0;
  padding: 2rem 1.5rem;
  text-align: center;
  background: #fff;
  border: 1px solid rgba(17, 17, 17, 0.09);
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}
.sc-faqs-noresults[hidden] {
  display: none;
}
.sc-faqs-noresults-icon {
  display: inline-flex;
  margin-bottom: 0.5rem;
  color: var(--sc-yellow);
}
.sc-faqs-noresults-title {
  margin: 0 0 0.35rem;
  font-family: "Space Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--sc-dark);
}
.sc-faqs-noresults-text {
  margin: 0 0 1.15rem;
  font-size: var(--shop-body);
  line-height: 1.6;
  color: rgba(17, 17, 17, 0.7);
}
.sc-faqs-noresults-cta {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 1.4rem;
  border: 2px solid var(--sc-yellow);
  border-radius: 8px;
  background: var(--sc-yellow);
  color: var(--sc-dark);
  font-size: var(--shop-small);
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}
@media (hover: hover) and (pointer: fine) {
  .sc-faqs-noresults-cta:hover {
    background: var(--sc-dark);
    color: #fff;
    box-shadow: 0 6px 16px rgba(255, 190, 61, 0.3);
  }
}
.sc-faqs-noresults-cta:focus-visible {
  outline: 2px solid var(--sc-dark);
  outline-offset: 2px;
}

/* Small screens: stack the search + "Expand all" full-width (no awkward wrap). */
@media (max-width: 600px) {
  .sc-faqs-tools {
    flex-direction: column;
    gap: 0.6rem;
  }
  .sc-faqs-search {
    flex: 1 1 auto;
    width: 100%;
    max-width: none;
  }
  .sc-faqs-toggle-all {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sc-faqs-search-input,
  .sc-faqs-toggle-all,
  .sc-faqs-toggle-all:hover,
  .sc-faqs-search-clear,
  .sc-faqs-noresults-cta {
    transition: none;
    background-position: 150% 0 !important; /* park the toggle's shine sweep */
  }
}

/* =========================================================
   PRINT (FAQ-R3) — a clean, fully-expanded Q&A sheet.

   Native <details> print collapsed; force every answer open, drop the interactive
   chrome (search/nav/count/empty-state) and the decorative copied strips, and
   keep each pill from splitting across pages.
   ========================================================= */
@media print {
  .sc-faqs-tools,
  .sc-faqs-nav,
  .sc-faqs-search-count,
  .sc-faqs-noresults,
  .sc-contact-reveal,
  .sc-shop-ticker {
    display: none !important;
  }
  .sc-faqs-list {
    display: block !important; /* single column on paper */
  }
  .sc-faqs-a {
    display: block !important; /* every answer expanded */
  }
  .sc-faqs-q::after {
    content: none; /* drop the chevron */
  }
  .sc-faqs-item {
    break-inside: avoid;
    margin-bottom: 0.5rem;
    border: 1px solid #ddd;
    box-shadow: none;
  }
}
