.category-hero {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 50%, #991b1b 100%);
    color: white;
    padding: 4rem 0;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.category-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(239, 68, 68, 0.1) 0%, rgba(220, 38, 38, 0.1) 100%);
    pointer-events: none;
}

.category-hero > * {
    position: relative;
    z-index: 1;
}

.category-hero-content {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.category-image-wrapper {
    flex-shrink: 0;
    width: 300px;
    height: 300px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.1);
}

.category-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-hero-text h1 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.category-hero-text p {
    font-size: 1rem;
    opacity: 0.95;
    line-height: 1.7;
    margin-bottom: 0;
}

.breadcrumb-nav {
    padding: 1rem 0;
    margin-bottom: 1rem;
}

.breadcrumb-nav a {
    color: #6b7280;
    text-decoration: none;
    transition: color 0.2s ease;
}

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

.breadcrumb-nav .separator {
    margin: 0 0.5rem;
    color: #9ca3af;
}

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

.product-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #f3f4f6;
    position: relative;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: #dc2626;
}

.product-image {
    width: 100%;
    height: 200px;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    font-size: 0.875rem;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.product-sku {
    color: #6b7280;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
    font-family: "Courier New", monospace;
}

.product-manufacturer {
    color: #6b7280;
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
}

.product-description {
    color: #6b7280;
    font-size: 0.875rem;
    line-height: 1.5;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: #dc2626;
    margin-bottom: 1rem;
}

.product-actions {
    display: flex;
    gap: 0.5rem;
}

.btn-view {
    flex: 1;
    padding: 0.75rem;
    background: #f3f4f6;
    color: #374151;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    text-decoration: none;
    text-align: center;
    font-weight: 500;
    transition: all 0.2s ease;
}

.btn-view:hover {
    background: #e5e7eb;
    color: #374151;
}

.btn-quote {
    padding: 0.75rem 1rem;
    background: #dc2626;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-quote:hover {
    background: #b91c1c;
    transform: translateY(-1px);
}

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

.pagination a,
.pagination span {
    padding: 0.75rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    text-decoration: none;
    color: #374151;
    font-weight: 500;
    transition: all 0.2s ease;
}

.pagination a:hover {
    background: #f3f4f6;
    border-color: #dc2626;
}

.pagination .current {
    background: #dc2626;
    color: white;
    border-color: #dc2626;
}

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

.no-products {
    text-align: center;
    padding: 4rem 2rem;
    color: #6b7280;
}

.no-products i {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: #d1d5db;
}

.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 1rem 0;
}

.results-count {
    color: #6b7280;
    font-size: 0.875rem;
}

@media (max-width: 768px) {
    .category-hero-content {
        flex-direction: column;
        text-align: center;
    }

    .category-image-wrapper {
        width: 200px;
        height: 200px;
    }

    .category-hero-text h1 {
        font-size: 1.5rem;
    }

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

    .results-header {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }
}
