/*
 * Design theme "scout" — components (Stages 2–4).
 *
 * Header · footer · Home (hero, search, cards, sections) · vehicle card.
 * Loaded only when the theme is on, after theme-scout.generated.css and
 * theme-scout.css. Every rule is scoped to html.theme-scout, so with the
 * theme off nothing here applies.
 *
 * PRESENTATION ONLY. No markup, no script, no behaviour: only how the
 * elements that already exist are painted and spaced.
 * The "8 cards on desktop / 4 on mobile" behaviour already lives in
 * vehicle.css (.vehicle-container--home) and is left exactly as it is.
 *
 * Palette: canvas #F4F4F4 · card #FFF · border #D6D6D6 · text #333 ·
 * action #028484 (hover #006466) · link #006BD6 · brand yellow #FAEB00 ·
 * slate #1E2832.
 */

/* ═══════════════════════════════════════════════════════════════
   STAGE 2 — HEADER
   Stays slate (the uploaded logo is a light-on-dark mark), flat, with
   the brand-yellow rule under it and a yellow current-page marker.
   ═══════════════════════════════════════════════════════════════ */
html.theme-scout .header {
    background: rgb(var(--sc-header-bg));
    border-bottom: 3px solid rgb(var(--sc-brand));
}

html.theme-scout .nav-link {
    border-radius: 6px;
    font-weight: 500;
}
html.theme-scout .nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
}
html.theme-scout .nav-link-active {
    background: transparent;
}
html.theme-scout .nav-link-active::after {
    left: 10px;
    right: 10px;
    bottom: 0;
    width: auto;
    height: 3px;
    border-radius: 2px;
    transform: none;
    background: rgb(var(--sc-brand));
    box-shadow: none;
}

html.theme-scout .lang-button {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 8px;
}
html.theme-scout .lang-button:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: none;
}
html.theme-scout .lang-dropdown {
    background: #ffffff;
    border: 1px solid rgb(var(--sc-border));
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}
html.theme-scout .lang-dropdown-header {
    color: #6f6f6f;
    border-color: rgb(var(--sc-border-soft));
}
html.theme-scout .lang-dropdown-option {
    color: #333333;
    border-radius: 6px;
}
html.theme-scout .lang-dropdown-option:hover {
    background: rgb(var(--sc-canvas));
}
html.theme-scout .lang-dropdown-option-active {
    background: rgb(var(--sc-brand-muted));
    border: 1px solid rgb(var(--sc-brand));
}
html.theme-scout .lang-option-native {
    color: #6f6f6f;
}

