@font-face {
    font-family: 'Wadik';
    src: url('../fonts/Wadik-Regular.ttf') format('opentype');
    font-weight: normal;
}

@font-face {
    font-family: 'Wadik';
    src: url('../fonts/Wadik-Bold.ttf') format('opentype');
    font-weight: bold;
}

@font-face {
    font-family: 'Onest';
    src: url('../fonts/Onest-Regular.ttf') format('truetype');
    font-weight: normal;
}

@font-face {
    font-family: 'Onest';
    src: url('../fonts/Onest-Bold.ttf') format('truetype');
    font-weight: bold;
}

@font-face {
    font-family: 'Onest';
    src: url('../fonts/Onest-Thin.ttf') format('truetype');
    font-weight: 300;
}

/* CSS Variables (для работы сетки) */
:root {
    --bs-breakpoint-xs: 0;
    --bs-breakpoint-sm: 576px;
    --bs-breakpoint-md: 768px;
    --bs-breakpoint-lg: 992px;
    --bs-breakpoint-xl: 1200px;
    --bs-breakpoint-xxl: 1400px;

    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 0;

    --bs-border-radius: 10px;


    --bg-dark: #000;
    --bg-dark-light: #303030;
    --bg-gray-light: #f6f6f8;
    --bg-light: #fff;

    --color-black: #000;
    --color-main: #171717;
    --color-gray: #646464;
    --color-gray-light: #f6f6f8;
    --color-light: #fff;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    height: 100%;
}

body {
    font-family: "Onest", sans-serif;
    font-size: 16px;
    font-weight: normal;
    line-height: normal;
    color: var(--color-main);
    background: var(--bg-light);
    /* height: auto;
    margin: 0 auto;
    max-width: 2560px;
    min-height: 100vh;
    display: flex;
    flex-direction: column; */
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Wadik", sans-serif;
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-weight: bold;
    line-height: 1.2;
}

/* p {
    margin-top: 0;
    margin-bottom: 1rem;
} */

/* section {
    border-top: 1px solid #000;
    border-bottom: 1px solid #000;
    margin: 10px 0;
} */

.container,
.container-fluid {
    width: 100%;
    padding-right: var(--bs-gutter-x, 0.75rem);
    padding-left: var(--bs-gutter-x, 0.75rem);
    margin-right: auto;
    margin-left: auto;
}

@media (min-width: 576px) {

    .container,
    .container-fluid {
        max-width: 540px;
    }
}

@media (min-width: 768px) {

    .container,
    .container-fluid {
        max-width: 720px;
    }
}

@media (min-width: 992px) {

    .container,
    .container-fluid {
        max-width: 960px;
    }
}

@media (min-width: 1200px) {

    .container,
    .container-fluid {
        max-width: 1140px;
    }
}

@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }

    .container-fluid {
        max-width: 1700px;
    }
}

.btn {
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    font-family: 'Wadik', sans-serif;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
    /* --bs-btn-padding-x: 0.75rem;
    --bs-btn-padding-y: 0.375rem;
    --bs-btn-font-family: ;
    --bs-btn-font-size: 1rem;
    --bs-btn-font-weight: 400;
    --bs-btn-line-height: 1.5;
    --bs-btn-color: var(--bs-body-color);
    --bs-btn-bg: transparent;
    --bs-btn-border-width: var(--bs-border-width);
    --bs-btn-border-color: transparent;
    --bs-btn-border-radius: var(--bs-border-radius);
    --bs-btn-hover-border-color: transparent;
    --bs-btn-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 1px 1px rgba(0, 0, 0, 0.075);
    --bs-btn-disabled-opacity: 0.65;
    --bs-btn-focus-box-shadow: 0 0 0 0.25rem rgba(var(--bs-btn-focus-shadow-rgb), .5);
    display: inline-block;
    padding: var(--bs-btn-padding-y) var(--bs-btn-padding-x);
    font-family: var(--bs-btn-font-family);
    font-size: var(--bs-btn-font-size);
    font-weight: var(--bs-btn-font-weight);
    line-height: var(--bs-btn-line-height);
    color: var(--bs-btn-color);

    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    border: var(--bs-btn-border-width) solid var(--bs-btn-border-color);
    border-radius: var(--bs-btn-border-radius);
    background-color: var(--bs-btn-bg);
    transition: color .15s 
        ease-in-out, background-color .15s 
        ease-in-out, border-color .15s 
        ease-in-out, box-shadow .15s 
        ease-in-out; */
}

.btn-dark {
    background: var(--bg-dark);
    color: #fff;
}

.btn-light {
    background: var(--bg-light);
    border: 1px solid var(--bg-dark);
    color: #000;
}

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

.btn-thin {
    font-weight: normal;
}

.section-title {
    text-align: center;
    font-family: 'Wadik', sans-serif;
    font-size: 56px;
    font-weight: bold;
    margin: 0 24px 40px 24px;
}

@media (max-width: 1199px) {
    .section-title {
        font-size: 36px;
    }
}
@media (max-width: 575px) {
    .section-title {
        font-size: 28px;
        margin: 0 24px;
    }
}

/* Header */
/* Основные стили меню */
.menu-top {
    height: 120px;
    padding: 0 30px;
    position: fixed;
    width: 100vw;
    z-index: 20;
    left: 0;
    top: 0;
    display: flex;
    justify-content: center;
    transition: 0.15s;
}

.menu-top--wrap {
    width: 100%;
    max-width: 1640px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0;
    transition: 0.25s;
}

.menu-top--logo {
    display: flex;
    align-items: center;
}

.menu-top--logo img {
    height: 40px;
    transition: 0.25s;
}

.menu-top--nav {
    flex-grow: 1;
    margin: 0 0 0 30px;
    display: flex;
    justify-content: flex-end;
    color: var(--color-black);
}

.menu-top--nav-links {
    display: flex;
    align-self: center;
    justify-content: center;
    flex-grow: 1;
}

.menu-top--nav-links .menu-link {
    padding: 5px 0;
    margin: 0 40px;
    font-family: "Wadik", sans-serif;
    font-weight: bold;
    font-size: 30px;
    color: var(--color-black);
    text-decoration: none;
    position: relative;
    cursor: pointer;
    transition: 0.25s;
}

.menu-top--nav-links .menu-link:hover,
.menu-top--nav-links .menu-link.active {
    color: #ed0028;
}

.menu-top--contacts {
    margin-right: 20px;
    display: flex;
    align-items: center;
}

.menu-top--contacts-phone {
    font-size: 18px;
    font-weight: 300;
    text-decoration: none;
    color: var(--color-black);
    display: flex;
    align-items: center;
    line-height: 1;
}

.menu-top--contacts-phone:hover {
    color: #BDBDBD;
}

.menu-top--contacts-phone img {
    margin: 10px;
}

.menu-top--contacts-address {
    display: flex;
    align-items: center;
    margin-right: 80px;
}

.menu-top--contacts-address img {
    margin-right: 5px;
}

.menu-top--contacts-address ._anchor-link {
    color: var(--bg-dark);
    margin-left: 20px;
}

.menu-top--contacts-address ._anchor-link:hover {
    color: var(--bg-dark-light);
    text-decoration: none;
}

.menu-top--contacts-address ._point {
    display: flex;
    align-items: center;
    gap: 30px;
}

