.init-modal{
    cursor: pointer;
}
.nowrap{
    text-wrap: nowrap;
}

.table-compare{
    width: 100%;
    overflow: auto;
}

.text-center{
    text-align: center;
}

.min-width-350{
    min-width: 350px;
}

.overflow-auto{
    overflow: auto;
}

.form-terms a {
    display: inline;
}

.btn-credit-container {
    margin-top: 20px;
}

.footer-logo__img {
    max-width: 200px;
}

.bolder{
    font-weight: bolder;
}

.fz-20{
    font-size: 20px;
}

.fz-24{
    font-size: 24px;
}

.pb-5{
    padding-bottom: 5px;
}

.hidden{
    display: none;
}

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

.pt-5{
    padding-top: 5px;
}
.pb-10{
    padding-bottom: 10px;
}
.pb-50{
    padding-bottom: 50px;
}
.pt-10{
    padding-top: 10px;
}
.pt-40{
    padding-top: 40px;
}
.mb-50{
    margin-bottom: 50px;
}
.p-l-5{
    padding-left: 5px;
}
.p-l-10{
    padding-left: 10px;
}
.group-option-name{
    background: #4c5865;
    color: white;
}

.border-bottom{
    border-bottom: 1px solid #e6e7e8;
}

.table-compare tbody td:nth-child(even) {
    background: #e6e7e8;
}

.table-compare .complectation-name {
    padding: 5px;
    background: #4c5865;
    font-size: 16px;
    color: white;
    font-weight: 500;
}

.table-compare .modification-name {
    padding: 10px;
    font-size: 16px;
    background: #e6e7e8;
}

.table-compare thead th.modification-name:nth-child(even) {
    background: #f5f6f9;
}

.catalog--brands-list{
    padding-bottom: 20px;
}

.d-flex{
    display: flex;
    gap: 10px;
}

.f-direction{
    flex-direction: row;    
}

#app-modal-terms {
    width: 500px;
    max-width: 100%;
}

#app-modal-terms .app-modal__heading {
    margin-bottom: 20px;
}

#app-modal-terms .main-heading {
    margin-bottom: 20px;
}

.hero-carousel__content {
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
}


.catalog--brands-list{
    padding-bottom: 20px;
}

.d-flex{
    display: flex;
    gap: 10px;
}

.f-direction{
    flex-direction: row;    
}

.catalog--brands-list .btn {
    height: 40px;
    background-color: #a3a5af;
}

.catalog--brands-list .btn.active {
    background: var(--primary);
}

.car-card__thumb.--with-sale {
    position: relative;
    padding-top: 30px;
}

.car-card__thumb .sale-block {
    top: 15px;
    position: absolute;
    right: 15px;
    padding: 10px;
    background: #f24942;
    color: #fff;
    border-radius: 10px;
    font-size: 12px;
}

.model-page__preview .sale-block {
    top: 15px;
    position: absolute;
    right: 15px;
    padding: 10px;
    background: #f24942;
    color: #fff;
    border-radius: 10px;
    font-size: 21px;
}

.group-telephone a{
   font-size: 13px;
   font-weight: 700;
   line-height: 32px;
}

.model-total__future .price_content {
    display: flex;
    gap: 5px;
    flex-direction: column;
}

.stock-date__share {
    margin-bottom: 10px;
    color: #0a41a9;
    font-weight: 700;
}

.form-terms a {
    text-decoration: underline;
}

.btn-mob-phone {
    height: 30px;
    line-height: 30px;
    padding: 0px 10px;
}

#popup-preset span.error {
    color: white;
    font-size: 11px;
}

.popup-preset__form {
    padding: 20px;
}

@media (max-width: 1150px) {
    .header__main .header__nav {
        font-size: 14px;
        gap: 30px;
    }
}

