
.disabled {
    pointer-events: none;
    opacity: 0.5;
}

.services-card  {
    position: relative;
}

.services-card__date {
    margin-top: 30px;
    color: white;
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: #d40200;
    padding: 10px;
    border-radius: 10px;
    font-weight: 500;
}

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

.d-flex-gap-20 .btn-more{
    width: 300px;
    align-self: center;
}

@media(max-width:580px){
    .d-flex-gap-20 .btn-more{
        width: 100%;
    }
}

.app-modal-mega-sale .fancybox-button{
    width: unset;
    height: unset;
}

.car-card.active {
    border: 3px solid red;
}

.price-container .form-info__title {
    font-size: 17px;
    font-weight: 800;
}

.finance-page-form__inputs {
    gap: 27px;
}

@media (min-width: 1100px) {
    #callback-widget-button {
        margin-right: 0px;
    }

    body.compensate-for-scrollbar {
        padding-right: var(--scrollbar-width, 15px);
    }
}

@media (min-width: 1100px) {
    body.compensate-for-scrollbar {
        padding-right: var(--scrollbar-width, 15px);
    }
}

.hero-banner__text {
    font-size: 20px;
    font-weight: 500;
    line-height: 120%;
}

.hero-banner__text div{
    margin-top: 5px;
}

@media (max-width: 1100px) {
    .hero-banner__content .hero-banner__text {
        font-size: 16px;
    }
    .hero-banner__text div{
        display: contents;
    }
}

.price-container {
    margin-bottom: 10px;
    border-radius: 5px;
    background: #fbfbfb;
    padding: 15px 20px;
    gap: 5px;
    margin-bottom: 5px;
}

.price-container .main-price > * { 
    font-size: 15px;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
}

.price-container .other-price > * { 
    font-size: 18px;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
}

.other-price .form-info__text {
    color: #d40200;
}

.header__nav-item.--active {
    font-weight: 600;
    color: #d40200;
}

.model__bottom-title {
    text-align: center;
    font-weight: 700;
    text-decoration: underline;
    font-size: 1.5rem;
    margin-bottom: 50px;
    color: #0063c7;
}


#popup-telephone {
    background: #fff;
}

#popup-telephone svg {
    max-width: 100px;
}

#popup-telephone .popup__title {
    color: #333333;
}

#popup-telephone .popup__title {
    font-weight: 500;
    font-size: 16px;
    line-height: 19px;
}

#popup-telephone .popup__subtitle {
    font-weight: 400;
    font-size: 14px;
    line-height: 16px;
    color: #7E7E7E;
    margin-top: 5px;
}

#popup-telephone .popup__numbers {
    font-weight: 700;
    font-size: 32px;
    line-height: 38px;
}

#popup-telephone .popup__phone {
    margin-top: 12px;
}

#popup-telephone .popup__address {
    font-weight: 500;
    font-size: 16px;
    line-height: 19px;
    margin-top: 29px;
    display: block;
    color: #333333;
}

#popup-telephone .popup__address span {
    display: block;
    margin-top: 8px;
    font-style: normal;
    font-weight: 300;
    font-size: 14px;
    line-height: 16px;
    margin-bottom: 20px;
}

#popup-telephone .popup_down {
    border-radius: 25px 25px 0px 0px;
    padding: 22px 16px 32px 16px;
}

#popup-telephone .popup-phone__btn {
    width: 100%;
    padding: 16px 5px;
    margin-top: 26px;
}

#popup-telephone .fancybox-close-small svg {
    filter: brightness(0);
}

.popup__phone a {
    color: #d40200;
    font-size: 1.5rem;
    text-decoration: none;
}

.model-content__heading-404 {
    font-size: 40px;
}

.buttons-404 {
    margin-top: 40px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 40px;
}

.section-404 {
    padding: 160px 0;
}

.model-content__heading-404 {
    margin-bottom: 40px;
}

.main-marks-grid {
	display: -ms-grid;
	display: grid;
	-ms-grid-columns: 1fr 10px 1fr 10px 1fr 10px 1fr 10px 1fr 10px 1fr 10px 1fr;
	grid-template-columns: repeat(7, 1fr);
	grid-gap: 10px;
    margin-bottom: 40px;
}

.main-marks-item {
	padding: 7px 14px;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	gap: 10px;
	text-decoration: none;
	border: 1px solid #607D8B;
	border-radius: 8px;
	position: relative;
    color: #607D8B;
}

