.wswf-sidebar {
    background: #fff;
    padding: 0;
    max-height: 100vh;
    overflow-y: auto;
}

.wswf-header {
    position: static;
    top: auto;
    background: #fff;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 18px;
    padding-bottom: 10px;
    margin-bottom: 12px;
}

.wswf-header .widget-title {
    margin-bottom: 0 !important;
}

.wswf-close {
    display: none;
    cursor: pointer;
    font-size: 26px;
    line-height: 1;
}

.wswf-selected-wrap {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 12px;
}

.wswf-clear-all {
    align-self: flex-start;
    border: none;
    background: transparent;
    color: #1b4066;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.2px;
    text-transform: uppercase;
    cursor: pointer;
    padding: 0;
}

.wswf-reset-all {
    border: none;
    background: transparent;
    color: #1b4066;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.2px;
    text-transform: uppercase;
    cursor: pointer;
    padding: 4px 2px;
    text-decoration: underline;
    text-underline-offset: 2px;
    white-space: nowrap;
}

.wswf-reset-all:hover,
.wswf-reset-all:focus {
    background: transparent !important;
    color: #0f2f56 !important;
    box-shadow: none !important;
    outline: none;
}

.wswf-group {
    margin-bottom: 22px;
}

.wswf-group--price {
    margin-bottom: 24px;
}

.wswf-price-title {
    margin: 0 0 12px;
    font-size: 14px;
    font-weight: 700;
    color: #202020;
}

.wswf-toggle {
    display: none;
    background: #111;
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 10px 16px;
    margin-bottom: 12px;
}

.wswf-toggle span {
    margin-right: 6px;
}

.wswf-group-data {
    display: none;
}

.wswf-group-data.active {
    display: block;
}

.wswf-group .wswf-group-data {
    max-height: none;
    overflow: visible;
}

.wswf-term-list label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 7px;
    padding: 0 8px 0 0;
    font-size: 14px;
    transition: opacity 0.2s ease;
    cursor: pointer;
}

.wswf-term-list label .wswf-filter {
    margin: 0 !important;
    width: auto !important;
    height: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    display: inline-block !important;
    position: static !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    vertical-align: middle !important;
    appearance: auto !important;
    -webkit-appearance: checkbox !important;
    accent-color: #1b4066 !important;
    flex: 0 0 auto !important;
    box-shadow: none !important;
}

.wswf-term-list label:last-child {
    margin-bottom: 0;
}

.wswf-term-name {
    flex: 1;
}

.wswf-term-count {
    color: #656565;
    font-size: 13px;
    line-height: 1;
}

.wswf-term-list label.is-hidden {
    display: none;
}

.wswf-term-list label.is-disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.wswf-term-list label.is-disabled input {
    pointer-events: none;
}

.wswf-toggle-terms {
    margin-top: 10px;
    margin-left: 8px;
    border: none;
    background: transparent;
    color: #1b4066;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    cursor: pointer;
    padding: 0;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.wswf-toggle-terms:hover,
.wswf-toggle-terms:focus {
    background: transparent !important;
    color: #111 !important;
    box-shadow: none !important;
    outline: none;
}

.wswf-accordion {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    position: relative;
    padding-right: 20px;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.wswf-accordion::after {
    content: '+';
    font-size: 16px;
    transition: 0.3s;
}

.wswf-accordion.active::after {
    content: '-';
}

.wswf-selected-filters,
.wswf-top-selected,
.wswf-button-selected {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.wswf-selected-filters {
    margin-bottom: 0;
}

.wswf-top-selected {
    margin: 10px 0 15px;
}

.wswf-button-selected {
    margin-top: 10px;
    margin-bottom: 10px;
}

.wswf-button-selected:empty {
    display: none;
}

.wswf-chip {
    background: #f6f7fb;
    border: 1px solid #e5e8f0;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #334155;
    line-height: 1.2;
}

.wswf-remove {
    font-weight: 700;
}

.wswf-chip:hover {
    background: #eef2ff;
    border-color: #cfd7ea;
}

.wswf-price-inputs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 12px;
}

.wswf-price-box {
    display: flex;
    align-items: center;
    width: 100%;
    background: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 8px 10px;
    min-height: 42px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
    box-sizing: border-box;
}

.wswf-price-box:focus-within {
    border-color: #274ad8;
    box-shadow: 0 0 0 3px rgba(39, 74, 216, 0.08);
    background: #fff;
}

.wswf-price-box input {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    display: block !important;
    flex: 1 1 auto !important;
    border: none !important;
    background: transparent !important;
    outline: none !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    color: #111 !important;
    -webkit-text-fill-color: #111 !important;
    opacity: 1 !important;
    line-height: 1.2 !important;
    padding: 0 !important;
    margin: 0 !important;
    text-indent: 0 !important;
    text-align: left !important;
    caret-color: #111 !important;
    font-family: inherit !important;
    letter-spacing: 0 !important;
    box-shadow: none !important;
}

.wswf-price-box input::placeholder {
    color: #9aa3b2;
    opacity: 1;
}

.wswf-price-box input::-webkit-outer-spin-button,
.wswf-price-box input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.wswf-currency {
    margin-right: 6px;
    font-weight: 600;
    color: #111;
    flex: 0 0 auto;
}

#wswf-price-slider {
    margin: 18px 8px 2px;
    padding: 10px 0 6px;
    touch-action: none;
    position: relative;
}

.ui-slider {
    height: 4px;
    background: #e7ecf4;
    border: none;
    border-radius: 999px;
    position: relative;
    overflow: visible !important;
}

.ui-slider-range {
    position: absolute !important;
    top: 0;
    bottom: 0;
    display: block !important;
    background: #1B4066 !important;
    border-radius: 999px;
    height: 100%;
    z-index: 1;
}

.ui-slider-handle {
    width: 18px;
    height: 18px;
    display: block !important;
    position: absolute !important;
    box-sizing: border-box !important;
    z-index: 3;
    background: #fff;
    border: 2px solid #cad6ea;
    border-radius: 50%;
    top: 50%;
    margin-left: -9px;
    left: auto;
    cursor: pointer;
    box-shadow: 0 3px 10px rgba(15, 23, 42, 0.14);
    outline: none;
    transform: translateY(-50%);
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease, background-color .2s ease;
}

.ui-slider-handle:hover,
.ui-slider-handle:focus {
    border-color: #2f5bff;
    box-shadow: 0 0 0 4px rgba(47, 91, 255, 0.14);
    transform: translateY(-50%) scale(1.05);
}

.wswf-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.85);
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wswf-loader {
    width: 45px;
    height: 45px;
    border: 4px solid #eee;
    border-top: 4px solid #000;
    border-radius: 50%;
    animation: wswfSpin 0.7s linear infinite;
}

