/* ================================================
   SWIFTEKART – LEGAL / INFO PAGES
   (Privacy Policy, Refund Policy, Shipping Policy, FAQ)
================================================ */

.legal-hero {
  background: linear-gradient(135deg, #2e7d32, #43a047);
  color: #fff;
  text-align: center;
  padding: 56px 20px;
}

.legal-hero h1 {
  font-size: 30px;
  font-weight: 800;
  margin-bottom: 8px;
}

.legal-hero p {
  font-size: 14px;
  color: rgba(255,255,255,0.9);
}

.legal-wrapper {
  max-width: 900px;
  margin: 0 auto;
  padding: 48px 20px 70px;
}

.legal-wrapper h2 {
  font-size: 19px;
  font-weight: 700;
  color: #14251a;
  margin: 32px 0 12px;
}

.legal-wrapper h2:first-child { margin-top: 0; }

.legal-wrapper p,
.legal-wrapper li {
  font-size: 15px;
  line-height: 1.7;
  color: #444;
}

.legal-wrapper ul,
.legal-wrapper ol {
  margin: 10px 0 10px 22px;
}

.legal-wrapper a { color: #2e7d32; font-weight: 600; }

.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 14px;
}

.legal-table th,
.legal-table td {
  border: 1px solid #e5e5e5;
  padding: 10px 14px;
  text-align: left;
}

.legal-table th {
  background: #eaf6ec;
  color: #14251a;
  font-weight: 700;
}

/* ================================================
   FAQ ACCORDION
================================================ */
.faq-list { margin-top: 8px; }

.faq-item {
  border: 1px solid #eee;
  border-radius: 14px;
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  background: #fafafa;
  border: none;
  text-align: left;
  padding: 16px 20px;
  font-size: 15px;
  font-weight: 600;
  color: #14251a;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transition: background .2s ease;
}

.faq-question:hover { background: #f0faf4; }

.faq-question .faq-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #2e7d32;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .25s ease;
}

.faq-item.open .faq-question .faq-icon { transform: rotate(45deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
  background: #fff;
}

.faq-answer-inner {
  padding: 0 20px 18px;
  font-size: 14.5px;
  color: #555;
  line-height: 1.7;
}

@media (max-width: 600px) {
  .legal-hero { padding: 40px 16px; }
  .legal-hero h1 { font-size: 24px; }
  .legal-wrapper { padding: 32px 16px 50px; }
}