.main-marks-item__name {
	font-size: 14px;
	font-weight: 600;
	width: 100%;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: justify;
	-ms-flex-pack: justify;
	justify-content: space-between;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
}

.main-marks-item__name b {
    font-weight: 500;
    color: #9E9E9E;
}

.main-marks-item:hover {
	border-color: #D40200;
}

.main-marks-item.active {
    border: 2px solid #D40200;
}

.main-marks {
	margin-bottom: 40px;
}

.main-compilations {
	margin-bottom: 40px;
}

.main-compilations-grid {
	display: -ms-grid;
	display: grid;
	-ms-grid-columns: 1fr 30px 1fr 30px 1fr 30px 1fr 30px 1fr 30px 1fr;
	grid-template-columns: repeat(6, 1fr);
	grid-gap: 10px 30px;
}

@media (min-width: 980px) {
    .finance-page-form {
        grid-gap:80px
    }
    .model-description__block {
        display: inline-table;
    }
    .app-modal__form-megasave.fancybox-button svg path{
        fill: white;
    }
}

@media (max-width: 980px) {
    .hero-banner__text br {
        display: none;
    }
    
    .footer-top__logo{
        display: block;
        width: 100%;
        margin-bottom: 20px;
    }
    .header__info__content {
        font-size: 12px;
        max-width: 180px;
    }
    .header__info_phone .header__info__content {
        max-width: unset !important;
        width: 100%;
    }
}

@media (max-width: 786px) {
    .header__info .header__info__content .btn.btn_primary {
        gap: 10px;
        padding: 0 10px;
    }

    .services-card__date {
        font-size: 11px;
    }

    .hero-banner__title br {
        display: none;
    }

    .main-marks-grid {
        display: -ms-grid;
        display: grid;
        -ms-grid-columns: 1fr 10px 1fr;
        grid-template-columns: repeat(2, 1fr);
        grid-gap: 10px;
    }
}

@media (max-width: 586px) {
    .hero-banner {
        height: 335px;
    }

    .hero-banner__image {
        overflow: hidden;
    }
    
    .hero-banner__image::after {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: #0000004f;
        z-index: -1;
    }
}

div.hero-banner__title{
    font-size: 40px;
    font-weight: 500;
}

.app-section.mb-0{
    margin-bottom: 0px!important;
}

@media only screen and (max-width: 1212px) {
    .main-marks-grid {
        grid-gap: 10px 15px;
    }
}

.prize-draw__image {
    width: 670px;
    position: relative;
}

