/* Variable collection */
:root {
    --shadow-100: #ffffff;
    --shadow-150: #f5f5f5;
    --shadow-200: #d6d6d6;
    --shadow-300: #858585;
    --shadow-400: #282830;
    --shadow-500: #000000;
    --primary: #ff0022;
    --primary-light: color-mix(in srgb, var(--primary) 50%, #fff);
    --primary-dark: color-mix(in srgb, var(--primary) 80%, #000);

    --reserved: #ffa500;
    --sold: var(--primary);

    --rounded-sm: 4px;
    --rounded-md: 8px;
    --rounded-lg: 16px;
}



/*********************************\
            COPYRIGHT
\*********************************/
body #Footer .copyright a:hover {
    text-decoration: none;
}

body #Footer .footer_copy {
    border: 0;
    background: black;
    color: #fff;
}

body #Footer .footer_copy a {
    color: #fff;
}

body #Footer .footer_copy a:hover {
    color: var(--primary);
}

body #Footer .footer_copy .one {
    --mfn-column-gap-bottom: 15px;
    padding-top: 15px;
    margin-bottom: 0;
}

body #Footer .footer_copy .mcb-column-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

body #Footer .menu {
    list-style: none;
    padding: 0;
    background: none;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
}

body #Footer .copyright .menu {
    gap: 0 10px;
    flex-direction: row;
}

body #Footer .menu li:after {
    content: none;
}

body #Footer .menu a {
    padding: 5px 0;
}

body #Footer .footer_copy .copyright {
    font-size: 14px;
    line-height: 1.3;
    letter-spacing: .02em;
    float: none;
    text-align: left;
}

body #Footer .footer_copy .copyText {
    margin: 0 0 5px;
}

body #Footer .footer_copy .social {
    line-height: 0;
}

body #Footer .footer_copy .social li a {
    font-size: 22px;
    line-height: 1;
}

@media only screen and (max-width: 959px) {
    body .animate {
        animation-delay: 0ms !important;
    }

    body #Footer .footer_copy .mcb-column-inner {
        flex-direction: column;
    }

    body #Footer .copyright .menu {
        justify-content: center;
    }

    body #Footer .footer_copy .copyright {
        text-align: center;
    }

    body #Footer .footer_copy .social {
        margin-top: 15px;
    }
}


/*********************************\
            KIT DIGITAL
\*********************************/
body #Footer .footer_action {
    background: none;
}

body #Footer .footer_action .one {
    margin-bottom: 0;
}

body #Footer .footer_action .financiacion {
    display: grid;
    grid-template-columns: 1fr 1fr 5fr;
    gap: 20px;
    text-align: left;
    align-items: center;
}

body #Footer .footer_action .financiacion>div {
    line-height: 0;
}

body #Footer .footer_action .financiacion>div img {
    max-height: 50px;
    width: auto;
}

body #Footer .footer_action .financiacion>div p {
    font-size: 13px;
    line-height: 15px;
    margin-bottom: 0;
}

@media only screen and (max-width: 959px) {
    body #Footer .footer_action .financiacion {
        grid-template-columns: 1fr 1fr;
        text-align: center;
        gap: 5px;
    }

    body #Footer .footer_action .financiacion>div:last-child {
        grid-column: 1 / span 2;
    }
}

@media only screen and (max-width: 767px) {
    body #Footer .footer_action .financiacion>div img {
        max-height: unset;
        width: 100%;
    }
}

#Header_wrapper {
    z-index: 2;
}
/*#Subheader {
    overflow: visible;
    &::after {
        content: none;
    }
    .title {
        position: relative;
        &::after {
            content: "";
            position: absolute;
            height: 4px;
            width: 100px;
            background-color: var(--primary);
            bottom: -2rem;
            left: 0;
            right: 0;
            margin: 0 auto;
        }
    }
}*/

/* Car Search */
.car-search-form {
    gap: 1.5rem;
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;

    @media (width >=960px) {
        flex-direction: row;
        align-items: flex-end;
    }
}

.car-search-filters {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;

    @media (width >=960px) {
        flex-direction: row;
        flex: 1;
    }
}

.filter-group {
    display: flex;
    flex-direction: column;

    @media (width >=960px) {
        flex: 1;
    }

    label {
        font-size: 1rem;
        color: var(--shadow-400);
        margin-bottom: 0.3rem;
    }
}

.filter-group select,
.filter-group input {
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    color: #333;
    background-color: #fff;
}

