/* =========================================================
   VERAUTO - SINGLE VEHICLE V32
   Modern single listing styling for Motors Motorcycle layout
   ========================================================= */

:root {
    --verauto-single-blue: #1188bf;
    --verauto-single-blue-dark: #0c6f9d;
    --verauto-single-text: #181c20;
    --verauto-single-muted: #69727b;
    --verauto-single-border: #dce2e7;
    --verauto-single-bg: #f4f6f8;
    --verauto-single-white: #fff;
    --verauto-single-radius: 22px;
}

/* Remove the old Motorcycle title hero and category tabs only on vehicle detail. */
body.listings-template-default.single .entry-header.small_title_box,
body.listings-template-default.single .stm-filter-tabs-skewed {
    display: none !important;
}

body.listings-template-default.single #main,
body.listings-template-default.single .stm-single-car-page {
    background: var(--verauto-single-bg) !important;
}

body.listings-template-default.single .stm-single-car-page {
    margin: 0 !important;
    padding: 30px 0 70px !important;
}

body.listings-template-default.single .stm-single-car-page > .container {
    width: calc(100% - 30px) !important;
    max-width: 1140px !important;
    margin: 0 auto !important;
}

.verauto-single-back-row {
    margin: 0 0 18px;
}

.verauto-single-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #4d5760 !important;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none !important;
}

.verauto-single-back span {
    font-size: 20px;
    line-height: 1;
    transition: transform .2s ease;
}

.verauto-single-back:hover {
    color: var(--verauto-single-blue) !important;
}

.verauto-single-back:hover span {
    transform: translateX(-3px);
}

.verauto-single-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(330px, .85fr);
    gap: 28px;
    align-items: start;
}

.verauto-single-primary,
.verauto-single-aside {
    min-width: 0;
}

.verauto-single-summary {
    position: sticky;
    top: 105px;
    padding: 26px;
    background: var(--verauto-single-white);
    border: 1px solid var(--verauto-single-border);
    border-radius: var(--verauto-single-radius);
    box-shadow: 0 12px 34px rgba(24, 37, 49, .07);
}

/* ---------------------------------------------------------
   Title / brand / price
   --------------------------------------------------------- */

body.listings-template-default.single .stm-listing-single-price-title.verauto-single-heading {
    padding: 0 0 22px !important;
    margin: 0 0 20px !important;
    border: 0 !important;
    border-bottom: 1px solid #e8ecef !important;
}

.verauto-single-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 30px;
    margin-bottom: 12px;
    color: #707982;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.verauto-single-brand img {
    display: block;
    width: auto;
    max-width: 58px;
    height: 30px;
    object-fit: contain;
    object-position: left center;
}

body.listings-template-default.single .stm-listing-single-price-title .title {
    float: none !important;
    width: 100% !important;
    margin: 0 0 18px !important;
    color: var(--verauto-single-text) !important;
    font-size: clamp(28px, 2.2vw, 38px) !important;
    line-height: 1.08 !important;
    font-weight: 700 !important;
    letter-spacing: -.03em !important;
    text-transform: none !important;
}

.verauto-single-price-row {
    display: flex;
    align-items: center;
    min-height: 52px;
}

body.listings-template-default.single .stm-listing-single-price-title .price_unit {
    float: none !important;
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    width: auto !important;
    margin: 0 !important;
}

body.listings-template-default.single .stm-listing-single-price-title .price_unit > div {
    float: none !important;
    min-height: 0 !important;
}

body.listings-template-default.single .stm-listing-single-price-title .price_unit .price,
body.listings-template-default.single .stm-listing-single-price-title .price_unit .sale-price {
    position: static !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
}

body.listings-template-default.single .stm-listing-single-price-title .price_unit .price::before,
body.listings-template-default.single .stm-listing-single-price-title .price_unit .price::after,
body.listings-template-default.single .stm-listing-single-price-title .price_unit .sale-price::before,
body.listings-template-default.single .stm-listing-single-price-title .price_unit .sale-price::after {
    content: none !important;
    display: none !important;
}

body.listings-template-default.single .stm-listing-single-price-title .price_unit .price .inner {
    display: inline-flex !important;
    align-items: center !important;
    min-height: 48px !important;
    padding: 7px 16px !important;
    color: #fff !important;
    background: var(--verauto-single-blue) !important;
    border-radius: 11px !important;
    font-size: 30px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    box-shadow: none !important;
}

body.listings-template-default.single .stm-listing-single-price-title .price_unit .sale-price .inner {
    padding: 5px 0 !important;
    color: #707982 !important;
    font-size: 14px !important;
    line-height: 1.2 !important;
    text-align: left !important;
}

body.listings-template-default.single .stm-listing-single-price-title .price_unit .sale-price del {
    color: #707982 !important;
}

body.listings-template-default.single .stm-listing-single-price-title .stm_label {
    display: block !important;
    height: auto !important;
    margin: 0 7px 0 0 !important;
    color: inherit !important;
    font-size: 10px !important;
    line-height: 1.1 !important;
}

/* ---------------------------------------------------------
   Gallery
   --------------------------------------------------------- */

