/* Storefront FAQ Section Styling */

.jdh-faq-section {
  padding: 55px 0;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
}

.jdh-faq-title-wrap {
  text-align: center;
  margin-bottom: 35px;
}

.jdh-faq-title-wrap h2 {
  font-size: 1.85rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.jdh-faq-title-wrap p {
  font-size: 0.95rem;
  color: #64748b;
  max-width: 620px;
  margin: 0 auto;
}

/* Category Filter Pills */
.jdh-faq-categories {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 32px;
}

.jdh-faq-cat-btn {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #475569;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 8px 20px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.jdh-faq-cat-btn:hover {
  border-color: #0284c7;
  color: #0284c7;
  background: #f0f9ff;
}

.jdh-faq-cat-btn.active {
  background: #0284c7;
  border-color: #0284c7;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.25);
}

/* Accordion Card List */
.jdh-faq-accordion {
  max-width: 920px;
  margin: 0 auto;
}

.jdh-faq-item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  margin-bottom: 14px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.03);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.jdh-faq-item.active {
  border-color: #0284c7;
  box-shadow: 0 6px 18px rgba(2, 132, 199, 0.08);
}

.jdh-faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 18px 22px;
  background: transparent;
  border: none;
  text-align: left;
  font-size: 1.025rem;
  font-weight: 600;
  color: #1e293b;
  cursor: pointer;
  transition: color 0.2s ease;
}

.jdh-faq-question:hover {
  color: #0284c7;
}

.jdh-faq-icon {
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #f1f5f9;
  color: #64748b;
  font-size: 0.85rem;
  margin-left: 15px;
  flex-shrink: 0;
  transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease;
}

.jdh-faq-item.active .jdh-faq-icon {
  transform: rotate(180deg);
  background: #0284c7;
  color: #ffffff;
}

.jdh-faq-answer {
  display: none;
  padding: 0 22px 20px 22px;
  font-size: 0.935rem;
  line-height: 1.65;
  color: #475569;
}

.jdh-faq-item.active .jdh-faq-answer {
  display: block;
}

.jdh-faq-answer p {
  margin-bottom: 10px;
  color: #475569;
}

.jdh-faq-answer p:last-child {
  margin-bottom: 0;
}

.jdh-faq-answer ul {
  padding-left: 20px;
  margin: 10px 0;
}

.jdh-faq-answer ul li {
  display: list-item !important;
  margin-bottom: 6px;
}
