.content_slider_fix {margin: 0px auto;}
.vc_btn3-container.vc_btn3-center .vc_btn3-block.vc_btn3-size-md {border-radius: 8px;}
.orari_aperture .vc_column-inner.vc_custom_1791376495318 {padding-left: 30px !important;}
.verauto-brand-carousel__nav.verauto-brand-carousel__nav--next, .verauto-brand-carousel__nav.verauto-brand-carousel__nav--prev {display: none;}
.slider_fix {background-position:center;}
.fa-angle-left::before, .fa-angle-right::before {color: #fff;}
body.page #main{background:#fff;}
body.page #main .text-black p, body.page #main .text-black h3, body.page #main .text-black h5, body.page #main .text-black li, body.page #main .text-black .vc_tta-title-text, body.page #main h2.text-black {color:#000;}
.stm-single-car-page::after, .stm-simple-parallax .stm-simple-parallax-gradient::after, .stm-single-car-page::after, .stm-single-car-page::before{background:#f4f6f8!important;}
.ui-slider .ui-slider-handle::after {background-color: #0b8bc4;}
body.stm-template-motorcycle .stm_moto_single_grid_item .car-meta-bottom ul li::marker {color: transparent !important;}
body.home #search-box h2.vc_custom_heading {font-size: 22px!important;}



/* =========================================================
   VERAUTO - HERO HOME
   ========================================================= */

/* Centra il blocco testo nell'hero, mantenendo il testo a sinistra */
body.home .slider_fix .content_slider_fix > .vc_column-inner > .wpb_wrapper {

    max-width: calc(100% - 40px);
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: left !important;
}

body.home .slider_fix .vc_custom_heading,
body.home .slider_fix .wpb_text_column,
body.home .slider_fix .wpb_text_column p {
    text-align: left !important;
}


body.home .slider_fix {
    position: relative !important;
    min-height: 96vh !important;

    display: flex !important;
    align-items: flex-end !important;

    background-position: center center !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;

    overflow: hidden;
}

/* Overlay scuro sull'immagine */
body.home .slider_fix::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;

    background: rgba(0, 0, 0, 0.42);
    pointer-events: none;
}

/* Colonna contenuti */
body.home .slider_fix > .content_slider_fix {
    position: relative;
    z-index: 2;

    width: 100%;
}

/* Riporta il contenuto dentro il container 1140 */
body.home .slider_fix .content_slider_fix > .vc_column-inner {
    width: calc(100% - 30px);
    max-width: 1140px;

    margin-left: auto;
    margin-right: auto;

    padding-left: 0 !important;
    padding-right: 0 !important;

    padding-bottom: 135px !important;
}

/* Titolo */
body.home .slider_fix .vc_custom_heading {

    margin: 0 0 14px !important;

    color: #fff !important;

    font-family: inherit !important;
    font-size: 52px !important;
    line-height: 1.02 !important;
    font-weight: 700 !important;
    letter-spacing: -1px;

    text-transform: none !important;
}

/* Testo sotto il titolo */
body.home .slider_fix .wpb_text_column {
    margin-bottom: 0 !important;
}

body.home .slider_fix .wpb_text_column p {
    margin: 0 !important;

    color: #fff !important;

    font-size: 25px !important;
    line-height: 1.08 !important;
    font-weight: 400;
}

/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 991px) {

    body.home .slider_fix {
        min-height: 78vh !important;
    }

    body.home .slider_fix .content_slider_fix > .vc_column-inner {
        padding-bottom: 90px !important;
    }

    body.home .slider_fix .vc_custom_heading {
        font-size: 42px !important;
        line-height: 1.05 !important;
    }

    body.home .slider_fix .wpb_text_column p {
        font-size: 23px !important;
        line-height: 1.15 !important;
    }
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {

    body.home .slider_fix .content_slider_fix,
    body.home .slider_fix .content_slider_fix > .vc_column-inner,
    body.home .slider_fix .content_slider_fix > .vc_column-inner > .wpb_wrapper,
    body.home .slider_fix .vc_custom_heading,
    body.home .slider_fix .wpb_text_column,
    body.home .slider_fix .wpb_text_column > .wpb_wrapper,
    body.home .slider_fix .wpb_text_column p {
        width: 100% !important;
        max-width: none !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    body.home .slider_fix .vc_custom_heading {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }

    body.home .slider_fix .wpb_text_column {
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
    }
}


/* ==========================================================
   VERAUTO MAIN - SEARCH BOX V13
   Target reale: #search-box + .stm_mc-filter-selects
   Non modifica markup, campi o logica di ricerca.
   ========================================================== */

:root {
    --verauto-search-bg: #ffffff;
    --verauto-search-text: #1b232b;
    --verauto-search-muted: #6f7a84;
    --verauto-search-border: #1498d0;
    --verauto-search-field-bg: #ffffff;
    --verauto-search-field-border: #dce3e8;
    --verauto-search-button: #0787c0;
    --verauto-search-button-hover: #066fa0;
    --verauto-search-radius: 20px;
}

/* Custom VerAuto: main background */
body.home #main {
    background-color: #fff !important;
}

/* ----------------------------------------------------------
   CARD PRINCIPALE
   WPBakery applica width/left inline al row full-width:
   gli !important servono proprio a neutralizzarli.
   ---------------------------------------------------------- */
body.home #search-box {
    position: relative !important;
    z-index: 20 !important;
    left: auto !important;
    right: auto !important;
    box-sizing: border-box !important;

    width: calc(100% - 0px) !important;
    max-width: 1440px !important;

    margin: -50px auto 56px !important;
    padding: 32px 38px 34px !important;

    background: var(--verauto-search-bg) !important;
    background-image: none !important;
    color: var(--verauto-search-text) !important;

    border: 1px solid var(--verauto-search-border) !important;
    border-radius: var(--verauto-search-radius) !important;
    box-shadow: 0 20px 52px rgba(18, 30, 40, 0.10) !important;
    overflow: visible !important;
}

/* Neutralizza i wrapper WPBakery interni senza alterare il layout. */
body.home #search-box > .wpb_column,
body.home #search-box > .wpb_column > .vc_column-inner,
body.home #search-box .vc_inner,
body.home #search-box .wpb_wrapper {
    background: transparent !important;
    background-image: none !important;
}

