.slideshow-container {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.slideshow-wrapper {
    width: 100%;
    height: 150px;
    overflow: hidden;
    position: relative;
    cursor: grab;
}

.slideshow-wrapper:active {
    cursor: grabbing;
}

.slides-track {
    display: flex;
    height: 100%;
    transition: transform 0.5s ease-in-out;
    will-change: transform;
}

.slide {
    flex: 0 0 120px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
}

.slide img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.slide:hover img {
    opacity: 1;
    transform: scale(1.05);
}

/* Responsive design */
@media (max-width: 768px) {
    .slideshow-wrapper {
        height: 120px;
    }
    
    .slide {
        flex: 0 0 150px;
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .slideshow-wrapper {
        height: 100px;
    }
    
    .slide {
        flex: 0 0 120px;
        padding: 10px;
    }
}

/* Smooth scrolling for touch devices */
.slideshow-wrapper {
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
}

/* Hide scrollbar but keep functionality */
.slideshow-wrapper::-webkit-scrollbar {
    display: none;
}

.slideshow-wrapper {
    -ms-overflow-style: none;
    scrollbar-width: none;
}