/*

Theme Name: Salient Child Theme

Description: This is a custom child theme for Salient

Theme URI:   https://themeforest.net/item/salient-responsive-multipurpose-theme/4363266

Author: ThemeNectar

Author URI:  https://themeforest.net/user/themenectar

Template: salient

Version: 1.0

*/



/* Estilos para el layout de tarjeta de producto */

/*

 Theme Name:   Tu Tema Hijo

 Template:     twentytwentyone

 Version:      1.0.0

*/



header#top .col.span_3 {
    margin: auto;
}

.h1-homepage h1 {
    color: white;
    line-height: 1.1;
    font-size: 30px;
    text-wrap: balance;
}

.page-id-237 div#ajax-content-wrap,
.cars-archive {
    background: #EAF5FF;
}

.single-product .container-wrap {
    background-color: white;
}

h1.product_title.entry-title.nectar-inherit-default {
    color: #000;
}

body.woocommerce:not(.single-product) ul.products[data-n-desktop-columns="2"] li.product {
    width: 100% !important;
}

.vehicle-card {
    display: flex;
    align-items: center;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 12px;
    background-color: #f9f9f9;
    margin-bottom: 15px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.vehicle-image img {
    max-width: 300px;
    height: auto;
    margin-right: 20px;
}

.vehicle-details {
    flex-grow: 1;
}

.vehicle-title {
    font-size: 1.2em;
    margin: 0 0 10px;
    color: #333;
}

.vehicle-price .price {
    font-size: 1.5em;
    color: #ff0000;
    font-weight: bold;
}

.mt-CardAd-attr {
    display: flex;
    font-size: 12px;
    list-style: none;
    margin-bottom: 0;
    margin-top: 8px;
    overflow: hidden;
    padding: 0;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.vehicle-tags {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.tag {
    padding: 5px 10px;
    border-radius: 5px;
    background-color: #e0e0e0;
    font-size: 0.9em;
}

.tag.reservable {
    background-color: #0073aa;
    color: #fff;
}

.tag.new {
    background-color: #28a745;
    color: #fff;
}

.tag.rating {
    background-color: #ffd700;
    color: #333;
}

/* VC map de filtre de preus V2 */
form.filtros-ocasio-form {
    display: flex;
}

/*.vehicles-list-grid-home,
.vehicles-list-grid {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 2%;
    row-gap: 2%;
    column-gap: 2%;
}*/

.row .col .vehicles-list-grid-home img {
    margin: 0;
}

.car-ocasio {
    width: calc(33% - 9px);
    background-color: #fff;
    border-radius: 12px;
}

.photo-car {
    width: 100%;
    border-radius: 12px 12px 0 0;
}

.cars-archive {
    display: flex;
    flex-wrap: wrap;
    color: #000;
    border-radius: 12px;
}

.sin-resultados h3 {
    text-align: center;
    font-weight: 300;
    line-height: 1;
    color: #656565;
}

.sin-resultados {
    margin: 45px auto 0px auto;
    padding: 75px 35px;
    border-radius: 12px;
    text-align: center;
}



.reiniciar-resultado,
.reiniciar-resultado span {
    color: white;
    text-align: center;
}

.reiniciar-resultado {
    font-size: 22px;
    margin-top: 28px;
}

.reiniciar-resultado span {
    background: #000000;
    padding: 9px 16px;
    border-radius: 5px;
    margin-left: 3px;
    cursor: pointer;
}

.individualData {
    display: flex;
    width: 100%;
    border-top: 1px solid #F2F2F2;
    border-bottom: 1px solid #F2F2F2;
    flex-direction: row;
    justify-content: space-around;
    padding: 4px 16px;
}

.dataItem {
    text-align: center;
}

.cars-archive .bold {
    font-weight: 700 !important;
    padding-bottom: 10px;
}



div.car-ocasio.centerText {
    color: #000;
}

.bottomOcasioSingleRow {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    padding: 4px 3px;
    font-size: 16px;
}

.dataItemBottom {
    /* text-wrap: nowrap; */
    font-size: 13px;
}

p.text.model,
.individualData p {
    text-align: center;
    font-size: 23px;
    font-size: 16px;
}

.bottomOcasioSingleRow p.text {
    color: #474747;
}



/*div.car-ocasio.centerText {
    margin-top: 20px;
}*/



img.photo-car {
    width: 100% !important;
    object-fit: cover !important;
    aspect-ratio: 4 / 3;
}





/* Pagina concreta de vehiculos */

.filtros-ocasio-results {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-start;
}

.vehicles-list-grid {
    width: 100% !important;
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}

.archive-vehiculos-banner {
    position: relative;
    width: 100%;
}

.archive-vehiculos-banner h1 {
    text-align: left;
    color: #000;
    font-weight: 200;
    font-size: 20px;
    line-height: 1;
    margin-bottom: 15px;
}

.archive-vehiculos-banner .filtros-ocasio {
    background-color: #fff !important;
    padding: 15px;
    border-radius: 12px;
    margin-top: 20px;
}

.archive-vehiculos-banner form.filtros-ocasio-form {
    display: flex;
    gap: 1.5%;
    flex-wrap: wrap;
    flex-direction: row;
}



section#buscador {
    display: flex;
    justify-content: center;
}



aside.archive-vehiculos-banner.columna-filtres {
    width: 20%;
    background-color: #EAF5FF;
}



/*.vehicles-list-grid-home {
    background-color: #EAF5FF;
    padding: 0px 20px 20px 20px;
    border-radius:10px;
}*/



.titol-separador {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.titol-separador h2 {
    font-weight: 500;
    background: #ffffff;
    font-size: 17px;
    transition: border-color 0.4s ease, padding-bottom 0.4s ease, margin-bottom 0.4s ease;
    line-height: 1;
    margin-bottom: 0;
}



h2.disabled-title {
    border-color: white;
    padding-bottom: 0px;
    margin-bottom: 0px;
}

.columna-resultats {
    width: 83%;
    padding: 15px 10px 15px 10px;
}

.ordenacio {
    width: 100%;
    text-align: right;
    margin-bottom: 18px;
}

.ordenacio select {
    width: fit-content;
    background: white;
    margin-right: 2.4%;
    height: 50px;
    /* increases select box height */
    line-height: 50px;
    /* vertically centers text */
}

.columna-filtres .container {
    padding: 0px 14px;
}

.rowBottom {
    width: 100%;
    display: flex;
    align-content: center;
    align-items: center;
    padding-top: 0px;
    flex-direction: column;
}

.estat,
.ordenar {
    width: 100%;
    padding-bottom: 5px;
}



button.enviarButton {
    width: 250px !important;
    height: 40px !important;
    line-height: 1;
}



button#reset-filtros {
    margin-right: 50px;
}



/* Home */

.formBannerHome select,
.formBannerHome p,
.formBannerHome label,

.archive-vehiculos-banner select,
.archive-vehiculos-banner p,
.archive-vehiculos-banner label {
    font-size: 13px !important;
    /*color:#000!important;*/
}

.ss-placeholder {
    font-size: 13px;
}

.ss-main {
    padding: 2px !important;
    min-height: 30px !important;
}
}

.ss-placeholder {
    padding: 1px 7px 1px 7px !important;
}

.blueBox {
    align-content: space-around;
}

.wpb_column.left_padding_desktop_30px>.vc_column-inner {
    padding-left: 30px;
    width: 600px !important;
    z-index: 500;
}

.formBannerHome {
    border-radius: 5px !important;
}

.formBannerHome select {
    background-color: #F5F5F5 !important;


}

.filtros-ocasio-reset {
    display: flex;
    justify-content: space-between;
}

form.filtros-ocasio-form {
    display: flex;
    gap: 1.5%;
}

.headerbannerText {
    font-size: 26px;
    font-weight: 600;
    color: #232F47;
}

.archive-vocasio-banner .wpb_wrapper>div {
    margin-bottom: 24px;
}

.filtros-ocasio-reset {
    padding-top: 15px;
}



button#reset-filtros,
a.advanced-search-button {
    background-color: transparent;
    border: none;
    text-decoration: underline;
    color: #878787;
    font-size: 14px !important;
}

.archive-vocasio-banner {
    margin-bottom: 0px !important;
}

.estadoCardIMG {
    top: 10px;
    width: 40px !important;
    z-index: 10;
    object-fit: cover;
}

.estado-icons {
    width: 100%;
    height: auto;
    position: absolute;
    top: 10px;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    gap: 5px;
    padding-right: 10px;
}







@media (min-width: 769px) and (max-width: 1164px) {



    .columna-resultats {
        padding: 0;
    }

    .container {
        max-width: 100%;
    }



    div.car-ocasio.centerText {
        width: 48%;
    }



    form.filtros-ocasio-form {
        display: flex;
        gap: 1.5%;
        flex-direction: column;
    }

    .archive-vehiculos-banner .rowTop {
        width: 100%;
    }

    .rowTop {
        flex-direction: column;
    }

    .rowTop {
        display: flex;
        gap: 12px;
    }

    .rowTop {
        width: 100%;
    }

    .rowTop {
        display: flex;
        gap: 6px;
        flex-direction: column;
        flex-wrap: wrap;
    }

    .rowBottom {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-content: center;
        align-items: center;
        flex-direction: column;
    }

    .filtros-ocasio-form select {
        margin: 5px 0;
    }

    .row-bg.viewport-desktop.using-bg-color {
        display: none;
    }

    .nectar-global-section.nectar_hook_before_secondary_header {
        display: none;
    }


}





@media (max-width: 768px) {

    div.car-ocasio.centerText,
    .loader {
        width: 100%;
    }

    form.filtros-ocasio-form,
    .filtros-ocasio-form,
    .loading-wrapper {
        display: flex;
        gap: 1.5%;
        flex-direction: column;
    }

    .rowTop {
        width: 100%;
    }

    .rowTop {
        display: flex;
        gap: 12px;
        flex-direction: column;
        flex-wrap: wrap;
    }

    .rowBottom {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-content: center;
        align-items: center;
        flex-direction: column;
    }

    .filtros-ocasio-form select {
        margin: 5px 0;
    }

    .row-bg.viewport-desktop.using-bg-color {
        display: none;
    }

    .nectar-global-section.nectar_hook_before_secondary_header {
        display: none;
    }


}

.sold-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    /* or smaller if you want the overlay to be smaller */

    height: 100%;
    object-fit: contain;
    /* keep proportions if smaller */

    pointer-events: none;
    /* so it doesn't block clicks */
}

