.category-hero {
    height: 60vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-bottom: 2rem;
}

.category-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.category-hero-content {
    text-align: center;
    color: white;
    z-index: 2;
    position: relative;
}

.category-hero-content h1 {
    font-size: 4rem;
    font-weight: 300;
    margin-bottom: 1rem;
    letter-spacing: 0.2em;
}

.category-hero-content p {
    font-size: 1.2rem;
    font-weight: 300;
    opacity: 0.9;
}

.breadcrumb {
    padding: 1rem 0;
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
}

.breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.breadcrumb-nav a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-nav a:hover {
    color: #000;
}

.breadcrumb-nav span {
    color: #999;
}

.category-header {
    padding: 3rem 0;
    text-align: center;
}

.category-header h1 {
    font-size: 3rem;
    font-weight: 300;
    margin-bottom: 1rem;
    letter-spacing: 0.2em;
    color: #000;
}

.category-header p {
    font-size: 1.1rem;
    color: #666;
    font-weight: 300;
}

.filters-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e9ecef;
}

.filters-header h3 {
    font-size: 1.1rem;
    font-weight: 500;
    color: #333;
}

.view-toggle {
    display: flex;
    gap: 0.5rem;
}

.view-btn {
    padding: 0.5rem 1rem;
    border: 1px solid #ddd;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.view-btn.active,
.view-btn:hover {
    background: #000;
    color: white;
    border-color: #000;
}

.filters {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.filters select,
.filters input {
    padding: 0.75rem;
    border: 1px solid #ddd;
    background: white;
    font-size: 0.9rem;
    transition: border-color 0.3s ease;
}

.filters select:focus,
.filters input:focus {
    outline: none;
    border-color: #000;
}

.price-range {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.price-range input {
    flex: 1;
}

#applyFilters {
    padding: 0.75rem 1.5rem;
    background: #000;
    color: white;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease;
    font-size: 0.9rem;
    white-space: nowrap;
}

#applyFilters:hover {
    background: #333;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.products-grid.list-view {
    grid-template-columns: 1fr;
}

.product-card {
    background: white;
    transition: all 0.3s ease;
    position: relative;
}

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

.product-image-container {
    position: relative;
    margin-bottom: 20px;
    background: #f8f8f8;
    overflow: hidden;
    aspect-ratio: 3/4;
}

.product-image {
    width: 100%;
    height: 100%;
    overflow: hidden;
    cursor: pointer;
    display: block;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: #000;
    color: white;
    padding: 0.25rem 0.75rem;
    font-size: 0.8rem;
    font-weight: 500;
}

.product-info {
    text-align: left;
    padding: 0 5px;
}

.product-brand {
    font-size: 12px;
    color: #999;
    font-weight: 500;
    margin-bottom: 8px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.product-info h4 {
    font-size: 18px;
    font-weight: 500;
    color: #333;
    margin-bottom: 12px;
    line-height: 1.3;
    cursor: pointer;
}

.product-info h4:hover {
    color: #666;
}

.product-price {
    font-size: 20px;
    font-weight: 600;
    color: #000;
    margin-bottom: 15px;
}

.product-details {
    margin-bottom: 20px;
}

.product-details span {
    display: block;
    font-size: 13px;
    color: #666;
    margin-bottom: 5px;
}

.product-actions {
    display: flex;
    gap: 10px;
}

.add-to-bag-btn {
    flex: 1;
    background: #000;
    color: white;
    border: none;
    padding: 12px 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s;
    letter-spacing: 0.5px;
}

.add-to-bag-btn:hover {
    background: #333;
}

.quick-view-btn {
    flex: 1;
    background: white;
    color: #000;
    border: 2px solid #000;
    padding: 12px 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s;
    letter-spacing: 0.5px;
}

.quick-view-btn:hover {
    background: #000;
    color: white;
}

.products-grid.list-view .product-card {
    display: flex;
    height: 200px;
}

.products-grid.list-view .product-image {
    width: 300px;
    height: 200px;
    flex-shrink: 0;
}

.products-grid.list-view .product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.products-grid.list-view .product-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.loading,
.no-products {
    text-align: center;
    padding: 3rem;
    color: #666;
}

.loading p,
.no-products p {
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .category-hero-content h1 {
        font-size: 2.5rem;
    }
    
    .filters {
        grid-template-columns: 1fr;
    }
    
    .filters-header {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1rem;
    }
    
    .products-grid.list-view .product-card {
        flex-direction: column;
        height: auto;
    }
    
    .products-grid.list-view .product-image {
        width: 100%;
        height: 250px;
    }

    .products-grid.list-view .product-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }
}
