.footer__nav li span{
    color:white;
}

.services__wrapper .services__card{
    cursor: pointer;
}

.day-offer .checkbox__label a {
    color: white;
}

.day-offer .title-l {
    text-align: left;
    margin-bottom: 40px;
}

.new-cars-catalog .car-item__title__name {
    max-width: none;
}

.badge-vin {
    top: 10px;
    background: #000;
    color: #fff;
    left: 10px;
}

.car-item__badge.badge-in-sale {
    top: 45px;
}

.car-item__badge.badge-stock {
    top: 80px;
}

.brands__button {
    margin-top: 30px;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-5px); }
    40%, 80% { transform: translateX(5px); }
}

.shake {
    animation: shake 0.5s cubic-bezier(.36,.07,.19,.97) both;
    display: flex;
}

.agreement__wrapper {
    display: flex;
    gap: 4px;
}
.agreement__checkbox {
    border-radius: 4px;
    width: 14px;
    height: 14px;
    appearance: auto;
    flex-shrink: 0;
}
.car-item {
    width: auto;
}

.car-info .model-description__block-list-item {
    font-weight: 400;
    font-size: 14px;
}

.car-item__description {
    height: auto;
} 

.agreement__checkbox.error{
    width: 14px;
    height: 14px;
    border-radius: 2px;
    border: 1.5px solid #d02d2d;
    appearance: none;
}

.agreement__wrapper:has(.agreement__checkbox.error) .checkbox__label {
    color: #d02d2d;
}

.agreement__wrapper span.error {
    display: none !important;
}

.day-offer__form {
    gap: 20px;
}

.cookies__wrapper {
    position: fixed;
    align-items: center;
    border-radius: 20px;
    z-index: 4;
    bottom: 24px;
    left: 24px;
    width: fit-content;
    padding: 24px 32px;
    background: #fff;   
    display: flex;
    gap: 32px;
}
.title-l {
    text-align: center;
}

.filter__toggle {
    display: block;
    margin-bottom: 20px;
}
.new-cars__wrapper {
    column-gap: 20px;
}
.checkbox__label a {
    text-decoration: underline;
}

.footer__form__container .checkbox__label a {
    color: white;
}

.body-bold {
    font-size: 18px;
}

.cookies__wrapper {
    box-shadow: 2px 2px 10px 0px rgba(0, 0, 0, .15);
}

.cookies__btn {
    border-radius: 8px;
    background: var(--Dark-blue, #2e58db);
    display: flex;
    padding: 16px 32px;
    justify-content: center;
    color: #fff;
    align-items: center;
    border: none;
    cursor: pointer;
}

.cookies__text {
    max-width: 424px;
    color: var(--Grey-Dark-Grey, #5A5F65);
    text-align: center;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 110%; 
}

.cookies__text a {
    color: var(--Hague-Blue, #2e58db);
}

.swiper-pagination-bullet {
    width: 45px;
    height: 45px;
    font-size: 13px;
    font-weight: 500;
    line-height: 45px;
}
.car-item__action .button {
    width: 100%;
}
.car-item__description {
    display: flex;
    height: 100%;
    flex-direction: column;
}

.car-item__action {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.car-info__credit__button {
    margin-bottom: 0;
}

.select2-container--default .select2-search--dropdown .select2-search__field {
    padding: 0;
    height: 100%;
    width: 100%;
    font-size: 16px;
}

.car-item__preview {
    flex-shrink: 0;
}

.desktop.footer_cb {
    display: flex;
}

.footer_cb .contacts__info__desc { 
    color: #fff;
}
.footer_cb {
    display: none;
    align-items: center;
    gap: 12px;
    margin-top: 12px;
}

.header__search__backdrop {
    height: 100lvh;
    top: -100lvh;
}

.footer__form__container .title-l{
    text-align: start;
}

.main-bg {
    height: 780px;
}

.button__wrapper__inner {
    display: flex;
    gap: 8px;
    align-items: center;
}
.button__wrapper .button {
    font-size: 14px;
}
.button__wrapper {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
} 
.button__wrapper .button.size-l,
.button__wrapper .button.button-outline.size-l {
    padding: 15px 12px;
    font-size: 11px;
}
.new-cars-catalog .car-item__action .button {
    padding: 15px 4px;
    font-size: 11px;
}
.button__wrapper > .button {
    width: auto !important;
    white-space: nowrap;
    flex-grow: 1;
} 
.button__wrapper > .button-main {
    width: 100% !important;
}
.button__wrapper__inner {
    flex-basis: 100%;
}

.modal__image {
    width: 504px;
    height: 350px;
}

#callback-modal-auto .button {
    margin: auto 0 0 0;
}
#callback-modal-auto .modal__info {
    gap: 10px;
}
#modal-trade-in .button {
    margin: auto 0 0 0;
}
#modal-trade-in .modal__info {
    gap: 10px;
}
#modal-installment-0 .button {
    margin: auto 0 0 0;
}
#modal-installment-0 .modal__info {
    gap: 10px;
}

