/* Collection page styles */
main {
    flex: 1;
}

/* Shop Page Styles */
.shop-page {
    background-color: #fff;
}

.shop-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 180px 20px 40px;
    display: flex;
    gap: 30px;
}

/* Sidebar Styles */
.sidebar {
    width: 250px;
    flex-shrink: 0;
}

.brand-filter h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
}

.brand-filter ul {
    list-style: none;
    padding: 0;
}

.brand-filter li {
    margin-bottom: 15px;
}

.brand-filter a {
    text-decoration: none;
    color: #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
}

.brand-filter span {
    color: #999;
}

/* Product Section Styles */
.product-section {
    width: 100%;
    flex: 1;
}

.product-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.product-filters select {
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.product-item {
    background: #fff;
    padding: 60px;
    border: 1px solid #eee;
    text-align: center;
    transition: transform 0.3s ease;
}

.product-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.product-item img {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    object-fit: cover;
    margin-bottom: 15px;
}

.product-item h3 {
    font-size: 18px;
    margin: 15px 0;
    font-weight: 500;
}

.product-item p {
    font-size: 16px;
    color: #333;
    font-weight: bold;
}

/* Pagination styles */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 60px;
    gap: 10px;
}

.pagination a {
    padding: 10px 20px;
    border: 1px solid #ddd;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 16px;
}

.pagination a:hover {
    background-color: #f5f5f5;
}

.pagination a.active {
    background-color: #333;
    color: white;
    border-color: #333;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .shop-container {
        flex-direction: column;
    }
    
    .sidebar {
        width: 100%;
        margin-bottom: 30px;
    }
    
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .shop-container {
        padding: 160px 15px 30px;
    }
}

@media (max-width: 480px) {
    .product-grid {
        grid-template-columns: 1fr;
    }
    
    .product-header {
        flex-direction: column;
        gap: 15px;
    }
    
    .shop-container {
        padding: 140px 10px 20px;
    }
}