.car_offer {
    padding: 15px 0 20px;
    /* background-color: var(--global-palette3); */
}


#color-indicators-wrap {
    position: relative;
    z-index: 2;
    /*margin-bottom: 70px;*/
    color: var(--global-palette9, #ffffff);
    display: flex;
    justify-content: center;
}

#color-indicators-highlight {
    margin-top: -5px;
    margin-left: -5px;
    height: 37px;
    width: 37px;
    border: 3px solid black;
    border-radius: 50%;
    transition: transform .4s ease-out;
    transform: translateX('0px');
}

#color-indicators {
    display: flex;
    gap: 30px;
    list-style-type: none;
    padding: 0;
    margin: 0;
    align-items: center;
}

#color-indicators li {
    height: 75px !important;
    width: 75px !important;
    border: 3px solid white;
    border-radius: 50%;
    background-color: transparent !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}


.active_color_li {
    border: 3px solid #DF4661 !important;
    height: 75px !important;
    width: 75px !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    background: transparent !important;
}

#color-indicators li:not(:first-child) {
    margin-left: 20px;
}

/* #color-indicators li.active {
    height: 31px;
    width: 31px;
    border: 3px solid black;
    border-radius: 50%;
} */
@media (max-width: 550px) {
    #color-indicators {
        gap: 15px !important;
        flex-wrap: wrap;
        width: 275px;
    }

    #color-indicators li {
        width: 56px !important;
        height: 56px !important;
    }

    #color-indicators li:not(:first-child) {
        margin-left: unset;
    }
}

#color-cars {
    list-style-type: none;
    position: relative;
    z-index: 1;
    /* width: 607px; */
    max-width: 100%;
    margin: auto;
    padding: 0;
    margin-top: 0px;
}

#color-cars li {
    position: absolute;
    top: 0px;
    opacity: 0;
    height: 260px;
    margin: unset;
    transition: opacity .4s ease-out;
    background-color: white !important;
}

@media (max-width: 550px) {
    #color-cars li {
        height: fit-content;
    }
}

#color-cars li.active_color {
    position: relative;
    opacity: 1;
    z-index: 2;
}

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

.option_card {
    text-align: center
}

.option_title {
    color: var(--global-palette9, #ffffff);
    font-size: 18px;
    padding-top: 20px;
    margin: 0;
}

.option_title::before {
    content: '';
    display: block;
    margin: auto auto 20px auto;
    height: 1px;
    background-color: #fff;
    width: 64px;
}

.option_subtitle {
    color: var(--global-palette9, #ffffff);
    font-size: 24px;
}

@media (max-width:1024px) {
    #color-indicators {
        justify-content: center;
    }

    #color-indicators-wrap {
        margin-bottom: 70px;
    }

    .car_offer {
        padding: 20px 0 20px;
        /* background-color: var(--global-palette3); */
    }
}

.car_wrapper {
    display: flex;
    flex-direction: row;
    justify-content: center;
    width: 100%;
}

.car_color-select {
    display: flex;
    flex-direction: column-reverse;
    width: 100%;
    gap: 40px;
}

@media (max-width: 550px) {
    .car_color-select {
        gap: 20px !important;
    }
}

.cars_color_btn {
    transition: .15s ease;
}

.cars_color_btn:hover {
    border-color: rgba(0, 102, 181, .15);
    box-shadow: 0 4px 14px #005dd2;
    outline: 0;
    border-radius: 7px;
}

.cars_info_block {
    width: 600px;
}

.cars_colors {
    width: 495px;
}

.btn_car_color span {
    height: 40px;
    width: 170px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.stock_btn_car {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: normal;
    border-color: #1d1d1d;
    width: 180px;
    background: #1174D0;
    transition: all 0.3s ease;
    height: 44px;
    color: white;
    border-radius: 30px;
    padding-left: 30px;

}

.stock_btn_car:hover {
    color: white;
    background-color: #1d1d1d !important;
}

@keyframes moveLeftRight {
    0% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(10px);
        /* Элемент перемещается вправо на 200px */
    }

    100% {
        transform: translateX(0);
        /* Возвращается на исходную позицию */
    }
}