body.home #search-box > .wpb_column > .vc_column-inner {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* ----------------------------------------------------------
   TITOLO + SEPARATORE
   Il titolo ha color:#fff inline: per questo serve !important.
   ---------------------------------------------------------- */
body.home #search-box .vc_custom_heading,
body.home #search-box h1,
body.home #search-box h2,
body.home #search-box h3 {
    color: var(--verauto-search-text) !important;
}

body.home #search-box .vc_custom_heading {
    margin: 0 0 10px !important;
    font-size: clamp(25px, 2vw, 32px) !important;
    line-height: 1.15 !important;
    font-weight: 700 !important;
    letter-spacing: -0.02em !important;
}

body.home #search-box .colored-separator {
    margin: 0 0 25px !important;
    text-align: left !important;
}

body.home #search-box .colored-separator .first-long,
body.home #search-box .colored-separator .last-short {
    background-color: var(--verauto-search-border) !important;
}

/* ----------------------------------------------------------
   WIDGET MOTORS REALE
   Il CSS parent imposta padding-right:210px e submit assoluto.
   Qui li azzeriamo e usiamo una griglia senza cambiare HTML.
   ---------------------------------------------------------- */
body.home #search-box .stm_mc-filter-selects {
    position: relative !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
}

body.home #search-box .stm_mc-filter-selects > .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

body.home #search-box .stm_mc-filter-selects form {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) minmax(170px, 190px) !important;
    gap: 18px !important;
    align-items: end !important;
    width: 100% !important;
}

