/*
 * Design theme "scout": Home markup and vehicle card
 * (resources/views/pages/home-scout.blade.php,
 *  pages/partials/home-search-scout.blade.php,
 *  shared/vehicle-card-scout.blade.php), white header option, compact cookie bar.
 * Loaded last, only when the theme is on. Presentation only.
 *
 * Breakpoints: phones < 640 · tablets 640–1023 · desktop >= 1024 (cards: 4 columns from 1280).
 */

/* ───────────────────────── page, wrapper, type ───────────────────────── */
html.theme-scout .sc-home {
    /* How far the search card climbs onto the hero photo. On desktop the
       card is one row tall (16 + 48 + 16 = 80 px), so 40 px = exactly half. */
    --sc-overlap: 72px;
    background: rgb(var(--sc-canvas));
    color: #333333;
}
@media (min-width: 1024px) { html.theme-scout .sc-home { --sc-overlap: 40px; } }

html.theme-scout .sc-wrap {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 16px;
}
@media (min-width: 640px) { html.theme-scout .sc-wrap { padding: 0 24px; } }

html.theme-scout .sc-section { padding: 32px 0; background: rgb(var(--sc-canvas)); }
html.theme-scout .sc-section--white { background: #ffffff; }
@media (min-width: 1024px) { html.theme-scout .sc-section { padding: 36px 0; } }

html.theme-scout .sc-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px 16px;
    margin-bottom: 16px;
}
html.theme-scout .sc-h2 {
    margin: 0;
    font-size: 20px;
    line-height: 1.3;
    font-weight: 700;
    color: #333333;
    letter-spacing: -0.005em;
}
@media (min-width: 1024px) { html.theme-scout .sc-h2 { font-size: 22px; } }
html.theme-scout .sc-h2--light { color: #ffffff; }

html.theme-scout .sc-link {
    flex-shrink: 0;
    display: inline-flex; align-items: center; gap: 4px;
    color: #333333; font-size: 14px; font-weight: 500; text-decoration: none;
    text-underline-offset: 3px;
}
html.theme-scout .sc-link:hover { color: rgb(var(--sc-primary)); text-decoration: underline; }
html.theme-scout .sc-link--small { font-size: 13px; color: rgb(var(--sc-link)); }
html.theme-scout .sc-link--small:hover { color: rgb(var(--sc-link-hover)); }

html.theme-scout .sc-center { display: flex; justify-content: center; margin-top: 24px; }
html.theme-scout .sc-hide-mobile { display: none !important; }
@media (min-width: 640px) { html.theme-scout .sc-hide-mobile { display: inline-flex !important; } }

/* ───────────────────────── buttons ───────────────────────── */
html.theme-scout .sc-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 44px; padding: 0 20px;
    border-radius: 8px; border: 1px solid transparent;
    font-size: 15px; font-weight: 600; line-height: 1.2; text-align: center; text-decoration: none;
    cursor: pointer; white-space: nowrap;
    transition: background-color .15s, color .15s, border-color .15s;
}
html.theme-scout .sc-btn:focus-visible { outline: 2px solid rgb(var(--sc-primary)); outline-offset: 2px; }
html.theme-scout .sc-btn--lg { min-height: 48px; padding: 0 24px; font-size: 16px; }
html.theme-scout .sc-btn--primary { background: rgb(var(--sc-primary)); color: #ffffff; }
html.theme-scout .sc-btn--primary:hover { background: rgb(var(--sc-primary-hover)); color: #ffffff; }
html.theme-scout .sc-btn--ghost { background: rgb(var(--sc-dark) / .35); color: #ffffff; border-color: #ffffff; }
html.theme-scout .sc-btn--ghost:hover { background: rgba(255, 255, 255, .16); color: #ffffff; }
html.theme-scout .sc-btn--outline { background: #ffffff; color: rgb(var(--sc-primary)); border-color: rgb(var(--sc-primary)); }
html.theme-scout .sc-btn--outline:hover { background: rgb(var(--sc-primary-faint)); color: rgb(var(--sc-primary-hover)); border-color: rgb(var(--sc-primary-hover)); }
html.theme-scout .sc-btn--block { width: 100%; }
html.theme-scout .sc-btn--wide { width: 100%; min-height: 48px; }
@media (min-width: 640px) { html.theme-scout .sc-btn--wide { width: auto; min-width: 240px; } }

/* ───────────────────────── icons (shared/scout-icon) ───────────────────────── */
html.theme-scout .sc-icon { width: 18px; height: 18px; flex-shrink: 0; }
/* the reference designs use some different icons on desktop and on phones */
@media (max-width: 767.98px) { html.theme-scout .sc-only-desktop { display: none !important; } }
@media (min-width: 768px)    { html.theme-scout .sc-only-mobile { display: none !important; } }
@media (max-width: 1023.98px) { html.theme-scout .sc-only-wide { display: none !important; } }
@media (min-width: 1024px)    { html.theme-scout .sc-only-narrow { display: none !important; } }

/* ───────────────────────── hero ───────────────────────── */
html.theme-scout .sc-hero {
    position: relative;
    height: 540px;
    overflow: hidden;
    background: rgb(var(--sc-dark));
}
@media (min-width: 640px)  { html.theme-scout .sc-hero { height: 480px; } }
@media (min-width: 1024px) { html.theme-scout .sc-hero { height: 500px; } }
@media (min-width: 1440px) { html.theme-scout .sc-hero { height: 540px; } }

html.theme-scout .sc-hero__img {
    position: absolute; inset: 0; width: 100%; height: 100%;
    object-fit: cover; object-position: center 40%;
    pointer-events: none; user-select: none;
}
html.theme-scout .sc-hero__shade {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgb(var(--sc-dark) / 0) 28%, rgb(var(--sc-dark) / .55) 58%, rgb(var(--sc-dark) / .92) 100%);
}
@media (min-width: 1024px) {
    html.theme-scout .sc-hero__shade {
        background:
            linear-gradient(180deg, rgb(var(--sc-dark) / 0) 40%, rgb(var(--sc-dark) / .7) 100%),
            linear-gradient(90deg, rgb(var(--sc-dark) / .6) 0%, rgb(var(--sc-dark) / .25) 45%, rgb(var(--sc-dark) / 0) 70%);
    }
}
html.theme-scout .sc-hero__inner {
    position: relative; z-index: 1; height: 100%;
    max-width: 1400px; margin: 0 auto;
    padding: 0 16px calc(var(--sc-overlap) + 24px);
    display: flex; flex-direction: column; justify-content: flex-end;
}
@media (min-width: 640px)  { html.theme-scout .sc-hero__inner { padding: 0 24px calc(var(--sc-overlap) + 28px); } }
@media (min-width: 1024px) { html.theme-scout .sc-hero__inner { padding-bottom: calc(var(--sc-overlap) + 36px); } }

html.theme-scout .sc-hero__copy { max-width: 640px; }
@media (min-width: 1024px) { html.theme-scout .sc-hero__copy { max-width: 780px; } }
html.theme-scout .sc-hero__title {
    margin: 0 0 8px;
    color: #ffffff; font-weight: 800; letter-spacing: -.015em;
    font-size: 29px; line-height: 1.12;
    text-shadow: 0 2px 14px rgba(0, 0, 0, .3);
}
@media (min-width: 640px)  { html.theme-scout .sc-hero__title { font-size: 34px; } }
@media (min-width: 1024px) { html.theme-scout .sc-hero__title { font-size: 38px; } }
html.theme-scout .sc-hero__subtitle {
    max-width: 540px; margin: 0 0 22px;
    color: rgba(255, 255, 255, .92);
    font-size: 15px; line-height: 1.5;
    text-shadow: 0 1px 6px rgba(0, 0, 0, .35);
}
@media (min-width: 1024px) { html.theme-scout .sc-hero__subtitle { font-size: 18px; } }
html.theme-scout .sc-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 639.98px) {
    html.theme-scout .sc-hero__actions .sc-btn--primary { width: 100%; min-height: 52px; font-size: 17px; }
}

/* ───────────────────────── search card ───────────────────────── */
html.theme-scout .sc-search {
    position: relative;
    z-index: 5;
    margin-top: calc(-1 * var(--sc-overlap));
}
html.theme-scout .sc-search__card {
    position: relative;
    margin: 0;
    padding: 16px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, .16), 0 1px 3px rgba(0, 0, 0, .08);
}
/* "More filters" state holder: visually hidden, still focusable */
html.theme-scout .sc-search__more-check {
    position: absolute; width: 1px; height: 1px; margin: 0; padding: 0;
    opacity: 0; pointer-events: none; clip: rect(0 0 0 0);
}

html.theme-scout .sc-search__row {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    align-items: center;
}
@media (min-width: 640px) {
    html.theme-scout .sc-search__row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    html.theme-scout .sc-search__submit,
    html.theme-scout .sc-search__more-toggle { grid-column: 1 / -1; }
}
@media (min-width: 1024px) {
    html.theme-scout .sc-search__row { grid-template-columns: repeat(4, minmax(0, 1fr)) auto auto; }
    html.theme-scout .sc-search__submit,
    html.theme-scout .sc-search__more-toggle { grid-column: auto; }
}

/* Fields: no visible label, the hint sits inside. (Never set `display`
   here: the -sm-up / -sm-down twins rely on the original rules.) */
html.theme-scout .sc-search__field { position: relative; min-width: 0; gap: 0; }

html.theme-scout .sc-search .hero-search-select,
html.theme-scout .sc-search .hero-search-input {
    width: 100%;
    height: 48px;
    padding: 0 14px;
    background-color: #ffffff;
    border: 1px solid rgb(var(--sc-border-strong));
    border-radius: 6px;
    box-shadow: none;
    color: #333333;
    font-size: 15px;
    font-weight: 600;
    line-height: 46px;
    transition: border-color .15s, box-shadow .15s;
}
html.theme-scout .sc-search .hero-search-select {
    padding-right: 40px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23333333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 16px 16px;
}
html.theme-scout .sc-search .hero-search-select:has(option[value=""]:checked) { color: #555555; font-weight: 500; }
html.theme-scout .sc-search .hero-search-select option { background: #ffffff; color: #333333; font-weight: 500; }
html.theme-scout .sc-search .hero-search-input::placeholder { color: #555555; font-weight: 500; opacity: 1; }
html.theme-scout .sc-search .hero-search-select:hover,
html.theme-scout .sc-search .hero-search-input:hover { background-color: #ffffff; border-color: #333333; }
html.theme-scout .sc-search .hero-search-select:focus,
html.theme-scout .sc-search .hero-search-input:focus {
    outline: none; background-color: #ffffff;
    border-color: rgb(var(--sc-primary)); box-shadow: 0 0 0 3px rgb(var(--sc-primary) / .2);
}

/* Phones / tablets: car and list icons inside Brand and Model (reference) */
html.theme-scout .sc-search__icon {
    position: absolute; left: 14px; top: 50%; transform: translateY(-50%); z-index: 2;
    width: 18px; height: 18px; color: #555555; pointer-events: none;
}
html.theme-scout .sc-search .sc-search__field--icon .hero-search-select,
html.theme-scout .sc-search .sc-search__field--icon .searchable-select-trigger { padding-left: 42px; }
@media (min-width: 1024px) {
    html.theme-scout .sc-search__icon { display: none; }
    html.theme-scout .sc-search .sc-search__field--icon .hero-search-select,
    html.theme-scout .sc-search .sc-search__field--icon .searchable-select-trigger { padding-left: 14px; }
}

/* Searchable selects (Brand / Model / Type) built by resources/js/searchable-select.js */
html.theme-scout .sc-search .searchable-select-trigger {
    display: flex; align-items: center; justify-content: space-between;
    width: 100%; height: 48px; padding: 0 14px;
    background: #ffffff; border: 1px solid rgb(var(--sc-border-strong)); border-radius: 6px; box-shadow: none;
    color: #333333; font-size: 15px; font-weight: 600;
    transition: border-color .15s, box-shadow .15s;
}
html.theme-scout .sc-search .searchable-select-trigger:hover { background: #ffffff; border-color: #333333; }
html.theme-scout .sc-search .searchable-select-trigger:focus-visible,
html.theme-scout .sc-search .searchable-select.open .searchable-select-trigger {
    outline: none; border-color: rgb(var(--sc-primary)); box-shadow: 0 0 0 3px rgb(var(--sc-primary) / .2);
}
html.theme-scout .sc-search .searchable-select-trigger .trigger-text { color: #333333; }
html.theme-scout .sc-search .searchable-select-trigger .trigger-text.placeholder { color: #555555; font-weight: 500; }
html.theme-scout .sc-search .searchable-select-trigger .trigger-arrow { width: 16px; height: 16px; color: #333333; }
html.theme-scout .sc-search .searchable-select.disabled .searchable-select-trigger {
    opacity: 1; background: rgb(var(--sc-canvas)); border-color: rgb(var(--sc-border));
}
html.theme-scout .sc-search .searchable-select.disabled .trigger-text,
html.theme-scout .sc-search .searchable-select.disabled .trigger-arrow { color: #949494; }

/* Their dropdown lives in <body>; on the scout Home only this search uses it */
html.theme-scout .searchable-select-dropdown.hero-dropdown {
    background: #ffffff;
    border: 1px solid rgb(var(--sc-border));
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .18);
    backdrop-filter: none; -webkit-backdrop-filter: none;
}
html.theme-scout .searchable-select-dropdown.hero-dropdown .searchable-select-search {
    color: #333333; background: #ffffff; border-bottom: 1px solid rgb(var(--sc-border-soft)); font-size: 15px;
}
html.theme-scout .searchable-select-dropdown.hero-dropdown .searchable-select-search::placeholder { color: #949494; }
html.theme-scout .searchable-select-dropdown.hero-dropdown .searchable-select-options { scrollbar-color: rgb(var(--sc-border-mid)) transparent; }
html.theme-scout .searchable-select-dropdown.hero-dropdown .searchable-select-options::-webkit-scrollbar-thumb { background: rgb(var(--sc-border-mid)); }
html.theme-scout .searchable-select-dropdown.hero-dropdown .searchable-select-option { color: #333333; border-radius: 6px; font-size: 15px; }
html.theme-scout .searchable-select-dropdown.hero-dropdown .searchable-select-option:hover,
html.theme-scout .searchable-select-dropdown.hero-dropdown .searchable-select-option.active { color: #333333; background: rgb(var(--sc-canvas)); }
html.theme-scout .searchable-select-dropdown.hero-dropdown .searchable-select-option.selected { color: rgb(var(--sc-primary-hover)); background: rgb(var(--sc-primary-select)); font-weight: 600; }
html.theme-scout .searchable-select-dropdown.hero-dropdown .searchable-select-empty { color: #676767; }

/* Submit */
html.theme-scout .sc-search__submit {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    width: 100%; height: 52px; padding: 0 24px;
    border: 0; border-radius: 6px;
    background: rgb(var(--sc-primary)); color: #ffffff;
    font-size: 16px; font-weight: 700; white-space: nowrap; cursor: pointer;
    transition: background-color .15s;
}
html.theme-scout .sc-search__submit:hover { background: rgb(var(--sc-primary-hover)); }
html.theme-scout .sc-search__submit:focus-visible { outline: 2px solid rgb(var(--sc-primary)); outline-offset: 2px; }
@media (min-width: 1024px) { html.theme-scout .sc-search__submit { width: auto; min-width: 150px; height: 48px; } }

/* "More filters": plain text, as in the reference */
html.theme-scout .sc-search__more-toggle {
    justify-self: center;
    display: inline-flex; align-items: center; justify-content: center;
    min-height: 36px; padding: 0 8px; border-radius: 6px;
    color: #333333; font-size: 15px; font-weight: 500; white-space: nowrap;
    cursor: pointer; user-select: none;
}
html.theme-scout .sc-search__more-toggle:hover { color: rgb(var(--sc-primary)); text-decoration: underline; text-underline-offset: 3px; }
html.theme-scout .sc-search__more-check:checked ~ .sc-search__row .sc-search__more-toggle { color: rgb(var(--sc-primary)); }
html.theme-scout .sc-search__more-check:focus-visible ~ .sc-search__row .sc-search__more-toggle { outline: 2px solid rgb(var(--sc-primary)); outline-offset: 2px; }
@media (min-width: 1024px) { html.theme-scout .sc-search__more-toggle { min-height: 48px; padding: 0 6px 0 10px; } }

/* "More filters" panel */
html.theme-scout .sc-search__more { display: none; margin-top: 14px; padding-top: 14px; border-top: 1px solid rgb(var(--sc-border-soft)); }
html.theme-scout .sc-search__more-check:checked ~ .sc-search__more { display: block; }
html.theme-scout .sc-search__more-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
html.theme-scout .sc-search__field--wide { grid-column: 1 / -1; }
@media (min-width: 640px) { html.theme-scout .sc-search__more-grid { gap: 12px; } }
@media (min-width: 1024px) {
    html.theme-scout .sc-search__more-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
    html.theme-scout .sc-search__field--wide { grid-column: auto; }
}

/* ───────────────────────── popular brands ───────────────────────── */
html.theme-scout .sc-section--brands { padding: 28px 0 4px; }
@media (min-width: 1024px) { html.theme-scout .sc-section--brands { padding-top: 32px; } }

html.theme-scout .sc-brands {
    display: grid; grid-auto-flow: column; grid-auto-columns: 84px; gap: 10px;
    margin: 0 -16px; padding: 2px 16px 10px; list-style: none;
    overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 16px;
    scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
html.theme-scout .sc-brands::-webkit-scrollbar { display: none; }
html.theme-scout .sc-brands-wrap { position: relative; }
html.theme-scout .sc-scroll-arrow {
    position: absolute; top: calc(50% - 4px); z-index: 2; transform: translateY(-50%);
    display: inline-flex; align-items: center; justify-content: center;
    width: 30px; height: 30px; padding: 0;
    border: 1px solid rgb(var(--sc-border-soft)); border-radius: 50%; background: #ffffff; color: #333333;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .16); cursor: pointer;
}
html.theme-scout .sc-scroll-arrow:hover { color: rgb(var(--sc-primary)); }
html.theme-scout .sc-scroll-arrow .sc-icon { width: 16px; height: 16px; }
html.theme-scout .sc-scroll-arrow--prev { left: -6px; }
html.theme-scout .sc-scroll-arrow--next { right: -6px; }
@media (min-width: 1024px) { html.theme-scout .sc-scroll-arrow { display: none; } }
html.theme-scout .sc-brand {
    scroll-snap-align: start;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
    height: 84px; padding: 10px;
    background: #ffffff; border: 1px solid rgb(var(--sc-border-soft)); border-radius: 10px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .06);
}
html.theme-scout .sc-brand img { height: 40px; width: auto; max-width: 100%; object-fit: contain; }
html.theme-scout .sc-brand span { display: none; font-size: 13px; color: #333333; font-weight: 500; text-align: center; line-height: 1.2; }
@media (min-width: 640px) {
    html.theme-scout .sc-brands { grid-auto-columns: 140px; gap: 12px; margin: 0 -24px; padding: 2px 24px 10px; scroll-padding: 0 24px; }
    html.theme-scout .sc-brand { height: 92px; }
    html.theme-scout .sc-brand span { display: block; }
}
@media (min-width: 1024px) {
    html.theme-scout .sc-brands {
        grid-auto-flow: row; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-columns: auto;
        gap: 16px; margin: 0; padding: 0; overflow: visible;
    }
}

/* ───────────────────────── live strip ───────────────────────── */
html.theme-scout .sc-section--cars { padding-top: 20px; padding-bottom: 12px; }
@media (min-width: 1024px) { html.theme-scout .sc-section--cars { padding-bottom: 16px; } }
html.theme-scout .sc-live {
    display: flex; align-items: center; flex-wrap: wrap; gap: 6px 12px;
    margin: 0 0 20px; padding: 10px 14px;
    background: #ffffff; border: 1px solid rgb(var(--sc-border-soft)); border-radius: 12px;
    color: #333333; font-size: 13px; line-height: 1.3;
}
@media (min-width: 640px) {
    html.theme-scout .sc-live {
        gap: 6px 16px; margin-bottom: 24px; padding: 0 0 16px;
        background: transparent; border: 0; border-bottom: 1px solid rgb(var(--sc-border-line)); border-radius: 0;
        font-size: 14px;
    }
}
html.theme-scout .sc-live__badge {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 3px 10px 3px 8px; border-radius: 999px;
    background: #e7f4e8; color: #0d670f;
    font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; line-height: 1.4;
}
html.theme-scout .sc-live__dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: #4cb944; box-shadow: 0 0 0 3px rgba(76, 185, 68, .22);
    animation: sc-live-pulse 2s ease-in-out infinite;
}
@keyframes sc-live-pulse { 50% { box-shadow: 0 0 0 5px rgba(76, 185, 68, .08); } }
html.theme-scout .sc-live__item { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
html.theme-scout .sc-live__item strong { font-weight: 700; }
html.theme-scout .sc-live__item i,
html.theme-scout .sc-live__item svg { display: none; width: 15px; height: 15px; color: #676767; }
html.theme-scout .sc-live__item + .sc-live__item::before { content: "\00B7"; margin-right: 7px; color: #949494; font-weight: 700; }
@media (min-width: 640px) {
    html.theme-scout .sc-live__item i,
    html.theme-scout .sc-live__item svg { display: inline-block; }
}

/* ───────────────────────── car grid ───────────────────────── */
html.theme-scout .sc-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
@media (min-width: 640px)  { html.theme-scout .sc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; } }
@media (min-width: 1280px) { html.theme-scout .sc-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ───────────────────────── vehicle card (scout) ───────────────────────── */
html.theme-scout .sc-card { display: flex; flex-direction: column; border-radius: 12px; }
html.theme-scout .sc-card__media { position: relative; }
html.theme-scout .sc-card .vehicle-image { height: auto; aspect-ratio: 16 / 10; }

html.theme-scout .sc-card__tag {
    position: absolute; top: 12px; left: 12px; z-index: 2;
    display: inline-flex; align-items: center; gap: 5px;
    padding: 5px 10px; border-radius: 999px;
    background: rgb(var(--sc-brand)); color: #333333;
    font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; line-height: 1;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .22);
}
html.theme-scout .sc-card__tag--frozen { background: rgb(var(--sc-primary-tint)); color: rgb(var(--sc-dark)); }
html.theme-scout .sc-card__tag--won { background: rgb(var(--sc-dark)); color: rgb(var(--sc-brand)); }
html.theme-scout .sc-card__count {
    position: absolute; left: 12px; bottom: 12px; z-index: 2;
    display: inline-flex; align-items: center; gap: 5px;
    padding: 4px 9px; border-radius: 999px;
    background: rgb(var(--sc-dark) / .78); color: #ffffff; font-size: 12px; font-weight: 600; line-height: 1;
}
html.theme-scout .sc-card__ribbon {
    position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); z-index: 2;
    padding: 12px; text-align: center;
    background: rgb(var(--sc-dark) / .86); color: #ffffff;
    font-size: 18px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
}
html.theme-scout .sc-card__ribbon::before,
html.theme-scout .sc-card__ribbon::after {
    content: ""; display: inline-block; width: 28px; height: 2px; margin: 0 12px;
    background: rgba(255, 255, 255, .8); vertical-align: middle;
}
html.theme-scout .sc-card--unavailable .vehicle-image { filter: grayscale(.7) brightness(.85); }

/* Favourite / compare: white circles; their active colours stay (teal for compare) */
html.theme-scout .sc-card .vehicle-card-actions { top: 10px; right: 10px; gap: 6px; }
html.theme-scout .sc-card .vehicle-fav-btn:not(.is-active),
html.theme-scout .sc-card .vehicle-compare-btn:not(.is-active) {
    background: #ffffff; color: #333333; border-color: transparent;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .25);
}
html.theme-scout .vehicle-compare-btn.is-active {
    background: rgb(var(--sc-primary)); border-color: transparent; color: #ffffff;
    box-shadow: 0 4px 12px -4px rgb(var(--sc-primary) / .6);
}
html.theme-scout .vehicle-compare-btn:not(.is-active):hover { color: rgb(var(--sc-primary)); }

html.theme-scout .sc-card__body {
    display: flex; flex-direction: column; flex: 1; gap: 12px; padding: 16px;
}
/* always one line: whatever does not fit is cut with "…" */
html.theme-scout .sc-card__title {
    display: block; margin: 0;
    font-size: 18px; font-weight: 700; line-height: 1.3; color: #333333; text-decoration: none;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
/* one row, so every card in a row lines up; only the fuel name gives way ("Hybrid (Electric/…") */
html.theme-scout .sc-card__chips {
    display: flex; flex-wrap: nowrap; gap: 6px; margin: 0; padding: 0; list-style: none; min-width: 0;
}
html.theme-scout .sc-card__chips li { flex: 0 0 auto; }
html.theme-scout .sc-card__chips li.sc-card__chip--fit { flex: 0 1 auto; min-width: 0; }
html.theme-scout .sc-card__chip--fit span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html.theme-scout .sc-card__chips li {
    display: inline-flex; align-items: center; gap: 5px;
    padding: 4px 9px; border-radius: 999px;
    background: #ffffff; border: 1px solid rgb(var(--sc-border));
    color: #333333; font-size: 12.5px; font-weight: 500; line-height: 1.2; white-space: nowrap;
}
html.theme-scout .sc-card__chips i,
html.theme-scout .sc-card__chips svg { width: 14px; height: 14px; color: #676767; flex-shrink: 0; }
html.theme-scout .sc-card__verified {
    display: flex; align-items: center; gap: 6px;
    color: #0d670f; font-size: 13.5px; font-weight: 500; text-decoration: none;
}
html.theme-scout .sc-card__verified:hover .sc-card__verified-text { text-decoration: underline; text-underline-offset: 2px; }
html.theme-scout .sc-card__verified-text { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* filled green disc, white tick */
html.theme-scout .sc-card__verified-check { width: 17px; height: 17px; color: #ffffff; fill: #4cb944; }
html.theme-scout .sc-card__verified-chevron { width: 16px; height: 16px; color: #676767; }
html.theme-scout .sc-card__tag .sc-icon { width: 14px; height: 14px; }

html.theme-scout .sc-card__price-row {
    display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 10px 12px;
    margin-top: auto; padding-top: 14px; border-top: 1px solid rgb(var(--sc-border-soft));
}
html.theme-scout .sc-card__price { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
html.theme-scout .sc-card__price-label { font-size: 11px; color: #676767; text-transform: uppercase; letter-spacing: .05em; }
html.theme-scout .sc-card__price-value { font-size: 22px; font-weight: 700; color: #333333; line-height: 1.1; white-space: nowrap; }
html.theme-scout .sc-card__price .price-vat-note,
html.theme-scout .sc-card__price [class*="vat"] { font-size: 12px; color: #676767; }

html.theme-scout .sc-card__ends { display: flex; flex-direction: column; align-items: stretch; gap: 6px; flex-shrink: 0; }
html.theme-scout .sc-card__ends-pill {
    display: inline-flex; align-items: center; justify-content: center; gap: 5px;
    padding: 6px 12px; border-radius: 999px;
    background: #ffffff; border: 1px solid rgb(var(--sc-border)); color: #333333;
    font-size: 13px; font-weight: 600; white-space: nowrap; line-height: 1;
}
html.theme-scout .sc-card__ends-pill i,
html.theme-scout .sc-card__ends-pill svg { width: 14px; height: 14px; color: #676767; }
html.theme-scout .sc-card__ends-bar { width: 100%; height: 4px; border-radius: 2px; background: rgb(var(--sc-border-soft)); overflow: hidden; }
html.theme-scout .sc-card__ends-bar span { display: block; height: 100%; background: rgb(var(--sc-dark)); border-radius: 2px; }
html.theme-scout .sc-card__ends--soon .sc-card__ends-pill { background: #fdf0d0; border-color: #f3d58a; color: #7d5a00; }
html.theme-scout .sc-card__ends--soon .sc-card__ends-pill svg { color: #b8860b; }
html.theme-scout .sc-card__ends--soon .sc-card__ends-bar span { background: linear-gradient(90deg, #e03a3a, #f2a33a, #f2ca26); }

html.theme-scout .sc-card__cta {
    display: flex; align-items: center; justify-content: center; gap: 6px;
    width: 100%; min-height: 48px; margin-top: 2px;
    border-radius: 8px; font-size: 16px; font-weight: 700;
}
html.theme-scout .sc-card--unavailable .sc-card__cta { background: #a5a5a5; }
html.theme-scout .sc-card--unavailable .sc-card__cta:hover { background: #8c8c8c; }

/* ───────────────────────── why choose us ───────────────────────── */
html.theme-scout .sc-why { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
@media (min-width: 768px) { html.theme-scout .sc-why { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }
html.theme-scout .sc-why__tile {
    position: relative; overflow: hidden; isolation: isolate;
    min-height: 200px; border-radius: 12px; background: rgb(var(--sc-dark));
}
@media (min-width: 768px)  { html.theme-scout .sc-why__tile { min-height: 260px; } }
@media (min-width: 1280px) { html.theme-scout .sc-why__tile { min-height: 280px; } }
html.theme-scout .sc-why__tile img {
    position: absolute; inset: 0; z-index: -2;
    width: 100%; height: 100%; object-fit: cover;
    transition: transform .4s ease;
}
html.theme-scout .sc-why__tile:hover img { transform: scale(1.04); }
html.theme-scout .sc-why__tile::after {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(180deg, rgb(var(--sc-dark) / .15) 0%, rgb(var(--sc-dark) / .55) 45%, rgb(var(--sc-dark) / .92) 100%);
}
html.theme-scout .sc-why__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 20px 20px; }
html.theme-scout .sc-why__icon { display: inline-flex; margin-bottom: 10px; color: #ffffff; }
html.theme-scout .sc-why__icon i,
html.theme-scout .sc-why__icon svg { width: 34px; height: 34px; stroke-width: 1.6; }
html.theme-scout .sc-why__title {
    position: relative; margin: 0 0 6px; padding-top: 12px;
    color: #ffffff; font-size: 19px; font-weight: 700; line-height: 1.25;
}
html.theme-scout .sc-why__title::after {
    content: ""; position: absolute; left: 0; top: 0; width: 36px; height: 3px; border-radius: 2px; background: rgb(var(--sc-brand));
}
html.theme-scout .sc-why__text {
    margin: 0; color: rgba(255, 255, 255, .88); font-size: 14px; line-height: 1.5;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
@media (max-width: 767.98px) {
    /* phones, as the reference: lower tiles, dark from the left, short line of text */
    html.theme-scout .sc-why__tile { min-height: 160px; }
    html.theme-scout .sc-why__tile::after {
        background:
            linear-gradient(90deg, rgb(var(--sc-dark) / .86) 0%, rgb(var(--sc-dark) / .55) 55%, rgb(var(--sc-dark) / .12) 100%),
            linear-gradient(180deg, rgb(var(--sc-dark) / 0) 45%, rgb(var(--sc-dark) / .45) 100%);
    }
    html.theme-scout .sc-why__body { padding: 16px 22px 20px; }
    html.theme-scout .sc-why__icon { margin-bottom: 14px; }
    html.theme-scout .sc-why__title { padding-top: 16px; margin-bottom: 6px; font-size: 20px; }
    html.theme-scout .sc-why__text { font-size: 15px; color: rgba(255, 255, 255, .9); }
}
@media (min-width: 768px) {
    /* desktop: icon in a white circle, yellow rule under the title */
    html.theme-scout .sc-why__icon {
        align-items: center; justify-content: center;
        width: 40px; height: 40px; border-radius: 50%; background: #ffffff; color: rgb(var(--sc-dark));
    }
    html.theme-scout .sc-why__icon i,
    html.theme-scout .sc-why__icon svg { width: 20px; height: 20px; stroke-width: 2; }
    html.theme-scout .sc-why__title { padding-top: 0; padding-bottom: 10px; margin-bottom: 10px; font-size: 18px; }
    html.theme-scout .sc-why__title::after { top: auto; bottom: 0; }
}

/* ───────────────────────── stats ───────────────────────── */
/* Phones / small tablets: a rounded slate card, 2 × 2 */
html.theme-scout .sc-stats { background: rgb(var(--sc-canvas)); padding: 0 0 32px; }
html.theme-scout .sc-stats__grid {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 8px 18px; border-radius: 12px; background: rgb(var(--sc-dark));
}
html.theme-scout .sc-stat { padding: 20px 6px; text-align: center; }
html.theme-scout .sc-stat:nth-child(odd) { border-right: 1px solid rgba(255, 255, 255, .14); }
html.theme-scout .sc-stat:nth-child(-n+2) { border-bottom: 1px solid rgba(255, 255, 255, .14); }
html.theme-scout .sc-stat__value {
    color: #ffffff; font-size: 34px; font-weight: 800; line-height: 1.1; font-variant-numeric: tabular-nums;
}
html.theme-scout .sc-stat__label { margin-top: 6px; color: rgba(255, 255, 255, .8); font-size: 14px; line-height: 1.3; }

/* ≥ 768: full-width slate band, yellow rule on top of the content, 4 columns */
@media (min-width: 768px) {
    html.theme-scout .sc-stats { background: rgb(var(--sc-dark)); padding: 0; }
    html.theme-scout .sc-stats__grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        padding: 26px 0 28px; border-radius: 0; background: transparent;
        border-top: 4px solid rgb(var(--sc-brand));
    }
    html.theme-scout .sc-stat { padding: 4px 12px; }
    html.theme-scout .sc-stat:nth-child(-n+2) { border-bottom: 0; }
    html.theme-scout .sc-stat:nth-child(odd) { border-right: 0; }
    html.theme-scout .sc-stat + .sc-stat { border-left: 1px solid rgba(255, 255, 255, .14); }
    html.theme-scout .sc-stat__value { font-size: 40px; }
}

/* ───────────────────────── how buying works ───────────────────────── */
/* Phones / tablets: vertical timeline — circle · text · icon, rule between rows —
   inside a white card like the site's other cards, on the grey page (desktop: white band). */
html.theme-scout .sc-section--how { --sc-step-ring: #ffffff; background: rgb(var(--sc-canvas)); }
html.theme-scout .sc-steps {
    position: relative; margin: 0; padding: 0 16px; list-style: none;
    background: #ffffff; border: 1px solid rgb(var(--sc-border-soft)); border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .05);
}
html.theme-scout .sc-step {
    position: relative;
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr) auto;
    grid-template-areas: "num text icon";
    column-gap: 16px;
    align-items: start;
    padding: 18px 0;
}
html.theme-scout .sc-step__num {
    grid-area: num; position: relative; z-index: 1;
    display: inline-flex; align-items: center; justify-content: center;
    width: 32px; height: 32px; border-radius: 50%;
    background: rgb(var(--sc-brand)); color: #333333; font-size: 14px; font-weight: 800;
    box-shadow: 0 0 0 4px var(--sc-step-ring, #ffffff);
}
html.theme-scout .sc-step__text { grid-area: text; display: flex; flex-direction: column; gap: 4px; min-width: 0; padding-top: 3px; }
html.theme-scout .sc-step__title { font-size: 18px; font-weight: 600; line-height: 1.25; color: #333333; }
html.theme-scout .sc-step__sub { font-size: 15px; line-height: 1.45; color: #676767; }
html.theme-scout .sc-step__icon { grid-area: icon; align-self: center; display: inline-flex; color: #333333; }
html.theme-scout .sc-step__icon i,
html.theme-scout .sc-step__icon svg { width: 32px; height: 32px; stroke-width: 1.6; }
/* teal line from this circle down to the next one */
html.theme-scout .sc-step:not(:last-child)::before {
    content: ""; position: absolute; left: 15px; top: 50px; bottom: -18px;
    width: 2px; background: rgb(var(--sc-primary));
}
/* hairline between rows, from the text column to the edge */
html.theme-scout .sc-step:not(:last-child)::after {
    content: ""; position: absolute; left: 48px; right: 0; bottom: 0;
    height: 1px; background: rgb(var(--sc-border-soft));
}

/* Desktop: 4 columns, the circles sit on one connecting line, icon + text below */
@media (min-width: 1024px) {
    html.theme-scout .sc-section--how { --sc-step-ring: #ffffff; background: #ffffff; }
    html.theme-scout .sc-steps {
        display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px;
        padding: 4px 0 0; background: none; border: 0; border-radius: 0; box-shadow: none;
    }
    html.theme-scout .sc-steps::before {
        content: ""; position: absolute; left: 16px; right: 8px; top: 19px;
        height: 2px; background: rgb(var(--sc-primary));
    }
    html.theme-scout .sc-steps::after {
        content: ""; position: absolute; right: 0; top: 15px;
        border-left: 9px solid rgb(var(--sc-primary)); border-top: 5px solid transparent; border-bottom: 5px solid transparent;
    }
    html.theme-scout .sc-step,
    html.theme-scout .sc-step:first-child,
    html.theme-scout .sc-step:last-child {
        grid-template-columns: 32px minmax(0, 1fr);
        grid-template-areas: "num ." "icon text";
        row-gap: 16px; column-gap: 12px;
        padding: 0;
    }
    html.theme-scout .sc-step:not(:last-child)::before,
    html.theme-scout .sc-step:not(:last-child)::after { display: none; }
    /* reference: blue line icons on desktop */
    html.theme-scout .sc-step__icon { align-self: start; justify-content: center; color: #1d4f91; }
    html.theme-scout .sc-step__icon i,
    html.theme-scout .sc-step__icon svg { width: 32px; height: 32px; stroke-width: 1.9; }
    html.theme-scout .sc-step__icon .lucide-search { stroke-width: 2.3; }
    html.theme-scout .sc-step__text { padding-top: 2px; }
    html.theme-scout .sc-step__title { font-size: 16px; }
}

/* ───────────────────────── reviews ───────────────────────── */
/* Phones / tablets: light section — rating card, carousel, then the button */
html.theme-scout .sc-reviews { background: rgb(var(--sc-canvas)); padding: 32px 0; }
html.theme-scout .sc-reviews .sc-h2 { color: #333333; margin-bottom: 16px; }
html.theme-scout .sc-reviews__grid { display: flex; flex-direction: column; gap: 16px; }
html.theme-scout .sc-reviews__summary { display: contents; }
html.theme-scout .sc-reviews__rating {
    order: 1;
    display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
    padding: 16px 20px; background: #ffffff; border: 1px solid rgb(var(--sc-border-soft)); border-radius: 12px;
}
html.theme-scout .sc-reviews__score-row { display: flex; align-items: center; gap: 12px; }
html.theme-scout .sc-reviews__score { font-size: 34px; font-weight: 800; line-height: 1; color: #333333; }
html.theme-scout .sc-reviews__stars { font-size: 22px; letter-spacing: 2px; }
html.theme-scout .sc-reviews__stars .tst-summary-stars-bg { color: rgb(var(--sc-border)); }
html.theme-scout .sc-reviews__stars .tst-summary-stars-fg { color: #f2ca26; filter: none; }
html.theme-scout .sc-reviews__count { font-size: 14px; color: #676767; }
html.theme-scout .sc-reviews__carousel { order: 2; min-width: 0; }
html.theme-scout .sc-reviews__actions { order: 3; display: flex; flex-direction: column; align-items: center; gap: 12px; }
html.theme-scout .sc-reviews__actions .sc-btn { min-height: 48px; font-size: 16px; }

/* Review cards: white, same look on both backgrounds */
html.theme-scout .sc-reviews .tst-carousel { padding-bottom: 0; }
html.theme-scout .sc-reviews .splide__slide { display: flex; }
html.theme-scout .sc-reviews .tst-card {
    flex: 1; height: auto; min-height: 236px;
    padding: 20px 20px 18px;
    background: #ffffff; border: 1px solid rgb(var(--sc-border-soft)); border-radius: 12px;
    backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: none;
}
html.theme-scout .sc-reviews .tst-card::before,
html.theme-scout .sc-reviews .tst-quote-mark { display: none; }
html.theme-scout .sc-reviews .tst-card:hover { transform: none; background: #ffffff; border-color: rgb(var(--sc-border)); box-shadow: 0 6px 18px rgba(0, 0, 0, .12); }
html.theme-scout .sc-reviews .tst-text {
    margin: 0 0 16px; color: #333333; font-size: 14.5px; line-height: 1.55; -webkit-line-clamp: 5;
}
html.theme-scout .sc-reviews .tst-footer { gap: 12px; padding-top: 14px; border-top: 1px solid rgb(var(--sc-border-soft)); }
html.theme-scout .sc-reviews .tst-avatar { width: 40px; height: 40px; background: rgb(var(--sc-dark)); box-shadow: none; }
html.theme-scout .sc-reviews .tst-avatar-fallback { font-size: 16px; }
html.theme-scout .sc-reviews .tst-author { color: #333333; }
html.theme-scout .sc-reviews .tst-purchased { color: #676767; }
html.theme-scout .sc-reviews .tst-purchased-verified { color: #4cb944; filter: none; }
html.theme-scout .sc-reviews .tst-star { color: rgb(var(--sc-border)); }
html.theme-scout .sc-reviews .tst-star-filled { color: #f2ca26; fill: #f2ca26; filter: none; }
html.theme-scout .sc-reviews .tst-platform-badge { box-shadow: none; }
@media (max-width: 699.98px) {
    /* one card per view: let the next one peek in (Splide writes an inline 0 padding) */
    html.theme-scout .sc-reviews .splide__track { padding-right: 56px !important; }
}

/* Desktop: slate band; summary card on the left, exactly as tall as the review cards */
@media (min-width: 1024px) {
    html.theme-scout .sc-reviews { background: rgb(var(--sc-dark)); padding: 40px 0 44px; }
    html.theme-scout .sc-reviews .sc-h2 { color: #ffffff; text-align: center; margin-bottom: 28px; }
    html.theme-scout .sc-reviews__grid {
        display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 24px; align-items: stretch;
    }
    html.theme-scout .sc-reviews__summary {
        display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px;
        padding: 20px; background: #ffffff; border-radius: 12px; text-align: center;
    }
    html.theme-scout .sc-reviews__rating { align-items: center; gap: 6px; padding: 0; border: 0; border-radius: 0; background: transparent; }
    html.theme-scout .sc-reviews__score-row { flex-direction: column; gap: 8px; }
    html.theme-scout .sc-reviews__score { font-size: 44px; }
    html.theme-scout .sc-reviews__count { font-size: 13px; }
    html.theme-scout .sc-reviews__actions { width: 100%; gap: 10px; }
    html.theme-scout .sc-reviews__actions .sc-btn { min-height: 44px; font-size: 15px; }
    /* the carousel column fills the row, so slides and summary share one height */
    html.theme-scout .sc-reviews__carousel { display: flex; flex-direction: column; }
    html.theme-scout .sc-reviews__carousel > .splide { flex: 1; display: flex; flex-direction: column; }
    html.theme-scout .sc-reviews__carousel .splide__track { flex: 1; }
    html.theme-scout .sc-reviews .tst-card { border-color: transparent; }
}

/* ───────────────────────── CTA tiles ───────────────────────── */
html.theme-scout .sc-ctas { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
@media (min-width: 1024px) { html.theme-scout .sc-ctas { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; } }
html.theme-scout .sc-cta {
    position: relative; overflow: hidden; isolation: isolate;
    display: flex; align-items: flex-start; gap: 16px;
    min-height: 170px; padding: 22px 20px;
    border-radius: 12px; background: #ffffff; border: 1px solid rgb(var(--sc-border-soft));
    box-shadow: 0 1px 3px rgba(0, 0, 0, .05);
    text-decoration: none; color: #333333;
    transition: box-shadow .2s;
}
@media (min-width: 1024px) { html.theme-scout .sc-cta { align-items: center; gap: 24px; min-height: 172px; padding: 26px 32px; } }
html.theme-scout .sc-cta:hover { box-shadow: 0 8px 24px rgba(0, 0, 0, .12); }
html.theme-scout .sc-cta--photo { align-items: center; background: rgb(var(--sc-dark)); border-color: rgb(var(--sc-dark)); color: #ffffff; }
html.theme-scout .sc-cta--photo img {
    position: absolute; inset: 0; z-index: -2;
    width: 100%; height: 100%; object-fit: cover; object-position: right center;
    transition: transform .4s ease;
}
html.theme-scout .sc-cta--photo:hover img { transform: scale(1.03); }
html.theme-scout .sc-cta--photo::after {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(90deg, rgb(var(--sc-dark) / .95) 0%, rgb(var(--sc-dark) / .8) 45%, rgb(var(--sc-dark) / .25) 100%);
}
/* FAQ icon: big teal bubble on desktop; on phones/tablets a small "?" before the text */
html.theme-scout .sc-cta__icon { display: none; flex-shrink: 0; color: rgb(var(--sc-primary)); }
html.theme-scout .sc-cta__icon .sc-icon { width: 72px; height: 72px; }
html.theme-scout .sc-cta__text-icon { width: 20px; height: 20px; margin-top: 1px; color: #676767; }
@media (min-width: 1024px) {
    html.theme-scout .sc-cta__icon { display: inline-flex; margin: 0 8px 0 4px; }
    html.theme-scout .sc-cta__text-icon { display: none; }
}
html.theme-scout .sc-cta__body { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; min-width: 0; max-width: 480px; }
html.theme-scout .sc-cta--photo .sc-cta__body { max-width: 62%; }
@media (max-width: 639.98px) { html.theme-scout .sc-cta--photo .sc-cta__body { max-width: 78%; } }
html.theme-scout .sc-cta__title { margin: 0; font-size: 20px; font-weight: 700; line-height: 1.25; }
@media (min-width: 1024px) { html.theme-scout .sc-cta__title { font-size: 22px; } }
html.theme-scout .sc-cta__text,
html.theme-scout .sc-cta--faq .sc-cta__text > span {
    margin: 0; color: #676767; font-size: 14px; line-height: 1.5;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
html.theme-scout .sc-cta__text { margin-bottom: 6px; }
html.theme-scout .sc-cta--faq .sc-cta__text { display: flex; align-items: flex-start; gap: 8px; }
html.theme-scout .sc-cta--photo .sc-cta__text { color: rgba(255, 255, 255, .85); }
/* desktop reference: title + button only */
@media (min-width: 1024px) {
    html.theme-scout .sc-cta .sc-cta__text { display: none; }
    html.theme-scout .sc-cta__body { gap: 16px; }
}

/* ───────────────────────── collaborators ───────────────────────── */
html.theme-scout .sc-partners {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px;
    margin: 0; padding: 0; list-style: none;
}
@media (min-width: 640px)  { html.theme-scout .sc-partners { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; } }
@media (min-width: 1024px) { html.theme-scout .sc-partners { grid-template-columns: repeat(8, minmax(0, 1fr)); } }
html.theme-scout .sc-partners li {
    display: flex; align-items: center; justify-content: center;
    height: 72px; padding: 10px 14px;
    background: #ffffff; border: 1px solid rgb(var(--sc-border-soft)); border-radius: 10px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .05);
}
@media (min-width: 1024px) { html.theme-scout .sc-partners li { height: 80px; background: #fafafa; } }
html.theme-scout .sc-partners img { max-width: 100%; max-height: 46px; width: auto; height: auto; object-fit: contain; }
@media (max-width: 767.98px) {
    /* phones, as the reference: light grey section, white tiles that only cast a soft shadow */
    html.theme-scout .sc-section--partners { background: rgb(var(--sc-canvas)); padding-top: 28px; }
    html.theme-scout .sc-partners { gap: 12px; }
    html.theme-scout .sc-partners li {
        height: 64px; padding: 8px 16px;
        background: #ffffff; border: 0; border-radius: 10px;
        box-shadow: 0 1px 2px rgba(0, 0, 0, .06), 0 2px 8px rgba(0, 0, 0, .06);
    }
    html.theme-scout .sc-partners img { max-height: 44px; max-width: 86%; }
}

/* ───────────────────────── white header (logo_light uploaded) ───────────────────────── */
html.theme-scout .header.header--light { background: #ffffff; border-bottom: 1px solid rgb(var(--sc-border)); box-shadow: 0 1px 0 rgba(0,0,0,.02); }
html.theme-scout .header.header--light .nav-link { color: #333333; }
html.theme-scout .header.header--light .nav-link:hover { color: #333333; background: rgb(var(--sc-canvas)); }
html.theme-scout .header.header--light .nav-link-active { color: #333333; }
html.theme-scout .header.header--light .nav-divider { background: rgb(var(--sc-border)); }
html.theme-scout .header.header--light .lang-button { color: #333333; border-color: rgb(var(--sc-border-strong)); }
html.theme-scout .header.header--light .lang-button:hover { background: rgb(var(--sc-canvas)); border-color: #333333; }
html.theme-scout .header.header--light .lang-chevron { color: #676767; }
html.theme-scout .header.header--light .hamburger-menu { color: #333333; background: rgb(var(--sc-canvas)); border-color: rgb(var(--sc-border)); }
html.theme-scout .header.header--light a:not(.lang-dropdown-option):not(.customer-dropdown-item),
html.theme-scout .header.header--light button:not(.lang-dropdown-option):not(.customer-dropdown-item) { color: #333333; }
/* White header, laptop (reference "My account"): centred menu, round bell with a
   yellow count, round avatar + "Kim M." + chevron */
@media (min-width: 1280px) {
    html.theme-scout .header.header--light { padding-top: 15px; padding-bottom: 15px; }
    html.theme-scout .header.header--light .header-right { flex: 1 1 auto; justify-content: flex-end; }
    html.theme-scout .header.header--light .nav { flex: 1 1 auto; }
    html.theme-scout .header.header--light .nav-list { gap: 6px; margin: 0 auto; }
    html.theme-scout .header.header--light .nav-link { font-weight: 400; color: #1e2832; }
    html.theme-scout .header.header--light .nav-link-active { font-weight: 500; background: transparent; }
    html.theme-scout .header.header--light .nav-divider { display: none; }
    html.theme-scout .header.header--light .header-auth-links { margin-left: 16px; }
    html.theme-scout .header.header--light .header-msg-bell {
        width: 44px;
        height: 44px;
        margin: 0 14px 0 20px;
        color: #1e2832;
        background: #ffffff;
        border: 1px solid #e3e5e7;
        border-radius: 50%;
        box-shadow: 0 1px 3px rgba(0,0,0,.05);
        animation: none;
    }
    html.theme-scout .header.header--light .header-msg-bell:hover { color: #1e2832; background: #f6f7f8; filter: none; }
    html.theme-scout .header.header--light .header-msg-bell__halo { display: none; }
    html.theme-scout .header.header--light .header-msg-bell__icon { width: 20px; height: 20px; color: #1e2832; stroke-width: 1.8; }
    html.theme-scout .header.header--light .header-msg-bell__count {
        top: -5px;
        right: -5px;
        min-width: 22px;
        height: 22px;
        font-size: 12px;
        font-weight: 700;
        color: #1e2832;
        background: #f5c400;
        border: 2px solid #ffffff;
        box-shadow: none;
    }
    html.theme-scout .header.header--light .header-msg-bell--zero .header-msg-bell__count { display: none; }
    html.theme-scout .header.header--light .customer-button { gap: 12px; padding: 0; color: #1e2832; background: none; border: 0; box-shadow: none; }
    html.theme-scout .header.header--light .customer-button:hover { background: none; border: 0; box-shadow: none; }
    html.theme-scout .header.header--light .customer-button .customer-avatar {
        width: 42px;
        height: 42px;
        font-size: 14px;
        font-weight: 600;
        letter-spacing: .02em;
        color: #ffffff;
        background: #1e2832;
        border-radius: 50%;
        box-shadow: 0 0 0 2px #ffffff, 0 0 0 3px #e3e5e7;
    }
    html.theme-scout .header.header--light .customer-name { font-size: 15px; font-weight: 500; white-space: nowrap; color: #1e2832; }
    html.theme-scout .header.header--light .customer-button i { width: 18px; height: 18px; color: #1e2832; opacity: 1; }
    html.theme-scout .header.header--light .lang-selector { margin-left: 18px; }
}

/* ───────────────────────── compact cookie bar ───────────────────────── */
html.theme-scout .cookie-consent { padding: 0; }
html.theme-scout .cookie-consent-card {
    max-width: none; margin: 0; border-radius: 0;
    background: #ffffff; border: 0; border-top: 1px solid rgb(var(--sc-border));
    box-shadow: 0 -4px 18px rgba(0, 0, 0, .12);
}
html.theme-scout .cookie-consent-inner {
    max-width: 1400px; margin: 0 auto; padding: 12px 16px; gap: 12px 20px; align-items: center;
}
html.theme-scout .cookie-consent-icon { display: none; }
html.theme-scout .cookie-consent-title { color: #333333; font-size: 15px; margin: 0 0 2px; }
html.theme-scout .cookie-consent-text { color: #676767; font-size: 13px; margin: 0; }
html.theme-scout .cookie-consent-btn { border-radius: 8px; box-shadow: none; }
html.theme-scout .cookie-consent-btn-accept { background: rgb(var(--sc-primary)); color: #ffffff; border-color: rgb(var(--sc-primary)); }
html.theme-scout .cookie-consent-btn-accept:hover { background: rgb(var(--sc-primary-hover)); }
html.theme-scout .cookie-consent-btn-decline,
html.theme-scout .cookie-consent-btn-settings { background: #ffffff; color: #333333; border: 1px solid rgb(var(--sc-border-strong)); }
@media (max-width: 640px) {
    html.theme-scout .cookie-consent-inner { padding: 10px 12px; }
    html.theme-scout .cookie-consent-title { font-size: 14px; }
    html.theme-scout .cookie-consent-text {
        font-size: 12px; line-height: 1.4;
        display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
    }
    html.theme-scout .cookie-consent-actions { flex-direction: row; flex-wrap: wrap; gap: 6px; width: 100%; }
    html.theme-scout .cookie-consent-main-btns { flex: 1 1 auto; display: flex; gap: 6px; }
    html.theme-scout .cookie-consent-btn { min-height: 38px; padding: 0 12px; font-size: 13px; }
    html.theme-scout .cookie-consent-main-btns .cookie-consent-btn { flex: 1; }
}

/* ───────────────────────── phones: tighter rhythm ─────────────────────────
   Every section on a phone sits on the same grey, so it only needs space
   above it: one 24px step between sections instead of bottom + top (≈64px),
   and 12px between cards. */
@media (max-width: 767.98px) {
    html.theme-scout .sc-section,
    html.theme-scout .sc-reviews { padding: 24px 0 0; }
    html.theme-scout .sc-section--brands { padding: 20px 0 0; }
    html.theme-scout .sc-section--cars { padding: 16px 0 0; }
    html.theme-scout .sc-section--partners { padding-top: 24px; }
    html.theme-scout .sc-home > section:last-child { padding-bottom: 24px; }
    html.theme-scout .sc-stats { padding: 12px 0 0; }

    html.theme-scout .sc-head,
    html.theme-scout .sc-reviews .sc-h2 { margin-bottom: 12px; }
    html.theme-scout .sc-live { margin-bottom: 12px; }
    html.theme-scout .sc-grid,
    html.theme-scout .sc-why,
    html.theme-scout .sc-ctas,
    html.theme-scout .sc-reviews__grid { gap: 12px; }
    html.theme-scout .sc-partners { gap: 10px; }
    html.theme-scout .sc-center { margin-top: 12px; }
    html.theme-scout .sc-reviews__actions { gap: 8px; }
    html.theme-scout .sc-cta { min-height: 0; }
}

@media (prefers-reduced-motion: reduce) {
    html.theme-scout .sc-why__tile:hover img,
    html.theme-scout .sc-cta--photo:hover img { transform: none; }
    html.theme-scout .sc-live__dot { animation: none; }
}