.car-image-wrapper {
    position: relative;
    width: 100%;
    /* ✅ takes full width of parent */

    display: block;
}

.photo-car {
    display: block;
    width: 100%;
    height: auto;
}

.sold-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* ✅ makes overlay scale proportionally */

    pointer-events: none;
}



form.filtros-ocasio-form {
    display: flex;
    gap: 1.5%;
    flex-direction: column;
}

.tooltip {
    position: relative;
    display: inline-block;
    /* important */

    cursor: pointer;
}



/* tooltip box */

.tooltip::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 120%;
    left: 50%;
    transform: translateX(-50%) translateY(6px);
    background: rgba(0, 0, 0, 0.85);
    color: #fff;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s, transform .2s;
    z-index: 9999;
}



/* arrow */

.tooltip::before {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 110%;
    transform: translateX(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: rgba(0, 0, 0, 0.85) transparent transparent transparent;
    opacity: 0;
    transition: opacity .2s;
}



/* show */

.tooltip:hover::after,

.tooltip:hover::before {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.container-wrap input[type=text],
.container-wrap input[type=email],
.container-wrap input[type=password],
.container-wrap input[type=tel],
.container-wrap input[type=url],
.container-wrap input[type=search],
.container-wrap input[type=date],
.container-wrap input[type=number],
.container-wrap textarea,
.container-wrap select,
body>#review_form_wrapper.modal input[type=text],
body>#review_form_wrapper.modal textarea,
body>#review_form_wrapper.modal select,
body>#review_form_wrapper.modal input[type=email],
.select2-container--default .select2-selection--single,
body[data-fancy-form-rcs="1"] .select2-container--default .select2-selection--single,
.woocommerce input#coupon_code,
.material.woocommerce-page[data-form-style="default"] input#coupon_code,
body[data-form-style="minimal"] input[type="text"],
body[data-form-style="minimal"] textarea,
body[data-form-style="minimal"] input[type="email"],
body[data-form-style="minimal"] input[type=password],
body[data-form-style="minimal"] input[type=tel],
body[data-form-style="minimal"] input[type=url],
body[data-form-style="minimal"] input[type=search],
body[data-form-style="minimal"] input[type=date],
body[data-form-style="minimal"] input[type=number],
body[data-form-style="minimal"] select {
    font-size: 14px;
}



p.text.model {
    padding: 8px 16px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}



p.text {
    padding: 0;
}



img.photo-car.vendido {
    filter: grayscale(1);
}

/* Estilo cuando aún no se ha seleccionado nada */

.filtros-vehiculo-form select.predeterminado {
    color: #a1a1a1;
    /* gris claro */
}

.filtros-vehiculo-form select:not(.predeterminado) {
    color: black;
}

.filtros-vehiculo-form select option:not(:first-child) {
    color: black;
}



/* Estilo normal cuando se ha seleccionado una opción */

select {
    color: #333333;
    /* color normal */
}



button.enviarButton,
.filtros-vehiculo-actions {
    width: 100% !important;
}

.filtros-vehiculo-actions {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 12px;
}



a#reset-filtros-link {
    font-size: 14px;
    align-items: center;
    justify-content: center;
    border: 1px solid #878787;
    border-radius: 5px;
    color: black;
}

a#reset-filtros-link:hover {
    color: #7a7a7a;
}

