.custom-category-slider-wrapper {
    position: relative;
    padding-bottom: 10px;
    margin-bottom: 16px; /* optioneel */
}

.custom-category-slider img {
    padding: 34px;
    height: 250px !important;
    object-fit: contain;
}

.woocommerce-cart-form__cart-item img {
    width: 60px;
    height: 60px;
    object-fit: cover;
}
.custom-category-slider::-webkit-scrollbar {
    height: 8px;
    margin-top: 48px; /* extra ruimte boven de scrollbar */
}

.custom-category-slider {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 24px;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 0 0 48px 0;
    scrollbar-width: thin;
    scrollbar-color: #F94D00 #f3f3f3;
}

.custom-category-slider-wrapper {
    overflow: hidden;
}

.custom-category-slider {
    max-width: 100%;
}

.custom-category-slider::-webkit-scrollbar {
    height: 6px;
}
.custom-category-slider::-webkit-scrollbar-track {
    background: #f3f3f3;
    border-radius: 4px;
}
.custom-category-slider::-webkit-scrollbar-thumb {
    background: #999;
    border-radius: 4px;
}
.custom-category-slider::-webkit-scrollbar-thumb:hover {
    background: #666;
}

/* Kaarten */
.category-card {
    flex: 0 0 auto;
    width: 307px;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    text-align: center;
    scroll-snap-align: start;
    border: 2px solid transparent;
    transition: border 0.3s;
}

.category-card.active {
    border-color: #F94D00;
}

.card-image img {
    width: 100%;
    height: auto;
    display: block;
}

.card-label {
    background: #F94D00;
    color: #fff;
    padding: 12px 0;
    font-weight: 600;
    font-size: 16px;
    border-top: 1px solid #eee;
}

/* Navigatiepijlen rechts */
.slider-nav {
    position: absolute;
    top: 35%;
    right: 24px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: row;
    gap: 8px;
    z-index: 10;
    flex-wrap: nowrap;
    width: 100%;
}

.slider-nav button {
    background: #000;
    color: #fff;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 4px;
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-nav button.next{
    right: 0;
    position: absolute;
}

.slider-nav button.prev {
    margin-left: 48px;
}


@media (max-width: 768px) {
    .category-card {
        width: 100%;
    }
}
