.products-container {
    padding: 4rem 2rem;
    position: relative;
}

.products-scroll {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 2rem 0;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 2rem;
}

.products-scroll::-webkit-scrollbar {
    height: 8px;
    background: rgba(40, 40, 40, 0.8);
    border-radius: 4px;
}

.products-scroll::-webkit-scrollbar-thumb {
    background: var(--accent-color);
    border-radius: 4px;
}

.product-card {
    flex: 0 0 300px;
    background: rgba(40, 40, 40, 0.9);
    border-radius: 15px;
    padding: 1.5rem;
    transform: translateX(50px);
    opacity: 100;
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1), 
                opacity 0.6s ease,
                box-shadow 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    scroll-snap-align: start;
}

.product-card.visible {
    transform: translateX(0);
    opacity: 1;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    );
    transition: 0.5s;
}

.product-card:hover::before {
    left: 100%;
}

.product-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transform: translateY(-5px);
}

.product-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.product-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #fff;
}

.product-price {
    color: var(--accent-color);
    font-size: 1.4rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.product-description {
    font-size: 0.9rem;
    line-height: 1.5;
    opacity: 0.8;
    margin-bottom: 1.5rem;
}

.product-button {
    background: linear-gradient(45deg, var(--accent-color), #ff6b6b);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: inline-block;
    text-decoration: none;
    font-weight: 500;
}

.product-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(245, 78, 78, 0.4);
}

.scroll-gradient {
    position: fixed;
    top: 0;
    bottom: 0;
    width: 100px;
    pointer-events: none;
    z-index: 2;
}

/* .scroll-left {
    left: 0;
    background: linear-gradient(90deg, rgba(26,26,26,1) 0%, rgba(26,26,26,0) 100%);
}

.scroll-right {
    right: 0;
    background: linear-gradient(90deg, rgba(26,26,26,0) 0%, rgba(26,26,26,1) 100%);
} */

@media (max-width: 768px) {
    .product-card {
        flex: 0 0 80vw;
    }
}