body.listings-template-default.single .verauto-single-primary > .stm-car-carousels,
body.listings-template-default.single .verauto-single-primary .stm-car-carousels:first-child {
    margin: 0 0 24px !important;
    padding: 0 !important;
    overflow: visible !important;
    background: transparent !important;
}

body.listings-template-default.single .verauto-single-primary .stm-big-car-gallery {
    overflow: hidden !important;
    border: 1px solid var(--verauto-single-border) !important;
    border-radius: 24px !important;
    background: #e9edf0 !important;
    box-shadow: 0 12px 34px rgba(24, 37, 49, .07) !important;
}

body.listings-template-default.single .verauto-single-primary .stm-big-car-gallery .stm-single-image,
body.listings-template-default.single .verauto-single-primary .stm-big-car-gallery .stm-single-image a {
    display: block !important;
    width: 100% !important;
}

body.listings-template-default.single .verauto-single-primary .stm-big-car-gallery img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 5 / 3 !important;
    object-fit: cover !important;
    object-position: center !important;
}

body.listings-template-default.single .verauto-single-primary .stm-thumbs-car-gallery {
    margin-top: 12px !important;
}

body.listings-template-default.single .verauto-single-primary .stm-thumbs-car-gallery .stm-single-image {
    max-width: none !important;
    overflow: hidden !important;
    border: 1px solid var(--verauto-single-border) !important;
    border-radius: 12px !important;
    background: #fff !important;
}

body.listings-template-default.single .verauto-single-primary .stm-thumbs-car-gallery img {
    display: block !important;
    width: 100% !important;
    height: 78px !important;
    object-fit: cover !important;
}

body.listings-template-default.single .stm-thumbs-car-gallery .owl-item::after {
    border-radius: 12px !important;
    background: rgba(17, 136, 191, .16) !important;
}

body.listings-template-default.single .stm-thumbs-car-gallery .owl-prev,
body.listings-template-default.single .stm-thumbs-car-gallery .owl-next {
    width: 36px !important;
    border-radius: 10px !important;
    background: rgba(19, 29, 37, .78) !important;
}

/* ---------------------------------------------------------
   Vehicle specs
   --------------------------------------------------------- */

body.listings-template-default.single .verauto-single-specs .single-car-data {
    display: block !important;
    margin: 0 0 20px !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
}

body.listings-template-default.single .single-car-data > table {
    width: 100% !important;
    margin: 0 !important;
    table-layout: auto !important;
}

body.listings-template-default.single .single-car-data > table tr {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    gap: 12px !important;
    align-items: center !important;
    padding: 10px 0 !important;
    border-bottom: 1px solid #edf0f2 !important;
}

body.listings-template-default.single .single-car-data > table tr:last-child {
    border-bottom: 0 !important;
}

body.listings-template-default.single .single-car-data > table tr td {
    display: block !important;
    width: auto !important;
    padding: 0 !important;
    border: 0 !important;
}

body.listings-template-default.single .single-car-data > table tr td.t-label {
    color: #7b848c !important;
    font-size: 11px !important;
    line-height: 1.25 !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: .02em !important;
}

body.listings-template-default.single .single-car-data > table tr td.t-value {
    color: var(--verauto-single-text) !important;
    font-size: 14px !important;
    line-height: 1.35 !important;
    font-weight: 600 !important;
    text-align: right !important;
}

/* ---------------------------------------------------------
   Contact CTAs
   --------------------------------------------------------- */

.verauto-single-direct-actions {
    display: grid;
    gap: 10px;
    margin-top: 4px;
}

.verauto-single-cta {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 11px !important;
    width: 100% !important;
    min-height: 52px !important;
    padding: 10px 16px !important;
    border-radius: 13px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1.15 !important;
    text-align: left !important;
    text-decoration: none !important;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease !important;
}

.verauto-single-cta:hover {
    transform: translateY(-1px);
}

.verauto-single-cta i {
    flex: 0 0 auto;
    font-size: 18px !important;
}

.verauto-single-cta span {
    display: flex;
    flex-direction: column;
}

.verauto-single-cta small {
    margin-bottom: 2px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    opacity: .78;
}

.verauto-single-cta strong {
    font-size: 15px;
    font-weight: 700;
}

.verauto-single-cta-primary {
    color: #fff !important;
    background: #171c23 !important;
    border: 1px solid #171c23 !important;
}

.verauto-single-cta-primary:hover {
    color: #fff !important;
    background: #252b32 !important;
    box-shadow: 0 8px 20px rgba(23, 28, 35, .15) !important;
}

.verauto-single-cta-whatsapp {
    color: #11775d !important;
    background: #effaf6 !important;
    border: 1px solid #bce7d7 !important;
}

.verauto-single-cta-whatsapp:hover {
    color: #0c654f !important;
    background: #e5f7f0 !important;
}

/* Theme action links: keep functionality, modernize visuals. */
body.listings-template-default.single .stm-single-car-links {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
    margin-top: 12px !important;
}

body.listings-template-default.single .stm-single-car-links .stm-single-car-link {
    min-width: 0 !important;
}

