/**
 * SD Hot Deals Carousel - CSS
 * Design rouge-orangé avec carrousel horizontal
 */

/* Section principale */
.sd-hotdeals-section {
    background: linear-gradient(135deg, #0A0A0A 0%, #1A1A1A 100%);
    padding: 80px 20px 100px;
    position: relative;
    overflow: hidden;
}

/* Effet de fond */
.sd-hotdeals-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 30% 20%, rgba(231, 76, 60, 0.08) 0%, transparent 50%),
                radial-gradient(ellipse at 70% 80%, rgba(243, 156, 18, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

/* Container */
.sd-hotdeals-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Header */
.sd-hotdeals-header {
    text-align: center;
    margin-bottom: 50px;
}

/* Badge Hot Deals */
.sd-hotdeals-badge {
    display: inline-block;
    background: linear-gradient(135deg, #E74C3C 0%, #F39C12 100%);
    color: #FFFFFF;
    padding: 12px 30px;
    font-family: Arial, sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 25px;
    border-radius: 4px;
    box-shadow: 0 4px 20px rgba(231, 76, 60, 0.4);
}

/* Titre */
.sd-hotdeals-title {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 500;
    color: #FFFFFF;
    margin: 0 0 15px 0;
}

.sd-hotdeals-title span {
    background: linear-gradient(135deg, #E74C3C, #F39C12);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Sous-titre */
.sd-hotdeals-subtitle {
    font-family: Arial, sans-serif;
    font-size: 16px;
    color: #888888;
    margin: 0 0 10px 0;
}

/* Urgence */
.sd-hotdeals-urgency {
    font-family: Arial, sans-serif;
    font-size: 14px;
    color: #E74C3C;
    margin: 0;
}

/* Wrapper du carrousel */
.sd-hotdeals-wrapper {
    position: relative;
    padding: 0 40px;
}

/* Flèches de navigation */
.sd-hotdeals-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #E74C3C 0%, #F39C12 100%);
    border: none;
    border-radius: 50%;
    color: #FFFFFF;
    font-size: 20px;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.sd-hotdeals-arrow:hover {
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 25px rgba(231, 76, 60, 0.5);
}

.sd-hotdeals-arrow-left {
    left: 0;
}

.sd-hotdeals-arrow-right {
    right: 0;
}

/* Carrousel */
.sd-hotdeals-carousel {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 20px 10px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.sd-hotdeals-carousel::-webkit-scrollbar {
    display: none;
}

/* Carte produit */
.sd-hotdeals-card {
    flex: 0 0 220px;
    background: #FFFFFF;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    text-decoration: none;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.sd-hotdeals-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(231, 76, 60, 0.2);
}

/* Badge réduction */
.sd-hotdeals-discount {
    position: absolute;
    top: 10px;
    left: 10px;
    background: linear-gradient(135deg, #E74C3C, #F39C12);
    color: #FFFFFF;
    padding: 4px 10px;
    font-family: Arial, sans-serif;
    font-size: 11px;
    font-weight: 700;
    border-radius: 4px;
}

/* Image produit */
.sd-hotdeals-image {
    width: 120px;
    height: 120px;
    margin: 0 auto 15px;
    background: #f5f5f5;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.sd-hotdeals-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.sd-hotdeals-no-image {
    font-size: 50px;
}

/* Nom produit */
.sd-hotdeals-name {
    font-family: Arial, sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #1A1A1A;
    margin: 0 0 8px 0;
    line-height: 1.3;
    height: 36px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* Prix */
.sd-hotdeals-prices {
    margin-bottom: 10px;
}

.sd-hotdeals-old-price {
    font-family: Arial, sans-serif;
    font-size: 13px;
    color: #999999;
    text-decoration: line-through;
    margin-right: 8px;
}

.sd-hotdeals-price {
    font-family: Arial, sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #E74C3C;
}

/* Stock */
.sd-hotdeals-stock {
    font-family: Arial, sans-serif;
    font-size: 11px;
    color: #E74C3C;
    margin: 0 0 10px 0;
}

/* Bouton voir produit */
.sd-hotdeals-btn {
    background: linear-gradient(135deg, #E74C3C, #F39C12);
    color: #FFFFFF;
    padding: 8px 15px;
    font-family: Arial, sans-serif;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.sd-hotdeals-card:hover .sd-hotdeals-btn {
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.4);
}

/* Footer */
.sd-hotdeals-footer {
    text-align: center;
    margin-top: 40px;
}

/* CTA Voir toutes les promos */
.sd-hotdeals-cta {
    display: inline-block;
    background: transparent;
    color: #FFFFFF;
    padding: 16px 40px;
    font-family: Arial, sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    border: 2px solid transparent;
    background-image: linear-gradient(#0A0A0A, #0A0A0A), linear-gradient(135deg, #E74C3C, #F39C12);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    transition: all 0.3s ease;
}

.sd-hotdeals-cta:hover {
    background-image: linear-gradient(135deg, #E74C3C, #F39C12), linear-gradient(135deg, #E74C3C, #F39C12);
    color: #FFFFFF;
}

/* Responsive */
@media (max-width: 768px) {
    .sd-hotdeals-section {
        padding: 60px 15px 80px;
    }
    
    .sd-hotdeals-wrapper {
        padding: 0 10px;
    }
    
    .sd-hotdeals-arrow {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .sd-hotdeals-arrow-left {
        left: -5px;
    }
    
    .sd-hotdeals-arrow-right {
        right: -5px;
    }
    
    .sd-hotdeals-card {
        flex: 0 0 180px;
        padding: 15px;
    }
    
    .sd-hotdeals-image {
        width: 100px;
        height: 100px;
    }
    
    .sd-hotdeals-badge {
        padding: 10px 20px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .sd-hotdeals-card {
        flex: 0 0 160px;
    }
    
    .sd-hotdeals-arrow {
        display: none;
    }
    
    .sd-hotdeals-wrapper {
        padding: 0;
    }
}
