.footer__form__action {
    gap: 20px;
    flex-direction: column;
}

header .header__navigation__text {
    font-size: 13px;
}

.offer-banner__timer {
    font-size: 26px;
}

.show-mobile {
    display: none;
}

.advantages-cards__item__text .h3 {
    color: #fff;
}

@media (max-width: 1400px) {
    .baner-stock-blue__left .h3 {
        font-size: 30px;
        line-height: 20px;
    }
}

#banner-summer-day {
    height: auto;
    overflow: hidden;
}

.baner-stock-blue__left-title-bottom .h3 {
    color: #fff;
    font-size: 40px;
    font-weight: 700;
    line-height: 32px;
    text-transform: uppercase;
}

.footer__form__license {
    display: inline-block;
    width: 100%;
}

.modal-custom__form {
    gap: 14px;
    width: 100%;
}

.modal-custom__form button.main.size-l {
    min-width: 170px;
}
.footer__form__wrapper button.main.size-l {
    min-width: 170px;
}

header .logo, footer .logo {
    max-width: 200px;
}

.logo img {
    max-width: 150px;
}

#captcha-modal {
    padding: 20px;
}

.specs__select__body {
    row-gap: 5px !important;
}

.group-price {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    justify-content: space-between;
}

.group-price .old-price {
    font-size: 18px;
    color: #9E9E9E;
    text-decoration: line-through;
    text-decoration-thickness: 2px;
}

.main.size-card {
    padding: 8px 14px;
    margin-top: 5px;
}

.car-item__badges {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    justify-content: space-between;
}

.telephone-contact {
    font-weight: 600;
    font-size: 20px;
}

.offer-banner__close {
    right: 10px;
}

.car-item__image-photo {
    height: 100%;
}

.car-flex-button {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.car-item__badges {
    gap: 10px;
}

.car-flex-button > * {
    width: 100%;
}

.car-item__badges > * {
    width: 100%;
}

.car-item .regular-text-s {
    font-size: 12px;
}

@media (max-width: 1100px) {
    .new-cars__content .car-item .old-price {
        font-size: 11px;
    }
    .new-cars__content .car-item__price {
        font-size: 12px;
    }
}

@media (min-width: 1400px) {
    .offer-banner__close {
        right: calc(30px + 13vw); /* 180px + 5% от ширины viewport */
    }
}

@media (max-width: 1600px) {
    .offer-banner__close {
        right: calc(30px + 5vw); /* 180px + 5% от ширины viewport */
    }
}

@media (max-width: 1300px) {
    .offer-banner__close {
        right: 10px;
    }
}

@media (max-width: 1100px) {
    .regular-text-s{
        line-height: 16px;
    }
    .show-mobile {
        display: flex;
    }
    .car-item .regular-text-s {
        font-size: 12px;
        padding: 3px;
    }
}

@media (max-width: 700px) {
    .tabs.catalog__model-row__tabs {
        grid-template-columns: repeat(2, 1fr);
        display: grid;
        gap: 5px;
        width: 100%;
    }
    .car-flex-button {
        display: block;
    }
    .car-item__in-stock-badge__text.regular-text-s {
        font-size: 11px;
    }
    .car-item__in-stock-badge .regular-text-s {
        line-height: 10px;
    }
    .car-item__image-photo {
        padding-top: 15px;
    }
    .car-item .main.size-card {
        padding: 5px 14px;
        margin-top: 5px;
    }
    .button.main{
        border: 1px solid #2e58db;
    }
}

.feedback-video__main__play iframe {
    -webkit-filter: brightness(0.8);
    filter: brightness(0.8);
    height: 100%;
    width: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    border-radius: 16px;
}

.feedback__content .feedback__type-image iframe, .feedback__content .feedback__type-video iframe {
    -o-object-fit: cover;
    object-fit: cover;
    height: 100%;
    width: 100%;
    border-radius: 16px;
}

.offer-banner__timer {
    font-size: 25px;
}

.btn-compare-page {
    width: 100%;
}

.term a {
    color: #646970 !important;
}

.main__banner#banner-ny::after {
    background-image: url(../img/ny.webp);
}

.blocker {
    z-index: 100;
}

.complectation__price__wrapper .old {
    font-weight: 400;
}

.prize-draw-modal {
    border-radius: 16px !important;
}
#callback-modal .modal-custom__image img{
    padding: 0 !important;
}
#autocredit-modal .modal-custom__image img{
    padding: 0 !important;
}

.prize-draw-modal .modal-custom__image img {
    padding: 0;
    border-radius: 16px;
    object-fit: cover;
    width: 548px;
}

