/* AutoHub product page (loaded after product.css and product-kit.css). Accent colours come from .theme-autohub in tokens.css. */

/* ---------- Hero: lane markings converging on the horizon ---------- */
.ah-hero .hero-motif { opacity: .16; }

/* ---------- Stock explorer ---------- */
.stock { display: grid; gap: 22px; }
.stock__top { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(18px, 3vw, 32px); align-items: center; }
.donut {
    position: relative; display: grid; place-items: center; width: 132px; height: 132px; border-radius: 50%;
    background: conic-gradient(var(--success) 0 50%, var(--warn) 0 66.67%, var(--primary) 0 83.34%, var(--accent) 0 100%);
}
.donut::before { content: ""; position: absolute; inset: 17px; background: var(--surface); border-radius: 50%; }
.donut__n { position: relative; display: grid; justify-items: center; line-height: 1.1; }
.donut__n b { font-family: var(--font-display); font-size: 2rem; }
.donut__n small { font-size: .78rem; color: var(--muted); }
.stock__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.stock__chips .chip { min-height: 38px; padding-inline: 14px; font-size: .9rem; }
.chip i { width: 9px; height: 9px; border-radius: 50%; background: currentColor; }
.chip i.s-ok { background: var(--success); } .chip i.s-warn { background: var(--warn); }
.chip i.s-sold { background: var(--primary); } .chip i.s-fix { background: var(--accent); }
.chip.is-active i { box-shadow: 0 0 0 2px var(--paper); }
.cars { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.cars li {
    display: grid; grid-template-columns: 44px minmax(0, 1fr) auto auto; align-items: center; gap: 14px; padding: 10px 14px;
    background: var(--surface-2); border: 1px solid var(--line); border-radius: 10px;
}
.cars li[hidden] { display: none; }
.cars__ico { display: grid; place-items: center; width: 44px; height: 32px; color: var(--accent); background: var(--accent-soft); border-radius: 8px; }
.cars__ico svg { width: 22px; height: 22px; }
.cars b { display: block; line-height: 1.3; }
.cars small { color: var(--muted); }
.cars__price { font-weight: 650; white-space: nowrap; }
.pill--fix { color: var(--accent); background: var(--accent-soft); }
@media (max-width: 560px) {
    .stock__top { grid-template-columns: 1fr; justify-items: start; }
    .cars li { grid-template-columns: 44px minmax(0, 1fr) auto; }
    .cars__price { grid-column: 2; grid-row: 2; }
    .cars li .pill { grid-column: 3; grid-row: 1 / span 2; align-self: center; }
}

.mock__split { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 10px 16px; margin-block-end: 16px; padding: 12px 14px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 10px; }
.mock__split b { display: block; }
.mock__split small { color: var(--muted); }
.mock__arrow { display: flex; align-items: center; gap: 10px; margin-block: 4px 16px; font-size: .88rem; color: var(--muted); }
.mock__arrow svg { width: 16px; height: 16px; color: var(--accent); }
[dir="rtl"] .mock__arrow svg { transform: scaleX(-1); }
