
.faq-page-shell {
  width: min(calc(100% - (var(--site-gutter) * 2)), var(--site-max-width));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* Hero */
.faq-page-hero {
  background: #f4f4f4;
  border-bottom: 1px solid #e2e2e2;
}

.faq-page-hero-copy {
  max-width: 940px;
  padding: clamp(64px, 7vw, 96px) 0 clamp(70px, 8vw, 108px);
}

.faq-page-label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 20px;
  padding: 10px 14px;
  border: 1px solid #dedede;
  background: #e9e9e9;
  color: #343133;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .055em;
  text-transform: uppercase;
}

.faq-page-label i {
  font-size: 16px;
}

.faq-page-hero h1 {
  max-width: 820px;
  margin: 0;
  color: #171216;
  font-size: clamp(50px, 5vw, 78px);
  font-weight: 500;
  letter-spacing: -.045em;
  line-height: 1.04;
}

.faq-page-hero-copy > p {
  max-width: 720px;
  margin: 22px 0 0;
  color: #686365;
  font-size: 17px;
  line-height: 1.75;
}

.faq-search-wrap {
  display: grid;
  grid-template-columns: 22px minmax(0,1fr) auto;
  align-items: center;
  gap: 12px;
  width: min(720px, 100%);
  margin-top: 34px;
  padding: 0 16px;
  border: 1px solid #d4d4d4;
  background: #fff;
}

.faq-search-wrap > i {
  color: #817b7e;
  font-size: 19px;
}

.faq-search-input {
  min-width: 0;
  min-height: 54px;
  border: 0;
  outline: 0;
  background: transparent;
  color: #242122;
  font-family: "Poppins", Arial, sans-serif;
  font-size: 15px;
}

.faq-search-input::placeholder {
  color: #aaa4a7;
}

.faq-search-clear {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 50%;
  background: #efefef;
  color: #242122;
  cursor: pointer;
}

/* Main layout */
.faq-page-content {
  padding: 82px 0 90px;
  background: #fff;
}

.faq-page-layout {
  display: grid;
  grid-template-columns: minmax(220px, .42fr) minmax(0, 1.58fr);
  gap: clamp(48px, 7vw, 110px);
  align-items: start;
}

.faq-page-sidebar {
  position: sticky;
  top: 168px;
}

.faq-page-sidebar-label {
  margin: 0 0 14px;
  color: #777174;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.faq-category-tabs {
  display: grid;
  border-top: 1px solid #e2e0e1;
}

.faq-category-tab {
  min-height: 48px;
  padding: 0;
  border-bottom: 1px solid #e2e0e1;
  background: transparent;
  color: #6d676a;
  cursor: pointer;
  font-family: "Poppins", Arial, sans-serif;
  font-size: 13px;
  text-align: left;
  transition: color 180ms ease, padding-left 220ms var(--ease-premium);
}

.faq-category-tab:hover,
.faq-category-tab:focus-visible,
.faq-category-tab.is-active {
  color: #171216;
  outline: none;
}

.faq-category-tab.is-active {
  padding-left: 10px;
  font-weight: 500;
}

.faq-category-tab.is-active::before {
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-right: 9px;
  border-radius: 50%;
  background: var(--brand);
  content: "";
  vertical-align: 2px;
}

.faq-sidebar-help {
  margin-top: 28px;
  padding: 20px;
  background: #f8f8f8;
  border: 1px solid #e5e5e5;
}

.faq-sidebar-help span {
  display: block;
  color: #777174;
  font-size: 11px;
}

.faq-sidebar-help a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 9px;
  color: #242122;
  font-size: 12px;
  font-weight: 500;
}

.faq-sidebar-help i {
  transition: transform 220ms var(--ease-premium);
}

.faq-sidebar-help a:hover i,
.faq-sidebar-help a:focus-visible i {
  transform: translateX(3px);
}

.faq-page-head {
  margin-bottom: 28px;
}

