/* CVCC Recently Bought gallery — v1. Card rules copied verbatim from
   cvcc-home-v11.css (the homepage band) so the gallery pages render the
   identical card component inside the interior-page family. Consumes the
   shared design tokens from cvcc-pages-v2.css; do not redefine :root here.
   The one adaptation: interior blocks sit on a light background, so the
   white cards carry the family's standard border to stay defined. */
.recent-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.car-card{background:#fff;color:#15191f;border:1px solid var(--line);border-radius:18px;overflow:hidden}
.car-photo{position:relative;height:190px;overflow:hidden;background:#d8dce0}
.car-photo img{width:100%;height:100%;object-fit:cover;display:none}
.car-photo img.active{display:block}
.gallery-button{position:absolute;top:50%;transform:translateY(-50%);width:34px;height:34px;border:0;border-radius:50%;display:grid;place-items:center;background:rgba(11,15,19,.76);color:#fff;font-size:22px;line-height:1;cursor:pointer}
.gallery-button:hover{background:var(--orange)}
.gallery-button.prev{left:10px}
.gallery-button.next{right:10px}
.gallery-count{position:absolute;right:10px;bottom:10px;padding:3px 8px;border-radius:999px;background:rgba(11,15,19,.76);color:#fff;font-size:12px;font-weight:800}
.car-card-body{padding:20px}
.car-card-top{display:flex;justify-content:space-between;gap:16px}
.car-card h3{font-size:22px;margin-bottom:5px}
.car-card p{margin:0;color:#66717b;font-size:14px}
@media(max-width:900px){.recent-grid{grid-template-columns:1fr 1fr}}
@media(max-width:680px){.recent-grid{grid-template-columns:1fr}}
