/**
 * Styles responsives pour le bouton CTA d'offre limitée et bannières
 * Optimisé pour tous les appareils mobiles
 */

/* Styles pour la bannière rouge arrondie */
.rounded-banner {
    background: #e94057; /* Rouge exact de l'image */
    color: white;
    border-radius: 50px;
    padding: 8px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 15px auto;
    max-width: 400px;
    width: 100%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.rounded-banner .clock-icon {
    color: #ffd166;
    font-size: 20px;
    margin-right: 5px;
}

.rounded-banner .time-text {
    font-weight: bold;
    font-size: 24px;
    margin: 0;
    padding: 0 10px;
    color: #fff;
    display: inline-block;
    text-align: center;
}

.rounded-banner .offer-text {
    font-size: 16px;
    white-space: normal;
    text-align: center;
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.rounded-banner .price-text {
    font-size: 16px;
    white-space: normal;
    text-align: center;
    line-height: 1.2;
}

/* Media queries pour la bannière rouge */
@media (max-width: 767px) {
    .rounded-banner {
        padding: 8px 20px;
        border-radius: 40px;
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
    }
    
    .rounded-banner .clock-icon {
        font-size: 18px;
    }
    
    .rounded-banner .time-text {
        font-size: 20px;
    }
    
    .rounded-banner .offer-text,
    .rounded-banner .price-text {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .rounded-banner {
        padding: 6px 15px;
        border-radius: 30px;
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .rounded-banner .offer-text {
        width: 100%;
        text-align: center;
        margin-bottom: 2px;
        font-size: 14px;
    }
    
    .rounded-banner .clock-icon {
        font-size: 16px;
        margin-right: 5px;
    }
    
    .rounded-banner .time-section {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .rounded-banner .time-text {
        font-size: 18px;
    }
    
    .rounded-banner .price-text {
        font-size: 14px;
    }
}

@media (max-width: 380px) {
    .rounded-banner {
        padding: 5px 10px;
    }
    
    .rounded-banner .time-text {
        font-size: 16px;
    }
}

/* Styles de base du bouton CTA responsive */
.cta-button {
    width: auto;
    max-width: 100%;
    white-space: normal;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 10px;
    padding: 22px 45px;
    font-size: 22px;
    border-radius: 50px;
}

/* Zone timer au-dessus du CTA */
.timer-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.urgent {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 8px;
}

/* Styles responsive pour tablettes */
@media (max-width: 991px) {
    .cta-button {
        padding: 18px 35px;
        font-size: 20px;
    }
}

/* Styles responsive pour grands téléphones */
@media (max-width: 767px) {
    .cta-button {
        padding: 16px 25px;
        font-size: 18px;
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .timer-container {
        margin-bottom: 15px;
    }
}

/* Styles responsive pour petits téléphones */
@media (max-width: 480px) {
    .cta-button {
        padding: 14px 20px;
        font-size: 16px;
        border-radius: 40px;
    }
    
    .cta-button .fas {
        font-size: 14px;
    }
    
    /* Amélioration pour les très petits écrans */
    @media (max-width: 375px) {
        .cta-button {
            padding: 12px 15px;
            font-size: 15px;
            letter-spacing: 0;
        }
    }
}