.menu-top--button {
    display: flex;
}

.menu-top--button svg {
    display: block;
    width: 50px;
    transition: 0.25s;
}

.menu-top--button svg path {
    transition: 0.25s;
}

.menu-top--button:hover svg path {
    fill: #C60021;
}

/* Стили для скролла */
.menu-top.menu-shrink,
.subpage .menu-top {
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
    background-color: var(--bg-gray-light);
}

.menu-top.menu-shrink .menu-top--logo img {
    height: 30px;
}

.menu-top.menu-shrink .menu-top--logo ._dealer strong {
    font-size: 14px;
}

.menu-top.menu-shrink .menu-top--logo ._dealer span {
    font-size: 12px;
}

.menu-top.menu-shrink .menu-top--button svg {
    width: 40px;
}

/* Медиа-запросы для десктопа */
@media (max-width: 1599px) {
    .menu-top--nav-links .menu-link {
        margin: 0 20px;
    }
}

@media (max-width: 1399px) {
    .menu-top--wrap {
        max-width: 100%;
    }
    
    .menu-top--nav-links .menu-link {
        font-size: 18px;
        margin: 0 15px;
    }
}

@media (max-width: 1299px) {
    .menu-top {
        font-size: 14px;
    }
    
    .menu-top--nav {
        margin-left: 15px;
    }
}

/* Мобильная версия (1199px и меньше) */
@media (max-width: 1199px) {
    .menu-top {
        height: 90px;
        color: #828282;
        padding: 0 15px;
    }
    
    .menu-top.menu-shrink,
    .subpage .menu-top {
        height: 50px;
    }
    
    .menu-top--wrap {
        align-items: center;
    }
    
    .menu-top--logo {
        flex-grow: 1;
        transform: translateX(40px);
    }
    
    .menu-top--logo img {
        height: 30px;
    }
    
    .menu-top--nav {
        height: calc(100vh - 50px);
        background-color: rgb(255, 255, 255, 0.9);
        backdrop-filter: blur(8px);
        display: flex;
        flex-direction: column;
        position: fixed;
        right: -200%;
        top: 50px;
        width: 350px;
        z-index: 11;
        padding: 30px 20px;
        margin: 0;
        transition: 0.25s;
    }
    
    .menu-top--nav.active {
        right: 0;
        transition: 0.25s;
    }
    
    .menu-top--nav-links {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        width: 100%;
        margin: 60px 0 30px;
        padding-right: 10px;
        border-bottom: 2px solid #BDBDBD;
        align-items: flex-end;
        order: 1;
    }
    
    .menu-top--nav-links .menu-link {
        padding: 15px 0;
        margin: 0;
        font-size: 18px;
        text-align: right;
    }
    
    .menu-top--contacts {
        display: flex;
        flex-direction: column;
        margin-bottom: 60px;
        margin-right: 0;
        font-size: 14px;
        align-items: flex-end;
        order: 2;
    }
    
    .menu-top--contacts-phone {
        order: 1;
        justify-content: end;
        margin-bottom: 30px;
        font-size: 28px;
        padding-bottom: 30px;
        border-bottom: 2px solid #BDBDBD;
        width: 100%;
    }
    
    .menu-top--contacts-address {
        order: 2;
        margin-right: 0;
        flex-direction: column;
        font-size: 16px;
        align-items: flex-end;
    }
    
    .menu-top--contacts-address ._point {
        margin-bottom: 15px;
        flex-direction: column;
        align-items: flex-end;
        gap: 10px;
    }
    
    .menu-top--button {
        display: none;
    }
    
    .menu-top--mobile-phone {
        display: flex;
        padding: 10px;
        z-index: 2;
    }
    
    .menu-top--mobile-phone img {
        width: 22px;
    }
    
    /* Оверлей для мобильного меню */
    .menu-top--nav-overlay:before {
        height: calc(100vh + 50px);
        background: rgb(0, 0, 0, 0.7);
        backdrop-filter: blur(8px);
        content: "";
        position: fixed;
        width: 0;
        right: 350px;
        top: 0;
    }
    
    body.menu-show {
        overflow: hidden;
    }
    
    body.menu-show .menu-top--nav {
        right: 0;
        overflow-y: auto;
        height: calc(100vh + 50px);
        margin-top: -50px;
        z-index: 9;
        transition: 0.25s;
    }
    
    body.menu-show .menu-top--nav-overlay:before {
        width: calc(100vw - 350px);
        transition: 0.3s;
        transition-delay: 0.2s;
    }
}

/* Дополнительные мобильные медиа-запросы */
/* @media (max-width: 767px) {
    body.menu-show .menu-top--nav {
        height: calc(100vh - 50px);
    }
} */

@media (max-width: 576px) {
    .menu-top {
        padding: 0 8px;
    }
}

@media (max-width: 399px) {
    .menu-top--nav {
        width: 100vw;
    }
    
    .menu-top--nav-overlay:before {
        display: none;
    }
}

@media (max-width: 349px) {
    .menu-top {
        padding: 0;
    }
}

/* Скрытие/показ элементов */
@media (min-width: 1200px) {
    .menu-top--nav-links {
        display: none;
    }
    
    .show-mob,
    .js-mob-btn,
    .menu-top--mobile-phone {
        display: none !important;
    }
}

@media (max-width: 1199px) {
    .show-mob,
    .js-mob-btn {
        display: inline-flex;
    }
    
    .js-mob-btn {
        width: 45px;
        height: 45px;
        padding: 12px;
    }
    
    .js-mob-btn .menu-open,
    .js-mob-btn .menu-close {
        display: none;
    }
    
    .js-mob-btn .menu-open.active,
    .js-mob-btn .menu-close.active {
        display: inline-flex;
        z-index: 10;
    }
}


/* Hero */
.hero {
    background-color: var(--bg-gray-light);
    padding: 120px 0 20px;
}

.hero-wrap {
    background: url(../img/hero-bg.jpg) no-repeat;
    border-radius: 40px;
    padding: 30px 210px;
    
    /* display: flex; */
}

@media (max-width: 1399px) {
    .hero-wrap {
        padding: 30px 50px;
    }
}
@media (max-width: 575px) {
    .hero-wrap {
        padding: 30px;
    }
}


.hero-wrap nav {
    background-color: rgba(0, 0, 0, 0.8);
    border-radius: 70px;
    min-height: 50px;
    vertical-align: middle;
    margin-bottom: 20px;
}
@media (max-width: 991px) {
    .hero-wrap nav {
        display: none;
    }
}

.hero-wrap nav ul {
    list-style-type: none;
    padding: 0;

    display: flex;
    justify-content: space-evenly;
}

.hero-wrap nav ul li {
    display: inline-block;
    margin: 15px 0;
}

.hero-wrap nav a {
    font-family: 'Wadik', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: var(--color-light);
    text-decoration: none;
}

.hero-text {
    max-width: 900px;
    margin-bottom: 35px;
}
.hero-text-conditions {
    font-family: 'Wadik', sans-serif;
    font-size: 38px;
    font-weight: 400;
    margin-bottom: 20px;
}
.hero-text-offer {
    font-family: 'Wadik', sans-serif;
    font-size: 48px;
    font-weight: bold;
}
.hero-text-extra {
    font-family: 'Wadik', sans-serif;
    font-size: 16px;
    font-weight: bold;
}



