/* Ducatillon Carousel - Style Bazooka Shopping */

.ducatillon-carousel-wrapper {
    margin: 40px 0;
    padding: 30px 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.ducatillon-carousel {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.ducatillon-carousel-track {
    position: relative;
    overflow: hidden;
    width: 100%;
}

/* Carte produit - 1 seul produit visible en pleine largeur */
.ducatillon-product-card {
    display: none;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    padding: 30px;
}

.ducatillon-product-card.active {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 40px;
    align-items: center;
}

.ducatillon-product-card:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
}

/* Badge réduction */
.ducatillon-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: #E91E63;
    color: white;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: bold;
    font-size: 16px;
    z-index: 10;
    box-shadow: 0 2px 4px rgba(233, 30, 99, 0.3);
}

/* Image produit */
.ducatillon-product-image {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    background: #f8f9fa;
    border-radius: 8px;
}

.ducatillon-product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

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

/* Contenu produit */
.ducatillon-product-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
}

/* Titre produit */
.ducatillon-product-title {
    font-size: 24px;
    line-height: 1.4;
    color: #2c3e50;
    margin: 0;
    font-weight: 600;
}

/* Prix */
.ducatillon-product-price {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.ducatillon-old-price {
    font-size: 18px;
    color: #95a5a6;
    text-decoration: line-through;
}

.ducatillon-current-price {
    font-size: 32px;
    font-weight: bold;
    color: #27ae60;
}

/* Bouton CTA */
.ducatillon-cta-button {
    display: inline-block;
    padding: 16px 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 18px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(102, 126, 234, 0.3);
    max-width: 300px;
}

.ducatillon-cta-button:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(102, 126, 234, 0.4);
    color: white;
}

/* Boutons navigation - Style Bazooka */
.ducatillon-carousel-prev,
.ducatillon-carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.7);
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 20;
    transition: all 0.3s ease;
    color: white;
}

.ducatillon-carousel-prev:hover,
.ducatillon-carousel-next:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: translateY(-50%) scale(1.1);
}

.ducatillon-carousel-prev {
    left: -30px;
}

.ducatillon-carousel-next {
    right: -30px;
}

.ducatillon-carousel-prev svg,
.ducatillon-carousel-next svg {
    width: 28px;
    height: 28px;
}

/* Indicateurs de pagination (dots) */
.ducatillon-carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.ducatillon-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #cbd5e0;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.ducatillon-dot.active {
    background: #667eea;
    width: 32px;
    border-radius: 6px;
}

.ducatillon-dot:hover {
    background: #a0aec0;
}

/* Version tablette */
@media (max-width: 1024px) {
    .ducatillon-product-card.active {
        grid-template-columns: 300px 1fr;
        gap: 30px;
        padding: 25px;
    }
    
    .ducatillon-product-image {
        height: 300px;
    }
    
    .ducatillon-product-title {
        font-size: 20px;
    }
    
    .ducatillon-current-price {
        font-size: 28px;
    }
    
    .ducatillon-cta-button {
        font-size: 16px;
        padding: 14px 32px;
    }
}

/* Version mobile */
@media (max-width: 768px) {
    .ducatillon-carousel-wrapper {
        margin: 30px -15px;
        padding: 20px 15px;
        border-radius: 0;
    }
    
    .ducatillon-product-card.active {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 20px;
    }
    
    .ducatillon-product-image {
        height: 250px;
    }
    
    .ducatillon-product-title {
        font-size: 18px;
    }
    
    .ducatillon-current-price {
        font-size: 24px;
    }
    
    .ducatillon-cta-button {
        width: 100%;
        max-width: none;
        padding: 12px 24px;
        font-size: 16px;
    }
    
    /* Boutons nav sur mobile - au-dessus du contenu */
    .ducatillon-carousel-prev,
    .ducatillon-carousel-next {
        width: 50px;
        height: 50px;
    }
    
    .ducatillon-carousel-prev {
        left: 10px;
    }
    
    .ducatillon-carousel-next {
        right: 10px;
    }
}

/* Très petit écran */
@media (max-width: 480px) {
    .ducatillon-product-image {
        height: 200px;
    }
    
    .ducatillon-badge {
        font-size: 14px;
        padding: 6px 12px;
    }
}

/* Animation d'entrée */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ducatillon-carousel-wrapper {
    animation: fadeIn 0.6s ease-out;
}

.ducatillon-product-card.active {
    animation: fadeIn 0.4s ease-out;
}