.camp-wrapper.horitzontal label {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 25px;
}

.estat input[type="checkbox"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    -ms-appearance: none;
    -o-appearance: none;
    appearance: none;
    position: relative;
    right: 0;
    bottom: 0;
    left: 0;
    height: 18px;
    width: 18px;
    transition: all 0.15s ease-out 0s;
    background: #cbd1d8;
    border: none;
    color: #fff;
    cursor: pointer;
    display: inline-block;
    outline: none;
    position: relative;
    z-index: 1000;
    margin: 0;
}

.estat input[type="checkbox"]:hover {
    background: #9faab7;
}

.estat input[type="checkbox"]:checked {
    background: #3877C6;
}

.estat input[type="checkbox"]:checked::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 18px;
    height: 18px;
    background: url('/wp-content/uploads/check.svg') no-repeat center center;
    background-size: 12px 12px;
    /* Adjust the icon size */

    display: flex;
    align-items: center;
    justify-content: center;
}

.estat input[type="checkbox"]:checked::after {
    -webkit-animation: click-wave 0.65s;
    -moz-animation: click-wave 0.65s;
    animation: click-wave 0.65s;
    background: #3877C6;
    content: '';
    display: block;
    position: relative;
    z-index: 100;
}





@keyframes click-wave {
    0% {
        height: 18px;
        width: 18px;
        opacity: 0.35;
        position: relative;
    }

    100% {
        height: 90px;
        width: 90px;
        margin-left: -36px;
        margin-top: -36px;
        opacity: 0;
    }
}

