/* Product Listing Styles */
.products-listing {
    padding: 60px 0;
    background: #f8f9fa;
}

.products-header {
    margin-bottom: 50px;
    padding: 60px 0;
    background: linear-gradient(135deg, #ed1c24, #910e13);
    border-radius: 12px;
    color: white;
    text-align: center;
}

.page-title {
    font-family: 'Inter', sans-serif;
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 15px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.page-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.product-categories {
    margin-bottom: 40px;
}

.category-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 30px;
}

.filter-btn {
    background: white;
    border: 2px solid #e1e8ed;
    color: #333;
    padding: 12px 28px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.filter-btn:hover,
.filter-btn.active {
    background: #ed1c24;
    border-color: #ed1c24;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(237, 28, 36, 0.3);
}

.products-grid {
    margin-bottom: 50px;
    min-height: 400px;
}

.product-item {
    margin-bottom: 30px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.product-item.hidden {
    display: none;
}

.product-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.12);
}

.product-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(237, 28, 36, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.view-product {
    background: white;
    color: #ed1c24;
    padding: 14px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border: none;
}

.view-product:hover {
    background: #f8f9fa;
    transform: scale(1.05);
    text-decoration: none;
    color: #ed1c24;
}

.product-info {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-title {
    font-family: 'Inter', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 10px;
    line-height: 1.3;
}

.product-category {
    color: #ed1c24;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.product-description {
    color: #555;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 25px;
    flex-grow: 1;
}

.product-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.feature {
    background: #fff5f5;
    color: #ed1c24;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    border: 1px solid #fee2e2;
}

.products-cta {
    background: #1a1a1a;
    color: white;
    padding: 60px 40px;
    border-radius: 20px;
    text-align: center;
    margin-top: 40px;
}

.products-cta h3 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 15px;
}

.products-cta p {
    font-size: 18px;
    opacity: 0.8;
    margin-bottom: 35px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.products-cta .btn {
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Animations */
.product-item.fade-out {
    opacity: 0;
    transform: scale(0.9);
}

.product-item.fade-in {
    opacity: 1;
    transform: scale(1);
}

.products-grid.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Responsive */
@media (max-width: 992px) {
    .page-title {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .products-header {
        padding: 40px 20px;
    }
    .page-title {
        font-size: 28px;
    }
    .category-filters {
        gap: 10px;
    }
    .filter-btn {
        padding: 10px 20px;
        font-size: 13px;
    }
}