/* the customer menu under the avatar: white, like the language list (was the dark classic panel) */
html.theme-scout .customer-dropdown-menu { width: 248px; padding: 6px; background: #ffffff; border: 1px solid rgb(var(--sc-border)); border-radius: 8px; box-shadow: 0 8px 24px rgba(0, 0, 0, .18); -webkit-backdrop-filter: none; backdrop-filter: none; }
html.theme-scout .customer-dropdown-header { margin: 0 0 4px; padding: 10px 10px 12px; border-bottom: 1px solid rgb(var(--sc-border-soft)); }
html.theme-scout .customer-dropdown-name { font-size: 15px; font-weight: 700; color: #333333; }
html.theme-scout .customer-dropdown-email { margin-top: 2px; font-size: 13px; color: #6f6f6f; }
html.theme-scout .header .customer-dropdown-menu .customer-dropdown-item { gap: 10px; padding: 10px; font-family: inherit; font-size: 15px; font-weight: 400; color: #333333; border-radius: 6px; }
html.theme-scout .header .customer-dropdown-menu .customer-dropdown-item:hover { color: #333333; background: rgb(var(--sc-canvas)); }
html.theme-scout .customer-dropdown-item i,
html.theme-scout .customer-dropdown-item svg { width: 18px; height: 18px; color: #333333; }
html.theme-scout .header .customer-dropdown-menu .customer-dropdown-item.has-unread { font-weight: 600; color: #333333; }
html.theme-scout .customer-dropdown-badge { min-width: 22px; height: 22px; font-size: 12px; }
html.theme-scout .header .customer-dropdown-menu .customer-dropdown-item.logout { margin-top: 4px; color: #b42318; border-top: 1px solid rgb(var(--sc-border-soft)); border-radius: 0 0 6px 6px; }
html.theme-scout .header .customer-dropdown-menu .customer-dropdown-item.logout i,
html.theme-scout .header .customer-dropdown-menu .customer-dropdown-item.logout svg { color: #b42318; }
html.theme-scout .header .customer-dropdown-menu .customer-dropdown-item.logout:hover { color: #b42318; background: #fdecea; }

/* Laptop / desktop menu a touch larger (was 13px links and buttons, 14px "EN") */
@media (min-width: 1280px) {
    html.theme-scout .nav-link { font-size: 15px; padding: 9px 11px; }
    html.theme-scout .header-auth-links .login-button { font-size: 15px; padding: 9px 15px; }
    html.theme-scout .lang-button .lang-text { font-size: 15px; }
    html.theme-scout .lang-button { padding: 9px 12px; }
}
/* "Sign in", "Sign up" and "EN": the menu's font and 15px, a touch bolder (500) than the menu links (400) */
html.theme-scout .header .header-auth-links .login-button,
html.theme-scout .header .lang-button .lang-text { font-family: inherit; font-weight: 500; letter-spacing: 0; text-transform: none; }
html.theme-scout .header.header--light .header-right .header-auth-links a.login-button,
html.theme-scout .header.header--light .header-right button.lang-button { color: #333333; }
@media (min-width: 1280px) {
    html.theme-scout .header .header-auth-links .login-button,
    html.theme-scout .header .lang-button .lang-text { font-size: 15px; line-height: 1.5; }
}
/* wide screens: more room around the links, the same 15px text as the footer */
@media (min-width: 1536px) {
    html.theme-scout .nav-link { font-size: 15px; padding: 10px 13px; }
    html.theme-scout .header-auth-links .login-button { font-size: 15px; padding: 10px 17px; }
    html.theme-scout .lang-button .lang-text { font-size: 15px; }
}

/* Icons as in the reference designs: plain "Sign in" / "Sign up" buttons,
   "EN ⌄" without the flag, outline heart for saved cars, bare ☰ */
html.theme-scout .header-auth-links .login-button i,
html.theme-scout .header-auth-links .login-button svg,
html.theme-scout .lang-button .lang-flag {
    display: none;
}
html.theme-scout .nav-fav-link svg {
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}
html.theme-scout .hamburger-menu {
    padding: 8px;
    border-radius: 8px;
    background: transparent;
    border-color: transparent;
}
html.theme-scout .hamburger-menu:hover {
    background: rgba(255, 255, 255, 0.1);
}
html.theme-scout .header.header--light .hamburger-menu {
    background: transparent;
    border-color: transparent;
}

/* Mobile menu: same slate, flat, yellow accent on the active link */
html.theme-scout .mobile-menu {
    background: rgb(var(--sc-header-bg));
}
html.theme-scout .mobile-menu-link-active {
    background: rgb(var(--sc-brand) / 0.12);
    border-color: rgb(var(--sc-brand) / 0.45);
}
html.theme-scout .mobile-menu-link-active i,
html.theme-scout .mobile-menu-link-active span {
    color: rgb(var(--sc-brand));
}
html.theme-scout .mobile-menu-lang-pill--active {
    background: rgb(var(--sc-brand) / 0.14);
    border-color: rgb(var(--sc-brand) / 0.5);
    box-shadow: none;
}
html.theme-scout .mobile-menu-lang-pill--active i {
    color: rgb(var(--sc-brand));
}
html.theme-scout .mobile-menu-cta {
    background: rgb(var(--sc-primary));
    box-shadow: none;
    border-radius: 8px;
}
html.theme-scout .mobile-menu-cta:hover {
    background: rgb(var(--sc-primary-hover));
    box-shadow: none;
    transform: none;
}

/* ═══════════════════════════════════════════════════════════════
   STAGE 2 — FOOTER
   ═══════════════════════════════════════════════════════════════ */
html.theme-scout .footer {
    background: rgb(var(--sc-dark));
    border-top: 3px solid rgb(var(--sc-brand));
}
html.theme-scout .footer-partners {
    background: transparent;
}
html.theme-scout .footer-partners-title {
    background: none;
    -webkit-text-fill-color: #ffffff;
    color: #ffffff;
}
html.theme-scout .footer-partner-card {
    background: #ffffff;
    border: 1px solid rgb(var(--sc-border));
    border-radius: 8px;
}
html.theme-scout .footer-partner-card:hover {
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
    border-color: rgb(var(--sc-brand));
}
html.theme-scout .footer-column-title {
    position: relative;
    padding-bottom: 10px;
}
html.theme-scout .footer-column-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 32px;
    height: 3px;
    border-radius: 2px;
    background: rgb(var(--sc-brand));
}
html.theme-scout .footer-link {
    color: rgba(255, 255, 255, 0.72);
}
html.theme-scout .footer-link:hover {
    color: #ffffff;
}
html.theme-scout .footer-link:hover i,
html.theme-scout .footer-link-active {
    color: rgb(var(--sc-brand));
}
/* Reference footer: plain text links and contact lines, no icons */
html.theme-scout .footer-link i,
html.theme-scout .footer-link svg,
html.theme-scout .footer-contact-icon {
    display: none;
}
html.theme-scout .footer-contact-item {
    padding: 0;
    border-radius: 0;
    background: transparent;
    border-color: transparent;
}
html.theme-scout .footer-contact-item:hover {
    transform: none;
    background: transparent;
}
html.theme-scout .footer-contact-item:hover .footer-contact-value {
    color: rgb(var(--sc-brand));
}
html.theme-scout .footer-contact-label {
    color: rgba(255, 255, 255, 0.72);
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0;
    font-size: 14px;
}
html.theme-scout .footer-contact-item:first-of-type .footer-contact-value {
    color: rgb(var(--sc-brand));
}
html.theme-scout .footer-contact-item[href^="mailto:"] .footer-contact-value {
    color: #3cc8b4;
}
html.theme-scout .footer-bottom {
    background: rgba(0, 0, 0, 0.18);
    border-top-color: rgba(255, 255, 255, 0.1);
}
html.theme-scout .footer-copyright {
    color: rgba(255, 255, 255, 0.6);
}
html.theme-scout .footer-legal-link,
html.theme-scout .footer-social-link {
    color: rgba(255, 255, 255, 0.7);
}
html.theme-scout .footer-legal-link:hover {
    color: rgb(var(--sc-brand));
}
html.theme-scout .footer-social-link,
html.theme-scout .footer-social-link:hover {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    background: transparent;
    border-color: transparent;
    box-shadow: none;
    transform: none;
    color: #ffffff;
}
html.theme-scout .footer-social-link:hover {
    color: rgb(var(--sc-brand));
}

/* ═══════════════════════════════════════════════════════════════
   STAGE 4 — HOME · HERO
   The photo is shown whole: no vignette, only a soft slate fade along
   the bottom edge. The three live statistics sit in the lower-right as
   small glass chips (mobile: centred).
   ═══════════════════════════════════════════════════════════════ */
html.theme-scout .hero-container {
    height: 320px;
    background: rgb(var(--sc-dark));
}
@media (min-width: 640px) {
    html.theme-scout .hero-container { height: 440px; }
}
@media (min-width: 768px) {
    html.theme-scout .hero-container { height: 520px; }
}
@media (min-width: 1280px) {
    html.theme-scout .hero-container { height: 580px; }
}

html.theme-scout .hero-container::before {
    background: none;
}
html.theme-scout .hero-container::after {
    background: linear-gradient(180deg, rgb(var(--sc-dark) / 0) 55%, rgb(var(--sc-dark) / 0.72) 100%);
}

html.theme-scout .hero-container-content {
    justify-content: flex-end;
    align-items: stretch;
    padding-bottom: 28px;
}
html.theme-scout .hero-text-section {
    display: flex;
    justify-content: center;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}
@media (min-width: 1024px) {
    html.theme-scout .hero-text-section {
        justify-content: flex-end;
    }
}

html.theme-scout .hero-stats {
    margin-top: 0;
    padding: 10px 6px;
    background: rgb(var(--sc-dark) / 0.72);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    box-shadow: none;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}
html.theme-scout .hero-stat-value {
    color: rgb(var(--sc-brand));
    text-shadow: none;
    font-weight: 700;
    letter-spacing: 0;
}
html.theme-scout .hero-stat-label {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    text-shadow: none;
}
html.theme-scout .hero-stat-divider {
    background: rgba(255, 255, 255, 0.22);
}

/* ═══════════════════════════════════════════════════════════════
   STAGE 4 — HOME · SEARCH BAR (under the hero)
   White card, hairline border, neutral fields, teal button. It overlaps
   the bottom edge of the photo by a few pixels on desktop only.
   ═══════════════════════════════════════════════════════════════ */
html.theme-scout .hero-search-section {
    position: relative;
    z-index: 5;
    padding-top: 16px;
    padding-bottom: 8px;
}
@media (min-width: 1024px) {
    html.theme-scout .hero-search-section {
        margin-top: -34px;
        padding-top: 0;
    }
}

html.theme-scout .hero-search-card {
    background: #ffffff;
    border: 1px solid rgb(var(--sc-border));
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}
html.theme-scout .hero-search-card::before {
    display: none;
}
html.theme-scout .hero-search-label {
    color: #6f6f6f;
    font-weight: 600;
    letter-spacing: 0.06em;
}
html.theme-scout .hero-search-select,
html.theme-scout .hero-search-input {
    background-color: #ffffff;
    border: 1px solid rgb(var(--sc-border-strong));
    border-radius: 8px;
    color: #333333;
}
html.theme-scout .hero-search-select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23676767' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
}
html.theme-scout .hero-search-input::placeholder {
    color: #949494;
}
html.theme-scout .hero-search-select:hover,
html.theme-scout .hero-search-input:hover {
    background-color: #ffffff;
    border-color: #333333;
}
html.theme-scout .hero-search-select:focus,
html.theme-scout .hero-search-select:focus-visible,
html.theme-scout .hero-search-input:focus,
html.theme-scout .hero-search-input:focus-visible {
    background-color: #ffffff;
    border-color: rgb(var(--sc-primary));
    box-shadow: 0 0 0 3px rgb(var(--sc-primary) / 0.2);
}
html.theme-scout .hero-search-select option {
    background: #ffffff;
    color: #333333;
}
html.theme-scout .hero-search-btn {
    background: rgb(var(--sc-primary));
    border-radius: 8px;
    box-shadow: none;
    letter-spacing: 0;
}
html.theme-scout .hero-search-btn:hover {
    background: rgb(var(--sc-primary-hover));
    transform: none;
    box-shadow: none;
}
html.theme-scout .hero-search-more {
    border-top: 1px solid rgb(var(--sc-border-soft));
}
html.theme-scout .hero-search-more-toggle {
    color: rgb(var(--sc-link));
}
html.theme-scout .hero-search-more-toggle:hover {
    color: rgb(var(--sc-link-hover));
}

/* ═══════════════════════════════════════════════════════════════
   STAGE 4 — HOME · BRANDS, LIVE COUNTERS
   ═══════════════════════════════════════════════════════════════ */
html.theme-scout #makes-carousel .splide__slide > div {
    border-radius: 8px;
    border-color: rgb(var(--sc-border));
    box-shadow: none;
}
html.theme-scout .live-counter {
    background: #ffffff;
    border: 1px solid rgb(var(--sc-border));
    box-shadow: none;
    color: #333333;
}
html.theme-scout .live-counter-label {
    color: #0d670f;
}
html.theme-scout .live-counter-dot {
    background: #4cb944;
}
html.theme-scout .live-counter-sep {
    background: rgb(var(--sc-border));
}
html.theme-scout .live-counter-value {
    color: #333333;
}
html.theme-scout .live-counter-text {
    color: #6f6f6f;
}

/* ═══════════════════════════════════════════════════════════════
   STAGE 3 — VEHICLE CARD (home, listing, favourites)
   Photo 16:10 · yellow AUCTION tag · neutral spec chips · big price ·
   teal button. States (frozen / won / reserved / sold) keep their own
   badges and only inherit the new surface.
   ═══════════════════════════════════════════════════════════════ */
html.theme-scout .vehicle-container {
    gap: 20px;
}

html.theme-scout .vehicle-card {
    background: #ffffff;
    border: 1px solid rgb(var(--sc-border-soft));
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}
html.theme-scout .vehicle-card:hover {
    transform: translateY(-3px);
    border-color: rgb(var(--sc-primary));
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.14);
}

html.theme-scout .vehicle-image {
    height: auto;
    aspect-ratio: 16 / 10;
}
html.theme-scout .vehicle-card:hover .vehicle-image {
    transform: scale(1.03);
}
html.theme-scout .vehicle-image-effect {
    background: linear-gradient(180deg, transparent 55%, rgb(var(--sc-dark) / 0.45) 100%);
}

/* "DEKRA verified" chip (top-left on the photo): square-ish, flat */
html.theme-scout .vehicle-image-dekra {
    border-radius: 6px;
    background: #ffffff;
    color: #333333;
    font-weight: 600;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}
html.theme-scout .vehicle-image-dekra-dot {
    background: #4cb944;
    box-shadow: 0 0 0 3px rgba(76, 185, 68, 0.2);
}

/* AUCTION tag → brand yellow, flat, no pulse */
html.theme-scout .vehicle-auction-badge {
    background: rgb(var(--sc-brand));
    color: #333333;
    border-radius: 6px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
    animation: none;
}

html.theme-scout .vehicle-content {
    padding: 16px;
}
html.theme-scout .vehicle-content-title {
    color: #333333;
    font-weight: 700;
}
html.theme-scout .vehicle-card:hover .vehicle-content-title {
    color: rgb(var(--sc-primary));
}
html.theme-scout .vehicle-content-info-container {
    border-top-color: rgb(var(--sc-border-soft));
}
html.theme-scout .vehicle-content-info {
    background: rgb(var(--sc-canvas));
    border: 0;
    border-radius: 6px;
}
html.theme-scout .vehicle-card:hover .vehicle-content-info {
    background: rgb(var(--sc-canvas));
    border-color: transparent;
}
html.theme-scout .vehicle-content-info i {
    color: #6f6f6f;
}
html.theme-scout .vehicle-content-info-text {
    color: #333333;
}
html.theme-scout .vehicle-details-container {
    border-top-color: rgb(var(--sc-border-soft));
}
html.theme-scout .vehicle-details-right-discount {
    color: #333333;
    font-weight: 700;
}
html.theme-scout .vehicle-price-starting-label {
    color: #6f6f6f;
}
html.theme-scout .vehicle-details-btn {
    background: rgb(var(--sc-primary));
    border-radius: 8px;
    box-shadow: none;
}
html.theme-scout .vehicle-details-btn:hover {
    background: rgb(var(--sc-primary-hover));
    transform: none;
    box-shadow: none;
}

/* ═══════════════════════════════════════════════════════════════
   STAGE 4 — HOME · STATS BAND (counters)
   The band is the only <section> on Home with both .relative and
   .overflow-hidden. Slate, with the yellow rule on top.
   ═══════════════════════════════════════════════════════════════ */
html.theme-scout .home-content > section.relative.overflow-hidden {
    border-top: 3px solid rgb(var(--sc-brand));
}
html.theme-scout .home-content > section.relative.overflow-hidden > .absolute:first-child {
    background-image: none;
    background-color: rgb(var(--sc-dark));
}
html.theme-scout .home-content > section.relative.overflow-hidden .counter {
    color: rgb(var(--sc-brand));
    text-shadow: none;
    filter: none;
}
html.theme-scout .home-content > section.relative.overflow-hidden .text-center > div:last-child {
    color: rgba(255, 255, 255, 0.78);
    letter-spacing: 0.04em;
}

/* ═══════════════════════════════════════════════════════════════
   STAGE 4 — HOME · "WHY CHOOSE US" (3 feature cards)
   Flat white cards, slate icon tile with a yellow glyph. The three
   old accent colours (blue / green / violet) become one.
   ═══════════════════════════════════════════════════════════════ */
html.theme-scout .home-content > section.bg-gradient-to-b {
    background-image: none;
    background-color: rgb(var(--sc-canvas));
}
html.theme-scout .home-content > section.bg-gradient-to-b .group {
    border-radius: 12px;
    border: 1px solid rgb(var(--sc-border-soft));
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}
html.theme-scout .home-content > section.bg-gradient-to-b .group:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.12);
}
html.theme-scout .home-content > section.bg-gradient-to-b .group > .absolute {
    display: none;
}
html.theme-scout .home-content > section.bg-gradient-to-b .group > .relative {
    background-image: none;
    background-color: rgb(var(--sc-dark));
    border-radius: 8px;
    box-shadow: none;
}
html.theme-scout .home-content > section.bg-gradient-to-b .group > .relative i {
    color: rgb(var(--sc-brand));
}
html.theme-scout .home-content > section.bg-gradient-to-b .group:hover > .relative {
    transform: none;
}

/* ═══════════════════════════════════════════════════════════════
   STAGE 4 — HOME · TWO CALL-TO-ACTION TILES
   (their pastel gradients are inline style="" attributes)
   ═══════════════════════════════════════════════════════════════ */
html.theme-scout .home-content [style*="#dbeafe 0%"],
html.theme-scout .home-content [style*="#fce7f3 0%"] {
    background: #ffffff !important;
    border: 1px solid rgb(var(--sc-border));
    border-left: 4px solid rgb(var(--sc-brand));
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}
html.theme-scout .home-content [style*="#dbeafe 0%"] > .absolute,
html.theme-scout .home-content [style*="#fce7f3 0%"] > .absolute {
    display: none;
}
html.theme-scout .home-content [style*="#dbeafe 0%"] .bg-gradient-to-br,
html.theme-scout .home-content [style*="#fce7f3 0%"] .bg-gradient-to-br {
    background-image: none;
    background-color: rgb(var(--sc-dark));
    border-radius: 8px;
    box-shadow: none;
}
html.theme-scout .home-content [style*="#dbeafe 0%"] .bg-gradient-to-br i,
html.theme-scout .home-content [style*="#fce7f3 0%"] .bg-gradient-to-br i {
    color: rgb(var(--sc-brand));
}
html.theme-scout .home-content .btn-primary,
html.theme-scout .home-content .btn-secondary {
    border-radius: 8px;
    box-shadow: none;
}
html.theme-scout .home-content .btn-primary {
    background: rgb(var(--sc-primary));
    color: #ffffff;
}
html.theme-scout .home-content .btn-primary:hover {
    background: rgb(var(--sc-primary-hover));
}
html.theme-scout .home-content .btn-secondary {
    background: #ffffff;
    color: rgb(var(--sc-primary));
    border: 1px solid rgb(var(--sc-primary));
}
html.theme-scout .home-content .btn-secondary:hover {
    background: rgb(var(--sc-primary-faint));
}

/* Respect reduced motion: no lifting or zooming */
@media (prefers-reduced-motion: reduce) {
    html.theme-scout .vehicle-card,
    html.theme-scout .vehicle-card:hover,
    html.theme-scout .vehicle-card:hover .vehicle-image,
    html.theme-scout .home-content > section.bg-gradient-to-b .group:hover {
        transform: none;
    }
}

/* ═══ SCOUT HOME + CARD (markup: pages/home-scout, shared/vehicle-card-scout) ═══ */

/* ═══════════════════════════════════════════════════════════════
   FOOTER (markup: shared/footer-scout)
   Desktop: three columns. Phones: only "Get in touch" (open/close),
   then logo, copyright and the legal links — as in the reference.
   ═══════════════════════════════════════════════════════════════ */
html.theme-scout .footer-acc-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 .footer--scout .footer-acc-toggle { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 0; }
html.theme-scout .footer-acc-chevron { display: none; flex-shrink: 0; width: 20px; height: 20px; transition: transform .2s ease; }
html.theme-scout .footer-logo { display: inline-flex; }
html.theme-scout .footer-logo img { display: block; height: 34px; width: auto; }

@media (min-width: 768px) {
    /* desktop: a plain column title, the contacts always shown */
    html.theme-scout .footer-acc-check { display: none; }
    html.theme-scout .footer--scout .footer-acc-toggle { pointer-events: none; }
    html.theme-scout .footer--scout .footer-acc-panel { display: block; }
}

@media (max-width: 767.98px) {
    html.theme-scout .footer--scout .footer-main { padding: 4px 16px 0; }
    html.theme-scout .footer--scout .footer-grid { display: block; }
    html.theme-scout .footer--scout .footer-column--links { display: none; }
    html.theme-scout .footer--scout .footer-column--contact > * { margin-top: 0; }

    html.theme-scout .footer--scout .footer-acc-toggle {
        padding: 22px 0 18px; cursor: pointer;
        font-size: 20px; font-weight: 600; line-height: 1.25; color: #ffffff;
        border-bottom: 1px solid rgba(255, 255, 255, .12);
    }
    html.theme-scout .footer--scout .footer-acc-toggle::after { display: none; }
    html.theme-scout .footer--scout .footer-acc-chevron { display: block; color: rgba(255, 255, 255, .85); }
    /* open: chevron points up */
    html.theme-scout .footer--scout .footer-acc-check:checked ~ .footer-acc-toggle .footer-acc-chevron { transform: rotate(180deg); }
    html.theme-scout .footer--scout .footer-acc-check:not(:checked) ~ .footer-acc-panel { display: none; }
    html.theme-scout .footer--scout .footer-acc-check:focus-visible ~ .footer-acc-toggle { outline: 2px solid #ffffff; outline-offset: 4px; }

    html.theme-scout .footer--scout .footer-contact > * + * { margin-top: 0; }
    html.theme-scout .footer--scout .footer-contact-item {
        display: block; padding: 16px 0;
        border-bottom: 1px solid rgba(255, 255, 255, .12);
    }
    html.theme-scout .footer--scout .footer-contact-text { gap: 4px; }
    html.theme-scout .footer--scout .footer-contact-label { font-size: 15px; color: rgba(255, 255, 255, .85); }
    html.theme-scout .footer--scout .footer-contact-value,
    html.theme-scout .footer--scout .footer-contact-item:first-of-type .footer-contact-value,
    html.theme-scout .footer--scout .footer-contact-item[href^="mailto:"] .footer-contact-value {
        color: #ffffff; font-size: 18px; font-weight: 400; letter-spacing: .01em;
    }
    /* the e-mail line shows just the address */
    html.theme-scout .footer--scout .footer-contact-item--email .footer-contact-label { display: none; }

    html.theme-scout .footer--scout .footer-bottom { padding: 28px 16px 24px; background: transparent; border-top: 0; }
    html.theme-scout .footer--scout .footer-bottom-container { align-items: flex-start; text-align: left; gap: 14px; }
    html.theme-scout .footer--scout .footer-copyright { font-size: 14px; color: rgba(255, 255, 255, .85); }
    html.theme-scout .footer--scout .footer-logo img { height: 36px; }
}

/* ═══════════════════════════════════════════════════════════════
   BOTTOM TAB BAR on phones (markup: shared/mobile-tabbar-scout)
   Hidden in the installed app (html.is-pwa), which has its own bar.
   ═══════════════════════════════════════════════════════════════ */
html.theme-scout .sc-tabbar { display: none; }
@media (max-width: 767.98px) {
    html.theme-scout:not(.is-pwa) .sc-tabbar {
        position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
        display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
        height: calc(62px + env(safe-area-inset-bottom, 0px));
        padding-bottom: env(safe-area-inset-bottom, 0px);
        background: #ffffff;
        border-top: 1px solid rgb(var(--sc-border-soft));
        box-shadow: 0 -2px 12px rgba(0, 0, 0, .06);
    }
    html.theme-scout .sc-tabbar__item {
        display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
        min-width: 0; padding: 0 4px;
        color: #6f6f6f; font-size: 12.5px; font-weight: 500; line-height: 1.1; text-decoration: none;
        white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
        -webkit-tap-highlight-color: transparent;
    }
    html.theme-scout .sc-tabbar__item.is-active { color: rgb(var(--sc-primary)); }
    html.theme-scout .sc-tabbar__item:focus-visible { outline: 2px solid rgb(var(--sc-primary)); outline-offset: -4px; border-radius: 8px; }
    html.theme-scout .sc-tabbar__icon { width: 24px; height: 24px; stroke-width: 1.7; }

    /* keep the page end and the other bottom bars clear of it */
    html.theme-scout:not(.is-pwa) body:has(.sc-tabbar) { padding-bottom: calc(62px + env(safe-area-inset-bottom, 0px)); }
    html.theme-scout:not(.is-pwa) body:has(.sc-tabbar) .cookie-consent,
    html.theme-scout:not(.is-pwa) body:has(.sc-tabbar) .af-compare-bar { bottom: calc(62px + env(safe-area-inset-bottom, 0px)); }

    /* signed in, outside the account: the account's bar (Home · Search · Call · Messages · Account) */
    html.theme-scout:not(.is-pwa) .sc-tabbar--acc { grid-template-columns: none; grid-auto-columns: minmax(0, 1fr); grid-auto-flow: column; padding-right: 4px; padding-left: 4px; }
    html.theme-scout .sc-tabbar--acc .sc-tabbar__item { font-size: 11px; color: #5b6168; }
    html.theme-scout .sc-tabbar--acc .sc-tabbar__item > span { max-width: 100%; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
    html.theme-scout .sc-tabbar--acc .sc-tabbar__item.is-active,
    html.theme-scout .sc-tabbar--acc .sc-tabbar__item.is-call { font-weight: 600; color: rgb(var(--sc-primary)); }
    html.theme-scout .sc-tabbar__call,
    html.theme-scout .sc-tabbar__me { display: grid; place-items: center; width: 26px; height: 26px; color: #ffffff; background: rgb(var(--sc-primary)); border-radius: 50%; }
    html.theme-scout .sc-tabbar__call svg { width: 14px; height: 14px; }
    html.theme-scout .sc-tabbar__me { font-size: 10px; font-weight: 700; letter-spacing: .02em; }
    html.theme-scout .sc-tabbar__ic { position: relative; display: inline-flex; font-weight: inherit; }
    html.theme-scout .sc-tabbar__ic em { position: absolute; top: -5px; right: -10px; min-width: 18px; height: 18px; padding: 0 5px; font-size: 10.5px; font-style: normal; font-weight: 700; line-height: 14px; text-align: center; color: #ffffff; background: #e11d48; border: 2px solid #ffffff; border-radius: 999px; }

    /* under the header: Overview · My auctions */
    html.theme-scout .sc-mtop { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 10px 16px; background: #f3f4f5; border-bottom: 1px solid #e8eaec; }
    html.theme-scout .sc-mtop__item { display: flex; align-items: center; gap: 10px; min-width: 0; height: 52px; padding: 0 10px 0 8px; font-size: 13px; font-weight: 600; line-height: 1.2; color: #333333; text-decoration: none; background: #ffffff; border-radius: 14px; box-shadow: 0 2px 12px rgba(16, 24, 32, .08); -webkit-tap-highlight-color: transparent; }
    html.theme-scout .sc-mtop__item b { position: relative; display: grid; place-items: center; flex: none; width: 36px; height: 36px; color: rgb(var(--sc-primary)); background: #e6f3f2; border-radius: 11px; }
    html.theme-scout .sc-mtop__item b svg { width: 20px; height: 20px; }
    html.theme-scout .sc-mtop__item em { position: absolute; top: -6px; right: -8px; min-width: 18px; height: 18px; padding: 0 5px; font-size: 10.5px; font-style: normal; font-weight: 700; line-height: 14px; text-align: center; color: #333333; background: #f7d417; border: 2px solid #ffffff; border-radius: 999px; }
    html.theme-scout .sc-mtop__item em.is-hot { color: #ffffff; background: #e11d48; }
    /* a long name (other languages) goes on two lines */
    html.theme-scout .sc-mtop__item > span { display: -webkit-box; overflow: hidden; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
    /* three (with Offers): the icon above the name, as the account's tiles */
    html.theme-scout .sc-mtop--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
    html.theme-scout .sc-mtop--3 .sc-mtop__item { flex-direction: column; justify-content: center; gap: 5px; height: auto; min-height: 76px; padding: 8px 4px; font-size: 12px; text-align: center; }
}
/* the phone strip under the header: phones only */
@media (min-width: 768px) {
    html.theme-scout .sc-mtop { display: none; }
}

/* ═══════════════════════════════════════════════════════════════
   "Install our app" / "Open the app" banner (layout/base) — a strip in
   the page under the header, in the site's style: the app icon, the
   site's type and colours, a teal button. Same behaviour as before.
   ═══════════════════════════════════════════════════════════════ */
html.theme-scout #pwa-install-banner.is-inline {
    position: relative; top: auto; right: auto; left: auto; z-index: 1;
    padding: 12px 16px; color: #333333;
    background: #ffffff; border-bottom: 1px solid rgb(var(--sc-border-soft));
    box-shadow: none;
    font-family: inherit;
    animation: sc-pwa-in .25s ease;
}
@keyframes sc-pwa-in { from { opacity: 0; } to { opacity: 1; } }
/* scrolled past its place: pinned to the top of the screen (its place keeps the height) */
html.theme-scout #pwa-install-banner.is-inline.is-stuck {
    position: fixed; top: 0; right: 0; left: 0; z-index: 1000;
    padding-top: calc(12px + env(safe-area-inset-top, 0px));
    border-bottom-color: transparent;
    box-shadow: 0 4px 16px rgba(16, 24, 32, .12);
    animation: sc-pwa-drop .22s ease;
}
@keyframes sc-pwa-drop { from { transform: translateY(-100%); } to { transform: none; } }
html.theme-scout #pwa-install-banner.is-inline .pwa-banner-inner { display: flex; flex-wrap: nowrap; align-items: center; gap: 14px; max-width: 1400px; margin: 0 auto; }
html.theme-scout #pwa-install-banner.is-inline .pwa-banner-icon { width: 48px; height: 48px; padding: 0; overflow: hidden; background: #ffffff; border-radius: 12px; box-shadow: 0 1px 3px rgba(16, 24, 32, .16), 0 0 0 1px rgba(16, 24, 32, .06); backdrop-filter: none; }
html.theme-scout #pwa-install-banner.is-inline .pwa-banner-icon img { display: block; width: 100%; height: 100%; }
html.theme-scout #pwa-install-banner.is-inline .pwa-banner-text { flex: 1 1 auto; min-width: 0; line-height: 1.35; }
html.theme-scout #pwa-install-banner.is-inline .pwa-banner-title { margin: 0; font-size: 15px; font-weight: 700; letter-spacing: 0; color: #333333; }
html.theme-scout #pwa-install-banner.is-inline .pwa-banner-sub { margin: 2px 0 0; font-size: 13px; font-weight: 400; color: #6f6f6f; opacity: 1; }
html.theme-scout #pwa-install-banner.is-inline .pwa-banner-actions { display: flex; flex: none; align-items: center; gap: 6px; }
html.theme-scout #pwa-install-banner.is-inline .pwa-banner-btn {
    display: inline-flex; align-items: center; justify-content: center;
    height: 40px; padding: 0 18px;
    font-size: 14px; font-weight: 600; color: #ffffff; white-space: nowrap;
    background: rgb(var(--sc-primary)); border: 0; border-radius: 6px; box-shadow: none;
    cursor: pointer; transition: background .15s ease;
}
html.theme-scout #pwa-install-banner.is-inline .pwa-banner-btn:hover { background: rgb(var(--sc-primary-hover)); transform: none; box-shadow: none; }
html.theme-scout #pwa-install-banner.is-inline .pwa-banner-btn:active { transform: none; }
html.theme-scout #pwa-install-banner.is-inline .pwa-banner-close {
    display: inline-grid; place-items: center; width: 36px; height: 36px; padding: 0;
    font-size: 22px; line-height: 1; color: #6f6f6f;
    background: transparent; border: 0; border-radius: 6px; cursor: pointer;
}
html.theme-scout #pwa-install-banner.is-inline .pwa-banner-close:hover { color: #333333; background: #f3f4f5; }
html.theme-scout #pwa-install-banner.is-inline .pwa-banner-uninstall { color: #6f6f6f; }
@media (max-width: 580px) {
    html.theme-scout #pwa-install-banner.is-inline { padding: 10px 12px 10px 16px; }
    html.theme-scout #pwa-install-banner.is-inline.is-stuck { padding-top: calc(10px + env(safe-area-inset-top, 0px)); }
    html.theme-scout #pwa-install-banner.is-inline .pwa-banner-inner { gap: 12px; }
    html.theme-scout #pwa-install-banner.is-inline .pwa-banner-icon { width: 44px; height: 44px; border-radius: 11px; }
    html.theme-scout #pwa-install-banner.is-inline .pwa-banner-title { font-size: 14px; }
    html.theme-scout #pwa-install-banner.is-inline .pwa-banner-sub { display: -webkit-box; overflow: hidden; font-size: 12px; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
    html.theme-scout #pwa-install-banner.is-inline .pwa-banner-btn { height: 38px; padding: 0 14px; font-size: 13px; }
    html.theme-scout #pwa-install-banner.is-inline .pwa-banner-actions { gap: 2px; }
    html.theme-scout #pwa-install-banner.is-inline .pwa-banner-close { width: 32px; height: 32px; }
}

/* the "how to install / open" windows (iPhone steps, browser menu) */
html.theme-scout .pwa-ios-modal-backdrop { background: rgba(16, 24, 32, .48); backdrop-filter: none; }
html.theme-scout .pwa-ios-modal { padding: 24px 20px 20px; color: #333333; border-radius: 12px; box-shadow: 0 16px 40px rgba(16, 24, 32, .22); font-family: inherit; }
html.theme-scout .pwa-ios-modal h3 { font-size: 18px; color: #333333; }
html.theme-scout .pwa-ios-modal p { font-size: 14px; color: #6f6f6f; }
html.theme-scout .pwa-ios-step { gap: 12px; padding: 12px; background: #f3f4f5; border-radius: 6px; }
html.theme-scout .pwa-ios-step-num { width: 26px; height: 26px; font-size: 13px; background: rgb(var(--sc-primary)); }
html.theme-scout .pwa-ios-step-text { font-size: 14px; color: #333333; }
html.theme-scout .pwa-ios-step-text b { color: rgb(var(--sc-primary)); }
html.theme-scout .pwa-ios-modal-close { height: 44px; padding: 0; font-size: 15px; font-weight: 600; background: rgb(var(--sc-primary)); border-radius: 6px; }
html.theme-scout .pwa-ios-modal-close:hover { background: rgb(var(--sc-primary-hover)); }

/* ── Listing: "Save this search" (saved searches → Favorites, e-mail alert) ── */
html.theme-scout .listing-results-header:has(.sc-ss) { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
html.theme-scout .sc-ss { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 10px; }
html.theme-scout .listing-no-results .sc-ss { justify-content: center; margin-top: 18px; }
html.theme-scout .sc-ss__form { margin: 0; }
html.theme-scout .sc-ss__btn { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; font: inherit; font-size: 14px; font-weight: 600; color: rgb(var(--sc-primary)); text-decoration: none; background: #ffffff; border: 1.5px solid rgb(var(--sc-primary)); border-radius: 10px; cursor: pointer; }
html.theme-scout .sc-ss__btn:hover { color: #ffffff; background: rgb(var(--sc-primary)); }
html.theme-scout .sc-ss__btn.is-saved { color: #1f7a3c; border-color: #9fd3b0; background: #f1f9f3; }
html.theme-scout .sc-ss__btn.is-saved:hover { color: #1f7a3c; background: #e6f4ea; }
html.theme-scout .sc-ss__btn svg { width: 17px; height: 17px; }
html.theme-scout .sc-ss__msg { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: #1f7a3c; }
html.theme-scout .sc-ss__msg--error { color: #b42318; }
html.theme-scout .sc-ss__msg svg { width: 15px; height: 15px; }


/* ════════════════════════════════════════════════════════════════════
   PHONE / TABLET MENU (markup: shared/mobile-menu-scout) — AutoScout24
   style: grey panel, white cards (account · the site · language), each
   group on its own page with a title and a "Back" button.
   ════════════════════════════════════════════════════════════════════ */
/* closed = not shown at all (the site hides the menu with .hidden) */
html.theme-scout .mobile-menu.sc-mm.hidden { display: none; }
html.theme-scout .mobile-menu.sc-mm:not(.hidden) { display: flex; }
html.theme-scout .mobile-menu.sc-mm { flex-direction: column; padding-bottom: 88px; color: #333333; background: #f2f3f4; -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: -10px 0 40px rgba(0,0,0,.25); }
html.theme-scout .sc-mm__bar { position: sticky; top: 0; z-index: 2; display: grid; flex: none; grid-template-columns: 48px minmax(0, 1fr) 48px; align-items: center; height: 58px; padding: 0 6px; color: #333333; background: #ffffff; border-bottom: 1px solid #e6e8ea; }
html.theme-scout .sc-mm__bar--dark { color: #ffffff; background: rgb(var(--sc-header-bg)); border-bottom: 0; }
html.theme-scout .sc-mm__x { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; color: inherit; background: none; border: 0; cursor: pointer; }
html.theme-scout .sc-mm__x svg { width: 26px; height: 26px; }
html.theme-scout .sc-mm__logo { display: flex; justify-content: center; }
html.theme-scout .sc-mm__logo img { display: block; width: auto; height: 30px; }
html.theme-scout .sc-mm__pane { padding: 14px 14px 0; }
html.theme-scout .sc-mm__pane[hidden],
html.theme-scout .sc-mm__back[hidden] { display: none; }
html.theme-scout .sc-mm__title { margin: 6px 14px 10px; font-size: 15px; font-weight: 700; color: #333333; }

html.theme-scout .sc-mm__card { margin: 0 0 14px; padding: 0; overflow: hidden; list-style: none; background: #ffffff; border-radius: 12px; box-shadow: 0 1px 3px rgba(16,24,32,.06); }
html.theme-scout .sc-mm__card li { margin: 0; }
html.theme-scout .sc-mm__row { display: flex; align-items: center; gap: 12px; box-sizing: border-box; width: 100%; min-height: 52px; margin: 0; padding: 0 16px; font: inherit; font-size: 15px; text-align: left; color: #333333; text-decoration: none; background: #ffffff; border: 0; border-radius: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
html.theme-scout .sc-mm__row:active { background: #f6f7f8; }
html.theme-scout .sc-mm__row + .sc-mm__row,
html.theme-scout .sc-mm__card li + li > .sc-mm__row,
html.theme-scout .sc-mm__card > div + div .sc-mm__row { border-top: 1px solid #eef0f2; }
html.theme-scout .sc-mm__row > span { flex: 1 1 auto; min-width: 0; }
html.theme-scout .sc-mm__row svg { flex: none; width: 20px; height: 20px; color: #333333; }
html.theme-scout .sc-mm__row .sc-mm__go { width: 18px; height: 18px; }
html.theme-scout .sc-mm__row--strong { font-weight: 700; }
html.theme-scout .sc-mm__row.is-on { font-weight: 700; color: rgb(var(--sc-primary)); box-shadow: inset 3px 0 0 rgb(var(--sc-primary)); }
html.theme-scout .sc-mm__row.is-on svg { color: rgb(var(--sc-primary)); }
html.theme-scout .sc-mm__row--out,
html.theme-scout .sc-mm__row--out svg { color: #b42318; }
html.theme-scout .sc-mm__me { min-height: 64px; }
html.theme-scout .sc-mm__av { display: grid; flex: none; place-items: center; width: 40px; height: 40px; font-size: 14px; font-weight: 700; color: #ffffff; background: rgb(var(--sc-primary)); border-radius: 50%; }
html.theme-scout .sc-mm__me-t { display: flex; flex-direction: column; gap: 1px; }
html.theme-scout .sc-mm__me-t strong { overflow: hidden; font-size: 15px; font-weight: 700; white-space: nowrap; text-overflow: ellipsis; }
html.theme-scout .sc-mm__me-t small { overflow: hidden; font-size: 12px; white-space: nowrap; text-overflow: ellipsis; color: #6f6f6f; }
html.theme-scout .sc-mm__badge { display: grid; flex: none; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; font-size: 12px; font-style: normal; font-weight: 700; color: #ffffff; background: #e11d48; border-radius: 999px; }
html.theme-scout .sc-mm__two { display: flex; flex-direction: column; }
html.theme-scout .sc-mm__two small { font-size: 12px; color: #6f6f6f; }
html.theme-scout .sc-mm__two strong { font-size: 15px; font-weight: 600; }
html.theme-scout .sc-mm__flag,
html.theme-scout .sc-mm__lang img { flex: none; width: 22px; height: 16px; object-fit: cover; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0,0,0,.08); }

/* languages: a plain list, the current one on white with a tick */
html.theme-scout .sc-mm__langs { margin: 0; padding: 0; list-style: none; }
html.theme-scout .sc-mm__langs li { margin: 0; }
html.theme-scout .sc-mm__lang { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 0 14px; font-size: 15px; color: #333333; text-decoration: none; border-radius: 8px; }
html.theme-scout .sc-mm__lang span { flex: 1 1 auto; }
html.theme-scout .sc-mm__lang.is-on { font-weight: 700; background: #ffffff; }
html.theme-scout .sc-mm__lang svg { flex: none; width: 18px; height: 18px; color: #333333; }

/* Back (sub pages) */
html.theme-scout .sc-mm__back { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 3; display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px; font: inherit; font-size: 15px; font-weight: 700; color: #ffffff; background: #2b333b; border: 0; border-radius: 10px; box-shadow: 0 6px 16px rgba(16,24,32,.25); cursor: pointer; }
html.theme-scout .sc-mm__back svg { width: 18px; height: 18px; }

html.theme-scout .sc-mm .sc-mm__row > .sc-mm__av { flex: none; width: 40px; height: 40px; background: rgb(var(--sc-primary)); border-radius: 50%; box-shadow: none; }
html.theme-scout .sc-mm .mobile-menu-auth-name { color: #333333; }
html.theme-scout .sc-mm .mobile-menu-auth-email { color: #6f6f6f; }

/* phone menu: the home page's text sizes (rows 16px, titles 16px, small 13px), rows easy to tap */
html.theme-scout .sc-mm__logo img { height: 36px; }
html.theme-scout .sc-mm__x svg { width: 28px; height: 28px; }
html.theme-scout .sc-mm__row { gap: 14px; min-height: 56px; padding: 0 18px; font-size: 16px; font-weight: 500; }
html.theme-scout .sc-mm__row--strong { font-weight: 700; }
html.theme-scout .sc-mm__row svg { width: 21px; height: 21px; }
html.theme-scout .sc-mm__row .sc-mm__go { width: 18px; height: 18px; }
html.theme-scout .sc-mm__me { min-height: 68px; }
html.theme-scout .sc-mm .sc-mm__row > .sc-mm__av { width: 44px; height: 44px; font-size: 15px; }
html.theme-scout .sc-mm__me-t strong { font-size: 16px; }
html.theme-scout .sc-mm__me-t small { font-size: 13px; }
html.theme-scout .sc-mm__title { margin: 8px 14px 10px; font-size: 16px; }
html.theme-scout .sc-mm__two small { font-size: 13px; }
html.theme-scout .sc-mm__two strong { font-size: 16px; }
html.theme-scout .sc-mm__badge { min-width: 22px; height: 22px; font-size: 12px; }
html.theme-scout .sc-mm__flag,
html.theme-scout .sc-mm__lang img { width: 24px; height: 18px; }
html.theme-scout .sc-mm__lang { gap: 14px; min-height: 50px; padding: 0 16px; font-size: 16px; }
html.theme-scout .sc-mm__lang svg { width: 19px; height: 19px; }
html.theme-scout .sc-mm__back { height: 44px; padding: 0 18px; font-size: 15px; font-weight: 600; }
html.theme-scout .sc-mm__back svg { width: 18px; height: 18px; }

/* ═══════════════════════════════════════════════════════════════
   FOOTER, AutoScout24 layout (markup: shared/footer-scout, class sc-ft)
   Light grey band; back to top; the tagline; company · service ·
   get in touch · stay connected; copyright. Phones: the link columns
   open / close (CSS checkboxes), "Get in touch" open by default.
   ═══════════════════════════════════════════════════════════════ */
html.theme-scout footer.footer.sc-ft { color: #333333; background: #f4f4f4; border-top: 0; }
html.theme-scout .sc-ft__in { max-width: 1240px; margin: 0 auto; padding: 0 32px 28px; }
html.theme-scout .sc-ft__top { display: flex; justify-content: flex-end; padding: 22px 0 20px; border-bottom: 1px solid #dcdcdc; }
html.theme-scout .sc-ft__up { display: inline-flex; align-items: center; gap: 8px; padding: 0; font: inherit; font-size: 15px; color: rgb(var(--sc-link)); background: none; border: 0; cursor: pointer; }
html.theme-scout .sc-ft__up:hover { text-decoration: underline; }
html.theme-scout .sc-ft__up-ico { width: 17px; height: 17px; }
html.theme-scout .sc-ft__tag { margin: 24px 0 0; font-size: 15px; font-weight: 700; line-height: 1.4; color: #333333; }
html.theme-scout .sc-ft__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(260px, 1.1fr); gap: 24px 32px; padding: 30px 0 34px; }
html.theme-scout .sc-ft__col { min-width: 0; }
html.theme-scout .sc-ft__chk { 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-ft__h { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 16px; font-size: 15px; font-weight: 700; line-height: 1.3; color: #333333; cursor: default; }
html.theme-scout .sc-ft__h::after { display: none; }
html.theme-scout .sc-ft__chev { display: none; flex: none; width: 20px; height: 20px; transition: transform .2s ease; }
html.theme-scout .sc-ft__links { display: flex; flex-direction: column; gap: 14px; margin: 0; padding: 0; list-style: none; }
html.theme-scout a.sc-ft__a { display: inline-flex; flex-direction: column; font-size: 15px; line-height: 1.35; color: #333333; text-decoration: none; }
html.theme-scout a.sc-ft__a:hover { color: rgb(var(--sc-link)); text-decoration: underline; }
html.theme-scout a.sc-ft__a small { margin-bottom: 1px; font-size: 12px; color: #6f6f6f; }
html.theme-scout .sc-ft__contact a.sc-ft__a { overflow-wrap: anywhere; }
html.theme-scout .sc-ft__social { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }
html.theme-scout .sc-ft__soc { display: grid; place-items: center; width: 44px; height: 44px; color: #6f6f6f; background: #f4f4f4; border: 1px solid #c8c8c8; border-radius: 4px; }
html.theme-scout .sc-ft__soc:hover { color: #333333; border-color: #333333; }
html.theme-scout .sc-ft__soc svg { width: 20px; height: 20px; }
html.theme-scout .sc-ft__lang { position: relative; display: block; max-width: 300px; }
html.theme-scout .sc-ft__lang-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
html.theme-scout .sc-ft__lang img { position: absolute; top: 50%; left: 14px; width: 20px; height: 15px; margin-top: -7.5px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0,0,0,.08); pointer-events: none; }
html.theme-scout .sc-ft__lang select { display: block; width: 100%; height: 42px; padding: 0 40px 0 44px; font: inherit; font-size: 15px; color: #333333; background: #ffffff; border: 1px solid #8a8a8a; border-radius: 4px; -webkit-appearance: none; appearance: none; cursor: pointer; }
html.theme-scout .sc-ft__lang select:focus-visible { outline: 2px solid rgb(var(--sc-link)); outline-offset: 2px; }
html.theme-scout .sc-ft__lang-chev { position: absolute; top: 50%; right: 14px; width: 18px; height: 18px; margin-top: -9px; color: #333333; pointer-events: none; }
html.theme-scout .sc-ft__bottom { padding-top: 22px; border-top: 1px solid #dcdcdc; }
html.theme-scout .sc-ft__bottom p { margin: 0; font-size: 13px; line-height: 1.6; color: #6f6f6f; }

@media (max-width: 1024px) {
    html.theme-scout .sc-ft__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767.98px) {
    html.theme-scout .sc-ft__in { padding: 0 16px 22px; }
    html.theme-scout .sc-ft__top { padding: 16px 0 14px; }
    html.theme-scout .sc-ft__up { font-size: 15px; }
    html.theme-scout .sc-ft__tag { margin-top: 18px; font-size: 15px; }
    html.theme-scout .sc-ft__grid { display: block; padding: 10px 0 24px; }
    /* the link columns: a row each, open / close */
    html.theme-scout .sc-ft__col:not(.sc-ft__col--stay) { border-bottom: 1px solid #dcdcdc; }
    html.theme-scout label.sc-ft__h { margin: 0; padding: 16px 0; cursor: pointer; }
    html.theme-scout .sc-ft__chev { display: block; }
    html.theme-scout .sc-ft__chk:checked ~ .sc-ft__h .sc-ft__chev { transform: rotate(180deg); }
    html.theme-scout .sc-ft__chk:not(:checked) ~ .sc-ft__links { display: none; }
    html.theme-scout .sc-ft__chk:focus-visible ~ .sc-ft__h { outline: 2px solid rgb(var(--sc-link)); outline-offset: 2px; }
    html.theme-scout .sc-ft__links { gap: 14px; padding: 0 0 18px; }
    html.theme-scout a.sc-ft__a { font-size: 15px; }
    html.theme-scout .sc-ft__col--stay { padding-top: 22px; }
    html.theme-scout .sc-ft__col--stay .sc-ft__h { margin-bottom: 16px; }
    html.theme-scout .sc-ft__lang { max-width: none; }
    html.theme-scout .sc-ft__bottom { padding-top: 18px; }
    html.theme-scout .sc-ft__bottom p { font-size: 13px; }
}

/* the review form (shared/testimonial-form-modal: home, reviews) sits above the header (z-index 9999),
   like the listing's phone overlays */
html.theme-scout .tst-modal { z-index: 10020; }

/* ── Live tracking info window (shared/delivery-tracking-popup: My auctions, before the car leaves) ──
   in the site's style: white card, site type, teal steps and button (was a dark navy header, orange dot) */
html.theme-scout .dt-popup { padding: 16px; font-family: inherit; }
html.theme-scout .dt-popup-backdrop { background: rgba(16, 24, 32, .48); backdrop-filter: none; }
html.theme-scout .dt-popup-card { max-width: 520px; color: #333333; border-radius: 12px; box-shadow: 0 16px 40px rgba(16, 24, 32, .22); transform: translateY(8px); transition: transform .2s ease; }
html.theme-scout .dt-popup.is-open .dt-popup-card { transform: none; }
html.theme-scout .dt-popup-header { grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; padding: 24px 24px 0; color: #333333; background: none; }
html.theme-scout .dt-popup-header-icon { display: grid; place-items: center; width: 48px; height: 48px; color: rgb(var(--sc-primary)); background: rgb(var(--sc-primary-tint)); border-radius: 50%; }
html.theme-scout .dt-popup-header-icon svg { width: 24px; height: 24px; }
html.theme-scout .dt-popup-eyebrow { margin: 0 0 2px; font-size: 14px; font-weight: 400; letter-spacing: 0; text-transform: none; color: #6f6f6f; }
html.theme-scout .dt-popup-title { font-size: 20px; font-weight: 700; line-height: 1.3; letter-spacing: 0; color: #333333; }
html.theme-scout .dt-popup-badge { align-self: center; padding: 2px 8px; font-size: 12px; font-weight: 700; line-height: 18px; letter-spacing: 0; text-transform: none; border-radius: 4px; }
html.theme-scout .dt-popup-badge--muted { color: #333333; background: #f0f0f0; }
html.theme-scout .dt-popup-badge--amber { color: #4d3d00; background: rgb(var(--sc-brand-muted)); }
html.theme-scout .dt-popup-badge--blue { color: rgb(var(--sc-primary)); background: rgb(var(--sc-primary-tint)); }
html.theme-scout .dt-popup-badge--green { color: #17602f; background: #e6f4ea; }
html.theme-scout .dt-popup-body { padding: 18px 24px 0; }
html.theme-scout .dt-popup-message { margin: 0; font-size: 15px; line-height: 1.55; color: #333333; }
html.theme-scout .dt-popup-pill { gap: 6px; margin-top: 14px; padding: 4px 10px; font-size: 14px; font-weight: 600; color: #4d3d00; background: rgb(var(--sc-brand-muted)); border: 1px solid rgb(var(--sc-brand)); border-radius: 4px; }
html.theme-scout .dt-popup-pill svg { width: 15px; height: 15px; flex: none; }
/* the four steps: one line through the dots, teal up to where he is */
html.theme-scout .dt-popup-journey { gap: 0; margin: 20px 24px 0; padding: 16px 4px 14px; background: #f6f7f8; border-radius: 8px; }
html.theme-scout .dt-popup-journey-bar { display: none; }
html.theme-scout .dt-popup-journey-step { position: relative; flex: 1 1 0; min-width: 0; gap: 8px; }
html.theme-scout .dt-popup-journey-step + .dt-popup-journey-bar + .dt-popup-journey-step::before { content: ''; position: absolute; top: 6px; right: 50%; width: 100%; height: 2px; background: #dcdcdc; }
html.theme-scout .dt-popup-journey-step.is-done::before,
html.theme-scout .dt-popup-journey-step.is-current::before { background: rgb(var(--sc-primary)) !important; }
html.theme-scout .dt-popup-journey-dot { position: relative; z-index: 1; box-sizing: border-box; width: 14px; height: 14px; background: #ffffff; border: 2px solid #c8c8c8; box-shadow: none; }
html.theme-scout .dt-popup-journey-step.is-done .dt-popup-journey-dot { background: rgb(var(--sc-primary)); border-color: rgb(var(--sc-primary)); box-shadow: none; }
html.theme-scout .dt-popup-journey-step.is-current .dt-popup-journey-dot { background: rgb(var(--sc-primary)); border-color: rgb(var(--sc-primary)); box-shadow: 0 0 0 4px rgb(var(--sc-primary) / .18); animation: sc-dt-pulse 2s ease-in-out infinite; }
@keyframes sc-dt-pulse { 0%, 100% { box-shadow: 0 0 0 4px rgb(var(--sc-primary) / .18); } 50% { box-shadow: 0 0 0 7px rgb(var(--sc-primary) / 0); } }
html.theme-scout .dt-popup-journey-label { padding: 0 4px; font-size: 13px; font-weight: 400; line-height: 1.3; color: #6f6f6f; overflow-wrap: anywhere; }
html.theme-scout .dt-popup-journey-step.is-done .dt-popup-journey-label { color: rgb(var(--sc-primary)); }
html.theme-scout .dt-popup-journey-step.is-current .dt-popup-journey-label { font-weight: 700; color: #333333; }
html.theme-scout .dt-popup-footer { padding: 20px 24px 24px; }
html.theme-scout .dt-popup-ok { justify-content: center; min-width: 140px; height: 44px; padding: 0 20px; font-family: inherit; font-size: 15px; font-weight: 600; color: #ffffff; background: rgb(var(--sc-primary)); border-radius: 6px; }
html.theme-scout .dt-popup-ok:hover { background: rgb(var(--sc-primary-hover)); }
html.theme-scout .dt-popup-ok:focus { outline: none; }
html.theme-scout .dt-popup-ok:focus-visible { box-shadow: 0 0 0 3px rgb(var(--sc-primary) / .3); }
@media (max-width: 600px) {
    html.theme-scout .dt-popup { align-items: flex-end; padding: 0; }
    html.theme-scout .dt-popup-card { max-width: none; border-radius: 16px 16px 0 0; transform: translateY(24px); }
    html.theme-scout .dt-popup-header { grid-template-columns: auto minmax(0, 1fr); padding: 20px 16px 0; }
    html.theme-scout .dt-popup-header-icon { display: grid; width: 44px; height: 44px; }
    html.theme-scout .dt-popup-title { font-size: 18px; }
    html.theme-scout .dt-popup-badge { grid-column: 1 / -1; justify-self: start; }
    html.theme-scout .dt-popup-body { padding: 14px 16px 0; }
    html.theme-scout .dt-popup-journey { margin: 18px 16px 0; padding: 14px 0 12px; }
    html.theme-scout .dt-popup-journey-label { font-size: 12px; }
    html.theme-scout .dt-popup-footer { padding: 18px 16px calc(16px + env(safe-area-inset-bottom, 0px)); }
    html.theme-scout .dt-popup-ok { width: 100%; }
}