/* FAQ 三品牌页共用 */
.faq-page {
  --faq-red: #e72c27;
  --faq-text: #333;
  --faq-muted: #888;
  --faq-line: #eee;
  font-family: "微软雅黑", "Microsoft YaHei", "Source Han Sans CN", sans-serif;
}

.faq-page__inner {
  width: 100%;
  margin: 0 auto;
  position: relative;
}

.faq-page__header {
  text-align: center;
  margin-bottom: 40px;
}

.faq-page__title {
  margin: 0;
  font-size: 32px;
  line-height: 1.4;
  color: var(--faq-text);
  font-weight: 600;
  letter-spacing: 0.04em;
}

.faq-page__subtitle {
  margin: 12px 0 0;
  font-size: 14px;
  color: var(--faq-muted);
}

.faq-page__rule {
  width: 40px;
  height: 3px;
  background: var(--faq-red);
  margin: 18px auto 0;
}

.faq-layout {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.faq-aside {
  flex: 0 0 220px;
  background: #fff;
  padding: 24px 0 16px;
}

.faq-aside__label {
  padding: 0 24px 14px;
  font-size: 13px;
  color: #999;
  letter-spacing: 0.04em;
}

.faq-aside__link {
  display: block;
  padding: 14px 24px;
  text-decoration: none;
  color: var(--faq-text);
  font-size: 15px;
  border-left: 3px solid transparent;
  font-weight: 400;
  background: transparent;
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.faq-aside__link:hover {
  color: var(--faq-red);
  background: #fafafa;
}

.faq-aside__link.is-active {
  color: var(--faq-red);
  font-weight: 600;
  border-left-color: var(--faq-red);
  background: #fff5f5;
}

.faq-main {
  flex: 1;
  min-width: 0;
}

.faq-panel {
  background: #fff;
  padding: 36px 40px 40px;
  box-sizing: border-box;
}

.faq-panel__title {
  margin: 0 0 8px;
  font-size: 22px;
  line-height: 1.4;
  color: var(--faq-text);
  font-weight: 600;
}

.faq-panel__desc {
  margin: 0 0 8px;
  font-size: 13px;
  color: #999;
}

.faq-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0 8px;
  padding: 0;
  border: 0;
}

.faq-cats__btn {
  appearance: none;
  -webkit-appearance: none;
  margin: 0;
  padding: 8px 14px;
  border: 1px solid #e8e8e8;
  border-radius: 0;
  background: #fff;
  color: #666;
  font-size: 13px;
  line-height: 1.3;
  font-family: inherit;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.faq-cats__btn:hover {
  color: var(--faq-red);
  border-color: #f0c4c2;
}

.faq-cats__btn.is-active {
  color: #fff;
  background: var(--faq-red);
  border-color: var(--faq-red);
  font-weight: 600;
}

.faq-cats__btn:focus-visible {
  outline: 3px solid #e59700;
  outline-offset: 2px;
}

.faq-cat-panel {
  margin-top: 8px;
}

.faq-cat-panel[hidden] {
  display: none !important;
}

.faq-cat-empty {
  margin: 24px 0 8px;
  padding: 20px 0;
  border-top: 1px solid var(--faq-line);
  color: #999;
  font-size: 14px;
  line-height: 1.7;
}

.faq-list {
  margin-top: 8px;
}

.faq-item {
  border-top: 1px solid var(--faq-line);
  padding: 22px 4px 22px 0;
  transition: background-color 0.2s ease;
}

.faq-item:last-child {
  padding-bottom: 0;
}

.faq-item__q {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0 0 12px;
  font-size: 16px;
  line-height: 1.55;
  color: var(--faq-text);
  font-weight: 600;
}

.faq-item__badge {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  margin-top: 1px;
  padding: 0 6px;
  background: var(--faq-red);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.02em;
}

.faq-item__a {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0;
  padding-left: 0;
  font-size: 14px;
  line-height: 1.9;
  color: #666;
}

.faq-item__a-label {
  flex: 0 0 auto;
  min-width: 22px;
  color: var(--faq-red);
  font-weight: 600;
  font-size: 13px;
  line-height: 1.9;
  text-align: center;
}

.faq-item__a-text {
  flex: 1;
  min-width: 0;
}