.woocommerce-product-attributes.shop_attributes {
    /*background: white;
    padding: 10px 16px;
    border: 1px solid #00000026;
    border-radius: 12px;*/
    display: flex;
    flex-wrap: wrap;
}

.woocommerce-product-attributes-item {
    width: 50%;
}

p.stock.in-stock {
    display: none;
}

.vehicle-additional-info {
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 12px;
}

.vehicle-row {
    display: flex;
}

.vehicle-cell {
    display: flex;
    align-items: center;
    gap: 8px;
}

.vehicle-cell:last-child {
    padding-right: 0;
    /* remove padding only on the last cell */
}

.vehicle-cell img {
    width: 36px;
}

.vehicle-cell.vehicle-header {
    line-height: 1.05;
    font-size: 14px;
}



img.attachment-shop_single.size-shop_single.wp-post-image,
.single-product .product-thumbs .flickity-slider .thumb img,
.single-product .product-thumbs .slider .thumb img {
    border-radius: 12px;
}

.woocommerce div.product .summary p.price {
    padding-bottom: 18px;
}

.woocommerce-product-details__short-description p {
    line-height: 1.3;
    padding-bottom: 10px;
}

.woocommerce-product-details__short-description {
    padding: 20px 0px;
}

.woocommerce div.product form.cart {
    margin-bottom: 20px;
}