body.listings-template-default.single .stm-single-car-links .stm-single-car-link a,
body.listings-template-default.single .stm-single-car-links .stm-single-car-link:nth-child(even) a {
    display: flex !important;
    align-items: center !important;
    min-height: 44px !important;
    padding: 9px 10px !important;
    color: #3f4952 !important;
    background: #fff !important;
    border: 1px solid var(--verauto-single-border) !important;
    border-radius: 11px !important;
    font-size: 11px !important;
    line-height: 1.15 !important;
    font-weight: 600 !important;
    text-transform: none !important;
}

body.listings-template-default.single .stm-single-car-links .stm-single-car-link a i {
    position: static !important;
    flex: 0 0 auto !important;
    margin-right: 7px !important;
    transform: none !important;
    color: var(--verauto-single-blue) !important;
    font-size: 15px !important;
}

body.listings-template-default.single .stm-single-car-links .stm-single-car-link:hover a {
    color: var(--verauto-single-text) !important;
    background: #f6f9fb !important;
    border-color: #cbd4db !important;
}

body.listings-template-default.single .stm-single-car-links .stm-single-car-link:hover a i {
    color: var(--verauto-single-blue) !important;
}

/* ---------------------------------------------------------
   Content / WPBakery modules under gallery
   --------------------------------------------------------- */

body.listings-template-default.single .verauto-single-primary > .vc_row,
body.listings-template-default.single .verauto-single-primary .wpb_text_column,
body.listings-template-default.single .verauto-single-primary .vc_tta-container,
body.listings-template-default.single .verauto-single-primary .stm-single-listing-car-features {
    border-radius: 18px;
}

body.listings-template-default.single .verauto-single-primary .wpb_text_column,
body.listings-template-default.single .verauto-single-primary .stm-single-listing-car-features {
    color: #343b42 !important;
}

body.listings-template-default.single .verauto-single-primary h2,
body.listings-template-default.single .verauto-single-primary h3,
body.listings-template-default.single .verauto-single-primary h4,
body.listings-template-default.single .verauto-single-primary h5 {
    color: var(--verauto-single-text) !important;
    text-transform: none !important;
}

body.listings-template-default.single .vc_tta-container .vc_tta-tabs .vc_tta-tabs-container .vc_tta-tabs-list {
    background: #fff !important;
    border: 1px solid var(--verauto-single-border) !important;
    border-radius: 14px !important;
}

body.listings-template-default.single .vc_tta-container .vc_tta-tabs .vc_tta-tabs-container .vc_tta-tabs-list li > a {
    color: #4f5962 !important;
}

body.listings-template-default.single .vc_tta-container .vc_tta-tabs .vc_tta-tabs-container .vc_tta-tabs-list li.vc_active > a {
    color: var(--verauto-single-blue) !important;
}

/* Remove legacy dark single-page decorations where they surface. */
body.listings-template-default.single .single-car-data,
body.listings-template-default.single .stm-single-car-side,
body.listings-template-default.single .stm-single-car-content {
    color: var(--verauto-single-text) !important;
}

/* ---------------------------------------------------------
   Tablet
   --------------------------------------------------------- */

@media (max-width: 991px) {
    .verauto-single-layout {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    .verauto-single-primary {
        order: 1;
    }

    .verauto-single-aside {
        order: 2;
    }

    .verauto-single-summary {
        position: static !important;
    }
}

/* ---------------------------------------------------------
   Mobile
   --------------------------------------------------------- */

@media (max-width: 767px) {
    body.listings-template-default.single .stm-single-car-page {
        padding: 18px 0 45px !important;
    }

    body.listings-template-default.single .stm-single-car-page > .container {
        width: calc(100% - 24px) !important;
    }

    .verauto-single-back-row {
        margin-bottom: 12px !important;
    }

    .verauto-single-layout {
        gap: 14px !important;
    }

    .verauto-single-summary {
        padding: 20px !important;
        border-radius: 18px !important;
    }

    body.listings-template-default.single .stm-listing-single-price-title .title {
        font-size: 28px !important;
    }

    body.listings-template-default.single .stm-listing-single-price-title .price_unit .price .inner {
        min-height: 44px !important;
        padding: 7px 13px !important;
        font-size: 26px !important;
    }

    body.listings-template-default.single .verauto-single-primary .stm-big-car-gallery {
        border-radius: 18px !important;
    }

    body.listings-template-default.single .verauto-single-primary .stm-big-car-gallery img {
        aspect-ratio: 5 / 3 !important;
    }

    body.listings-template-default.single .verauto-single-primary .stm-thumbs-car-gallery img {
        height: 64px !important;
    }

    body.listings-template-default.single .stm-single-car-links {
        grid-template-columns: 1fr !important;
    }
}

/* =========================================================
   VERAUTO - SINGLE VEHICLE V33
   Navbar clearance + contact form restyle
   ========================================================= */

/* Fixed header clearance on single vehicle pages. */
body.listings-template-default.single #main {
    padding-top: 80px !important;
}

/* ---------------------------------------------------------
   Bottom contact form
   --------------------------------------------------------- */