@media (max-width: 1332px) {
    .car-item__preview {
        height: 184px;
    }
    .car-item__description {
        padding: 16px;
    }
    .car-item__action {
        flex-wrap: wrap;
        gap: 12px;
    }
}

@media (max-width: 1100px) {
    body:has(.fixed_price) #callback-widget-button {
        display: none;
    }
    .credit-banner__item__photo {
        bottom: 460px;
    }
    .credit-banner__text {
        margin-bottom: 190px;
    }
    .day-offer__preview {
        width: 100%;
        height: 400px;
    }
    .recomendation__wrapper {
        gap: 10px;
    }
    .cookies__text {
        max-width: none;
    }
    .car-info__about {
        padding-bottom: 20px;
    }
    .car-info__about__item__icon {
        display: none;
    }    
    .cookies__wrapper {
        width: 100%;
        left: 0;
        bottom: 0;
        gap: 24px;
        padding: 24px 16px;
        flex-direction: column;
        box-shadow: 0px -4px 4px 0px rgba(0, 0, 0, 0.05);
    } 
    .cookies__btn {
        width: 100%;
    }

    .footer_cb * {
        width: 100%;
    }
    .footer_cb {
        flex-direction: column-reverse;
        align-items: flex-start;
        width: 100%;
    }
    .footer__form__container .title-l {
        text-align: center;
    }

    .header__search__container .input {
        padding: 12px 12px;
        border-radius: 16px;
        font-size: 16px;
    }
    .header__search__container .button {
        display: none;
    }
    .header__search__container {
        width: 100%;
        padding-top: 8px;
        padding-bottom: 8px;
    }
    .header__search {
        gap: 12px;
    }

    .header__container__mobile .cross-icon {
        background-color: #fff;
        width: 24px;
        height: 24px;
    }

    .header__search__result {
        top: 80px;
        padding: 8px 16px;
        width: calc(100% - 32px);
        left: 50%;
        transform: translateX(-50%);
    }

    .header__mobile__menu .input__wrapper {
        min-height: fit-content;
    }
    .header__mobile__menu > * {
        padding: 0 16px;
    }

    .brands .brand__item {
        flex-direction: column;
    }

    .brand__item {
        padding: 4px;
        max-width: 100%;
        width: auto;
        flex-direction: column;
    }

    .brand__item__name {
        margin-right: 0;
        font-size: 14px;
    }
    .brand__item__logo {
        width: 80%;
        height: auto;
        max-height: 48px;
    }
    .brands .brand__item__logo {
        margin: 0;
    }

    .main-bg {
        height: 830px;
    }

    .brands__small__wrapper {
        gap: 8px;
        grid-template-columns: (auto-fill, minmax(calc(360px / 4), 1fr));
    }

    .brands .brands__container {
        margin-top: 0;
    } 
    .brands__container {
        margin-top: 80px;
    }
    .services__wrapper {
        gap: 8px;
    }
    .services__card {
        max-height: 150px;
        border-radius: 16px;
    }
    .car-info {margin-top: 20px;}
    .car-info__card {
        flex-direction: column-reverse;
    }

    .car-info__button {
        display: block;
    }

    .modal__wrapper {
        padding: 12px;
        gap: 20px;
        max-width: 330px;
    }
    .modal__title {
        font-size: 24px;
    }

    .modal#callback-modal .modal__wrapper { 
        max-width: 330px;
    }
    .main__banner__wrapper {
        margin-bottom: 0;
    }
    .credit-main .main__banner:last-child {
        margin-top: 0;
    }

    .menu-text {
        font-size: 14px;
    }

    #callback-modal-auto .modal__info__text {
        flex-direction: column;
        align-items: flex-start;
    }
    .modal__content {
        flex-direction: column-reverse;
    }

    .modal__info {
        gap: 20px;
    } 
    .modal__image {
        width: 100%;
        height: auto;
    }
    .header__mobile__menu .header__container__mobile {
        background: #293442;
    }

    .header.sticky {
        position: sticky;
        z-index: 2;
        top: 0;
        left: 0;
        background: #293442; /* желательно задать фон, чтобы не просвечивал контент */
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    }

    .day-offer {
        flex-direction: column-reverse;
        gap: 20px;
    }

    .day-offer .title-l {
        margin-bottom: 16px;
    }

    .car-item__fav__badge  {
        display: none;
    }

    .car-item__credit.small-text {
        display: none;
    }
    .button__wrapper .button:last-child {
        display: none;
    }
    .car-item__badge.badge-vin {
        display: none;
    }
    .car-item__badge.badge-in-sale {
        display: none;
    }
    .car-item__badge.badge-stock {
        top: 10px !important;
    }
    .car-item__price__wrapper {
        width: 100%;
    }

    .car-item__price__wrapper .car-item__price.body-bold {
        font-size: 13px;
    }

    .car-item__description {
        padding: 8px !important;
    }

    .car-item__price__old {
        font-size: 10px !important;
    }

    .car-item__price__wrapper>div {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        gap: 2px;
        align-items: center;
        justify-content: space-between;
    }
}