body.home #search-box .stm_mc-filter-selects form > .col-md-3,
body.home #search-box .stm_mc-filter-selects form > .col-sm-6 {
    float: none !important;
    width: auto !important;
    min-width: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

body.home #search-box .stm_mc-filter-selects .form-group {
    margin-bottom: 0 !important;
}

/* Etichette Marca / Modello / Anno / Prezzo. */
body.home #search-box .stm_mc-filter-selects .stm_mc-plural-name {
    margin: 0 0 9px !important;
    color: #3d4852 !important;
    font-size: 12px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.02em !important;
}

/* ----------------------------------------------------------
   SELECT2
   Il markup genera width:203px inline: forziamo width:100%.
   ---------------------------------------------------------- */
body.home #search-box .stm_mc-filter-selects .select2-container {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
}

body.home #search-box .stm_mc-filter-selects .select2-container--default .select2-selection--single {
    height: 56px !important;
    min-height: 56px !important;
    background: var(--verauto-search-field-bg) !important;
    border: 1px solid var(--verauto-search-field-border) !important;
    border-radius: 14px !important;
    box-shadow: none !important;
    transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease !important;
}

body.home #search-box .stm_mc-filter-selects .select2-container--default .select2-selection--single:hover,
body.home #search-box .stm_mc-filter-selects .select2-container--open .select2-selection--single {
    border-color: #aebbc5 !important;
    background: #fbfcfd !important;
}

body.home #search-box .stm_mc-filter-selects .select2-container--open .select2-selection--single {
    box-shadow: 0 0 0 3px rgba(20, 152, 208, 0.10) !important;
}

body.home #search-box .stm_mc-filter-selects .select2-container--default .select2-selection--single .select2-selection__rendered {
    height: 54px !important;
    padding: 0 44px 0 16px !important;
    color: #27313a !important;
    line-height: 54px !important;
    font-size: 14px !important;
}

body.home #search-box .stm_mc-filter-selects .select2-container--default .select2-selection--single .select2-selection__arrow {
    top: 0 !important;
    right: 12px !important;
    width: 26px !important;
    height: 54px !important;
}

body.home #search-box .stm_mc-filter-selects .select2-container--default .select2-selection--single .select2-selection__arrow b,
body.home #search-box .stm_mc-filter-selects .selection:hover b {
    color: #66727d !important;
}

body.home #search-box .stm_mc-filter-selects .selection:hover .select2-selection__rendered {
    color: #17212a !important;
}

/* Select nativo resta coerente anche prima dell'inizializzazione Select2. */
body.home #search-box .stm_mc-filter-selects select.form-control {
    width: 100% !important;
    height: 56px !important;
    color: #27313a !important;
    background: var(--verauto-search-field-bg) !important;
    border: 1px solid var(--verauto-search-field-border) !important;
    border-radius: 14px !important;
}

/* ----------------------------------------------------------
   BLOCCO TROVATI + CERCA
   Nel tema parent è position:absolute; qui torna nella griglia.
   ---------------------------------------------------------- */
body.home #search-box .stm_mc-filter-selects .stm_mc-submit-btn {
    position: static !important;
    right: auto !important;
    bottom: auto !important;
    width: auto !important;
    min-width: 0 !important;
    align-self: end !important;
}

body.home #search-box .stm_mc-filter-selects .stm_mc-submit-btn > .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

body.home #search-box .stm_mc-filter-selects .stm_mc-submit-btn .col-md-12,
body.home #search-box .stm_mc-filter-selects .stm_mc-submit-btn .col-sm-12 {
    float: none !important;
    width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

body.home #search-box .stm_mc-filter-selects .stm_mc-found {
    min-height: 15px !important;
    margin: 0 0 9px !important;
    color: #505d68 !important;
    font-size: 12px !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
}