.prize-draw-modal .modal-custom__image {
    max-width: none;
    width: 548px;
    padding: 0;
    position: relative;
}

.prize-draw__disclamer {
    width: 100%;
    position: absolute;
    bottom: 11px;
    left: 50%;
    transform: translateX(-50%);
    color: #DFE3E5;
    text-align: center;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px; /* 142.857% */
}

@media (max-width: 1100px) {
    #callback-modal .modal-custom__image{
        max-width: 100% !important;
        aspect-ratio: 16 / 12;
    }
     #callback-modal .modal-custom__image img {
        max-height: auto;
        padding: 12px;
        -o-object-fit: cover;
        object-fit: cover;
        max-width: 100%;
        width: 100%;
        object-position: top;
    }
    .autocredit-modal .modal-custom__image{
        max-width: 100% !important;
        aspect-ratio: 16 / 12;
    }
    .autocredit-modal .modal-custom__image img {
        max-height: auto;
        padding: 12px;
        -o-object-fit: cover;
        object-fit: cover;
        max-width: 100%;
        width: 100%;
        object-position: top;
    }
    

    .prize-draw-modal .modal-custom__image {
        width: 100%;
        padding: 0;
        position: relative;
    }
    
    .prize-draw__disclamer {
        font-size: 10px;
        font-weight: 400;
        line-height: 16px; /* 133.333% */
    }
    .prize-draw-modal br {
        display: none;
    }

    .prize-draw-modal .modal-custom__image img {
        width: 100%;
    }
}

.partners__table {
    width: 100%;
    margin-bottom: 40px;
}

.partners__table__header {
    display: grid;
    padding-left: 80px;
    padding-right: 80px;
    grid-template-columns: repeat(3, 1fr);
    margin-bottom: 24px;
}

.partners__table__header__item:first-child {
    text-align: left;
}

.partners__table__header__item {
    color: #646970;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 24px; /* 150% */
    text-align: center;
}

.partners__table__body__item {
    background: #fff;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: center;
    padding-top: 16px;
    padding-bottom: 16px;
    padding-left: 80px;
    padding-right: 80px;
}

.partners__table__body__item:nth-child(2n) {
    background: transparent;
}

.partners__table__item__image {
    width: 164px;
    height: 50px;
    object-fit: contain;
}