.arrow-2 {
    cursor: pointer;
    height: 15px;
    width: 20px;
    position: relative;
    margin-left: 3px;
    animation: moveLeftRight 2s infinite;
}

.stock_btn_car:hover .arrow-2 {
    height: 18px;
}

.arrow-2-top,
.arrow-2-bottom {
    background: white;
    height: 1px;
    position: absolute;
    top: 7px;
    width: 7px;
    transition: width 0.2s ease;
}

.stock_btn_car:hover .arrow-2-top {
    top: 9px;
    width: 9px;
}

.stock_btn_car:hover .arrow-2-bottom {
    top: 9px;
    width: 9px;
}

/* .arrow-2-top {
    top: 64px;
} */
.arrow-2-top {
    transform: rotate(45deg);
    transform-origin: bottom right;
}

.arrow-2-bottom {
    transform: rotate(-45deg);
    transform-origin: top right;
}

.arrow-2-top::after,
.arrow-2-bottom::after {
    background: #000;
    content: '';
    height: 100%;
    position: absolute;
    top: 0;
    transition: all 0.15s;
}

.arrow-2-top::after {
    left: 100%;
    right: 0;
    transition-delay: 0s;
}

.arrow-2-bottom::after {
    left: 0;
    right: 100%;
    transition-delay: 0.15s;
}

@keyframes moveUpDown {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(25px);
    }

    100% {
        transform: translateY(0);
    }
}


.img_mouse {
    animation: moveUpDown 3s infinite;
    cursor: pointer;
}


/* new-color-cars */
.car_color {
    position: relative;
    height: 55vw;
    /* задайте нужную */
    overflow: hidden;
}

@media (max-width: 768px) {
    .car_color {
        height: 50vw;
    }
}

.color {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    /* не мешает кликам */
    z-index: 1;
}

.color img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Показываем активное изображение */
.color.active {
    opacity: 1;
    z-index: 2;
}

.active_text {
    opacity: 1 !important;
    z-index: 2 !important;
}

.text_info .info {
    transition: opacity 0.5s ease;
    opacity: 0;
    z-index: 1;
    position: absolute;
    top: 0;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.text_info .info h2 {
    color: white;
    font-weight: 400;
    font-size: 18px;
    letter-spacing: .03em;
    cursor: unset;
    font-family: "Gotham", Sans-serif;
}

#black .info h2 {
    color: black !important;
}

@media (max-width: 768px) {
    .text_info .info h2 {
        color: black;
        font-size: 16px;
    }
}

.new_cars_colors {
    position: relative;
}

.new_cars_colors .container_content {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: unset;
    bottom: 7.5%;
    z-index: 10;
    height: 95px;
    justify-content: space-between;
}

@media (max-width: 768px) {
    .new_cars_colors .container_content {
        position: relative;
        width: 85vw;
        margin: 0px auto;
        min-height: 100px;
        justify-content: space-around;
        margin-top: 32px;
    }
}

.text_info .info p {
    height: auto;
    font-weight: 400;
    font-size: 16px;
    letter-spacing: .03em;
    color: white;
    cursor: unset;
}

@media (max-width: 768px) {
    .text_info .info p {
        color: black;
        font-size: 14px;
    }
}

.btn_colors {
    display: flex;
    flex-direction: row;
    gap: 20px;
}

.btn_color img {
    width: 32px;
}

.container_content .text_info {
    display: flex;
    justify-content: center;
}

.btn_color {
    position: relative;
    cursor: pointer;
}

.btn_color::before {
    content: "";
    position: absolute;
    width: 42px;
    height: 42px;
    background-color: hsla(0, 0%, 100%, .2);
    top: -13%;
    left: -15%;
    border-radius: 50%;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

#black .btn_color::before {
    background-color: hsl(0deg 8.74% 80.91% / 72%)
}

@media (max-width: 768px) {
    .btn_color::before {
        background-color: rgba(0, 0, 0, .051)
    }
}

/* Показывать ::before только у активной кнопки */
.btn_color.active_bef::before {
    opacity: 1;
}