/* Products Index Page Styles */

.products-hero {
    background: linear-gradient(135deg, #374151 0%, #111827 100%);
    color: white;
    padding: 5rem 0 4rem;
    margin-bottom: 3rem;
    margin-left: calc(-0.5 * var(--bs-gutter-x, 1.5rem));
    margin-right: calc(-0.5 * var(--bs-gutter-x, 1.5rem));
    padding-left: calc(0.5 * var(--bs-gutter-x, 1.5rem));
    padding-right: calc(0.5 * var(--bs-gutter-x, 1.5rem));
    position: relative;
    overflow: hidden;
}

.products-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(59, 130, 246, 0.08) 0%, transparent 50%),
                radial-gradient(circle at 80% 50%, rgba(168, 85, 247, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.products-hero .container {
    position: relative;
    z-index: 1;
}

.products-hero h1 {
    font-size: 2.75rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

.products-hero .lead {
    font-size: 1.15rem;
    opacity: 0.9;
    margin-bottom: 0.5rem;
}

.products-stats {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    display: block;
    color: #60a5fa;
}

.stat-label {
    font-size: 0.875rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.search-box-products {
    max-width: 650px;
    margin: 2.5rem auto 0;
    position: relative;
}

.search-box-products input {
    width: 100%;
    padding: 1.125rem 1.25rem 1.125rem 3.25rem;
    border: 2px solid rgba(255, 255, 255, 0.25);
    border-radius: 50px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.12);
    color: white;
    backdrop-filter: blur(16px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.search-box-products input::placeholder {
    color: rgba(255, 255, 255, 0.65);
}

.search-box-products input:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.18);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    transform: translateY(-1px);
}

.search-box-products i {
    position: absolute;
    left: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.75);
    font-size: 1.25rem;
}

.category-tabs {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.category-tab {
    padding: 0.75rem 2rem;
    border: 2px solid #e5e7eb;
    border-radius: 50px;
    background: white;
    color: #64748b;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.category-tab:hover {
    border-color: #3b82f6;
    color: #3b82f6;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2);
}

.category-tab.active {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    border-color: #3b82f6;
    color: white;
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.3);
}

.category-tab i {
    font-size: 1.125rem;
}

@media (max-width: 768px) {
    .products-hero h1 {
        font-size: 2rem;
    }

    .products-stats {
        gap: 1rem;
    }

    .stat-number {
        font-size: 1.5rem;
    }
}