body.listings-template-default.single .stm_listing_car_form {
    margin-top: 30px !important;
    background: transparent !important;
}

body.listings-template-default.single .stm_listing_car_form .stm-single-car-contact {
    margin: 0 0 34px !important;
    padding: 28px !important;
    color: var(--verauto-single-text) !important;
    background: var(--verauto-single-white) !important;
    border: 1px solid var(--verauto-single-border) !important;
    border-radius: var(--verauto-single-radius) !important;
    box-shadow: 0 12px 34px rgba(24, 37, 49, .06) !important;
}

body.listings-template-default.single .stm_listing_car_form .stm-single-car-contact .title {
    margin: 0 0 22px !important;
    color: var(--verauto-single-text) !important;
    font-size: 22px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: -.01em !important;
    text-transform: none !important;
}

body.listings-template-default.single .stm_listing_car_form .stm-single-car-contact .title i {
    top: 1px !important;
    margin-right: 9px !important;
    color: var(--verauto-single-blue) !important;
    font-size: 20px !important;
}

body.listings-template-default.single .stm_listing_car_form,
body.listings-template-default.single .stm_listing_car_form p,
body.listings-template-default.single .stm_listing_car_form label,
body.listings-template-default.single .stm_listing_car_form .wpcf7-list-item-label {
    color: #4f5962 !important;
}

body.listings-template-default.single .stm_listing_car_form input[type="text"],
body.listings-template-default.single .stm_listing_car_form input[type="tel"],
body.listings-template-default.single .stm_listing_car_form input[type="email"],
body.listings-template-default.single .stm_listing_car_form input[type="search"],
body.listings-template-default.single .stm_listing_car_form input[type="password"],
body.listings-template-default.single .stm_listing_car_form input[type="number"],
body.listings-template-default.single .stm_listing_car_form select,
body.listings-template-default.single .stm_listing_car_form textarea {
    width: 100% !important;
    color: var(--verauto-single-text) !important;
    background: #f7f9fb !important;
    border: 1px solid var(--verauto-single-border) !important;
    border-radius: 11px !important;
    box-shadow: none !important;
    outline: none !important;
}

body.listings-template-default.single .stm_listing_car_form input[type="text"],
body.listings-template-default.single .stm_listing_car_form input[type="tel"],
body.listings-template-default.single .stm_listing_car_form input[type="email"],
body.listings-template-default.single .stm_listing_car_form input[type="search"],
body.listings-template-default.single .stm_listing_car_form input[type="password"],
body.listings-template-default.single .stm_listing_car_form input[type="number"],
body.listings-template-default.single .stm_listing_car_form select {
    height: 48px !important;
    line-height: 46px !important;
    padding: 0 14px !important;
}

body.listings-template-default.single .stm_listing_car_form textarea {
    min-height: 130px !important;
    max-height: none !important;
    padding: 13px 14px !important;
    line-height: 1.45 !important;
    resize: vertical !important;
}

body.listings-template-default.single .stm_listing_car_form input::placeholder,
body.listings-template-default.single .stm_listing_car_form textarea::placeholder {
    color: #8a949d !important;
    opacity: 1 !important;
}

body.listings-template-default.single .stm_listing_car_form input:focus,
body.listings-template-default.single .stm_listing_car_form select:focus,
body.listings-template-default.single .stm_listing_car_form textarea:focus {
    color: var(--verauto-single-text) !important;
    background: #fff !important;
    border-color: var(--verauto-single-blue) !important;
    box-shadow: 0 0 0 3px rgba(17, 136, 191, .10) !important;
}

body.listings-template-default.single .stm_listing_car_form .stm-form-with-icon i {
    color: #7b8790 !important;
}

body.listings-template-default.single .stm_listing_car_form input[type="submit"],
body.listings-template-default.single .stm_listing_car_form .wpcf7-submit {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 48px !important;
    margin: 12px 0 0 !important;
    padding: 12px 22px !important;
    color: #fff !important;
    background: var(--verauto-single-blue) !important;
    border: 1px solid var(--verauto-single-blue) !important;
    border-radius: 11px !important;
    box-shadow: none !important;
    font-size: 13px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
}

body.listings-template-default.single .stm_listing_car_form input[type="submit"]:hover,
body.listings-template-default.single .stm_listing_car_form .wpcf7-submit:hover {
    opacity: 1 !important;
    background: var(--verauto-single-blue-dark) !important;
    border-color: var(--verauto-single-blue-dark) !important;
}

body.listings-template-default.single .stm_listing_car_form .wpcf7-response-output,
body.listings-template-default.single .stm_listing_car_form .wpcf7-response-output.wpcf7-validation-errors {
    margin: 18px 0 0 !important;
    padding: 12px 14px !important;
    color: #4f5962 !important;
    background: #f7f9fb !important;
    border: 1px solid var(--verauto-single-border) !important;
    border-radius: 10px !important;
}

body.listings-template-default.single .stm_listing_car_form .wpcf7-not-valid-tip {
    margin-top: 5px !important;
    color: #c43d3d !important;
    font-size: 12px !important;
}

