/* ================================================
   REVIEWS, FAQ ACCORDION, COD SELECTOR & LIGHT MODE POLISH
   ================================================ */

/* Clean framing on lifestyle images */
.family-image-wrapper, .ecom-usage-photo, .pp-trust-card, .c-card {
  position: relative;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

/* Reviews Section (Light Mode) */
.ecom-reviews-section {
  padding: 80px 0;
  border-top: 1px solid #e5e7eb;
  background: #ffffff;
}

.ecom-reviews-section .section-heading,
.ecom-faq-section .section-heading,
.ecom-community-section .section-heading {
  color: #111827;
}

.ecom-reviews-rating-summary {
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding: 30px;
  border-radius: 20px;
  margin-bottom: 40px;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
}

@media (min-width: 768px) {
  .ecom-reviews-rating-summary {
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
  }
}

.score-box {
  text-align: center;
}

.score-number {
  font-family: var(--font-display);
  font-size: 64px;
  line-height: 1;
  color: #111827;
}

.score-stars {
  color: #d97706;
  font-size: 24px;
  letter-spacing: 2px;
  margin: 4px 0;
}

.score-sub {
  font-size: 13px;
  color: #6b7280;
}

.rating-bars {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 280px;
}

.r-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: #4b5563;
}

.bar-fill {
  flex: 1;
  height: 8px;
  background: #e5e7eb;
  border-radius: 4px;
  overflow: hidden;
}

.bar-fill .fill {
  height: 100%;
  background: #d97706;
  border-radius: 4px;
}

.ecom-reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.ecom-review-card {
  padding: 24px;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

.rev-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
}

.rev-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.rev-avatar {
  width: 42px;
  height: 42px;
  background: var(--cta-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 16px;
  color: #fff;
}

.rev-name {
  font-weight: 600;
  color: #111827;
  font-size: 15px;
  display: block;
}

.rev-badge {
  font-size: 11px;
  color: #059669;
  display: block;
  font-weight: 500;
}

.rev-stars {
  color: #d97706;
  font-size: 14px;
  letter-spacing: 1px;
}

.rev-text {
  font-size: 14px;
  color: #374151;
  line-height: 1.6;
  margin-bottom: 16px;
  font-style: italic;
}

.rev-date {
  font-size: 11px;
  color: #9ca3af;
}

/* FAQ Accordion Section (Light Mode) */
.ecom-faq-section {
  padding: 80px 0;
  border-top: 1px solid #e5e7eb;
  background: #f9fafb;
}

.ecom-faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  border-radius: 14px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  background: transparent;
  border: none;
  color: #111827;
  font-weight: 600;
  font-size: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  text-align: left;
}

.faq-icon {
  font-size: 22px;
  color: var(--brand-red);
  transition: transform 0.3s ease;
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-out-expo), padding 0.4s ease;
  padding: 0 24px;
}

.faq-item.active .faq-answer {
  max-height: 250px;
  padding: 0 24px 20px;
}

.faq-answer p {
  font-size: 14px;
  color: #4b5563;
  line-height: 1.7;
}

/* Payment Type Selector (Light Mode) */
.payment-type-selector {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pay-option {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  cursor: pointer;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.pay-option input[type="radio"] {
  margin-top: 4px;
  accent-color: var(--brand-red);
}

.pay-option strong {
  display: block;
  font-size: 14px;
  color: #111827;
}

.pay-option .pay-sub {
  font-size: 11px;
  color: #6b7280;
  display: block;
}

.pay-option:hover, .pay-option.active {
  border-color: var(--brand-red);
  background: #fff5f5;
}

/* Sticky Bottom Bar (Light Mode) */
.ecom-sticky-bar {
  background: rgba(255, 255, 255, 0.95);
  border-top: 1px solid #e5e7eb;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
}

.bar-title {
  color: #111827;
}

.bar-sub {
  color: #6b7280;
}

/* Footer (Light Mode) */
.site-footer {
  background: #f9fafb;
  border-top: 1px solid #e5e7eb;
  color: #374151;
}

.footer-brand {
  color: #111827;
}

.footer-links a {
  color: #6b7280;
}

.footer-links a:hover {
  color: var(--brand-red);
}

.footer-copyright {
  color: #9ca3af;
}

.footer-disclaimer {
  color: #9ca3af;
}