body.home #search-box .stm_mc-filter-selects .stm_mc-found .number-label {
    color: var(--verauto-search-muted) !important;
}

body.home #search-box .stm_mc-filter-selects .stm_mc-found .number-found {
    color: #25313a !important;
    font-weight: 700 !important;
}

body.home #search-box .stm_mc-filter-selects .stm_mc-submit-btn .button {
    position: static !important;
    top: auto !important;
    width: 100% !important;
    height: 56px !important;
    min-height: 56px !important;
    padding: 0 24px !important;

    color: #fff !important;
    background: var(--verauto-search-button) !important;
    border: 1px solid var(--verauto-search-button) !important;
    border-radius: 14px !important;
    box-shadow: none !important;

    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 54px !important;
    text-align: center !important;
    text-transform: none !important;

    transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease !important;
}

body.home #search-box .stm_mc-filter-selects .stm_mc-submit-btn .button:hover {
    background: var(--verauto-search-button-hover) !important;
    border-color: var(--verauto-search-button-hover) !important;
    box-shadow: 0 8px 20px rgba(7, 135, 192, 0.18) !important;
    transform: translateY(-1px) !important;
}

/* ----------------------------------------------------------
   RESPONSIVE
   ---------------------------------------------------------- */
@media (max-width: 1199px) {
    body.home #search-box {
        width: calc(100% - 40px) !important;
        padding: 28px 28px 30px !important;
    }

    body.home #search-box .stm_mc-filter-selects form {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 18px !important;
    }

    body.home #search-box .stm_mc-filter-selects .stm_mc-submit-btn {
        grid-column: span 2 !important;
    }

    body.home #search-box .stm_mc-filter-selects .stm_mc-submit-btn .button {
        max-width: 260px !important;
    }
}

@media (max-width: 767px) {
    body.home #search-box {
        width: calc(100% - 24px) !important;
        margin: -18px auto 34px !important;
        padding: 24px 18px 26px !important;
        border-radius: 20px !important;
    }

    body.home #search-box .colored-separator {
        margin-bottom: 20px !important;
    }

    body.home #search-box .stm_mc-filter-selects form {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }

    body.home #search-box .stm_mc-filter-selects .stm_mc-submit-btn {
        grid-column: auto !important;
    }

    body.home #search-box .stm_mc-filter-selects .stm_mc-submit-btn .button {
        max-width: none !important;
    }
}

/* ==========================================================
   VERAUTO MAIN V14 - SELECT2 DROPDOWN LIGHT
   Select2 appende il dropdown fuori da #search-box (di norma al body),
   quindi va stilizzato a livello pagina e non come figlio della card.
   ========================================================== */
body.home .select2-container--open .select2-dropdown {
    background: #ffffff !important;
    border: 1px solid var(--verauto-search-field-border) !important;
    border-radius: 12px !important;
    box-shadow: 0 14px 34px rgba(19, 34, 48, 0.14) !important;
    overflow: hidden !important;
}

body.home .select2-container--open .select2-search--dropdown {
    padding: 9px !important;
    background: #ffffff !important;
    border-bottom: 1px solid #edf1f4 !important;
}

body.home .select2-container--open .select2-search__field {
    height: 40px !important;
    padding: 0 12px !important;
    color: #26313a !important;
    background: #ffffff !important;
    border: 1px solid var(--verauto-search-field-border) !important;
    border-radius: 9px !important;
    outline: none !important;
    box-shadow: none !important;
}

body.home .select2-container--open .select2-search__field:focus {
    border-color: var(--verauto-search-border) !important;
    box-shadow: 0 0 0 3px rgba(11, 149, 208, 0.10) !important;
}

body.home .select2-container--open .select2-results,
body.home .select2-container--open .select2-results__options {
    background: #ffffff !important;
}