.hero-text ul {
    list-style-type: none;
    padding: 0;
}
.hero-text ul li {
    padding: 5px 0 5px 50px;
    background: url("../img/li-bg.svg") no-repeat 0 50%;
    text-transform: uppercase;
}

.hero-form-input,
.hero-form-button {
    margin-bottom: 20px;
}
.hero-form-input input {
    min-width: 367px;
    border: 1px solid rgba(0, 0, 0, 0.3);
    padding: 17px 15px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.4);
    color: rgba(0, 0, 0, 0.5);
    font-size: 16px;
    transition: 0.25s;
}
.hero-form-button button {
    min-width: 367px;
    font-family: 'Wadik', sans-serif;
    font-size: 20px;
    font-weight: normal;
}

.hero-form-agreement a {
    color: var(--color-black);
}
.hero-form-agreement a:hover {
    color: var(--color-gray);
}

.hero-form-agreement input[type=checkbox] {
    display: none;
}

.hero-form-agreement input[type=checkbox] + label, 
.hero-form-agreement input[type=checkbox] + span {
    padding-left: 30px;
    position: relative;
    cursor: pointer;

    /* top: -2px; */
    /* border: 1px solid rgba(255, 255, 255, 0.3); */
}

/* .section-top__form input[type=checkbox] + label:before, 
.section-top__form input[type=checkbox] + span:before {
    top: -2px;
    border: 1px solid rgba(255, 255, 255, 0.3);
} */
.hero-form-agreement input[type=checkbox] + label:before, 
.hero-form-agreement input[type=checkbox] + span:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 20px;
    height: 20px;
    border-radius: 6px;
    border: 1px solid rgba(23, 23, 23, 0.3);
    flex-shrink: 0;
}
input[type=checkbox] + label:hover:before,
input[type=checkbox] + span:hover:before {
  border-color: #171717;
}

input[type=checkbox]:checked + span:before,
input[type=checkbox]:checked + label:before {
  background-color: var(--bg-dark-light);
  border-color: #171717;
  background-image: url("../img/icon-check.svg");
  background-size: 10px 10px;
  background-repeat: no-repeat;
  background-position: 50% 50%;
}

@media (max-width: 1199px) {
    .hero-text-conditions {
        font-size: 28px;
    }
    .hero-text-offer {
        font-size: 34px;
    }
    .hero-text-extra {
        font-size: 14px;
    }
}

@media (max-width: 575px) {
    .hero-text-conditions {
        font-size: 20px;
    }
    .hero-text-offer {
        font-size: 26px;
    }
    .hero-text ul li {
        font-size: 14px;
    }
    .hero-form-input input,
    .hero-form-button button {
        min-width: unset;
        width: 100%;
    }
    .hero-form-button button {
        font-size: 17px;
    }
}


/* .section-top__form ul li {
padding: 5px 0 5px 50px;
background: url(../img/li-bg.svg) no-repeat 0 50%;
} */

.timer {
    background-color: var(--bg-gray-light);
    padding-bottom: 60px;
}

.timer-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--bg-dark-light);
    border-radius: 30px;
    padding: 25px 50px;
    color: var(--color-light);
}
@media (max-width: 1399px) {
    .timer-wrap {
        flex-direction: column;
        gap: 20px; /* отступ между блоками */
    }
}
@media (max-width: 1399px) {
    .timer-wrap {
        padding: 25px 10px;
    }
}

.timer-title {
    font-size: 28px; /* по макету 36px */
    max-width: 420px;
}
@media (max-width: 1599px) {
    .timer-title {
        font-size: 16px;
    }
    .timer-wrap button {
        font-size: 16px;
    }
}
@media (max-width: 1399px) {
    .timer-title {
        font-size: 28px;
        /* text-align: center; */
    }
    .timer-wrap button {
        font-size: 20px;
    }
}


.advantages {
    background-color: var(--bg-gray-light);
    padding-bottom: 50px;
    margin-bottom: 60px;
}

.advantages__list {
    display: flex;
    justify-content: space-between;
    gap: 90px; /* ? */
}

@media (max-width: 1199px) {
    .advantages__list {
        /* flex-wrap: wrap; */
        gap: 45px;
    }
}

@media (max-width: 991px) {
    .advantages__list {
        display: flex;
        flex-wrap: wrap;
        gap: 30px;
    }
    
    .advantages__point {
        flex: 0 0 calc(50% - 15px); /* 50% ширины минус половина gap */
        box-sizing: border-box;
    }
}

@media (max-width: 575px) {
    .advantages__list {
        gap: 10px;
    }
}

.advantages__point {
    width: calc(25% - 30px);
    text-decoration: none;
}
@media (max-width: 1199px) {
    .advantages__point {
      width: calc(25% - 10px);
    }
  }
  @media (max-width: 991px) {
    .advantages__point {
      width: calc(50% - 10px);
      margin-bottom: 20px;
    }
  }
  /* @media (max-width: 576px) {
    .advantages__point {
      display: flex;
      width: 100%;
      margin-bottom: 15px;
      padding: 15px;
    }
  } */

.advantages__point__icon {
    width: 36px;
    height: 36px;
    object-fit: contain;
    margin-bottom: 15px;
    flex-shrink: 0;
}
@media (max-width: 767px) {
    .advantages__point__icon {
      margin-bottom: 5px;
    }
  }
  @media (max-width: 576px) {
    .advantages__point__icon {
      margin-bottom: 0;
      margin-right: 15px;
    }
  }
  @media (max-width: 359px) {
    .advantages__point__icon {
      width: 40px;
      height: 40px;
    }
  }

.advantages__point__about {
    color: var(--color-gray);
}

/* .advantages__point__about ._title {
    font-size: 19px;
    font-weight: 600;
    color: #171717;
    margin-bottom: 10px;
} */

.advantages__point__about h4 {
    font-size: 22px;
    font-weight: normal;
    color: var(--color-black);
}
@media (max-width: 1399px) {
    .advantages__point__about h4 {
        font-size: 20px;
    }
}

@media (max-width: 575px) {
    .advantages__point__about h4 {
        font-size: 14px;
    }
}

.models {
    margin-bottom: 100px;
}

.models-tabs {
    display: flex;
    flex-wrap: wrap;
    margin-top: 50px;
    justify-content: space-between;
    gap: 9px;
    margin-bottom: 60px;
}

@media (max-width: 1199px) {
    .models-tabs {
        margin-bottom: 40px;
    }
}

@media (max-width: 767px) {
    .models-tabs {
        margin-bottom: 30px;
    }
}

.models-tabs .models-tabs-button {
    background-color: var(--bg-gray-light);
    color: var(--color-black);
    font-family: "Wadik", sans-serif;
    font-weight: bold;
    font-size: 16px;
    border-radius: 10px;
    cursor: pointer;
    margin: 2px;
    /* min-width: 200px; */
    padding: 16px;
    text-align: center;
    text-transform: uppercase;
    flex-grow: 1;
    transition: 0.25s;
    text-decoration: none;
}

.models-tabs .models-tabs-button:hover {
    background-color: rgba(23, 23, 23, 0.1);
}

.models-tabs .models-tabs-button._active {
    background-color: var(--bg-dark);
    color: var(--color-light);
}

