﻿<style >
.category-header {
    color: #2eb89c;
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 50px;
    margin-top: 30px;
}

.row {
    flex-wrap: wrap;
}

.category-item {
    cursor: pointer;
    transition: transform 0.3s ease;
}

.category-image-large {
    width: 350px;
    height: 350px;
    object-fit: contain;
}

.category-item:hover {
    transform: translateY(-5px);
}

.category-image-container {
    background: rgba(0, 102, 204, 0.2);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    height: 300px;
    width: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.category-image {
    width: 270px;
    height: 270px;
    object-fit: contain;
}

.category-name {
    color: black;
    font-size: 16px;
    font-weight: 500;
}

/* Sidebar Styles */
.sidebar {
    background-color: rgba(0, 0, 0, 0.1);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.filter-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 16px;
    color: #333;
}

.filter-section {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e0e0e0;
}

    .filter-section:last-child {
        border-bottom: none;
    }

.filter-title {
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
    font-size: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.price-inputs {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.price-input {
    flex: 1;
}

    .price-input input {
        width: 100%;
        padding: 8px;
        border: 1px solid #ddd;
        border-radius: 4px;
        font-size: 14px;
    }

.price-slider {
    margin-top: 10px;
}

/* Product Grid Styles */
.products-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.product-count {
    color: #666;
    font-size: 14px;
}

.sort-dropdown {
    min-width: 200px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.product-card {
    background: rgba(0, 102, 204, 0.2);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

    .product-card:hover {
        transform: translateY(-5px);
        box-shadow: rgba(220, 240, 255, 0.5);
    }

.product-image-container {
    position: relative;
    width: 100%;
    height: 280px;
    background-color: rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    padding: 20px;
}

.product-info {
    padding: 15px;
}

.product-name {
    font-size: 14px;
    color: #333;
    margin-bottom: 8px;
    min-height: 40px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 8px;
}

.stars {
    color: #ffa500;
    font-size: 14px;
}

.review-count {
    color: #666;
    font-size: 12px;
}

.product-price {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.filter-button {
    width: 100%;
    margin-top: 15px;
}

.back-button {
    color: #666;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 10px;
}

    .back-button:hover {
        color: #333;
    }

.product-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

    .product-card-link:hover {
        text-decoration: none;
        color: inherit;
    }

    .product-card-link .product-card {
        cursor: pointer;
    }

</style >