body.home .select2-container--open .select2-results__option {
    margin: 0 !important;
    padding: 10px 14px !important;
    color: #26313a !important;
    background: #ffffff !important;
    border-bottom: 1px solid #edf1f4 !important;
    font-size: 13px !important;
    line-height: 20px !important;
}

body.home .select2-container--open .select2-results__option:last-child {
    border-bottom: 0 !important;
}

body.home .select2-container--default .select2-results__option[aria-selected="true"],
body.home .select2-container--default .select2-results__option--highlighted[aria-selected] {
    color: #116f99 !important;
    background: #f1f8fc !important;
    border-bottom-color: #e3eef4 !important;
}

body.home .select2-container--default .select2-results__option[aria-disabled="true"] {
    display: none !important;
}


/* ==========================================================
   VERAUTO MAIN V15 - VEHICLE PREVIEW CARDS
   Motorcycle listing cards: white body + price pill below title.
   ========================================================== */

/* Card shell */
body.stm-template-motorcycle .stm_listing_tabs_style_2 .stm_moto_single_grid_item > a,
body.stm-template-motorcycle .car-listing-row .stm_moto_single_grid_item > a {
    display: block !important;
    height: 100% !important;
    background: #ffffff !important;
    border: 1px solid #e1e6ea !important;
    border-radius: 24px !important;
    overflow: hidden !important;
    box-shadow: 0 10px 30px rgba(22, 33, 43, 0.08) !important;
    text-decoration: none !important;
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease !important;
}

body.stm-template-motorcycle .stm_listing_tabs_style_2 .stm_moto_single_grid_item > a:hover,
body.stm-template-motorcycle .car-listing-row .stm_moto_single_grid_item > a:hover {
    transform: translateY(-4px) !important;
    border-color: rgba(9, 143, 198, 0.38) !important;
    box-shadow: 0 18px 42px rgba(22, 33, 43, 0.13) !important;
}

/* Image */
body.stm-template-motorcycle .stm_moto_single_grid_item .image {
    min-height: 0 !important;
    aspect-ratio: 5 / 3 !important;
    overflow: hidden !important;
    background: #f4f6f8 !important;
}

body.stm-template-motorcycle .stm_moto_single_grid_item .image img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
    transition: transform .35s ease !important;
}

body.stm-template-motorcycle .stm_moto_single_grid_item > a:hover .image img {
    transform: scale(1.025) !important;
}

/* Disable the old dark image gradient. */
body.stm-template-motorcycle .stm_moto_single_grid_item .image:after,
body.stm-template-motorcycle .stm_moto_single_grid_item:hover .image:after {
    opacity: 0 !important;
    background: transparent !important;
}

/* White information panel */
body.stm-template-motorcycle .stm_moto_single_grid_item .listing-car-item-meta {
    padding: 0 !important;
    background: #ffffff !important;
}

body.stm-template-motorcycle .stm_moto_single_grid_item .car-meta-top {
    min-height: 0 !important;
    padding: 24px 24px 8px !important;
    background: #ffffff !important;
    border: 0 !important;
}

body.stm-template-motorcycle .stm_moto_single_grid_item .car-meta-top .car-title,
body.stm-template-motorcycle .stm_moto_single_grid_item .car-meta-top .car-title * {
    color: #1d252c !important;
}

body.stm-template-motorcycle .stm_moto_single_grid_item .car-meta-top .car-title {
    min-height: 0 !important;
    overflow: visible !important;
    font-size: 22px !important;
    line-height: 1.18 !important;
    font-weight: 700 !important;
    text-transform: none !important;
    letter-spacing: -0.02em !important;
}

body.stm-template-motorcycle .stm_moto_single_grid_item .car-meta-top .car-title .stm-label-title {
    margin-bottom: 4px !important;
    color: #727b83 !important;
    font-size: 12px !important;
    line-height: 1.3 !important;
}

/* Price: dedicated blue pill under the title */
body.stm-template-motorcycle .stm_moto_single_grid_item .verauto-card-price {
    padding: 6px 24px 18px !important;
    background: #ffffff !important;
    text-align: left !important;
}

