.product{
    position: relative;
    overflow: hidden;
    padding: 20px;
}

.product-container{
    padding: 0 2vw;
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
}
.product-container::-webkit-scrollbar {
    display: none;
}
.product-card{
    flex: 0 0 auto;
    width: 350px;
    height: 450px;
    margin-right: 20px;
    position: relative;
}
.product-card img{
    position: relative;
    width: 100%;
    height: 350px;
    overflow: hidden;
    object-fit: cover;
    object-position: center;
}
.product-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.product-card:hover {
    opacity: 1;
}
.product-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 10px;
}
.product-brand {
    text-transform: uppercase;
}
.product-short-description {
    width: 100%;
    height: 20px;
    line-height: 20px;
    overflow: hidden;
    opacity: 0.5;
    text-transform: capitalize;
    margin: 5px 0;
}
.pre-btn, .next-btn {
    border: none;
    width: 35px; /* Увеличим размер для лучшей видимости */
    height: 35px; /* Увеличим размер для лучшей видимости */
    position: absolute;
    top: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(145deg, #6e48aa, #9d50bb); /* Современный градиент */
    border-radius: 50%; /* Сделаем кнопки круглыми */
    cursor: pointer;
    z-index: 9;
    transform: translateY(-50%);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2); /* Добавим тень для объема */
    transition: all 0.3s ease; /* Плавное изменение при наведении */
}

.pre-btn:hover, .next-btn:hover {
    background: linear-gradient(145deg, #9d50bb, #6e48aa); /* Изменение градиента при наведении */
    transform: translateY(-50%) scale(1.1); /* Небольшое увеличение размера при наведении */
}
.next-btn {
    right: 0;
}