.reviews-carousel {
    margin: 20px 0;
    position: relative; 
}
.owl-carousel .owl-item .review-rating img {
    width: auto!important;
    margin: unset!important;
}

.review-item {
    display: flex;
    flex-direction: column;
    padding: 32px;
    border: 1px solid #ddd;
    margin-bottom: 20px;
    background-color: #F5F6F7;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    height: 338px;
    width: 100%;
}


.swiper-arrow.owl {
    width: 46px;
    height: 46px;
    background: #fff;
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.2s transform linear, 0.3s scale linear;
    z-index: 1;
    position: absolute;
    top: 50%; /* Центрируем по вертикали */
    transform: translateY(-50%); /* Центрируем стрелку по вертикали */
}

.swiper-prev-slide-owl {
    left: -25px;  /* Расстояние от левого края */
}

.swiper-next-slide-owl {
    right: -25px;  /* Расстояние от правого края */
}

.swiper-arrow.owl svg {
    width: 15px;
    height: 16px;
    fill: #333;  /* Цвет стрелки */
}

.swiper-next-slide-owl:hover svg {
    transform: translateX(5px);

}
.swiper-prev-slide-owl:hover svg {
    transform: translateX(-5px);

}
.owl svg {
    fill: currentcolor;
    will-change: transform;
    transition: 0.2s linear;
}



.star {
    display: none!important;
}

.star.filled {
    display: block !important;
}

.review-header {
    margin-bottom: 10px;
}

.review-name {
    font-weight: bold;
    font-size: 18px;
    color: #333;
}

.review-date {
    font-size: 14px;
    color: #888;
}

.review-text {
    font-size: 16px;
    color: #333;
    line-height: 1.5;
    max-height: 150px;
    overflow: hidden;
    position: relative;
    margin-bottom: 15px;
}

.review-rating {
    display: flex;               /* Используем flexbox для выравнивания по горизонтали */
    align-items: center;         /* Центрируем звезды по вертикали */
    justify-content: flex-start; /* Выравнивание по началу (слева) */
    gap: 5px;                    /* Добавляем расстояние между звездами */
}

.star {
    width: 20px; /* Ширина звезды */
    height: 20px; /* Высота звезды */
    object-fit: contain; /* Обеспечиваем правильное масштабирование изображения */
}


.star.filled {
    filter: grayscale(0%);
}

.read-more {
    display: none;
    text-align: right;
    margin-top: 10px;
    font-size: 14px;
    color: #007BFF;
    text-decoration: none;
}

.read-more:hover {
    text-decoration: underline;
}

.owl-carousel .owl-item {
    display: flex;
    justify-content: center;
}
