/* Category listing filters — external asset */
/* Advanced Filter System Styles */
    .category__TopBar {
        display: flex;
        flex-direction: column;
        gap: 15px;
        margin-bottom: 20px;
        padding: 20px;
        background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
        border-radius: 12px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    }

    /* Search Row - 100% width */
    .category__Search-Row {
        width: 100%;
    }

    .category__Search {
        width: 100%;
    }

    .category__Search-Input {
        position: relative;
        width: 100%;
    }

    .category__Search-Field {
        width: 100%;
        padding: 12px 45px 12px 16px;
        border: none;
        border-radius: 10px;
        font-size: 14px;
        transition: all 0.3s ease;
        background: white;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
        font-family: inherit;
    }

    .category__Search-Field:focus {
        outline: none;
        box-shadow: 0 6px 20px rgba(138, 101, 196, 0.3);
        transform: translateY(-2px);
    }

    .category__Search-Icon {
        position: absolute;
        right: 18px;
        top: 50%;
        transform: translateY(-50%);
        color: #8a65c4;
        font-size: 18px;
    }

    /* Price Range Slider Row */
    .category__Price-Row {
        width: 100%;
        background: white;
        padding: 15px;
        border-radius: 10px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    }

    .category__Filter-Label {
        font-weight: 600;
        color: #4a5568;
        font-size: 14px;
        display: block;
    }

    .category__Price-Slider-Container {
        position: relative;
        padding: 0 10px;
    }

    .category__Price-Slider {
        position: relative;
        height: 6px;
        background: #e2e8f0;
        border-radius: 10px;
        margin: 20px 0 15px 0;
    }

    .category__Price-Slider-Track {
        position: absolute;
        height: 6px;
        background: linear-gradient(90deg, #8a65c4 0%, #a78bce 100%);
        border-radius: 10px;
        transition: all 0.3s ease;
    }

    .category__Price-Input-Range {
        position: absolute;
        width: 100%;
        height: 6px;
        top: 0;
        left: 0;
        -webkit-appearance: none;
        pointer-events: none;
        background: transparent;
    }

    .category__Price-Input-Range::-webkit-slider-thumb {
        -webkit-appearance: none;
        appearance: none;
        width: 22px;
        height: 22px;
        background: white;
        border: 3px solid #8a65c4;
        border-radius: 50%;
        cursor: pointer;
        pointer-events: all;
        box-shadow: 0 3px 10px rgba(138, 101, 196, 0.3);
        transition: all 0.3s ease;
    }

    .category__Price-Input-Range::-webkit-slider-thumb:hover {
        transform: scale(1.2);
        box-shadow: 0 4px 15px rgba(138, 101, 196, 0.5);
    }

    .category__Price-Input-Range::-moz-range-thumb {
        width: 22px;
        height: 22px;
        background: white;
        border: 3px solid #8a65c4;
        border-radius: 50%;
        cursor: pointer;
        pointer-events: all;
        box-shadow: 0 3px 10px rgba(138, 101, 196, 0.3);
        transition: all 0.3s ease;
    }

    .category__Price-Input-Range::-moz-range-thumb:hover {
        transform: scale(1.2);
        box-shadow: 0 4px 15px rgba(138, 101, 196, 0.5);
    }

    .category__Price-Values {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-top: 10px;
        padding: 8px 12px;
        background: #f7fafc;
        border-radius: 6px;
    }

    .category__Price-Value {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 5px;
    }

    .category__Price-Value-Label {
        font-size: 12px;
        color: #718096;
        font-weight: 600;
    }

    .category__Price-Value-Amount {
        font-size: 16px;
        color: #2d3748;
        font-weight: 700;
        direction: ltr;
    }

    .category__Price-Unit {
        color: #8a65c4;
        font-size: 13px;
        font-weight: 600;
    }

    /* Category Checkboxes Row */
    .category__Categories-Row {
        width: 100%;
        background: white;
        padding: 15px;
        border-radius: 10px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    }

    .category__Filter-Categories {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
        gap: 10px;
        margin-top: 8px;
    }

    .category__Filter-Checkbox {
        display: flex;
        align-items: center;
        gap: 8px;
        cursor: pointer;
        padding: 8px 12px;
        background: #f7fafc;
        border-radius: 8px;
        transition: all 0.3s ease;
        border: 2px solid transparent;
    }

    .category__Filter-Checkbox:hover {
        background: #edf2f7;
        border-color: #8a65c4;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(138, 101, 196, 0.15);
    }

    .category__Filter-Check {
        display: none;
    }

    .category__Filter-Checkmark {
        width: 22px;
        height: 22px;
        border: 2.5px solid #cbd5e0;
        border-radius: 6px;
        position: relative;
        transition: all 0.3s ease;
        flex-shrink: 0;
        background: white;
    }

    .category__Filter-Check:checked~.category__Filter-Checkmark {
        background: linear-gradient(135deg, #8a65c4 0%, #a78bce 100%);
        border-color: #8a65c4;
        animation: checkPulse 0.3s ease;
    }

    @keyframes checkPulse {

        0%,
        100% {
            transform: scale(1);
        }

        50% {
            transform: scale(1.1);
        }
    }

    .category__Filter-Check:checked~.category__Filter-Checkmark::after {
        content: '✓';
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        color: white;
        font-size: 14px;
        font-weight: bold;
    }

    .category__Filter-Checkbox-Text {
        font-size: 14px;
        color: #4a5568;
        font-weight: 600;
    }

    .category__Filter-Check:checked~.category__Filter-Checkbox-Text {
        color: #8a65c4;
    }

    /* Sort and Actions Row */
    .category__Sort-Actions-Row {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 20px;
        flex-wrap: wrap;
    }

    .category__Sort-Group {
        width: 60%;
        flex: 1;
        min-width: 200px;
        background: white;
        padding: 10px 35px;
        border-radius: 10px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
        display: flex;
        align-items: center;
        gap: 3rem;
        height: 58px;
    }

    .category__TopBar-Right-Filter {
        width: 100%;
        position: relative;
        cursor: pointer;
    }

    .category__TopBar-Right-Filter-Text {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 8px 16px;
        background: #f7fafc;
        border-radius: 8px;
        border: 2px solid transparent;
        transition: all 0.3s ease;
    }

    .category__TopBar-Right-Filter-Text:hover {
        border-color: #8a65c4;
        background: white;
    }

    .category__TopBar-Right-Filter-Text-Box {
        font-size: 14px;
        color: #4a5568;
        font-weight: 600;
    }

    .category__TopBar-Right-Filter-Icon {
        color: #8a65c4;
        font-size: 12px;
        transition: transform 0.3s ease;
    }

    .category__TopBar-Right-Filter:hover .category__TopBar-Right-Filter-Icon {
        transform: rotate(180deg);
    }

    .category__TopBar-Right-Filter-List {
        position: absolute;
        top: calc(100% + 8px);
        left: 0;
        right: 0;
        background: white;
        border-radius: 8px;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
        padding: 8px;
        list-style: none;
        margin: 0;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: all 0.3s ease;
        z-index: 100;
    }

    .category__TopBar-Right-Filter:hover .category__TopBar-Right-Filter-List {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .category__TopBar-Right-Filter-Item {
        padding: 10px 14px;
        cursor: pointer;
        border-radius: 6px;
        transition: all 0.2s ease;
        font-size: 14px;
        color: #4a5568;
    }

    .category__TopBar-Right-Filter-Item:hover {
        background: #f7fafc;
        color: #8a65c4;
    }

    .category__TopBar-Right-Filter-Item--active {
        background: linear-gradient(135deg, #8a65c4 0%, #a78bce 100%);
        color: white;
    }

    .category__Filter-Actions {
        display: flex;
        gap: 12px;
        align-items: center;
        height: 58px;
    }

    .category__Filter-Clear {
        padding: 10px 20px;
        border: none;
        border-radius: 8px;
        font-size: 13px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        gap: 6px;
        background: white;
        color: #e53e3e;
        border: 2px solid #e53e3e;
        box-shadow: 0 2px 8px rgba(229, 62, 62, 0.12);
    }

    .category__Filter-Clear:hover {
        background: #e53e3e;
        color: white;
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(229, 62, 62, 0.3);
    }

    /* Responsive Design */
    @media (max-width: 768px) {
        .category__TopBar {
            padding: 20px;
            gap: 20px;
        }

        .category__Filter-Categories {
            grid-template-columns: 1fr;
        }

        .category__Sort-Actions-Row {
            flex-direction: column;
        }

        .category__Sort-Group,
        .category__Filter-Actions {
            width: 100%;
        }

        .category__Filter-Clear {
            width: 100%;
            justify-content: center;
        }
    }

    @media (max-width: 480px) {
        .category__TopBar {
            padding: 15px;
            gap: 15px;
        }

        .category__Search-Field {
            padding: 14px 45px 14px 16px;
            font-size: 14px;
        }

        .category__Price-Row,
        .category__Categories-Row,
        .category__Sort-Group {
            padding: 20px;
        }

        .category__Filter-Clear {
            padding: 12px 20px;
            font-size: 13px;
        }
    }

    /* Pagination Styles */
    .category__Pagination {
        margin-top: 30px;
        display: flex;
        justify-content: center;
    }

    .category__Pagination--hidden {
        display: none;
    }



    .Pagination__Item-Link {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        border-radius: 6px;
        background: #f8f9fa;
        color: #666;
        text-decoration: none;
        font-weight: 600;
        font-size: 14px;
        transition: all 0.3s ease;
        border: 1px solid #e9ecef;
    }

    .Pagination__Item-Link:hover {
        background: #007bff;
        color: white;
        border-color: #007bff;
    }

    .Pagination__Item-Link--active {
        background: #007bff;
        color: white;
        border-color: #007bff;
    }

    .Pagination__Item-Icon {
        font-size: 14px;
    }

    .Pagination ul {
        display: flex;
        gap: 8px;
        margin: 0;
        padding: 0;
        list-style: none;
    }

    /* Responsive Pagination */
    @media (max-width: 768px) {
        .Pagination {
            padding: 12px 20px;
            gap: 8px;
        }

        .Pagination__Item-Link {
            width: 35px;
            height: 35px;
            font-size: 13px;
        }
    }

    @media (max-width: 480px) {
        .Pagination {
            padding: 10px 15px;
            gap: 6px;
        }

        .Pagination__Item-Link {
            width: 32px;
            height: 32px;
            font-size: 12px;
        }
    }
