@font-face {
    font-family: Haval;
    src: url(../fonts/Haval-Medium.woff2) format("woff2"), url(../fonts/Haval-Medium.woff) format("woff");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: Haval;
    src: url(../fonts/Haval-Regular.woff2) format("woff2"), url(../fonts/Haval-Regular.woff) format("woff");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: TT-Firs-Text;
    src: url(../fonts/TT-Wellingtons-Medium.woff2) format("woff2"), url(../fonts/TT-Wellingtons-Medium.woff) format("woff");
    font-weight: 450;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: TT-Firs-Text;
    src: url(../fonts/TT-Wellingtons-Bold.woff2) format("woff2"), url(../fonts/TT-Wellingtons-Bold.woff) format("woff");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: TT-Wellingtons;
    src: url(../fonts/TT-Wellingtons-Medium.woff2) format("woff2"), url(../fonts/TT-Wellingtons-Medium.woff) format("woff");
    font-weight: 450;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: TT-Wellingtons;
    src: url(../fonts/TT-Wellingtons-Bold.woff2) format("woff2"), url(../fonts/TT-Wellingtons-Bold.woff) format("woff");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

* {
    font-family: TT-Firs-Text, Arial, Helvetica, sans-serif !important;
}

h1, h2, h3, h4, h5, h6, .header-text-s, .footer-main__models-link, .tradein-form__title, .section-heading__text, .text-logo-main, .hero-carousel__title, .gosapp-item__title, .model-page-offer__title, .model-tabs__nav-item, .model-compare-form__heading, .resp-head-title, .table-characteristics__row-heading {
    font-family: Haval, Arial, Helvetica, sans-serif !important;
}

.nowrap {
    text-wrap: nowrap;
}

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

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

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

.js-modals {
    cursor: pointer;
}

.header-main {
    background: #fff;
}

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

.overflow-auto {
    overflow: auto;
}

.bolder {
    font-weight: bolder;
}

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

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

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

.pt-5 {
    padding-top: 5px;
}

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

.pt-10 {
    padding-top: 10px;
}

.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;
}

.cars-carousel__slide {
    width: 461px;
    margin-right: 30px;
}

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

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

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

.models-carousel__col > * {
    text-align: right;
}

.models-carousel__col.content-carousel {
    margin-right: 50px;
}

.header-main__logo img {
    max-height: 30px;
}

.swiper-slide.table-characteristics__col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.resp-icon.resp-icon_plus {
    background: url('data:image/svg+xml,<svg width="19" height="13" viewBox="0 0 19 13" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M17.5 1L6.5 12L1.5 7" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>') left no-repeat;
}

.resp-icon.resp-icon_minus {
    background: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHZpZXdCb3g9IjAgMCAxNCAxNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEzIDFMMSAxM00xIDFMMTMgMTMiIHN0cm9rZT0iIzE1MTUxNSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2Utd2lkdGg9IjIiIHN0cm9rZS1saW5lam9pbj0icm91bmQiLz4KPC9zdmc+Cg==") left no-repeat;
}

.mc-prop__title {
    font-size: 14px;
    color: #5A5F65;
    text-wrap: wrap;
}

.compare-item__price {
    position: relative;
    text-wrap: nowrap;
    line-height: 24px;
    color: var(--primary);
    font-weight: 400;
    display: flex;
    align-items: center;
}

.compire-item__checklist__item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.compire-item__checklist__title {
    flex: 1 0 0;
}

.compire-item__checklist__value {
    width: 80px;
    color: #E74929;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    /* 142.857% */
}

