.shop-content aside {
    flex-basis: 300px;
    margin: 0 70px 0 0;
}

.shop-content main {
    flex: 1 0 calc(100% - 370px);
}


.sidebar_title {
    display: none;
    color: #014F99;
    font-size: 22px;
    line-height: 27px;
    text-align: center;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    transition: color 150ms ease-in-out;
    cursor: pointer;
    position: relative;
}

.single-sold {
    padding-bottom: 20px;
    display: flex;
    justify-content: flex-start;
}

.single-sold .is_sold {
    background: #B30000;
    font-size: 20px;
    padding: 10px 15px;
    color: #fff;
}

aside ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

.tab-title {
    font-size: 24px;
    border-bottom: 1px solid #014F99;
    display: block;
    padding-bottom: 10px;
    margin-bottom: 20px;
    color: #014F99;
    font-weight: 400;
    position: relative;
}

.single-button {
    padding-top: 20px;
}

.woocommerce-product-search * {
    min-width: 100%;
}

.woocommerce-product-search .screen-reader-text {
    display: none;
}

.woocommerce-product-search input[type=search],
.woocommerce-product-search select,
.woo-filters .select2-container--default .select2-selection--single {
    background: #FFFFFF;
    border: 1px solid #C4C4C4;
    height: 49px;
    padding-left: 10px;
    margin-bottom: 10px;
}

.woo-filters .select2-container--default .select2-selection--single {
    padding-left: 0;
    margin-bottom: 0;
}

.woo-filters .select2-container--default .select2-selection--single .select2-selection__rendered {
    padding-top: 10px;
    height: 100%;
}

.woo-filters .select2-container--default .select2-selection--single .select2-selection__arrow {
    top: 10px;
}

.price_label {
    font-size: 14px;
    opacity: 0.5;
}

.product-categories > li > a {
    font-weight: 300;
    font-size: 18px;
    line-height: 25px;
    color: #333333;
    display: block;
    padding: 10px 5px;
}

.product-categories > li > span {
    display: none;
}

.product-categories > li > a:hover,
.product-categories > li.current-cat-parent > a,
.product-categories > li.current-cat > a {
    color: #014F99;;
    text-decoration: none;
}

.product-categories > li.current-cat-parent > a,
.product-categories > li.current-cat > a {
    font-weight: bold;
}

.product-categories > li ul a, .product-categories > li ul li span {
    font-size: 18px;
    line-height: 25px;
    color: #5AA1E5;
    font-weight: 300;
}

.product-categories > li ul a {
    text-decoration: none;
}

.product-categories > li ul li:hover a, .product-categories > li ul li.current-cat a {
    color: #014F99;;
}

.product-categories > li ul li.current-cat a, .product-categories > li ul li.current-cat span {
    color: #014F99;;
}

.product-categories > li ul {
    padding: 10px 0;
}

.product-categories > li ul li {
    padding-bottom: 0;
}

.product-categories > li ul li a,
.woocommerce-widget-layered-nav-list li a {
    margin-bottom: 10px;
    display: inline-block;
    padding: 0 0 0 20px;
}

.product-categories > li ul li:last-child a {
    margin-bottom: 0;
}

.woocommerce-widget-layered-nav-list li a {
    color: #333333;
    font-weight: 400;
}

.woocommerce-widget-layered-nav-list li a:hover {
    color: #014F99;
    text-decoration: none;
}


.woo-filters > li {
    margin-bottom: 45px;
}

.woocommerce-widget-layered-nav .tab-title,
.widget_product_categories .tab-title {
    cursor: pointer;
}



.woocommerce-widget-layered-nav ul,
.widget_product_categories ul {
    max-height: 355px;
    overflow-y: scroll;
    padding-right: 10px;
}

.woocommerce-widget-layered-nav ul::-webkit-scrollbar,
.widget_product_categories ul::-webkit-scrollbar {
    width: 10px;
}

.woocommerce-widget-layered-nav ul::-webkit-scrollbar-track,
.widget_product_categories ul::-webkit-scrollbar-track {
    background: transparent;
}

.woocommerce-widget-layered-nav ul::-webkit-scrollbar-thumb,
.widget_product_categories ul::-webkit-scrollbar-thumb {
    background: #5AA1E5;
    border-radius: 4px;
}

.woocommerce-widget-layered-nav.open > ul,
.widget_product_categories.open > ul {
    max-height: 2000px;
}

.woocommerce-widget-layered-nav.open .tab-title::after,
.widget_product_categories.open .tab-title::after {
    transform: rotate(0);
}

.woocommerce .widget_layered_nav_filters ul ,
.woocommerce-widget-layered-nav ul {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    li {
        position: relative;
        a{
        border: 1px solid  #014F99;
        padding: 10px;
        border-radius: 20px;
        display: flex;
        align-content: center;
        margin: 0;
        font-size: 14px;
        gap: 5px;
        color:  #014F99;
        transition: .3s;
        background: #fff;
        }
        .count {
            font-size: 14px;
            color:  #014F99;
            right: 10px;
            top: 0;
            bottom: 0;
            margin: auto;
            height: 17px;
        }
        &.chosen,
        &:hover {

            a {
                color: #fff;
                background: #014F99;
                color: #fff;
            }
            .count {
                color: #fff;
            }
        }
        &.chosen {
            a {
                padding-left: 30px;
            }
        }
    }
}

.woocommerce .widget_layered_nav_filters ul li a {
    padding-left: 15px;
}