/*h1.product_title.entry-title.nectar-inherit-default, p.price.nectar-inherit-default {
    padding-left: 16px;
}*/



.top-before-results-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.top-before-results-wrapper p {
    text-wrap: nowrap;
    padding: 0;
}



@media (min-width: 1670px) {

    .vehicles-list-grid .car-ocasio,
    span.loader.car-ocasio {
        width: 23%;
    }
}



/* Paginacio */



.paginacion {
    width: 100%;
}

.paginacion ul.page-numbers {
    margin: 0 auto;
    width: fit-content;
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.paginacion li {
    list-style: none;
}

ul.page-numbers li:not(.current) a.page-numbers:hover {
    background: #000;
    color: white;
}


span.page-numbers,
a.page-numbers {
    min-width: 3ch;
    text-align: center;
    border-radius: 5px;
    display: block;
    background: #000000;
    color: white;
}



body .paginacion a {
    color: #000000;
    background: #ffffff;
}

.paginacion a.next.page-numbers,
.paginacion a.prev.page-numbers {
    padding: 0px 11px;
}



/* End Paginacio */





/* FORM HOMEPAGE */

.filtros-vehiculo-form.home-form.rowTop {
    display: flex;
}

/*.filtros-vehiculo-form.home-form .titol-separador {
    display: none;
}*/

.filtros-vehiculo-form.home-form .camp-wrapper label,
.light .titol-separador h2 {
    color: black;
}

.filtros-vehiculo-form.home-form .camp-wrapper {
    width: 24.2%;
}

.filtros-vehiculo-form.home-form .rowTop {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1%;
    justify-content: space-between;
}

.home-form .camp-wrapper {
    margin-top: 10px;
}

.filtros-vehiculo-form .rowTop {
    border-top: 1px solid #c8c8c8;
    margin-top: 10px;
    margin-bottom: 10px;
}

.filtros-vehiculo-form .rowTop.camp-wrapper:first-of-type {
    margin-top: 10px;
}

.filtros-vehiculo-form.home-form .estat {
    display: flex;
    align-items: center;
    gap: 15px;
}

.filtros-vehiculo-form.home-form .estat .camp-wrapper {
    width: fit-content;
}

.filtros-vehiculo-form.home-form .filtros-vehiculo-actions {
    display: flex;
    flex-direction: row-reverse;
    gap: 22px;
}

.filtros-vehiculo-form.home-form button.enviarButton {
    width: 71% !important;
    line-height: 1;
}

.filtros-vehiculo-form.home-form a#reset-filtros-link {
    width: 25%;
    display: flex;
}

.filtros-vehiculo-form.home-form .rowBottom {
    display: flex;
    flex-direction: row;
}

.filtros-vehiculo-form.home-form .estat {
    padding-bottom: 0;
}

.titol-separador {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.toggle-button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
}

.toggle-icon {
    width: 30px;
    height: 30px;
    transition: transform 0.3s ease;
}

.toggle-button[aria-expanded="true"] .toggle-icon {
    transform: rotate(90deg);
}

.desplegable-filtres {
    overflow: hidden;
    max-height: 1000px;
    opacity: 1;
    transition: max-height 0.4s ease, opacity 0.4s ease;
}

.desplegable-filtres.hidden {
    max-height: 0;
    opacity: 0;
}

.camp-wrapper {
    max-width: 100%;
}


@media(min-width: 769px) {
    .toggle-button-container {
        display: none;
    }

    .vehicles-list-grid {
        gap: 10px !important;
    }


}

@media(min-width: 1000px) {

    .single-product .row>.product[data-gallery-style] .single-product-main-image,
    .single-product .product[data-gallery-style] .single-product-main-image {
        width: 55%;
        margin-right: calc(2% - 10px);
    }
}