@media (max-width: 780px) {
    .catalog--brands-list .f-direction {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .btn-credit-container a{
        font-size: 15px;
    }

    .btn-credit-container {
        margin-top: 12px;
    }

    .group-telephone {
        display: flex;
        gap: 15px;
    }

    .header__inner {
        gap: 10px;
    }

    .header__logo-image {
        max-width: 130px;
    }

    .region {
        display: none;
    }
}

#roulette {
    background: -o-linear-gradient(0.07deg, #F7F7F7 -15.39%, #F7F7F7 49.07%);
    background: linear-gradient(89.93deg, #F7F7F7 -15.39%, #F7F7F7 49.07%);
    border-radius: 10px;
    padding: 44px 37px 44px;
    max-height: 380px;
    overflow: visible;
}

.roulette__form__title {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 10px;
}

.roulette__form__subtitle {
    max-width: 360px;
    color: #0d0e3a;
    margin-bottom: 22px;
}

.roulette__form__inputs {
    display: -webkit-box;
    gap:10px;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

.roulette__form__inputs input {
    background: #fff !important;
    color: black;
}

#roulette .app-input.error + span.error {
    color: red;
    font-size: 10px;
}

.roulette__form__submit .btn {
    width: 100%;
    margin-top: 20px;
    margin-bottom: 10px;
    line-height: normal;
}

.submit-button-wrapper {
    width: 100%;
}

.roulette__form__content .submit-button-wrapper {
    width: 100%;
}

.roulette__form__content {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

.roulette__form__gifts__circle__image {
    width: 482px;
    height: 482px;
    background-image: url(/assets/img/roulette-popup-gifts-bg.webp);
    background-position: center;
    position: relative;
    -webkit-animation-duration: 3s;
    animation-duration: 3s;
    -webkit-animation-timing-function: ease;
    animation-timing-function: ease;
    -webkit-animation-fill-mode: forwards;
    animation-fill-mode: forwards;
}

.roulette__form__gifts {
    margin-right: -129px;
    margin-top: -95px;
}

.roulette__form__main {
    padding-right: 10px;
}

.roulette__form__gifts__circle {
    position: relative;
}

.roulette__form__gifts__circle__arrow {
    background-image: url(/assets/img/roulette-popup-gifts-arrow.webp);
    width: 50px;
    height: 34px;
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    margin: auto;
}

.roulette__form__gifts__circle.anim-1 .roulette__form__gifts__circle__image {
    -webkit-animation-name: anim1;
    animation-name: anim1;
}

.roulette__form__gifts__circle.anim-2 .roulette__form__gifts__circle__image {
    -webkit-animation-name: anim2;
    animation-name: anim2;
}

.roulette__form__gifts__circle.anim-3 .roulette__form__gifts__circle__image {
    -webkit-animation-name: anim3;
    animation-name: anim3;
}

.roulette__form__gifts__circle.anim-4 .roulette__form__gifts__circle__image {
    -webkit-animation-name: anim4;
    animation-name: anim4;
}

.roulette__form__gifts__circle.anim-5 .roulette__form__gifts__circle__image {
    -webkit-animation-name: anim5;
    animation-name: anim5;
}

@media (max-width: 767px) {
  .roulette__form__content {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }

  .roulette__form__title {
    text-align: center;
    font-size: 21px;
  }

  #roulette {
    padding: 20px;
    max-height: unset;
  }

  .roulette__form__subtitle {
    text-align: center;
  }

  .roulette__form__inputs {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }

  .roulette__form__inputs input {
    width: 100%;
  }

  .roulette__form__gifts {
    margin: 10px 0 0;
  }

  .roulette__form__gifts__circle__image {width: 268px;height: 268px;background-size: contain;}

  .roulette__form__gifts__circle {
    width: 268px;
    height: 268px;
    margin: 0 auto 15px;
    margin-top: 20px;
  }

  .roulette__form__submit .btn {
    max-width: 100%;
  }

  .roulette__form__gifts__circle__arrow {
    background-size: contain;
    width: 25px;
    height: 17px;
  }
}

/* Стиль для заблокированной кнопки */

.main-form-checkbox__text {
    font-size: 12px;
}

/* Overlay для перехвата кликов */
.submit-button-overlay {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
cursor: not-allowed;
z-index: 10;
display: none;
}

button[type="submit"] {
width: 100%;
}

button[type="submit"][disabled] {
opacity: 0.6;
}

@keyframes shake {
    0%, 100% { margin-left: 0; margin-right: 0; }
    20%, 60% { margin-left: -5px; margin-right: 5px; }
    40%, 80% { margin-left: 5px; margin-right: -5px; }
}

.shake {
    animation: shake 0.5s cubic-bezier(.36,.07,.19,.97) both;
    display: inline;
}
  
/* Стиль для подсказки */
.policy-hint {
    color: #ff0000;
    font-size: 12px;
    margin-left: 10px;
    font-weight: normal;
    opacity: 0;
    animation: fadeIn 0.3s forwards;
}

@keyframes fadeIn {
    to { opacity: 1; }
}

/* Подсветка текста согласия */
.highlighted.shake {
    display: inline;
    color: #ff0000 !important;
}

.highlighted.shake a {
    color: #ff0000 !important;
}

@-webkit-keyframes anim1 {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(1000deg);
        transform: rotate(1000deg);
    }
}

@keyframes anim1 {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(1000deg);
        transform: rotate(1000deg);
    }
}