.widget .product-categories {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.widget .product-categories > li > a {
    display: flex;
    padding: 15px 30px;
    text-decoration: none;
    box-sizing: border-box;
    font-size: 18px;
    font-weight: 600;
    line-height: 24px;
    transition: all .3s ease-in-out;
    width: 96%;
    background: #014F99;
    border-left: 3px solid #FFDA00;
    color: #fff;
}
.widget .product-categories > li > a:hover,.widget .product-categories > li.current-cat > a {
    background: #FFDA00;
    color: #014F99;
    border-color: #014F99;
    transition: all .3s ease-in-out;
}

.woo-filters > li:last-child {
    margin-bottom: 0;
}

.woocommerce ul.products li.product a .swiper-pagination,
.woocommerce ul.products li.product a .loop_gallery,
.woocommerce ul.products li.product a .image {

    aspect-ratio: 10 / 7;
    display: flex;
    align-items: flex-end;
    position: relative;
}

.tax-dealership.woocommerce ul.products li.product a .swiper-pagination,
.tax-dealership.woocommerce ul.products li.product a .loop_gallery,
.tax-dealership.woocommerce ul.products li.product a .image {
    height: 100%;
    min-height: 270px;
    max-height: none;
    display: flex;
    align-items: flex-end;
    position: relative;
}


.loop_gallery_images .swiper-slide,
.loop_gallery_images {
    background: no-repeat center / cover;
    min-height: 100%;
}

.woocommerce ul.products li.product a .swiper-pagination,
.woocommerce ul.products li.product a .loop_gallery_images {
    position: absolute;
}

.latest-products .products-grid a .swiper-pagination,
.latest-products .products-grid a .loop_gallery,
.woocommerce ul.products li.product a .swiper-pagination,
.woocommerce ul.products li.product a .loop_gallery {
    width: 100%;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}

.woocommerce .products ul, .woocommerce ul.products {
    display: flex;
    flex-wrap: wrap;
    padding-top: 25px;
    margin: 0;
    padding-bottom: 70px;
}

.woocommerce ul.products li.product, .woocommerce-page ul.products li.product {
    flex-basis: calc(25% - 8px);
    margin: 0 10px 10px 0;
    display: flex;
    flex-direction: column;
}

.woocommerce ul.products li.product:nth-child(4n), .woocommerce-page ul.products li.product:nth-child(4n) {
    margin-right: 0;
}

.woocommerce ul.products li > div > div ,
.woocommerce ul.products li > div {
    flex-grow: 1;
}


.latest-products .products-grid a .swiper-pagination .swiper-button-next,
.latest-products .products-grid a .swiper-pagination .swiper-button-prev,
body.woocommerce ul.products li.product a .swiper-pagination .swiper-button-next,
body.woocommerce ul.products li.product a .swiper-pagination .swiper-button-prev {
    width: 25px;
    height: 25px;
}

.latest-products .products-grid a .swiper-pagination .swiper-button-next:after,
.latest-products .products-grid a .swiper-pagination .swiper-button-prev:after,
body.woocommerce ul.products li.product a .swiper-pagination .swiper-button-next:after,
body.woocommerce ul.products li.product a .swiper-pagination .swiper-button-prev:after {
    font-size: 12px;
    color: #014F99;
}

.woocommerce ul.products li.product a {
    display: flex;
    flex-direction: column;
    background: #F3F3F3;
    border-radius: 0px 0px 5px 5px;
    width: 100%;
    height: 100%;
}

.woocommerce ul.products li.product a.view-listing {
    background: #014F99;
    border-radius: 0;
}

.button.empty {
    visibility: hidden;
}

.woocommerce ul.products li.product > a {
    flex-grow: 1;
}

.woocommerce ul.products li.product.cat_advert > div {
    display: flex;
    flex-direction: column;
    justify-content: center;

    box-sizing: border-box;
}

.woocommerce ul.products li.product.cat_advert a {
    background: transparent;
    display: flex;
    align-items: center;
    flex-grow: 1;
    height: 100%;
}

.woocommerce ul.products li.product.cat_advert a img {
    margin: 0 0 20px;
    object-fit: cover;
    height: 100%;
}

.woocommerce ul.products li.product:hover h4 {
    color: #014F99;
}

.woocommerce ul.products li.product a h4 {
    color: #363636;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    transition: .3s;
    height: 36px;
}

.woocommerce ul.products li.product a .wp_content {
    display: flex;
    flex-direction: column;
}

.woocommerce ul.products li.product a > .wp_content {
    padding: 15px;
    flex-grow: 1;
}

.ad-title p {
    margin-top: auto;
}

.listing_price {
    margin-top: auto;
}

.listing_price p {
    margin: 0;
}

.listing-atts {
    margin: 10px 0 20px;
}

.listing_date {
    text-align: right;
}

.page-views {
    display: flex;
    justify-content: flex-start;
    padding: 0 0 20px;

}

.page-views > div {
    padding-left: 22px;
    background: no-repeat left center / 18px url("data:image/svg+xml,%3Csvg xml:space='preserve' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 96 96'%3E%3Cpath d='M48 20c21.15 0 34.502 19.998 38.998 28C82.494 56.016 69.145 76 48 76 26.853 76 13.503 56.118 9.003 48.149 13.5 40.101 26.853 20 48 20m0-8C16 12 0 48.166 0 48.166S16 84 48 84s48-36 48-36-16-36-48-36z'/%3E%3Cpath d='M48 40c4.411 0 8 3.589 8 8s-3.589 8-8 8-8-3.589-8-8 3.589-8 8-8m0-8c-8.836 0-16 7.164-16 16 0 8.837 7.164 16 16 16 8.837 0 16-7.163 16-16 0-8.836-7.163-16-16-16z'/%3E%3C/svg%3E");

}

.single-product .the_atts {
    padding: 0;
    margin: 0 0 30px;

}

.single-product .the_atts li {
    display: flex;
    justify-content: space-between;
    background: #F3F3F3;
    border-radius: 4px;
    color: #7C7C76;
    padding: 10px 15px;
    margin-bottom: 10px;
}

.single-product .the_atts li strong {
    margin-right: 5px;

}

.woocommerce .products ul.the_atts {
    margin: 0;
    padding: 0;
}

.woocommerce .products ul.the_atts li {
    background: #FFFFFF;
    border-radius: 2px;
    margin-bottom: 3px;
    display: flex;
    width: 100%;
    justify-content: space-between;
    font-size: 14px;
    line-height: 16px;
    align-items: center;
    text-align: right;
    color: #7C7C76;
    padding: 5px;
    box-sizing: border-box;
    font-weight: 400;
}

.woocommerce .products ul.the_atts li:last-child {
    margin-bottom: 0;
}

.the_auction_wrapper.not-logged-in {
    flex-direction: column;
}

.listing_price {
    text-align: right;
    font-weight: bold;
    font-size: 24px;
    line-height: 28px;
    color: #014F99;
    text-transform: uppercase;
}

.listing_price span {
    color: #9F9F9F;
}

.listing_price span.vat {
    font-size: 0.7em;
}

.woocommerce .product-single-header {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-bottom: 50px;
}

.woocommerce .product-single-header__main {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.woocommerce .product-single-header * {
    margin: 0;
}

.woocommerce .listing-location,
.ad-title p.listing-location {
    font-size: 14px;
    line-height: 16px;
    color: #333;
    padding-left: 13px;
    font-weight: 600;
    background: no-repeat center left / 9px url("data:image/svg+xml,%3Csvg width='9' height='13' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4.49999 0C6.98125 0 9 1.94398 9 4.33334c0 .71729-.18623 1.42848-.54026 2.05928L4.74608 12.8604c-.04944.0862-.14365.1396-.24609.1396s-.19665-.0534-.24608-.1396L.538876 6.39049C.186214 5.76182-.00001717 5.0506-.00001717 4.33332-.00001717 1.94398 2.01873 0 4.49999 0zm0 6.5c1.24063 0 2.24999-.97198 2.24999-2.16666S5.74062 2.16668 4.49999 2.16668 2.25 3.13866 2.25 4.33334 3.25936 6.5 4.49999 6.5z' fill='%23363636'/%3E%3C/svg%3E");
    text-transform: capitalize;
    margin-bottom: 0;
}

.the_sku {
    font-size: 14px;
    line-height: 16px;
    margin-bottom: 0.5em;
    color: #333;
    font-weight: 600;
}

.summary .single-dealer .ad-title p {
    margin-bottom: 10px;
}

.term-description {
    padding-bottom: 50px;
}

.tax-product_cat #pagination {
    justify-content: flex-end;
}

.the_product_top {
    display: none;
    align-items: flex-start;
}

.product_back_button {
    padding-bottom: clamp(15px, 4vw, 80px );
}

.product_back_button button {
    display: flex;
    align-items: center;
    gap: 5px;
    border-radius: 6px;
    background: #E8E8E8;
    color:  #014F99;
    border: none;
    padding: 15px;
    cursor: pointer;
    font-weight: 600;
    font-family: 'Roboto', sans-serif;
    transition: .3s;

}
.product_back_button button:before {
    content: '';
    width: 24px;
    height: 16px;
    background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='16' fill='none'%3E%3Cpath fill='%23014F99' d='M.293 8.707a1 1 0 0 1 0-1.414L6.657.929A1 1 0 0 1 8.07 2.343L2.414 8l5.657 5.657a1 1 0 1 1-1.414 1.414L.293 8.707ZM24 8v1H1V7h23v1Z'/%3E%3C/svg%3E");

}

.product_back_button button:hover {
    opacity: 0.7;
}
.the_listing_product_top {
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid #E5E5E5;
}

.the_listing_product_top h1 {
    color: #333;
    margin-bottom: 0.3em;
}

.single-product-top {


    padding-bottom: 20px;
    border-bottom: 1px solid #E5E5E5;
    margin-bottom: 20px;
}

.swiper-button-next.thumb,
.swiper-button-prev.thumb {
    color: #fff !important;
}

.product-single-price {
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    gap: 20px;
    padding-top: 30px;
}

.woocommerce .spec-title {
    /*margin-top: -50px;*/
}

.product-single-price .button {
    margin: 0;
}

.woocommerce .product-single-header__sub {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding-top: 10px;
}

.the_listing_product_top .price,
.woocommerce .product-single-header__main p.price,
.woocommerce div.product p.price,
.single-product-top .listing_price {
    flex-grow: 1;
    display: block;
    margin: 0;
    font-size: 36px;
    padding-top: 4px;
    font-weight: bold;
    line-height: 28px;
    color: #014F99;
}

.the_listing_product_top {
    display: flex;
    gap: 20px;
    justify-content: space-between;
    align-items: center;
}

.woocommerce div.product .product_title {
    margin-bottom: 0;
}

.single-product-top .ad-title {
    flex: 0 1 auto;
}

.single-product-top h1 {
    color: #333333;
    margin-bottom: 15px;
}

.the_gallery_wrapper {

    width: calc(38% - 35px);
}

.entry-summary .psfw-social-wrap:nth-child(1),
.entry-summary .first-payment-date {
    display: none;
}

.woocommerce div.product div.summary {
    margin-bottom: 0;
    flex-basis: calc(62% - 35px);
}

.woocommerce .spec-title.desc-title {
    margin-top: 0;
}

.the-gallery {
    column-gap: unset;
    column-count: unset;
    align-items: flex-start;
    overflow: hidden;
    width: 100%;
    margin-bottom: clamp(30px, 3vw, 50px);;
}

.mySwiper {
    height: clamp(100px, 8vw, 160px);
    box-sizing: border-box;
    padding: 10px 0;
    margin-top: 10px;
    width: 100%;
}


.mySwiper .swiper-slide {
    height: 100%;
    opacity: 1;
    background: no-repeat center /cover;
    cursor: pointer;
}

.swiper-slide {
    opacity: 0.3;
}

.swiper-slide-active {
    position: relative;
    z-index: 3;
    opacity: 1;
}

.mySwiper .swiper-slide-thumb-active {
    opacity: 1;
}

.the-gallery > *:nth-child(1).default_image {
    margin-right: 0;
    height: 30vw;
    max-height: 400px;
    min-height: 250px;
    flex-basis: 100%;
    background: no-repeat center / auto;
    border: 1px solid #ccc;
}

.the-gallery *:nth-child(1) img {
    max-width: 100%;
    max-height: 410px;
}

.the-gallery.contain_images *:nth-child(1) {
    background-size: contain;
}

.the-gallery .default_image:nth-child(1) {
    background-size: contain;
    border: none;
}

.the_contact_details.hide, .the_contact_details_dealer.hide {
    display: none;
}

.the_contact_details {
    margin: 0 0 25px 0;
}

.the_contact_details_dealer, .the_contact_details_container {
    border-radius: 15px;
}


.the_contact_details_dealer {
    margin: 0 0 25px 0;
    position: fixed;
    top: 5vh;
    left: calc(50% - calc(min(90vw, 950px) / 2));
    z-index: 9999;
    max-width: min(90vw, 950px);
    max-height: 80vh;
    box-sizing: border-box;
}

.the_contact_details_dealer_exit {
    width: 40px;
    height: 40px;
    right: 40px;
    top: 25px;
    /*background: red;*/
    background: center / 30px no-repeat url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='37' height='38' fill='none'%3e%3cpath fill='%23014F99' d='M37 2.6 34.7.3 18.8 17 2.8.3.7 2.6l16 16.5-16 16.6 2.1 2.2 16-16.5 16 16.5 2.1-2.2L21 19 37 2.6Z'/%3e%3c/svg%3e"); /*display: block;*/
    position: absolute;
    transition: 0.3s;
    cursor: pointer;
}

.the_contact_details_dealer_exit:hover {
    transform: rotate(90deg);
}

.the_contact_details_dealer .gform_fields {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.the_contact_details_dealer .gfield {
    flex-basis: 100%;
    position: relative;
}

.the_contact_details_dealer fieldset.gfield {
    border: none;
    padding: 0;
    margin: 0;
}

.the_contact_details_dealer fieldset.gfield legend {
    display: none;
}

.the_contact_details_dealer fieldset.gfield legend + * {
    clear: both;
}

.the_contact_details_dealer fieldset .ginput_complex {
    display: flex;
    gap: 30px;
    flex-direction: column;
}

.the_contact_details_dealer .gfield.gfield--width-half {
    flex-basis: calc(50% - 15px);
}

@media (max-width: 600px) {
    .the_contact_details_dealer .gfield.gfield--width-half {
        flex-basis: 100%;
    }

    .the_contact_details_container {
        padding: 40px 20px;
    }
}

.the_contact_details_dealer .gform_footer {
    padding-top: 20px;
}

.the_contact_details_container {
    padding: 40px 50px 40px 40px;
    background: white;
    max-height: 80vh;
    overflow-y: scroll;
    position: relative;
}

.the_contact_details_dealer:before {
    content: '';
    background: black;
    opacity: 0.4;
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
}

.the_contact_details_container::-webkit-scrollbar {
    width: 18px;
    background: transparent;
}

.the_contact_details_container::-webkit-scrollbar-thumb {
    border: 6px solid transparent;
    background-clip: padding-box;
    border-radius: 9999px;
    background-color: #AAAAAA;
}

.the_contact_details_container::-webkit-scrollbar-track {
    background: white;
    border-bottom-right-radius: 15px;
    border-top-right-radius: 15px;
}

.the_contact_details_container::-webkit-scrollbar-thumb:hover {
    background-color: #c3c3c3;
}

.dealer-badge + .the_contact_details {
    margin-top: 25px;
}

.the_contact_details.hide {
    display: none;
}

.product-single-main {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.yith-wcwl-add-button {
    display: flex;
    justify-content: flex-end;
    padding-bottom: 40px;
}

.dealer-sponser {
    padding-bottom: 70px;
    display: flex;
    gap: 40px;
    justify-content: center;
}

.single-dealer {
    max-width: 850px;
    width: 100%;
}


h3.spec-title {
    font-size: 24px;
    margin-top: 0;
}

.single-dealer h3 {
    margin-top: 0;
}

.woocommerce table.shop_attributes {
    border: none;
}

.woocommerce table.shop_attributes tr {
    background: #F3F3F3;
    border-radius: 4px;
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    color: #7C7C76;
    padding: 0 20px;
}

.woocommerce table.shop_attributes tr:nth-child(even) td, .woocommerce table.shop_attributes tr:nth-child(even) th, .woocommerce table.shop_attributes th, .woocommerce table.shop_attributes td {
    background: none;
    border: none;
    font-style: normal;
}

.woocommerce table.shop_attributes th {
    text-align: left;
}

.advert_form {
    background: #E6EEF5;
    padding-top: 100px;
    padding-bottom: 100px;
}

.yith-wcwl-wishlistaddedbrowse, .yith-wcwl-wishlistexistsbrowse {
    padding-bottom: 40px;
    text-align: right;
}

.dealers_lead_content,
.brands_lead_content {
    padding-block: 70px 110px;
}

.dealership-wrapper {
    background: #F3F3F3;
    display: block;
    padding-top: 110px;
}

.brands-wrapper {
    background: #F3F3F3;
    display: block;
    padding-block: 0;
}

.dealership-listing {
    display: flex;
    gap: 50px;
}

.dealership-listing .dealer-filter {
    min-width: 300px;
    background: white;
    border-radius: 20px;
    padding: 30px 20px;
    box-shadow: 0px 4px 55px 0px rgba(0, 0, 0, 0.05);
    height: fit-content;
}

.dealership-listing .dealer-filter > div h4 {
    font-size: clamp(18px, 2.4vw, 24px);
    font-family: Roboto;
    font-weight: 600;
    padding-bottom: 10px;
}

.dealership-listing .dealer-filter ul {
    padding: 0;
    margin: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.the_brands {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
}

.the_brands > a {
    border-radius: 5px;
    border: 1px solid #C4C4C4;
    aspect-ratio: 2.6;
    overflow: hidden;
    padding: 20px;
}

/*.the_brands > a.view-all-link{*/

/*}*/

.the_brands > a:hover {
    border: 1px solid #FFDA00;
}

.the_brands > a.active {
    border: 3px solid #FFDA00;
}

.the_brands > a .image {
    padding: 20px;
    box-sizing: border-box;
    background: white center / contain no-repeat;
    width: 100%;
    height: 100%;
}

.dealership-listing .dealer-filter ul li.brand-separator {
    height: 1px;
    background: #014F99;
    margin-inline: 20px;
}

.dealership-listing .dealer-filter ul li a {
    font-size: 18px;
    line-height: 25px;
    color: #333333;
    display: block;
    padding: 15px;
    font-weight: 400;
    background: #fff;
}

.dealership-listing .dealer-filter ul li a:hover {
    color: #014F99;
    text-decoration: none;
}

.dealership-listing .dealer-filter ul li.current-brand a {
    color: #ffffff;
    font-weight: 700;
    background: #014F99;
}

#view-more-brands {
    width: 100%;
    display: block;
    text-align: center;
    color: #014F99;
    text-decoration: underline;
    padding-top: 5px;
    cursor: pointer;
    transition: .1s;
}

#view-more-brands:hover {
    opacity: 0.6;
}

.dealer-results-container {
    width: 100%;
    box-sizing: border-box;
}

.latest-products .products-grid {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(10px, 3vw, 40px);
}

.brands_container {
    padding-block: 40px;
    text-align: center;
}

.the_brands {
    padding-block: 40px;
}

.brands-wrapper .dealer-results-container {
    padding-bottom: 0;
}

.fc_split_content.brand_spotlight .image.logo {
    background-size: contain;
    background-position: left;
    min-height: 50px;
    width: 100%;
    margin-bottom: 2em;
}

.dealer-results-container {
    padding-block: 70px;
}

.the_brands > a.hidden {
    display: none
}


.dealer-results {
    display: flex;
    flex-wrap: wrap;
    padding-bottom: 70px;
    width: 100%;
    align-items: flex-start;
}

.search-result-title {
    margin-block: 1em 0.5em;
}

.back-to-all {
    margin-bottom: 1em;
}

.dealer-results a {
    flex-basis: calc(25% - 8px);
    margin: 0 10px 10px 0;
    border-radius: 5px;
    background: #fff;
    display: flex;
    flex-direction: column;
    padding: 20px;
    box-sizing: border-box;
}

.dealer-results a .wp_content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.ad-title p.listing-location {
    margin-bottom: 10px;
}

.dealer-results a:hover {
    text-decoration: none;
}

.dealer-results a:nth-child(4n) {
    margin-right: 0;
}

.dealer-logo {
    height: 140px;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    padding: 20px;
    box-sizing: border-box;
    margin-bottom: 25px;
}

.dealer-logo > div {
    width: 100%;
    height: 100%;
    background: no-repeat center / contain;
}

.dealership-listing a h4 {
    color: #363636;
}

.ad-title p.various {
    background: none;
    color: #7C7C76;
    padding: 0;
}

.listing-count {
    border: 2px solid #014F99;
    box-sizing: border-box;
    border-radius: 20px;
    font-weight: bold;
    font-size: 14px;
    line-height: 16px;
    display: flex;
    align-items: center;
    color: #014F99;
    text-transform: uppercase;
    padding: 6px 15px 5px;
    transition: .3s;
    background: #fff no-repeat calc(100% - 15px) center / 8px url("data:image/svg+xml,%3Csvg width='8' height='11' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M1.81264 11C1.23319 10.4833.632414 9.94787 0 9.38432c1.53536-1.27933 3.09238-2.57654 4.6826-3.9015C3.1063 4.17416 1.54654 2.88026.00274851 1.5984.631501 1.05291 1.24985.516545 1.84416 0 3.8632 1.7986 5.94657 3.65546 8 5.48631 5.95206 7.31074 3.8698 9.16722 1.81264 11z' fill='%23014F99'/%3E%3C/svg%3E");
    margin-top: auto;
}

.dealer-results a .listing-count {
    margin-top: 1em;
}

.dealership-listing a:hover .listing-count {
    background-color: #FFDA00;
    border-color: #FFDA00;
}

.dealership-wrapper #pagination {
    margin-bottom: 60px;
}

.woocommerce .products ul.split-products .featured, .woocommerce ul.products.split-products .featured {
    display: none;
}

.tax-product_cat #pagination {
    margin-bottom: 0;
}