.faq-page-kicker {
  margin: 0 0 10px;
  color: var(--brand);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.faq-page-head h2 {
  margin: 0;
  color: #171216;
  font-size: clamp(34px, 3vw, 50px);
  font-weight: 500;
  letter-spacing: -.04em;
  line-height: 1.08;
}

.faq-results-status {
  min-height: 18px;
  margin: 12px 0 0;
  color: #817b7e;
  font-size: 11px;
}

/* Accordion cards */
.faq-page-list {
  display: grid;
  gap: 12px;
}

.faq-page-item {
  overflow: hidden;
  border: 1px solid #e1dfdf;
  background: #f9f9f9;
  transition: background-color 200ms ease, border-color 200ms ease;
}

.faq-page-item.is-open {
  border-color: #d2d0d0;
  background: #fff;
}

.faq-page-question {
  display: grid;
  width: 100%;
  min-height: 78px;
  grid-template-columns: minmax(0,1fr) 34px;
  align-items: center;
  gap: 18px;
  padding: 0 20px 0 22px;
  background: transparent;
  color: #211f20;
  cursor: pointer;
  text-align: left;
}

.faq-page-question span {
  font-family: "Poppins", Arial, sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.45;
}

.faq-page-question i {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 50%;
  background: #ececec;
  color: #242122;
  font-size: 18px;
  transition: transform 280ms var(--ease-premium), background-color 180ms ease, color 180ms ease;
}

.faq-page-item.is-open .faq-page-question i {
  background: #242122;
  color: #fff;
  transform: rotate(45deg);
}

.faq-page-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 320ms var(--ease-premium);
}

.faq-page-answer > div {
  overflow: hidden;
}

.faq-page-item.is-open .faq-page-answer {
  grid-template-rows: 1fr;
}

.faq-page-answer p {
  max-width: 820px;
  margin: 0;
  padding: 0 64px 24px 22px;
  color: #706a6d;
  font-size: 14px;
  line-height: 1.8;
}

.faq-page-item[hidden] {
  display: none !important;
}

.faq-empty-state {
  padding: 56px 20px;
  border: 1px solid #e3e1e2;
  background: #fafafa;
  text-align: center;
}

.faq-empty-state i {
  color: #817b7e;
  font-size: 30px;
}

.faq-empty-state h3 {
  margin: 12px 0 0;
  color: #242122;
  font-size: 18px;
  font-weight: 500;
}

.faq-empty-state p {
  margin: 7px 0 0;
  color: #817b7e;
  font-size: 13px;
}

@media (max-width: 980px) {
  .faq-page-layout {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .faq-page-sidebar {
    position: static;
  }

  .faq-category-tabs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    border-top: 0;
    scrollbar-width: none;
  }

  .faq-category-tabs::-webkit-scrollbar {
    display: none;
  }

  .faq-category-tab {
    flex: 0 0 auto;
    min-height: 40px;
    padding: 9px 14px;
    border: 1px solid #dedcdc;
    background: #fff;
    white-space: nowrap;
  }

  .faq-category-tab.is-active {
    padding-left: 14px;
    border-color: #242122;
    background: #242122;
    color: #fff;
  }

  .faq-category-tab.is-active::before {
    display: none;
  }

  .faq-sidebar-help {
    display: none;
  }
}

