/* ======================
   Filters
   ====================== */
.stijl-dna-filters {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 16px;
    margin-bottom: 30px;
    background-color: #fff;
    border-radius: 5px;
    padding: 12px;
}

.stijl-dna-counter {
    font-size: 14px;
    color: #131E29;
    margin-right: 22px;
    background-color: #F5F3F0;
    border-radius: 100px;
    padding: 12px;
    flex-shrink: 0;
    white-space: nowrap;
}

.stijl-dna-filter-buttons {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    min-width: 0;
    padding-bottom: 0;

    /* Scrollbar verbergen – scrollen blijft mogelijk */
    scrollbar-width: none;           /* Firefox */
    -ms-overflow-style: none;        /* oude Edge */
}

.stijl-dna-filter-buttons::-webkit-scrollbar {
    display: none;                   /* Chrome, Safari, Edge */
}

.stijl-dna-filter-buttons {
    cursor: grab;
}

.stijl-dna-filter-buttons.is-dragging {
    cursor: grabbing;
    user-select: none;
}

.stijl-dna-filter-buttons.is-dragging .stijl-dna-filter {
    pointer-events: none; /* voorkomt per ongeluk filter-klik tijdens slepen */
}

.stijl-dna-filter,
.stijl-dna-style-dropdown {
    flex-shrink: 0;
}

.stijl-dna-filter {
    padding: 8px 16px;
    border: 1px solid #F5F3F0;
    background-color: #F5F3F0 !important;
    color: #131E29 !important;
    border-radius: 999px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600 !important;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.stijl-dna-filter.active,
.stijl-dna-filter:hover {
    background-color: #131E29 !important;
    color: #fff !important;
    border-color: #131E29;
}

/* Stijl dropdown */
.stijl-dna-style-dropdown {
    display: inline-block;
}

.stijl-dna-filter-select {
    appearance: none;
    -webkit-appearance: none;
    padding: 8px 36px 8px 16px;
    border: 1px solid #F5F3F0;
    background: #F5F3F0 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 8L1 3h10z'/%3E%3C/svg%3E") no-repeat right 12px center;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    min-width: 150px;
    color: #333;
    height: 38px;
    line-height: 1.2;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.stijl-dna-filter-select:hover,
.stijl-dna-filter-select:focus {
    background-color: #1a1a1a;
    color: #fff;
    border-color: #1a1a1a;
    outline: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23ffffff' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
}

/* Mobiel: teller boven, filters scrollen over volle breedte */
@media (max-width: 700px) {
    .stijl-dna-filters {
        flex-direction: column;
        align-items: stretch;
        flex-wrap: wrap;
    }

    .stijl-dna-counter {
        margin-right: 0;
    }

    .stijl-dna-filter-buttons {
        width: 100%;
    }
}