@media (max-width: 767px) {
    body.listings-template-default.single #main {
        padding-top: 80px !important;
    }

    body.listings-template-default.single .stm_listing_car_form .stm-single-car-contact {
        padding: 20px !important;
        border-radius: 18px !important;
    }
}

/* =========================================================
   VERAUTO - SINGLE VEHICLE V34
   Descriptive content text contrast fix
   ========================================================= */

/* The vehicle description is rendered inside .verauto-single-primary.
   Motors Motorcycle applies white text to content elements, so override
   the actual content descendants rather than the non-existent
   .verauto-single-main selector. */
body.listings-template-default.single .verauto-single-primary p,
body.listings-template-default.single .verauto-single-primary p *,
body.listings-template-default.single .verauto-single-primary li,
body.listings-template-default.single .verauto-single-primary li *,
body.listings-template-default.single .verauto-single-primary blockquote,
body.listings-template-default.single .verauto-single-primary blockquote *,
body.listings-template-default.single .verauto-single-primary .wpb_text_column,
body.listings-template-default.single .verauto-single-primary .wpb_text_column * {
    color: #26313a !important;
}

body.listings-template-default.single .verauto-single-primary strong,
body.listings-template-default.single .verauto-single-primary b {
    color: #1f252b !important;
}

body.listings-template-default.single .verauto-single-primary a {
    color: #1188bf !important;
}

body.listings-template-default.single .verauto-single-primary hr {
    border: 0 !important;
    border-top: 1px solid #dce2e7 !important;
}

/* =========================================================
   VERAUTO - SINGLE VEHICLE V35
   Tablet + mobile content order
   <= 991px:
   1. Brand / title / price
   2. Gallery
   3. Vehicle data table
   4. Direct actions
   5. Textual / WPBakery content
   ========================================================= */

@media (max-width: 991px) {

    /* Flatten the desktop two-column wrappers so the existing elements
       can be reordered without duplicating title, price or gallery. */
    body.listings-template-default.single .verauto-single-layout {
        display: flex !important;
        flex-direction: column !important;
        gap: 16px !important;
        align-items: stretch !important;
    }

    body.listings-template-default.single .verauto-single-primary,
    body.listings-template-default.single .verauto-single-aside,
    body.listings-template-default.single .verauto-single-summary {
        display: contents !important;
    }

    /* Any content generated by the editor goes after the technical block. */
    body.listings-template-default.single .verauto-single-primary > * {
        order: 5;
        width: 100% !important;
        min-width: 0 !important;
    }

    /* 1 - Logo / title / price */
    body.listings-template-default.single .stm-listing-single-price-title.verauto-single-heading {
        order: 1;
        width: 100% !important;
        margin: 0 !important;
        padding: 22px !important;
        background: #fff !important;
        border: 1px solid var(--verauto-single-border) !important;
        border-radius: 20px !important;
        box-shadow: 0 10px 28px rgba(24, 37, 49, .06) !important;
    }

    body.listings-template-default.single .stm-listing-single-price-title.verauto-single-heading .title {
        max-width: 760px !important;
    }

    /* 2 - Main gallery */
    body.listings-template-default.single .verauto-single-primary > .stm-car-carousels,
    body.listings-template-default.single .verauto-single-primary > .stm_car_carousels {
        order: 2;
        margin: 0 !important;
    }

    /* 3 - Technical description / data table */
    body.listings-template-default.single .verauto-single-specs {
        order: 3;
        width: 100% !important;
        margin: 0 !important;
        padding: 20px 22px !important;
        background: #fff !important;
        border: 1px solid var(--verauto-single-border) !important;
        border-radius: 20px !important;
        box-shadow: 0 10px 28px rgba(24, 37, 49, .05) !important;
    }

    body.listings-template-default.single .verauto-single-specs .single-car-data {
        margin: 0 !important;
    }

    /* 4 - Contact/actions stay compact and precede the long description. */
    body.listings-template-default.single .verauto-single-direct-actions {
        order: 4;
        width: 100% !important;
        margin: 0 !important;
    }

    body.listings-template-default.single .verauto-single-theme-actions {
        order: 4;
        width: 100% !important;
        margin: 0 !important;
    }

    body.listings-template-default.single .stm-single-car-links {
        margin-top: 0 !important;
    }
}

@media (max-width: 767px) {
    body.listings-template-default.single .stm-listing-single-price-title.verauto-single-heading,
    body.listings-template-default.single .verauto-single-specs {
        padding: 18px !important;
        border-radius: 18px !important;
    }

    body.listings-template-default.single .stm-listing-single-price-title.verauto-single-heading .title {
        margin-bottom: 14px !important;
        font-size: 28px !important;
        line-height: 1.08 !important;
    }

    body.listings-template-default.single .verauto-single-brand {
        margin-bottom: 10px !important;
    }
}

/* =========================================================
   VERAUTO - SINGLE VEHICLE V36
   Thumbnail gallery navigation fix
   ========================================================= */
body.listings-template-default.single .verauto-single-primary .stm-thumbs-car-gallery {
    position: relative !important;
    overflow: hidden !important;
    padding: 0 !important;
}