@media (max-width: 991px) {
    .models-tabs .models-tabs-button {
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .models-tabs .models-tabs-button {
        min-width: 120px;
    }
}

@media (max-width: 379px) {
    .models-tabs .models-tabs-button {
        font-size: 12px;
        padding: 16px 6px;
    }
}


.credit {
    margin-bottom: 60px;
}

.credit-wrap {
    background-color: var(--bg-gray-light);
}

.credit-body {
    display: flex;
}
@media (max-width: 1199px) {
    .credit-body {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 575px) {
    .credit-body {
        margin-top: 20px;
    }
}

.credit-selection {
    padding-top: 60px;
    padding-right: 20px;
}

.credit-selection h3 {
    font-size: 26px;
    margin-top: 60px;
}

@media (max-width: 575px) {
    .credit-selection {
        padding-top: 0;
        padding-right: 0;
    }

    .credit-selection h3 {
        font-size: 20px;
        margin-top: 30px;
    }
}


.credit__tabs {
    display: flex;
    flex-wrap: wrap;
    margin: 20px 0 60px;
    justify-content: flex-start;
    gap: 9px;
}

@media (max-width: 1199px) {
    .credit__tabs {
        margin: 40px 0;
    }
}

@media (max-width: 767px) {
    .credit__tabs {
        margin-bottom: 30px;
    }
}

.credit-button {
    background-color: var(--bg-light);
    color: var(--color-black);
    font-family: "Wadik", sans-serif;
    font-weight: bold;
    font-size: 16px;
    border-radius: 10px;
    cursor: pointer;
    margin: 2px;
    /* min-width: 200px; */
    padding: 16px;
    text-align: center;
    text-transform: uppercase;
    transition: 0.25s;
}

.credit-button:hover {
    background-color: rgba(23, 23, 23, 0.1);
}

.credit-button._active {
    background-color: var(--bg-dark);
    color: var(--color-light);
}

@media (max-width: 991px) {
    .credit-button {
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 14px;
    }
}



@media (max-width: 379px) {
    .credit-button {
        font-size: 12px;
        padding: 16px 6px;
    }
}

.credit-form {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 140px;
    position: relative;
}

.credit-form-box {
    display: flex;
    flex-direction: column;
    position: relative;
    background-color: var(--bg-light);
    border-radius: 30px 30px 0 0;
    width: 560px;
    padding: 70px 27px 30px 27px;
    /* min-height: 400px; Фиксированная высота для выравнивания */
}
.credit-form-box-image {
    position: absolute;
    top: -100px;
    left: 0;
    z-index: 10;
    text-align: center;
    width: 100%;
}

.credit-form-box-image img {
    width: auto;
}

@media (max-width: 575px) {
    .credit-form-box {
        width: auto;
    }
    .credit-form-box-image img {
        width: 340px;
    }
    /* .credit-button {
        min-width: 120px;
    } */
}

.credit-form-box-payment input {
    width: 100%;
    border: 1px solid rgba(0, 0, 0, 1);
    padding: 17px 15px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 1);
    color: rgba(0, 0, 0, 0.5);
    font-size: 16px;
    transition: 0.25s;
}


.credit-form-box-button {
    margin-top: 20px;
}

section.credit .credit-form__ranges,
section.trade-in .credit-form__ranges {
  display: flex;
  gap: 10px;
  margin-bottom: 50px;
}
@media (max-width: 1199px) {
  section.credit .credit-form__ranges,
  section.trade-in .credit-form__ranges {
    flex-direction: column;
    margin-bottom: 30px;
  }
}
section.credit .credit-form__ranges .form__range,
section.trade-in .credit-form__ranges .form__range {
  padding: 20px;
  background-color: #fff;
  width: calc(50% - 5px);
}
@media (max-width: 1199px) {
  section.credit .credit-form__ranges .form__range,
  section.trade-in .credit-form__ranges .form__range {
    width: 100%;
  }
}
section.credit .credit-form__ranges .form__range__title,
section.trade-in .credit-form__ranges .form__range__title {
  flex-direction: column;
}
section.credit .credit-form__ranges .form__range__current,
section.trade-in .credit-form__ranges .form__range__current {
  align-self: center;
}
.credit-form-box-term {
    margin-top: 30px;
}
.form__range__title {
  font-size: 16px;
  color: var(--color-main);
  margin-bottom: 20px;
}
.form__range__interval {
    font-size: 12px;
    display: flex;
    justify-content: space-between;
    color: var(--color-main);
  }
.form__range__current {
  display: flex;
  justify-content: center;
  font-size: 18px;
  color: #181818;
  margin-top: 15px;
  margin-bottom: 5px;
  white-space: nowrap;
}
.form__range__current i {
  font-size: 0.95em;
  margin-left: 4px;
  font-weight: 500;
}
.form__range__values {
    text-align: center;
}
.form__range__values i {
  font-size: 0.95em;
  margin-left: 4px;
}
.form__range__payment {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}
.form__range__payment .payment-total {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.2;
  color: #C60021;
  margin-left: 15px;
  white-space: nowrap;
}
.form__range input[type=range] {
  -webkit-appearance: none;
  width: 100%;
  margin: 0;
  background-color: transparent;
  padding: 0;
  border: none;
  height: auto;
}
.form__range input[type=range]::-webkit-slider-runnable-track {
  max-width: 100%;
  height: 2px;
  border: none;
  background-color: #D7D7D7;
  border-radius: 5px;
}
.form__range input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  border: 1px solid var(--color-black);
  height: 16px;
  width: 16px;
  border-radius: 20px;
  background-color: var(--bg-light);
  margin-top: -8px;
  cursor: grab;
}
.form__range input[type=range]::-webkit-slider-thumb:hover {
  background-color: var(--bg-dark-light);
  transition: 0.25s;
}
.form__range input[type=range]::-moz-range-track {
  max-width: 100%;
  height: 2px;
  border: none;
  background-color: #fff;
  border-radius: 5px;
}
.form__range input[type=range]::-moz-range-thumb {
  -webkit-appearance: none;
  border: 1px solid #fff;
  height: 16px;
  width: 16px;
  border-radius: 20px;
  background-color: #2B2B2B;
  margin-top: -8px;
  cursor: grab;
}

.credit-form-box-button a {
    display: block;
}


/* Трейд-ин */

.tradein {
    margin-bottom: 80px;
    
}

.tradein-wrap {
    background-image: url(../img/tradein-bg.jpg);
    background-color: #f6f6f8;
    background-repeat: no-repeat;
    border-radius: 30px;
    padding: 60px 100px;
    position: relative;
    z-index: 1;
    min-height: 498px;
}

.tradein-wrap::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url(../img/tradein-mask.png) no-repeat center center;
    background-size: cover;
    border-radius: 30px;
    z-index: -1;
    opacity: 0.8;
}

.tradein-title {
    font-family: 'Wadik', sans-serif;
    font-size: 35px;
    font-weight: normal;
    margin-bottom: 30px;
}

.tradein-text {
    font-family: 'Onest', sans-serif;
    font-size: 20px;
    font-weight: normal;
    margin-bottom: 50px;
}

.tradein-button button {
    padding: 15px 110px;
}