.compire-item__dropdown-list__minimal-price, .compire-item__dropdown-list__footer {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.compare-checkbox {
    position: relative;
    width: 24px;
    height: 24px;
}

.compare-checkbox label {
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 50%;
    cursor: pointer;
    height: 24px;
    left: 0;
    position: absolute;
    top: 0;
    width: 24px;
}

.compare-checkbox label:after {
    border: 2px solid #fff;
    border-top: none;
    border-right: none;
    content: "";
    height: 6px;
    left: 6px;
    opacity: 0;
    position: absolute;
    top: 6px;
    transform: rotate(-45deg);
    width: 12px;
}

.compare-checkbox input[type="checkbox"] {
    visibility: hidden;
}

.compare-checkbox input[type="checkbox"]:checked + label {
    background-color: #00cabf;
    border-color: #00cabf;
}

.compare-checkbox input[type="checkbox"]:checked + label:after {
    opacity: 1;
}

.copmire-item__checklist__price-bottom {
    color: #00cabf;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    /* 150% */
}

.copmire-item__checklist__price-top {
    color: #00cabf;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    /* 150% */
}

.compire-item__dropdown-list__checklist {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.compire-item__dropdown-list {
    z-index: 2;
    position: absolute;
    padding: 12px 16px;
    box-shadow: 0px 0px 10px 0px rgba(16, 16, 16, 0.20);
    background: #fff;
    top: calc(100% + 8px);
    border-radius: 8px;
    width: 340px;
    /*left: 0;*/
    display: none;
    flex-direction: column;
    gap: 12px;
}

.show-mobile {
    display: none;
}

.complectation__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background-color: #00cabf;
    border-radius: 40px;
    transition: all 0.2s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    flex-shrink: 0;
    padding: 4px;
}

.section-complectation .complectation__title {
    display: flex;
    gap: 10px;
}

.complectation__icon {
    color: #fff;
}

.complectation__icon:hover {
    background-color: #4c5865;
}

.model-compare-form__heading {
    display: flex;
    gap: 10px;
}

.modifications-block {
    margin: 30px 0;
    padding: 20px;
    border-radius: 12px;
}

.modifications-block__title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 24px;
    color: #1a1a1a;
}

.modification-card {
    background: white;
    border-radius: 12px;
    margin-bottom: 20px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.modification-card__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: #eeeeee;
    border-bottom: 1px solid #e9ecef;
}

.modification-card__name {
    font-size: 20px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0;
}

.modification-card__compare {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
    color: #666;
}

.modification-card__compare input {
    cursor: pointer;
}

.modification-card__content {
    padding: 20px;
}

.modification-specs__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.spec-group {
    background: #f5f6f9;
    padding: 16px;
    border-radius: 8px;
}

.spec-group__title {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid #e9ecef;
}

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

.spec-item {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    font-size: 14px;
}

.spec-item__label {
    color: #666;
    font-weight: 400;
}

.spec-item__value {
    color: #1a1a1a;
    font-weight: 500;
}

.model-compare-form__heading {
    display: flex;
    gap: 10px;
}

.model-compare-form__heading span {
    margin: auto 0;
}

