/* ─── CUSTOMER REVIEWS ─────────────────────────────── */
/* Aggregate stars + collapsible review list, injected by /public/reviews.js.
   Section starts hidden; JS un-hides it once /api/products/:slug/reviews
   returns at least one review. */
.reviews-section {
    margin-top: 60px;
    padding: 40px 0 0;
    border-top: 1px solid var(--cream-dark);
}
.reviews-header { margin-bottom: 18px; }
.reviews-header .section-tag { color: var(--coral); }
.reviews-header h2 { font-family: 'Instrument Serif', serif; font-size: 28px; font-weight: 400; color: var(--dark); }
.reviews-summary { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 14px; color: var(--text-muted); font-weight: 500; }
.reviews-summary-stars { display: inline-flex; align-items: center; gap: 2px; color: var(--coral); }
.reviews-summary-stars svg { width: 18px; height: 18px; fill: currentColor; }
.reviews-summary-rating { font-family: 'Syne', sans-serif; font-weight: 700; color: var(--dark); font-size: 16px; }
.reviews-summary-count { color: var(--text-muted); }
.reviews-details {
    margin-top: 18px; background: white;
    border: 1px solid var(--cream-dark); border-radius: 12px;
    transition: border 0.2s;
}
.reviews-details[open] { border-color: rgba(232,105,74,0.25); }
.reviews-details > summary {
    cursor: pointer; list-style: none;
    padding: 16px 20px;
    font-family: 'DM Sans', sans-serif; font-size: 14px; font-weight: 600;
    color: var(--dark); display: flex; align-items: center; gap: 10px;
    user-select: none; border-radius: 12px;
}
.reviews-details > summary::-webkit-details-marker { display: none; }
.reviews-details > summary::before {
    content: '›'; font-family: 'Syne', sans-serif; font-weight: 700;
    font-size: 18px; color: var(--coral); width: 12px;
    display: inline-block; transition: transform 0.2s;
}
.reviews-details[open] > summary::before { transform: rotate(90deg); }
.reviews-details > summary:hover { background: var(--cream); }
.reviews-list { display: flex; flex-direction: column; padding: 4px 20px 20px; }
.review-card { padding: 16px 0; border-top: 1px solid var(--cream-dark); }
.review-card:first-child { border-top: none; }
.review-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.review-author { font-family: 'DM Sans', sans-serif; font-weight: 600; font-size: 14px; color: var(--dark); }
.review-stars { display: inline-flex; align-items: center; gap: 1px; color: var(--coral); }
.review-stars svg { width: 14px; height: 14px; fill: currentColor; }
.review-stars svg.empty { fill: var(--cream-dark); }
.review-text { font-size: 14px; line-height: 1.65; color: var(--text-muted); font-weight: 300; margin: 0; }
.review-date { font-size: 12px; color: var(--text-muted); margin-top: 6px; font-weight: 400; opacity: 0.75; }
@media (max-width: 768px) {
    .reviews-header h2 { font-size: 24px; }
}