@media (max-width: 991px) {
    .tradein-wrap {
        background-image: url(../img/tradein-bg-sm.jpg);
        background-size: 100% auto;
        background-position: center bottom;
        padding: 60px 30px;
        min-height: 998px;
    }
    .tradein-wrap::before {
        display: none;
    }
    .tradein-button button {
        width: 100%;
    }
}

@media (max-width: 767px) {
    .tradein-wrap {
        padding: 60px 30px;
        min-height: 808px;
    }
    .tradein-title {
        font-size: 26px;
        margin-bottom: 20px;
    }
    .tradein-text {
        font-size: 18px;
        margin-bottom: 30px;
    }
}

@media (max-width: 575px) {
    .tradein-wrap {
        padding: 30px;
        min-height: 568px;
    }
    .tradein-title {
        font-size: 16px;
        margin-bottom: 20px;
    }
    .tradein-text {
        font-size: 14px;
        margin-bottom: 30px;
    }
    .tradein-button button {
        padding: 15px;
        font-size: 16px;
    }
}


/* Контакты */
.contacts {
    margin-bottom: 60px;
    position: relative;
    overflow: hidden;
}

/* Общий стиль блоков */
.block {
    display: flex;
    align-items: stretch;
    margin: 30px 0;
    border: 1px solid #8F8F8F;
    height: 450px;
}

/* Блок, выходящий за левый край */
.block-left {
    width: 1460px;
    margin-right: calc((1320px - 1700px) / 2);
    border-radius: 30px 30px 30px 0;
    overflow: hidden;
}

/* Блок, выходящий за правый край */
.block-right {
    width: 1460px;
    margin-left: calc((1320px - 1700px) / 2);
    border-radius: 0 30px 30px 30px;
    overflow: hidden;
}

/* Область с картой */
.map-area {
    width: 638px; /* фиксированная ширина карты */
    height: 100%;
    flex: 0 0 auto;
    margin-top: -20px;
}

/* Текстовая часть */
.block .text {
    width: 822px; /* 1460px - 638px = 822px */
    padding: 40px 50px;
    flex: 0 0 auto;
}

/* Специфичный отступ для текста в block-right */
.block-right .text {
    padding: 40px 50px 40px 250px;
}

.block .text h3 {
    font-size: 46px;
    line-height: 1;
    font-weight: normal;
    margin-bottom: 20px;
}

.block .text .map-subtitle {
    font-family: "Onest";
    font-size: 24px;
    font-weight: normal;
    margin-bottom: 25px;
}

/* Стили для точек информации */
.map-info-point {
    margin-bottom: 30px;
    font-family: "Onest", sans-serif;
    font-weight: normal;
    font-size: 20px;
}

.map-info-point-phone {
    font-size: 18px;
    display: flex;
    align-items: center;
    margin-bottom: 5px;
}

.map-info-point-geo {
    margin-bottom: 5px;
    align-items: center;
    display: flex;
}

/* Иконки */
.map-info-point-phone::before {
    content: "";
    display: inline-flex;
    align-items: center;
    width: 24px;
    height: 24px;
    margin-right: 9px;
    background-image: url(../img/icon-phone.svg);
    filter: invert(86%) sepia(0%) saturate(633%) hue-rotate(317deg) brightness(99%) contrast(67%);
    background-size: contain;
    background-repeat: no-repeat;
}

.map-info-point-geo::before {
    content: "";
    display: inline-flex;
    align-items: center;
    width: 21px;
    height: 21px;
    margin-right: 9px;
    background-image: url(../img/icon-geo.svg);
    filter: invert(86%) sepia(0%) saturate(633%) hue-rotate(317deg) brightness(99%) contrast(67%);
    background-size: contain;
    background-repeat: no-repeat;
}

/* Ссылки */
.map-info-point-phone a {
    color: var(--color-black);
    text-decoration: none;
    font-size: 28px;
    font-weight: 300;
}

.map-info-point-phone a:hover {
    color: var(--color-black);
}

.map-info-point-call a,
.map-info-point-howget a {
    color: var(--color-black);
}

.map-info-point-call a:hover,
.map-info-point-howget a:hover {
    color: var(--color-gray);
}

.map-info-point-call {
    margin-left: 36px;
}

.map-info-point-howget {
    margin-left: 28px;
}

/* Футер карты */
.map-info__footer {
    margin-top: 30px;
}

/* Стили для Яндекс.Карт */
.block-left .map-area ymaps {
    border-radius: 30px 30px 30px 0 !important;
}
.block-right .map-area ymaps {
    border-radius: 30px !important;
}

/* Адаптивность */
@media (max-width: 1699px) {
    .block-left,
    .block-right {
        width: 1272px;
    }
    
    .block-left {
        margin-right: calc((1320px - 1272px) / 2); /* 24px */
    }
    
    .block-right {
        margin-left: calc((1320px - 1272px) / 2 - 24px); /* 0px */
    }

    .block-right .text {
        padding: 40px 50px;
    }

    .block .text {
        width: 632px;
        padding: 25px 35px;
    }
}

@media (max-width: 1399px) {
    .contacts {
        padding: 50px 0;
    }
    
    .block-left,
    .block-right {
        width: 100%;
        margin: 0;
        flex-direction: column;
        height: auto;
        border-radius: 20px;
        border: 1px solid #8F8F8F;
    }

    .block-left {
        margin-bottom: 30px;
    }

    .block .text {
        order: 2;
        padding: 20px;
        margin: 30px 20px;
        width: auto;
    }

    .block-right .text {
        padding: 20px;
    }

    .map-area {
        width: 100%;
        height: 520px;
        min-height: 520px;
        order: 1;
    }
    
    .block-left .map-area ymaps,
    .block-right .map-area ymaps {
        border-radius: 20px 20px 0 0 !important;
    }
}

@media (max-width: 767px) {
    .map-area {
        width: 100%;
        height: 320px;
        min-height: 320px;
        order: 1;
    }

    .block .text h3 {
        font-size: 32px;
    }
}

@media (max-width: 575px) {
    .contacts {
        padding: 30px 0;
    }
    
    .block .text {
        padding: 15px;
        margin: 0;
    }

    .block .text h3 {
        font-size: 24px;
        margin-top: 20px;
    }

    .block .text .map-subtitle {
        font-size: 20px;
    }

    .map-info-point {
        font-size: 16px;
    }

    .map-info-point-phone a {
        font-size: 22px;
    }

    .map-info-point-geo {
        margin-bottom: 5px;
    }

    .map-info__footer a {
        display: block;
        width: 100%;
    }
    
    .map-info-point-call,
    .map-info-point-howget {
        margin-left: 0;
        margin-top: 10px;
    }
}





.disclaimer {
    margin-bottom: 90px;
}

.footer {
    color: var(--color-light);
    font-weight: 300;
}

.footer a {
    color: var(--color-light);
    text-decoration: underline;
}
.footer a:hover {
    color: var(--color-gray-light);
    text-decoration: none;
}

.footer-top {
    background-color: var(--bg-dark-light);
    padding: 50px 0 35px;
}
.footer-top-wrap {
    display: flex;
    justify-content: space-between;
}
@media (max-width: 575px) {
    .footer-top-wrap {
        flex-direction: column;
    }
}

.footer__contacts {
    font-family: "Onest";
    font-weight: 300;
}
.footer__contacts-point {
    margin-bottom: 10px;
}
.footer__contacts-point:first-child {
    margin-bottom: 20px;
}

