/*
    Tide — customer review surfaces (collection confidence band, PDP "Collector reviews",
    home testimonial strip). Coastal-editorial: warm paper, navy ink, sand hairlines, gold
    accents, square corners, NO shadows. Loaded only when published reviews exist.
*/

/* ---- Shared star row (SVG, no icon font) ---- */
.t-review-stars { display: inline-flex; gap: 2px; line-height: 0; vertical-align: middle; }
.t-review-star { width: 14px; height: 14px; fill: var(--sand-line-2); flex: 0 0 auto; }
.t-review-star.is-on { fill: var(--gold-deep); }

/* ---- Shared review card (collection band + PDP) ---- */
.t-review-card {
    display: flex; flex-direction: column; gap: 11px; margin: 0;
    border: 1px solid var(--card-border); background: transparent; padding: 20px 22px;
}
.t-review-card__quote {
    font-family: var(--body-font); font-weight: 300; font-size: 14px; line-height: 1.7;
    color: var(--body-subtle); margin: 0;
}
.t-review-card__by {
    font-family: var(--mono); font-size: 11px; letter-spacing: .04em; color: var(--mono-muted);
}

/* ---- Collection: compact confidence band between header and grid ---- */
.t-reviews-band {
    max-width: var(--maxw); margin: 0 auto; padding: 20px var(--gutter) 26px;
    border-top: 1px solid var(--sand-line);
}
.t-reviews-band__head { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.t-reviews-band__score { font-size: 30px; line-height: 1; color: var(--ink); }
.t-reviews-band__meta { font-family: var(--mono); font-size: 12px; letter-spacing: .04em; color: var(--mono-muted); }
.t-reviews-band__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

/* ---- PDP: "Collector reviews" section above the related grid ---- */
.t-reviews-pdp { max-width: var(--maxw); margin: 0 auto; padding: 6px var(--gutter) 18px; }
.t-reviews-pdp__head { font-family: var(--display); font-weight: 500; font-size: clamp(1.5rem, 2.4vw, 30px); margin: 0 0 8px; color: var(--ink); }
.t-reviews-pdp__scope { max-width: 760px; margin: 0 0 22px; color: var(--body-subtle); font-size: 13px; line-height: 1.6; }
.t-reviews-pdp__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }

/* ---- Home: one quiet testimonial strip near the certificate strip ---- */
.t-reviews-strip {
    max-width: var(--maxw); margin: 0 auto; padding: 34px var(--gutter);
    display: flex; flex-direction: column; align-items: center; text-align: center; gap: 13px;
    border-top: 1px solid var(--sand-line);
}
.t-reviews-strip__seal { color: var(--gold); font-size: 18px; line-height: 1; }
.t-reviews-strip__quote {
    font-family: var(--display); font-weight: 500; font-size: clamp(1.2rem, 2.1vw, 25px);
    line-height: 1.5; color: var(--ink); max-width: 760px; margin: 0;
}
.t-reviews-strip__by { font-family: var(--mono); font-size: 12px; letter-spacing: .05em; color: var(--mono-muted); }

@media (max-width: 900px) {
    .t-reviews-band__cards { grid-template-columns: 1fr; }
    /* Keep the band compact on small screens — one representative card. */
    .t-reviews-band__cards .t-review-card:nth-child(n+2) { display: none; }
}
@media (max-width: 700px) {
    .t-reviews-pdp__grid { grid-template-columns: 1fr; }
}
