/* Products / Shop Page Styling - Professional Light Theme */

.products-page {
    padding: 40px 5%;
    max-width: 1440px;
    margin: 0 auto;
    width: 100%;
}

@media (max-width: 900px) {
    .products-page {
        padding: 20px 16px !important;
    }
}

@media (max-width: 640px) {
    .products-page {
        padding: 14px 12px !important;
    }
    .products .content {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }
}


.shop_head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
}

.shop_head h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
}

.shop_head #productCount {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
    background: var(--bg-surface);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    border: 1px solid var(--border-color);
}

.shop-wrapper {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 36px;
}

.aside {
    background: var(--bg-surface);
    padding: 24px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    height: fit-content;
    position: sticky;
    top: 100px;
}

.aside h3 {
    font-size: 17px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
}

.shop_categories {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.categories_link {
    padding: 10px 14px;
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all var(--transition-normal);
}

.categories_link:hover,
.categories_link.active {
    background: var(--primary-light);
    color: var(--primary);
    font-weight: 600;
}

.products .content {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 28px;
}

@media (max-width: 900px) {
    .shop-wrapper {
        grid-template-columns: 1fr;
    }
    .aside {
        position: static;
    }
}