.footer__contacts-point-phone {
    font-size: 18px;
}
.footer__contacts-point-phone::before {
    content: "";
    display: inline-flex;
    align-items: center;
    width: 19px;
    height: 19px;
    margin-right: 9px;
    padding-top: 12px;
    background-image: url(../img/icon-phone.svg);
    filter: brightness(0) saturate(100%) invert(100%) sepia(5%) saturate(7499%) hue-rotate(175deg) brightness(109%) contrast(104%);
    background-size: contain;
    background-repeat: no-repeat;
}
.footer__contacts-point-phone a {
    color: var(--color-light);
    text-decoration: none;
    font-size: 22px;
    
    text-decoration: none;
}
.footer__contacts-point-phone a:hover {
    color: var(--color-gray-light);
}

.footer__contacts-point-geo::before {
    content: "";
    display: inline-flex;
    align-items: center;
    width: 19px;
    height: 19px;
    margin-right: 9px;
    padding-top: 12px;
    background-image: url(../img/icon-geo.svg);
    filter: brightness(0) saturate(100%) invert(100%) sepia(5%) saturate(7499%) hue-rotate(175deg) brightness(109%) contrast(104%);
    background-size: contain;
    background-repeat: no-repeat;
}

.footer__contacts-point-call,
.footer__contacts-point-howget {
    margin-left: 28px;
}

.footer__menu {
    column-count: 3;
    width: 50%;
}
@media (max-width: 991px) {
    .footer__menu {
        column-count: 2;
    }
}
@media (max-width: 767px) {
    .footer__menu {
        width: 100%;
        margin-top: 20px;
    }
}

.footer__menu .menu-link {
    font-size: 16px;
    text-decoration: none;
    display: flex;
    margin-bottom: 15px;
}

.footer-bottom {
    background-color: var(--bg-dark);
    padding: 30px 0;
}
.footer-bottom-credits {
    display: flex;
    justify-content: space-between;
    align-items: start;
}

.footer-bottom-logo {
    padding: 3px 0;
}
footer-bottom-copyright {
    
}
.footer-bottom-copyright p {
    margin-top: 0;
    text-align: right;
}

@media (max-width: 575px) {
    .footer-bottom-credits {
        flex-direction: column;
    }
    .footer-bottom-copyright p {
        margin-top: 20px;
        text-align: left;
    }
}




/*start stock*/
.stock {
    padding-bottom: 100px;
}

@media (max-width: 1199px) {
    .stock {
        padding: 50px 0;
    }
}

@media (max-width: 576px) {
    .stock {
        padding: 30px 0;
    }
}

.stock__tabs {
    display: flex;
    flex-wrap: wrap;
    margin-top: 50px;
    justify-content: space-between;
    gap: 9px;
}

@media (max-width: 1199px) {
    .stock__tabs {
        margin: 40px 0;
    }
}

@media (max-width: 767px) {
    .stock__tabs {
        margin-bottom: 30px;
    }
}

.stock__tabs .stock__tabs__button {
    background-color: var(--bg-gray-light);
    color: var(--color-black);
    font-family: "Wadik", sans-serif;
    font-weight: bold;
    font-size: 16px;
    border-radius: 10px;
    cursor: pointer;
    margin: 2px;
    /* min-width: 200px; */
    padding: 16px;
    text-align: center;
    text-transform: uppercase;
    flex-grow: 1;
    transition: 0.25s;
}

.stock__tabs .stock__tabs__button:hover {
    background-color: rgba(23, 23, 23, 0.1);
}

.stock__tabs .stock__tabs__button._active {
    background-color: var(--bg-dark);
    color: var(--color-light);
}

