.products-page {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    margin-top: var(--header-height);
    min-height: calc(100vh - var(--header-height) - var(--bottom-nav-height));
    padding-bottom: var(--bottom-nav-height);
}

.category-sidebar {
    width: 280px;
    flex-shrink: 0;
    background: white;
    border-radius: 8px;
    padding: 1rem;
    height: fit-content;
    position: sticky;
    top: calc(var(--header-height) + 1rem);
}

.category-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    list-style: none;
}

.category-list a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-text);
    text-decoration: none;
    font-size: 0.9rem;
    padding: 0.8rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.category-list a:hover {
    background: rgba(93, 56, 145, 0.05);
}

.category-list a.active {
    background: var(--color-accent);
    color: white;
}

.products-container {
    flex: 1;
    min-width: 0;
    padding: 0 0;
}

.products-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.pagination {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.page-button {
    padding: 0.5rem 1rem;
    border: none;
    background: white;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.page-button:hover:not(:disabled) {
    background: rgba(93, 56, 145, 0.05);
}

.page-button.active {
    background: var(--color-accent);
    color: white;
}

.page-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

@media (max-width: 765px) {
    .category-sidebar {
    width: 80px;
    flex-shrink: 0;
    background: white;
    border-radius: 8px;
    padding: 1px;
    height: fit-content;
    position: sticky;
    top: calc(var(--header-height) + 1rem);
}
    /*.products-page {*/
    /*    flex-direction: column;*/
    /*}*/

    /*.category-sidebar {*/
    /*    width: 100%;*/
    /*    position: sticky;*/
    /*    top: var(--header-height);*/
    /*    padding: 0.5rem;*/
    /*}*/

    /*.category-list {*/
    /*    flex-direction: row;*/
    /*    overflow-x: auto;*/
    /*    padding-bottom: 0.5rem;*/
    /*    -webkit-overflow-scrolling: touch;*/
    /*}*/

    /*.category-list a {*/
    /*    white-space: nowrap;*/
    /*    padding: 0.5rem 1rem;*/
    /*}*/
} 