@media (min-width: 769px) and (max-width: 1000px) {
    .filtros-vehiculo-form.home-form .camp-wrapper {
        width: 32.6%;
    }

    .filtros-vehiculo-form.home-form .rowTop {
        justify-content: start;
    }
}

@media (max-width: 1000px) {
    aside.archive-vehiculos-banner.columna-filtres {
        width: 50%;
    }

    .span_5.col.single-product-main-image {
        float: none;
    }
}

@media (min-width: 1001px) and (max-width:1200px) {
    aside.archive-vehiculos-banner.columna-filtres {
        width: 23%;
    }
}


@media (max-width: 1340px) {
    .bottomOcasioSingleRow {
        flex-wrap: wrap;
    }

    .dataItemBottom {
        font-size: 16px;
    }

    .bottomOcasioSingleRow {
        padding: 4px 16px;
    }

    .bottomOcasioSingleRow .dataItemBottom {
        width: 50%;
        margin: 0 auto;
        text-align: center;
    }

}

@media (max-width: 768px) {

    .bottomOcasioSingleRow .dataItemBottom:nth-child(1)::after,
    .bottomOcasioSingleRow .dataItemBottom:nth-child(2)::after {
        border-bottom: 1px solid #e8e8e8;
        height: 1px;
        display: block;
        content: ' ';
        width: 75%;
        margin: 0 auto;
    }

    .columna-filtres .container {
        padding: 0px;
    }

    .titol-separador h2 {
        font-size: 18px;
        margin-bottom: 0px;
    }



    section#buscador .filtros-ocasio {
        padding: 12px 18px 8px;
    }



    aside.archive-vehiculos-banner.columna-filtres,
    .ordenacio select {
        width: 100%;
    }

    .ordenacio {
        width: 100%;
        text-align: right;
    }



    select#orden {
        border-radius: 9px;
    }







    section#buscador {
        flex-direction: column;
    }

    .columna-resultats {
        width: 100%;
        padding: 20px 20px 20px 20px;
    }

    .columna-filtres .container {
        padding: 0px 14px;
        max-width: 98%;
    }

    .filtros-vehiculo-form.home-form .camp-wrapper {
        width: 48%;
    }

    .filtros-vehiculo-form.home-form .rowTop {
        gap: 4%;
    }

    .filtros-vehiculo-form.home-form .rowBottom {
        flex-direction: column;
    }

    .filtros-vehiculo-form.home-form .filtros-vehiculo-actions {
        flex-direction: column;
    }

    .filtros-vehiculo-form.home-form a#reset-filtros-link,
    .filtros-vehiculo-form.home-form button.enviarButton {
        width: 100% !important;
    }
}



@media (max-width: 420px) {
    .filtros-vehiculo-form.home-form .camp-wrapper {
        width: 100%;
    }

    .filtros-vehiculo-form.home-form .estat {
        padding: 5px 0px 15px
    }
}



/* END FORM HOMEPAGE*/



.wrapper-login p.enu_warning {
    padding: 20px;
    background: #b4e393;
    margin-bottom: 20px;
}



body.logged-in li#menu-item-462 {
    display: none !important;
}



/*BOTO SIDEBAR FILTRES*/



/* Button 9 */



.knob,

.btn-bg {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.btn {
    position: relative;
    top: 50%;
    width: 74px;
    height: 36px;
    margin: -4px auto 0 auto;
    overflow: hidden;
}

.btn.btn-pill,

.btn.btn-pill>.btn-bg {
    border-radius: 100px;
}

.btn.btn-rect {
    border-radius: 2px;
}

.checkbox {
    position: relative;
    width: 155%;
    height: 162%;
    padding: 0;
    margin: 0;
    opacity: 0;
    cursor: pointer;
    z-index: 3;
    left: -12px;
    top: -6px;
}

.knob {
    z-index: 2;
}


a.boto-reservar {
    text-align: center;
    background: #272727;
    padding: 6px 16px;
    font-size: 16px;
    color: white;
    border-radius: 0px 0px 12px 12px;
    display: block;
}

a.boto-reservar:hover {
    background: #5f5f5f;
}

.btn-bg {
    width: 100%;
    background-color: #ebebeb;
    transition: 0.3s ease all;
    z-index: 1;
}

/*Elimina Zoom pagina producte single*/
.easyzoom-flyout {
    display: none;
}

.woocommerce div.product div.images .woocommerce-product-gallery__image a {
    cursor: auto;
}


#button-9 .knob:before,

#button-9 .knob:after,

#button-9 .knob span {
    position: absolute;
    top: 3px;
    width: 30px;
    height: 30px;
    font-size: 10px;
    font-weight: bold;
    text-align: center;
    line-height: 1;
    padding: 9px 4px;
    border-radius: 50%;
    transition: 0.4s cubic-bezier(0.18, 0.89, 0.35, 1.15) all;
}