.advert_form + .advert.default_advert.bottom_advert {
    padding-top: 70px;
}

.dealer-badge {
    display: flex;
    background: #F3F3F3;
    padding: 30px;
    border-bottom: 8px solid #014F99;
    justify-content: space-between;
}

.dealer-badge > div {
    flex-basis: calc(50% - 15px);
}

.dealer-badge .dealer-logo {
    height: auto;
    background-color: #fff;
    margin: 0;
}

.dealer-badge .button {
    min-width: 100%;
    box-sizing: border-box;
    justify-content: center;
    text-align: center;
    margin-right: 0;
}

.woocommerce div.product div.summary .dealer-badge .wp_content {
    padding-bottom: 0;
}

.dealer-badge .button:last-child {
    margin-bottom: 0;
}

.dealer-badge h3 {
    color: #000000;
}

.seller-block {
    background: #D7E7F6;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    margin-bottom: 40px;
}

.seller-block h4 {
    color: #000;
}

.seller-block .button {
    margin: 0;
}

.seller-block a[href^="tel:"] {
    padding-left: 18px;
    color: #014F99;
    background: no-repeat left center / 14px url("data:image/svg+xml,%3Csvg width='14' height='16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M13.1198 15.039c-.2841.3827-1.0519.4884-1.6462.6389-.5943.1505-1.3253.1137-2.01947-.0657-1.04128-.269-1.83535-.7783-2.62942-1.2876-.62053-.4644-1.24106-.9288-1.68804-1.3484-1.51449-1.3036-3.29183-3.73934-4.10155-5.62101-.236604-.51726-.299668-.98968-.499449-1.64947C.372716 4.90341.209762 4.1011.430727 3.24595c.147309-.5701.468164-1.09535.925733-1.43324.45758-.33789.91515-.67578 1.50944-.826302.38392-.052839 1.11493-.015992 1.63557.118532l.17354.04485c.17355.04484.41016.5621.3365.84715.23661.51726.43639 1.17705.673 1.69431.09989.32989.37333.70463.3365.84715-.18413.71262-2.27727.93198-2.38776 1.35955-.07365.28505.19979.65979.16296.80231.59934 1.97936 1.69309 3.47834 3.38113 4.82674.13671.1873.62052.4644.79407.5092.52064.1346 1.96701-1.1641 2.66119-.9848.3471.0897.6205.4645.7572.6518.447.4196 1.0676.884 1.6881 1.3484.1367.1874.6205.4645.7572.6518l-.0368.1426c-.1105.4275-.4313.9528-.6785 1.193z' fill='%23014F99'/%3E%3C/svg%3E");
}