@media (max-width: 650px) {
  .faq-page-hero-copy {
    padding: 46px 0 58px;
  }

  .faq-page-label {
    margin-bottom: 17px;
    padding: 9px 12px;
    font-size: 10px;
  }

  .faq-page-hero h1 {
    font-size: 44px;
  }

  .faq-page-hero-copy > p {
    font-size: 15px;
  }

  .faq-search-wrap {
    margin-top: 26px;
  }

  .faq-search-input {
    font-size: 16px;
  }

  .faq-page-content {
    padding: 56px 0 62px;
  }

  .faq-page-head h2 {
    font-size: 34px;
  }

  .faq-page-question {
    min-height: 72px;
    padding: 0 16px 0 18px;
  }

  .faq-page-question span {
    font-size: 15px;
  }

  .faq-page-answer p {
    padding: 0 48px 22px 18px;
    font-size: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .faq-page-answer,
  .faq-page-question i,
  .faq-category-tab,
  .faq-sidebar-help i {
    transition-duration: .01ms !important;
  }
}


/* =========================================================
   FAQ PAGE — POLISHED INTERACTION SYSTEM
   ========================================================= */
.faq-page-hero-copy {
  position: relative;
}

.faq-page-label {
  transition:
    background-color 200ms ease,
    border-color 200ms ease,
    transform 220ms var(--ease-premium);
}

.faq-page-label:hover {
  background: #e3e3e3;
  border-color: #d4d4d4;
  transform: translateY(-1px);
}

.faq-search-wrap {
  position: relative;
  transition:
    border-color 180ms ease,
    background-color 180ms ease,
    transform 220ms var(--ease-premium);
}

.faq-search-wrap:hover {
  border-color: #bdbdbd;
}

.faq-search-wrap:focus-within {
  border-color: #242122;
  background: #fff;
  transform: translateY(-1px);
}

.faq-search-clear {
  transition:
    background-color 180ms ease,
    color 180ms ease,
    transform 200ms var(--ease-premium);
}

.faq-search-clear:hover,
.faq-search-clear:focus-visible {
  background: #242122;
  color: #fff;
  outline: none;
  transform: rotate(90deg);
}

/* Category controls */
.faq-category-tab {
  position: relative;
}

.faq-category-tab:hover {
  padding-left: 8px;
}

.faq-category-tab:active {
  transform: translateX(2px);
}

.faq-category-tab.is-active {
  color: #171216;
}

.faq-sidebar-help {
  transition:
    background-color 200ms ease,
    border-color 200ms ease,
    transform 220ms var(--ease-premium);
}

.faq-sidebar-help:hover {
  background: #f3f3f3;
  border-color: #d9d9d9;
  transform: translateY(-2px);
}

.faq-sidebar-help a {
  position: relative;
}

.faq-sidebar-help a::after {
  position: absolute;
  right: 0;
  bottom: -3px;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms var(--ease-premium);
}

.faq-sidebar-help a:hover::after,
.faq-sidebar-help a:focus-visible::after {
  transform: scaleX(1);
}

/* Heading toolbar */
.faq-page-toolbar {
  display: flex;
  min-height: 36px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 14px;
}

.faq-results-status {
  min-height: 18px;
  margin: 0;
}

.faq-expand-all {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  gap: 7px;
  padding: 0;
  background: transparent;
  color: #514c4e;
  cursor: pointer;
  font-family: "Poppins", Arial, sans-serif;
  font-size: 11px;
  font-weight: 500;
}

.faq-expand-all i {
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 50%;
  background: #efefef;
  color: #242122;
  font-size: 15px;
  transition:
    background-color 180ms ease,
    color 180ms ease,
    transform 220ms var(--ease-premium);
}

.faq-expand-all:hover,
.faq-expand-all:focus-visible {
  color: #171216;
  outline: none;
}

.faq-expand-all:hover i,
.faq-expand-all:focus-visible i {
  background: #242122;
  color: #fff;
}

.faq-expand-all[aria-pressed="true"] i {
  transform: rotate(45deg);
}

/* FAQ cards */
.faq-page-item {
  position: relative;
  transition:
    background-color 200ms ease,
    border-color 200ms ease,
    transform 220ms var(--ease-premium);
}

.faq-page-item:hover {
  border-color: #d4d1d2;
  background: #fff;
  transform: translateY(-1px);
}

.faq-page-item.is-open {
  border-color: #cfcfd0;
  background: #fff;
}

.faq-page-question {
  grid-template-columns: 36px minmax(0, 1fr) 34px;
  padding-left: 18px;
  transition:
    background-color 180ms ease,
    color 180ms ease;
}

.faq-page-question:hover,
.faq-page-question:focus-visible {
  background: rgba(0,0,0,.018);
  outline: none;
}

.faq-page-question:active {
  background: rgba(0,0,0,.03);
}

.faq-question-index {
  color: #9a9497;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .04em;
}

.faq-question-text {
  min-width: 0;
}

.faq-page-item.is-open .faq-question-index {
  color: var(--brand);
}

.faq-page-question i {
  box-shadow: none;
}

.faq-page-question:hover i,
.faq-page-question:focus-visible i {
  background: #dfdfdf;
}

.faq-page-item.is-open .faq-page-question i {
  background: #242122;
  color: #fff;
}

/* Soft content reveal */
.faq-page-answer p {
  opacity: 0;
  transform: translateY(-4px);
  transition:
    opacity 180ms ease,
    transform 240ms var(--ease-premium);
}

.faq-page-item.is-open .faq-page-answer p {
  opacity: 1;
  transform: translateY(0);
}

/* Empty state interaction */
.faq-empty-state {
  transition: background-color 200ms ease, border-color 200ms ease;
}

.faq-empty-state:hover {
  background: #f7f7f7;
  border-color: #d7d5d6;
}

/* Mobile category rail feels tactile */
@media (max-width: 980px) {
  .faq-category-tab {
    transition:
      background-color 180ms ease,
      border-color 180ms ease,
      color 180ms ease,
      transform 180ms ease;
  }

  .faq-category-tab:hover {
    padding-left: 14px;
    transform: translateY(-1px);
  }

  .faq-category-tab.is-active {
    color: #fff;
  }
}

@media (max-width: 650px) {
  .faq-page-toolbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .faq-expand-all {
    align-self: flex-end;
  }

  .faq-page-question {
    grid-template-columns: 28px minmax(0, 1fr) 32px;
    gap: 12px;
    padding-left: 14px;
  }

  .faq-question-index {
    font-size: 9px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .faq-page-label,
  .faq-search-wrap,
  .faq-search-clear,
  .faq-page-item,
  .faq-page-question,
  .faq-page-answer p,
  .faq-expand-all i,
  .faq-sidebar-help,
  .faq-sidebar-help a::after {
    transition-duration: .01ms !important;
  }
}


/* FAQ interaction safeguards */
.faq-category-tab,
.faq-page-question,
.faq-search-clear {
  position: relative;
  z-index: 1;
  pointer-events: auto;
  touch-action: manipulation;
}

.faq-page-question {
  cursor: pointer;
}

.faq-page-answer {
  pointer-events: none;
}

.faq-page-item.is-open .faq-page-answer {
  pointer-events: auto;
}


/* =========================================================
   FAQ PAGE — accordion layout + category tab sizing fix
   ========================================================= */

/* Make each accordion card participate in normal document flow cleanly. */
.faq-page-list {
  display: grid;
  gap: 14px;
  align-items: start;
}

.faq-page-item {
  display: block;
  width: 100%;
  overflow: hidden;
  border: 1px solid #e1dfdf;
  background: #f9f9f9;
}

.faq-page-question {
  display: grid;
  width: 100%;
  min-height: 82px;
  grid-template-columns: minmax(0, 1fr) 34px;
  align-items: center;
  gap: 18px;
  padding: 0 22px 0 24px;
  border: 0;
  background: transparent;
  box-sizing: border-box;
}

.faq-page-question span {
  min-width: 0;
  font-size: 17px;
  line-height: 1.5;
}

.faq-page-answer {
  display: block;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition:
    max-height 320ms var(--ease-premium),
    opacity 220ms ease;
}

.faq-page-item.is-open .faq-page-answer {
  max-height: 360px;
  opacity: 1;
}

.faq-page-answer > div {
  overflow: visible;
}

.faq-page-answer p {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0 66px 26px 24px;
  box-sizing: border-box;
  color: #706a6d;
  font-size: 15px;
  line-height: 1.8;
}

/* Larger and clearer left-side category tabs. */
.faq-category-tab {
  min-height: 54px;
  font-size: 15px;
  font-weight: 500;
}

.faq-page-sidebar-label {
  font-size: 11px;
}

@media (max-width: 980px) {
  .faq-category-tab {
    min-height: 44px;
    padding: 10px 16px;
    font-size: 14px;
  }
}

@media (max-width: 650px) {
  .faq-page-question {
    min-height: 74px;
    padding: 0 17px 0 18px;
  }

  .faq-page-question span {
    font-size: 16px;
  }

  .faq-page-answer p {
    padding: 0 48px 22px 18px;
    font-size: 14px;
  }

  .faq-page-item.is-open .faq-page-answer {
    max-height: 420px;
  }

  .faq-category-tab {
    min-height: 42px;
    padding: 9px 14px;
    font-size: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .faq-page-answer {
    transition-duration: .01ms !important;
  }
}


/* FAQ hero + customer-care CTA refinement */
.faq-page-hero-copy > p {
  max-width: 820px;
  font-size: 18px;
  line-height: 1.8;
}

.faq-sidebar-help a {
  font-size: 15px;
  line-height: 1.5;
}

.faq-sidebar-help span {
  font-size: 12px;
}

@media (max-width: 650px) {
  .faq-page-hero-copy > p {
    max-width: 100%;
    font-size: 16px;
  }

  .faq-sidebar-help a {
    font-size: 14px;
  }
}
