
/* HEDA SHELVES | GLOBAL PRODUCT FAQ */

#heda-product-faq {
  --faq-primary: #ba3035;
  --faq-primary-dark: #94252a;
  --faq-dark: #253039;
  --faq-text: #48565f;
  --faq-muted: #77838b;
  --faq-line: #e3e8eb;
  --faq-light: #f6f8f9;
  --faq-white: #ffffff;

  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 30px 0 45px;
  color: var(--faq-dark);
  background: #ffffff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  line-height: 1.75;
  box-sizing: border-box;
}

#heda-product-faq *,
#heda-product-faq *::before,
#heda-product-faq *::after {
  box-sizing: border-box;
}

#heda-product-faq .hf-header {
  margin-bottom: 32px;
  text-align: center;
}

#heda-product-faq .hf-eyebrow {
  display: block;
  margin-bottom: 12px;
  color: var(--faq-primary);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
}

#heda-product-faq .hf-header h2 {
  margin: 0;
  padding: 0;
  color: var(--faq-dark);
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.25;
  font-weight: 750;
  letter-spacing: -0.7px;
}

#heda-product-faq .hf-header p {
  max-width: 680px;
  margin: 13px auto 0;
  color: var(--faq-muted);
  font-size: 14px;
  line-height: 1.8;
}

#heda-product-faq .hf-header-line {
  display: block;
  width: 42px;
  height: 3px;
  margin: 20px auto 0;
  background: var(--faq-primary);
}

/* FAQ ACCORDION */

#heda-product-faq .hf-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

#heda-product-faq .hf-item {
  display: block;
  overflow: hidden;
  margin: 0;
  padding: 0;
  border: 1px solid var(--faq-line);
  border-radius: 8px;
  background: var(--faq-white);
  transition: border-color .2s ease, box-shadow .2s ease;
}

#heda-product-faq .hf-item:hover {
  border-color: #cbd4da;
}

#heda-product-faq .hf-item[open] {
  border-color: #e8c6c8;
  box-shadow: 0 5px 22px rgba(37,48,57,.045);
}

#heda-product-faq .hf-item summary {
  display: flex;
  align-items: center;
  gap: 17px;
  min-height: 67px;
  padding: 18px 22px;
  margin: 0;
  list-style: none;
  cursor: pointer;
  background: var(--faq-white);
  transition: background .2s ease;
}

#heda-product-faq .hf-item summary::-webkit-details-marker {
  display: none;
}

#heda-product-faq .hf-item summary::marker {
  content: "";
}

#heda-product-faq .hf-item[open] summary {
  background: #fcf7f7;
}

#heda-product-faq .hf-number {
  display: flex;
  flex: 0 0 36px;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 6px;
  background: var(--faq-light);
  color: var(--faq-primary);
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
}

#heda-product-faq .hf-item[open] .hf-number {
  background: var(--faq-primary);
  color: #ffffff;
}

#heda-product-faq .hf-question {
  display: block;
  flex: 1;
  min-width: 0;
  color: var(--faq-dark);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.55;
}

#heda-product-faq .hf-toggle {
  position: relative;
  display: block;
  flex: 0 0 26px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--faq-light);
}

#heda-product-faq .hf-toggle::before,
#heda-product-faq .hf-toggle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--faq-primary);
  transform: translate(-50%, -50%);
  transition: transform .2s ease;
}

#heda-product-faq .hf-toggle::before {
  width: 11px;
  height: 2px;
}

#heda-product-faq .hf-toggle::after {
  width: 2px;
  height: 11px;
}

#heda-product-faq .hf-item[open] .hf-toggle::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

#heda-product-faq .hf-item summary:focus-visible {
  outline: 2px solid var(--faq-primary);
  outline-offset: -3px;
}

/* ANSWER CONTENT */

#heda-product-faq .hf-answer {
  padding: 21px 26px 25px 75px;
  margin: 0;
  border-top: 1px solid #f0e4e5;
  background: #ffffff;
}

#heda-product-faq .hf-answer p {
  margin: 0 0 12px;
  padding: 0;
  color: var(--faq-text);
  font-size: 14px;
  line-height: 1.85;
}

#heda-product-faq .hf-answer p:last-child {
  margin-bottom: 0;
}

#heda-product-faq .hf-answer strong {
  color: var(--faq-dark);
  font-weight: 700;
}

#heda-product-faq .hf-answer ul,
#heda-product-faq .hf-answer ol {
  margin: 10px 0 16px;
  padding: 0 0 0 21px;
}

#heda-product-faq .hf-answer li {
  padding-left: 3px;
  margin-bottom: 7px;
  color: var(--faq-text);
  font-size: 14px;
  line-height: 1.75;
}

#heda-product-faq .hf-answer li::marker {
  color: var(--faq-primary);
}

#heda-product-faq .hf-answer li:last-child {
  margin-bottom: 0;
}

#heda-product-faq .hf-subsection {
  padding: 19px 22px;
  margin: 17px 0;
  border: 1px solid var(--faq-line);
  border-left: 3px solid var(--faq-primary);
  border-radius: 0 6px 6px 0;
  background: #fafbfc;
}

#heda-product-faq .hf-subsection h3 {
  margin: 0 0 12px;
  padding: 0;
  color: var(--faq-dark);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
}

#heda-product-faq .hf-subsection ol,
#heda-product-faq .hf-subsection ul {
  margin-bottom: 0;
}

#heda-product-faq .hf-highlight {
  padding: 14px 17px;
  margin-top: 16px;
  border-radius: 5px;
  background: #f3f6f8;
}

#heda-product-faq .hf-highlight p {
  margin: 0;
  font-size: 13px;
}

/* RESPONSIVE */

@media (max-width: 767px) {
  #heda-product-faq {
    padding: 20px 0 35px;
  }

  #heda-product-faq .hf-header {
    margin-bottom: 26px;
  }

  #heda-product-faq .hf-header h2 {
    font-size: 27px;
  }

  #heda-product-faq .hf-header p {
    font-size: 13px;
  }

  #heda-product-faq .hf-list {
    gap: 9px;
  }

  #heda-product-faq .hf-item summary {
    min-height: 61px;
    gap: 12px;
    padding: 15px 14px;
  }

  #heda-product-faq .hf-number {
    flex-basis: 32px;
    width: 32px;
    height: 32px;
    font-size: 11px;
  }

  #heda-product-faq .hf-question {
    font-size: 14px;
  }

  #heda-product-faq .hf-toggle {
    flex-basis: 24px;
    width: 24px;
    height: 24px;
  }

  #heda-product-faq .hf-answer {
    padding: 18px 17px 22px;
  }

  #heda-product-faq .hf-answer p,
  #heda-product-faq .hf-answer li {
    font-size: 13px;
  }

  #heda-product-faq .hf-subsection {
    padding: 17px 15px;
  }

  #heda-product-faq .hf-subsection h3 {
    font-size: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  #heda-product-faq .hf-item,
  #heda-product-faq .hf-item summary,
  #heda-product-faq .hf-toggle::before,
  #heda-product-faq .hf-toggle::after {
    transition: none;
  }
}
