
/* Remove Woo Previous/Next arrows */
.flex-direction-nav {
    display: none !important;
}

/* Force horizontal thumbnails */
.flex-control-thumbs {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    gap: 10px;
    padding: 10px 0;
    scroll-behavior: smooth;
}

/* Scrollbar styling */
.flex-control-thumbs::-webkit-scrollbar {
    height: 8px;
}

.flex-control-thumbs::-webkit-scrollbar-thumb {
    background: #999;
    border-radius: 10px;
}

.flex-control-thumbs li {
    flex: 0 0 auto !important;
    width: 90px !important;
}

.flex-control-thumbs img {
    width: 100% !important;
    height: 90px !important;
    object-fit: cover;
    border-radius: 8px;
}

/* Limit visible area to approx 6 thumbnails on desktop */
@media (min-width: 992px) {
    .flex-control-thumbs {
        max-width: calc((90px * 6) + (10px * 5));
    }
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .flex-control-thumbs li {
        width: 75px !important;
    }

    .flex-control-thumbs img {
        height: 75px !important;
    }
}