#button-9 .knob:before,

#button-9 .knob:after {
    color: #fff;
    z-index: 2;
}



#button-9 .knob span {
    left: 5px;
    background-color: #535353;
    z-index: 1;
}



#button-9 .checkbox:checked+.knob:before {
    left: -24px;
}



#button-9 .checkbox:checked+.knob:after {
    right: 4px;
}



#button-9 .checkbox:checked+.knob span {
    left: 40px;
    background-color: #03a9f4;
}



#button-9 .checkbox:checked~.btn-bg {
    background-color: #ebf7fc;
}

.ss-main .ss-values .ss-value {
    background: #3877c6;
}

.ss-main .ss-values,
.ss-main .ss-values .ss-single,
.ss-content .ss-list .ss-option,
.ss-content .ss-list .ss-optgroup .ss-optgroup-label .ss-optgroup-label-text {
    font-size: 13px;
}

.ss-content.ss-open {
    transform: translate(0px, -29px) scaleY(1) !important;
}

.ss-search:not(input) {
    font-size: 14px;
}

/* FI BOTO SIDEBAR FILTRES */

.wc-block-components-quantity-selector {
    display: none;
}

/*Loader*/

.loading-wrapper {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 2%;
}

.loader {
    height: 291px;
    display: block;
    margin: 0;
    margin-top: 20px;
    position: relative;
    background: #FFF;
    box-sizing: border-box;
    animation: bounce 0.8s infinite alternate;
}

.loader:nth-child(odd) {
    animation-delay: 0.2s;
}

.loader:nth-child(even) {
    animation-delay: 0.4s;
}

a.volver-atras {
    border: 1px solid black;
    border-radius: 6px;
    padding: 1px 12px;
    width: fit-content;
    margin-bottom: 7px;
    font-size: 16px;
    color: black;
    display: flex;
    align-items: center;
    gap: 6px;
}

@keyframes bounce {
    to {
        opacity: 0.3;
        transform: translateY(-8px);
    }
}

.loader::after {
    content: '';
    width: calc(100% - 30px);
    height: calc(100% - 15px);
    top: 15px;
    left: 15px;
    position: absolute;
    background-image: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5) 50%, transparent 100%), linear-gradient(#DDD 180px, transparent 0), linear-gradient(#DDD 16px, transparent 0), linear-gradient(#DDD 50px, transparent 0);
    background-repeat: no-repeat;
    background-size: 75px 260px, 100% 180px, 100% 16px, 100% 30px;
    background-position: -185px 0, center 0, center 200px, center 230px;
    box-sizing: border-box;
    animation: animloader 1s linear infinite;
}

@keyframes animloader {
    to {
        background-position: 185px 0, center 0, center 200px, center 230px;
    }
}

.vehicles-list-grid-home {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 0;
    padding: 20px 0;
    justify-content: space-around;
}

.precio-reservar,
.fuera-stock {
    background: #bfdbff;
    width: fit-content;
    color: #3877c6;
    padding: 3px 15px;
    border-radius: 6px;
}

.fuera-stock {
    background: #ffcccc;
    color: #cc0000;
}

p.stock.out-of-stock {
    display: none !important;
}

.summary.entry-summary.force-contained-rows {
    background: #fbfbfb;
    padding: 16px 20px;
    border-radius: 12px;
    border: 1px solid #dedede;
    height: fit-content;
}

button.single_add_to_cart_button.button.alt {
    width: 100%;
}

img.attachment-shop_single.size-shop_single {
    border-radius: 12px;
}