/**
 * 2025 Hugo Herreros
 *
 * NOTICE OF LICENSE
 *
 *  @author    Hugo Herreros <info@hugoherreros.com>
 *  @copyright 2025 Hugo Herreros
 *  @license   Property of Hugo Herreros Non redistributable.
 */

/* Featured Products Section */
.featured-products-section {
    padding: 60px 0;
    background: #fff;
}

/* Section Title */
.featured-products-section .section-title {
    margin-bottom: 40px;
    font-size: 32px;
    font-weight: 600;
    color: #000000;
    text-transform: uppercase;
}

/* Products Grid */
.featured-products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 30px;
}

/* Product Item */
.featured-product-item {
    position: relative;
    text-align: center;
    transition: all 0.3s ease;
}

.featured-product-item:hover {
    transform: translateY(-5px);
}

/* Product Link */
.featured-product-item .product-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

/* Product Image Container */
.product-image-container {
    position: relative;
    overflow: hidden;
    background: #f5f5f5;
    border-radius: 8px;
    margin-bottom: 15px;
    aspect-ratio: 1;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.featured-product-item:hover .product-image {
    transform: scale(1.05);
}

/* Custom Text */
.product-custom-text {
    color: #000;
    font-size: 18px;
    font-weight: 400;
    text-transform: uppercase;
    padding: 10px;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* Responsive Design */
@media (max-width: 1200px) {

}

@media (max-width: 768px) {
    .featured-products-section {
        padding: 40px 0;
    }
    
    .featured-products-section .section-title {
        font-size: 24px;
        margin-bottom: 30px;
    }
    
    .featured-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .product-custom-text {
        font-size: 16px;
        padding: 8px;
    }
}

@media (max-width: 480px) {
    .featured-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .featured-products-section .section-title {
        font-size: 20px;
    }
}

/* Loading State */
.featured-product-item.loading .product-image-container {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}