
.mcp-search-results { font-family: 'Inter', sans-serif; max-width: 1340px; margin: 0 auto; padding: 0 16px; }
/* Embedded quick-search form (replaces the old step bar + edit panel) */
.sr-search-edit { margin-bottom: 24px; }
.sr-quick-search .qs-form { box-shadow: 0 2px 12px rgba(0,0,0,0.07); border: 1px solid #E5E5E5; }
/* Sort bar */
.sr-sort-bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.sr-result-count { font-size: 14px; color: #666; }
.sr-result-count strong { color: #111; }
.sr-sort { display: flex; align-items: center; gap: 8px; }
.sr-sort label { font-size: 13px; color: #666; white-space: nowrap; }
.sr-sort-select { padding: 6px 12px; border: 1px solid #E5E5E5; border-radius: 8px; font-size: 13px; font-family: 'Inter', sans-serif; cursor: pointer; }
/* Layout */
.sr-layout { display: grid; grid-template-columns: 260px 1fr; gap: 24px; }
/* Sidebar */
.sr-sidebar { background: #fff; border: 1px solid #E5E5E5; border-radius: 12px; padding: 20px; height: fit-content; position: sticky; top: 100px; }
.sr-filter-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.sr-filter-head h3 { font-family: 'Lexend', sans-serif; font-size: 18px; font-weight: 600; color: #111; margin: 0; }
.sr-filter-reset { background: none; border: none; color: #F5C800; font-size: 13px; font-weight: 500; cursor: pointer; text-decoration: underline; }
.sr-filter-reset:hover { color: #D4AD00; }
.sr-fg { margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid #F0F0F0; }
.sr-fg:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.sr-fg h4 { font-size: 14px; font-weight: 600; color: #111; margin: 0 0 12px; }
.sr-radio { display: flex; align-items: center; gap: 8px; padding: 6px 0; cursor: pointer; font-size: 14px; color: #444; }
.sr-radio input[type="radio"] { accent-color: #F5C800; width: 16px; height: 16px; cursor: pointer; }
.sr-price-range { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sr-pi label { font-size: 11px; color: #999; display: block; margin-bottom: 4px; }
.sr-pi input { width: 100%; padding: 8px 10px; border: 1px solid #E5E5E5; border-radius: 8px; font-size: 13px; box-sizing: border-box; font-family: 'Inter', sans-serif; }
.sr-pi input:focus { outline: none; border-color: #F5C800; }
/* Vehicle cards */
.sr-vehicle { display: grid; grid-template-columns: 280px 1fr auto; gap: 24px; align-items: center; padding: 0 20px 0 0; border: 1px solid #E5E5E5; border-radius: 12px; margin-bottom: 14px; background: #fff; overflow: hidden; transition: box-shadow 0.2s; }
.sr-vehicle:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.08); }
.sr-v-img-col { width: 100%; height: 100%; align-self: stretch; }
.sr-v-img { width: 100%; height: 100%; min-height: 180px; aspect-ratio: auto; object-fit: cover; border-radius: 0; box-sizing: border-box; display: block; }
.sr-v-img-empty { display: flex; align-items: center; justify-content: center; aspect-ratio: 4/3; }
.sr-v-info { padding: 20px 0; }
.sr-v-pricing { padding: 20px 0; }
/* Carousel */
.sr-carousel { position: relative; width: 100%; height: 100%; min-height: 180px; aspect-ratio: auto; border-radius: 0; overflow: hidden; }
.sr-carousel-track { position: relative; width: 100%; height: 100%; }
.sr-carousel-slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.3s ease; pointer-events: none; }
.sr-carousel-slide.active { opacity: 1; pointer-events: auto; }
.sr-carousel-prev, .sr-carousel-next {
    position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
    width: 32px; height: 32px; border-radius: 50%; border: none;
    background: rgba(255,255,255,0.9); color: #333; cursor: pointer;
    display: flex; align-items: center; justify-content: center; font-size: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15); opacity: 0; transition: opacity 0.2s;
}
.sr-carousel:hover .sr-carousel-prev, .sr-carousel:hover .sr-carousel-next,
.sr-carousel:focus-within .sr-carousel-prev, .sr-carousel:focus-within .sr-carousel-next { opacity: 1; }
.sr-carousel-prev { left: 8px; }
.sr-carousel-next { right: 8px; }
.sr-carousel-prev:hover, .sr-carousel-next:hover { background: #fff; }
.sr-carousel-dots { position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%); display: flex; gap: 5px; z-index: 2; }
.sr-dot { width: 12px; height: 12px; padding: 0; border: 2px solid rgba(0,0,0,0.25); border-radius: 50%; background: rgba(255,255,255,0.75); cursor: pointer; transition: background 0.2s; }
.sr-dot.active { background: #F5C800; }
/* Info */
.sr-v-info { min-width: 0; }
.sr-v-name { font-family: 'Lexend', sans-serif; font-size: 18px; font-weight: 600; color: #111; margin-bottom: 6px; letter-spacing: -0.02em; }
.sr-v-cat { display: inline-block; font-size: 11px; font-weight: 500; background: #FFF3CC; color: #111; padding: 3px 10px; border-radius: 999px; margin-bottom: 10px; }
/* Specs pills */
.sr-v-specs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.sr-v-pill { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 500; color: #555; background: #F5F5F5; padding: 4px 10px; border-radius: 6px; white-space: nowrap; }
.sr-v-pill i { font-size: 11px; color: #999; }
.sr-v-meta { display: flex; flex-wrap: wrap; gap: 12px; font-size: 13px; color: #666; }
.sr-v-meta i { color: #999; margin-right: 2px; }
.sr-v-km { display: none; margin-top: 10px; font-size: 13px; color: #22c55e; }
.sr-v-km i { margin-right: 4px; }
.sr-v-pricing { text-align: right; white-space: nowrap; }
.sr-v-label { font-size: 10px; color: #999; text-transform: uppercase; letter-spacing: 0.06em; }
.sr-v-price { font-size: 26px; font-weight: 700; color: #111; line-height: 1.1; }
.sr-v-price small { font-size: 14px; font-weight: 400; color: #666; }
.sr-v-total { font-size: 13px; color: #666; margin: 4px 0 14px; }
/* Teaser horaire sous le total — remonte dans la marge basse du total (4px après lui, 14px avant le bouton). */
.sr-v-hourly { font-size: 12px; color: #666; margin: -10px 0 14px; }
.sr-v-select { display: inline-block; padding: 10px 28px; background: #F5C800; color: #111; border-radius: 8px; font-size: 14px; font-weight: 600; text-decoration: none; transition: background 0.2s; }
.sr-v-select:hover { background: #D4AD00; color: #111; }
/* No results */
.sr-no-results { text-align: center; padding: 64px 24px; }
.sr-no-results i { font-size: 48px; color: #ccc; display: block; margin-bottom: 16px; }
.sr-no-results p { color: #666; font-size: 15px; }
/* Responsive */
@media (max-width: 991px) {
    .sr-layout { grid-template-columns: 1fr; }
    .sr-sidebar { position: static; }
}
@media (max-width: 600px) {
    .mcp-search-results { padding: 0 8px; }
    .sr-sort-bar { flex-direction: column; gap: 8px; align-items: flex-start; }

    /* Vehicle card — edge-to-edge image top, full-width select bottom */
    .sr-vehicle {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 0;
        overflow: hidden;
        gap: 0;
    }
    .sr-v-img-col { width: 100%; }
    .sr-v-img,
    .sr-carousel {
        max-width: none;
        width: 100%;
        margin: 0;
        border-radius: 0;
        aspect-ratio: 16/10;
    }
    .sr-v-img { object-fit: cover; }
    .sr-carousel-slide { object-fit: cover; }
    .sr-v-info { padding: 16px 16px 0; }
    .sr-v-pricing { text-align: center; padding: 0; }
    .sr-v-label, .sr-v-price, .sr-v-total, .sr-v-hourly { padding-left: 16px; padding-right: 16px; }
    .sr-v-total { margin-bottom: 12px; }
    .sr-v-select {
        display: block;
        width: 100%;
        padding: 16px 20px;
        border-radius: 0;
        font-size: 15px;
        margin: 4px 0 0;
        box-sizing: border-box;
    }

    .sr-filters-toggle { display: inline-flex; }
    .sr-sidebar {
        position: fixed; top: 0; right: 0; bottom: 0; left: auto;
        width: 86%; max-width: 360px; height: 100%;
        z-index: 9999; border-radius: 0; border: none;
        transform: translateX(100%); transition: transform 0.3s ease;
        overflow-y: auto; padding: 20px; box-shadow: -8px 0 24px rgba(0,0,0,0.15);
    }
    .sr-filters-open .sr-sidebar { transform: translateX(0); }
    .sr-filter-backdrop { display: block; }
    .sr-filter-close { display: inline-flex; }
}
.sr-filters-toggle { display: none; align-items: center; gap: 6px; padding: 8px 14px; background: #fff; border: 1px solid #E5E5E5; border-radius: 8px; font-size: 13px; font-weight: 600; color: #111; cursor: pointer; font-family: 'Inter', sans-serif; }
.sr-filters-toggle i { font-size: 12px; }
.sr-filter-backdrop { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 9998; opacity: 0; pointer-events: none; transition: opacity 0.3s ease; }
.sr-filters-open .sr-filter-backdrop { opacity: 1; pointer-events: auto; }
.sr-filter-close { display: none; align-items: center; justify-content: center; width: 32px; height: 32px; background: none; border: none; font-size: 18px; cursor: pointer; color: #111; padding: 0; }

/* These base controls are declared after the main responsive block, so repeat
   their mobile display state with a more specific selector. */
@media (max-width: 600px) {
    .mcp-search-results .sr-filters-toggle { display: inline-flex; }
    .mcp-search-results .sr-filter-backdrop { display: block; }
    .mcp-search-results .sr-filter-close { display: inline-flex; }
}

.sr-search-error {
    margin: 0 0 16px;
    padding: 12px 16px;
    border: 1px solid #dc2626;
    border-radius: 8px;
    background: #fef2f2;
    color: #991b1b;
}

.mcp-search-results :where(button, a, input, select):focus-visible,
.sr-carousel:focus-visible {
    outline: 3px solid #1d4ed8;
    outline-offset: 3px;
}