@keyframes wswfSpin {
    100% {
        transform: rotate(360deg);
    }
}

.wswf-apply-bar {
    display: none;
}

.wswf-lock {
    overflow: hidden;
}

.wswf-loadmore-wrap {
    text-align: center;
    margin-top: 20px;
}

.wswf-loadmore-wrap .wswf-loadmore {
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.wswf-loadmore-spinner {
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-top-color: #fff;
    border-radius: 50%;
    display: none;
    animation: wswfSpin 0.7s linear infinite;
}

.wswf-loadmore.is-loading .wswf-loadmore-spinner {
    display: inline-block;
}

.wswf-loadmore.is-loading {
    opacity: 0.85;
    pointer-events: none;
}

.wswf-results-meta {
    margin: 0 0 14px;
    font-size: 14px;
    font-weight: 600;
    color: #2f2f2f;
}

.btn-loadmore {
    display: none !important;
}

.sidebar.sidebar-left.scrolled {
    top: 260px !important;
}

.wswf-overlay--skeleton {
    background: rgba(255, 255, 255, 0.96);
    padding: 12px;
}

.wswf-skeleton-grid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 16px;
}

.wswf-skeleton-card {
    border: 1px solid #ececec;
    border-radius: 10px;
    padding: 12px;
    background: #fff;
}

.wswf-skeleton-media,
.wswf-skeleton-line {
    display: block;
    position: relative;
    overflow: hidden;
    background: #f1f1f1;
    border-radius: 7px;
}

.wswf-skeleton-media::after,
.wswf-skeleton-line::after {
    content: "";
    position: absolute;
    top: 0;
    left: -120%;
    width: 120%;
    height: 100%;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.9) 50%, transparent 100%);
    animation: wswfShimmer 1.2s ease-in-out infinite;
}

.wswf-skeleton-media {
    height: 140px;
    margin-bottom: 12px;
}

.wswf-skeleton-line {
    height: 12px;
    margin-bottom: 8px;
}

.wswf-skeleton-line.lg {
    width: 90%;
}

.wswf-skeleton-line.md {
    width: 72%;
}

.wswf-skeleton-line.sm {
    width: 54%;
    margin-bottom: 0;
}

@keyframes wswfShimmer {
    100% {
        left: 120%;
    }
}

@media (max-width: 991px) {
    .wswf-header {
        position: sticky;
        top: 0;
        background: #fff;
        z-index: 20;
    }
    .wswf-toggle {
        display: inline-block;
    }

    .wswf-sidebar {
        position: fixed;
        top: 0;
        left: -330px;
        width: min(88vw, 320px);
        height: 100%;
        z-index: 99999;
        transition: 0.3s;
        box-shadow: 0 0 25px rgba(0, 0, 0, 0.3);
        padding: 20px;
    }

    .wswf-sidebar.open {
        left: 0;
    }

    .wswf-close {
        display: block;
    }

    .wswf-apply-bar {
        display: block;
        position: sticky;
        bottom: 0;
        background: #fff;
        padding: 12px;
        border-top: 1px solid #eee;
        z-index: 20;
    }

    .wswf-apply-btn {
        width: 100%;
        background: #111;
        color: #fff;
        border: none;
        border-radius: 4px;
        padding: 14px;
        font-size: 15px;
        font-weight: 600;
        cursor: pointer;
    }

    .wswf-skeleton-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .wswf-skeleton-media {
        height: 120px;
    }
}

@media (max-width: 767px) {
    .top_filter-shop {
        display: none;
    }

    .wswf-price-inputs {
        grid-template-columns: 1fr;
    }

    .wswf-results-meta {
        font-size: 13px;
    }

    .wswf-skeleton-grid {
        grid-template-columns: 1fr;
    }
}




