/* Product Carousel Styles */
.product-carousel-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.carousel-header {
    text-align: center;
    margin-bottom: 50px;
}

.carousel-header h2 {
    font-size: 2.5rem;
    color: #2c5aa0;
    margin-bottom: 15px;
    font-weight: 700;
}

.carousel-header .highlight {
    color: #ff6b35;
}

.carousel-header p {
    font-size: 1.1rem;
    color: #666;
    margin: 0;
}

.product-carousel-container {
    position: relative;
    overflow: hidden;
    padding: 0 60px;
}

.product-carousel {
    display: flex;
    gap: 20px;
    padding: 20px 0;
    white-space: nowrap;
}

.carousel-product-card {
    display: inline-block;
    width: 250px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    overflow: hidden;
    margin-right: 20px;
    vertical-align: top;
}

.carousel-product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.carousel-product-image {
    height: 180px;
    overflow: hidden;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 15px;
    display: block;
    max-width: 100%;
}

.carousel-product-image img[src=""],
.carousel-product-image img:not([src]),
.carousel-product-image img[src*="undefined"] {
    display: none;
}

.carousel-product-image img[src=""] + ::after,
.carousel-product-image img:not([src]) + ::after,
.carousel-product-image img[src*="undefined"] + ::after {
    content: "No Image";
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: #f0f0f0;
    color: #999;
    font-size: 0.9rem;
}

.carousel-product-info {
    padding: 20px;
    text-align: center;
}

.carousel-product-info h4 {
    font-size: 1.1rem;
    color: #333;
    margin: 0 0 10px 0;
    font-weight: 600;
    line-height: 1.3;
}

.carousel-category {
    display: inline-block;
    background: linear-gradient(135deg, #2c5aa0, #ff6b35);
    color: white;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: capitalize;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, #2c5aa0, #ff6b35);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.carousel-btn:hover {
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.carousel-prev {
    left: 10px;
}

.carousel-next {
    right: 10px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .product-carousel-section {
        padding: 60px 0;
    }
    
    .carousel-header h2 {
        font-size: 2rem;
    }
    
    .product-carousel-container {
        padding: 0 20px;
    }
    
    .carousel-product-card {
        flex: 0 0 200px;
    }
    
    .carousel-product-image {
        height: 150px;
    }
    
    .carousel-product-info {
        padding: 15px;
    }
    
    .carousel-product-info h4 {
        font-size: 1rem;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .carousel-prev {
        left: 5px;
    }
    
    .carousel-next {
        right: 5px;
    }
}

@media (max-width: 480px) {
    .product-carousel-container {
        padding: 0 10px;
    }
    
    .carousel-product-card {
        flex: 0 0 180px;
    }
    
    .carousel-product-image {
        height: 130px;
    }
    
    .carousel-btn {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
}