@-webkit-keyframes anim2 {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(1040deg);
        transform: rotate(1040deg);
    }
}

@keyframes anim2 {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(1040deg);
        transform: rotate(1040deg);
    }
}

@-webkit-keyframes anim3 {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(1080deg);
        transform: rotate(1080deg);
    }
}

@keyframes anim3 {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(1080deg);
        transform: rotate(1080deg);
    }
}

@-webkit-keyframes anim4 {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(1129deg);
        transform: rotate(1129deg);
    }
}

@keyframes anim4 {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(1129deg);
        transform: rotate(1129deg);
    }
}

@-webkit-keyframes anim5 {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(1170deg);
        transform: rotate(1170deg);
    }
}

@keyframes anim5 {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(1170deg);
        transform: rotate(1170deg);
    }
}

@-webkit-keyframes pulsate {
  0% {
    -webkit-transform: scale(0.8, 0.8);
    transform: scale(0.8, 0.8);
    opacity: 0.3;
  }
  50% {
    -webkit-transform: scale(1.2, 1.2);
    transform: scale(1.2, 1.2);
    opacity: 1.0;
  }
  100% {
    -webkit-transform: scale(0.8, 0.8);
    transform: scale(0.8, 0.8);
    opacity: 0.3;
  }
}

@keyframes pulsate {
  0% {
    -webkit-transform: scale(0.8, 0.8);
    transform: scale(0.8, 0.8);
    opacity: 0.3;
  }
  50% {
    -webkit-transform: scale(1.2, 1.2);
    transform: scale(1.2, 1.2);
    opacity: 1.0;
  }
  100% {
    -webkit-transform: scale(0.8, 0.8);
    transform: scale(0.8, 0.8);
    opacity: 0.3;
  }
}

@-webkit-keyframes bounce {
  50% {
    -webkit-transform: scale(1.2);
    transform: scale(1.2);
  }
  75% {
    -webkit-transform: scale(0.9);
    transform: scale(0.9);
  }
  100% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }
}

@keyframes bounce {
  50% {
    -webkit-transform: scale(1.2);
    transform: scale(1.2);
  }
  75% {
    -webkit-transform: scale(0.9);
    transform: scale(0.9);
  }
  100% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }
}

.popup-preset__form .main-form-checkbox_white {
    color: #fff;
}

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

.cookies__btn {
    background: #005F7F;
    display: flex;
    padding: 16px 32px;
    justify-content: center;
    color: #fff;
    border: none;
    align-items: center;
}

.cookies__text {
    max-width: 440px;
    color: #000;
    font-size: 13px;
    font-style: normal;
    font-weight: 400;
    line-height: 110%;
}

.cookies__link {
    display: inline;
    text-decoration: underline;
}

.cookies__btn {
    width: 100%;
}

@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);
    } 
}