.dealership-info-block {
    background: #F3F3F3;
    padding-top: 70px;
    padding-bottom: 70px;
    display: flex;
}

.dealership-info-block > div {
    background: #fff;
    box-sizing: border-box;
    border-bottom: 8px solid #014F99;
}

.dealership-info-block > div:nth-child(2) {
    flex-basis: 350px;
    margin-left: 50px;
    padding: 30px;
}

.dealership-info-block h4 {
    margin-bottom: 5px;
}

.dealership-info-block a[href^="tel:"] + h4 {
    margin-top: 20px;
}

.dealership-info-block > div:nth-child(1) {
    flex-basis: calc(100% - 400px);
    padding: 50px;
    display: flex;
    justify-content: space-between;
}


.dealership-info-block > div:nth-child(1) .dealer-logo {
    box-shadow: none;
    min-width: 150px;
    padding: 0;
    background-position: top;
    margin-left: 20px;
    height: 70px;
}

.dealer-filters {
    background: #FFDA00;
    padding-top: 20px;
    padding-bottom: 10px;
    font-weight: bold;
    font-size: 18px;
    line-height: 21px;
    color: #014F99;
}

.dealer-filters p {
    margin-bottom: 10px;
    margin-right: 40px;
    display: inline-block;
}

.dealer-filters a {
    margin-right: 20px;
    color: #7C7C76;
    padding: 15px 20px;
    background: #fff;
    display: inline-block;
    font-style: normal;
    font-weight: normal;
    font-size: 14px;
    line-height: 16px;
    border-radius: 2px;
    margin-bottom: 10px;
}

.dealer-filters a:last-child {
    margin-right: 0;
}

.dealer-filters a:hover, .dealer-filters a.active {
    background-color: #014F99;
    text-decoration: none;
    color: #fff;
}

.dealer-filters a:not(:nth-child(1)) {
    background-image: url("data:image/svg+xml,%3Csvg width='9' height='13' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4.49999 0C6.98125 0 9 1.94398 9 4.33334c0 .71729-.18623 1.42848-.54026 2.05928L4.74608 12.8604c-.04944.0862-.14365.1396-.24609.1396s-.19665-.0534-.24608-.1396L.538876 6.39049C.186214 5.76182-.00001717 5.0506-.00001717 4.33332-.00001717 1.94398 2.01873 0 4.49999 0zm0 6.5c1.24063 0 2.24999-.97198 2.24999-2.16666S5.74062 2.16668 4.49999 2.16668 2.25 3.13866 2.25 4.33334 3.25936 6.5 4.49999 6.5z' fill='%237C7C76'/%3E%3C/svg%3E");
    background-position: 20px center;
    padding-left: 40px;
    background-repeat: no-repeat;
}

.dealer-filters a:not(:nth-child(1)):hover, .dealer-filters a:not(:nth-child(1)).active {
    background-image: url("data:image/svg+xml,%3Csvg width='9' height='13' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4.49999 0C6.98125 0 9 1.94398 9 4.33334c0 .71729-.18623 1.42848-.54026 2.05928L4.74608 12.8604c-.04944.0862-.14365.1396-.24609.1396s-.19665-.0534-.24608-.1396L.538876 6.39049C.186214 5.76182-.00001717 5.0506-.00001717 4.33332-.00001717 1.94398 2.01873 0 4.49999 0zm0 6.5c1.24063 0 2.24999-.97198 2.24999-2.16666S5.74062 2.16668 4.49999 2.16668 2.25 3.13866 2.25 4.33334 3.25936 6.5 4.49999 6.5z' fill='%23fff'/%3E%3C/svg%3E");
}

.listing_count span {
    color: #7C7C76;
}

.dealer-search {
    padding-top: 40px;
    padding-bottom: 40px;
    /*background: #FFF;*/
    margin-top: -220px;
}

.dealer-search form {
    background: #FFF;
    box-shadow: 0px 4px 55px 0px rgba(0, 0, 0, 0.05);
    border-radius: 20px;
    padding: 40px 80px;
}

.dealer-search form {
    display: flex;
    align-items: center;
}

