.slide__title {
    font-size: 25px;
    font-weight: 500;
}
.buy {
    text-align: right;
    font-size: 24px;
    margin-bottom: 60px;
    position: relative;
    right: 50px;
}
.buy button{
    width: 100%;
    background: var(--blackprimary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-style: normal;
    font-weight: 600;
    line-height: 150%;
    color: #fafafc;
    padding: 4px 9px 4px 9px;
    cursor: pointer;
    position: relative;
    bottom: 12px;
    font-size:24px;
    border:0;
    font-family: "Gilroy";
}


#selectedProductName {
    font-size: 70px;
    font-weight: 500;
    position: relative;

}
.allprice_text {
    width: 5%;
    position: relative;
    left: 20px;
    bottom: 200px;
}
#slider {
    perspective: 1200px;
}

#slider .owl-item {
    transform: rotateY(0deg) translateZ(300px);
    transition: transform 0.5s;
}

#slider .owl-item.active {
    transform: rotateY(0deg) translateZ(0);
}

.arrow {
    position: absolute;
    width: 5px;
    height: 5px;
    background-color: black;
    border-radius: 50%;
    left: 50%;
    transform: translateX(-50%);
    top: -11px;
    z-index: 221;
}
.allprice {
    position: relative;
}
.owl-item.active.center .slide__title {
    color: red;
}
.flexs {
    display: flex;
}
@media screen and (max-width: 768px) {
    .flexs {
        display: block;
    }
}
.section-description {
    max-width: 880px!important;
}
.section-description {
    font-weight: 500;
    font-size: 18px;
    line-height: 150%;
    color: var(--graymain);
    display: flex;
    align-items: center; /* Выравнивание текста и изображения по вертикали */
}
.allprice {
    width: 70%;
}
@media screen and (max-width: 768px) {
    .section-description {
        display: block;
    }
    .allprice {
        width: 100%;
    }
    .section-title {
        padding-left: 20px;
        padding-right: 20px;
    }
    .section-description {
        padding-left: 20px;
        padding-right: 20px;
    }
    .EaTxk {
        padding-left: 20px;
        padding-right: 20px;
        line-height: 1;
    }
    .allprice_text {
        width: 100%!important;
        display: block;
        text-align: center;
        position: static!important;
        left: 0px!important;
        margin-top: 40px;
    }
    .buy {
        text-align: center!important;
        font-size: 30px;
        margin-bottom: 40px!important;
        position: static!important;
        right: 0px!important;
        margin-top: 40px!important;
    }
    .owl-theme .owl-nav {
        display: none;
    }
}

.section-image {
    margin-left: 20px;
    max-width: 260px;
    border-radius: 10px;
}
@media (max-width: 580px) {
    .section-image {
        border-radius: 10px;
        width: 100%;
        height: auto;
        max-width: 100%;
        margin: 25px 0;
    }
}
.photo-container {
    perspective: 1000px; /* Устанавливаем точку перспективы */
    transition: transform 0.5s; /* Добавляем плавное изменение при наведении */
}

.photo-container:hover {
    transform: rotateY(20deg);
}