.filter-group select:focus,
.filter-group input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(var(--primary), 0.25);
}

.car-search__submit {
    --padding: 1rem 1.25rem;
    width: 100%;
    line-height: 1;
    padding: var(--padding);
    background-color: var(--shadow-500);
    color: #fff;
    border: 1px solid var(--shadow-500) !important;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
    border: none;

    @media (width >=960px) {
        width: auto;
    }
}

.car-search__submit:hover {
    border-color: var(--primary) !important;
    background-color: transparent !important;
    color: #fff !important;
    &:before {
        background-color: var(--primary) !important;
    }
}

.car-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(397px, 1fr));
    gap: 34px;
}

.car-pagination {
    display: flex;
    justify-content: center;
    margin-top: var(--60);
}

.car-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.5rem;
    height: 2.5rem;
    padding: 0 0.5rem;
    margin: 0 0.25rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #333;
    text-decoration: none;
    transition: all 0.2s ease;
}

.car-pagination .page-numbers.current {
    background-color: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.car-pagination .page-numbers:hover:not(.current) {
    background-color: #f8f9fa;
    border-color: var(--primary);
}

.no-results {
    text-align: center;
    padding: 2rem;
    color: #666;
    font-size: 1.1rem;
}

/* General car styles */
.car-badge {
    --fs: 1rem;
    --position: 1rem;
    --padding: .5rem;
    --bg: var(--primary);
    font-size: var(--fs);
    font-weight: bold;
    color: #fff;
    background-color: var(--bg);
    position: absolute;
    left: var(--position);
    top: var(--position);
    border-radius: var(--rounded-sm);
    padding: var(--padding);
    line-height: 1;
    font-weight: bold;
    text-transform: uppercase;
    z-index: 1;
    &.car-badge--reserved {
        --bg: var(--reserved);
    }
    &.car-badge--sold {
        --bg: var(--sold);
    }
}

/* Car Card */
.car-card {
    background: var(--bg);
    border-radius: 8px;
    overflow: hidden;
    .car-card__emissions-image {
        --size: 2rem;
        width: var(--size);
        height: var(--size);
        object-fit: contain;
        margin: 0 !important;
    }
}

.car-card__slider {
    --h: 300px;
    position: relative;
    overflow: hidden;
    height: var(--h);
}

.car-card__slider-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.car-card__slider .slick-prev,
.car-card__slider .slick-next {
    --h: 42px;
    --w: 32px;
    opacity: 0;
    z-index: 1;
    width: var(--w);
    height: var(--h);
    background-color: var(--shadow-500);
    border: none;
    color: #fff;
    cursor: pointer;
    &:hover {
        background-color: var(--primary);
    }
    &::before {
        content: "";
        background-size: 80%;
        background-position: center;
        background-repeat: no-repeat;
        display: block;
        background-color: transparent;
        width: 100%;
        height: 100%;
    }
}

.car-card__slider .slick-prev {
    left: 0;
    border-radius: 0 4px 4px 0;
    &::before {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' width='20' height='20' stroke-width='2'%3E%3Cpath d='M15 6l-6 6l6 6'%3E%3C/path%3E%3C/svg%3E");
    }
}

.car-card__slider .slick-next {
    right: 0;
    border-radius: 4px 0 0 4px;
    &::before {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' width='20' height='20' stroke-width='2' stroke-linejoin='round' stroke-linecap='round' stroke='%23fff'%3E%3Cpath d='M9 6l6 6l-6 6'%3E%3C/path%3E%3C/svg%3E");
    }
}

.car-card__image-counter {
    --padding: 0.3rem 0.5rem;
    font-weight: bold;
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: var(--padding);
    border-radius: 999px;
    font-size: 0.8rem;
    z-index: 1;
    pointer-events: none;
    line-height: 1;
    opacity: 0;
}

.car-card__image {
    width: 100%;
    position: relative;
    overflow: hidden;
    background-color: var(--shadow-200);
    &:hover {
        .slick-arrow {
            opacity: 1;
        }
        .car-card__image-counter {
            opacity: 1;
        }
    }
}

.car-card__image img {
    width: 100%;
    aspect-ratio: 99/74;
    object-fit: cover;
}

.car-card__content {
    padding: 1.5rem;
}

.car-card__title {
    font-size: var(--texto-h3);
    font-weight: 500;
    text-transform: uppercase;
    color: var(--headings);
    margin-bottom: 8px;
    a {
        display: flex;
        align-items: center;
        gap: .5rem;
        text-decoration: none !important;
    }
}

.card-card__version {
    font-size: var(--texto-b);
    color: var(--headings);
    line-height: 140%;
    letter-spacing: -0.8px;
    margin-bottom: var(--20);
    display: block;
}

.car-card__details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.car-card__detail {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.car-card__label {
    font-size: var(--texto-b);
    color: var(--paragraphs);
    display: block;
}

.car-card__value {
    --fs: 1rem;
    font-size: var(--texto-b);
    color: var(--headings);
    font-weight: 500;
    display: block;
}

.car-card__price {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #eee;
    padding-top: 24px;
    margin-bottom: 24px;
    margin-top: auto;
}

.car-card__price-total {
    --fs: 1.25rem;
    font-size: var(--precio);
    font-weight: 600;
    color: var(--headings);
    del {
        --fs: .8rem;
        font-size: var(--fs);
        color: var(--paragraphs);
        font-weight: 400;
    }
    ins {
        --fs: 1.25rem;
        font-size: var(--precio);
        font-weight: 600;
        color: var(--headings);
        text-decoration: none;
    }
}

.car-card__price-monthly {
    --fs: 1rem;
    font-size: var(--texto-b);
    color: var(--paragraphs);
    font-weight: 400;
    display: flex;
    align-items: center;
    gap: .2rem;
    cursor: pointer;
    &:hover {
        text-decoration: underline;
    }
}

.car-card__actions {
    display: flex;
    flex-direction: column;
    gap: .7rem;
}

.car-card__button {
    --fs: 1.1rem;
    padding: 0.75rem 1rem;
    border-radius: var(--rounded-sm);
    font-size: var(--fs);
    font-weight: 400;
    text-align: center;
    text-decoration: none !important;
    transition: background-color 0s ease;
}

.car-card__button--primary {
    background-color: var(--primary);
    color: #fff;
}

.car-card__button--primary:hover {
    color: var(--primary);
}

.car-card__button--secondary {
    background-color: transparent;
    color: var(--shadow-400);
    border: 1px solid var(--shadow-400);
    cursor: pointer;
}

.car-card__button--secondary:hover {
    color: #fff;
    border-color: var(--shadow-500) !important;
    background-color: transparent !important;
    &::before {
        background-color: var(--shadow-500) !important;
    }
}

/* Skeleton Loading */
.skeleton {
    background: linear-gradient(90deg, color-mix(in srgb, var(--shadow-200) 50%, var(--shadow-100)) 25%, color-mix(in srgb, var(--shadow-200) 50%, var(--shadow-100)) 50%, color-mix(in srgb, var(--shadow-200) 50%, var(--shadow-100)) 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

.car-card.skeleton {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.car-card.skeleton .car-card__image {
    position: relative;
    padding-top: 75%;
    overflow: hidden;
    background: linear-gradient(90deg, var(--shadow-200) 25%, var(--shadow-100) 50%, var(--shadow-200) 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

.car-card.skeleton .car-card__content {
    padding: 1.5rem;
}

.car-card.skeleton .car-card__title {
    height: 24px;
    width: 80%;
    margin-bottom: 0.3rem;
    background: color-mix(in srgb, var(--shadow-200) 50%, var(--shadow-100));
    border-radius: var(--rounded-sm);
}

.car-card.skeleton .car-card__price {
    height: 20px;
    width: 60%;
    margin-bottom: 1.5rem;
    background: color-mix(in srgb, var(--shadow-200) 50%, var(--shadow-100));
    border-radius: var(--rounded-sm);
}

.car-card.skeleton .car-card__details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.car-card.skeleton .car-card__detail {
    height: 30px;
    background: color-mix(in srgb, var(--shadow-200) 50%, var(--shadow-100));
    border-radius: var(--rounded-sm);
}

.car-card.skeleton .car-card__detail:nth-child(1) {
    width: 80%;
}

.car-card.skeleton .car-card__detail:nth-child(2) {
    width: 60%;
}

.car-card.skeleton .car-card__detail:nth-child(3) {
    width: 70%;
}

.car-card.skeleton .car-card__detail:nth-child(4) {
    width: 50%;
}

.car-card.skeleton .car-card__actions {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.car-card.skeleton .car-card__button {
    height: 44px;
    width: 100%;
    background: color-mix(in srgb, var(--shadow-200) 50%, var(--shadow-100));
    border-radius: var(--rounded-sm);
}

/* Custom Select */
.custom-select {
    position: relative;
    width: 100%;
}

.custom-select__trigger {
    --padding: 1rem 1.25rem;
    position: relative;
    padding: var(--padding);
    line-height: 1;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    &:hover {
        border-color: var(--shadow-500);
    }
}

.custom-select__trigger::after {
    --size: 1rem;
    content: "";
    width: var(--size);
    height: var(--size);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' width='20' height='20' stroke-width='2'%3E%3Cpath d='M6 9l6 6l6 -6'%3E%3C/path%3E%3C/svg%3E");
    background-position: center;
    background-size: 100%;
    background-repeat: no-repeat;
    font-size: 12px;
}

.custom-select__options {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-top: 4px;
    max-height: 300px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
}

.custom-select__options.active {
    display: block;
}

.custom-select__option {
    input:checked + label {
        &::before {
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' width='20' height='20' stroke-width='2'%3E%3Cpath d='M5 12l5 5l10 -10'%3E%3C/path%3E%3C/svg%3E");
            background-position: center;
            background-size: 100%;
            background-repeat: no-repeat;
            background-color: var(--primary);
            border-color: var(--primary);
        }
    }
    label {
        display: flex !important;
        align-items: center;
        gap: .5rem;
        cursor: pointer;
        padding: .5rem 1rem;
        position: relative;
        &:hover {
            &::before {
                background-color: #fff;
            }
        }
        &::before {
            --size: 1.2rem;
            content: "";
            position: relative;
            display: flex;
            align-items: center;
            justify-content: center;
            top: 0;
            left: 0;
            width: var(--size);
            height: var(--size);
            border-radius: var(--rounded-sm);
            border: 1px solid var(--shadow-300);
            background-color: #fff;
        }
    }
}

.custom-select__option:hover {
    background: #f5f5f5;
}

.custom-select__option input[type="checkbox"] {
    margin-right: 8px;
    display: none;
}

.custom-select__group {
    padding: 8px 10px;
    background: #f5f5f5;
    font-weight: bold;
}

.custom-select__value {
    white-space: nowrap;
    max-width: 12rem;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Price Range */
.price-range {
    padding: 15px;
}

.price-range__inputs {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.price-range__input {
    flex: 1;
}

.price-range__input input {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

/* Car Results Header */
.car-results-header {
    --gap: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: var(--gap);

    @media (width >=960px) {
        --gap: 0;
        justify-content: space-between;
        flex-wrap: nowrap;
    }
}

.car-results-count {
    --fs: 1rem;
    font-size: var(--fs);
    color: var(--shadow-300);
    justify-content: center;
    display: flex;
    order: 1;

    @media (width >=960px) {
        --fs: 1.1rem;
        flex: 1;
    }
}

.car-results-controls {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.car-results-per-page {
    order: 2;
    @media (width >=960px) {
        order: 1;
    }
}

.car-results-sort {
    justify-content: flex-end;
    order: 3;
}

.car-results-per-page,
.car-results-sort {
    display: flex;
    align-items: center;
    gap: 0.5rem;

    @media (width >=960px) {
        flex: 1;
    }
}

.car-results-per-page label,
.car-results-sort label {
    font-size: 1rem;
    color: var(--shadow-300);
    white-space: nowrap;
    margin-bottom: 0;
}

.car-results-per-page select,
.car-results-sort select {
    padding: 0.5rem 2rem 0.5rem 1rem;
    border-radius: var(--rounded-sm);
    border: none;
    box-shadow: none;
    background-color: #fff;
    font-size: 0.9rem;
    width: auto;
    color: var(--shadow-400);
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 8.825L1.175 4 2.238 2.938 6 6.7l3.763-3.763L10.825 4z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 12px;
    margin-bottom: 0;
}

.car-results-per-page select:hover,
.car-results-sort select:hover {
    border-color: var(--shadow-300);
}

.car-results-per-page select:focus,
.car-results-sort select:focus,
.car-results-per-page select:active,
.car-results-sort select:active,
.car-results-per-page select:focus-within,
.car-results-sort select:focus-within {
    outline: 2px solid var(--primary);
    background-color: #fff !important;
}

@media (width <=960px) {

    .car-results-controls {
        width: 100%;
        flex-direction: column;
        gap: 1rem;
    }

    .car-results-per-page select,
    .car-results-sort select {
        width: 100%;
    }
}

/* Icon Box */
.icon_box {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.icon_box.icon_position_left {
    flex-direction: row;
    padding-left: 0 !important;
    padding-right: 2rem !important;
}

.icon_box .image_wrapper {
    --padding: 1rem;
    --size: 6rem;
    width: var(--size) !important;
    height: var(--size) !important;
    flex-shrink: 0;
    background-color: var(--shadow-200);
    border-radius: var(--rounded-md);
    padding: var(--padding) !important;
    margin-bottom: 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 0 !important;
    position: relative !important;

    @media (width >=960px) {
        --padding: 1.5rem;
    }
}

.icon_box .image_wrapper img {
    --size: 2rem;
    width: var(--size);
    height: var(--size);
    object-fit: contain;
}

.icon_box .desc_wrapper {
    flex: 1;
    padding-top: 0 !important;
}

.icon_box .title {
    --fs: 0.9rem;
    font-size: var(--fs);
    color: var(--shadow-300);
    margin-bottom: 0 !important;

    &::before {
        content: none !important;
    }
}

.icon_box .desc {
    --fs: 1.1rem;
    font-size: var(--fs);
    color: var(--shadow-400);
    line-height: 1.4;
}

/* Single car page */
.single-product {
    .sections_group .mfn-builder-content {
        background-color: var(--shadow-150);

        @media (width >=960px) {
            background-color: transparent;
        }
    }

    .onsale.onsale-label {
        display: none;
    }

    .single-car-section {
        position: relative;
    }

   /* .car-single__related-grid {
        --cols: 1;
        display: grid;
        grid-template-columns: repeat(var(--cols), 1fr);
        gap: 1rem;
        @media (width >=960px) {
            --cols: 3;
        }
    }*/

    .carInfoBox {
        h3 {
            --fs: 1.5rem;
            font-size: var(--fs);
            @media (width >=960px) {
                padding-right: 1.5rem;
            }
        }
    }

    .car-single__iva-deducible {
        display: flex;
        align-items: center;
        gap: .3rem;
        .car-single__iva-deducible-label {
            --fs: 1rem;
            font-size: var(--fs);
            color: var(--shadow-300);
        }
    }

    .flex-viewport {
        --mb: 1rem;
        margin-bottom: var(--mb);
    }

    .mfn-product-gallery.mfn-thumbnails-overlay .mfn-flex-control-thumbs-wrapper {
        position: relative;
    }

    div.product div.images .flex-control-thumbs {
        --gap: .7rem;
        --cols: 5;
        display: flex;
        flex-wrap: nowrap;
        gap: var(--gap);
        margin: 0 -1.5rem;
        padding: 0 1.5rem;

        @media (width >=960px) {
            margin: 0;
            padding: 0;
        }

        li {
            aspect-ratio: 16 / 13;

            @media (width >=960px) {
                max-width: 15%;
            }

            img {
                height: 100%;
                object-fit: cover;
            }
        }
    }
    div.product div.images .mfn-scroller-active {
        overflow: visible;

        @media (width >=960px) {
            overflow: hidden;
        }
    }
    .mfn-thumbnails-arrows-active .woocommerce-product-gallery .mfn-flex-control-thumbs-wrapper .mfn-swiper-arrow {
        --size: 2rem;
        width: var(--size);
        height: var(--size);
        color: #fff;
        background-color: var(--shadow-500);
        border-radius: 9999px;
        padding: .5rem;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
    }
    .mcb-section .mcb-wrap .mcb-item-ded36308d .mfn-swiper-arrow i {
        color: #fff;
        font-size: 1rem;
        line-height: 1;
    }
    .woocommerce-product-gallery .mfn-arrows-absolute .mfn-swiper-arrow.swiper-button-next {
        @media (width >=960px) {
            right: 1rem;
        }
    }
    .woocommerce-product-gallery .mfn-arrows-absolute .mfn-swiper-arrow.swiper-button-prev {
        @media (width >=960px) {
            left: 1rem;
        }
    }
}

#car-single__mobile-info {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9;
}

/* Car Attributes Styles */
.car-block:not(:has(.car-block.car-comments)) {
    --padding: 1.5rem;
    border-radius: var(--rounded-md);
    border: 1px solid var(--shadow-200);
    padding: 34px;
}

.car-attributes {
    --cols: 2;
    --gap: 1.5rem;
    display: grid;
    grid-template-columns: repeat(var(--cols), 1fr);
    gap: 34px;

    @media (width >=960px) {
        --cols: 4;
    }
}

.car-comments {
    --mb: 1.5rem;
    margin-bottom: var(--mb);
    @media (width >=960px) {
        --mb: 2rem;
    }
}
.car-comments__title {
    --fs: 1.8rem;
    --mb: 1.5rem;
    font-size: var(--fs);
    margin-bottom: var(--mb);
    @media (width >=960px) {
        --fs: 2rem;
    }
}

.attribute-item {
    display: flex;
    flex-direction: column;
    .attribute-item__emissions-image {
        --size: 1.5rem;
        width: var(--size);
        height: var(--size);
        object-fit: contain;
    }
}

.attribute-item .label {
    font-weight: 400;
    color: var(--paragraphs);
}

.attribute-item .value {
    font-weight: 400;
    color: var(--headings);
    display: flex;
    align-items: center;
    gap: .5rem;
}

/* Car Details Styles */
.details-section {
    margin-bottom: 1.5rem;
    border: 1px solid var(--shadow-200);
    border-radius: 8px;
    overflow: hidden;
}

.details-title {
    margin: 0;
    padding: 24px 24px 24px 72px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--headings);
    position: relative;
    text-transform: uppercase;
    &:hover {
        background-color: #fff;
    }
}

.details-title::before {
    --size: 32px;
    content: '';
    background-image: url("data:image/svg+xml,%3Csvg width='22' height='23' viewBox='0 0 22 23' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M18.0275 9.47374L11.2775 16.2237C11.2148 16.2865 11.1403 16.3363 11.0584 16.3703C10.9764 16.4042 10.8886 16.4217 10.7999 16.4217C10.7112 16.4217 10.6233 16.4042 10.5414 16.3703C10.4595 16.3363 10.385 16.2865 10.3223 16.2237L3.57232 9.47374C3.44567 9.34708 3.37451 9.1753 3.37451 8.99618C3.37451 8.81706 3.44567 8.64527 3.57232 8.51861C3.69898 8.39196 3.87077 8.3208 4.04989 8.3208C4.22901 8.3208 4.40079 8.39196 4.52745 8.51861L10.7999 14.7919L17.0723 8.51861C17.135 8.4559 17.2095 8.40615 17.2914 8.37221C17.3734 8.33827 17.4612 8.3208 17.5499 8.3208C17.6386 8.3208 17.7264 8.33827 17.8083 8.37221C17.8903 8.40615 17.9647 8.4559 18.0275 8.51861C18.0902 8.58133 18.1399 8.65578 18.1739 8.73772C18.2078 8.81966 18.2253 8.90748 18.2253 8.99618C18.2253 9.08487 18.2078 9.17269 18.1739 9.25463C18.1399 9.33657 18.0902 9.41102 18.0275 9.47374Z' fill='%23282830'/%3E%3C/svg%3E%0A");
    background-size: 100%;
    width: var(--size);
    height: var(--size);
    transition: transform 0.3s ease;
    position: absolute;
    left: 24px;
    top: 50%;
    transform: translateY(-50%);
}
.details-section.active .details-title{
    background-color: var(--shadow-150);
}

.details-section.active .details-title::before {
    transform: translateY(-50%) rotate(180deg);
}

.details-content {
    --padding: 0 1.5rem;
    padding: var(--padding);
    height: 0;
    overflow: hidden;
    transition: all 0.5s ease;
    border-color: var(--shadow-200);

    h4 {
        --mb: .7rem;
        margin-bottom: var(--mb);
        font-size: 1.1rem;
        color: var(--headings);
        text-transform: uppercase;
    }

    ul {
        --mb: 2rem;
        --fs: 1rem;
        margin-bottom: var(--60);
        color: var(--headings);
        columns: 2;

        li {
            &::marker {
                --fs: .7rem;
                font-size: var(--fs);
            }
        }
    }

    div {
        &:last-child {
            ul {
                --mb: 0;
            }
        }
    }
}

.details-section.active .details-content {
    --padding: 34px;
    height: auto;
    border-top: 1px solid var(--shadow-200);
}

/* Estilos para las especificaciones del coche */
.specs-section {
    &:not(:last-child) {
        margin-bottom: 2rem;
    }
}

.specs-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--shadow-500) !important;
}

.specs-content {
    display: grid;
    gap: .5rem;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.spec-item:last-child {
    border-bottom: none;
}

.spec-label {
    color: var(--shadow-300);
    font-weight: 400;
}

.spec-value {
    color: var(--shadow-500);
    font-weight: 400;
}

.specs-section__scheme-images {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
    background-color: #fff;
    border-radius: var(--rounded-md);
    padding: 1.5rem;

    @media (width >=960px) {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
    }
}

.specs-section__scheme-image {
    --max-height: 140px;
    width: auto;
    height: 100%;
    max-height: var(--max-height);
}

/* Estilos para la financiación */
.car-single__monthly-payment {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: .2rem;
    &:hover {
        text-decoration: underline;
    }
}
.car-single__financing {
    --cols: 4;
    --gap: 0;
    padding: 1rem;
    background: #fff;
    border-radius: 8px;
    display: grid;
    grid-template-columns: repeat(var(--cols), 1fr);
    gap: var(--gap);
    border: 1px solid var(--shadow-200);

    @media (width >=960px) {
        --cols: 2;
        --gap: 1rem;
    }
}

.car-single__financing-item {
    --gap: .5rem;
    display: flex;
    flex-direction: column;
    gap: var(--gap);
}

.car-single__financing-label {
    --fs: .85rem;
    color: var(--paragraphs);
    font-weight: 400;
    font-size: var(--fs);
    display: block;
    line-height: 1;
    white-space: nowrap;

    @media (width >=960px) {
        --fs: 1rem;
    }
}

.car-single__financing-value {
    --fs: .85rem;
    color: var(--headings);
    font-weight: 500;
    font-size: var(--fs);
    display: block;
    line-height: 1;

    @media (width >=960px) {
        --fs: 1rem;
    }
}

.car-single__financing-conditions {
    grid-column: span 3;
    font-style: italic;
    color: var(--shadow-300);
    margin-bottom: 0;
}

.car-single__price {
    del {
        font-size: var(--texto-h6);
        color: var(--paragraphs);
        font-weight: 400;
    }
    ins {
        font-size: var(--texto-h3);
        font-weight: 600;
        color: var(--headings);
        text-decoration: none;
    }
}

.car-single__price-label {
    --fs: 1.5rem;
    font-size: var(--fs);
    font-weight: 600;
    text-transform: uppercase;
    width: 100%;
    padding: .5rem 1rem;
    border-radius: var(--rounded-sm);
    display: flex;
    justify-content: center;
    align-items: center;
    &.car-single__price-label--reserved {
        background-color: var(--reserved);
        color: #fff;
    }
    &.car-single__price-label--sold {
        background-color: var(--sold);
        color: #fff
    }
}


/* Contact form 7 */
.wpcf7-form {
    .wpcf7-form-control-wrap {
        display: block;
        margin-bottom: 1rem;
        margin-top: .3rem;
    }
    .wpcf7-radio {
        --gap: .5rem;
        display: flex;
        flex-wrap: wrap;
        gap: var(--gap);
    }
    .wpcf7-list-item {
        margin: 0;
        a {
            color: var(--headings);
            text-decoration: underline;
            &:hover {
                text-decoration: none;
            }
        }
        input[type="radio"] {
            accent-color: var(--primary);
        }
    }
    small {
        font-size: 11px;
        line-height: 1.3rem;
        color: var(--shadow-300);
        display: block;
    }
    label {
      font-size: 1rem;
      font-weight: 400;
      color: var(--shadow-400);
      display: block;
      margin-bottom: .5rem;
    }
    input:not([type="submit"]),
    input:not([type="checkbox"]),
    input:not([type="radio"]),
    textarea {
        border-radius: var(--rounded-sm);
        border: 1px solid var(--shadow-200);
        padding: .5rem 1rem;
        box-shadow: none;
        color: var(--shadow-500);
        &:focus {
            background-color: #fff !important;
            outline: 2px solid var(--primary) !important;
        }
    }
    input[type="submit"] {
        --padding: .5rem 1rem;
        --fs: 1rem;
        --mt: 2rem;
        font-size: var(--fs);
        font-weight: 400;
        color: #fff;
        background-color: var(--primary);
        padding: var(--padding);
        border-radius: var(--rounded-sm);
        border: none;
        cursor: pointer;
        width: 100%;
        margin-top: var(--mt);
        &:hover {
            background-color: var(--primary-dark);
        }
    }
}