body.stm-template-motorcycle .stm_moto_single_grid_item .verauto-card-price-inner {
    display: inline-flex !important;
    align-items: baseline !important;
    gap: 8px !important;
    max-width: 100% !important;
    padding: 7px 13px 8px !important;
    color: #ffffff !important;
    background: #0b8bc4 !important;
    border-radius: 11px !important;
    box-shadow: none !important;
}

body.stm-template-motorcycle .stm_moto_single_grid_item .verauto-card-price-main,
body.stm-template-motorcycle .stm_moto_single_grid_item .verauto-card-price-sale {
    color: #ffffff !important;
    font-size: 24px !important;
    line-height: 1 !important;
    font-weight: 800 !important;
    letter-spacing: -0.02em !important;
    white-space: nowrap !important;
}

body.stm-template-motorcycle .stm_moto_single_grid_item .verauto-card-price-regular {
    color: rgba(255,255,255,.72) !important;
    font-size: 13px !important;
    line-height: 1 !important;
    font-weight: 600 !important;
    text-decoration: line-through !important;
    white-space: nowrap !important;
}

/* Specifications area */
body.stm-template-motorcycle .stm_moto_single_grid_item .car-meta-bottom {
    padding: 16px 24px 22px !important;
    background: #ffffff !important;
    border-top: 1px solid #edf0f2 !important;
}

body.stm-template-motorcycle .stm_moto_single_grid_item .car-meta-bottom ul {
    margin: 0 !important;
}

body.stm-template-motorcycle .stm_moto_single_grid_item .car-meta-bottom ul li {
    min-height: 25px !important;
    color: #222b32 !important;
}

body.stm-template-motorcycle .stm_moto_single_grid_item .car-meta-bottom ul li span,
body.stm-template-motorcycle .stm_moto_single_grid_item .car-meta-bottom ul li span:not(.stm_label) {
    color: #222b32 !important;
    font-size: 13px !important;
}

body.stm-template-motorcycle .stm_moto_single_grid_item .car-meta-bottom ul li span.stm_label {
    color: #7a838b !important;
}

body.stm-template-motorcycle .stm_moto_single_grid_item .car-meta-bottom ul li i {
    color: #68727a !important;
}

/* The old price is no longer rendered in the hover unit; keep hover actions clean. */
body.stm-template-motorcycle .stm_moto_single_grid_item .stm_moto_hover_unit {
    left: 18px !important;
    right: 18px !important;
    bottom: 16px !important;
}

/* Keep all cards visually balanced in the homepage grid. */
body.stm-template-motorcycle .stm_listing_tabs_style_2 .car-listing-row {
    display: flex !important;
    flex-wrap: wrap !important;
}

body.stm-template-motorcycle .stm_listing_tabs_style_2 .stm_moto_single_grid_item {
    display: flex !important;
    margin-bottom: 30px !important;
}

@media (max-width: 767px) {
    body.stm-template-motorcycle .stm_moto_single_grid_item .car-meta-top {
        padding: 20px 18px 7px !important;
    }

    body.stm-template-motorcycle .stm_moto_single_grid_item .car-meta-top .car-title {
        font-size: 19px !important;
    }

    body.stm-template-motorcycle .stm_moto_single_grid_item .verauto-card-price {
        padding: 5px 18px 15px !important;
    }

    body.stm-template-motorcycle .stm_moto_single_grid_item .verauto-card-price-main,
    body.stm-template-motorcycle .stm_moto_single_grid_item .verauto-card-price-sale {
        font-size: 21px !important;
    }

    body.stm-template-motorcycle .stm_moto_single_grid_item .car-meta-bottom {
        padding: 14px 18px 18px !important;
    }
}


/* ==========================================================
   VERAUTO MAIN V17 - BRAND LOGO + CARD CTA
   Brand image is read from Motors taxonomy term meta `stm_image`.
   ========================================================== */