.prize-draw__disclamer {
    position: absolute;
    left: 40px;
    bottom: 40px;
    width: 264px;
    color: var(--black, #000);
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 140%; /* 16.8px */
}

.prize-draw {
    max-width: none;
    padding: 0;
}



@media (max-width: 1100px) {
    .prize-draw__image {
        background-image: url("../img/prize-draw-mobile.png") !important;
        background-position: top;
        height: 240px;
        width: auto;
    }
  

    .prize-draw__disclamer {
        bottom: 12px;
        left: 50%;
        transform: translateX(-50%);
        font-size: 8px;
        font-weight: 400;
        line-height: 140%; /* 11.2px */
        text-align: center;
        width: 334px;
    }
}

.app-modal-mega-sale-bg {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    z-index: 1;
}
.app-modal-mega-sale-cars {
    left: 210px;
    bottom: -30px;
    width: 50%;
    position: absolute;
    z-index: 1;
}
.app-modal-mega-sale .app-modal__form.app-modal__form-megasave {
    width: 873px;
    border-radius: 12px;
    background: #FFF;
    padding: 40px 64px;
    flex-direction: column;
    gap: 24px;
    display: flex;
}
.app-modal-mega-sale .special-modal-form__title {
    color: #000;
    font-size: 32px;
    font-style: normal;
    font-weight: 500;
    margin-bottom: 0;
    line-height: 100%; /* 32px */
}

.app-modal-mega-sale .special-modal-form__text p {
    margin-bottom: 0;
    color: #454545;
    font-size: 20px;
    font-style: normal;
    font-weight: 500;
    line-height: 140%; /* 28px */
    max-width: 745px;
}
.app-modal-mega-sale .special-modal-form__inputs {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    row-gap: 12px;
    column-gap: 24px;
}

.app-modal-mega-sale .btn_primary-megasave{ 
    height: 100%;
}
.app-modal-mega-sale .form-checkbox__text{
font-size: 11px;
}
.app-modal-mega-sale .form-input__title {
    margin-bottom: 0;
}
.app-modal-mega-sale {
    padding: 0;
    overflow: hidden;
    width: 100%;
    height: 100%;
    max-width: none;
    position: relative;
}
.app-modal-mega-sale__header {
    margin-top: 24px;
    margin-bottom: 34px;
}

.app-modal-mega-sale .container {
    position: relative;
    z-index: 2;
}

@media (min-width: 1920px) {
    .app-modal-mega-sale .container {
        height: 82%;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
}
.app-modal-mega-sale__header p {
    color: var(--light-grey, #F0F2F6);
    background: #000;
    padding: 14px 32px;
    width: fit-content;
    margin-top: -7px;
    margin-left: 114px;
    font-size: 34px;
    font-style: normal;
    font-weight: 700;
    border-radius: 12px;
    line-height: 120%; /* 40.8px */
}
.app-modal-mega-sale__header h2 {
    color: #EA0001;
    border-radius: 12px;
    background: #fff;
    font-size: 48px;
    font-style: normal;
    font-weight: 700;
    line-height: 120%; /* 57.6px */
    text-transform: uppercase;
    padding: 14px 32px;
    gap: 10px;
    width: fit-content;
}

.fancybox-slide:has(.app-modal-mega-sale) {
    padding: 0;
}

.app-modal-mega-sale .fancybox-button.fancybox-close-small svg path{ 
    fill: #fff;
}
.app-modal-mega-sale .fancybox-button.fancybox-close-small svg{
    width: 56px;
    height: 56px;
}

.btn[disabled] {
    opacity: 0.6;
    cursor: not-allowed;
  }
  
/* Стиль для неактивной кнопки */
/* Обертка для кнопки */
.submit-button-wrapper {
position: relative;
display: inline-block;
}

/* 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% { 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;
}

/* Стиль для подсказки */
.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 {
color: #ff0000 !important;
}

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

@media (max-width: 1100px) {
    .app-modal-mega-sale-bg {
    }
    .app-modal-mega-sale-cars {
        left: 0;
        bottom: 35px;
        width: 100%;
        position: absolute;
        z-index: 1;
    }

    .app-modal-mega-sale .special-modal-form__title {
        font-size: 20px;
    }
    
    .app-modal-mega-sale .special-modal-form__text p {
        font-size: 14px;
    }

    .app-modal-mega-sale__header {
        margin-top: 60px;
        margin-bottom: 24px;
    }

    .app-modal-mega-sale__header p {
        display: flex;
        flex-direction: column;
        color: var(--light-grey, #F0F2F6);
        width: fit-content;
        font-size: 34px;
        font-style: normal;
        font-weight: 700;
        border-radius: 12px;
        line-height: 120%; /* 40.8px */
        padding: 0;
        margin: 0;
        background: transparent;
        font-size: 27px;
    }
    .app-modal-mega-sale__header p span {
        padding: 4px 8px;
        border-radius: 12px;
        width: fit-content;
        line-height: 100%;
        background: #000;
    }
    .app-modal-mega-sale__header p span:first-child{
        margin-top: -7px;
        font-size: 20px;
        margin-left: 54px;
    }
    .app-modal-mega-sale__header h2 {
        padding: 4px 8px;
        font-size: 20px;
    }

    .app-modal-mega-sale .btn_primary-megasave {
        height: 48px;
    }

    .app-modal-mega-sale .app-modal__form.app-modal__form-megasave {
        width: 100%;
        padding: 16px 10px;
        gap: 8px;
    }
    .app-modal-mega-sale .special-modal-form__inputs {
        grid-template-columns: repeat(1, 1fr);
        gap: 10px;
    }
    .app-modal-mega-sale .form-checkbox .form-input__label {
        grid-row: 2;
    }

    .app-modal-mega-sale .fancybox-button.fancybox-close-small svg{
        fill: #fff;
        width: 24px;
        height: 24px;
    }
}

.cookies__wrapper {
    position: fixed;
    align-items: center;
    z-index: 4;
    bottom: 24px;
    border-radius: 10px;
    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);
}

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

.cookies__text {
    max-width: 424px;
    color: var(--Grey-Dark-Grey, #5A5F65);
    text-align: left;
    font-size: 13px;
    font-style: normal;
    font-weight: 400;
    line-height: 110%; /* 15.4px */
}
.cookies__text a {
    color: var(--Hague-Blue, #D40200);
    display: initial;
}

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

.header {
    box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
}

.footer_cb {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 12px;
}


@media (max-width: 1100px) {
    .footer_cb .btn {
        width: 100%;
    }
    .footer_cb {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
    }
}