body.listings-template-default.single .verauto-single-primary .stm-thumbs-car-gallery .owl-controls {
    margin: 0 !important;
}

body.listings-template-default.single .verauto-single-primary .stm-thumbs-car-gallery .owl-prev,
body.listings-template-default.single .verauto-single-primary .stm-thumbs-car-gallery .owl-next {
    position: absolute !important;
    top: 50% !important;
    bottom: auto !important;
    width: 42px !important;
    min-width: 42px !important;
    height: 42px !important;
    min-height: 42px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 1px solid rgba(255,255,255,.22) !important;
    border-radius: 50% !important;
    background: rgba(28, 38, 46, .78) !important;
    box-shadow: 0 6px 18px rgba(0,0,0,.16) !important;
    transform: translateY(-50%) !important;
    opacity: 1 !important;
    overflow: hidden !important;
    z-index: 12 !important;
    transition: background .2s ease, transform .2s ease, opacity .2s ease !important;
}

body.listings-template-default.single .verauto-single-primary .stm-thumbs-car-gallery .owl-prev {
    left: 8px !important;
    right: auto !important;
}

body.listings-template-default.single .verauto-single-primary .stm-thumbs-car-gallery .owl-next {
    right: 8px !important;
    left: auto !important;
}

body.listings-template-default.single .verauto-single-primary .stm-thumbs-car-gallery .owl-prev::after,
body.listings-template-default.single .verauto-single-primary .stm-thumbs-car-gallery .owl-next::after {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1 !important;
    font-size: 17px !important;
    color: #fff !important;
}

body.listings-template-default.single .verauto-single-primary .stm-thumbs-car-gallery .owl-prev:hover,
body.listings-template-default.single .verauto-single-primary .stm-thumbs-car-gallery .owl-next:hover {
    background: rgba(17, 136, 191, .94) !important;
}

body.listings-template-default.single .verauto-single-primary .stm-thumbs-car-gallery .owl-prev.disabled,
body.listings-template-default.single .verauto-single-primary .stm-thumbs-car-gallery .owl-next.disabled {
    opacity: .22 !important;
    pointer-events: none !important;
}

@media (max-width: 991px) {
    body.listings-template-default.single .verauto-single-primary .stm-thumbs-car-gallery .owl-prev,
    body.listings-template-default.single .verauto-single-primary .stm-thumbs-car-gallery .owl-next {
        width: 38px !important;
        min-width: 38px !important;
        height: 38px !important;
        min-height: 38px !important;
    }

    body.listings-template-default.single .verauto-single-primary .stm-thumbs-car-gallery .owl-prev {
        left: 6px !important;
    }

    body.listings-template-default.single .verauto-single-primary .stm-thumbs-car-gallery .owl-next {
        right: 6px !important;
    }
}

/* =========================================================
   VERAUTO - SINGLE VEHICLE V38
   Full-width Contact Form 7 block
   ========================================================= */

/* The form is moved below the desktop 2-column layout by car-main.php. */
body.listings-template-default.single .verauto-single-contact-slot {
    width: 100% !important;
    margin: 34px 0 0 !important;
    padding: 0 !important;
}

body.listings-template-default.single .verauto-single-contact-slot:empty {
    display: none !important;
}

body.listings-template-default.single .verauto-single-contact-slot .stm_listing_car_form,
body.listings-template-default.single .verauto-single-contact-slot .stm-single-car-contact,
body.listings-template-default.single .verauto-single-contact-slot .wpcf7,
body.listings-template-default.single .verauto-single-contact-slot .wpcf7-form {
    width: 100% !important;
    max-width: none !important;
}

/* Outer framed box like the reference layout. */
body.listings-template-default.single .verauto-single-contact-slot .stm_listing_car_form {
    position: relative !important;
    margin: 0 !important;
    padding: 38px !important;
    color: #2b333b !important;
    background: #ffffff !important;
    background-color: #ffffff !important;
    background-image: none !important;
    border: 2px solid rgba(17, 136, 191, .85) !important;
    border-radius: 28px !important;
    box-shadow: 0 14px 38px rgba(24, 37, 49, .06) !important;
    overflow: hidden !important;
}

body.listings-template-default.single .verauto-single-contact-slot .stm_listing_car_form::before,
body.listings-template-default.single .verauto-single-contact-slot .stm_listing_car_form::after,
body.listings-template-default.single .verauto-single-contact-slot .stm-single-car-contact::before,
body.listings-template-default.single .verauto-single-contact-slot .stm-single-car-contact::after {
    content: none !important;
    display: none !important;
}

