/* Vehicle cards only. Hero styling is shared with inventory in header.css. */
@keyframes richel-card-enter{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}
.richel-card-reveal{animation:richel-card-enter .4s ease-out var(--richel-reveal-delay,0ms) both}
@media(hover:hover) and (pointer:fine){
 .vehicle-grid>.vehicle-card,.inventory-results>.stock-card{transition:box-shadow .2s ease,border-color .2s ease}
 .vehicle-grid>.vehicle-card:hover,.inventory-results>.stock-card:hover{box-shadow:0 9px 25px #073b6424}
}

@media(prefers-reduced-motion:reduce){.richel-card-reveal{animation:none}}
@media print{.richel-card-reveal{animation:none}}

/* Match the shared background layer dimensions on desktop and mobile. */
.richel-sweep-light{position:absolute;right:0;top:0;width:min(76%,1100px);height:100%;z-index:-1;pointer-events:none;overflow:hidden}
.richel-sweep-light svg{display:block;width:100%;height:100%;overflow:hidden}
.richel-sweep-light path{stroke:#ffd18a;stroke-width:6;stroke-linecap:round;stroke-dasharray:.09 1.1;stroke-dashoffset:.1;opacity:0;filter:drop-shadow(0 0 4px #ff901d)}
.richel-sweep-light.is-playing path{animation:richel-light-pass 1.5s ease-in-out both}
@keyframes richel-light-pass{0%{stroke-dashoffset:.1;opacity:0}12%{opacity:1}85%{opacity:1}100%{stroke-dashoffset:-1;opacity:0}}
@media(max-width:899px){.richel-sweep-light{width:100%}}
@media(prefers-reduced-motion:reduce){.richel-sweep-light{display:none}.richel-sweep-light.is-playing path{animation:none}}
@media print{.richel-sweep-light{display:none}}
