/* ─────────────────────────────────────────
   SHOP FILTER BUTTONS
───────────────────────────────────────── */
.abl-shop-filters {
    width: 100%;
    margin-bottom: 28px;
}

.abl-shop-filters__inner {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}

/* ── BUTTON ── */
.abl-shop-filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    color: #4a5568;
    background: #fff;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    padding: 9px 16px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.15s ease;
    white-space: nowrap;
    line-height: 1;
    -webkit-tap-highlight-color: transparent;
}

.abl-shop-filter-btn svg {
    flex-shrink: 0;
    transition: transform 0.15s;
}

.abl-shop-filter-btn:hover {
    color: #3038D2;
    border-color: #3038D2;
    background: #e8e9fb;
}

.abl-shop-filter-btn.is-active {
    color: #fff;
    background: #3038D2;
    border-color: #3038D2;
}

.abl-shop-filter-btn.is-active svg {
    stroke: #fff;
}

.abl-shop-filter-btn.is-active:hover {
    background: #2530b8;
    border-color: #2530b8;
    color: #fff;
}

/* Count badge */
.abl-filter-count {
    font-size: 11px;
    font-weight: 700;
    background: rgba(0,0,0,0.08);
    color: inherit;
    padding: 2px 7px;
    border-radius: 20px;
    min-width: 22px;
    text-align: center;
    line-height: 1.4;
}

.abl-shop-filter-btn.is-active .abl-filter-count {
    background: rgba(255,255,255,0.2);
    color: #fff;
}

/* Loading state */
.abl-shop-filter-btn.is-loading {
    opacity: 0.6;
    pointer-events: none;
}

/* ── DIVIDER between All and categories ── */
.abl-shop-filters__divider {
    width: 1px;
    height: 24px;
    background: #e2e8f0;
    flex-shrink: 0;
    margin: 0 2px;
}

/* ─────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────── */

/* Mobile — full width scrollable row */
@media screen and (max-width: 480px) {
    .abl-shop-filters__inner {
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: visible;
        scrollbar-width: none;
        padding-bottom: 4px;
        gap: 6px;
    }
    .abl-shop-filters__inner::-webkit-scrollbar {
        display: none;
    }

    .abl-shop-filter-btn {
        font-size: 12px;
        padding: 8px 13px;
        flex-shrink: 0;
        border-radius: 8px;
    }

    .abl-filter-count { display: none; }
}

/* Tablet */
@media screen and (min-width: 481px) and (max-width: 768px) {
    .abl-shop-filter-btn {
        font-size: 13px;
        padding: 9px 15px;
    }
}

/* Touch devices */
@media (hover: none) and (pointer: coarse) {
    .abl-shop-filter-btn:hover {
        color: #4a5568;
        border-color: #e2e8f0;
        background: #fff;
    }
    .abl-shop-filter-btn.is-active:hover {
        background: #3038D2;
        border-color: #3038D2;
        color: #fff;
    }
    .abl-shop-filter-btn:active {
        transform: scale(0.97);
    }
}