/* Inner theme wrapper must become neutral so the visible box is only the outer frame. */
body.listings-template-default.single .verauto-single-contact-slot .stm-single-car-contact {
    margin: 0 !important;
    padding: 0 !important;
    color: #2b333b !important;
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

body.listings-template-default.single .verauto-single-contact-slot .stm-single-car-contact > .title {
    margin: 0 0 18px !important;
    color: #1f252b !important;
}

/* Hard reset of text colors because Motors assigns white text in the original dark form. */
body.listings-template-default.single .verauto-single-contact-slot .wpcf7,
body.listings-template-default.single .verauto-single-contact-slot .wpcf7-form,
body.listings-template-default.single .verauto-single-contact-slot .wpcf7-form h1,
body.listings-template-default.single .verauto-single-contact-slot .wpcf7-form h2,
body.listings-template-default.single .verauto-single-contact-slot .wpcf7-form h3,
body.listings-template-default.single .verauto-single-contact-slot .wpcf7-form h4,
body.listings-template-default.single .verauto-single-contact-slot .wpcf7-form p,
body.listings-template-default.single .verauto-single-contact-slot .wpcf7-form label,
body.listings-template-default.single .verauto-single-contact-slot .wpcf7-form span,
body.listings-template-default.single .verauto-single-contact-slot .wpcf7-form div,
body.listings-template-default.single .verauto-single-contact-slot .wpcf7-form small,
body.listings-template-default.single .verauto-single-contact-slot .wpcf7-form strong,
body.listings-template-default.single .verauto-single-contact-slot .wpcf7-form em,
body.listings-template-default.single .verauto-single-contact-slot .wpcf7-form b,
body.listings-template-default.single .verauto-single-contact-slot .wpcf7-list-item-label,
body.listings-template-default.single .verauto-single-contact-slot .wpcf7-quiz-label,
body.listings-template-default.single .verauto-single-contact-slot .form-label,
body.listings-template-default.single .verauto-single-contact-slot .screen-reader-response p,
body.listings-template-default.single .verauto-single-contact-slot .screen-reader-response li {
    color: #3f4851 !important;
}

body.listings-template-default.single .verauto-single-contact-slot .wpcf7-form > h2 {
    margin: 0 0 10px !important;
    color: #1f252b !important;
    font-size: clamp(28px, 2.6vw, 38px) !important;
    line-height: 1.08 !important;
    font-weight: 700 !important;
    letter-spacing: -.025em !important;
    text-transform: none !important;
}

body.listings-template-default.single .verauto-single-contact-slot .wpcf7-form > h2 + p {
    margin: 0 0 28px !important;
    color: #68727d !important;
    font-size: 18px !important;
    line-height: 1.45 !important;
}

/* Replace Bootstrap floats with a clean responsive grid. */
body.listings-template-default.single .verauto-single-contact-slot .wpcf7-form > .row {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    column-gap: 24px !important;
    row-gap: 20px !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.listings-template-default.single .verauto-single-contact-slot .wpcf7-form > .row + .row {
    margin-top: 22px !important;
}

body.listings-template-default.single .verauto-single-contact-slot .wpcf7-form > .row > [class*="col-"] {
    float: none !important;
    width: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.listings-template-default.single .verauto-single-contact-slot .wpcf7-form > .row > .col-md-12,
body.listings-template-default.single .verauto-single-contact-slot .wpcf7-form > .row > .col-sm-12 {
    grid-column: 1 / -1 !important;
}

body.listings-template-default.single .verauto-single-contact-slot .form-group {
    margin: 0 0 18px !important;
}

body.listings-template-default.single .verauto-single-contact-slot .form-group:last-child {
    margin-bottom: 0 !important;
}

body.listings-template-default.single .verauto-single-contact-slot .form-group p,
body.listings-template-default.single .verauto-single-contact-slot .wpcf7-form-control-wrap,
body.listings-template-default.single .verauto-single-contact-slot .wpcf7-form-control-wrap p {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
}

body.listings-template-default.single .verauto-single-contact-slot .form-label {
    margin: 0 0 10px !important;
    color: #454d57 !important;
    font-size: 12px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .055em !important;
    text-transform: uppercase !important;
}

body.listings-template-default.single .verauto-single-contact-slot input[type="text"],
body.listings-template-default.single .verauto-single-contact-slot input[type="tel"],
body.listings-template-default.single .verauto-single-contact-slot input[type="email"],
body.listings-template-default.single .verauto-single-contact-slot input[type="search"],
body.listings-template-default.single .verauto-single-contact-slot input[type="password"],
body.listings-template-default.single .verauto-single-contact-slot input[type="number"],
body.listings-template-default.single .verauto-single-contact-slot select,
body.listings-template-default.single .verauto-single-contact-slot textarea,
body.listings-template-default.single .verauto-single-contact-slot input.wpcf7-quiz {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    height: 54px !important;
    margin: 0 !important;
    padding: 0 18px !important;
    color: #1f252b !important;
    background: #ffffff !important;
    border: 1px solid #cfd8df !important;
    border-radius: 18px !important;
    outline: 0 !important;
    box-shadow: none !important;
    font-size: 16px !important;
    line-height: 52px !important;
    font-weight: 400 !important;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease !important;
}

body.listings-template-default.single .verauto-single-contact-slot input::placeholder,
body.listings-template-default.single .verauto-single-contact-slot textarea::placeholder {
    color: #97a1aa !important;
    opacity: 1 !important;
}

body.listings-template-default.single .verauto-single-contact-slot textarea {
    min-height: 146px !important;
    height: auto !important;
    padding: 16px 18px !important;
    line-height: 1.45 !important;
    resize: vertical !important;
}

body.listings-template-default.single .verauto-single-contact-slot input:focus,
body.listings-template-default.single .verauto-single-contact-slot select:focus,
body.listings-template-default.single .verauto-single-contact-slot textarea:focus {
    background: #fff !important;
    border-color: var(--verauto-single-blue) !important;
    box-shadow: 0 0 0 3px rgba(17, 136, 191, .10) !important;
}

/* Quiz */
body.listings-template-default.single .verauto-single-contact-slot .wpcf7-quiz-label,
body.listings-template-default.single .verauto-single-contact-slot .wpcf7-form > .row > .col-md-12,
body.listings-template-default.single .verauto-single-contact-slot .wpcf7-form > .row > .col-sm-12 {
    color: #626c75 !important;
    font-size: 16px !important;
    line-height: 1.5 !important;
}

body.listings-template-default.single .verauto-single-contact-slot .wpcf7-quiz-label {
    display: block !important;
    margin: 6px 0 10px !important;
    font-weight: 600 !important;
}

body.listings-template-default.single .verauto-single-contact-slot input.wpcf7-quiz {
    max-width: 520px !important;
}

/* Acceptance */
body.listings-template-default.single .verauto-single-contact-slot .wpcf7-acceptance,
body.listings-template-default.single .verauto-single-contact-slot .wpcf7-list-item,
body.listings-template-default.single .verauto-single-contact-slot .wpcf7-list-item label {
    display: flex !important;
    align-items: flex-start !important;
    gap: 12px !important;
    margin: 0 !important;
}

body.listings-template-default.single .verauto-single-contact-slot .checker {
    flex: 0 0 auto !important;
    width: 22px !important;
    height: 22px !important;
    margin: 2px 0 0 !important;
}

body.listings-template-default.single .verauto-single-contact-slot input[type="checkbox"] {
    width: 22px !important;
    height: 22px !important;
    margin: 0 !important;
    accent-color: var(--verauto-single-blue) !important;
}

body.listings-template-default.single .verauto-single-contact-slot .wpcf7-list-item-label {
    color: #69727d !important;
    font-size: 16px !important;
    line-height: 1.5 !important;
}

/* Submit */
body.listings-template-default.single .verauto-single-contact-slot input[type="submit"],
body.listings-template-default.single .verauto-single-contact-slot .wpcf7-submit {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 58px !important;
    margin: 0 !important;
    padding: 16px 24px !important;
    color: #fff !important;
    background: var(--verauto-single-blue) !important;
    border: 1px solid var(--verauto-single-blue) !important;
    border-radius: 18px !important;
    box-shadow: none !important;
    font-size: 18px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
}

body.listings-template-default.single .verauto-single-contact-slot input[type="submit"]:hover,
body.listings-template-default.single .verauto-single-contact-slot .wpcf7-submit:hover {
    opacity: 1 !important;
    background: var(--verauto-single-blue-dark) !important;
    border-color: var(--verauto-single-blue-dark) !important;
}

body.listings-template-default.single .verauto-single-contact-slot input[type="submit"]:disabled,
body.listings-template-default.single .verauto-single-contact-slot .wpcf7-submit:disabled {
    opacity: .45 !important;
    cursor: not-allowed !important;
}

body.listings-template-default.single .verauto-single-contact-slot .ajax-loader,
body.listings-template-default.single .verauto-single-contact-slot .wpcf7-spinner {
    margin-left: 12px !important;
}

body.listings-template-default.single .verauto-single-contact-slot .wpcf7-response-output {
    margin: 20px 0 0 !important;
    padding: 13px 15px !important;
    color: #26313a !important;
    background: #f7f9fb !important;
    border: 1px solid var(--verauto-single-border) !important;
    border-radius: 12px !important;
}

body.listings-template-default.single .verauto-single-contact-slot .wpcf7-not-valid-tip {
    display: block !important;
    margin-top: 6px !important;
    color: #c43d3d !important;
    font-size: 12px !important;
    line-height: 1.3 !important;
}

@media (max-width: 991px) {
    body.listings-template-default.single .verauto-single-contact-slot {
        margin-top: 20px !important;
    }

    body.listings-template-default.single .verauto-single-contact-slot .stm_listing_car_form {
        padding: 30px !important;
        border-radius: 24px !important;
    }
}

@media (max-width: 767px) {
    body.listings-template-default.single .verauto-single-contact-slot .stm_listing_car_form {
        padding: 24px 18px !important;
        border-radius: 22px !important;
    }

    body.listings-template-default.single .verauto-single-contact-slot .wpcf7-form > h2 {
        font-size: 25px !important;
    }

    body.listings-template-default.single .verauto-single-contact-slot .wpcf7-form > h2 + p {
        margin-bottom: 24px !important;
        font-size: 15px !important;
    }

    body.listings-template-default.single .verauto-single-contact-slot .wpcf7-form > .row {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }

    body.listings-template-default.single .verauto-single-contact-slot .wpcf7-form > .row > [class*="col-"] {
        grid-column: 1 !important;
    }

    body.listings-template-default.single .verauto-single-contact-slot input.wpcf7-quiz {
        max-width: none !important;
    }
}