.dealer-search form label {
    color: #014F99;

    /* H4 */
    font-family: Roboto;
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

span.user_type {
    background: #014f99;
    color: #fff;
    padding: 3px 5px;
    flex-grow: 1;
    text-align: center;
    position: relative;
    z-index: 2;
}

.woocommerce ul.products li.product a .image span {
    min-width: 50%;
    box-sizing: border-box;
    text-align: center;
}

.dealer-search form .button {
    margin: 0;
    /*color: #014F99;*/
    text-align: center;
    font-family: Roboto;
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    letter-spacing: 0.9px;
    text-transform: uppercase;
    padding: 18px 14px 14px;
    border-radius: 0;
}

.dealer-search form .button:last-child {
    margin-left: 10px;
}

.dealer-search form input[type=text] {
    flex: 1 1 auto;
    margin: 0 10px 0 30px;
    background: #F3F3F3;
    border: none;
    padding-left: 20px;
    box-sizing: border-box;
    padding-block: 17px;
}

.dealer-brands {
    padding-top: 70px;
    padding-bottom: 70px;
}

.dealer-brands h2 {
    text-align: center;
}

.dealer-brands div {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.dealer-brands div a {
    flex-basis: calc(20% - 8px);
    margin: 0 10px 10px 0;
    padding: 20px;
    display: flex;
    box-sizing: border-box;
    border: 1px solid #C4C4C4;
    border-radius: 5px;
    height: 15vw;
    max-height: 105px;
    min-height: 70px;
    justify-content: center;
    align-items: center;
}

.dealer-brands div a:hover {
    border-color: #FFDA00;;
    box-sizing: border-box;
}

.dealer-brands div a.active {
    border: 3px solid #FFDA00;
}

.dealer-brands div a div {
    width: 100%;
    height: 100%;
    background: no-repeat center / contain;
}

.dealer-brands div a:nth-child(5n) {
    margin-right: 0;

}

.dealer-brands + .advert {
    padding-top: 0;
}

.page-template-dealerships .top_advert {
    padding-bottom: 70px;
}

.brands-title {
    margin: 0;
    text-align: center;
}

.dealership-wrapper + .advert.default_advert.bottom_advert {
    padding-top: 70px;
}


.swf_container .swf_add_to_favourites.button.yellow {
    padding: 8px 29px 8px 40px;
    background-repeat: no-repeat;
    background-position: 10px center;
    margin: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    min-height: 53px;
    font-size: 24px;
    box-sizing: border-box;
}

.swf_container .swf_add_to_favourites.button.yellow::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath fill='%23014F99' d='M256 128c-81.9 0-145.7 48.8-224 128 67.4 67.7 124 128 224 128 99.9 0 173.4-76.4 224-126.6C428.2 198.6 354.8 128 256 128zm0 219.3c-49.4 0-89.6-41-89.6-91.3 0-50.4 40.2-91.3 89.6-91.3s89.6 41 89.6 91.3c0 50.4-40.2 91.3-89.6 91.3z'/%3E%3Cpath fill='%23014F99' d='M256 224c0-7.9 2.9-15.1 7.6-20.7-2.5-.4-5-.6-7.6-.6-28.8 0-52.3 23.9-52.3 53.3s23.5 53.3 52.3 53.3 52.3-23.9 52.3-53.3c0-2.3-.2-4.6-.4-6.9-5.5 4.3-12.3 6.9-19.8 6.9-17.8 0-32.1-14.3-32.1-32z'/%3E%3C/svg%3E");
    width: 25px;
    height: 25px;
    content: '';
}

.the_gallery_wrapper .swf_container {
    margin: 0;
    padding-top: 15px;
}

.button.yellow.swf_add_to_favourites:hover {
    color: #014F99;
    background-color: #FFDA00;
    border-color: #FFDA00;
    opacity: 0.7;
}

span.featured {
    color: #014F99;
    background: #FFDA00;
    padding: 3px 5px;
    position: relative;
    z-index: 3;
}

#swf_favourites_display ul {
    width: 100%;
}

.woocommerce td.product-name dl.variation {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.woocommerce td.product-name dl.variation dt {
    width: 110px;
    margin-right: 10px;
}

.woocommerce td.product-name dl.variation dd {
    width: calc(100% - 140px);
    margin: 0;
    margin-inline-start: 0;
}

.woocommerce td.product-name dl.variation dd p {
    margin: 0;
}

.woocommerce table.shop_table td .product-quantity {
    display: none;
}

.the_cat_filters {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
}

.the_cat_filters a {
    padding: 10px;
    display: block;
    background: #015EB6;
    color: #fff;
    margin-right: 10px;
    margin-bottom: 10px;
}

.the_cat_filters a:hover,
.the_cat_filters a.active {
    text-decoration: none;
    background: #FFDA00;
    color: #015EB6;;
}

.disabled_message {
    border: 1px solid #d80000;
    padding: clamp(20px, 10vw, 30px);
    text-align: center;
    font-size: 20px;
    color: #d80000;
    font-weight: bold;
}

.video_thumb {
    cursor: pointer;
    position: relative;
    background: no-repeat center / cover;
    width: 100%;
    max-width: 300px;
    padding-bottom: 50%;
}

.video_thumb::before {
    position: absolute;
    width: 100%;
    height: 100%;
    content: '';
    background: rgba(255, 255, 255, 0.5) no-repeat center / 30px url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg' fill-rule='evenodd' clip-rule='evenodd' stroke-linejoin='round' stroke-miterlimit='2'%3E%3Cg fill-rule='nonzero'%3E%3Cpath d='M501.299 132.766c-5.888-22.03-23.234-39.377-45.264-45.264-39.932-10.701-200.037-10.701-200.037-10.701s-160.105 0-200.038 10.701c-22.025 5.887-39.376 23.234-45.264 45.264C0 172.694 0 256.002 0 256.002s0 83.308 10.696 123.232c5.888 22.03 23.239 39.381 45.264 45.268 39.933 10.697 200.038 10.697 200.038 10.697s160.105 0 200.037-10.697c22.03-5.887 39.376-23.238 45.264-45.268C512 339.31 512 256.002 512 256.002s0-83.308-10.701-123.236z' fill='%23ed1f24'/%3E%3Cpath d='M204.796 332.803l133.018-76.801-133.018-76.801v153.602z' fill='%23fff'/%3E%3C/g%3E%3C/svg%3E");
}

.woocommerce ul.products.split-products .featured.is_sold {
    position: absolute;
    top: 0;
    left: 0;
    background: #B30000;
    color: #fff;
    display: block;
    max-width: 80px;
    min-width: unset;
    font-size: 15px;
    padding: 5px 10px;
}

.hidden_video {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 4;
    justify-content: center;
    align-items: center;
    display: none;
}

.hidden_video > span {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.7);
    cursor: pointer;
}

.hidden_video > span span {
    position: absolute;
    top: clamp(10px, 2vw, 30px);
    right: clamp(10px, 2vw, 30px);
    width: 30px;
    height: 30px;
    background: no-repeat center / 30px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M22.245 4.015c.313.313.313.826 0 1.139l-6.276 6.27c-.313.312-.313.826 0 1.14l6.273 6.272c.313.313.313.826 0 1.14l-2.285 2.277c-.314.312-.828.312-1.142 0l-6.271-6.271c-.313-.313-.828-.313-1.141 0l-6.276 6.267c-.313.313-.828.313-1.141 0l-2.282-2.28c-.313-.313-.313-.826 0-1.14l6.278-6.269c.313-.312.313-.826 0-1.14L1.709 5.147c-.314-.313-.314-.827 0-1.14l2.284-2.278c.315-.312.828-.312 1.142.001L11.405 8c.314.314.828.314 1.141.001l6.276-6.267c.312-.312.826-.312 1.141 0l2.282 2.281z'/%3E%3C/svg%3E");
}

.hidden_video > iframe {
    position: relative;
    width: clamp(200px, 80vw, 800px);
    height: clamp(200px, 80vw, 500px);
}

.hidden_video.show {
    display: flex;
}

.open_help {
    display: inline-block;
    width: 15px;
    cursor: pointer;
    height: 15px;
    position: relative;
    top: 3px;
    margin-left: 5px;
    background: no-repeat center / 15px url("data:image/svg+xml,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23014F99' d='M10 20a10 10 0 110-20 10 10 0 010 20zm2-13c0 .28-.21.8-.42 1L10 9.58c-.57.58-1 1.6-1 2.42v1h2v-1c0-.29.21-.8.42-1L13 9.42c.57-.58 1-1.6 1-2.42a4 4 0 10-8 0h2a2 2 0 114 0zm-3 8v2h2v-2H9z'/%3E%3C/svg%3E");
}