/* Keep the information area able to place the CTA at the bottom. */
body.stm-template-motorcycle .stm_moto_single_grid_item .listing-car-item-meta {
    display: flex !important;
    flex-direction: column !important;
}

/* Manufacturer logo above the vehicle title. */
body.stm-template-motorcycle .stm_moto_single_grid_item .verauto-card-brand {
    display: flex !important;
    align-items: center !important;
    min-height: 30px !important;
    margin: 0 0 8px !important;
}

body.stm-template-motorcycle .stm_moto_single_grid_item .verauto-card-brand img {
    display: block !important;
    width: auto !important;
    height: auto !important;
    max-width: 34px !important;
    max-height: 30px !important;
    object-fit: contain !important;
    object-position: left center !important;
}

/* CTA at the bottom of the white card. The whole card remains the link. */
body.stm-template-motorcycle .stm_moto_single_grid_item .verauto-card-cta {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    margin-top: auto !important;
    padding: 2px 24px 24px !important;
    color: #1d252c !important;
    background: #ffffff !important;
    font-size: 16px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
}

body.stm-template-motorcycle .stm_moto_single_grid_item .verauto-card-cta-label,
body.stm-template-motorcycle .stm_moto_single_grid_item .verauto-card-cta-arrow {
    color: #1d252c !important;
}

body.stm-template-motorcycle .stm_moto_single_grid_item .verauto-card-cta-arrow {
    display: inline-block !important;
    font-size: 24px !important;
    line-height: 1 !important;
    font-weight: 400 !important;
    transform: translateX(0) !important;
    transition: transform .2s ease !important;
}

body.stm-template-motorcycle .stm_moto_single_grid_item > a:hover .verauto-card-cta-arrow {
    transform: translateX(5px) !important;
}

@media (max-width: 767px) {
    body.stm-template-motorcycle .stm_moto_single_grid_item .verauto-card-brand {
        min-height: 26px !important;
        margin-bottom: 7px !important;
    }

    body.stm-template-motorcycle .stm_moto_single_grid_item .verauto-card-brand img {
        max-width: 30px !important;
        max-height: 26px !important;
    }

    body.stm-template-motorcycle .stm_moto_single_grid_item .verauto-card-cta {
        padding: 2px 18px 20px !important;
        font-size: 15px !important;
    }
}


/* ==========================================================
   VERAUTO MAIN V18 - CARD LOGO FALLBACK + CTA PINNED BOTTOM
   Keeps: search radius 20px, white #main, image ratio 5/3.
   ========================================================== */

/* Make the whole card a vertical flex container so the CTA can sit at the bottom. */
body.stm-template-motorcycle .stm_moto_single_grid_item {
    display: flex !important;
}

body.stm-template-motorcycle .stm_moto_single_grid_item > a.rmv_txt_drctn {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    min-width: 0 !important;
    height: 100% !important;
}

body.stm-template-motorcycle .stm_moto_single_grid_item .listing-car-item-meta {
    display: flex !important;
    flex: 1 1 auto !important;
    flex-direction: column !important;
    min-height: 0 !important;
}

/* Logo above the vehicle title. */
body.stm-template-motorcycle .stm_moto_single_grid_item .verauto-card-brand {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    min-height: 28px !important;
    margin: 0 0 8px !important;
}

body.stm-template-motorcycle .stm_moto_single_grid_item .verauto-card-brand img {
    display: block !important;
    width: auto !important;
    height: auto !important;
    max-width: 44px !important;
    max-height: 26px !important;
    object-fit: contain !important;
    object-position: left center !important;
}

/* Pin the CTA to the bottom edge of the white content area. */
body.stm-template-motorcycle .stm_moto_single_grid_item .verauto-card-cta {
    margin-top: auto !important;
    padding: 18px 24px 24px !important;
    min-height: 62px !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    background: #ffffff !important;
}

