.site-wrapper {
    display: flex;
    gap: 0;
    align-items: flex-start;
}

.page-shell {
    max-width: 1500px;
    margin: 0 auto;
    padding: 30px;
}

.page-top {
    margin-bottom: 0;
}

.main-content {
    flex: 1;
    min-width: 0;
}

.category-sidebar {
    width: 240px;
    flex-shrink: 0;
    margin-right: 24px;
    background: linear-gradient(180deg, #ffffff 0%, #f3f8fc 55%, #e8f2fa 100%);
    border: 1px solid #d8e3ee;
    position: relative;
    overflow: hidden;
    user-select: none;
}

.category-sidebar::before {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -40px;
    transform: translateX(-50%);
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background:
        radial-gradient(circle at center, transparent 28%, rgba(180, 205, 225, 0.25) 29%, rgba(180, 205, 225, 0.25) 32%, transparent 33%),
        radial-gradient(circle at center, transparent 48%, rgba(180, 205, 225, 0.2) 49%, rgba(180, 205, 225, 0.2) 52%, transparent 53%),
        radial-gradient(circle at center, transparent 68%, rgba(180, 205, 225, 0.15) 69%, rgba(180, 205, 225, 0.15) 72%, transparent 73%);
    pointer-events: none;
}

.category-sidebar-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 14px 12px;
    border-bottom: 1px solid #d5dde6;
    position: relative;
    z-index: 1;
}

.category-sidebar-header::before {
    content: "";
    width: 4px;
    height: 22px;
    background: #c62828;
    flex-shrink: 0;
}

.category-sidebar-header span {
    font-size: 15px;
    font-weight: 700;
    color: #111;
    letter-spacing: 0.3px;
}

.category-sidebar-list {
    list-style: none;
    padding: 10px 0 20px;
    position: relative;
    z-index: 1;
}

.category-sidebar-list li {
    padding: 11px 16px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.45;
    color: #111;
    text-transform: uppercase;
    letter-spacing: 0.2px;
}

.category-sidebar-list li.active {
    color: #2E74BB;
}

@media (max-width: 992px) {
    .page-shell {
        padding: 20px;
    }

    .site-wrapper {
        flex-direction: column;
    }

    .category-sidebar {
        width: 100%;
        margin-right: 0;
        margin-bottom: 20px;
    }

    .category-sidebar-list {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0;
    }
}

@media (max-width: 576px) {
    .category-sidebar-list {
        grid-template-columns: 1fr;
    }
}
