/* ============================================================
   Galzcrush Available Size Filter — style.css
   ============================================================ */

/* Wrapper */
.galzcrush-size-filter-wrap {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    background: #ffffff;
    border-radius: 14px;
    padding: 14px 20px;
    margin-bottom: 18px;
    box-shadow: 0 1px 6px rgba(0,0,0,0.06);
}

/* Header label */
.galzcrush-filter-header {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #555;
    white-space: nowrap;
}

.galzcrush-filter-header .filter-icon {
    font-size: 14px;
}

/* Buttons row */
.galzcrush-size-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* Individual size button */
.gsf-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    padding: 6px 14px;
    border: 1.5px solid #d4c8b5;
    border-radius: 8px;
    background: #ffffff;
    color: #333;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.18s, color 0.18s, border-color 0.18s, transform 0.1s;
    line-height: 1;
}

.gsf-btn:hover {
    border-color: #7B5E2A;
    color: #7B5E2A;
    transform: translateY(-1px);
}

/* Active / selected button */
.gsf-btn.active {
    background: #7B5E2A;
    color: #ffffff;
    border-color: #7B5E2A;
    font-weight: 700;
}

.gsf-btn.active:hover {
    background: #5f4720;
    border-color: #5f4720;
    color: #fff;
}

/* Loading state */
.gsf-btn.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Mobile */
@media (max-width: 640px) {
    .galzcrush-size-filter-wrap {
        flex-direction: column;
        align-items: flex-start;
        padding: 12px 14px;
    }

    .gsf-btn {
        font-size: 12px;
        padding: 5px 11px;
        min-width: 36px;
    }
}
