@charset "UTF-8";

.top__offer {
    display: flex;
    gap: 41px;
    margin-top: 120px;
    margin-bottom: 66px;
    padding: 0 15px;
    position: relative;
}

@media screen and (max-width: 1200px) {
    .top__offer {
        margin-top: 60px;
        margin-bottom: 40px;
    }
}

@media screen and (max-width: 1200px) {
    .top__offer {
        flex-direction: column-reverse;
        max-width: 486px;
        width: 100%;
    }
}

.top__offer-form {
    max-width: 486px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.top__offer-form .title {
    font-family: var(--font-medium);
    font-size: 44px;
    line-height: 48.4px;
    color: var(--black);
}

@media screen and (max-width: 800px) {
    .top__offer-form .title {
        font-size: 30px;
        line-height: 33px;
    }
}

.top__offer-form .form-offer-top {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 14px;
}

.top__offer-form .form-offer-top fieldset:not(.end) {
    display: flex;
    gap: 10px;
}

@media screen and (max-width: 1200px) {
    .top__offer-form .form-offer-top fieldset:not(.end) {
        flex-direction: column;
    }
}

@media screen and (max-width: 1200px) {
    .top__offer-form .form-offer-top fieldset:not(.end) .form-input {
        width: 100%;
    }
}

@media screen and (min-width: 1700px) {
    .top__offer-picture {
        position: absolute;
        right: -160px;
        bottom: 0;
    }
}

@media screen and (max-width: 1700px) and (min-width: 1200px) {
    .top__offer-picture img {
        height: 100%;
        width: 100%;
        -o-object-fit: contain;
        object-fit: contain;
        -o-object-position: bottom;
        object-position: bottom;
    }
}

@media screen and (max-width: 480px) {
    .top__offer-picture {
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

.benefits {
    display: flex;
    gap: 2px;
}

@media screen and (max-width: 1024px) {
    .benefits {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        max-width: -moz-fit-content;
        max-width: fit-content;
    }
}

.benefits-item {
    background-color: var(--gray);
    padding: 14px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    gap: 39px;
    max-width: 214px;
    width: 100%;
}

.benefits-item p {
    font-family: var(--font-semibold);
    font-size: 16px;
    line-height: 19.2px;
    color: var(--white);
}

@media screen and (max-width: 480px) {
    .benefits-item p {
        font-size: 14px;
        line-height: 16.8px;
    }
}

.booking {
    max-width: 1920px;
    width: 100%;
    display: flex;
    justify-content: flex-start;
    gap: 40px;

    flex-direction: column;
    border-bottom: 1px solid var(--gray-line);
}

.booking .title {
    font-family: var(--font-bold);
    font-size: 40px;
    font-weight: 700;
    line-height: 44px;
    text-align: left;
    text-transform: uppercase;
}

@media screen and (max-width: 1300px) {
    .booking .title {
        max-width: 600px;
        margin: auto;
    }
}

@media screen and (min-width: 801px) {
    .booking {
        margin: 120px auto 40px;
    }
}

@media screen and (max-width: 800px) {
    .booking .title {
        font-size: 24px;
        line-height: 26.8px;
    }

    .booking {
        margin: 40px auto 40px;
    }
}

.booking .swiperBooking {
    max-width: 1296px;
    width: 100%;
}

@media screen and (max-width: 630px) {
    .booking .swiperBooking {
        padding-left: 15px;
    }
}

@media screen and (max-width: 1300px) {
    .booking .swiperBooking {
        max-width: 600px;
    }
}

.booking .swiperBooking .swiper-wrapper .swiper-slide {
    max-width: -moz-fit-content;
    max-width: fit-content;
    cursor: pointer;
    padding-bottom: 15px;
    border-bottom: 3px solid transparent;
    transition: border-color 0.3s ease;
}

.booking .swiperBooking .swiper-wrapper .swiper-slide .car-title {
    font-family: var(--font-bold);
    text-transform: uppercase;
    text-align: center;
    color: var(--black);
    text-decoration: none;
    position: relative;
    font-size: 18px;
    font-weight: 700;
    line-height: 19.8px;
    transition: color 0.3s ease;
}

.booking .swiperBooking .swiper-wrapper .swiper-slide.active-tab {
    border-bottom: 3px solid var(--blue);
}

.booking .swiperBooking .swiper-wrapper .swiper-slide.active-tab .car-title {
    color: var(--blue);
}

@media screen and (min-width: 1000px) {
    .booking .swiperBooking .swiper-wrapper .swiper-slide:hover {
        border-bottom: 3px solid var(--blue);
        opacity: 0.5;
    }

    .booking .swiperBooking .swiper-wrapper .swiper-slide:hover .car-title {
        color: var(--blue);
    }
}

.cars {
    max-width: 1296px;
    width: 100%;
    margin: auto;
}

.car__item {
    gap: 40px;
    display: none;
    background-color: var(--white);
    padding: 30px;
    width: 100%;
    margin-top: 40px;
}

.car__item.active-car-block {
    display: flex;
}

@media screen and (max-width: 480px) {
    .car__item {
        padding: 15px;
    }
}

@media screen and (max-width: 1300px) {
    .car__item {
        flex-direction: column;
        max-width: 750px;
    }
}

.car__item:nth-child(even) {
    flex-direction: row-reverse;
}

@media screen and (max-width: 1300px) {
    .car__item:nth-child(even) {
        flex-direction: column;
        max-width: 750px;
    }
}

@media screen and (min-width: 1300px) {
    .car__item:nth-child(even) .tab__content {
        flex-direction: row-reverse;
    }
}

.car__item-slider {
    max-width: 750px;
    width: 100%;
    position: relative;
}

.car__item-slider .car-text {
    position: absolute;
    top: 10px;
    left: 10px;
    display: inline-flex;
    border-radius: 10px;
    background-color: var(--blue-dark);
    align-items: center;
    justify-content: flex-start;
    gap: 5px;
    padding: 4px 14px 8px;
}

.car__item-slider .car-text span {
    font-family: var(--font-bold);
    font-size: 20px;
    font-weight: 700;
    line-height: 22px;
    max-width: 150px;
    text-transform: uppercase;
    color: var(--white);
}

.car__item-info {
    display: flex;
    flex-direction: column;
    gap: 40px;
    min-width: 369px;
}

@media screen and (max-width: 600px) {
    .car__item-info {
        min-width: unset;
    }
}

.car__item-info-top {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: -moz-fit-content;
    width: fit-content;
}

.car__item-info-top .car-title {
    font-family: var(--font-bold);
    font-size: 50px;
    font-weight: 700;
    line-height: 50px;
    text-transform: uppercase;
}

@media screen and (max-width: 480px) {
    .car__item-info-top .car-title {
        font-size: 30px;
        line-height: 33px;
    }
}

.car__item-info-top .car-offprice {
    background-color: rgba(28, 105, 212, 0.1019607843);
    padding: 4px 6px;
    height: -moz-fit-content;
    height: fit-content;
    display: inline-flex;
    align-items: center;
    gap: 15px;
}

.car__item-info-top .car-offprice span {
    font-family: var(--font-bold);
    font-size: 14px;
    line-height: 15.4px;
    text-transform: uppercase;
    color: #1C69D4;
}

.car__item-info-benefits {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.car__item-info-benefits li {
    display: flex;
    gap: 10px;
    align-items: center;
}

.car__item-info-benefits li span.text {
    width: 100%;
    font-family: var(--font-medium);
    font-size: 18px;
    line-height: 19.8px;
    color: #262626;
}

.car__item-info-benefits li span.text span {
    color: var(--blue);
}

@media screen and (max-width: 480px) {
    .car__item-info-benefits li img {
        width: 32px;
        height: 32px;
    }
}

.car__item-info-btns {
    display: flex;
}

.car__item-info-btns .btn {
    padding-left: 0;
    padding-right: 0;
    justify-content: center;
    width: 100%;
}

.swiperCars .swiper-wrapper .swiper-slide {
    position: relative;
}

.swiperCars .swiper-wrapper .swiper-slide .car-model-slide {
    position: absolute;
    top: 100px;
    left: 200px;
}

.swiperCars .swiper-wrapper .swiper-slide img.color-image {
    width: 100%;
    border-radius: var(--border-radius);
}

[data-slider=exterior],
[data-slider=interior] {
    height: 100%;
}

[data-slider=exterior] img.color-image,
[data-slider=interior] img.color-image {
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
}

.swiperThumb .swiper-wrapper {
    justify-content: center;
}

.swiperThumb {
    width: 70px;
    height: auto;
    padding: 10px;
    border-radius: 10px;
    margin-top: 10px;
}

@media screen and (max-width: 1300px) {
    .swiperThumb {
        width: 100%;
    }
}

.swiperThumb .swiper-wrapper .swiper-slide {
    width: auto;
}

.swiperThumb .swiper-wrapper .swiper-slide.swiper-slide-thumb-active:not(:has(img[data-image=first-image])) {
    position: relative;
}

.swiperThumb .swiper-wrapper .swiper-slide.swiper-slide-thumb-active:not(:has(img[data-image=first-image]))::after {
    position: absolute;
    content: "";
    width: 38px;
    height: 38px;
    top: -4px;
    left: -4px;
    border: 1px solid var(--blue);
    border-radius: 50%;
}

.swiperThumb .swiper-wrapper .swiper-slide.swiper-slide-thumb-active:has(img[data-image=first-image]) {
    position: relative;
}

.swiperThumb .swiper-wrapper .swiper-slide.swiper-slide-thumb-active:has(img[data-image=first-image])::after {
    position: absolute;
    content: "";
    width: 38px;
    height: 38px;
    top: -4px;
    right: -4px;
    border: 1px solid var(--blue);
    border-radius: 50%;
}

.swiperThumb .swiper-wrapper .swiper-slide:has(img[data-image=first-image]) {
    padding-left: 20px;
    position: relative;
}

.swiperThumb .swiper-wrapper .swiper-slide:has(img[data-image=first-image])::before {
    position: absolute;
    content: "";
    height: 30px;
    width: 2px;
    background-color: #AEBBCD;
    border-radius: 0px;
    top: 0px;
    left: 3px;
    transform: translateX(0%);
    right: unset;
}

.swiper-colors {
    position: relative;
    width: 30px;
    height: 30px;
    border-radius: 50%;
}

.swiper-colors.color-purpure {
    background-color: #7D33FF;
}

.swiper-colors.color-metalic {
    background: linear-gradient(0deg, #FFFFFF, #FFFFFF), linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.155621) 46.5%, rgba(0, 0, 0, 0.101) 50%);
}

.swiper-colors.color-gray {
    background: linear-gradient(0deg, #88888E, #88888E), linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.311241) 46.5%, rgba(255, 255, 255, 0.202) 50%);
}

.swiper-colors.color-red {
    background: linear-gradient(0deg, #FF334C, #FF334C), linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.233431) 46.5%, rgba(255, 255, 255, 0.1515) 50%);
}

.swiper-colors.color-black {
    background: linear-gradient(0deg, #141223, #141223), linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.311241) 46.5%, rgba(255, 255, 255, 0.202) 50%);
}

.tabs__container {
    display: flex;
    list-style-type: none;
    text-decoration: none;
    align-items: center;
    justify-content: flex-end;
    max-width: 748px;
    width: 100%;
}

.tabs__container .tab__title {
    width: 249px;
    text-align: center;
    border-bottom: 3px solid transparent;
    padding: 15px 0;
    transition: color 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
    font-family: var(--font-bold);
    font-size: 16px;
    line-height: 17.6px;
}

.tabs__container .tab__title.active-title {
    color: var(--blue);
    border-bottom: 3px solid var(--blue);
}

.swiperThumb .swiper-wrapper .swiper-slide {
    height: 30px;
}

@media screen and (min-width: 990px) {
    .swiperThumb .swiper-wrapper {
        justify-content: center;
    }
}

.hidden-tab-content {
    display: none !important;
}

.active-tab {
    display: flex;
}

.car__item-tabs {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

@media screen and (max-width: 1300px) {
    .tabs__wrapper {
        max-width: 700px;
        width: 100%;
    }
}

.tab__content {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

@media screen and (max-width: 1300px) {
    .tab__content {
        flex-direction: column-reverse;
    }
}

[data-thumb=exterior],
[data-thumb=interior] {
    height: auto;
    padding: 0;
    border-radius: 0;
    margin-top: 0;
}

[data-thumb=exterior] .swiper-wrapper .swiper-slide,
[data-thumb=interior] .swiper-wrapper .swiper-slide {
    height: 70px;
    width: 70px;
}

@media screen and (max-width: 430px) {

    [data-thumb=exterior] .swiper-wrapper .swiper-slide,
    [data-thumb=interior] .swiper-wrapper .swiper-slide {
        height: 50px;
        width: auto;
    }
}

[data-thumb=exterior] .swiper-wrapper .swiper-slide .swiper-colors,
[data-thumb=interior] .swiper-wrapper .swiper-slide .swiper-colors {
    width: 100%;
    height: 100%;
    border-radius: 0;
}

[data-thumb=exterior] .swiper-wrapper .swiper-slide .swiper-colors img,
[data-thumb=interior] .swiper-wrapper .swiper-slide .swiper-colors img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    -o-object-position: bottom;
    object-position: bottom;
}

[data-thumb=exterior] .swiper-wrapper .swiper-slide.swiper-slide-thumb-active:not(:has(img[data-image=first-image]))::after,
[data-thumb=interior] .swiper-wrapper .swiper-slide.swiper-slide-thumb-active:not(:has(img[data-image=first-image]))::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    border: 2px solid var(--blue);
    border-radius: 0;
}

.in-stock {
    max-width: 1920px;
    width: 100%;
    margin: auto;
    background-color: transparent;

}


.in-stock-container .title {
    font-family: var(--font-bold);

    font-weight: 700;

    text-align: left;
    text-transform: uppercase;
}

@media screen and (min-width: 801px) {
    .in-stock {
        margin-top: 100px;
    }

    .in-stock-container {
        padding-top: 80px;
        padding-bottom: 80px;
    }

    .in-stock-container .title {
        font-size: 40px;
        line-height: 44px;
    }
}

@media screen and (max-width: 800px) {
    .in-stock {
        margin-top: 0;
    }

    .in-stock-container {
        padding-top: 60px;
        padding-bottom: 40px;
    }

    .in-stock-container .title {
        font-size: 30px;
        line-height: 33px;
    }
}

.in-stock-filters {
    display: flex;
    gap: 24px;
    align-items: center;
    justify-content: space-between;
    margin: 40px auto 24px;
}

@media screen and (max-width: 1200px) {
    .in-stock-filters {
        flex-direction: row;
    }
}

@media screen and (max-width: 1200px) {
    .in-stock-filters .btn {
        width: 100%;
        justify-content: center;
        max-width: 306px;
    }
}

@media screen and (max-width: 900px) {
    .in-stock-filters {
        flex-direction: column;
    }
}

.in-stock-moodels {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 24px;
}

@media screen and (max-width: 1300px) {
    .in-stock-moodels {
        justify-content: center;
    }
}

.in-stock-moodels-item {
    display: flex;
    flex-direction: column;
    max-width: 416px;
    width: 100%;
    gap: 14px;
    background-color: var(--white);
    justify-content: space-between;
    padding: 20px;
}

.in-stock-moodels-item-text {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
}

.in-stock-moodels-item-text .car-name {
    font-family: var(--font-bold);
    font-size: 30px;
    font-weight: 700;
    line-height: 33px;
}
@media screen and (min-width:865px){
    .in-stock-moodels-item-text .car-name{
        min-height: 66px;
    }
}

.in-stock-moodels-item-text .car-characteristic {
    font-family: var(--font-regular);
    font-size: 18px;
    font-weight: 400;
    line-height: 19.8px;
}

.in-stock-moodels-item-btns {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.in-stock-moodels-item-btns .btn {
    justify-content: center;
}

.form__input-dropdown {
    width: 100%;
    position: relative;
    cursor: pointer;
    max-width: 306px;
}

@media screen and (max-width: 900px) {
    .form__input-dropdown {
        max-width: 416px;
    }
}

.form__input-single {
    width: 100%;
    position: relative;
    cursor: pointer;
}

.form__input-single input {
    width: 100%;
    border: 1px solid transparent;
    outline: none;
    font-family: var(--font-family);
    font-size: 15px;
    line-height: 1.2;
    color: #88979e;
    padding: 15px 15px 15px 20px;
    border-radius: 12px;
    cursor: pointer;
}

.form__input-dropdown input {
    width: 100%;
    border: 1px solid transparent;
    outline: none;
    font-family: var(--font-regular);
    font-size: 16px;
    line-height: 21.79px;
    color: var(--black);
    padding: 15px 15px 15px 20px;
    cursor: pointer;
    background-color: var(--white);
}

.form__input-dropdown input::-moz-placeholder {
    color: var(--black);
}

.form__input-dropdown input::placeholder {
    color: var(--black);
}

.form__input-dropdown::after {
    content: "";
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='M5 7.5L10 12.5L15 7.5' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
}

#form__input-date::after {
    content: "";
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 24px;
    background-image: url(../img_service/calendar.png);
    background-repeat: no-repeat;
}

.form__input-dropdown-items {
    position: absolute;
    top: 52px;
    left: 0;
    width: 100%;
    height: 150px;
    background: var(--white);
    margin: 0;
    list-style-type: none;
    padding: 15px 15px 15px 20px;
    border-radius: 12px;
    overflow-y: scroll;
    z-index: 4;
}

.none {
    display: none !important;
}

.form__input-dropdown-items li:not(:first-child) {
    padding-top: 15px;
}

.form__input-dropdown-items::-webkit-scrollbar {
    width: 20px;
    height: 0;
    /* background-color: #F5F5F5; */
}

.form__input-dropdown-items::-webkit-scrollbar-thumb {
    height: 1em;
    border: 0.5em solid rgba(0, 0, 0, 0);
    /* Transparent border together with `background-clip: padding-box` does the trick */
    background-clip: padding-box;
    -webkit-border-radius: 1em;
    background-color: var(--blue);
    -webkit-box-shadow: inset 0 0 0 1px rgba(213, 20, 20, 0.025);
}

.form__input-dropdown-items::-webkit-scrollbar-button {
    width: 0;
    height: 0;
    display: none;
}

.form__input-dropdown-items::-webkit-scrollbar-corner {
    background-color: transparent;
}

.form__input-dropdown-items li {
    font-family: var(--font-regular);
    color: var(--black);
    font-size: 15px;
    font-weight: 400;
    line-height: 1.2;
}

.form__item-input-checkbox {
    display: flex;
    gap: 10px;
    align-items: start;
}

.form__item-input-checkbox [for=agreements-checkbox] {
    max-width: 100%;
    font-family: var(--font-family);
    font-size: 12px;
    line-height: 1.2;
    font-weight: 400;
}

.traid-in {
    margin: auto;
    max-width: 1920px;
    position: relative;
    height: 508px;
}

@media screen and (max-width: 1200px) {
    .traid-in {
        height: auto;
    }
}

@media screen and (max-width: 600px) {
    .traid-in {
        margin-top: 60px;
        margin-bottom: 60px;
        padding-left: 15px;
        padding-right: 15px;
    }
}

.traid-in-container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-end;
    height: 100%;
    padding-bottom: 40px;
    padding-top: 80px;
}

@media screen and (max-width: 1200px) {
    .traid-in-container {
        flex-direction: column;
        padding-top: 20px;
        padding-bottom: 20px;
        padding-left: 0;
        padding-right: 0;
        max-width: 400px;
    }
}

.traid-in-container .title {
    font-family: var(--font-medium);
    font-size: 44px;
    line-height: 48.4px;
    text-align: left;
    color: var(--white);
    max-width: 486px;
    width: 100%;
}

@media screen and (max-width: 1200px) {
    .traid-in-container .title {
        color: var(--black);
        font-size: 30px;
        line-height: 33px;
    }
}

.traid-in-container .form {
    max-width: 486px;
    width: 100%;
    padding: 0;
    border-radius: 0;
    flex-direction: column;
    gap: 10px;
    background-color: transparent;
}

@media screen and (max-width: 600px) {
    .traid-in-container .form {
        margin-top: 20px;
    }
}

.traid-in-container .form fieldset {
    display: flex;
    gap: 10px;
}

.traid-in-container .form fieldset.end {
    justify-content: flex-start;
}

.traid-in-container .form fieldset.end span {
    color: var(--white);
}

.traid-in-container .form fieldset.end span a {
    color: var(--white);
    text-decoration: underline;
}

@media screen and (max-width: 1200px) {
    .traid-in-container .form fieldset.end {
        justify-content: flex-start;
        align-items: flex-start;
    }

    .traid-in-container .form fieldset.end span {
        color: var(--black);
    }

    .traid-in-container .form fieldset.end span a {
        color: var(--black);
    }
}

.traid-in-container .form fieldset .form-input {
    width: 100%;
}

.traid-in-background {
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    height: 100%;
    width: 100%;
}

@media screen and (max-width: 1200px) {
    .traid-in-background {
        position: relative;
    }
}

.traid-in-background img {
    -o-object-fit: cover;
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.form {
    background-color: var(--white);
    padding: 20px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.form-credit {
    background-color: transparent;
    width: -moz-fit-content;
    width: fit-content;
}

.form-credit input {
    background-color: var(--white);
}

.form fieldset {
    display: flex;
    justify-content: space-between;
}

@media screen and (max-width: 1200px) {
    .form fieldset {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
}

.form fieldset.end {
    justify-content: flex-end;
    margin-top: 10px;
}

.form fieldset.end label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 5px;
}

.form fieldset.end label span {
    font-family: var(--font-regular);
    font-size: 12px;
    line-height: 13.2px;
    color: var(--black);
}

.form-input {
    width: 243px;
    padding: 14px 20px;
    color: var(--gray-light);
    font-family: var(--font-medium);
    font-size: 16px;
    line-height: 19.36px;
    border: none;
    background-color: var(--white);
}

.credit {
    margin: 100px auto;
    position: relative;
    height: 430px;
    overflow: hidden;
}

@media screen and (max-width: 1200px) {
    .credit {
        height: 440px;
        margin: 60px auto;
    }
}

.credit__background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.credit__background img {
    -o-object-fit: cover;
    object-fit: cover;
}

@media screen and (max-width: 1200px) {
    .credit__background img {
        height: 100%;
        width: 100%;
    }
}

.credit__content {
    padding: 82px 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

@media screen and (max-width: 1200px) {
    .credit__content {
        align-items: center;
        height: auto;
        gap: 20px;
        padding: 82px 15px;
    }
}

@media screen and (max-width: 1200px) {
    .credit__content .form-credit {
        max-width: 400px;
        width: 100%;
        display: flex;
        gap: 10px;
        flex-direction: column;
    }
}

@media screen and (max-width: 1200px) {
    .credit__content .form-credit fieldset {
        max-width: unset;
    }
}

.credit__content .form-credit fieldset .form-input {
    width: 100%;
}

.credit__content .form-credit fieldset .btn {
    width: 100%;
}

.credit__content fieldset:not(.end) {
    align-items: flex-end;
    justify-content: flex-end;
    display: flex;
    gap: 5px;
}

.credit__content fieldset:not(.end) .form-input {
    height: 54px;
}

.credit__content label[for=agreement] a {
    color: var(--white);
    text-decoration: underline;
}

.credit__content .title {
    color: var(--white);
    font-family: var(--font-bold);
    text-transform: uppercase;
    font-size: 40px;
    font-weight: 700;
    line-height: 44px;
    max-width: 400px;
}

@media screen and (max-width: 768px) {
    .credit__content .title {
        font-size: 24px;
        text-align: left;
        line-height: 26.4px;
    }
}

.credit__content .subtitle {
    color: var(--white);
    font-family: var(--font-regular);
    font-size: 18px;
    font-weight: 400;
    line-height: 19.8px;
    margin-top: 14px;
}

@media screen and (max-width: 768px) {
    .credit__content .subtitle {
        font-size: 16px;
        text-align: left;
        line-height: 17.6px;
    }
}

.credit .end {
    margin-top: 10px;
}

.credit .end label span {
    color: var(--white);
}

@media screen and (max-width: 1200px) {
    .form-credit .white-white {
        background-color: var(--blue);
        justify-content: center;
    }

    .form-credit .white-white span {
        color: var(--white);
    }
}

@media screen and (max-width: 1200px) {
    .form-credit fieldset {
        display: flex;
        flex-direction: column;
        max-width: 243px;
        gap: 10px;
    }
}

[class*=ymaps-2][class*=-ground-pane] {
    -webkit-filter: grayscale(100%);
}

.map-container {
    position: relative;
}

@media screen and (max-width: 1200px) {
    .map-container {
        display: flex;
        flex-direction: column-reverse;
    }
}

#map>ymaps {
    overflow: hidden;
}

.map .btn {
    width: -moz-fit-content;
    width: fit-content;
}

@media screen and (max-width: 1200px) {
    .map__item {
        height: 400px;
    }
}

.map__inner {
    position: relative;
    max-width: 1920px;
    margin: auto;
}

@media screen and (min-width: 1200px) {
    .map__inner {
        height: 580px;
    }
}

@media screen and (max-width: 1199px) {
    .map__inner {
        height: 300px;
    }
}

.sec-title {
    font-family: var(--font-medium);
    font-size: 34px;
    line-height: 37.4px;
    text-transform: uppercase;
}

.map__bottom {
    padding: 40px;
    position: absolute;
    bottom: 30px;
    z-index: 3;
    background: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    left: 10%;
    max-width: 470px;
    gap: 20px;
    height: calc(100% - 50px);
}

@media screen and (max-width: 1280px) {
    .map__bottom .btn {
        width: 100%;
        justify-content: center;
        align-items: center;
        max-width: 320px;
    }
}

@media screen and (max-width: 1200px) {
    .map__bottom {
        position: relative;
        align-items: center;
        gap: 20px;
        bottom: 0;
        border-radius: 0;
        max-width: 100%;
        left: 0;
    }
}

.map__bottom-item {
    display: flex;
    flex-direction: column;
    gap: 4px 0;
    text-align: start;
}

@media screen and (max-width: 1200px) {
    .map__bottom-item {
        text-align: start;
        max-width: 320px;
        width: 100%;
        margin: auto;
    }
}

@media screen and (max-width: 768px) {
    .map__bottom-item {
        width: 100%;
        text-align: left;
    }
}

.map__bottom-item:first-child {
    max-width: 325px;
}

.map__bottom-title {
    font-family: var(--font-bold);
    font-size: 24px;
    line-height: 26.2px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--black);
}

.map__bottom-subtitle {
    color: #303C48;
    font-family: var(--font-regular);
    font-size: 14px;
    font-weight: 400;
    line-height: 19.6px;
}

.map__bottom-text,
.map__number.ya_phone {
    font-family: var(--font-semibold);
    font-size: 22px;
    font-weight: 600;
    line-height: 30.8px;
    color: var(--black);
}

@media screen and (max-width: 1200px) {

    .map__bottom-text,
    .map__number.ya_phone {
        font-size: 20px;
        line-height: 24.2px;
    }
}

.map__bottom-text-small {
    color: #303C48;
    font-family: var(--font-regular);
    font-size: 14px;
    font-weight: 400;
    line-height: 19.6px;
}

.map__number {
    color: var(--black);
}

.map__number-bottom {
    display: flex;
    justify-content: flex-start;
    gap: 0 4px;
    align-items: center;
    margin-top: 4px;
    font-weight: 300;
    color: var(--grey);
    font-size: 14px;
    position: relative;
}

.map__number-bottom::before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    background-color: var(--green);
    border-radius: 50%;
}

/* Modal Styles */
.modal {
    display: none;
    /* Hidden by default */
    position: fixed;
    /* Stay in place */
    z-index: 1000;
    /* Sit on top */
    left: 0;
    top: 0;
    width: 100%;
    /* Full width */
    height: 100%;
    /* Full height */
    overflow: auto;
    /* Enable scroll if needed */
    background-color: rgb(0, 0, 0);
    /* Fallback color */
    background-color: rgba(0, 0, 0, 0.7);
    /* Black w/ opacity */
}

.modal-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.modal-info .title {
    color: var(--black);
    font-family: var(--font-bold);
    font-size: 28px;
    line-height: 30.8px;
    text-align: center;
    text-transform: uppercase;
}

.modal-info .subtitle {
    font-family: var(--font-regular);
    font-size: 15px;
    line-height: 18px;
    text-align: center;
}

.modal .form-modal {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: start;
    padding-left: 40px;
    padding-right: 40px;
}

.modal .form-modal fieldset:first-child {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

.modal .form-modal fieldset:first-child input,
.modal .form-modal fieldset:first-child button.btn {
    width: 100%;
}

.modal .form-modal fieldset:first-child button.btn {
    justify-content: center;
}

.modal .form-modal fieldset label label {
    display: flex;
    gap: 5px;
    align-items: center;
}

.modal .form-modal fieldset label span {
    font-family: var(--font-regular);
    font-size: 12px;
    line-height: 13.2px;
    padding-top: 2px;
}

/* Modal Content */
.modal-content {
    background-color: var(--white);
    margin: 15% auto;
    /* 15% from the top and centered */
    padding: 20px;
    border: none;
    max-width: 400px;
    width: 100%;
    display: flex;
    flex-direction: column;
    border-radius: 10px;
}

@media screen and (max-width: 480px) {
    .modal-content {
        width: 94%;
        transform: translateY(-50%);
        height: -moz-fit-content;
        height: fit-content;
        margin: 0 auto;
        position: absolute;
        left: 15px;
        top: 50%;
    }
}

/* Close Button */
.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    align-self: end;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.find__form {
    margin: 80px auto 100px;
    background-color: var(--blue);
    height: 179px;
    overflow: hidden;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px;
    position: relative;
}

@media screen and (max-width: 1200px) {
    .find__form {
        height: auto;
        flex-direction: column;
    }
}

@media screen and (max-width: 480px) {
    .find__form {
        align-items: flex-start;
        margin-top: 60px;
        margin-bottom: 0;
        padding: 40px 15px;
    }
}

.find__form .title {
    font-family: var(--font-regular);
    font-size: 44px;
    font-weight: 500;
    line-height: 48.4px;
    max-width: 400px;
    width: 100%;
    text-transform: uppercase;
    color: var(--white);
}

@media screen and (max-width: 1200px) {
    .find__form .title {
        margin-bottom: 20px;
        z-index: 1;
    }
}

@media screen and (max-width: 480px) {
    .find__form .title {
        font-size: 30px;
        line-height: 33px;
        max-width: 250px;
    }
}

.find__form-wheel {
    position: absolute;
    top: -50%;
    left: 45%;
    transform: translate(-40%, 20%) rotate(24deg);
    width: 270px;
    height: 270px;
}

@media screen and (max-width: 1200px) and (min-width: 769px) {
    .find__form-wheel {
        top: -16%;
        left: 65%;
        transform: translate(0, 0%) rotate(-24deg);
    }
}

@media screen and (max-width: 768px) and (min-width: 481px) {
    .find__form-wheel {
        left: unset;
        right: -10%;
        transform: translate(0, 0%) rotate(24deg);
        top: 5%;
        max-width: 196px;
        max-height: 196px;
        z-index: 0;
    }
}

@media screen and (max-width: 480px) {
    .find__form-wheel {
        max-width: 146px;
        max-height: 146px;
        top: 5%;
        right: -10%;
        transform: rotate(24deg);
        left: unset;
    }
}

.find__form fieldset.end {
    margin-top: 14px;
}

.find__form fieldset.end span {
    color: var(--white);
}

.find__form fieldset.end span a {
    color: var(--white);
}

.find__form fieldset:not(.end) {
    align-items: flex-end;
    justify-content: flex-end;
    display: flex;
    gap: 5px;
}

.find__form fieldset:not(.end) input {
    height: 54px;
}

@media screen and (max-width: 1200px) {
    .find__form fieldset {
        width: 100%;
        max-width: unset;
    }
}

.find__form fieldset .form-input {
    width: 100%;
}

.find__form fieldset .btn {
    width: 100%;
}

.find__form .btn.black {
    color: var(--white);
    background-color: var(--black);
}

.find__form .form-title {
    font-family: var(--font-semibold);
    font-size: 20px;
    font-weight: 600;
    line-height: 22px;
    color: var(--white);
    margin-bottom: 14px;
    z-index: 1;
}

@media screen and (max-width: 480px) {
    .find__form .form-title {
        font-size: 16px;
        line-height: 17.6px;
        max-width: 250px;
    }
}

@media screen and (max-width: 1200px) {
    .find__form .form-credit {
        max-width: 400px;
        width: 100%;
        display: flex;
        gap: 10px;
        flex-direction: column;
    }
}

.footer {
    max-width: 1920px;
    width: 100%;
    margin: auto;
    background-color: var(--black);
    padding: 20px 0;
}

@media screen and (max-width: 1150px) and (min-width: 411px) {
    .footer {
        padding: 20px;
    }
}

@media screen and (max-width: 410px) {
    .footer {
        padding: 20px 15px;
    }
}

.footer-container {
    position: relative;
    max-width: 1296px;
    width: 100%;
    display: flex;
    height: auto;
    margin: auto;
}

.read-more-check {
    display: none;
}

.read-more-label:before {
    content: "";
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='8' viewBox='0 0 14 8' fill='none'%3E%3Cpath d='M1 1L7 7L13 1' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    top: 5px;
    position: absolute;
    width: 14px;
    height: 8px;
    right: 0px;
    font-size: 1rem;
    transform: rotate(0deg) translate(0%, 30%) scale(0.8);
    transition: top 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.read-more-check:checked~.read-more-label:before {
    top: 0;
    transform: rotate(180deg) translate(0, -60%) scale(0.8);
}

.read-more-label:after {
    content: "Условия";
    text-transform: none;
    font-family: var(--font-regular);
}

.read-more-check:checked~.read-more-label:after {
    content: "Условия";
}

.read-more p {
    margin-top: 20px;
    color: var(--white);
    font-family: var(--font-regular);
}

.read-more-label {
    position: absolute;
    display: inline-flex;
    left: 0;
    width: -moz-fit-content;
    width: fit-content;
    top: 0px;
    padding-right: 20px;
    color: #fff;
    text-align: center;
    text-transform: uppercase;
    outline: none;
    cursor: pointer;
    transition: background-color 0.3s linear;
}

.read-more-label:hover {
    background-color: var(--primary-color-hover);
}

/*
  The styles above aren't related with the functionality
*/
.read-more {
    margin-top: 20px;
    max-height: 0;
    display: block;
    overflow: hidden;
    transition: max-height 0.5s linear;
}

.in-stock {
    display: flex;
    flex-direction: column;
    align-items: center;

}

.btn.blue,
.btn.white-black {
    transition: all .3s ease;
}

.btn.blue:hover {
    background-color: var(--black);
}

.btn.white-black:hover {
    border-color: var(--blue);
}

.btn.white-black:hover span {
    color: var(--blue);
}

.find__form .btn.black:hover {
    background-color: var(--blue);
}

/* .btn.blue span {
    transition: color .3s ease;
}
.btn.blue:hover span {
    color: var(--black);
} */

/*
The down side of this approach is that you have to know what will be the max-height in advance
*/
@media screen and (min-width: 1200px) {
    .read-more-check:checked~.read-more {
        max-height: 1000px;
    }
}

@media screen and (max-width: 1200px) {
    .read-more-check:checked~.read-more {
        max-height: 5000px;
    }
}

/*# sourceMappingURL=main.css.map */


.runline {
    display: flex;
    align-items: center;
    background-color: var(--blue);
    width: 100%;
    height: 60px;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}

.runline__inner {
    display: none;
    justify-content: center;
    align-items: center;
    gap: 60px;
    position: absolute;
    white-space: nowrap;
}

.runline__item {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    gap: 60px;
}

.runline__text {
    font-weight: 500;
    font-size: 20px;
    color: #fff;
    text-transform: uppercase;
    white-space: nowrap;
    font-family: var(--font-regular);
}

.runline__image {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

@media(max-width: 767px) {
    .runline {
        height: 50px;
    }

    .runline__inner {
        gap: 30px;
    }

    .runline__item {
        padding: 0;
        gap: 30px;
    }

    .runline__text {
        font-size: 16px;
        line-height: 17.6px;
    }

    .runline__image {
        width: 30px;
        height: 30px;
    }
}

.info-widget {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    padding: 15px 30px;
    border-radius: 10px 10px 0 0;
    background-color: #000;
    z-index: 10000000001;
    box-shadow: 3px 5px 15px rgba(0, 0, 0, 0.66);
    height: 76px;
    overflow: hidden;
}
.info-widget__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.info-widget__content p{
    font-family: var(--font-medium);
    font-size: 16px;
    line-height: 16px;
    color: #fff;
    margin: 0 0 10px;
}
.info-widget__content a{
   font-family: var(--font-medium);
   font-size: 20px;
   font-weight: 600;
   line-height: 20px;
   color: #fff; 
   text-decoration: none;
}
@media(max-width: 767px){
    .info-widget{
        display: none;
        bottom: env(safe-area-inset-bottom, 0);
    }
}