/* === TRUST SURFACES (owner commission 2026-11-19; surface 2 rebuilt
   as the guarantees panel «الضمانات الأربعة» by the owner's decision
   2026-11-20, replacing the rejected evidence panel) ===
   One governed sheet for the surfaces in inc/v5/trust-surface.php.
   Tokens are the DS ladder only (--surface card on --bg base, --line
   borders, --radius corners, --ink/--ink-2 type, --accent/--star/--save
   functional hues). Motion discipline: surfaces are read, not watched —
   no authored motion on any surface.
   Type rhythm mirrors the sibling trust furniture (.rn7-storetrust /
   .rn7-guide-trust): quiet facts, one step below the buy column. */

/* --- 1a. Live reviews strip -------------------------------------------
   A horizontal rail of compact real-review cards. The rail scrolls
   inside its own box (overflow-x auto), so the page itself never
   gains horizontal scroll; cards reserve their height (text clamped
   to 3 lines) so the strip adds zero layout shift once rendered. */
.rn7-live-strip { padding: 22px 0 6px; }
.rn7-live-title { display: flex; align-items: center; gap: 7px; margin: 0 16px 10px; font-size: 13px; font-weight: 800; color: var(--ink); }
.rn7-live-dot { flex: 0 0 auto; width: 7px; height: 7px; border-radius: 50%; background: var(--save); }
.rn7-live-rail { display: flex; gap: 10px; overflow-x: auto; padding: 2px 16px 10px; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.rn7-live-rail::-webkit-scrollbar { display: none; }
.rn7-live-card { flex: 0 0 272px; max-width: 272px; scroll-snap-align: start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; display: flex; flex-direction: column; gap: 7px; }
.rn7-live-card .rn5-stars { flex: 0 0 auto; }
.rn7-live-card .rn5-star svg { display: block; width: 13px; height: 13px; }
.rn7-live-text { margin: 0; font-size: 13px; line-height: 1.7; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; min-height: calc(13px * 1.7 * 3); }
.rn7-live-meta { margin-top: auto; display: flex; align-items: center; flex-wrap: wrap; gap: 6px; font-size: 11.5px; line-height: 1.5; color: var(--ink-2); }
.rn7-live-ava { flex: 0 0 auto; width: 22px; height: 22px; border-radius: 50%; background: var(--surface-2); color: var(--ink); display: inline-flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 800; }
.rn7-live-name { font-weight: 700; color: var(--ink); }
.rn7-live-prod { max-width: 130px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rn7-live-ver { display: inline-flex; align-items: center; gap: 3px; color: var(--save); font-weight: 700; }
.rn7-live-when { margin-inline-start: auto; white-space: nowrap; }
@media (min-width: 768px) {
	.rn7-live-title { margin-inline: 20px; }
	.rn7-live-rail { padding-inline: 20px; }
	.rn7-live-card { flex-basis: 300px; max-width: 300px; }
}

/* --- 1b. Category-head rating line ------------------------------------
   The ONE store-rating line at the head of every category archive:
   the store-trust line's typography, one step quieter than the H1. */
.rn7-cat-rate { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; row-gap: 2px; margin: 10px 16px 0; padding: 0 2px; font-size: 12.5px; line-height: 1.5; color: var(--ink-2); }
@media (min-width: 768px) {
	.rn7-cat-rate { margin-inline: 20px; }
}
.rn7-cat-rate-label { flex: 0 0 auto; font-weight: 700; }
.rn7-cat-rate .rn5-stars { flex: 0 0 auto; }
.rn7-cat-rate .rn5-star svg { display: block; width: 13px; height: 13px; }
.rn7-cat-rate b { color: var(--ink); font-weight: 800; }
.rn7-cat-rate > span:last-child { white-space: nowrap; }

/* --- 2. Guarantees panel «الضمانات الأربعة» (owner's decision
   2026-11-20, replacing the rejected evidence panel in the same
   position) ---------------------------------------------------------
   Four guarantees as a ledger of commitments: one full-width row
   per guarantee — a 40px icon medallion in the identity dark-2
   with an accent glyph from the theme's own icon set, a bold
   label and one quiet restating line. The panel ground steps
   DOWN from the page ground (#191919 under the #222328 base) so
   the block reads as a recessed vault, with the accent reserved
   for the title bar and the icon glyphs. No motion: the panel is
   read beside the buy column, never watched. */
.rn7-guar { background: #191919; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 16px; margin: 14px 0 4px; }
.rn7-guar-title { display: flex; align-items: center; gap: 9px; margin: 0; font-size: 17px; font-weight: 800; line-height: 1.4; color: var(--ink); }
.rn7-guar-bar { flex: 0 0 auto; width: 4px; height: 20px; border-radius: 2px; background: var(--accent); }
.rn7-guar-grid { display: grid; grid-template-columns: 1fr; gap: 15px; margin-top: 16px; }
.rn7-guar-cell { display: flex; gap: 11px; align-items: flex-start; min-width: 0; }
.rn7-guar-ico { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 12px; background: #2e2e2e; color: var(--accent); display: inline-flex; align-items: center; justify-content: center; }
.rn7-guar-ico svg { display: block; }
.rn7-guar-tx { min-width: 0; padding-top: 1px; }
.rn7-guar-v { margin: 0; font-size: 14px; font-weight: 800; line-height: 1.5; color: var(--ink); }
.rn7-guar-l { margin: 2px 0 0; font-size: 12px; line-height: 1.55; color: var(--ink-2); }
.rn7-guar-brands { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; margin: 6px 0 0; }
.rn7-guar-brand { background: #2e2e2e; color: var(--ink); font-size: 11px; font-weight: 700; line-height: 1.4; padding: 3px 8px; border-radius: 7px; white-space: nowrap; }
/* Brand-mark chips: the footer marks' capsule metrics (rasid.css
   .rn7-mark) — white capsule, 22px total height — so the official
   artwork reads faithfully on the panel's dark floor. */
.rn7-guar-brand--logo { background: #fff; height: 22px; width: auto; max-width: 64px; padding: 2px 5px; border-radius: 4px; box-sizing: border-box; object-fit: contain; }
@media (min-width: 768px) {
	.rn7-guar { padding: 20px; }
	.rn7-guar-grid { gap: 16px; }
}

/* --- 3. Speed chips (modifiers on the card system's .rn7-badge) -------
   Colour discipline: --save is reserved for the measured instant
   claim (same hue as the legacy instant chip it supersedes);
   --accent carries informational measured/window chips. */
.rn7-badge--speed-instant { color: var(--save); }
.rn7-badge--speed-gift { color: var(--accent); }
.rn7-badge--speed-measured { color: var(--accent); }
.rn7-badge--speed svg { flex: none; }
