.category__filter {
    padding: 24px;
    border-radius: 28px;
    background: linear-gradient(180deg, #fff 0%, #f7f8fc 100%);
    border: 1px solid #eceff6;
    box-shadow: 0 16px 40px rgba(19, 27, 48, 0.05);
    position: sticky;
    top: 24px;
}

.category-page__hero {
    display: grid;
    gap: 12px;
    margin-bottom: 24px;
    padding: 28px 32px;
    border-radius: 28px;
    background: linear-gradient(180deg, #fff8f7 0%, #ffffff 100%);
    border: 1px solid rgba(230, 52, 42, 0.12);
    box-shadow: 0 18px 48px rgba(18, 24, 40, 0.05);
}

.category-page__eyebrow {
    margin: 0;
    color: #cf352d;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.category-page__title {
    margin: 0;
    color: #202231;
    font-size: 34px;
    line-height: 1.1;
}

.category-page__meta {
    margin: 0;
    color: #667085;
    font-size: 15px;
    line-height: 1.6;
}

.category__links {
    padding-bottom: 18px;
    margin-bottom: 18px;
    border-bottom: 1px solid #eceff6;
}

.category__wrap {
    padding: 16px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid #edf0f6;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8);
}

.category__line {
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
}

.category__section + .category__section {
    margin-top: 18px;
}

.category__section-title {
    margin: 0 0 10px;
    color: #232633;
    font-size: 14px;
    font-weight: 800;
}

.category__select,
.category__nums input {
    width: 100%;
    min-height: 44px;
    padding: 0 14px;
    border: 1px solid #e7e9f1;
    border-radius: 12px;
    background: #fff;
    color: #232633;
    font-size: 14px;
}

.category__nums {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.category__label,
.category__checkbox,
.category__radio {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    min-height: 22px;
}

.category__checkboxes,
.category__radios,
.category__attribute-values {
    display: grid;
    gap: 10px;
}

.category__label span,
.category__checkbox span,
.category__radio span {
    color: #3a4050;
    font-size: 14px;
    font-weight: 500;
}

.category__label input,
.category__checkbox input,
.category__radio input {
    width: 18px;
    height: 18px;
    accent-color: #e6342a;
    flex-shrink: 0;
}

.category__select:focus,
.category__nums input:focus {
    outline: none;
    border-color: #d4d9e5;
}

.category__filter-actions {
    display: grid;
    gap: 10px;
    margin-top: 22px;
}

.category__filter-actions .btn {
    width: 100%;
    justify-content: center;
}

.category__mobile-filter-overlay,
.category__mobile-filter-close {
    display: none;
}

.category__reset {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    border-radius: 12px;
    background: #f3f5f9;
    color: #61687b;
    font-size: 14px;
    font-weight: 700;
}

.category__attribute-values {
    display: grid;
    gap: 8px;
}

@media (max-width: 1024px) {
    .category__filter {
        position: static;
        top: auto;
    }

    .category__mobile-filter-overlay {
        position: fixed;
        inset: 0;
        z-index: 79;
        background: rgba(22, 28, 43, 0.42);
    }

    .category__mobile-filter-close {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        border: 0;
        border-radius: 12px;
        background: #f4f6fa;
        color: #232633;
        font-size: 20px;
        line-height: 1;
    }

    .category__aside {
        position: fixed;
        top: 0;
        left: 0;
        z-index: 80;
        width: min(380px, calc(100vw - 24px));
        height: 100vh;
        display: block;
        padding: 12px;
        transform: translateX(-110%);
        transition: transform .24s ease;
        pointer-events: none;
    }

    .category__aside.is-open {
        transform: translateX(0);
        pointer-events: auto;
    }

    .category__aside .category__filter {
        height: 100%;
        overflow-y: auto;
    }

    .category__filter-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        margin-bottom: 14px;
    }

    .category__filter-head h3 {
        margin: 0;
        font-size: 18px;
        font-weight: 800;
        color: #232633;
    }

    .category-page__hero {
        padding: 20px 16px;
        border-radius: 24px;
    }

    .category-page__title {
        font-size: 28px;
    }

    .category__filter-body {
        display: grid;
        gap: 18px;
    }
}

.category__empty {
    display: grid;
    place-items: center;
    min-height: 320px;
    padding: 32px 20px;
    border-radius: 28px;
    background: linear-gradient(180deg, #fff 0%, #f7f8fc 100%);
    border: 1px solid #eceff6;
    box-shadow: 0 16px 40px rgba(19, 27, 48, 0.05);
    text-align: center;
}

.category__empty-inner {
    max-width: 360px;
}

.category__empty-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 16px;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(230, 52, 42, 0.08);
    color: #e6342a;
    font-size: 32px;
}

.category__empty h3 {
    margin: 0 0 8px;
    color: #232633;
    font-size: 24px;
    font-weight: 800;
}

.category__empty p {
    margin: 0;
    color: #7c8498;
    font-size: 15px;
    line-height: 1.7;
}

.loading {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 30px 0;
    grid-column: 1 / -1;
    animation: fadeIn .3s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.no-more-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 32px 0 12px;
    color: #999;
    font-size: 16px;
    width: 100%;
}

.category__load-sentinel {
    grid-column: 1 / -1;
    width: 100%;
    height: 1px;
}

.category__cards-list {
    display: contents;
}

.spinner {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: radial-gradient(farthest-side, #e6342a 94%, #0000) top/9px 9px no-repeat,
        conic-gradient(#0000 30%, #e6342a);
    -webkit-mask: radial-gradient(farthest-side, #0000 calc(100% - 9px), #000 0);
    mask: radial-gradient(farthest-side, #0000 calc(100% - 9px), #000 0);
    animation: spinner-c7wet2 1s infinite linear;
}

@keyframes spinner-c7wet2 {
    100% { transform: rotate(1turn); }
}

@media (max-width: 1150px) {
    .cards__items {
        padding-bottom: 60px;
    }
}
