.jlc-pdp-faqs {
  width: 100%;
  margin: 0 auto;
}

body.single-product .jlc-pdp-faqs__title {
  margin: 0 0 28px;
  text-align: center;
  font-family: "Cinzel";
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--jlc-pdp-heading);
}

.jlc-pdp-faqs__list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 900px;
  margin: 0 auto;
}

.jlc-pdp-faq {
  overflow: hidden;
  border: 1px solid #ece4db;
  border-radius: 18px;
  background: #ffffff;
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s ease,
    background-color 0.25s ease;
}

.jlc-pdp-faq:hover {
  border-color: rgba(193, 154, 107, 0.45);
  box-shadow: 0 14px 34px rgba(30, 30, 30, 0.06);
  transform: translateY(-2px);
}

.jlc-pdp-faq.is-active {
  border-color: var(--jlc-gallery-primary);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.08);
}

.jlc-pdp-faq__button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  padding: 16px 26px;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
}

.jlc-pdp-faq:hover .jlc-pdp-faq__button {
  background: transparent;
}

.jlc-pdp-faq__button,
.jlc-pdp-faq__button:hover {
  background: transparent;
  border: 0;
  color: inherit;
  text-decoration: none;
  box-shadow: none;
  outline: none;
}

.jlc-pdp-faq__button:focus,
.jlc-pdp-faq__button:focus-visible {
  background: transparent;
  color: var(--jlc-gallery-primary);
}

.is-active .jlc-pdp-faq__button:active {
  background: transparent;
  color: var(--jlc-gallery-primary);
}

.is-active .jlc-pdp-faq__button .jlc-pdp-faq__question {
  font-weight: 700 !important;
}

.jlc-pdp-faq__question {
  flex: 1;
  font-size: 17px;
  text-wrap: balance;
  font-weight: 600;
  line-height: 1.55;
  color: var(--jlc-pdp-heading);
  transition: color 0.25s ease;
}

.jlc-pdp-faq:hover .jlc-pdp-faq__question {
  color: var(--jlc-gallery-primary);
}

/**
 * ==========================================
 * ICON
 * ==========================================
 */

.jlc-pdp-faq__icon {
  flex-shrink: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  width: 42px;
  height: 42px;

  border-radius: 50%;

  background: rgba(255, 95, 0, 0.08);
  color: var(--jlc-gallery-primary);

  transition:
    background-color 0.28s ease,
    color 0.28s ease,
    transform 0.28s ease,
    box-shadow 0.28s ease;
}

.jlc-pdp-faq__icon svg {
  display: block;

  width: 14px;
  height: 14px;

  transition: transform 0.28s ease;
}

.jlc-pdp-faq:hover .jlc-pdp-faq__icon {
  background: rgba(255, 95, 0, 0.15);
}

.jlc-pdp-faq.is-active .jlc-pdp-faq__icon {
  background: var(--jlc-gallery-primary);
  color: #fff;

  box-shadow: 0 10px 22px rgba(255, 95, 0, 0.28);
}

.jlc-pdp-faq.is-active .jlc-pdp-faq__icon svg {
  transform: rotate(180deg);
}

.jlc-pdp-faq__content {
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.42s ease,
    opacity 0.25s ease;
}

.jlc-pdp-faq__answer {
  max-height: 200px;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 0 100px 28px 26px;
  font-size: 15px;
  line-height: 1.9;
  color: #5d5d5d;
  scrollbar-width: thin;
  scrollbar-color: var(--jlc-gallery-primary) #f5f5f5;
}

.jlc-pdp-faq__answer p {
  margin: 0 0 14px;
}

.jlc-pdp-faq__answer p:last-child {
  margin-bottom: 0;
}

.jlc-pdp-faq__answer ul,
.jlc-pdp-faq__answer ol {
  margin: 16px 0;

  padding-left: 22px;
}

.jlc-pdp-faq__answer li {
  margin-bottom: 8px;
}

.jlc-pdp-faq__answer strong {
  color: var(--jlc-pdp-heading);
}

.jlc-pdp-faq__answer::-webkit-scrollbar {
  width: 8px;
}

.jlc-pdp-faq__answer::-webkit-scrollbar-track {
  background: #f5f5f5;
  border-radius: 20px;
}

.jlc-pdp-faq__answer::-webkit-scrollbar-thumb {
  background: var(--jlc-gallery-primary);
  border-radius: 20px;
}

.jlc-pdp-faq__answer::-webkit-scrollbar-thumb:hover {
  background: #d45d16;
}

@media (max-width: 767px) {
  body.single-product .jlc-pdp-faqs__title {
    margin-bottom: 22px;
    font-size: 1.55rem;
  }

  .jlc-pdp-faqs__list {
    gap: 14px;
    padding: 0 10px;
  }

  .jlc-pdp-faq {
    border-radius: 16px;
  }

  .jlc-pdp-faq__button {
    gap: 16px;
    padding: 18px;
  }

  .jlc-pdp-faq__question {
    font-size: 15px;
    line-height: 1.45;
  }

  .jlc-pdp-faq__icon {
    width: 36px;
    height: 36px;
    font-size: 24px;
  }

  .jlc-pdp-faq__answer {
    padding: 0 18px 20px;
    font-size: 14px;
    line-height: 1.75;
  }
}
