.category,
.category__aside {
    --category-accent: #3ab455;
    --category-accent-soft: rgba(58, 180, 85, 0.1);
    --category-accent-border: rgba(58, 180, 85, 0.24);
}
.category__section.category__wrap {
    margin-top: 20px;
}
.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__inner {
    grid-template-columns: 270px minmax(0, 1fr);
    gap: 22px;
}

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

.category-page__eyebrow {
    margin: 0;
    color: #2fa24d;
    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__filter-body > .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: #3ab455;
    flex-shrink: 0;
}

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

.category-select {
    position: relative;
    width: 100%;
}

.category__select--native-hidden {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    pointer-events: none;
}

.category-select__button {
    position: relative;
    width: 100%;
    min-height: 44px;
    padding: 0 42px 0 14px;
    border: 1px solid #e7e9f1;
    border-radius: 14px;
    background: #fff;
    color: #232633;
    font: inherit;
    font-size: 14px;
    line-height: 1.2;
    text-align: left;
    cursor: pointer;
    transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
}

.category-select__button::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 16px;
    width: 8px;
    height: 8px;
    border-right: 2px solid #8a93a3;
    border-bottom: 2px solid #8a93a3;
    transform: translateY(-65%) rotate(45deg);
    transition: transform .16s ease, border-color .16s ease;
}

.category-select.is-open .category-select__button,
.category-select__button:focus-visible {
    outline: none;
    border-color: var(--category-accent-border);
    box-shadow: 0 0 0 4px var(--category-accent-soft);
}

.category-select.is-open .category-select__button::after {
    border-color: var(--category-accent);
    transform: translateY(-35%) rotate(225deg);
}

.category-select__value {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.category-select__menu {
    position: absolute;
    z-index: 30;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    display: grid;
    max-height: 260px;
    padding: 8px;
    overflow-y: auto;
    border: 1px solid #e7e9f1;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 18px 42px rgba(18, 24, 40, 0.14);
    opacity: 0;
    transform: translateY(-4px);
    pointer-events: none;
    transition: opacity .16s ease, transform .16s ease;
}

.category-select.is-open .category-select__menu {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.category-select__option {
    width: 100%;
    padding: 10px 12px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: #333846;
    font: inherit;
    font-size: 14px;
    line-height: 1.25;
    text-align: left;
    cursor: pointer;
}

.category-select__option:hover,
.category-select__option:focus-visible {
    outline: none;
    background: #f6f8fb;
}

.category-select__option.is-selected {
    background: var(--category-accent-soft);
    color: var(--category-accent);
    font-weight: 700;
}

.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__inner {
        grid-template-columns: 1fr;
    }

    .category__filter {
        position: static;
        top: auto;
    }

    .category__mobile-filter-overlay {
        position: fixed;
        inset: 0;
        z-index: 10000;
        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;
        bottom: 0;
        z-index: 10001;
        width: min(410px, calc(100vw - 24px));
        height: 100dvh;
        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%;
        max-height: calc(100dvh - 24px);
        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__filter-body > .category__section + .category__section {
        margin-top: 8px;
    }
}

.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(58, 180, 85, 0.08);
    color: #3ab455;
    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, #3ab455 94%, #0000) top/9px 9px no-repeat,
        conic-gradient(#0000 30%, #3ab455);
    -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;
    }
}
