/* FAQ Preview Styles */
.faq-preview {
  padding: 60px 24px;
  min-height: 300px;
}

.faq-header {
  margin-bottom: 32px;
}

.faq-header.centered {
  text-align: center;
}

.faq-title {
  font-size: 28px;
  font-weight: 700;
  margin: 0 0 4px 0;
  line-height: 1.2;
}

.faq-title.large {
  font-size: 32px;
  margin-bottom: 24px;
}

.faq-subtitle {
  font-size: 15px;
  margin: 12px 0 0 0;
  line-height: 1.5;
}

/* FAQ Items */
.faq-items {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 800px;
}

.faq-items.centered {
  margin: 0 auto;
}

.faq-item {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow 0.2s;
}

.faq-item:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.faq-item.compact {
  border-radius: 6px;
}

.faq-item.wide {
  border-radius: 0;
  border-left: none;
  border-right: none;
  border-top: none;
}

.faq-item.wide:first-child {
  border-top: 1px solid #e5e7eb;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 16px 20px;
  background: transparent;
  border: none;
  font-size: 15px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: background 0.2s;
}

.faq-item.compact .faq-question {
  padding: 12px 16px;
  font-size: 14px;
}

.faq-question:hover {
  background: rgba(0, 0, 0, 0.02);
}

.faq-question span {
  flex: 1;
  padding-right: 12px;
}

.faq-question .chevron {
  flex-shrink: 0;
  transition: transform 0.2s;
}

.faq-question .chevron.rotated {
  transform: rotate(90deg);
}

.faq-item.open .faq-question .chevron.rotated {
  transform: rotate(90deg);
}

/* Answer for ChevronDown */
.faq-2 .faq-question .chevron.rotated {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 20px 16px 20px;
  font-size: 14px;
  line-height: 1.6;
}

.faq-item.compact .faq-answer {
  padding: 0 16px 12px 16px;
  font-size: 13px;
}

/* FAQ 2 - Two column layout */
.faq-preview.faq-2 {
  display: flex;
  gap: 48px;
  align-items: flex-start;
}

.faq-left-col {
  flex: 0 0 35%;
  position: sticky;
  top: 20px;
}

.faq-right-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.faq-cta-btn {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 24px;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  color: white;
  cursor: pointer;
  transition: opacity 0.2s;
}

.faq-cta-btn:hover {
  opacity: 0.9;
}

/* FAQ Simple - Centered */
.faq-preview.faq-simple {
  padding: 80px 24px;
}

.faq-preview.faq-simple .faq-items {
  max-width: 700px;
  gap: 0;
}

/* ========================================
   Responsive - Media Queries (Storefront)
   ======================================== */
@media (max-width: 768px) {
  .faq-preview {
    padding: 40px 16px;
  }

  .faq-preview.faq-2 {
    flex-direction: column;
    gap: 32px;
  }

  .faq-left-col {
    flex: none;
    position: static;
    text-align: center;
  }

  .faq-title {
    font-size: 22px;
  }

  .faq-title.large {
    font-size: 26px;
  }

  .faq-subtitle {
    font-size: 14px;
  }

  .faq-items {
    max-width: 100%;
  }

  .faq-question {
    padding: 14px 16px;
    font-size: 14px;
  }

  .faq-answer {
    padding: 0 16px 14px 16px;
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .faq-preview {
    padding: 28px 12px;
    min-height: auto;
  }

  .faq-preview.faq-simple {
    padding: 36px 12px;
  }

  .faq-header {
    margin-bottom: 20px;
  }

  .faq-title {
    font-size: 20px;
  }

  .faq-title.large {
    font-size: 22px;
  }

  .faq-subtitle {
    font-size: 13px;
  }

  .faq-item {
    border-radius: 6px;
  }

  .faq-question {
    padding: 12px 14px;
    font-size: 13px;
  }

  .faq-answer {
    padding: 0 14px 12px 14px;
    font-size: 12px;
  }

  .faq-cta-btn {
    padding: 10px 20px;
    font-size: 13px;
  }
}


