/* Trinity's Fair / Good / Great bands, adapted to the Family First storefront. */
.fendy-value { border-top:1px solid var(--shop-line); margin-block:1rem; padding-top:1rem; color:var(--shop-ink); text-align:left; letter-spacing:0; min-width:0; }
.fendy-value:empty { display:none; }
.fendy-value p { color:var(--shop-muted); font-size:.75rem; line-height:1.65; margin:.55rem 0 0; }
.value-brand { display:inline-flex; align-items:center; gap:.25rem; font-size:.82rem; font-weight:600; }
.value-brand img { width:30px; height:24px; object-fit:contain; }
.value-price { display:flex; flex-wrap:wrap; gap:.4rem; align-items:center; margin-top:.65rem; }
.value-price > strong { font-size:.95rem; }
.value-rating { display:flex; align-items:center; justify-content:center; gap:.4rem; font-size:.85rem; }
.value-rating[data-deal="Fair Deal"] { color:#fcd34d; }.value-rating[data-deal="Good Deal"] { color:#bef264; }.value-rating[data-deal="Great Deal"] { color:#34d399; }
.value-unavailable { display:block; color:var(--shop-muted); font-size:.75rem; font-weight:500; margin-top:.35rem; }
.value-compact .value-rating { justify-content:flex-start; }
.value-compact .value-savings { font-size:.7rem; }
.value-meter { width:100%; max-width:240px; margin-inline:auto; position:relative; }
.value-meter > svg { width:100%; display:block; }
.value-meter .value-rating { margin-top:-1.9rem; position:relative; }
.value-scale { display:flex; justify-content:space-between; margin-top:.8rem; color:var(--shop-muted); font-size:.65rem; }
.fendy-value .value-basis { font-size:.65rem; }
.value-competitors { margin-top:1rem; border-top:1px solid var(--shop-line); padding-top:1rem; }
.value-competitors > strong { font-size:.75rem; }
.value-comps { list-style:none; padding:0; margin:1rem 0 0; display:grid; gap:.85rem; }
.value-comps li { display:grid; grid-template-columns:80px minmax(0,1fr); gap:.65rem; align-items:start; font-size:.75rem; overflow-wrap:anywhere; }
.value-comps li > img, .value-photo-empty { width:80px; height:60px; object-fit:cover; border-radius:5px; background:var(--shop-surface); }
.value-photo-empty { display:grid; place-items:center; padding:.25rem; color:var(--shop-muted); font-size:.6rem; text-align:center; }
.value-comps small, .value-comps li strong { display:block; line-height:1.5; }.value-comps small { color:var(--shop-muted); font-size:.7rem; }.value-comps li strong:last-child { margin-top:.3rem; }
.value-comps-dialog { max-width:520px; }
:root[data-theme="light"] .value-rating[data-deal="Fair Deal"] { color:#805900; }
:root[data-theme="light"] .value-rating[data-deal="Good Deal"] { color:#42670b; }
:root[data-theme="light"] .value-rating[data-deal="Great Deal"] { color:#087549; }

.vehicle-value-detail > .fendy-value { max-width:560px; margin-top:2rem; }
/* Keep purchase actions reachable when the desktop summary is taller than the screen. */
@media(min-width:901px) { .premium-detail .vehicle-summary:has(.fendy-value) { max-height:calc(100dvh - 124px); overflow-y:auto; scrollbar-width:thin; scrollbar-color:var(--shop-gold) transparent; } }