body.stm-template-motorcycle .stm_moto_single_grid_item .verauto-card-cta-label {
    font-weight: 700 !important;
}

@media (max-width: 767px) {
    body.stm-template-motorcycle .stm_moto_single_grid_item .verauto-card-cta {
        padding: 16px 18px 20px !important;
        min-height: 56px !important;
    }

    body.stm-template-motorcycle .stm_moto_single_grid_item .verauto-card-brand img {
        max-width: 40px !important;
        max-height: 24px !important;
    }
}

/* ==========================================================
   VERAUTO MAIN V25 - DYNAMIC BRAND CAROUSEL
   Full-width, 6 brands desktop, autoplay, no arrows.
   ========================================================== */
.verauto-brand-carousel {
    position: relative;
    width: calc(100% - 30px) !important;
    max-width: 1140px !important;
    margin: 34px auto 0 !important;
    padding: 0;
    box-sizing: border-box;
}

.verauto-brand-carousel__viewport {
    width: 100%;
    overflow: hidden;
}

.verauto-brand-carousel__track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 120px) / 6);
    gap: 24px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: inline mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 8px 2px 18px;
}

.verauto-brand-carousel__track::-webkit-scrollbar {
    display: none;
}

.verauto-brand-carousel__item {
    scroll-snap-align: start;
    min-width: 0;
    text-decoration: none !important;
    color: #243136 !important;
    opacity: .8;
    transition: opacity .25s ease, transform .25s ease;
}

.verauto-brand-carousel__item:hover,
.verauto-brand-carousel__item:focus-visible {
    opacity: 1;
}

.verauto-brand-carousel__item-inner {
    min-height: 138px;
    padding: 18px 16px 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #fff;
    border: 1px solid #e4e9ed;
    border-radius: 18px;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.verauto-brand-carousel__item:hover .verauto-brand-carousel__item-inner {
    transform: translateY(-3px);
    border-color: rgba(11, 139, 196, .34);
    box-shadow: 0 12px 28px rgba(22, 33, 43, .09);
}

.verauto-brand-carousel__logo {
    width: 100%;
    height: 78px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.verauto-brand-carousel__logo img {
    display: block;
    width: auto;
    height: auto;
    max-width: 150px;
    max-height: 74px;
    object-fit: contain;
    filter: saturate(.85);
    transition: filter .25s ease;
}

.verauto-brand-carousel__item:hover .verauto-brand-carousel__logo img,
.verauto-brand-carousel__item:focus-visible .verauto-brand-carousel__logo img {
    filter: saturate(1);
}

.verauto-brand-carousel__fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    padding: 8px;
    border-radius: 50%;
    background: #f3f6f8;
    color: #243136;
    font-size: 18px;
    font-weight: 800;
    text-transform: uppercase;
}

.verauto-brand-carousel__name {
    display: block;
    max-width: 100%;
    color: #243136;
    font-size: 13px;
    line-height: 1.2;
    font-weight: 700;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 1199px) {
    .verauto-brand-carousel {
        padding-left: 24px;
        padding-right: 24px;
    }

    .verauto-brand-carousel__track {
        grid-auto-columns: calc((100% - 60px) / 4);
        gap: 20px;
    }
}

@media (max-width: 767px) {
    .verauto-brand-carousel {
        margin-top: 24px;
        padding-left: 15px;
        padding-right: 15px;
    }

    .verauto-brand-carousel__track {
        grid-auto-columns: calc((100% - 14px) / 2);
        gap: 14px;
    }

    .verauto-brand-carousel__item-inner {
        min-height: 116px;
        padding: 14px 10px 12px;
        border-radius: 15px;
    }

    .verauto-brand-carousel__logo {
        height: 64px;
    }

    .verauto-brand-carousel__logo img {
        max-width: 112px;
        max-height: 60px;
    }
}
