:root {
    --swiper-navigation-color: #FFF;
    --swiper-theme-color: #FFF;
}

/************************************************************************************************************* PHOTOS */
.photo_slider {
    margin-top: var(--navigation-settings-cars-height);
    background-color: var(--footer-bg);
    width: 100%;
    height: 100%;
}

.photo_slide {
    text-align: center;
    font-size: 18px;
    display: flex;
    align-items: center;
    width: 70%;
    height: 600px;
}

@media only screen and (max-width: 1024px) {
    .photo_slide {
        max-width: 720px;
        height: 400px;
    }
}

@media only screen and (max-width: 860px) {
    .photo_slide {
        max-width: 680px;
        height: 350px;
    }
}

@media only screen and (max-width: 680px) {
    .photo_slide {
        width: 100%;
        height: 300px;
    }
}

.photo {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    cursor: zoom-in;
}

.photo:focus-visible {
    outline: 2px solid var(--hover-color);
    outline-offset: -2px;
}

body.car-modal-open {
    overflow: hidden;
}

.car_photo_modal {
    position: fixed;
    inset: 0;
    z-index: 1100;
}

.car_photo_modal_overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.92);
}

.car_photo_modal_content {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.car_photo_modal_slider {
    width: 100%;
    height: 100%;
}

.car_photo_modal_slide {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.car_photo_modal_image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.car_photo_modal_slider::part(button-prev),
.car_photo_modal_slider::part(button-next) {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.45);
    display: flex;
    justify-content: center;
    align-items: center;
}

.car_photo_modal_close {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 3;
    border-radius: 50%;
    border: none;
    background-color: rgba(0, 0, 0, 0.45);
    color: #FFF;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}

.car_photo_modal_counter {
    position: absolute;
    left: 50%;
    bottom: 20px;
    transform: translateX(-50%);
    z-index: 3;
    color: #FFF;
    background-color: rgba(0, 0, 0, 0.45);
    border-radius: 999px;
    font-size: 16px;
    font-weight: 300;
    padding: 8px 14px;
}

.car_photo_modal .car_photo_modal_slider::part(button-prev),
.car_photo_modal .car_photo_modal_slider::part(button-next) {
    top: 50% !important;
    background-color: inherit !important;
}

@media only screen and (max-width: 680px) {
    .car_photo_modal_close {
        top: 12px;
        right: 12px;
        font-size: 24px;
    }

    .car_photo_modal_counter {
        bottom: 12px;
        font-size: 14px;
        padding: 6px 10px;
    }

    .car_photo_modal_slider::part(button-prev),
    .car_photo_modal_slider::part(button-next) {
        width: 40px;
        height: 40px;
    }
}

/************************************************************************************************************* TITLES */
.title_div {
    padding: var( --padding-block);
    background-color: var(--footer-bg);
    padding-top: 20px;
    padding-bottom: 20px;
    margin-bottom: 20px;
    align-items: end;
    border-bottom: 1px solid var(--main-color);
}

.title {
    margin: 0;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    width: max-content;
    font-size: 44px;
    line-height: 50px;
    font-weight: 300;
    margin-bottom: 10px;

}

@media only screen and (max-width: 1024px) {
    .title {
        width: 100%;
        white-space: normal;
    }
}

.title_price {
    display: flex;
    flex-direction: column;
    justify-content: end;
    align-items: end;
}

.rent_btn_div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.title_btn {
    background: var(--hover-color);
    padding: 10px 20px;
    border: none;
    font-size: 24px;
    border-radius: var(--br);
    font-weight: 400;
    min-width: 300px;
    cursor: pointer;
    transition: var(--trans);
    text-decoration: none;
    color: var(--footer-bg);
}

.title_btn:first-child {
    margin-inline-end: 20px;
}

.title_btn:last-child {
    min-width: 250px;
    background: var(--gradient-text);
}

.title_btn:hover {
    scale: var(--scale-img);
}

.status {
    margin: 0;
    color: var(--hover-color);
    font-size: 20px;
    font-weight: 400;
    text-align: center;
    margin-top: 5px;
}

.status.busy {
    color: red;
    font-weight: 200;
    margin-inline-end: 30px;
}

@media only screen and (max-width: 680px) {
    .title {
        text-align: center;
    }

    .title_price {
        align-items: center;
    }

    .rent_btns_div {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .title_btn {
        margin-inline-end: 0;
        margin-bottom: 10px;
    }

    .title_btn:first-child {
        margin-inline-end: 0;
    }
}

/*********************************************************************************************************** FEATURES */
.features {
    display: flex;
    flex-direction: row;
    justify-content: end;
    flex-wrap: wrap;
    align-items: center;
}

.feature {
    display: flex;
    flex-direction: row;
    justify-content: start;
    align-items: center;
    margin-inline-start: 20px;
    margin-bottom: 10px;
}

.feature:first-child {
    margin-inline-start: 0;
}

.feature_icon {
    margin-inline-end: 5px;
}

.feature_label {
    margin: 0;
    color: var(--main-color);
    font-size: 20px;
    font-weight: 300;
}

@media only screen and (max-width: 680px) {
    .feature_label {
        font-size: 16px;
    }

    .feature {
        margin-inline-start: 10px;
    }
}

@media only screen and (max-width: 560px) {
    .features {
        justify-content: center;
    }
}

/************************************************************************************************************* TITLES */
.prices {
    padding: var( --padding-block);
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.price_div {
    display: flex;
    flex-direction: column;
    justify-content: start;
    margin-inline-end: 20px;
}

.price_div:last-child {
        margin-inline-end: 0;
}

.price_title {
    text-align: start;
    margin: 0;
    font-size: 44px;
    color: var(--main-color);
    font-weight: 300;
    width: 100%;
    display: flex;
}

.price_title_add {
    font-size: 14px;
}

.price_title.deposit {
    text-align: end;
    justify-content: end;
}


.prices_value {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-bottom: 10px;
}

.prices_value:last-child {
    margin-bottom: 0;
}

.prices_label {
    font-size: 32px;
    color: var(--main-color);
    font-weight: 300;
    margin-inline-end: 10px;
}

.prices_label:last-child {
    margin-inline-end: 0;
}

.prices_value_label {
    font-size: 44px;
    font-weight: 400;
    color: var(--hover-color);
    margin-inline-end: 10px;
}

.prices_value:last-child {
    margin-inline-end: 0;
}

@media only screen and (max-width: 860px) {
    .price_title, .prices_value_label {
        font-size: 32px;
    }

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

@media only screen and (max-width: 640px) {
    .prices {
        justify-content: center;
    }

    .price_div {
        margin-inline-end: 0;
        margin-bottom: 20px;
    }

    .price_title, .price_title.deposit {
        text-align: center;
        justify-content: center;
    }
}

@media only screen and (max-width: 480px) {
    .prices {
        justify-content: center;
    }

    .price_div {
        margin-inline-end: 0;
        margin-bottom: 20px;
    }

    .price_title, .price_title.deposit {
        text-align: center;
    }

    .price_title, .prices_value_label {
        font-size: 24px;
        white-space: nowrap;
    }

    .prices_label {
        font-size: 18px;
        white-space: nowrap;
    }
}

/******************************************************************************************************** DESCRIPTION */
.description_title {
    margin: 0;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    width: max-content;
    font-size: 32px;
    font-weight: 300;
    padding: var( --padding-block);
    padding-top: 30px;
}

.description_comment {
    font-size: 20px;
    font-weight: 200;
    margin: 0;
    margin-bottom: 10px;
    color: var(--main-color);
    padding: var( --padding-block);
}

.descriptions_div {
    border-top: 1px solid var(--main-color);
    padding: var(--padding-block);
    padding-bottom: 20px;
    padding-top: 20px;
}

.descriptions {
    background-color: var(--footer-bg);
    padding: 20px;
    border-radius: var(--br);
    display: grid;
    grid-template-columns: repeat(2, calc(100% / 2 - 20px / 2));
    gap: 0px 20px;
    align-items: start;
}

@media only screen and (max-width: 860px) {
    .descriptions {
        flex-direction: column-reverse;
        display: flex;
        gap: 20px;
    }
}

.description_div {
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: start;
    width: 100%;
}

.auto_description_title {
    margin: 0;
    width: 100%;
    margin-bottom: 10px;
    font-size: 24px;
    font-weight: 300;
    color: var(--main-color);
    border-bottom: 1px solid var(--main-color);
}

.description_text {
    padding: 0;
    border: none;
    resize: none;
    width: 100%;
    min-height: 800px;
    font-size: 18px;
    font-weight: 200;
    background-color: inherit;
    color: var(--main-color);
}

.description_text::-webkit-scrollbar {
    width: 0;
    height: 0;
}

@media only screen and (max-width: 860px) {
    .description_text {
        min-height: 500px;
    }
}

.description_feature {
    display: flex;
    flex-direction: row;
    justify-content: start;
    margin-bottom: 10px;
    width: 100%;
    align-items: center;
}

.description_feature_title {
    color: var(--main-color);
    font-size: 18px;
    font-weight: 200;
    margin-inline-end: 5px;
}

.description_feature_value {
    color: var(--hover-color);
    font-size: 18px;
    font-weight: 300;
}