.youtube_instructions .wp_content {
    position: relative;
    background: #fff;
    padding: clamp(20px, 10vw, 40px);
    box-shadow: 1px 1px 8px rgba(0, 0, 0, 0.3);
}

.youtube_instructions .wp_content ol img {
    display: block;
    margin-top: 10px;
}

.youtube_instructions .wp_content ol li {
    margin-bottom: 15px;
}

.youtube_instructions .wp_content > span:last-child {
    color: #015EB6;
    text-decoration: underline;
    display: block;
    text-align: right;
    cursor: pointer;
    transition: .3s;
}

.youtube_instructions .wp_content > span:last-child:hover {
    opacity: 0.7;
}

.woocommerce ul.products li.product.auction-product a .image > span {
    width: 50%;
    max-width: 50%;

    padding: 3px 5px;
}

.woocommerce ul.products li.product.auction-product a .image > span:nth-child(1) {
    background: #d80000;
    color: #fff;

}

.woocommerce ul.products li.product.auction-product a .image > span:nth-child(2) {
    background: lightgrey;
    color: #000;
}

.woocommerce ul.products li.product a > .wp_content {
    background: #fff;
    padding: 20px 0;
}

.woocommerce ul.products li.product.auction-product a > .wp_content > div {
    flex-grow: 1;
}

.woocommerce ul.products li.product.auction-product a h4 {
    height: auto;
}

.woocommerce ul.products li.product.auction-product a p {
    color: #000000;
    font-size: 16px;
    margin-top: 0;
    font-weight: 400;
}

.woocommerce ul.products li.product.auction-product a p:last-child {
    margin-bottom: 0;
}

.product-type-auction .single-product-top .listing_price {
    font-size: 24px;
}

.product-type-auction .single-product-top .listing_price span {
    color: #d80000;
}

.auction-login {
    border: 2px solid #fff;
    padding: 20px 30px;
    text-align: center;
    margin-bottom: 20px;

}

.auction-login h4 {
    color: #fff;
    font-size: 22px;
    line-height: 1.2em;

}

.the_auction_wrapper {
    background: #d80000;
    padding: 20px;
    margin-bottom: 25px;
    display: flex;
    gap: 10px;
    justify-content: space-between;
}

.auction-ajax-change *:last-child {
    margin-bottom: 0;
}

.the_auction_wrapper * {
    color: #fff;
}

#countdown {
    display: flex;
    align-items: flex-end;
    gap: 10px;
}

#countdown .wc_auctions_countdown-row {
    display: flex;
    gap: 10px;
    align-items: flex-end;
}

#countdown .wc_auctions_countdown-section {
    display: flex;
    gap: 2px;
    align-items: flex-end;
}

#countdown .wc_auctions_countdown-section {
    width: auto;
}

#countdown .wc_auctions_countdown-amount {
    font-size: 20px;
}

#countdown .wc_auctions_countdown-period {
    position: relative;
    bottom: 2px;
}

.woocommerce div.product form.auction_form.cart .button,
.woocommerce div.product form.cart div.quantity {
    float: none;
    margin: 0;
}

.woocommerce div.product form.cart div.quantity {
    margin: 0 0 10px;
    display: flex;
    gap: 5px;
}

.auction_form .quantity .qty {
    border: none;
}

.auction_form .quantity .qty {
    color: #000;
}

.woocommerce div.product form.cart div.quantity input[type=button] {
    background: #fff;
    color: #000;
    height: 28px;
    border: none;
    font-size: 20px;
    width: 25px;
    box-sizing: border-box;
    cursor: pointer;
}

.woocommerce div.product form.cart {
    display: flex;
    flex-direction: column;
}

.woocommerce div.product .the_auction_wrapper .button.white:hover {
    background: #fff;
    color: #000;
    border-color: #fff;
}

.woocommerce div.product form.cart {
    margin-bottom: 0;
}

.the_auction_wrapper.no-flex {
    display: block;
    text-align: center;
    font-size: 21px;
}

.the_auction_wrapper.no-flex p {
    margin: 0;
}

.the_champ_sharing_container.the_champ_horizontal_sharing {
    display: flex;
    justify-content: center;
    padding: 40px 0 0;
    align-items: center;
}

.the_champ_sharing_container::before {
    content: 'Share this:';
    margin-right: 10px;
    margin-bottom: 5px;
}

body .swiper-button-prev, body .swiper-button-next {
    background: #FFDA00;
    width: 40px;
    height: 40px;
}

body .swiper-button-next:after, body .swiper-button-prev:after {
    font-size: 20px;
}

a.swiper-slide {
    text-align: center;
}

.video-title {
    margin-top: 20px;
}

.buy_now_button {
    display: flex;
    justify-content: flex-end;
}

.buy_now_button .button {
    margin: 0 0 20px 0;
}


.finance-top {
    display: flex;
    padding: 20px 0 0;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;

}

.finance-top .the_buttons {
    display: flex;
    align-items: center;
    gap: 20px;
}

.finance-top .button {
    margin: 0;
}


.finance-top p {
    margin: 0 10px 0 0;
}

.portman-logo {
    min-width: 150px;
    height: 90px;
    background: no-repeat center / 129px;
}

.the_buttons.full-width {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding-top: 15px;
}

.woocommerce ul.products li.product .the_buttons.full-width .button {
    margin: 0;
    box-sizing: border-box;
    font-size: clamp(14px, 1vw, 18px);
}

.woocommerce ul.products li.product .the_buttons.full-width {
    padding-top: 0;
    margin-top: -10px;
    margin-bottom: 20px;
}

.the_buttons.full-width .button {
    margin: 0;
    padding: 10px 5px;
    min-width: 100%;
    box-sizing: border-box;
}

.woocommerce ul.products.split-products li.product a h4 {
    height: auto;
}

.split-products .listing-atts {
    padding-top: 20px;
}

table.woocommerce-table.woocommerce-table--order-details.shop_table.order_details tfoot tr:nth-child(2) {
    display: none;
}

table.woocommerce-table.woocommerce-table--order-details.shop_table.order_details .subscription-downgrade {
    display: none;
}

.woocommerce-view-subscription .woocommerce-MyAccount-content:before,
.woocommerce_account_subscriptions::before {
    content: 'My Subscriptions';
    color: #014F99;
    font-size: 36px;
    margin: 0.9em 0;
    line-height: 1em;
    font-weight: 700;
    margin-top: 0;
    display: block;
}

.woocommerce-view-subscription .woocommerce-MyAccount-content:before {
    content: 'My Subscription';
}

.mobile-atts {
    display: none;
}

.advert_specs.mobile-only + .swf_container,
.finance-top + .swf_container {
    display: none;
}

.woocommerce div.product p.price {
    text-align: left;
}

.finance-popup-inner {
    position: relative;
    width: 90%;
    max-width: 1000px;
    height: 80%;
    max-height: 800px;
    overflow: hidden;
}

.finance_popup_wrapper {
    position: fixed;
    z-index: 9999999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    display: none;
    justify-content: center;
    align-items: center;

}

.finance_popup_wrapper.open {
    display: flex;
}

.finance_close_parent {
    position: absolute;
    background: rgba(0, 0, 0, 0.7);
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    cursor: pointer;
}

.finance_close_parent:before {
    content: '';
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: no-repeat center / contain url("data:image/svg+xml,%0A%3Csvg id='Layer_1' style='enable-background:new 0 0 512 512' version='1.1' xml:space='preserve' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath fill='%23fff' d='M437.5 386.6 306.9 256l130.6-130.6c14.1-14.1 14.1-36.8 0-50.9-14.1-14.1-36.8-14.1-50.9 0L256 205.1 125.4 74.5c-14.1-14.1-36.8-14.1-50.9 0-14.1 14.1-14.1 36.8 0 50.9L205.1 256 74.5 386.6c-14.1 14.1-14.1 36.8 0 50.9 14.1 14.1 36.8 14.1 50.9 0L256 306.9l130.6 130.6c14.1 14.1 36.8 14.1 50.9 0 14-14.1 14-36.9 0-50.9z'/%3E%3C/svg%3E");
}

.finance-popup-inner .finance-popup_content {
    background: #fff;
    padding: clamp(20px, 3vw, 60px);
    overflow: scroll;
    height: 100%;

}

.finance-popup-inner .gform_wrapper {
    padding-bottom: 100px;
    padding-top: 20px;
}

.finance-popup-inner .h4,
.finance-popup-inner .h3 {
    font-size: 28px;
    color: #014F99;
    margin-bottom: 0.5em;
    margin-top: 0;
    font-weight: 600;
}