@media (max-width: 991px) {
    .stock__tabs .stock__tabs__button {
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .stock__tabs .stock__tabs__button {
        min-width: 120px;
    }
}

@media (max-width: 379px) {
    .stock__tabs .stock__tabs__button {
        font-size: 12px;
        padding: 16px 6px;
    }
}

/* ИЗМЕНЕНИЯ ДЛЯ ВЕРТИКАЛЬНЫХ КАРТОЧЕК */
.stock__table {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 40px;
    position: relative;
}

.stock__table:not(._active) {
    display: none;
}

.stock__table__row {
    display: flex;
    flex-direction: column;
    position: relative;
    background-color: var(--bg-gray-light);
    border-radius: 30px;
    width: calc(33.333% - 20px);
    padding: 70px 27px 30px 27px;
    /* min-height: 400px; Фиксированная высота для выравнивания */
    margin-top: 140px;
}

@media (max-width: 1199px) {
    .stock__table {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 20px; /* место для скролла */
    }
    .stock__table__row {
        /*width: calc(50% - 10px);  2 колонки на планшетах */
        flex-shrink: 0;
    }
}

@media (max-width: 767px) {
    .stock__table__row {
        width: 100%; /* 1 колонка на мобильных */
        flex-direction: column;
    }
}

/* Адаптация существующих стилей для вертикального расположения */
.stock__table-image {
    position: absolute;
    top: -100px;
    left: 0;
    z-index: 10;
}

.stock__table-image img {
    width: auto;
    min-width: 408px;
}
@media (max-width: 1399px) {
    .stock__table-image img {
        width: 340px;
        min-width: auto;
    }
}

.stock__table-name {
    width: 100%;
    padding: 20px 20px 10px 20px;
    display: flex;
    flex-direction: column;
    text-transform: uppercase;
}

.stock__table-name-model {
    font-size: 42px;
    font-weight: bold;
    margin-bottom: 8px;
}

@media (max-width: 1199px) {
    .stock__table-name-model {
        font-size: 16px;
    }
}

.stock__table-name-equip {
    font-size: 25px;
    font-weight: normal;
}

@media (max-width: 1199px) {
    .stock__table-name-equip {
        font-size: 14px;
    }
}

.stock__table-options {
    color: #646464;
    flex-grow: 1;
    padding: 20px;
}

.stock__table-options ul {
    list-style-position: inside;
    -moz-column-count: 1;
    -webkit-column-count: 1;
    column-count: 1;
    margin: 0;
    padding: 0;
    list-style-type: none;
}

.stock__table-options ul li {
    position: relative;
    margin-bottom: 8px;
    font-family: "Wadik", sans-serif;
    font-weight: bold;
    font-size: 25px;
    color: var(--color-black);
}

.stock__table-options ul li:before {
    content: "";
    display: inline-flex;
    align-items: center;
    width: 49px;
    height: 49px;
    margin-right: 19px;
    padding-top: 12px;
    background-size: contain;
    background-repeat: no-repeat;
}
.stock__table-options ul li.engine:before {
    background-image: url(../img/icon-engine.svg);
}
.stock__table-options ul li.gearbox:before {
    background-image: url(../img/icon-gearbox.svg);
}
.stock__table-options ul li.drive:before {
    background-image: url(../img/icon-drive.svg);
}

@media (max-width: 575px) {
    .stock__table-options ul li {
        font-size: 20px;
    }
}

.stock__table ._buttons {
    flex-grow: 0;
    padding: 0 20px 20px 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.stock__table ._buttons .page-btn {
    margin-right: 0;
    flex-grow: 1;
    width: 100%;
    text-align: center;
}

/* Убираем медиа-запросы которые больше не нужны */
@media (max-width: 991px) {
    .stock__table-image,
    .stock__table-name,
    .stock__table-options,
    .stock__table ._buttons {
        order: unset;
        width: 100%;
    }
    
    .stock__table-options ul {
        -moz-column-count: 1;
        -webkit-column-count: 1;
        column-count: 1;
        padding-left: 0;
    }
}

@media (max-width: 459px) {
    .stock__table ._buttons {
        flex-direction: column;
        padding: 0 15px 15px;
    }

    .stock__table ._buttons .page-btn {
        margin-right: 0;
        margin-bottom: 10px;
    }

    .stock__table ._buttons .page-btn:last-child {
        margin-bottom: 0;
    }
}

/* Остальные стили остаются без изменений */
.stock-tabs-slider .owl-nav [class*=owl-] span {
    font-size: 50px;
    line-height: 0.5;
}

.stock-tabs-slider .owl-nav .owl-next {
    right: -25px;
}

.stock-tabs-slider .owl-nav .owl-prev {
    left: -25px;
}

/*end stock*/


/* МОДЕЛЬНЫЙ РЯД */

.model__image .owl-carousel,
.model__thumbs .owl-carousel {
    position: relative;
}

.model__image .owl-stage-outer,
.model__thumbs .owl-stage-outer {
    border-radius: 20px;
}

.models__title {
}

.models__container {
}

.models__tabs {
    display: flex;
}

.models__tab-button {
    /* стили для кнопок вкладок */
}

.model {
    margin-bottom: 60px;
}

.model__desktop-version {
    display: flex;
}

.model:nth-child(odd) .model__left {
    order: 2;
    clip-path: polygon(100% 0, /* правый верхний */ 
        40px 0, /* начало левого верхнего среза */ 
        0 40px, /* конец левого верхнего среза */ 
        0 100%, /* левый нижний */ 
        100% 100% /* правый нижний */);
    border-radius: 0 20px 20px 20px;
}
.model:nth-child(odd) .offer-right {
    order: 1;
}

.model__left {
    background: #f6f6f8;
    padding: 30px 25px;
    position: relative;
    clip-path: polygon(
        0 0,                    /* левый верхний */
        calc(100% - 40px) 0,   /* начало правого верхнего среза */
        100% 40px,             /* конец правого верхнего среза */
        100% 100%,             /* правый нижний */
        0 100%                 /* левый нижний */
    );
    border-radius: 20px 0 20px 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.model__content {
}

.model__title {
    font-size: 42px;
    margin: 0 0 20px 13px;
    font-weight: normal;
}

.model__title-accent {
    font-weight: bold;
}

.model__benefit {
    font-family: "Wadik";
    font-size: 22px;
    font-weight: bold;
    padding: 20px 0;
    margin-bottom: 47px;
    border-top: 1px solid #cacaca;
    border-bottom: 1px solid #cacaca;
    display: flex;
    gap: 15px;
    align-items: center;
}

.model__benefit-icon {
}

.model__benefit-text {
}

.model__features {
    list-style-position: inside;
    -moz-column-count: 1;
    -webkit-column-count: 1;
    column-count: 1;
    margin: 0 0 0 13px;
    padding: 0;
    list-style-type: none;
}

.model__feature {
    position: relative;
    margin-bottom: 38px;
    font-family: "Onest", sans-serif;
    font-weight: normal;
    font-size: 22px;
    color: var(--color-black);
}

.model__feature--price {
    text-transform: uppercase;
}

.model__feature:before {
    content: "";
    display: inline-flex;
    align-items: center;
    width: 30px;
    height: 30px;
    margin-right: 19px;
    padding-top: 12px;
    background-size: contain;
    background-repeat: no-repeat;
}

.model__feature--price:before {
    background-image: url(../img/advantage-price.svg);
}

.model__feature--stock:before {
    background-image: url(../img/advantage-stock.svg);
}

.model__feature--fast:before {
    background-image: url(../img/advantage-fast.svg);
}

.model__feature--dealer:before {
    background-image: url(../img/advantage-dealer.svg);
}

.model__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.model__buttons .btn {
    cursor: pointer;
    white-space: nowrap;
    flex-grow: 1;
    flex-shrink: 0;
}

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

.model__plank {
    background: #f6f6f8;
    border-radius: 0 30px 30px 0;
    margin-top: 40px;
    padding: 15px 0;
    font-family: "Wadik";
    font-size: 16px;
    font-weight: normal;
    display: flex;
    justify-content: space-around;
}
.model:nth-child(odd) .model__plank {
    border-radius: 30px 0 0 30px;
}

.model__plank-left {
}

.model__plank-accent {
    font-weight: bold;
}

.model__plank-right {
}

.model__slider {
    margin-top: 15px;
    margin-left: 15px;
    width: 640px;
}
.model:nth-child(odd) .model__slider {
    margin-right: 15px;
    margin-left: 0;
}

.model__right-corn {
    background: url('../img/corn-odd.png') no-repeat left top;
}
.model:nth-child(odd) .model__right-corn {
    background: url('../img/corn-even.png') no-repeat right top;
}

.swiper-slide {
    width: auto !important;
}

.model__image,
.model__thumbs {
    line-height: 0;
}

.model__image .swiper,
.model__thumbs .swiper {
    max-width: 640px;
}

.model__image {
    margin-bottom: 15px;
    border-radius: 20px;
}

.model__image-main {
    width: 100%;
    max-width: 640px;
    height: auto;
    border-radius: 20px;
}

.model__thumbs {
}

.model__thumbs .swiper-wrapper {
    justify-content: flex-start !important;
}

.model__thumbs .swiper-slide-thumb-active .model__thumb {
    border: 2px solid var(--bg-dark-light);
}

.model__thumb {
    width: 100%;
    max-width: 120px;
    border-radius: 20px;
    cursor: pointer;
    transition: opacity 0.3s ease;
}
.model__thumb:hover {
    opacity: 0.8;
}

.model__mobile-version {
    display: none;
}

@media (max-width: 1199px) {
    .model__desktop-version {
        display: none;
    }
    
    .model__mobile-version {
        display: flex;
        flex-direction: column;
        overflow: hidden;
        background-color: var(--bg-gray-light);
        padding: 35px 25px;
        border-radius: 30px;
    }

    .model__mobile-version .model__title {
        order: 1;
        margin-bottom: 20px;
        text-align: center;
        font-size: 26px;
    }

    .model__mobile-version .model__benefit {
        order: 2;
        margin-bottom: 20px;
        justify-content: center;
    }
    
    .model__mobile-version .model__plank {
        order: 3;
        border-radius: 0;
        margin-top: 0;
        margin-bottom: 20px;
        justify-content: space-between;
    }

    .model__mobile-version .model__slider {
        order: 4;
        margin: 0 0 20px 0;
        width: 100%;
    }

    .model__mobile-version .main-swiper-mobile {
        width: 100% !important;
    }
    
    .model__mobile-version .main-swiper-mobile .swiper-wrapper {
        width: 100% !important;
    }
    
    .model__mobile-version .main-swiper-mobile .swiper-slide {
        width: 100% !important;
    }

    .model__mobile-version .model__image-main {
        width: 100%;
        height: auto;
        display: block;
    }

    .model__mobile-version .thumbs-swiper-mobile {
        width: 100% !important;
        margin-top: 15px;
    }
    
    .model__mobile-version .thumbs-swiper-mobile .swiper-wrapper {
        width: auto !important;
        justify-content: center;
    }
    
    .model__mobile-version .thumbs-swiper-mobile .swiper-slide {
        width: 100px !important;
        flex-shrink: 0;
    }

    .model__mobile-version .model__thumb {
        width: 100px;
        height: 75px;
        object-fit: cover;
        display: block;
    }

    .model__mobile-version .model__thumbs .swiper-slide-thumb-active .model__thumb {
        border: 2px solid var(--bg-dark-light);
    }
    
    .model__mobile-version .model__features {
        order: 5;
        margin: 0;
    }
    
    .model__mobile-version .model__buttons {
        order: 6;
    }
}

@media (max-width: 575px) {
    .model__feature {
        /* margin-bottom: 8px; */
        margin: 25px 0;
        font-size: 16px;
    }
    
    .model__feature:before {
        width: 20px;
        height: 20px;
        margin-right: 12px;
    }
    
    .model__benefit {
        font-size: 16px;
    }
    
    .model__buttons .btn {
        width: 100%;
        white-space: normal;
    }
}



/* Modal */
@media (min-width: 620px) {
    #callModal .modal-dialog.modal-sm {
      width: 400px;
    }
  }
.modal {
    overflow: hidden;
    opacity: 0;
    position: fixed;
    z-index: -1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(101.43deg, rgba(0, 0, 0, 0.24) -5.15%, rgba(0, 0, 0, 0.04) 104.36%);
    backdrop-filter: blur(8px);
    overflow-y: auto; /* Разрешаем скролл модального окна */
    -webkit-overflow-scrolling: touch; /* Плавный скролл на iOS */
  }
  .modal .close {
    padding: 10px;
    cursor: pointer;
    position: absolute;
    right: 0;
    top: 0;
    opacity: 0.6;
    transition: 0.25s;
  }
  .modal .close:hover {
    opacity: 1;
    transition: 0.25s;
  }
  .modal .close img {
    width: 20px;
    height: 20px;
  }
  .modal-dialog {
    position: absolute;
    left: 50%;
    top: -100%;
    transform: translateX(-50%);
    height: auto;
    width: calc(100vw - 30px);
    background-color: #F6F6F8;
    transition: 0.25s;
    max-height: calc(100vh - 40px); /* Ограничиваем высоту */
    overflow-y: auto; /* Скролл внутри модального окна */
  }
  @media (min-width: 1150px) {
    .modal-dialog {
      max-width: 1000px;
      width: 100%;
    }
  }
  .modal.modal-open {
    display: block;
    overflow: visible;
    opacity: 1;
    z-index: 100;
    transition: 0.25s;
    overflow: hidden; /* Блокируем скролл body */
  }
  .modal.modal-open .modal-dialog {
    top: 75px;
    border-radius: 5px;
    transition: 0.25s ease-in-out;
    transition-delay: 0.25s;
  }
  @media (max-width: 1399px) {
    .modal.modal-open .modal-dialog {
      top: 60px;
    }
  }
  .modal.modal-open .modal-dialog.modal-sm {
    top: 45%;
    transform: translate(-50%, -50%);
  }

  .modal-header {
    padding: 0 30px;
    border: 0;
    margin-bottom: 30px;
  }
  @media (max-width: 991px) {
    .modal-header {
      margin-bottom: 15px;
    }
  }
  @media (max-width: 499px) {
    .modal-header {
      padding: 15px 15px 0 15px;
    }
  }
  .modal-body {
    padding: 0 30px 35px 30px;
    overflow: visible; /* Убираем скролл у body, он будет у всего dialog */
  }
  @media (max-width: 499px) {
    .modal-body {
      padding: 0 15px 50px 15px;
    }
  }
  .modal-title {
    color: var(--color-black);
    font-size: 22px;
    font-weight: 600;
    line-height: 1;
    margin-bottom: 14px;
  }
  @media (max-width: 1366px) {
    .modal-title {
      font-size: 30px;
    }
  }
  @media (max-width: 767px) {
    .modal-title {
      font-size: 24px;
    }
  }
  .modal-subtitle {
    color: var(--color-main);
    font-size: 16px;
  }
  @media (max-width: 767px) {
    .modal-subtitle {
      font-size: 14px;
    }
  }
  .modal-text {
    padding-top: 15px;
  }
  .modal-button {
    display: flex;
    justify-content: center;
    position: relative;
  }
  .modal-button button {
    width: 100%;
  }
  .modal-button button:disabled {
    transition: none;
  }
  .modal-button button:disabled:after, .modal-button button:disabled:before {
    display: none;
  }
  .modal-form {
    margin-top: 20px;
  }
  @media (max-width: 991px) {
    .modal-form {
      margin-top: 10px;
    }
  }
  .modal-form--wrap {
    display: flex;
    flex-direction: column;
    margin-bottom: 16px;
  }
  .modal-input {
    width: 100%;
  }
  .modal-input input {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 17px 15px;
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.4);
    color: #fff;
    font-size: 16px;
    transition: 0.25s;
  }
  @media (max-width: 1199px) {
    .modal-input input {
      padding: 18px 15px;
    }
  }
  @media (max-width: 991px) {
    .modal-input input {
      padding: 16px 15px;
    }
  }
  .modal-input input:hover, .modal-input input:focus {
    border-color: white;
    transition: 0.25s;
  }
  .modal-input input::placeholder {
    color: rgba(255, 255, 255, 0.5);
    transition: 0.25s;
  }
  .modal-input input.error {
    border-color: red;
  }
  .modal-input--label {
    font-size: 14px;
    margin-bottom: 4px;
    color: #828282;
  }
  .modal-check {
    display: flex;
    align-items: flex-start;
    font-size: 14px;
    font-weight: 300;
    margin-top: 15px;
  }
  @media (max-width: 650px) {
    .modal-check {
      font-size: 14px;
    }
  }
  @media (max-width: 499px) {
    .modal-check {
      font-size: 12px;
    }
  }
  .modal-check.trembling {
    animation: 1.2s ease-in-out 0s normal none running trembling-animation;
  }
  .modal .modal-input input {
    background: #fff;
    color: #171717;
    border-color: rgba(23, 23, 23, 0.3);
  }
  .modal .modal-input input:hover, .modal .modal-input input:focus {
    border-color: #171717;
    transition: 0.25s;
  }
  .modal .modal-input input::placeholder {
    color: rgba(23, 23, 23, 0.5);
    transition: 0.25s;
  }
  .modal .modal-input input.error {
    border-color: red;
  }
  
  /* .js-btn-submit.js-disabled:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: transparent;
    z-index: 10;
  } */

.js-btn-submit.js-disabled {
    pointer-events: none;
    opacity: 0.6;
}
  
  .label-agreement {
    display: flex;
    align-items: flex-start;
    color: var(--color-gray);
  }
  .label-agreement a {
    color: var(--color-black);
  }
  .label-agreement a:hover {
    color: var(--color-black);
    text-decoration: none;
  }
  
  @media (max-width: 499px) {
    .modal-dialog.modal-sm .modal-body {
      padding: 0 15px 30px 15px;
    }
  }