/* Shared FAQ accordion — matches product category pages */
.category-faq-section {
  margin-top: 0;
}

.faq-main-title {
  font-size: clamp(26px, 3vw, 36px) !important;
  font-weight: 700;
  color: var(--gz-ink, #0c252b);
  margin: 0 0 30px;
  text-align: center;
  line-height: 1.2;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--gz-line, #e5e5e5);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: border-color .3s ease, box-shadow .3s ease;
}

.faq-item.active {
  border-color: var(--gz-red, #ef4d48);
  box-shadow: 0 5px 20px rgba(239, 77, 72, .08);
}

button.faq-question {
  width: 100% !important;
  background: transparent !important;
  border: 0 !important;
  padding: 20px 25px !important;
  margin: 0 !important;
  text-align: left !important;
  font-size: 18px !important;
  font-weight: 700;
  color: var(--gz-ink, #0c252b) !important;
  cursor: pointer !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  gap: 16px;
  border-radius: 0 !important;
}

button.faq-question:hover {
  color: var(--gz-red, #ef4d48) !important;
}

.faq-icon {
  position: relative;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #f8fdff;
  border: 1px solid #ddecf0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color .3s ease, border-color .3s ease;
}

.faq-item.active .faq-icon {
  background: var(--gz-red, #ef4d48);
  border-color: var(--gz-red, #ef4d48);
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  background-color: var(--gz-red, #ef4d48);
  transition: transform .3s ease, background-color .3s ease;
}

.faq-icon::before {
  width: 12px;
  height: 2px;
}

.faq-icon::after {
  width: 2px;
  height: 12px;
}

.faq-item.active .faq-icon::before,
.faq-item.active .faq-icon::after {
  background-color: #fff;
}

.faq-item.active .faq-icon::after {
  transform: rotate(90deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease-out;
}

.faq-answer-inner {
  padding: 0 25px 25px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--gz-muted, #453e3e);
}

.faq-answer-inner p {
  margin: 0 0 12px;
}

.faq-answer-inner p:last-child {
  margin-bottom: 0;
}

.faq-answer-inner ul,
.faq-answer-inner ol {
  margin: 0 0 12px;
  padding-left: 1.2em;
}

@media (max-width: 768px) {
  button.faq-question {
    font-size: 16px !important;
    padding: 16px !important;
    gap: 12px;
    min-height: 44px;
  }

  .faq-answer-inner {
    padding: 0 16px 16px;
    font-size: 15px;
  }

  .faq-icon {
    width: 32px;
    height: 32px;
  }
}