.finance-popup-inner .h4 a {
    color: #333;
}

.finance-popup_content {
    position: relative;
}

.finance-popup-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.finance-popup_content .gfield.logistics-logo,
.finance-popup-top > a:nth-child(2) {
    width: 200px;
    height: 80px;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}

.finance-popup_content .gfield.logistics-logo {
    position: absolute;
    bottom: -80px;
    right: 30px;
    max-width: 200px;
    z-index: 2;
    display: block !important;
}

.finance-popup_content .gfield_radio {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.finance-popup_content .gfield_radio .gchoice label {
    padding-bottom: 0;
}

.finance-popup_content .gfield,
.finance-popup_content fieldset {
    position: relative;
}

.finance-popup_content .gform_body > ul {
    position: relative;
}

.summary.entry-summary + .swf_container {
    display: none;
}

.the_champ_sharing_container + .swf_container {
    display: none;
}

.single-product .top_advert {
    padding-top: 30px;
}

.single-product .main_container {
    padding-top: 10px;
}

.advert_single_action_buttons .button {
    width: 100%;
    box-sizing: border-box;
}

.advert_single_action_buttons + .single-dealer {
    margin-top: 2em;
}

@media (max-width: 1200px) {

    .dealership-listing a:nth-child(n) {
        flex-basis: calc(33.3% - 8px);
        margin: 0 10px 10px 0;
    }

    .dealership-listing a:nth-child(3n) {
        margin-right: 0;
    }

    .advert_form + .advert.default_advert.bottom_advert {
        padding-top: 40px;
    }

    .dealership-listing {
        padding-bottom: 40px;
    }
}

@media (max-width: 768px) {
    .finance-popup-top {
        flex-direction: column-reverse;
        text-align: center;
    }

    .finance-popup_content .gfield.logistics-logo {
        bottom: -100px;
    }
}

@media (max-width: 768px) {
    .woocommerce-view-subscription .woocommerce-MyAccount-content:before,
    .woocommerce_account_subscriptions::before {
        font-size: 28px;
    }
}

@media (max-width: 1250px) and (min-width: 768px) {
    .woocommerce ul.products li.product a .image {
        flex-direction: column;
        align-items: flex-end;
        justify-content: flex-end;
    }

    .woocommerce ul.products li.product a .image span {
        min-width: 100%;
        flex-grow: 0;
    }
}

@media (max-width: 1300px) {

    .finance-top .the_buttons {
        margin-left: 0;
        padding-top: 20px;
    }
}

@media (min-width: 850px) {
    body.woocommerce .products ul.split-products li:nth-child(n), body.woocommerce ul.products.split-products li:nth-child(n) {
        flex-basis: calc(50% - 10px);
        margin: 0 10px 10px 0;
        display: flex;
    }

    .woocommerce .products ul.split-products li a, .woocommerce ul.products.split-products li a {
        flex-direction: row;
    }

    .woocommerce .products ul.split-products li a .image, .woocommerce ul.products.split-products li a .loop_gallery,
    .woocommerce .products ul.split-products li a .image, .woocommerce ul.products.split-products li a .image {
        flex-basis: 45%;
    }

    .woocommerce .products ul.split-products li a .wp_content, .woocommerce ul.products.split-products li a > .wp_content {
        flex-basis: 55%;
        padding: 35px;
    }

    .woocommerce ul.split-products li a .listing-atts, .woocommerce ul.split-products li a .ad-title p, .woocommerce ul.split-products li a .ad-title {
        margin-top: 0;
        display: block;
        width: 100%;
        flex-grow: 0;
    }

    .woocommerce .products ul.the_atts li {
        min-width: 100%;
    }


}

@media (max-width: 1024px) {

    .search-listing-title {
        display: none;
    }

    .page-template-dealerships .top_advert {
        padding-bottom: 40px;
    }

    .dealer-search {
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .shop-content {
        display: block;
    }

    .term-description {
        padding-bottom: 20px;
    }

    .shop-content aside {
        margin-right: 0;
        display: block;
    }

    aside ul {
        display: none;
    }

    aside.open > ul {
        display: block;
        margin-bottom: 40px;
    }

    aside.open ul.product-subcateories {
        margin-bottom: 0;
    }

    .sidebar_title {
        display: flex;
        align-items: center;
        justify-content: center;
        margin-top: 0;
        margin-bottom: 30px;
    }

    .sidebar_title span {
        background: #fff;
        padding: 2px 20px;

        position: relative;
    }

    .sidebar_title::before {
        content: '';
        height: 1px;
        background: #014F99;
        width: 100%;
        position: absolute;
    }

    #woocommerce_product_categories-2 {
        padding-bottom: 0;
        border-bottom: 1px solid #014F99;
    }

    .term-description {
        padding-bottom: 20px;
    }

    .woocommerce .products ul, .woocommerce ul.products {
        padding-bottom: 40px;
    }

    .dealership-wrapper + .advert.default_advert.bottom_advert {
        padding-top: 40px;
    }

    .advert_form {
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .dealership-wrapper #pagination {
        margin-bottom: 20px;
    }

    .seller-block {
        display: block;
    }

    .seller-block .button {
        margin: 15px 0 0;
        min-width: 100%;
        text-align: center;
        box-sizing: border-box;
    }

    .dealership-info-block {
        display: block;
    }

    .dealership-info-block > div:nth-child(2) {
        margin: 30px 0 0;
    }

    .dealer-filters p {
        margin-right: 20px;
    }

    .dealer-brands div a:nth-child(n) {
        flex-basis: calc(25% - 8px);
        margin: 0 10px 10px 0;
    }

    .dealer-brands div a:nth-child(4n) {
        margin-right: 0;

    }

    .the_gallery_wrapper {
        width: calc(35% - 10px);

    }

    .woocommerce div.product div.summary {
        flex-basis: calc(65% - 10px);
    }


    .finance-top p {
        font-size: clamp(14px, 1.5vw, 16px);
    }

    .the_buttons .button {
        font-size: clamp(14px, 1.5vw, 16px);
        padding: clamp(5px, 1vw, 8px) clamp(12px, 2vw, 18px);

    }

    .the_buttons .button:last-child {
        margin-right: 0;
    }

}

@media (max-width: 1300px) and (min-width: 1024px) , (max-width: 900px) {
    .woocommerce ul.products li.product:nth-child(n), .woocommerce-page ul.products li.product:nth-child(n) {
        flex-basis: calc(33.3% - 7px);
        margin: 0 10px 10px 0;
    }

    .woocommerce ul.products li.product:nth-child(3n), .woocommerce-page ul.products li.product:nth-child(3n) {
        margin-right: 0;

    }

    .woocommerce .related ul.products li.product:nth-child(n), .woocommerce-page .related ul.products li.product:nth-child(n) {
        flex-basis: calc(25% - 8px);
    }

    .woocommerce .related ul.products li.product:nth-child(3n), .woocommerce-page .related ul.products li.product:nth-child(3n) {
        margin-right: 10px;

    }

    .woocommerce .related ul.products li.product:nth-child(4n), .woocommerce-page .related ul.products li.product:nth-child(4n) {
        margin-right: 0;

    }
}

@media (max-width: 900px) {

    .woocommerce .related ul.products li.product:nth-child(n), .woocommerce-page .related ul.products li.product:nth-child(n) {
        flex-basis: calc(50% - 5px);
    }

    .woocommerce .related ul.products li.product:nth-child(2n), .woocommerce-page .related ul.products li.product:nth-child(2n) {
        margin-right: 0;

    }

    .dealership-listing {
        flex-direction: column;
    }

    .dealership-listing .dealer-filter ul {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .brand-filter-list li {
        /*flex-basis: 33%;*/
        width: 33%;
        display: list-item !important;
    }

    .dealer-filter > h3 {
        display: none;
    }

    #view-more-brands {
        display: none;
    }

    .dealership-listing .dealer-filter ul {
        max-height: 0;
        overflow: hidden;
        transition: .3s;
    }

    .dealership-listing .dealer-filter ul.open {
        max-height: 2000px;
    }

    .filter_title {
        display: flex;
        align-items: center;
        justify-content: space-between;

    }

    .filter_title span {
        content: '';
        display: block;
        width: 10px;
        height: 10px;
        position: relative;
        right: 20px;
        border-bottom: 2px solid #1A61A3;
        border-right: 2px solid #1A61A3;
        transform: rotate(45deg);
        transition: transform 0.3s;
        transform-origin: 14px 14px;
    }

    .dealership-listing .dealer-filter > div h4 {
        padding-bottom: 15px;
    }

    .dealer-search {
        padding-left: 0;
        padding-right: 0;
    }

    .dealer-search form {
        padding: 30px;
    }
}

@media (max-width: 600px) {
    .brand-filter-list li {
        /*flex-basis: 33%;*/
        width: 50%;
    }
}

@media (max-width: 768px) {
    .product-single-main {
        display: block;
    }

    .dealer-search form {
        flex-wrap: wrap;
    }

    .dealer-search form label {
        width: 100%;
    }

    .dealer-search form input[type=text] {
        margin-left: 0;
    }

    .woocommerce ul.products li.product.auction-product a .image > span {
        min-width: 100%;
    }

    .woocommerce ul.products li.product.auction-product a .image {
        flex-direction: column;
        align-items: flex-end;
        justify-content: flex-end;
    }

    .the-gallery {
        padding-bottom: 20px;
    }

    .the_gallery_wrapper {
        width: 100%;
    }


    .the_buttons {
        padding-top: 10px;
    }

    .the_gallery_wrapper .the_buttons {
        display: none;
    }

    .finance-top + .swf_container {
        display: block;
        margin-top: 30px;
    }

    .the_gallery_wrapper .swf_container {
        display: none;
    }

    .advert_specs.mobile-only + .swf_container {
        display: block;
    }
}

@media (max-width: 720px) {
    .woocommerce ul.products li.product:nth-child(n), .woocommerce-page ul.products li.product:nth-child(n) {
        flex-basis: calc(50% - 5px);
        margin: 0 10px 10px 0;
    }

    .woocommerce ul.products li.product:nth-child(2n), .woocommerce-page ul.products li.product:nth-child(2n) {
        margin-right: 0;

    }

}

@media (max-width: 640px) {

    .single-product-top {
        display: block;
        padding-bottom: 10px;
    }

    .dealership-listing a:nth-child(n) {
        flex-basis: calc(50% - 5px);
        margin: 0 10px 10px 0;
    }

    .dealership-listing a:nth-child(2n) {
        margin-right: 0;
    }

    .dealership-info-block > div:nth-child(1) {
        padding: 30px;
        flex-direction: column-reverse;
    }

    .dealership-info-block > div:nth-child(1) .dealer-logo {
        margin: 0 0 20px;
        width: 157px;
        height: 100px;
        background-position: left top;

    }

    .dealer-search form * {
        width: 100%;
        box-sizing: border-box;
    }

    .dealer-search form input[type=text] {
        height: 50px;
        margin: 0 0 10px;
    }

    .dealer-search form .button {
        margin: 0 0 10px;
        text-align: center;
    }

    .dealer-search form .button:last-child {
        margin: 0;
    }

    .dealer-brands div a:nth-child(n) {
        flex-basis: calc(33.3% - 8px);
        margin: 0 10px 10px 0;
    }

    .dealer-brands div a:nth-child(3n) {
        margin-right: 0;
    }

    .woocommerce td.product-name dl.variation {
        display: block;
    }

    .woocommerce td.product-name dl.variation dt {
        width: 100%;
    }

    .woocommerce td.product-name dl.variation dd {
        width: 100%;
        margin-bottom: 10px;
    }

    .woocommerce ul.products li.product a .image span {
        font-size: 13px;
    }

    .woocommerce ul.products li.product.auction-product a .image span {
        font-size: 16px;
    }

    .woocommerce ul.products li.product.auction-product a .image {
        min-height: 240px;
    }

    .the_auction_wrapper {
        flex-direction: column;
    }

    .auction-left {
        margin-bottom: 15px;
    }

    .woocommerce div.product form.auction_form.cart .button {
        width: auto;
        align-self: flex-start;
        min-width: 162px;
    }

    .the_product_top {
        display: block;
    }

    .single-product-top .ad-title {
        margin-bottom: 10px;
    }

    .single-product-top .listing_price {
        text-align: left;
        margin-left: 0;
    }

    .finance-top {
        justify-content: space-between;
    }
}

@media (max-width: 480px) {
    .woocommerce .related ul.products li.product:nth-child(n), .woocommerce-page .related ul.products li.product:nth-child(n),
    .woocommerce ul.products li.product:nth-child(n), .woocommerce-page ul.products li.product:nth-child(n) {
        flex-basis: 100%;
        margin: 0 0 10px;
    }

    .dealership-listing a:nth-child(n) {
        flex-basis: 100%;
        margin: 0 0 10px;
    }

    .dealer-filters * {
        min-width: 100%;
        margin: 0 0 10px;
        box-sizing: border-box;
    }

    .dealer-brands div a:nth-child(n) {
        flex-basis: calc(50% - 5px);
        margin: 0 10px 10px 0;
    }

    .dealer-brands div a:nth-child(2n) {
        margin-right: 0;
    }

    .woocommerce ul.products li.product a h4 {
        height: auto;
    }

    .woocommerce .woocommerce-ordering {
        width: 100%;
    }

    .woocommerce .woocommerce-ordering select {
        width: 100%;
    }

    #countdown {
        display: block;
    }
}


