/* Showroom public : compléments aux cartes existantes (.car-card, styles.css) */
.sr-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3rem 1.5rem;
  background: var(--ivory);
  border: 1px solid var(--gold);
  border-radius: 14px;
}
.sr-empty h3 { margin: 0 0 .5rem; font-size: 1.15rem; font-weight: 600; }
.sr-empty p { margin: 0 auto 1.25rem; max-width: 30rem; color: var(--text-muted); font-size: .95rem; }

.sr-skeleton { min-height: 340px; box-shadow: none; border-color: var(--hairline); }
.sr-skeleton .car-card__media { animation: sr-pulse 1.4s ease-in-out infinite; }
@keyframes sr-pulse { 50% { opacity: .55; } }
@media (prefers-reduced-motion: reduce) { .sr-skeleton .car-card__media { animation: none; } }

.sr-card-price { margin: -.35rem 0 0; font-weight: 600; font-size: 1.05rem; color: var(--gold); }

/* Page Voiture Algérie */
.sr-page { max-width: 1200px; margin: 0 auto; padding: 2.5rem 1.5rem 4rem; }
.sr-page__head h1 { margin: 0 0 .5rem; font-size: clamp(1.75rem, 3vw, 2.5rem); line-height: 1.15; }
.sr-page__head p { margin: 0 0 1.75rem; color: var(--text-muted); max-width: 40rem; }
.sr-filters { display: grid; grid-template-columns: 2fr repeat(5, minmax(0, 1fr)); gap: .75rem; margin-bottom: 1rem; }
.sr-filters label { display: flex; flex-direction: column; gap: .3rem; font-size: .78rem; font-weight: 500; color: var(--text-muted); min-width: 0; }
.sr-filters input, .sr-filters select {
  width: 100%; min-height: 44px; padding: .55rem .7rem; font: inherit; font-size: .95rem; color: var(--text);
  background: #fff; border: 1px solid var(--border); border-radius: 8px;
}
.sr-filters input:focus, .sr-filters select:focus { outline: 2px solid var(--gold); outline-offset: 1px; }
.sr-count { margin: 0 0 1.25rem; font-size: .9rem; color: var(--text-muted); min-height: 1.2em; }
@media (max-width: 991px) { .sr-filters { grid-template-columns: repeat(3, minmax(0, 1fr)); } .sr-filters__search { grid-column: 1 / -1; } }
@media (max-width: 599px) { .sr-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Fiche véhicule */
.sr-detail { max-width: 1200px; margin: 0 auto; padding: 1.75rem 1.5rem 4rem; }
.sr-back { display: inline-block; margin-bottom: 1.25rem; color: var(--text-muted); font-size: .9rem; text-decoration: none; }
.sr-back:hover { color: var(--gold); }
.sr-detail__grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 2.25rem; align-items: start; }
.sr-gallery__main { aspect-ratio: 16 / 10; background: #e8e8e8; border: 1px solid var(--gold); border-radius: 14px; overflow: hidden; }
.sr-gallery__main img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sr-gallery__thumbs { display: flex; gap: .5rem; margin-top: .65rem; overflow-x: auto; padding-bottom: .25rem; }
.sr-gallery__thumb { flex: 0 0 auto; width: 88px; height: 62px; padding: 0; background: #e8e8e8; border: 2px solid transparent; border-radius: 8px; overflow: hidden; cursor: pointer; }
.sr-gallery__thumb.is-active { border-color: var(--gold); }
.sr-gallery__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sr-status { display: inline-block; padding: .3rem .7rem; border-radius: 999px; font-size: .78rem; font-weight: 600; background: #ecf7ef; color: #1c6b34; }
.sr-status--reserved { background: #fdf4e3; color: #8a5a10; }
.sr-status--sold { background: #f0f0f0; color: #444; }
.sr-detail h1 { margin: .75rem 0 .35rem; font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height: 1.2; }
.sr-detail__meta { margin: 0 0 1rem; color: var(--text-muted); }
.sr-detail__price { margin: 0 0 1.25rem; font-size: 1.6rem; font-weight: 600; color: var(--gold); }
.sr-detail__actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-bottom: .5rem; }
.sr-section { margin-top: 2.25rem; }
.sr-section h2 { margin: 0 0 .9rem; font-size: 1.15rem; font-weight: 600; }
.sr-specs { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 0 1.5rem; margin: 0; }
.sr-specs div { display: flex; justify-content: space-between; gap: 1rem; padding: .6rem 0; border-bottom: 1px solid var(--hairline); font-size: .92rem; }
.sr-specs dt { color: var(--text-muted); }
.sr-specs dd { margin: 0; font-weight: 500; text-align: end; }
.sr-features { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; padding: 0; list-style: none; }
.sr-features li { padding: .4rem .75rem; border: 1px solid var(--hairline); border-radius: 999px; font-size: .85rem; background: var(--ivory); }
.sr-description { margin: 0; white-space: pre-line; line-height: 1.65; color: #333; }
@media (max-width: 860px) { .sr-detail__grid { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; } }
