/* ============================================
   SECTION NOUVEAUX PRODUITS - STYLES DÉDIÉS
   ============================================ */

/* Carte produit nouveau - Style principal */
.new-product-card {
    position: relative;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-radius: 12px;
    overflow: hidden;
    background: white;
    height: 100%;
}

.new-product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(139, 9, 130, 0.15);
}

/* Badge nouveau produit */
.new-product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: linear-gradient(45deg, #ff4757, #ff3742);
    color: white;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: bold;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(255, 71, 87, 0.4);
    animation: newProductPulse 2s infinite;
}

@keyframes newProductPulse {
    0% {
        transform: scale(1);
        box-shadow: 0 2px 8px rgba(255, 71, 87, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 4px 12px rgba(255, 71, 87, 0.6);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 2px 8px rgba(255, 71, 87, 0.4);
    }
}

/* Image nouveau produit */
.new-product-image {
    width: 100% !important;
    height: 250px !important;
    object-fit: contain !important;
    background-color: #f8f9fa !important;
    border-radius: 8px 8px 0 0 !important;
    transition: transform 0.3s ease !important;
}

.new-product-card:hover .new-product-image {
    transform: scale(1.05);
}

/* Titre produit dans la section nouveaux */
.new-product-card .product-title {
    font-size: 1rem !important;
    font-weight: 600 !important;
    margin-bottom: 0.75rem !important;
    line-height: 1.3 !important;
}

.new-product-card .product-title a {
    color: #333 !important;
    text-decoration: none !important;
    transition: color 0.3s ease !important;
}

.new-product-card .product-title a:hover {
    color: var(--primary-color) !important;
}

/* Prix dans la section nouveaux */
.new-product-card .product-price {
    margin-bottom: 1rem !important;
}

.new-product-card .current-price {
    font-size: 1.2rem !important;
    font-weight: bold !important;
    color: var(--primary-color) !important;
}

.new-product-card .old-price {
    font-size: 0.9rem !important;
    color: #999 !important;
    text-decoration: line-through !important;
}

/* Boutons modernes pour nouveaux produits */
.btn-primary-modern {
    background: linear-gradient(45deg, var(--primary-color), var(--primary-dark)) !important;
    border: none !important;
    color: white !important;
    border-radius: 8px !important;
    padding: 0.5rem 1rem !important;
    font-weight: 500 !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 2px 8px rgba(139, 9, 130, 0.2) !important;
}

.btn-primary-modern:hover {
    background: linear-gradient(45deg, var(--primary-dark), #5a0552) !important;
    color: white !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(139, 9, 130, 0.3) !important;
}

.btn-outline-modern {
    background: transparent !important;
    border: 2px solid var(--primary-color) !important;
    color: var(--primary-color) !important;
    border-radius: 8px !important;
    padding: 0.4rem 0.8rem !important;
    font-weight: 500 !important;
    transition: all 0.3s ease !important;
}

.btn-outline-modern:hover {
    background: var(--primary-color) !important;
    color: white !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(139, 9, 130, 0.2) !important;
}

/* Actions produit */
.new-product-card .d-flex.gap-2 {
    gap: 0.5rem !important;
}

/* Titre de section */
.section-title {
    font-size: 2rem !important;
    font-weight: 700 !important;
    color: #333 !important;
    margin-bottom: 2rem !important;
    position: relative !important;
    display: inline-block !important;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(45deg, var(--primary-color), var(--primary-light));
    border-radius: 2px;
}

/* ============================================
   RESPONSIVE POUR NOUVEAUX PRODUITS
   ============================================ */

@media (max-width: 768px) {
    .new-product-image {
        height: 200px !important;
    }
    
    .new-product-badge {
        font-size: 0.7rem !important;
        padding: 4px 8px !important;
    }
    
    .new-product-card .product-title {
        font-size: 0.9rem !important;
    }
    
    .new-product-card .current-price {
        font-size: 1.1rem !important;
    }
    
    .btn-primary-modern,
    .btn-outline-modern {
        font-size: 0.8rem !important;
        padding: 0.4rem 0.8rem !important;
    }
    
    .section-title {
        font-size: 1.5rem !important;
        margin-bottom: 1.5rem !important;
    }
}

@media (max-width: 576px) {
    .new-product-image {
        height: 180px !important;
    }
    
    .new-product-badge {
        font-size: 0.65rem !important;
        padding: 3px 6px !important;
        top: 8px !important;
        left: 8px !important;
    }
    
    .new-product-card .product-title {
        font-size: 0.85rem !important;
        margin-bottom: 0.5rem !important;
    }
    
    .new-product-card .current-price {
        font-size: 1rem !important;
    }
    
    .btn-primary-modern,
    .btn-outline-modern {
        font-size: 0.75rem !important;
        padding: 0.35rem 0.7rem !important;
    }
    
    .section-title {
        font-size: 1.3rem !important;
        margin-bottom: 1rem !important;
    }
    
    .section-title::after {
        width: 40px !important;
        height: 2px !important;
    }
}

@media (max-width: 480px) {
    .new-product-image {
        height: 160px !important;
    }
    
    .new-product-badge {
        font-size: 0.6rem !important;
        padding: 2px 5px !important;
    }
    
    .new-product-card .product-title {
        font-size: 0.8rem !important;
    }
    
    .new-product-card .current-price {
        font-size: 0.95rem !important;
    }
}