/* Shared product FAQ accordion; content continues to come from product data. */
.yaho-product-faq {
  width: 100%;
  margin: 0;
  color: var(--ld-Auxiliary1, #222);
  font-family: Poppins, Arial, sans-serif;
}

.yaho-product-faq-item {
  margin: 0 0 10px;
  border: 1px solid #e5e5e5;
  border-left: 5px solid var(--ld-main1, #e60012);
  border-radius: 4px;
  overflow: hidden;
}

.yaho-product-faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  padding: 18px 20px 18px 15px;
  border: 0;
  background: #f8f8f8;
  color: inherit;
  cursor: pointer;
  text-align: left;
  font: 700 18px/1.4 Poppins, Arial, sans-serif;
  transition: background-color .25s ease, color .25s ease;
}

.yaho-product-faq-question:hover,
.yaho-product-faq-item.is-open > .yaho-product-faq-question {
  background: rgba(153, 153, 153, .2);
}

.yaho-product-faq-question-text > :first-child { margin-top: 0; }
.yaho-product-faq-question-text > :last-child { margin-bottom: 0; }

.yaho-product-faq-icon {
  position: relative;
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  color: #333;
}

.yaho-product-faq-icon::before,
.yaho-product-faq-icon::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  content: "";
  transform: translate(-50%, -50%);
  transition: transform .25s ease;
}

.yaho-product-faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.yaho-product-faq-item.is-open .yaho-product-faq-icon::after { transform: translate(-50%, -50%) rotate(0); }

.yaho-product-faq-answer {
  max-height: 0;
  overflow: hidden;
  background: #f5f5f5;
  opacity: 0;
  transition: max-height .35s ease, opacity .25s ease;
}

.yaho-product-faq-answer-inner {
  padding: 0 20px 15px;
  color: #333;
  font-size: 15px;
  line-height: 1.7;
}

.yaho-product-faq-answer-inner > :first-child { margin-top: 0; }
.yaho-product-faq-answer-inner > :last-child { margin-bottom: 0; }
.yaho-product-faq-item.is-open .yaho-product-faq-answer { opacity: 1; }

@media (max-width: 767px) {
  .yaho-product-faq { width: calc(100% - 32px); }
  .yaho-product-faq-question { gap: 12px; padding: 15px 14px 15px 12px; font-size: 16px; }
  .yaho-product-faq-answer-inner { padding: 0 14px 14px 12px; font-size: 14px; }
}

@media (min-width: 768px) and (max-width: 989px) {
  .yaho-product-faq { width: calc(100% - 48px); }
}