@media (max-width: 600px) {
    .car-item__preview {
        height: 124px;
    }

    .car-item__badge {
        font-size: 7px;
    }
    .car-item__badge.badge-stock {
        top: 55px;
    }
    .car-item__fav__badge {
        width: 20px;
        height: 20px;
    }
    .car-item__description .menu-text {
        font-size: 8px;
    }
    .car-item__description .button.size-m {
        font-size: 10px;
        padding: 8px 12px;
    }
    .car-item__description .car-item__title__name {
        width: auto;
    }
    .car-item__description .car-item__title {
        margin-bottom: 4px;
    }
    .car-item__description .car-item__spec__wrapper {
        margin-bottom: 4px;
    }
    .car-item__description .body-bold {
        font-size: 12px;
    }
    .car-item__description {
        padding: 12px;
    }

    .new-cars__wrapper {
        gap: 12px;
    }

    .button__wrapper__inner {
        flex-direction: column;
        gap: 12px;
    }
    .car-item__badge.badge-in-sale {
        top: 32px;
    }
    .button__wrapper .button:first-child,
    .button__wrapper .button:nth-child(2) {
        width: 100%;
    }
    .button__wrapper {
        gap: 8px;
    }
}

@media (max-width: 424px) {
    .brand__item__logo {
        margin-bottom: 0;
    }
    .car-item__badge.badge-in-sale {
        top: 24px;
    }
    .car-item__badge.badge-stock {
        top: 38px;
    }
    .day-offer__preview {
        height: 320px;
    }
    .day-offer__form .title-s {
        font-size: 14px;
    }
    .car-item__badge {
        padding: 2px 4px;
    }
    .brands__button {
        margin-top: 20px;
    }
    .car-item__description .body-bold {
        font-size: 10px;
    }

    .new-cars-catalog .car-item__action .button {
        padding: 12px 10px;
        font-size: 10px;
    }
    .car-item__price__old {
        font-size: 10px;
    } 
    .button__wrapper .button {
        padding: 12px 10px !important;
        font-size: 10px;
    }
    .button__wrapper {
        gap: 4px;
    }
}


.header__phone {
    font-size: 12px;
}

.header__address {
    font-size: 12px;
}


@media (max-width: 1100px) {
    .header__container__mobile .logo img {
        height: 100%;
    }
    .recomendation__item {
        height: 220px;
    }

    #modal-trade-in .modal__wrapper,
    #callback-modal-auto .modal__wrapper {
        gap: 8px;
    }
    #modal-trade-in .modal__image,
    #callback-modal-auto .modal__image {
        display: none;
    }

    .modal__info__text > div {
        display: flex;
        gap: 4px;
    }
    .modal__info__text {
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        gap: 8px;
    }
}