.sponsor_link {
    background: #F3F3F3;
    padding: 30px;
    border-bottom: 8px solid #014F99;
    justify-content: space-between;
    max-width: 400px;
}

.sponsor_link .wp_content {
    padding: 20px;
}

.woocommerce-page .sponsor_link img {
    max-height: 80px;
    width: auto;
}

.dealer-sponser {
    padding-bottom: 70px;
    display: flex;
    gap: 40px;
    justify-content: center;
    align-items: flex-end;
}

.single-dealer {
    width: 100%;
    padding: 0;
    margin-bottom: clamp(30px, 3vw, 50px);
}

.dealer-badge {
    min-height: 269px;
    box-sizing: border-box;
}

input#coupon_code {
    width: 150px;
    height: 45px;
    border-radius: 5px;
}

tr.recurring-totals,
tr.woocommerce-shipping-totals.shipping,
tr.shipping.recurring-total,
tr.cart-subtotal {
    display: none;
}

.the_finance_buttons {
    display: grid;

}

.the_finance_buttons .finance-top {
    flex-direction: row;
    flex-wrap: unset;
    padding: 40px 0;
    border-bottom: 1px solid #E5E5E5;
    align-items: center;
}

.the_finance_buttons {
    margin-top: clamp(30px, 3vw, 50px);
    margin-bottom: clamp(30px, 3vw, 50px);
    border-top: 1px solid #E5E5E5;
}

.the_finance_buttons .finance-top:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.the_finance_buttons .wp_content .button {
    margin-top: 10px;
}

.latest-products {
    background: #fff;
}

.tax-dealership.woocommerce ul.products li.product a .image {
    aspect-ratio: 1 / 1;
}

.green_strip {
    color: #fff;
    background-color: #1f7567;
    position: absolute;
    z-index: 2;
    font-size: 12px;
    padding: 5px 10px;
    border-radius: 5px;
    top: 10px;
    left: 10px;
}



@media (max-width: 1024px) {
    .dealer-sponser {
        flex-direction: column;
        align-items: center;
    }

    .dealer-badge {
        min-height: unset;
    }

}

@media (max-width: 640px) {
    .finance-popup_content .gfield.logistics-logo {
        display: none !important;
    }

    .the_finance_buttons {
        flex-direction: column;
    }

    .the_finance_buttons .finance-top::after {
        top: auto;
        bottom: 0;
        left: 0px;
        right: 0;
        max-width: 300px;
        width: 100%;
        margin: auto;
        height: 1px;
    }

    .the_finance_buttons .finance-top {
        padding: 20px 0;
    }
}

@media (max-width: 640px) {
    .dealer-badge .dealer-logo {
        height: 40vw;
        max-height: 200px;
        min-height: 120px;
        margin-bottom: 20px;
    }

    .dealer-badge {
        display: block;
        padding: 20px;
    }

    .sponsor_link {
        padding: 20px;
    }
    .the_brands {
        grid-template-columns: repeat(2, 1fr);

    }
    .dealer-results a {
        flex-basis: calc(50% - 10px);
    }
    .the_listing_product_top {
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
    }
}



@media (max-width: 400px) {
    .product-single-price {
        flex-wrap: wrap;
    }
}


@media (max-width: 450px) {
    .finance-top .the_buttons {
        width: 100%;
    }

    .finance-top .the_buttons {
        flex-direction: column;
    }

    .product-single-price {
        flex-direction: column;
    }

    .the_finance_buttons .finance-top {
        flex-direction: column;
        text-align: center;
    }
    form#bulk-action-form .bulk-actions-controls > div {
        flex-direction: column;
        width: 100%;
        gap: 10px;
    }

    form#bulk-action-form .bulk-actions-controls > div .button {
        margin: 0;
    }

    .my-account-filter {
        padding: 0 15px;
    }
}