.partners__table__item__text {
    text-align: center;
    color: var(--Blue-Dark, #1641BC);
    text-align: center;
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: 32px; /* 133.333% */
}

.partners__table__item__button {
    max-width: 217px;
    margin: 0 auto;
}

.partners__button__banks {
    width: 311px;
    margin: 0 auto;
    margin-bottom: 40px;
}

.banks__section .partners__title {
    margin-top: 40px;
}

@media (max-width: 1100px) {
    .banks__section .partners__title {
        text-align: left;
    }

    .partners__table__header {
        display: none;
    }

    .partners__table__body__item  {
        border-radius: 16px;
        background: var(--White, #FFF) !important;
        padding: 24px 16px;
        grid-template: 'a b' auto
                       'c c' auto;
        row-gap: 24px;                       
    }

    .partners__table__item__image {
        grid-area: a;
    }

    .partners__table__item__text {
        grid-area: b;
    }

    .partners__table__item__button {
        grid-area: c;
        max-width: none;
        width: 100%;
    }

    .partners__table__body {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    .partners__table {
        margin-bottom: 20px;
    }
}

.section__use {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 40px;
}

.use__diagram__item {
    width: 195px;
    height: 192px;
}

.use__diagram__wrapper {
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 0 18px;
}

.use__diagram {
    width: 50%;
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 40px 24px;
    border-radius: 16px;
    background: #fff;
}

.use__title {
    color: var(--Black, #151515);
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: 28px; /* 140% */
}

.use__desc {
    color: var(--Black, #151515);
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px; /* 150% */
}

.legend {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 10px;

    color: var(--Black, #151515);
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px; /* 150% */
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.use__city {
    width: 50%;
    border-radius: 16px;
    background: #FFF;
    padding: 40px 24px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    height: 452px;
    position: relative;
}

.use__buttons .button {
    width: 100%;
}
.use__buttons {
    position: relative;
    z-index: 2;
    display: flex;
    gap: 12px;
    align-items: center;
}

.use__diagram .credit-conditions__offer__payment__info {
    margin-bottom: 0;
}

.use__image {
    z-index: 0;
    position: absolute;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    border-radius: 16px;
}

@media (max-width: 1100px) {
    .car-item__compare__hint .regular-text-s {
        font-size: 10px !important;
        padding: 0 !important;
        line-height: 12px !important;
    }
    .car-item__compare__hint {
        padding: 4px 8px;
        width: 85px;
    }

    .section__use  {
        flex-direction: column;
    }

    .use__diagram {
        width: 100%;
    }

    .use__city {
        width: 100%;
        height: auto;
    }

    .use__image {
        display: none;
    }

    .use__diagram__wrapper {
        flex-direction: column;
        gap: 12px;
        padding-left: 0;
        padding-right: 0;
    }

    .legend {
        width: 100%;
    }

    .use__buttons {
        flex-direction: column;
    }

    .use__diagram__item {
        width: 127px;
        height: 126px;
    }   
}

.body-offset {
    padding-right: 12px;
}

header {
    position: sticky;
    top: 0;
    z-index: 10;
}

.blocker:has(.modal.mega-sale-modal) {
    padding: 0;
} 

.modal.mega-sale-modal {
    width: 100vw;
    height: 100vh;
}

.mega-sale-modal.modal a.close-modal  {
    display: none;
}

.blocker:has(.modal.mega-sale-modal):before {
    display: none;
}

.mega-sale__img__cars {
    position: absolute;
    object-fit: cover;
    z-index: 1;
    bottom: 32px;
    width: 680px;
    left: 12px;
}
.mega-sale__img__badge {
    object-fit: contain;
    width: 198px;
    position: absolute;
    z-index: 3;
    top: -48%;
    left: -10%;
    transform: translateX(-50%);
}
.mega-sale-modal .modal-custom__form .footer__form__action{
    margin-top: 12px;
    flex-direction: column-reverse;
    gap: 8px;
}
.mega-sale-modal .modal-custom {
    overflow: hidden;
}
.mega-sale-modal .modal-custom__desc {
    margin-bottom: 12px;
}
.mega-sale-modal button.main.size-l {
    width: 100%;
}
.mega-sale-modal .footer__form__license {
    flex-direction: column;
    display: flex;
    align-items: center;
}

.mega-sale-modal .modal-custom__form {
    width: 40%;
    position: absolute;
    z-index: 2;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.70);
    backdrop-filter: blur(10px);
    padding: 40px;
    height: fit-content;
    top: 55%;
    transform: translateY(-50%);
    right: 0;
    gap: 12px;
}

.mega-sale-modal__cross {
    z-index: 2;
    position: absolute;
    right: 0;
    top: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}
.mega-sale-modal .modal-custom {
    position: relative;
    height: 100%;
}

.mega-sale__img {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    object-fit: cover;
    z-index: 1;
    
}

.mega-sale__form__wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 12px;
}


.mega-sale__title__wrapper {
    display: flex;
    flex-direction: column;
    position: absolute;
    z-index: 2;
    top: 80px;
}

.mega-sale__title__wrapper span:nth-child(1n) {
    color: var(--White, #FFF);
    font-size: 72px;
    font-style: normal;
    font-weight: 700;
    line-height: 80px; /* 100% */
    text-transform: uppercase;
}

.mega-sale__title__wrapper span:nth-child(2n) {
    font-size: 49px;
    line-height: 40px;
    color: var(--White, #FFF);
    font-style: normal;
    font-weight: 700;
    margin-left: 314px;
    margin-top: -24px;
    text-transform: uppercase;
}
.mega-sale__title__wrapper span:nth-child(3n) {
    margin-top: -19px;
    margin-left: 239px;
    font-size: 49px;
    line-height: 40px;
    color: var(--White, #FFF);
    font-style: normal;
    font-weight: 700;
    text-transform: uppercase;
}

.mega-sale__title__wrapper span{
    width: fit-content;
    color: var(--White, #FFF);
    font-style: normal;
    font-weight: 700;
    text-transform: uppercase;
    padding: 20px 40px;
    border-radius: 16px;
    background: var(--Blue-Main, #2E58DB);
}

.bank_partners-row {
    padding-top: 80px;
}
@media (max-width: 1100px) {
    .bank_partners-row {
        padding-top: 40px;
    }
    .mega-sale-modal__cross {
        top: 24px;
        right: 16px;
        color: var(--Black, #151515);
        font-size: 14px;
        font-style: normal;
        font-weight: 700;
        line-height: 20px; /* 142.857% */
        height: 32px;
        padding: 0;
    }

    .mega-sale-modal {
        max-width: none !important;
    }
    .mega-sale__title__wrapper span:nth-child(1n) {
        font-size: 32px;
        font-style: normal;
        font-weight: 700;
        line-height: 48px; /* 150% */
        text-transform: uppercase;
        padding: 12px 16px;
    }
    .mega-sale__title__wrapper span:nth-child(2n) {
        font-size: 20px;
        font-style: normal;
        font-weight: 700;
        line-height: 24px; /* 120% */
        text-transform: uppercase;
        padding: 12px 16px;
        margin-left: 101px;
        margin-top: -12px;
        margin-bottom: -12px;
    }
    .mega-sale__title__wrapper span:nth-child(3n) {
        font-size: 20px;
        font-style: normal;
        font-weight: 700;
        line-height: 24px; /* 120% */
        margin-top: 0;
        text-transform: uppercase;
        padding: 12px 16px;
        margin-left: 16px;
    }

    .mega-sale-modal .modal-custom {
        margin: 0;
    }
    .mega-sale-modal .modal-custom__form {
        max-width: calc(100vw - 32px);
        width: 100%;
        right: 50%;
        transform: translate(50%, -50%);
        top: 50%;
        padding: 24px 12px;
    }
    .mega-sale-modal .modal-custom__desc  {
        margin-bottom: 0;
    }
    .mega-sale-modal .modal-custom__form .footer__form__action {
        margin-top: 0;
    }
    .mega-sale__img__badge {
        object-fit: contain;
        width: 148px;
        position: absolute;
        z-index: 3;
        top: -39%;
        left: 92%;
        transform: translateX(-50%);
    }
    .mega-sale__img__cars {
        position: absolute;
        object-fit: contain;
        z-index: 1;
        bottom: 0;
        width: 85vw;
        left: 50%;
        transform: translateX(-50%);
    }
}

.seo-text__container p {
    margin-bottom: 16px;
}
.seo-text__container h2 {
    font-weight: 700;
    font-size: 36px;
    line-height: 44px;
    margin-bottom: 20px;
    text-align: center;
}

.seo-text__container {
    background: #e4ecf8;
    padding: 80px 0 80px 0;
}

@media (max-width: 1100px) {
        .seo-text__container {
            padding: 40px 0 40px 0;
        }

        .seo-text__container h2 {
            font-size: 28px;
            line-height: 34px;
            text-align: left;
        }
}

.partners__container {
    display: grid;
    gap: 12px;
    overflow: hidden;
    overflow-x: hidden;
}

.partners__container__banks {
    display: grid;
    gap: 12px;
    overflow: hidden;
    overflow-x: hidden;
    grid-template-columns: repeat(7, 1fr);
}

@media (max-width: 1100px) {
    .partners__container__banks {
        display: flex;
        overflow-x: auto;
    }

    .partners__container {
        display: flex;
        overflow-x: auto;
    }
    
}

.license__checkbox {
    width: 16px;
    height: 16px;
    border-radius: 4px;
    appearance: auto;
    -webkit-appearance: auto;
    -moz-appearance: auto;
    margin-top: 2px;
}
.agreement__checkbox span.error{
    display: none !important;
}

  /* Анимация тряски */
  @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: inline-block;
  }

.agreement__wrapper:has(.license__checkbox.error) .agreement__text span {
    color: #d02d2d;
}
.agreement__wrapper:has(.license__checkbox.error) .agreement__text a {
    color: #d02d2d;
}
.license__checkbox.error{
    border-radius: 4px;
}

.request-form__container {
    gap: 20px;
}

.agreement__checkbox {
    position: relative;
    width: fit-content;
    height: fit-content;
    display: flex;
    align-items: center;
}

.agreement__text {
    flex-wrap: wrap;
    gap: 4px;
    text-align: left;
}

.agreement__wrapper {
    display: flex;
    gap: 8px;
}

.cookies__wrapper {
    position: fixed;
    align-items: center;
    z-index: 4;
    bottom: 24px;
    left: 24px;
    width: fit-content;
    padding: 24px 32px;
    background: #fff;   
    display: flex;
    gap: 32px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.35);
    border-radius: 15px;
}

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

.cookies__text {
    max-width: 444px;
    color: var(--Grey-Dark-Grey, #5A5F65);
    text-align: center;
    font-size: 13px;
    font-style: normal;
    font-weight: 400;
    line-height: 110%;
}
.cookies__text a {
    color: var(--Hague-Blue, #2e58db);
    display: inline;
}

.cookies__btn {
    cursor: pointer;
}

@media (max-width: 1100px) {
    .cookies__text {
        max-width: 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%;
    }
}

.specs__list__item__value.regular-text-m {
    max-width: 272px;
}

.footer__contents__nav__actions {
    padding-bottom: 12px;
}

#banner-september .image {
    background-size: 100%;
    background-position: right;
}

@media (max-width: 1100px) {
    #banner-september .image {
        background-image: url('../../assets/img/september-mb.png') !important;
    }

    body:has(.fixed_price) .callback-button {
        display: none;
    }
}