@media (max-width: 768px) {
    .complectation__icon {
        width: 20px;
        height: 20px;
    }

    .modifications-block {
        margin: 20px 0;
        padding: 12px;
    }

    .modifications-block__title {
        font-size: 20px;
        margin-bottom: 16px;
    }

    .modification-card__header {
        padding: 12px 16px;
        flex-wrap: wrap;
        gap: 10px;
    }

    .modification-card__name {
        font-size: 18px;
    }

    .modification-card__content {
        padding: 12px;
    }

    .modification-specs__grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .spec-group {
        padding: 12px;
    }

    .spec-group__title {
        font-size: 15px;
        margin-bottom: 10px;
    }

    .spec-group__items {
        gap: 8px;
    }

    .spec-item {
        font-size: 13px;
        flex-wrap: wrap;
        gap: 4px;
    }

    .spec-item__label {
        font-size: 13px;
    }

    .spec-item__value {
        font-size: 13px;
        font-weight: 500;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .modification-specs__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 550px) {
    .compire-item__dropdown-list {
        right: 0;
    }
}

@media (max-width: 992px) {
    .compare-item__row.compare-item__price {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .compare-item__col:nth-child(2), .compare-item__col:nth-child(3) {
        width: unset;
        display: block;
        text-align: left;
    }

    .compare-item__credit {
        text-align: left;
    }

    .btn-container {
        width: 100%;
    }

    .show-mobile {
        display: block;
    }

    .show-pc {
        display: none;
    }

    .price-item-compare {
        display: flex;
        justify-content: space-between;
    }
}

.compire-item__dropdown-icon {
    cursor: pointer;
    position: relative;
    width: 24px;
    height: 24px;
    margin-left: 8px;
}

.compire-item__dropdown-icon::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 24px;
    height: 24px;
    background-color: #96A0A7;
    mask-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgaWQ9ImFycm93LXNxdWFyZS1kb3duIj4KPHBhdGggaWQ9Ikljb24iIGQ9Ik04IDEyTDEyIDE2TTEyIDE2TDE2IDEyTTEyIDE2VjhNNy44IDIxSDE2LjJDMTcuODgwMiAyMSAxOC43MjAyIDIxIDE5LjM2MiAyMC42NzNDMTkuOTI2NSAyMC4zODU0IDIwLjM4NTQgMTkuOTI2NSAyMC42NzMgMTkuMzYyQzIxIDE4LjcyMDIgMjEgMTcuODgwMiAyMSAxNi4yVjcuOEMyMSA2LjExOTg0IDIxIDUuMjc5NzYgMjAuNjczIDQuNjM4MDNDMjAuMzg1NCA0LjA3MzU0IDE5LjkyNjUgMy42MTQ2IDE5LjM2MiAzLjMyNjk4QzE4LjcyMDIgMyAxNy44ODAyIDMgMTYuMiAzSDcuOEM2LjExOTg0IDMgNS4yNzk3NiAzIDQuNjM4MDMgMy4zMjY5OEM0LjA3MzU0IDMuNjE0NiAzLjYxNDYgNC4wNzM1NCAzLjMyNjk4IDQuNjM4MDNDMyA1LjI3OTc2IDMgNi4xMTk4NCAzIDcuOFYxNi4yQzMgMTcuODgwMiAzIDE4LjcyMDIgMy4zMjY5OCAxOS4zNjJDMy42MTQ2IDE5LjkyNjUgNC4wNzM1NCAyMC4zODU0IDQuNjM4MDMgMjAuNjczQzUuMjc5NzYgMjEgNi4xMTk4NCAyMSA3LjggMjFaIiBzdHJva2U9IiM5NkEwQTciIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIvPgo8L2c+Cjwvc3ZnPgo=");
}

.price-item-compare {
    display: flex;
}

.compire-item__dropdown-icon.active::before {
    background-color: #00cabf;
    transform: translate(-50%, -50%) rotate(180deg);
}

@media (max-width: 768px) {
    .section-hero .swiper-wrapper {
        height: 100%;
    }

    .section-hero .swiper-slide .hero-carousel__slide {
        aspect-ratio: 4/3;
        height: 100%;
    }
}

.section-404 {
    justify-content: center;
    align-items: center;
    display: flex;
    height: calc(100vh - 313px);
}

.section-404 .container {
    display: flex;
    gap: 36px;
    flex-direction: column;
}

.buttons-404 {
    width: fit-content;
}

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

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

.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: center;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 110%;
    /* 15.4px */
}

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

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

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

.catalog-carousel .swiper-slide {
    height: auto;
}

.catalog-item {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.catalog-item__content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.catalog-item__pricing {
    margin-top: auto;
}

.seo-text {
    font-size: 16px;
    line-height: 22px;
    text-align: justify;
    margin-bottom: 40px;
}

.seo-text p {
    margin-bottom: 15px;
}

.seo-text h2 {
    margin-bottom: 15px;
    margin-top: 10px;
}

.seo-text h3 {
    margin-bottom: 5px;
    margin-top: 10px;
}

.seo-text ul {
    margin-bottom: 15px;
    margin-left: 20px;
}

.seo-text ol {
    margin-bottom: 15px;
    margin-left: 20px;
}

.seo-text a {
    text-decoration: none;
    display: inline-block;
}

.seo-text h2 span span {
    font-size: 28px;
}

.seo-text h3 span span {
    font-weight: 500;
}

@media (max-width: 1100px) {
    .seo-text h2 span span {
        font-size: 24px;
    }

    .seo-text > * {
        text-align: left !important;
    }
}

.modal__offer__badge {
    width: 100%;
    left: 0;
    position: absolute;
    padding-top: 8px;
    padding-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    background: #fff;
    top: 0;
    color: #313C48;
    font-size: 15px;
    font-style: normal;
    font-weight: 400;
    line-height: 100%;
    /* 15px */
}

@media (max-width: 1100px) {
    .modal__offer__badge {
        font-size: 13px;
    }
}

.modal form {
    margin-top: 36px;
}

.fancybox-slide--html .fancybox-close-small {
    top: 60px;
}

.modal .main-form-checkbox.main-form-checkbox_white .main-form-checkbox__text, .modal .main-form-checkbox.main-form-checkbox_white .main-form-checkbox__text a {
    color: #000;
}

.modal .main-form-checkbox.main-form-checkbox_white .main-form-checkbox__checkmark {
    border-color: #000;
}