/* ============================================
   MODAL PRINCIPAL
   ============================================ */

.rmp-form-modal {
    display: none ;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 999999;
    
}

html.rmp-modal-open,
body.rmp-modal-open {
    overflow: hidden !important;
    overscroll-behavior: none;
}

body.rmp-modal-open {
    position: fixed;
    left: 0;
    right: 0;
}


.rmp-navigation {
    display: flex !important;
    justify-content: space-between !important;
    align-items:center !important;
    
    padding-top: 20px !important;
    border-top: 1px solid rgba(43, 180, 184, 0.1);
	position: fixed;
    bottom: 40px;
    left: 40px;
    right: 40px;
	
   
}


.rmp-modal-content {
	top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    background: white;
    padding: 40px;
    border-radius: 15px;
   
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
	width: 90% !important;
    min-height: 800px !important;
    max-width: 800px !important;
    max-height: 90vh !important;
    display: flex;
    flex-direction: column;
	justify-content: center;
    
}



/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes modalAppear {
    from {
        transform: translate(-50%, -50%) scale(0.9);
        opacity: 0;
    }
    to {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        transform: translateX(20px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* ============================================
   ÉTAPES DU FORMULAIRE
   ============================================ */

.rmp-step {
    display: none;
    animation: slideIn 0.4s ease-out;
}

.rmp-step.active {
    display: block;
}

/* Indicateur de progression */

.rmp-progress {
    text-align: center;
    margin-bottom: 40px; /* Plus d'espace en bas */
    color: #1a7d80; /* Version plus foncée de var(--primary) pour meilleur contraste */
    font-size: 16px; /* Légèrement plus grand */
    font-weight: 600;
     /* Espace en haut */
    
     /* Espace supplémentaire sous la croix */
	
	position: absolute !important;
    top: 30px !important;
    left: 0 !important;
    right: 0 !important;
    text-align: center !important;
	margin-top: 30px;
}

.rmp-progress-bar {
    height: 6px; /* Plus épais */
    background: #e0f0f0; /* Couleur très claire harmonieuse avec var(--primary) */
    border-radius: 3px;
    margin: 15px 0 25px; /* Plus d'espace autour */
    overflow: hidden;
    position: relative;
	margin-top: 30px;
}

.rmp-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), #4ad4d8); /* Dégradé avec votre couleur */
    width: 25%; /* Correspond à l'étape 1 */
    transition: width 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
}

/* Points indicateurs sur la barre */
.rmp-progress-bar::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: transparent;
    z-index: 1;
}

/* Points pour chaque étape */
.rmp-progress-marker {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background: white;
    border: 3px solid #e0f0f0;
    border-radius: 50%;
    z-index: 2;
    transition: all 0.3s ease;
}

.rmp-progress-marker.active {
    background: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(43, 180, 184, 0.2);
}

/* Position des marqueurs */
.rmp-progress-marker:nth-child(1) { left: 0%; }
.rmp-progress-marker:nth-child(2) { left: 33.33%; }
.rmp-progress-marker:nth-child(3) { left: 66.66%; }
.rmp-progress-marker:nth-child(4) { left: 100%; }

/* Numéros d'étape */
.rmp-step-number {
    position: absolute;
    top: -35px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 30px;
    background: white;
    border: 2px solid var(--primary);
    border-radius: 50%;
    color: var(--primary);
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.rmp-step-number.active {
    background: var(--primary);
    color: white;
    transform: translateX(-50%) scale(1.2);
    box-shadow: 0 4px 12px rgba(43, 180, 184, 0.4);
}

/* ============================================
   ÉTOILES
   ============================================ */

.rmp-stars {
    font-size: 48px;
    margin: 30px 0;
    text-align: center;
    letter-spacing: 10px;
	margin-top: 70px;
}

.rmp-star {
    color: #ddd;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-block;
}

.rmp-star:hover {
    color: #ffc107;
    transform: scale(1.2);
}

.rmp-star.active {
    color: #ffb900;
}

/* ============================================
   CHAMPS DU FORMULAIRE
   ============================================ */

.rmp-field {
    margin-bottom: 20px;
}

.rmp-field label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.rmp-field input,
.rmp-field textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    transition: border 0.3s;
	resize:none !important;
}

.rmp-field input:focus,
.rmp-field textarea:focus {
    border-color: #0073aa;
    outline: none;
}

/* ============================================
   BOUTONS
   ============================================ */

.rmp-next,
.rmp-prev,
.rmp-submit {
    padding: 14px 30px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin: 5px;
}

.rmp-next {
    background: var(--primary);
    color: white;
	border: 2px solid var(--primary) !important;
	
}

.rmp-next:hover {
    background: rgba(43, 180, 184, 0.08);
    transform: translateY(-2px);
	border-color:var(--primary)
}

.rmp-prev {
    background: transparent;
    color: inherit;
	border: 2px solid !important;
    border-radius: 6px;
	gap: 10px;
    text-align: center !important;
    align-items: center;
	display: inline-flex;
}

.rmp-prev:hover {
   transform: translateY(-2px);
	z-index:5 !important;
}


.rmp-submit {
    background: linear-gradient(135deg, var(--primary), #1a7d80);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 16px 32px;
    font-size: 15px;
    font-weight: 600;
    min-width: 160px;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 
        0 8px 30px rgba(43, 180, 184, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.rmp-submit:hover:not(:disabled) {
    background: linear-gradient(135deg, #239a9e, #156466);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 
        0 15px 40px rgba(43, 180, 184, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
	color:white !important;
}







.rmp-submit:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

/* ============================================
   SECTIONS MÉDIAS
   ============================================ */



/* Conteneur principal ultra-minimaliste */
.rmp-step-2 {
    padding: 20px 0;
}

/* Section médias  */
.rmp-step-2 .rmp-media-section {
    background: transparent;
    padding: 0;
    border-radius: 0;
    margin: 0;
    border: none;
    box-shadow: none;
    position: relative;
}

/* Supprimer l'ancien effet de brillance */
.rmp-step-2 .rmp-media-section::before {
    display: none;
}

/* Titre minimaliste */
.rmp-step-2 .rmp-media-title {
    color: #1a7d80;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 30px;
    display: block;
    text-align: center;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding-bottom: 15px;
    position: relative;
}

.rmp-step-2 .rmp-media-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: var(--primary);
}

/* Supprimer l'icône emoji */
.rmp-step-2 .rmp-media-title::before {
    display: none;
}

/* ============================================
   CARTES MÉDIA 
   ============================================ */

.rmp-media-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

@media (max-width: 768px) {
    .rmp-media-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
	
	  .rmp-star[src] {
        width: 20px !important;
        height: 20px !important;
    }
}

/* Carte design  */
.rmp-media-card {
    background: white;
    border-radius: 20px;
    padding: 20px;
    border: 1px solid rgba(43, 180, 184, 0.1);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
    min-height: auto !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    text-align: center;
    
}

/* Effet de profondeur au hover */
.rmp-media-card:hover {
    border-color: rgba(43, 180, 184, 0.3);
    transform: translateY(-8px);
    box-shadow: 
        0 25px 60px rgba(43, 180, 184, 0.08),
        0 15px 40px rgba(0, 0, 0, 0.05);
}

/* Cercle d'icône  */
.rmp-media-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, rgba(43, 180, 184, 0.05), rgba(74, 212, 216, 0.05));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    font-size: 36px;
    color: var(--primary);
    border: 1px solid rgba(43, 180, 184, 0.15);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

/* Effet de brillance circulaire */
.rmp-media-icon::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.8) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.rmp-media-card:hover .rmp-media-icon {
    transform: scale(1.1);
    background: linear-gradient(135deg, rgba(43, 180, 184, 0.1), rgba(74, 212, 216, 0.1));
    border-color: var(--primary);
}

.rmp-media-card:hover .rmp-media-icon::before {
    opacity: 1;
}

/* Titre de carte  */
.rmp-media-card-title {
    font-size: 20px;
    font-weight: 700;
    color: #1a7d80;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}

/* Description épurée */
.rmp-media-card-desc {
    color: #7a8c8e;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 25px;
    max-width: 90%;
    font-weight: 400;
}

/* ============================================
   ZONE UPLOAD 
   ============================================ */

.rmp-file-upload-area {
    width: 100%;
    padding: 35px 25px;
    border: 2px dashed rgba(43, 180, 184, 0.2);
    border-radius: 16px;
    background: rgba(248, 253, 253, 0.3);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    min-height: 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    overflow: hidden;
}

/* Effet de fond animé */
.rmp-file-upload-area::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, 
        transparent 0%, 
        rgba(43, 180, 184, 0.02) 25%, 
        transparent 50%, 
        rgba(74, 212, 216, 0.02) 75%, 
        transparent 100%
    );
    background-size: 200% 200%;
    animation: gradientShift 3s ease infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
}

@keyframes gradientShift {
    0% { background-position: 0% 0%; }
    50% { background-position: 100% 100%; }
    100% { background-position: 0% 0%; }
}

.rmp-file-upload-area:hover::before {
    opacity: 1;
}

.rmp-file-upload-area:hover,
.rmp-file-upload-area.dragover {
    border-color: var(--primary);
    background: rgba(43, 180, 184, 0.03);
    transform: scale(1.01);
}

/* Icône upload moderne */
.rmp-file-upload-icon {
    font-size: 48px;
    color: var(--primary);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.rmp-file-upload-area:hover .rmp-file-upload-icon {
    opacity: 1;
    transform: translateY(-5px);
}

/* Texte upload */
.rmp-file-upload-text {
    color: #1a7d80;
    font-weight: 600;
    font-size: 17px;
    text-align: center;
    letter-spacing: 0.3px;
}

.rmp-file-upload-subtext {
    color: #7a8c8e;
    font-size: 13px;
    
    
    font-weight: 400;
}

/* Bouton de sélection  */
.rmp-file-select-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 28px;
    background: linear-gradient(135deg, var(--primary), #4ad4d8);
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    margin-top: 15px;
    box-shadow: 0 8px 25px rgba(43, 180, 184, 0.2);
    position: relative;
    overflow: hidden;
}

.rmp-file-select-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.2), 
        transparent
    );
    transition: left 0.6s;
}

.rmp-file-select-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(43, 180, 184, 0.3);
}

.rmp-file-select-btn:hover::before {
    left: 100%;
}

/* ============================================
   APERÇU FICHIERS 
   ============================================ */

.rmp-file-preview {
    margin-top: 20px;
    width: 100%;
}

.rmp-preview-title {
    color: #1a7d80;
    font-weight: 600;
    margin-bottom: 5px;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Item de preview  */
.rmp-preview-item {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 18px;
    background: white;
    border-radius: 14px;
    margin-bottom: 12px;
    border: 1px solid rgba(43, 180, 184, 0.08);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
    animation: slideInUp 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    transition: all 0.3s ease;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.rmp-preview-item:hover {
    border-color: rgba(43, 180, 184, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(43, 180, 184, 0.08);
}

/* Icône fichier moderne */
.rmp-file-type-icon {
    width: 46px;
    height: 46px;
    background: linear-gradient(135deg, rgba(43, 180, 184, 0.08), rgba(74, 212, 216, 0.08));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 22px;
    flex-shrink: 0;
}

/* Infos fichier */
.rmp-file-info {
    flex: 1;
    min-width: 0;
}

.rmp-file-name {
    font-weight: 600;
    color: #1a7d80;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 5px;
    font-size: 15px;
}

.rmp-file-size {
    color: #8a9a9c;
    font-size: 13px;
    font-weight: 400;
}

/* Bouton supprimer  */
.rmp-file-remove {
    width: 36px;
    height: 36px;
    background: rgba(255, 107, 107, 0.08);
    border: 1px solid rgba(255, 107, 107, 0.2);
    border-radius: 50%;
    color: #ff6b6b;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.rmp-file-remove:hover {
    background: #ff6b6b;
    color: white;
    transform: scale(1.1);
    border-color: #ff6b6b;
}

/* ============================================
   COUPON HINT 
   ============================================ */

.rmp-coupon-hint {
    background: linear-gradient(135deg, rgba(43, 180, 184, 0.05), rgba(74, 212, 216, 0.05));
    color: #1a7d80;
    padding: 22px;
    border-radius: 16px;
    margin: 30px 0;
    border: 1px solid rgba(43, 180, 184, 0.1);
    font-size: 15px;
    line-height: 1.6;
    display: flex;
    align-items: flex-start;
    gap: 18px;
    backdrop-filter: blur(10px);
}



/* ============================================
   NAVIGATION 
   ============================================ */



.rmp-step-2 .rmp-prev,
.rmp-step-2 .rmp-next {
    min-width: 140px !important; 
    width: auto !important; 
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    padding: 12px 24px !important;
    font-size: 13px !important;
    border-radius: 12px !important;
    transition: all 0.3s ease !important;
    font-weight: 400 !important;
     
    margin: 0 !important;
}

/* Effet de brillance sur les boutons */
.rmp-step-2 .rmp-prev::before
{
    content: '';
    position: absolute;   
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.2), 
        transparent
    );
    transition: left 0.6s;
}

.rmp-step-2 .rmp-prev:hover::before,
.rmp-step-2 .rmp-next:hover::before {
    left: 100%;
}

.rmp-step-2 .rmp-prev {
    background: linear-gradient(135deg, #6c757d, #868e96);
    color: white;
}

.rmp-step-2 .rmp-prev:hover {
    background: linear-gradient(135deg, #5a6268, #727b84);
    
    box-shadow: 0 10px 30px rgba(108, 117, 125, 0.2);
}

.rmp-step-2 .rmp-next ,

.rmp-step-3 .rmp-next{
    background: linear-gradient(135deg, var(--primary), #4ad4d8);
    color: white;
    box-shadow: 0 8px 30px rgba(43, 180, 184, 0.2);
}

.rmp-step-2 .rmp-next:hover,
.rmp-step-3 .rmp-next:hover
{
    background: linear-gradient(135deg, #239a9e, #3bc2c6);
    transform: translateX(5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(43, 180, 184, 0.3);
}

/* ============================================
    INPUTS 
   ============================================ */

/* 1. Styles pour .rmp-media-stack */
.rmp-media-stack {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 70px;
}

/* 2. STYLE  LES INPUTS  */
.rmp-media-input {
    display: block !important;
    width: 100% !important;
    height: 60px !important;
    padding: 20px !important;
    border: 2px dashed rgba(43, 180, 184, 0.3) !important;
    border-radius: 12px !important;
    background: rgba(248, 253, 253, 0.8) !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    font-size: 15px !important;
    color: #1a7d80 !important;
    margin-top: 15px !important;
    position: relative !important;
    z-index: 10 !important;
    box-sizing: border-box !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Cache le bouton par défaut du navigateur */
.rmp-media-input::file-selector-button {
    display: none !important;
}

/* 3. Corriger le problème de superposition */
.rmp-file-upload-area {
    position: relative;
    z-index: 1;
}

.rmp-media-input {
    position: relative;
    z-index: 2 !important;
}


.rmp-file-upload-area * {
    pointer-events: none; /* Désactive les clics sur les enfants */
}

.rmp-media-input {
    pointer-events: auto !important; /* Réactive les clics sur l'input */
}


.rmp-media-input {
    margin-top: 15px !important;
    padding: 20px !important;
    border: 2px dashed var(--primary) !important;
    background: white !important;
}

.rmp-media-input:hover {
    background: rgba(43, 180, 184, 0.05) !important;
}

/* ============================================
   CONFIRMATION
   ============================================ */

.rmp-coupon-result {
    background: var(--primary);
    color: white;
    padding: 20px;
    border-radius: 10px;
    margin-top: 20px;
    text-align: center;
    
}

/* Coupon block styling for step 5 confirmation */
.rmp-step.step-5 .rmp-coupon-result {
    background: linear-gradient(135deg, var(--primary), #2aaab0) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.22) !important;
    border-radius: 14px !important;
    padding: 16px 18px !important;
    margin: 22px auto 0 !important;
    max-width: 560px !important;
    box-shadow: 0 14px 30px rgba(24, 92, 96, 0.24) !important;
}

.rmp-step.step-5 .rmp-coupon-result-message {
    margin: 0 0 10px 0 !important;
    color: rgba(255, 255, 255, 0.96) !important;
    font-size: 15px !important;
    line-height: 1.45 !important;
    font-weight: 500 !important;
}

.rmp-step.step-5 .rmp-coupon-code-line {
    margin: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    color: #ffffff !important;
    font-size: 14px !important;
    line-height: 1.3 !important;
}

.rmp-step.step-5 .rmp-coupon-code-line strong {
    color: #ffffff !important;
    font-weight: 700 !important;
}

.rmp-step.step-5 .rmp-coupon-code-line code,
.rmp-step.step-5 #rmp-coupon-code {
    display: inline-block !important;
    padding: 7px 12px !important;
    border-radius: 8px !important;
    background: #ffffff !important;
    color: #0f5f64 !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    letter-spacing: 0.08em !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12) !important;
}

.rmp-step.step-5 .rmp-coupon-copy-btn {
    border: 1px solid rgba(255, 255, 255, 0.72) !important;
    background: rgba(255, 255, 255, 0.14) !important;
    color: #ffffff !important;
    border-radius: 8px !important;
    padding: 7px 10px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    cursor: pointer !important;
    transition: background-color 0.2s ease, transform 0.2s ease !important;
}

.rmp-step.step-5 .rmp-coupon-copy-btn:hover {
    background: rgba(255, 255, 255, 0.24) !important;
    transform: translateY(-1px) !important;
}

.rmp-step.step-5 .rmp-coupon-copy-feedback {
    margin: 8px 0 0 0 !important;
    min-height: 18px !important;
    color: rgba(255, 255, 255, 0.95) !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
}

/* ============================================
   ÉTAPE 5 - CONFIRMATION PREMIUM (Ciblage .step-5)
   ============================================ */

/* 1. CONTENEUR PRINCIPAL */
.rmp-step.step-5 {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(248, 253, 253, 0.98)) !important;
    border-radius: 20px !important;
    padding: 50px 35px !important;
    margin: 0 !important;
    border: 1px solid rgba(43, 180, 184, 0.1) !important;
    box-shadow: 0 20px 60px rgba(43, 180, 184, 0.08) !important;
    position: relative !important;
    overflow: hidden !important;
    text-align: center !important;
    animation: step5Entry 1s cubic-bezier(0.23, 1, 0.32, 1) !important;
}

/* Animation d'entrée spéciale */
@keyframes step5Entry {
    0% {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }
    60% {
        transform: scale(1.02);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Effet de fond animé */
.step-5::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: 
        radial-gradient(circle at 20% 80%, rgba(43, 180, 184, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(74, 212, 216, 0.03) 0%, transparent 50%) !important;
    z-index: -1 !important;
    animation: gradientFloat 8s ease-in-out infinite alternate !important;
}

@keyframes gradientFloat {
    0% {
        transform: translate(0, 0) scale(1);
    }
    100% {
        transform: translate(-10px, -10px) scale(1.1);
    }
}

/* 2. ICÔNE DE SUCCÈS ANIMÉE */
.rmp-success-icon {
    position: relative !important;
    width: 120px !important;
    height: 120px !important;
    margin: 0 auto 40px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    animation: successIconPop 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.3s both !important;
}

@keyframes successIconPop {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    70% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Cercle de l'icône */
.rmp-success-circle {
    position: absolute !important;
    width: 100% !important;
    height: 100% !important;
    border-radius: 50% !important;
    background: linear-gradient(135deg, var(--primary), #4ad4d8) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 
        0 15px 40px rgba(43, 180, 184, 0.4),
        inset 0 2px 0 rgba(255, 255, 255, 0.3) !important;
    z-index: 2 !important;
}

/* Effet de halo */
.rmp-success-halo {
    position: absolute !important;
    width: 140% !important;
    height: 140% !important;
    border-radius: 50% !important;
    background: rgba(43, 180, 184, 0.1) !important;
    animation: haloPulse 2s ease-in-out infinite !important;
    z-index: 1 !important;
}

@keyframes haloPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.4;
    }
}

/* Vérification (checkmark) */
.rmp-checkmark {
    color: white !important;
    font-size: 60px !important;
    font-weight: bold !important;
    line-height: 1 !important;
    animation: checkmarkDraw 0.5s ease-out 0.8s both !important;
}

@keyframes checkmarkDraw {
    0% {
        transform: scale(0) rotate(-45deg);
        opacity: 0;
    }
    100% {
        transform: scale(1) rotate(0);
        opacity: 1;
    }
}

/* 3. TITRE PRINCIPAL */
.step-5 h3 {
    color: #000 !important;
    font-size: 32px !important;
    font-weight: 700 !important;
    margin-bottom: 20px !important;
    letter-spacing: 0.5px !important;
    position: relative !important;
    padding-bottom: 20px !important;
    animation: titleSlideUp 0.6s ease-out 0.5s both !important;
}

@keyframes titleSlideUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Ligne sous le titre */
.step-5 h3::after {
    content: '' !important;
    position: absolute !important;
    bottom: 0 !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 60px !important;
    height: 3px !important;
    background: linear-gradient(90deg, var(--primary), #4ad4d8) !important;
    border-radius: 2px !important;
    animation: lineExpand 0.8s ease-out 1s both !important;
}

@keyframes lineExpand {
    0% {
        width: 0;
        opacity: 0;
    }
    100% {
        width: 60px;
        opacity: 1;
    }
}

/* 4. MESSAGE DE CONFIRMATION */
.step-5 > div > p:first-of-type {
    
    font-size: 18px !important;
    line-height: 1.6 !important;
    margin-bottom: 40px !important;
    max-width: 600px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    animation: messageFadeIn 0.6s ease-out 0.7s both !important;
	color:#000 !important
}

@keyframes messageFadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 5. ÉTOILES FESTIVES (nouvel élément) */
.rmp-celebration-stars {
    position: relative !important;
    width: 200px !important;
    height: 200px !important;
    margin: 40px auto !important;
    animation: starsAppear 0.8s ease-out 1.2s both !important;
}

.rmp-celebration-star {
    position: absolute !important;
    font-size: 28px !important;
    color: var(--primary) !important;
    opacity: 1 !important;
    animation: orbitStar 8s linear infinite !important;
    filter: drop-shadow(0 0 8px rgba(43, 180, 184, 0.5)) !important;
}

/* Positionner chaque étoile sur un cercle */
.rmp-celebration-star:nth-child(1) { 
    top: 0; left: 50%; 
    transform: translateX(-50%);
    animation-delay: 0s !important; 
}
.rmp-celebration-star:nth-child(2) { 
    top: 25%; right: 10%; 
    animation-delay: -1.6s !important; 
}
.rmp-celebration-star:nth-child(3) { 
    top: 75%; right: 10%; 
    animation-delay: -3.2s !important; 
}
.rmp-celebration-star:nth-child(4) { 
    top: 75%; left: 10%; 
    animation-delay: -4.8s !important; 
}
.rmp-celebration-star:nth-child(5) { 
    top: 25%; left: 10%; 
    animation-delay: -6.4s !important; 
}

@keyframes orbitStar {
    0% {
        transform: rotate(0deg) translateX(100px) rotate(0deg);
    }
    100% {
        transform: rotate(360deg) translateX(100px) rotate(-360deg);
    }
}

@keyframes starsAppear {
    0% {
        opacity: 0;
        transform: scale(0.3) rotate(180deg);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotate(0);
    }
}

/* CONTENEUR POUR TOUT */
.rmp-stars-with-title {
    position: relative;
    width: auto;            /* MÊME largeur que tes étoiles */
              /* MÊME hauteur que tes étoiles */
    margin: 30px auto;       /* Centre et espace */
}

/* TON ANIMATION RESTE EXACTEMENT LA MÊME ! */
/* Ne change RIEN dans ton CSS existant */

/* TITRE AU CENTRE DU CERCLE */
.rmp-title-inside-stars {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
               /* Au-dessus des étoiles */
    text-align: center;
    width: auto;            /* Un peu plus petit que le cercle */
}

.rmp-title-inside-stars h3 {
    color: #000;
    font-size: 20px;         /* Taille adaptée */
    font-weight: 700;
    margin: 0;
    padding: 15px 20px;
	      /* Fond blanc légèrement transparent */
    border-radius: 12px;
    
    border: 2px solid rgba(43, 180, 184, 0.3);
   
    animation: titleFloat 3s ease-in-out infinite;
    line-height: 1.3;
}

/* Animation subtile pour le titre */
@keyframes titleFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}
/* 6. MESSAGE DE FERMETURE AUTOMATIQUE */
.rmp-auto-close {
    color: #1a7d80 !important;
    font-size: 16px !important;
    padding: 20px !important;
    margin: 30px auto !important;
    max-width: 400px !important;
    background: rgba(43, 180, 184, 0.05) !important;
    border-radius: 12px !important;
    border-left: 4px solid var(--primary) !important;
    font-weight: 500 !important;
    animation: fadeInUp 0.6s ease-out 1.4s both !important;
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Compteur animé */
.rmp-countdown {
    color: var(--primary) !important;
    font-weight: 700 !important;
    font-size: 18px !important;
    display: inline-block !important;
    animation: countdownPulse 1s ease-in-out infinite !important;
}

@keyframes countdownPulse {
    0%, 100% {
        transform: scale(1);
        color: var(--primary);
    }
    50% {
        transform: scale(1.1);
        color: #4ad4d8;
    }
}

/* 7. BOUTON DE FERMETURE RAPIDE (optionnel) */
.rmp-close-now-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 14px 28px !important;
    background: linear-gradient(135deg, rgba(43, 180, 184, 0.1), rgba(74, 212, 216, 0.1)) !important;
    color: #1a7d80 !important;
    border: 2px solid rgba(43, 180, 184, 0.3) !important;
    border-radius: 12px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    margin-top: 20px !important;
    animation: fadeInUp 0.6s ease-out 1.6s both !important;
}

.rmp-close-now-btn:hover {
    background: linear-gradient(135deg, var(--primary), #4ad4d8) !important;
    color: white !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 10px 25px rgba(43, 180, 184, 0.3) !important;
}

/* 8. EFFETS DE CONFETTI (via pseudo-éléments) */
.step-5::after {
    content: '✦ ✦ ✦' !important;
    position: absolute !important;
    top: 20px !important;
    left: 0 !important;
    right: 0 !important;
    color: rgba(43, 180, 184, 0.1) !important;
    font-size: 24px !important;
    text-align: center !important;
    animation: confettiFall 20s linear infinite !important;
    pointer-events: none !important;
    z-index: -1 !important;
}

@keyframes confettiFall {
    0% {
        transform: translateY(-100px) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.5;
    }
    100% {
        transform: translateY(100vh) rotate(360deg);
        opacity: 0;
    }
}

/* 9. RESPONSIVE */
@media (max-width: 768px) {
    .rmp-step.step-5 {
        padding: 35px 20px !important;
    }

    .rmp-step.step-5 .rmp-coupon-result {
        padding: 14px 12px !important;
        border-radius: 12px !important;
        margin-top: 18px !important;
    }

    .rmp-step.step-5 .rmp-coupon-result-message {
        font-size: 14px !important;
        margin-bottom: 8px !important;
    }

    .rmp-step.step-5 .rmp-coupon-code-line {
        font-size: 13px !important;
        gap: 6px !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
    }

    .rmp-step.step-5 .rmp-coupon-code-line code,
    .rmp-step.step-5 #rmp-coupon-code {
        font-size: 14px !important;
        padding: 6px 10px !important;
    }

    .rmp-step.step-5 .rmp-coupon-copy-btn {
        font-size: 12px !important;
        padding: 6px 9px !important;
    }

    .rmp-step.step-5 .rmp-coupon-copy-feedback {
        font-size: 11px !important;
        margin-top: 6px !important;
    }
    
    .rmp-success-icon {
        width: 100px !important;
        height: 100px !important;
        margin-bottom: 30px !important;
    }
    
    .step-5 h3 {
        font-size: 26px !important;
    }
    
    .step-5 > div > p:first-of-type {
        font-size: 16px !important;
    }
    
    .rmp-celebration-stars {
        gap: 15px !important;
    }
    
    .rmp-celebration-star {
        font-size: 20px !important;
    }
}

/* 10. TRANSITION SMOOTH AVEC LES AUTRES ÉTAPES */
.rmp-step.step-5.active {
    display: block !important;
    animation: stepTransition 0.5s ease-out !important;
}

@keyframes stepTransition {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}



/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
    .rmp-form-modal {
        padding: 0 !important;
        align-items: stretch;
        justify-content: stretch;
    }

    .rmp-modal-content {
        width: 100vw !important;
        height: 100dvh !important;
        max-width: 100vw !important;
        max-height: 100dvh !important;
        
        /* Reset des dimensions fixes */
        min-width: 0 !important;
        min-height: 100dvh !important;
        
        /* Bord arrondi réduit ou supprimé */
        border-radius: 0 !important;
        
        /* Padding réduit */
        padding: max(18px, env(safe-area-inset-top)) 15px calc(30px + env(safe-area-inset-bottom)) !important;
		transform: none !important;
        top: 0 !important;
        left: 0 !important;
        
        /* Assure que ça prend toute la fenêtre */
        margin: 0 !important;
		display: flex;
        flex-direction: column;
        justify-content: flex-start;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch;
        touch-action: pan-y;
        
        
       
    }
	
	
	    /* 1. AJUSTEMENTS DU TITRE - PLACER AU MILIEU AVEC ESPACE */
    .rmp-step h3,
    .step-1 h3
     {
        margin: 0 !important;
        text-align: center !important;
        font-size: 24px !important;
        line-height: 1.3 !important;
        padding: 0 15px !important;
        width: 100% !important;
        max-width: 100% !important;
    }
	
	
	
	
	
    
  
    
    /* Ajustement du bouton de fermeture */
    .rmp-close-modal {
        top: 15px !important;
        right: 15px !important;
        background: rgba(255, 255, 255, 0.9) !important;
        border-radius: 50% !important;
        width: 40px !important;
        height: 40px !important;
        line-height: 40px !important;
        z-index: 10002 !important;
    }
	    /* 2. AJUSTEMENTS DES ÉTOILES - RÉDUIRE LA TAILLE ET CENTRER */
    .rmp-stars-container {
        display: flex !important;
		text-align: center !important;
        flex-direction: column !important;
        align-items: center !important;
		width: 100% !important;
        justify-content: flex-start !important;
        margin: 20px auto 30px !important;
        min-height: 150px !important; /* Garde de l'espace vertical */
    }
    
    .rmp-stars {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 5px !important;
        margin: 0 auto !important;
        font-size: 0 !important; /* Réduction de taille */
        letter-spacing: 5px !important;
        flex-wrap: wrap !important;
        padding: 10px !important;
		flex-wrap: nowrap !important;
		margin-top: 70px !important;
    }
	
	
	
    
	
	

	
	
	
    
    /* AJOUTEZ CE BLOC : */
    .step-1 > div:first-child {
        flex: 1 !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important; /* Centre le contenu restant */
        align-items: center !important;
        width: 100% !important;
        order: 2 !important; /* Place après la barre */
    }
	
	
	
    /* 3. TITRE CENTRÉ VERTICALEMENT ET HORIZONTALEMENT */
    .step-1 h3 {
        text-align: center !important;
        margin: 0 auto 20px !important;
        font-size: 24px !important;
        line-height: 1.3 !important;
        padding: 0 15px !important;
        width: 100% !important;
        max-width: 100% !important;
        
    }
	
	
	
	
	
	   
    .rmp-stars {
        font-size: 36px;
        letter-spacing: 5px;
    }
    
    .rmp-next,
    .rmp-prev,
    .rmp-submit {
        padding: 12px 20px;
        width: 100%;
        margin: 5px 0;
    }
	   .rmp-navigation {
        flex-direction: column !important;
        gap: 15px !important;
		
        bottom: 0 !important;
        background: white !important;
        padding: 15px 0 !important;
        
        border-top: 1px solid #e0e0e0 !important;
        z-index: 1000 !important;
    }
     .rmp-prev,
     .rmp-next {
        width: 100% !important;
        min-width: auto !important;
        margin: 0 !important;
		justify-content: center !important; /* Centre le texte à l'intérieur */
        text-align: center !important;
    }
	
	   .rmp-star-wrapper {
        display: inline-block !important;
        margin: 0 2px !important;
    }
	
	
	    .rmp-star {
        font-size: 48px !important; 
        -webkit-text-stroke: 3px var(--primary) !important;
        text-stroke: 1px var(--primary) !important;
        display: inline-block !important;
        width: 48px !important;
        height: 48px !important;
        line-height: 48px !important;
        text-align: center !important;
    }
	
	
	    /* 5. BARRE DE PROGRESSION - IMPORTANT ! */
    .rmp-progress {
       
        margin-top: 30px !important;
        width: 100% !important;
        text-align: center !important;
        display: block !important; /* Forcer l'affichage */
        opacity: 1 !important;
        visibility: visible !important;
		position: absolute;
    	top: 50px; 
		color: #1a7d80;
        
    }
    
    .rmp-progress-bar {
        display: block !important;
        margin: 10px auto !important;
        max-width: 300px !important;
		  
	
    }
	
	
	 
   
}



/* ============================================
   BOUTON FERMETURE (CROIX)
   ============================================ */

.rmp-modal-content {
    position: relative !important;
	padding-top: 40px !important;
}

.rmp-close-modal {
    position: absolute !important;
    top: 25px !important;
    right: 25px !important;
    font-size: 32px !important;
    width: 40px !important;
    height: 40px !important;
    line-height: 40px !important;
    cursor: pointer !important;
    color: #666 !important;
    z-index: 10001 !important;
    text-align: center !important;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: block !important;
}

.rmp-close-modal:hover {
    color: #000 !important;
    background: linear-gradient(135deg, rgba(43, 180, 184, 0.08), rgba(74, 212, 216, 0.08)) !important;
    transform: rotate(90deg) scale(1.1) !important;
    
	border-radius: 50% !important;
}

.rmp-close-modal:focus {
    outline: 2px solid var(--primary) !important; 
    outline-offset: 4px !important;
    box-shadow: 0 0 0 4px rgba(43, 180, 184, 0.3) !important;
}
/* Message de fermeture automatique */
.rmp-auto-close {
    color: #666;
    font-size: 14px;
    margin-top: 20px;
    font-style: italic;
    text-align: center;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 5px;
    border-left: 3px solid #0073aa;
}
/* ============================================
   BOUTON "ÉCRIRE UN AVIS" 
   ============================================ */

.rmp-review-btn {
    /* Style de base */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    margin: 25px 0;
    
    /* Dégradé avec votre couleur var(--primary) */
    background: linear-gradient(135deg, var(--primary) 0%, #1a7d80 100%);
    color: white;
    
    /* Ombre élégante en harmonie */
    box-shadow: 0 10px 30px rgba(43, 180, 184, 0.3),
                0 4px 15px rgba(0, 0, 0, 0.1);
    
    /* Effet de brillance subtil */
    border: 2px solid rgba(255, 255, 255, 0.2);
    
    /* Texte avec effet de profondeur */
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Effet au survol - plus lumineux */
.rmp-review-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(43, 180, 184, 0.4),
                0 6px 20px rgba(0, 0, 0, 0.15);
    
    /* Dégradé inversé pour l'animation */
    background: linear-gradient(135deg, #1a7d80 0%, var(--primary) 100%);
}

/* Effet au clic */
.rmp-review-btn:active {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 5px 20px rgba(43, 180, 184, 0.3);
}

/* Animation de brillance au survol */
.rmp-review-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
                transparent, 
                rgba(255, 255, 255, 0.2), 
                transparent);
    transition: left 0.7s;
}

.rmp-review-btn:hover::before {
    left: 100%;
}

/* Animation de pulse avec votre couleur */
@keyframes pulse-glow-turquoise {
    0% {
        box-shadow: 0 0 0 0 rgba(43, 180, 184, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(43, 180, 184, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(43, 180, 184, 0);
    }
}

.rmp-review-btn.pulse {
    animation: pulse-glow-turquoise 2s infinite;
}

/* Variantes de thème  */

/* Version plus claire */
.rmp-review-btn.light-variant {
    background: linear-gradient(135deg, #4ad4d8 0%, var(--primary) 100%);
    box-shadow: 0 10px 30px rgba(74, 212, 216, 0.3);
}

/* Version plus foncée/élégante */
.rmp-review-btn.dark-variant {
    background: linear-gradient(135deg, #1a7d80 0%, var(--primary) 100%);
    box-shadow: 0 10px 30px rgba(26, 125, 128, 0.4);
}

/* Version avec contraste (pour fonds clairs) */
.rmp-review-btn.contrast {
    background: linear-gradient(135deg, var(--primary) 0%, #239a9e 100%);
    color: white;
    box-shadow: 0 10px 30px rgba(43, 180, 184, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

/* Version avec effet "océan" */
.rmp-review-btn.ocean-theme {
    background: linear-gradient(135deg, var(--primary) 0%, #2b8cb8 100%);
    box-shadow: 0 10px 30px rgba(43, 180, 184, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

/* Version avec effet "tropical" */
.rmp-review-btn.tropical-theme {
    background: linear-gradient(135deg, var(--primary) 0%, #2bb894 100%);
    box-shadow: 0 10px 30px rgba(43, 180, 184, 0.3);
}

/* Style pour bouton avec icône (si vous en rajoutez plus tard) */
.rmp-review-btn.has-icon {
    padding-right: 40px;
    position: relative;
}

.rmp-review-btn.has-icon::after {
    content: '→';
    position: absolute;
    right: 20px;
    font-size: 18px;
    transition: transform 0.3s;
}

.rmp-review-btn.has-icon:hover::after {
    transform: translateX(5px);
}

/* Responsive */
@media (max-width: 768px) {
    .rmp-review-btn {
        padding: 14px 28px;
        font-size: 15px;
        width: 100%;
        max-width: 300px;
        display: flex;
        justify-content: center;
        margin: 20px auto;
    }
}

/* Animation d'entrée */
@keyframes slideInUp-turquoise {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.rmp-review-btn.animated {
    animation: slideInUp-turquoise 0.6s ease-out 0.3s both;
}

/* Empty state product reviews: compact centered professional layout */
.rmp-product-reviews-fullwidth.rmp-product-reviews-empty .rmp-product-reviews-empty-wrap {
    max-width: 680px !important;
    margin: 0 auto !important;
    padding: 18px !important;
    border-radius: 10px !important;
    text-align: center !important;
}

.rmp-product-reviews-fullwidth.rmp-product-reviews-empty .rmp-product-reviews-head,
.rmp-product-reviews-fullwidth.rmp-product-reviews-empty .rmp-product-reviews-head-empty {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    margin: 0 !important;
    text-align: center !important;
}

.rmp-product-reviews-fullwidth.rmp-product-reviews-empty .rmp-product-reviews-head h3,
.rmp-product-reviews-fullwidth.rmp-product-reviews-empty .rmp-product-reviews-head-empty h3 {
    margin: 0 !important;
    font-size: 20px !important;
    line-height: 1.2 !important;
    font-weight: 600 !important;
}

.rmp-product-reviews-fullwidth.rmp-product-reviews-empty .rmp-product-reviews-head .rmp-shortcode-container,
.rmp-product-reviews-fullwidth.rmp-product-reviews-empty .rmp-product-reviews-head-empty .rmp-shortcode-container {
    width: auto !important;
    margin: 0 !important;
    display: inline-flex !important;
    justify-content: center !important;
    align-items: center !important;
}

.rmp-product-reviews-fullwidth.rmp-product-reviews-empty .rmp-product-reviews-head .rmp-review-btn,
.rmp-product-reviews-fullwidth.rmp-product-reviews-empty .rmp-product-reviews-head .rmp-open-form,
.rmp-product-reviews-fullwidth.rmp-product-reviews-empty .rmp-product-reviews-head-empty .rmp-review-btn,
.rmp-product-reviews-fullwidth.rmp-product-reviews-empty .rmp-product-reviews-head-empty .rmp-open-form {
    width: auto !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 8px 14px !important;
    border-radius: 8px !important;
    border: 1px solid #d0d7de !important;
    background: #ffffff !important;
    color: #1f2f31 !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    line-height: 1.2 !important;
    text-transform: none !important;
    box-shadow: none !important;
    text-shadow: none !important;
    transform: none !important;
    transition: background .15s ease, border-color .15s ease, color .15s ease !important;
}

.rmp-product-reviews-fullwidth.rmp-product-reviews-empty .rmp-product-reviews-head .rmp-review-btn::before,
.rmp-product-reviews-fullwidth.rmp-product-reviews-empty .rmp-product-reviews-head .rmp-open-form::before,
.rmp-product-reviews-fullwidth.rmp-product-reviews-empty .rmp-product-reviews-head-empty .rmp-review-btn::before,
.rmp-product-reviews-fullwidth.rmp-product-reviews-empty .rmp-product-reviews-head-empty .rmp-open-form::before,
.rmp-product-reviews-fullwidth.rmp-product-reviews-empty .rmp-product-reviews-head .rmp-review-btn::after,
.rmp-product-reviews-fullwidth.rmp-product-reviews-empty .rmp-product-reviews-head .rmp-open-form::after,
.rmp-product-reviews-fullwidth.rmp-product-reviews-empty .rmp-product-reviews-head-empty .rmp-review-btn::after,
.rmp-product-reviews-fullwidth.rmp-product-reviews-empty .rmp-product-reviews-head-empty .rmp-open-form::after {
    content: none !important;
    display: none !important;
}

.rmp-product-reviews-fullwidth.rmp-product-reviews-empty .rmp-product-reviews-head .rmp-review-btn:hover,
.rmp-product-reviews-fullwidth.rmp-product-reviews-empty .rmp-product-reviews-head .rmp-open-form:hover,
.rmp-product-reviews-fullwidth.rmp-product-reviews-empty .rmp-product-reviews-head-empty .rmp-review-btn:hover,
.rmp-product-reviews-fullwidth.rmp-product-reviews-empty .rmp-product-reviews-head-empty .rmp-open-form:hover {
    background: #f6f7f7 !important;
    border-color: #c3c4c7 !important;
    color: #1d2327 !important;
    transform: none !important;
    box-shadow: none !important;
}

@media (max-width: 768px) {
    .rmp-product-reviews-fullwidth.rmp-product-reviews-empty .rmp-product-reviews-empty-wrap {
        max-width: 100% !important;
        padding: 14px !important;
    }

    .rmp-product-reviews-fullwidth.rmp-product-reviews-empty .rmp-product-reviews-head h3,
    .rmp-product-reviews-fullwidth.rmp-product-reviews-empty .rmp-product-reviews-head-empty h3 {
        font-size: 18px !important;
    }
}

/* ============================================
   ÉTOILES AVEC ANIMATIONS DIFFÉRENTES
   ============================================ */

.rmp-stars-container {
    text-align: center;
    margin: 30px 0;
}

.rmp-stars {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-bottom: 20px;
    position: relative;
}

.rmp-star-wrapper {
    position: relative;
    display: inline-block;
    margin: 0 8px;
}


.rmp-star {
    font-size: 64px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    display: block;
    position: relative;
    z-index: 2;
    
    /* Bordure avec contour */
    -webkit-text-stroke: 4px var(--primary);
    text-stroke: 1.5px var(--primary);
    paint-order: stroke fill; /* La bordure sous le remplissage */
}


/* TOUTES les étoiles avec la couleur var(--primary) quand actives */
.rmp-star.active {
    color: var(--primary);
    text-shadow: 0 0 15px rgba(43, 180, 184, 0.5);
}

/* L'étoile 5 en plus brillante */
.rmp-star-wrapper[data-star="5"] .rmp-star.active { 
    text-shadow: 0 0 20px rgba(43, 180, 184, 0.7);
}

/* Effet hover - prévisualisation */
.rmp-star.hover {
    color: var(--primary);
    transform: scale(1.1);
}

/* ANIMATIONS DIFFÉRENTES POUR CHAQUE ÉTOILE (seulement pour l'étoile cliquée) */


/* Animation pour 1 étoile : Vibration triste */
.rmp-star.animation-1.animating {
    animation: allSad 0.8s ease;
}
@keyframes allSad {
    0%, 100% { 
        transform: translateY(0) rotate(0) scale(1); 
        filter: hue-rotate(0deg) brightness(1);
    }
    25% { 
        transform: translateY(-8px) rotate(-8deg) scale(1.1); 
        filter: hue-rotate(60deg) brightness(1.2);
    }
    50% { 
        transform: translateY(0) rotate(0) scale(1); 
         filter: hue-rotate(0deg) brightness(1);
    }
    75% { 
        transform: translateY(-5px) rotate(5deg) scale(1.05); 
        filter: hue-rotate(60deg) brightness(1.2);
    }
}

/* Animation pour 2 étoiles : Saut léger */
.rmp-star.animation-2.animating {
    animation: allJump 0.6s ease;
}
@keyframes allJump {
    0%, 100% { 
        transform: translateY(0) scale(1); 
        filter: brightness(1) drop-shadow(0 0 5px rgba(43, 180, 184, 0.5));
    }
    50% { 
        transform: translateY(-15px) scale(1.2); 
        filter: brightness(1.3) 
		drop-shadow(0 0 15px rgba(43, 180, 184, 0.7));
        
    }
}

/* Animation pour 3 étoiles : Pulse */
.rmp-star.animation-3.animating {
    animation: allPulse 0.8s ease;
}
@keyframes allPulse {
    0%, 100% { 
        transform: scale(1); 
        filter: brightness(1) 
		drop-shadow(0 0 5px rgba(43, 180, 184, 0.5));
    }
    50% { 
        transform: scale(1.3); 
        filter: brightness(1.5)
		drop-shadow(0 0 20px rgba(43, 180, 184, 0.8));
       
    }
}

/* Animation pour 4 étoiles : Rotation joyeuse */
.rmp-star.animation-4.animating {
    animation: allRotate 0.7s ease;
}
@keyframes allRotate {
    0% { 
        transform: rotate(0) scale(1); 
        filter: brightness(1)
		drop-shadow(0 0 5px rgba(43, 180, 184, 0.5));
    }
    50% { 
        transform: rotate(15deg) scale(1.4); 
        filter: brightness(1.6)
		drop-shadow(0 0 25px rgba(43, 180, 184, 0.9));
        
    }
    100% { 
        transform: rotate(0) scale(1); 
        filter: brightness(1)
		drop-shadow(0 0 10px rgba(43, 180, 184, 0.6));
    }
}

/* Animation pour 5 étoiles : ÉCLAT SUPER  */
.rmp-star.animation-5.animating {
    animation: allExplode 1.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
@keyframes allExplode {
    0% { 
        transform: scale(1) rotate(0);
        filter: brightness(1) 
		drop-shadow(0 0 0 rgba(43, 180, 184, 0));
        opacity: 1;
    }
    20% { 
        transform: scale(1.8) rotate(10deg);
        filter: brightness(1.8)
		drop-shadow(0 0 30px rgba(255, 255, 255, 0.9));
    }
    40% { 
        transform: scale(2.2) rotate(-5deg);
        filter: brightness(2.2)
		drop-shadow(0 0 50px rgba(255, 255, 255, 1));
        
        
    }
    60% { 
        transform: scale(1.9) rotate(5deg);
        filter: brightness(1.9)
		drop-shadow(0 0 40px rgba(74, 212, 216, 0.9));
    }
    80% { 
        transform: scale(1.5) rotate(-3deg);
        filter: brightness(1.5)
		drop-shadow(0 0 25px rgba(43, 180, 184, 0.8));
    }
    100% { 
        transform: scale(1) rotate(0);
        filter: brightness(1.2)
		drop-shadow(0 0 15px rgba(43, 180, 184, 0.6));
        opacity: 1;
    }
}

/* Effet d'onde pour l'animation 5 */
.rmp-star.animation-5.animating::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(255,255,255,0.8) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: waveExpand 1.2s ease-out;
    z-index: 1;
}

@keyframes waveExpand {
    0% {
        width: 0;
        height: 0;
        opacity: 1;
    }
    100% {
        width: 150px;
        height: 150px;
        opacity: 0;
    }
}

/* Effet de particules pour animation 5 */
.rmp-star.animation-5.animating::before {
    content: '✦';
    position: absolute;
    font-size: 20px;
    opacity: 0;
    animation: particles 1s ease-out;
}

@keyframes particles {
    0% {
        transform: translate(0, 0) scale(0);
        opacity: 1;
    }
    100% {
        transform: translate(
            calc(var(--tx) * 50px), 
            calc(var(--ty) * 50px)
        ) scale(1);
        opacity: 0;
    }
}

/* Générer plusieurs particules */
.rmp-star-wrapper[data-star="5"] .rmp-star.animation-5.animating::before {
    animation-delay: 0.2s;
    --tx: 0.5;
    --ty: -0.5;
}
.rmp-star-wrapper[data-star="4"] .rmp-star.animation-5.animating::before {
    animation-delay: 0.3s;
    --tx: -0.7;
    --ty: -0.3;
}
.rmp-star-wrapper[data-star="3"] .rmp-star.animation-5.animating::before {
    animation-delay: 0.4s;
    --tx: 0.3;
    --ty: 0.7;
}
.rmp-star-wrapper[data-star="2"] .rmp-star.animation-5.animating::before {
    animation-delay: 0.5s;
    --tx: -0.5;
    --ty: 0.5;
}
.rmp-star-wrapper[data-star="1"] .rmp-star.animation-5.animating::before {
    animation-delay: 0.6s;
    --tx: 0.7;
    --ty: 0.2;
}

/* Remplissage en cascade  */
.rmp-star.active::before {
    content: '★';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    color: var(--primary);
    overflow: hidden;
    z-index: 1;
    animation: fillCascade 0.3s ease forwards;
    animation-delay: calc(var(--star-index) * 0.1s);
}

/* Délais progressifs pour l'effet cascade */
.rmp-star-wrapper:nth-child(1) .rmp-star { --star-index: 1; }
.rmp-star-wrapper:nth-child(2) .rmp-star { --star-index: 2; }
.rmp-star-wrapper:nth-child(3) .rmp-star { --star-index: 3; }
.rmp-star-wrapper:nth-child(4) .rmp-star { --star-index: 4; }
.rmp-star-wrapper:nth-child(5) .rmp-star { --star-index: 5; }

/* ============================================
   NOUVEAU DESIGN ÉLÉGANT - ÉTAPE 2
   ============================================ */

/* En-tête de l'étape */
.rmp-step-header {
    text-align: center;
    margin-bottom: 8px;
}

.rmp-step-title {
    
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.rmp-step-subtitle {
    color: #7a8c8e;
    font-size: 15px;
    font-weight: 400;
}

/* En-tête de carte */
.rmp-media-card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

/* Contenu de carte */
.rmp-media-card-content {
    flex: 1;
    width: 100%;
}

/* Section bénéfice */
.rmp-media-benefit {
    display: flex;
    align-items: center;
    gap: 10px;
	color:#000;
    
   
    margin-bottom: 20px;
    
}



.rmp-benefit-icon {
    font-size: 18px;
}

.rmp-benefit-text {
    
    font-size: 14px;
    font-weight: 500;
	color:#000
}

.rmp-media-benefit.premium .rmp-benefit-text {
    font-size: 14px;
    font-weight: 500;
	color:#000;
}

/* Message d'information */
.rmp-media-info {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 25px;
    background: linear-gradient(135deg, rgba(43, 180, 184, 0.04), rgba(74, 212, 216, 0.04));
    border-radius: 16px;
    margin: 30px 0 40px;
    border: 1px solid rgba(43, 180, 184, 0.1);
}

.rmp-info-icon {
    font-size: 28px;
    color: var(--primary);
    flex-shrink: 0;
}

.rmp-info-content p {
    color: #5a7d80;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 8px;
}

.rmp-info-small {
    font-size: 13px !important;
    color: #8a9a9c !important;
    font-weight: 400;
}

/* Indicateur d'étape dans la navigation */
.rmp-step-indicator {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--primary);
    font-weight: 600;
    font-size: 15px;
}

/* Boutons avec icônes */
.rmp-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

/* Style des SVG */
.rmp-media-icon svg,
.rmp-file-upload-icon svg,
.rmp-file-select-btn svg {
    stroke: var(--primary);
}

/* ============================================
   NOUVEAUX STYLES POUR MULTIPLE PHOTOS/VIDEO
   ============================================ */

/* Grille des photos */
.rmp-photos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 15px;
    margin: 20px 0;
    min-height: 120px;
}

/* Photo ajoutée */
.rmp-photo-item {
    position: relative;
    width: 100%;
    aspect-ratio: 1/1;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid rgba(43, 180, 184, 0.2);
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rmp-photo-preview {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Bouton pour ajouter une photo */
.rmp-add-photo-btn {
    width: 100%;
    aspect-ratio: 1/1;
    border: 2px dashed rgba(43, 180, 184, 0.3);
    border-radius: 12px;
    background: rgba(248, 253, 253, 0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    padding: 10px;
}

.rmp-add-photo-btn:hover {
    border-color: var(--primary);
    background: rgba(43, 180, 184, 0.05);
    transform: scale(1.02);
}

.rmp-add-icon {
    font-size: 32px;
    color: var(--primary);
    margin-bottom: 8px;
    font-weight: 300;
}

.rmp-add-text {
    color: #1a7d80;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.3;
}

/* Compteur de photos */
.rmp-photos-counter {
    text-align: center;
    color: #7a8c8e;
    font-size: 14px;
    margin-top: 15px;
    padding: 10px;
    background: rgba(43, 180, 184, 0.05);
    border-radius: 8px;
}

.rmp-photos-counter span {
    color: var(--primary);
    font-weight: 700;
    font-size: 16px;
}

/* Bouton supprimer sur les photos */
.rmp-remove-photo {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 24px;
    height: 24px;
    background: rgba(255, 107, 107, 0.9);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.2s ease;
}

.rmp-remove-photo:hover {
    background: #ff6b6b;
    transform: scale(1.1);
}

/* Section vidéo */
.rmp-video-container {
    margin: 20px 0;
    min-height: 150px;
}

.rmp-add-video-btn {
    width: 100%;
    padding: 40px 20px;
    border: 2px dashed rgba(43, 180, 184, 0.3);
    border-radius: 12px;
    background: rgba(248, 253, 253, 0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.rmp-add-video-btn:hover {
    border-color: var(--primary);
    background: rgba(43, 180, 184, 0.05);
}

/* Vidéo ajoutée */
.rmp-video-item {
    position: relative;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid rgba(43, 180, 184, 0.2);
    background: #f8f9fa;
}

.rmp-video-preview {
    width: 100%;
    max-height: 200px;
    object-fit: contain;
}
.rmp-video-preview .rmp-remove-icon {
	color:#000 !important;
	width: 40px;
    height: 40px;
	font-size: 25px;
    font-weight: 500;
    cursor: pointer;
	z-index: 10;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
    transition: all 0.2s ease;
    line-height: 1;
}

.rmp-video-preview .rmp-remove-icon:hover{
	transform: scale(1.2);
    color: #ff6b6b;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9);
}


.rmp-video-info {
    padding: 15px;
    background: white;
}

/* Masquer la section vidéo si des photos sont ajoutées */
.rmp-media-card.video-section.hidden {
    display: none !important;
}

/* Style pour quand la limite est atteinte */
.rmp-add-photo-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.rmp-add-photo-btn.disabled:hover {
    transform: none;
    border-color: rgba(43, 180, 184, 0.3);
}

/* Animation pour l'apparition des photos */
@keyframes photoAppear {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.rmp-photo-item {
    animation: photoAppear 0.3s ease-out;
}

/* ============================================
   BOUTONS UPLOAD 
   ============================================ */

.rmp-upload-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 30px 20px;
    border: 2px dashed rgba(43, 180, 184, 0.3);
    border-radius: 16px;
    background: rgba(248, 253, 253, 0.5);
    color: #1a7d80;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    margin: 15px 0;
    text-align: center;
    gap: 15px;
}

.rmp-upload-btn:hover {
    border-color: var(--primary);
    background: rgba(43, 180, 184, 0.05);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(43, 180, 184, 0.15);
}

.rmp-upload-btn:active {
    transform: translateY(-1px);
}

/* Bouton photo */
.rmp-upload-btn.photo-btn {
    border-color: rgba(43, 180, 184, 0.4);
}

.rmp-upload-btn.photo-btn:hover {
    border-color: var(--primary);
    background: linear-gradient(135deg, rgba(43, 180, 184, 0.05), rgba(74, 212, 216, 0.05));
}

/* Bouton vidéo */
.rmp-upload-btn.video-btn {
    border-color: rgba(255, 193, 7, 0.4);
}

.rmp-upload-btn.video-btn:hover {
    border-color: #ffc107;
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.05), rgba(255, 220, 115, 0.05));
}

/* Icône du bouton */
.rmp-btn-icon {
    font-size: 48px;
    display: block;
    margin-bottom: 10px;
    transition: transform 0.3s ease;
}

.rmp-upload-btn:hover .rmp-btn-icon {
    transform: scale(1.1);
}

/* Texte du bouton */
.rmp-btn-text {
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: #1a7d80;
}



/* ============================================
   APERÇU DES FICHIERS
   ============================================ */

.rmp-photo-preview-container,
.rmp-video-preview-container {
    margin-top: 20px;
    border: 2px solid rgba(43, 180, 184, 0.2);
    border-radius: 16px;
    overflow: hidden;
    background: white;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* En-tête de l'aperçu */
.rmp-preview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: linear-gradient(135deg, rgba(43, 180, 184, 0.05), rgba(74, 212, 216, 0.05));
    border-bottom: 1px solid rgba(43, 180, 184, 0.1);
}

.rmp-preview-header span {
    color: #1a7d80;
    font-weight: 600;
    font-size: 16px;
}

/* Bouton supprimer */
.rmp-remove-preview {
    width: 30px;
    height: 30px;
    background: rgba(255, 107, 107, 0.1);
    border: 1px solid rgba(255, 107, 107, 0.3);
    border-radius: 50%;
    color: #ff6b6b;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.rmp-remove-preview:hover {
    background: #ff6b6b;
    color: white;
    transform: scale(1.1);
}

/* Contenu de l'aperçu */
.rmp-preview-content {
    padding: 20px;
}

/* Image de prévisualisation */
.rmp-preview-image {
    width: 100%;
    max-height: 200px;
    object-fit: contain;
    border-radius: 10px;
    display: block;
    margin: 0 auto;
}

/* Informations vidéo */
.rmp-video-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
}

.rmp-file-name {
    color: #1a7d80;
    font-weight: 600;
    font-size: 16px;
}

.rmp-file-size {
    color: #7a8c8e;
    font-size: 14px;
    background: rgba(43, 180, 184, 0.05);
    padding: 5px 15px;
    border-radius: 20px;
}

/* ============================================
   LOGIQUE POUR CACHER/MONTRE LES SECTIONS
   ============================================ */

/* Quand une photo est ajoutée, masquer la carte vidéo */
.rmp-media-card[data-type="video"].hidden {
    display: none !important;
}

/* Quand une vidéo est ajoutée, masquer la carte photo */
.rmp-media-card[data-type="photo"].hidden {
    display: none !important;
}
/* ============================================
   DESIGN COMPACT POUR L'ÉTAPE 2
   ============================================ */

/* Carte compacte */
.rmp-media-card.compact-card {
    padding: 15px;
    min-height: auto;
}

/* Ligne de photos */
.rmp-photos-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 15px 0;
    min-height: 70px;
}

/* Case pour une photo */
.rmp-photo-slot {
    width: 70px;
    height: 70px;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    border: 2px solid rgba(43, 180, 184, 0.2);
    background: #f8f9fa;
    flex-shrink: 0;
}

/* Image dans la case */
.rmp-photo-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Case pour ajouter une photo */
.rmp-add-photo-slot {
    width: 70px;
    height: 70px;
    border: 2px dashed rgba(43, 180, 184, 0.4);
    border-radius: 10px;
    background: rgba(248, 253, 253, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.rmp-add-photo-slot:hover {
    border-color: var(--primary);
    background: rgba(43, 180, 184, 0.05);
    transform: scale(1.05);
}

.rmp-add-photo-slot.disabled {
    display: none;
}

/* Contenu de la case d'ajout */
.rmp-add-slot-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.rmp-add-icon {
    font-size: 20px;
    color: var(--primary);
    font-weight: 300;
}

.rmp-add-label {
    font-size: 12px;
    color: #1a7d80;
    font-weight: 500;
}

/* Bouton supprimer sur la photo */
.rmp-remove-photo {
    position: absolute;
    top: 3px;
    right: 3px;
    width: 20px;
    height: 20px;
    background: rgba(255, 107, 107, 0.9);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.2s ease;
}

.rmp-remove-photo:hover {
    background: #ff6b6b;
    transform: scale(1.1);
}

/* Information sur les photos */
.rmp-photos-info {
    text-align: center;
    color: #7a8c8e;
    font-size: 13px;
    margin-top: 10px;
    padding: 5px 10px;
    background: rgba(43, 180, 184, 0.05);
    border-radius: 8px;
    display: inline-block;
}

.rmp-photos-info span {
    color: var(--primary);
    font-weight: 700;
}

/* Bouton vidéo compact */
.rmp-video-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    border: 2px dashed rgba(255, 193, 7, 0.4);
    border-radius: 10px;
    background: rgba(255, 220, 115, 0.05);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 100%;
    justify-content: center;
    margin: 10px 0;
}

.rmp-video-btn:hover {
    border-color: #000;
    background: rgba(255, 193, 7, 0.08);
    transform: translateY(-2px);
}

.rmp-video-icon {
    font-size: 18px;
}

/* Aperçu vidéo compact */
.rmp-video-preview {
    margin: 10px 0;
    border: 2px solid rgba(43, 100, 104, 0.4) !important;
    border-radius: 10px;
    overflow: hidden;
    background: rgba(248, 253, 253, 0.5) !important;
}

.rmp-video-preview-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
}

.rmp-video-name {
    
    font-weight: 600;
    font-size: 14px;
}

.rmp-remove-video {
    width: 24px;
    height: 24px;
    background: rgba(255, 107, 107, 0.1);
    border: 1px solid rgba(255, 107, 107, 0.3);
    border-radius: 50%;
    color: #ff6b6b;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.rmp-remove-video:hover {
    background: #ff6b6b;
    color: white;
}

/* Masquer la carte vidéo si des photos sont ajoutées */
.rmp-media-card[data-type="video"].hidden {
    display: none !important;
}

/* ============================================
   BOUTONS SIMPLES POUR UPLOAD
   ============================================ */

.rmp-simple-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    border: 2px solid rgba(43, 180, 184, 0.3);
    border-radius: 10px;
    background: #000;
    color: white;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 70%;
    justify-content: center;
    margin: 10px 0;
}

.rmp-simple-btn:hover {
    border-color: var(--primary);
    background: rgba(43, 180, 184, 0.05);
    transform: translateY(-2px);
}

.rmp-simple-btn:active {
    transform: translateY(0);
}

/* Bouton photo */
.rmp-photo-btn {
    border-color: rgba(43, 180, 184, 0.4);
}

.rmp-photo-btn:hover {
    border-color: #000;
    background: rgba(43, 180, 184, 0.08);
}

/* Bouton vidéo */
.rmp-video-btn {
    border-color: rgba(43, 180, 184, 0.4);
    
}

.rmp-video-btn:hover {
    border-color: #000;
    background: rgba(43, 180, 184, 0.08);
}

.rmp-btn-icon {
    font-size: 20px;
	
}

/* Conteneur photos */
.rmp-photos-container {
    margin-top: 15px;
}

.rmp-photos-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}




/* Case pour ajouter une autre photo */
.rmp-add-case {
    width: 80px;
    height: 80px;
    border: 2px dashed rgba(43, 180, 184, 0.4);
    border-radius: 10px;
    background: rgba(248, 253, 253, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
    font-size: 24px;
    color: var(--primary);
}

.rmp-add-case:hover {
    border-color: var(--primary);
    background: rgba(43, 180, 184, 0.05);
    transform: scale(1.05);
}

/* Bouton supprimer */
.rmp-remove-btn {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 22px;
    height: 22px;
    background:none !important;
    color: white;
    border: none;
    
    font-size: 14px;
    cursor: pointer;
   
    z-index: 10;
}



/* Aperçu vidéo */
.rmp-video-preview {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    border: 2px solid rgba(43, 180, 184, 0.4);
    border-radius: 10px;
    background: rgba(248, 253, 253, 0.5);
    margin-top: 10px;
    color: var(--primary);
    font-weight: 600;
}





/* Cacher les éléments */
.rmp-media-card.hidden {
    display: none !important;
}

/* ============================================
   ICÔNE DE SUPPRESSION POUR LES PHOTOS
   ============================================ */

.rmp-remove-icon {
    position: absolute;
    top: 1px !important;
    right: 1px !important;
    width: 40px;
    height: 40px;
    color: white;
    font-size: 25px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
    transition: all 0.2s ease;
    line-height: 1;
}

.rmp-remove-icon:hover {
    transform: scale(1.2);
    color: #ff6b6b;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9);
}

/* Style pour les photos ajoutées */
.rmp-photo-case {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    overflow: hidden !important;
    position: relative !important;
    border: 2px solid rgba(43, 180, 184, 0.2);
    background: #f8f9fa;
    flex-shrink: 0;
}

.rmp-photo-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
	display: block !important;
}

/* Case pour ajouter une autre photo */
.rmp-add-case {
    width: 80px;
    height: 80px;
    border: 2px dashed rgba(43, 180, 184, 0.4);
    border-radius: 10px;
    background: rgba(248, 253, 253, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
    font-size: 24px;
    color: var(--primary);
}

.rmp-add-case:hover {
    border-color: var(--primary);
    background: rgba(43, 180, 184, 0.05);
    transform: scale(1.05);
}

/* Conteneur des photos */
.rmp-photos-container {
    margin-top: 15px;
}

.rmp-photos-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* Aperçu vidéo */
.rmp-video-preview {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    border: 2px solid rgba(255, 193, 7, 0.2);
    border-radius: 10px;
    background: rgba(255, 220, 115, 0.05);
    margin-top: 10px;
    
    font-weight: 600;
}

/* Pour le bouton de suppression vidéo (si vous voulez aussi une icône) */
.rmp-video-preview .rmp-remove-icon {
    position: static;
    width: auto;
    height: auto;
    
    font-size: 20px;
    background: none;
    text-shadow: none;
}

.rmp-video-preview .rmp-remove-icon:hover {
    color: #ff6b6b;
}

/* ============================================
   ÉTAPE 3 - DESIGN PREMIUM (Ciblage .step-3)
   ============================================ */

/* 1. HEADER DE L'ÉTAPE 3 
.step-3 h3 {
    text-align: center !important;
    margin-bottom: 40px !important;
    color: #1a7d80 !important;
    font-size: 26px !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px !important;
    position: relative !important;
    padding-bottom: 20px !important;
}


/* 2. CHAMPS DE FORMULAIRE AMÉLIORÉS */
.step-3 .rmp-field,
.step-4 .rmp-field
{
    margin-bottom: 25px !important;
    position: relative !important;
}

.step-3 .rmp-field label,
.step-4 .rmp-field label
{
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    margin-bottom: 12px !important;
    font-weight: 600 !important;
    color: #1a7d80 !important;
    font-size: 15px !important;
    letter-spacing: 0.3px !important;
}



/* 3. INPUTS PREMIUM */
.step-3 input,
.step-3 textarea ,
.step-4 input,
.step-4 textarea
{
    width: 100% !important;
    padding: 16px 20px !important;
    border: 2px solid rgba(43, 180, 184, 0.2) !important;
    border-radius: 12px !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    color: #333 !important;
    background: white !important;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1) !important;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.03) !important;
    box-sizing: border-box !important;
}

.step-3 input:focus,
.step-3 textarea:focus
.step-4 input:focus,
.step-4 textarea:focus{
    border-color: var(--primary) !important;
    box-shadow: 
        0 0 0 3px rgba(43, 180, 184, 0.1),
        inset 0 2px 4px rgba(0, 0, 0, 0.03) !important;
    outline: none !important;
    background: rgba(248, 253, 253, 0.5) !important;
    transform: translateY(-2px) !important;
}

/* 4. TEXTAREA PREMIUM */
.step-3 textarea 
.step-4 textarea{
    min-height: 140px !important;
    resize: vertical !important;
    line-height: 1.6 !important;
    font-family: inherit !important;
}

/* 5. CONTAINER DE NAVIGATION POUR L'ÉTAPE 3 */
.step-3 > div:last-child 
.step-4 > div:last-child
{
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-top: 40px !important;
    padding-top: 30px !important;
    border-top: 1px solid rgba(43, 180, 184, 0.1) !important;
}

/* 6. BOUTONS ÉTAPE 3 - DESIGN COHÉRENT */



/* 8. EFFET DE BRILLANCE SUR LES BOUTONS */


/* 9. CARTE DE CONTENEUR ÉLÉGANTE  */
.step-3,
.step-4 
{
    
    
    padding: 35px !important;
    margin: 0 !important;
    
   
    position: relative !important;
    overflow: hidden !important;
    animation: slideIn 0.4s ease-out !important;
}

/* Effet de brillance subtile */
.step-3::before ,
.step-4::before
{
    content: '' !important;
    position: absolute !important;
    top: -50% !important;
    left: -50% !important;
    width: 200% !important;
    height: 200% !important;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.8) 0%, transparent 70%) !important;
    opacity: 0 !important;
    transition: opacity 0.6s ease !important;
    pointer-events: none !important;
}

.step-3:hover::before ,
.step-4:hover::before
{
    opacity: 0.5 !important;
}



/* 11. PLACEHOLDER ÉLÉGANT */
.step-3 input::placeholder,
.step-3 textarea::placeholder,
.step-4 input::placeholder,
.step-4 textarea::placeholder
{
    color: #a0b6b8 !important;
    font-weight: 400 !important;
    opacity: 0.7 !important;
}







/* 12. RESPONSIVE */
@media (max-width: 768px) {
    .step-3,
	.step-4 
	{
        padding: 25px 20px !important;
    }
	.rmp-simple-btn {
		width:100%;
	}
    .step-3 h3,
	.step-4 h3
	{
        font-size: 22px !important;
        margin-bottom: 30px !important;
    }
    
    .step-3 > div:last-child,
	.step-4 > div:last-child
	{
        flex-direction: column !important;
        gap: 15px !important;
    }
    
    .step-3 .rmp-prev,
    .step-3 .rmp-submit {
        width: 100% !important;
        min-width: auto !important;
    }
}

/* 13. ANIMATION D'ENTRÉE */
@keyframes step3SlideIn {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.step-3.active,
.step-4 .active
{
    animation: step3SlideIn 0.6s cubic-bezier(0.23, 1, 0.32, 1) !important;
}

/* 14. INDICATEUR DE CHAMPS REQUIS */
.step-3 .rmp-field:has(textarea:required) label::after ,
.step-4 .rmp-field:has(input:required) label::after {
    content: ' *' !important;
    color: #ff6b6b !important;
    font-weight: bold !important;
    margin-left: 2px !important;
}

/* 15. COMPTEUR DE CARACTÈRES POUR TEXTAREA PREMIUM */
.rmp-char-count {
    text-align: right !important;
    font-size: 13px !important;
    color: #7a8c8e !important;
    margin-top: 5px !important;
    font-weight: 400 !important;
}

/* 16. S'assurer que les styles précédents sont écrasés */
.step-3 h3[style],
.step-4 h3[style]
{
    text-align: center !important;
    margin-bottom: 40px !important;
    
    font-size: 26px !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px !important;
    position: relative !important;
    padding-bottom: 20px !important;
}



.step-3 h3[style*="margin-bottom: 30px"],
.step-4 h3[style*="margin-bottom: 30px"]{
    margin-bottom: 40px !important;
}

/* 18. Pour garantir l'application sur mobile */
@media (max-width: 768px) {
    .step-3 h3[style],
	.step-4 h3[style]
	{
        font-size: 22px !important;
        margin-bottom: 30px !important;
    }
}




/* ============================================
   MESSAGES DE VALIDATION ÉLÉGANTS
   ============================================ */

.rmp-field-error {
    display: none;
    color: #ff6b6b;
    font-size: 13px;
    margin-top: 5px;
    padding: 8px 12px;
    background: #fff5f5;
    border-radius: 6px;
    border-left: 3px solid #ff6b6b;
    animation: fadeIn 0.3s ease;
}

.rmp-field-invalid {
    border-color: #ff6b6b !important;
    background: #fff5f5 !important;
}

.rmp-field-invalid:focus {
    box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.1) !important;
}



.rmp-star[src] {
    width: 60px !important;
    height: 60px !important;
    object-fit: contain !important;
    display: inline-block !important;
    
    /* Désactiver les styles texte */
    font-size: 0 !important;
    color: transparent !important;
    -webkit-text-stroke: 0 !important;
    text-stroke: 0 !important;
}

/* 2. Les animations CSS existantes VONT FONCTIONNER car elles utilisent transform/scale */
/* Exemple : vos animations comme .animation-5.animating vont marcher */

/* 3. Optionnel: améliorer les transitions */
.rmp-star[src] {
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1) !important;
}
/* Option: ajouter un effet de pulse pour les images actives */
.rmp-star.active {
    animation: pulseStar 2s infinite;
}

@keyframes pulseStar {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.rmp-step.step-1 {
    justify-content: center !important;
    align-items: center !important;
    padding-top: 60px !important; /* Espace pour la barre de progression */
}


/* JUSTE ceci pourrait suffire */
.rmp-step.step-1.active {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    height: 100% !important;
}

.rmp-step.step-1.active .rmp-stars-container {
    margin-top: -50px !important; /* Ajustement fin */
}
/* Empêcher les transitions initiales */
.rmp-step.active .rmp-navigation {
    transition: none !important;
}



.rmp-modal-content.loaded .rmp-navigation {
    display: flex !important;
    animation: slideUpNav 0.4s ease !important;
}

@keyframes slideUpNav {
    from {
        transform: translateY(100px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}



/* ============================================
   STYLES POUR LES ICÔNES SVG
   ============================================ */

.rmp-btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    position: relative;
}

.rmp-btn-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: all 0.3s ease;
	margin-top:5px;
}

/* Version normale visible par défaut */
.rmp-icon-normal {
    display: block !important;
}

/* Version hover cachée par défaut */
.rmp-icon-hover {
    display: none !important;
}

/* Au survol : inverser les displays */
.rmp-simple-btn:hover .rmp-icon-normal {
    display: none !important;
}

.rmp-simple-btn:hover .rmp-icon-hover {
    display: block !important;
}

/* Animation au survol */
.rmp-simple-btn:hover .rmp-btn-icon {
    transform: scale(1.1);
}

/* Responsive pour mobile */
@media (max-width: 768px) {
    .rmp-btn-icon {
        width: 20px;
        height: 20px;
		
    }
    
    .rmp-btn-icon img {
        width: 20px;
        height: 20px;
    }
}



/* ============================================
   MESSAGES D'ERREUR DE SOUMISSION
   ============================================ */

.rmp-submission-error {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #ff6b6b, #ff8e8e);
    color: white;
    padding: 15px 25px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(255, 107, 107, 0.3);
    z-index: 100001;
    display: flex;
    align-items: center;
    gap: 12px;
    animation: slideDownError 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    max-width: 400px;
    width: 90%;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

@keyframes slideDownError {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

.rmp-error-icon {
    font-size: 20px;
    font-weight: bold;
}

.rmp-error-content {
    flex: 1;
}

.rmp-error-title {
    font-weight: 700;
    font-size: 15px;
    margin-bottom: 3px;
}

.rmp-error-message {
    font-size: 14px;
    opacity: 0.9;
}

.rmp-error-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: all 0.2s ease;
}

.rmp-error-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

/* Pour mobile */
@media (max-width: 768px) {
    .rmp-submission-error {
        top: 10px;
        padding: 12px 18px;
        width: 95%;
    }
}





/* ============================================
   MESSAGES D'ERREUR MÉDIA
   ============================================ */

.rmp-media-error {
    background: linear-gradient(135deg, #ff6b6b, #ff8e8e);
    color: white;
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    animation: slideDownError 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.2);
}

.rmp-media-error-icon {
    font-size: 18px;
    font-weight: bold;
    flex-shrink: 0;
}

.rmp-media-error-content {
    flex: 1;
}

.rmp-media-error-message {
    font-size: 14px;
    line-height: 1.4;
}

.rmp-media-error-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.rmp-media-error-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

/* Submit loading + notices */
#rmp-review-form.rmp-form-is-loading {
    position: relative;
    pointer-events: none;
}

.rmp-submit-loading {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.82);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    z-index: 30;
}

.rmp-submit-loading-spinner {
    width: 30px;
    height: 30px;
    border: 3px solid rgba(43, 180, 184, 0.2);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: rmpSpinSubmit .9s linear infinite;
}

.rmp-submit-loading-text {
    font-size: 14px;
    font-weight: 600;
    color: #1f2f31;
}

@keyframes rmpSpinSubmit {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.rmp-submission-notice {
    position: fixed;
    top: 18px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: flex-start;
    gap: 10px;
    border-radius: 10px;
    padding: 12px 14px;
    margin: 0;
    animation: slideDownError 0.35s ease;
    width: min(640px, calc(100vw - 28px));
    z-index: 2147483000;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.18);
}

.rmp-submission-notice-error {
    background: #fff5f5;
    border: 1px solid #f4b0b0;
    color: #8f2626;
}

.rmp-submission-notice-info {
    background: #f1fcfc;
    border: 1px solid #a5e4e6;
    color: #125f62;
}

.rmp-submission-notice-icon {
    font-size: 16px;
    line-height: 1;
    margin-top: 2px;
}

.rmp-submission-notice-content {
    flex: 1;
}

.rmp-submission-notice-title {
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 2px;
}

.rmp-submission-notice-message {
    font-size: 13px;
    line-height: 1.4;
}

.rmp-submission-notice-close {
    width: 24px;
    height: 24px;
    border: 0;
    background: transparent;
    color: currentColor;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    opacity: .75;
}

.rmp-submission-notice-close:hover {
    opacity: 1;
}

@media (max-width: 768px) {
    .rmp-submission-notice {
        top: 10px;
        width: calc(100vw - 16px);
        padding: 11px 12px;
    }
}

@keyframes slideDownError {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}






/* ============================================
   COMPTEUR DE CARACTÈRES POUR L'AVIS
   ============================================ */

.rmp-char-counter {
    text-align: right;
    margin-top: 8px;
    font-size: 13px;
    color: #7a8c8e;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 4px;
    font-weight: 500;
}

/* ============================================
   REVIEW MANAGER ELEGANT CARDS
   ============================================ */

.rmp-elegant-cards-wrap {
    width: 100%;
    margin: 0 auto;
}

.rmp-elegant-title {
    margin: 0 0 14px;
    font-size: 28px;
    line-height: 1.2;
    font-weight: 700;
    color: #141414;
}

.rmp-elegant-carousel {
    position: relative;
    --rmp-ec-cols-desktop: 5;
    --rmp-ec-cols-mobile: 2;
    --rmp-ec-gap-desktop: 10px;
    --rmp-ec-gap-mobile: 8px;
    --rmp-ec-height-desktop: 350px;
    --rmp-ec-height-mobile: 240px;
    --rmp-ec-radius: 10px;
    --rmp-ec-name-size-desktop: 22px;
    --rmp-ec-name-size-mobile: 14px;
    --rmp-ec-stars-size-desktop: 22px;
    --rmp-ec-stars-size-mobile: 18px;
    --rmp-ec-verified-size-desktop: 17px;
    --rmp-ec-verified-size-mobile: 15px;
}

.rmp-elegant-viewport {
    overflow: hidden;
    width: 100%;
    padding-top: 10px;
}

.rmp-elegant-track {
    display: flex;
    align-items: stretch;
    gap: var(--rmp-ec-gap-desktop);
    will-change: transform;
    padding-top: 2px;
}

.rmp-elegant-card {
    position: relative;
    flex: 0 0 calc((100% - (var(--rmp-ec-gap-desktop) * (var(--rmp-ec-cols-desktop) - 1))) / var(--rmp-ec-cols-desktop));
    height: var(--rmp-ec-height-desktop);
    border-radius: var(--rmp-ec-radius);
    overflow: hidden;
    background: #f4f4f4;
    cursor: pointer;
    transition: transform .24s ease, box-shadow .24s ease;
}

.rmp-elegant-card:hover {
    transform: translateY(calc(-1 * var(--rmp-ec-hover-lift, 6px)));
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
}

.rmp-elegant-media,
.rmp-elegant-media img,
.rmp-elegant-media video {
    width: 100%;
    height: 100%;
}

.rmp-elegant-media img,
.rmp-elegant-media video {
    object-fit: cover;
    display: block;
}

.rmp-elegant-media-tint {
    position: absolute;
    inset: 0;
    background: var(--rmp-ec-media-overlay, rgba(0, 0, 0, 0.12));
    pointer-events: none;
}

.rmp-elegant-no-media {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 62px;
    font-weight: 700;
    color: #ffffff;
    background: linear-gradient(145deg, var(--primary), #1f2f31);
}

.rmp-elegant-video-flag {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.45);
    color: #fff;
    font-size: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.rmp-elegant-video-flag::before {
    content: '';
    width: 0;
    height: 0;
    border-top: 7px solid transparent;
    border-bottom: 7px solid transparent;
    border-left: 12px solid #ffffff;
    margin-left: 2px;
}

.rmp-elegant-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 3;
    padding: 12px 12px 10px;
    color: #fff;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.18) 60%, rgba(0, 0, 0, 0));
}

.rmp-elegant-author-line {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-bottom: 4px;
}

.rmp-elegant-author {
    font-size: var(--rmp-ec-name-size-desktop);
    line-height: 1.1;
    font-weight: 600;
    letter-spacing: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rmp-elegant-verified {
    width: var(--rmp-ec-verified-size-desktop);
    height: var(--rmp-ec-verified-size-desktop);
    object-fit: contain;
    display: block;
    filter: brightness(0) invert(1);
}

.rmp-elegant-verified-fallback {
    width: 17px;
    height: 17px;
    border-radius: 50%;
    background: #fff;
    color: #111;
    font-size: 11px;
    line-height: 17px;
    text-align: center;
}

.rmp-elegant-stars {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
}

.rmp-elegant-stars img {
    width: var(--rmp-ec-stars-size-desktop);
    height: var(--rmp-ec-stars-size-desktop);
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.rmp-elegant-product {
    margin-top: 4px;
    font-size: 12px;
    line-height: 1.3;
    opacity: 0.95;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rmp-elegant-excerpt {
    margin: 5px 0 0;
    font-size: 12px;
    line-height: 1.3;
    opacity: 0.95;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rmp-elegant-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid #e5e5e5;
    background: rgba(255, 255, 255, 0.95);
    color: #8a8a8a;
    font-size: 40px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 6;
    transition: all .2s ease;
}

.rmp-elegant-prev {
    left: -22px;
}

.rmp-elegant-next {
    right: -22px;
}

.rmp-elegant-arrow:hover {
    color: var(--primary);
    border-color: #d6ebec;
    background: #ffffff;
}

.rmp-elegant-empty {
    padding: 18px;
    border: 1px dashed #d8d8d8;
    border-radius: 10px;
    color: #5f5f5f;
    background: #fafafa;
}

@media (max-width: 768px) {
    .rmp-elegant-title {
        font-size: 22px;
    }

    .rmp-elegant-track {
        gap: var(--rmp-ec-gap-mobile);
        padding-top: 2px;
    }

    .rmp-elegant-card {
        flex: 0 0 calc((100% - (var(--rmp-ec-gap-mobile) * (var(--rmp-ec-cols-mobile) - 1))) / var(--rmp-ec-cols-mobile));
        height: var(--rmp-ec-height-mobile);
    }

    .rmp-elegant-author {
        font-size: var(--rmp-ec-name-size-mobile);
    }

    .rmp-elegant-stars img {
        width: var(--rmp-ec-stars-size-mobile);
        height: var(--rmp-ec-stars-size-mobile);
    }

    .rmp-elegant-verified {
        width: var(--rmp-ec-verified-size-mobile);
        height: var(--rmp-ec-verified-size-mobile);
    }

    .rmp-elegant-video-flag {
        width: 34px;
        height: 34px;
    }

    .rmp-elegant-video-flag::before {
        border-top-width: 6px;
        border-bottom-width: 6px;
        border-left-width: 10px;
    }

    .rmp-elegant-arrow {
        display: none !important;
        width: 36px;
        height: 36px;
        font-size: 28px;
    }

    .rmp-elegant-prev {
        left: -12px;
    }

    .rmp-elegant-next {
        right: -12px;
    }
}

.rmp-char-count {
    font-weight: 700;
    transition: color 0.3s ease;
}

.rmp-char-count.warning {
    color: #ff9800;
    animation: pulseWarning 1.5s infinite;
}

.rmp-char-count.error {
    color: #ff6b6b;
    animation: pulseError 1s infinite;
}

.rmp-char-limit {
    color: #a0b6b8;
}

/* Animation pour l'avertissement */
@keyframes pulseWarning {
    0%, 100% { 
        opacity: 1; 
        transform: scale(1); 
    }
    50% { 
        opacity: 0.8; 
        transform: scale(1.05); 
    }
}

/* Animation pour l'erreur */
@keyframes pulseError {
    0%, 100% { 
        opacity: 1; 
        transform: scale(1); 
    }
    50% { 
        opacity: 0.7; 
        transform: scale(1.1); 
    }
}

/* Style pour le textarea avec indication de limite */
.rmp-field textarea.limit-warning {
    border-color: #ff9800 !important;
    background-color: rgba(255, 152, 0, 0.03) !important;
}

.rmp-field textarea.limit-error {
    border-color: #ff6b6b !important;
    background-color: rgba(255, 107, 107, 0.05) !important;
}

/* Optionnel : Barre de progression */
.rmp-char-progress {
    height: 4px;
    background: #e0f0f0;
    border-radius: 2px;
    margin-top: 5px;
    overflow: hidden;
}

.rmp-char-progress-fill {
    height: 100%;
    background: var(--primary);
    border-radius: 2px;
    transition: width 0.3s ease, background-color 0.3s ease;
}

.rmp-char-progress-fill.warning {
    background: #ff9800;
}

.rmp-char-progress-fill.error {
    background: #ff6b6b;
}


/* ============================================
   NOTICE DES CONDITIONS
   ============================================ */

.rmp-terms-notice {
    margin: 25px 0 30px;
    padding: 20px;
    
    
    
    animation: fadeIn 0.5s ease;
}

.rmp-terms-text {
    color: #000 !important;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
    text-align: center;
}

/* Liens dans la notice */
.rmp-terms-link,
.rmp-privacy-link {
    color: #000;
    font-weight: 800;
    text-decoration: none;
    position: relative;
    transition: all 0.3s ease;
    
    padding-bottom: 1px;
}

.rmp-terms-link:hover,
.rmp-privacy-link:hover {
    color: #000;
    border-bottom: 1px solid #000;
    text-decoration: none;
}



.rmp-terms-link:hover::after,
.rmp-privacy-link:hover::after {
    transform: translate(2px, -2px);
    opacity: 1;
}

/* Pour mobile */
@media (max-width: 768px) {
    .rmp-terms-notice {
        padding: 16px;
        margin: 20px 0 25px;
    }
    
    .rmp-terms-text {
        font-size: 13px;
        line-height: 1.5;
    }
}







.rmp-labels {
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: 400px;
    margin: 10px auto 0;
    font-size: 14px;
    color: #666;
    font-weight: 500;
}


.rmp-product-reviews-fullwidth.rmp-product-reviews-empty {
    display: flex;
    justify-content: flex-start !important;
    align-items: flex-start !important;
}

.rmp-product-reviews-fullwidth.rmp-product-reviews-empty .rmp-product-reviews-empty-wrap {
    width: stretch;
    display: flex;
    border-radius: 10px !important;
    text-align: center !important;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    width: 90% !important;
    max-width: 1170px !important;
}

.rmp-product-reviews-fullwidth.rmp-product-reviews-empty .rmp-product-reviews-head, .rmp-product-reviews-fullwidth.rmp-product-reviews-empty .rmp-product-reviews-head-empty
{
    align-items: flex-start !important;
}
@media (max-width: 768px) {
    .rmp-product-reviews-fullwidth.rmp-product-reviews-empty .rmp-product-reviews-empty-wrap
    {
        /* max-width: 100% !important; */
        padding: 14px !important;
        display: flex !important;
        flex-direction: column !important;
        margin-bottom: 30px !important;
    }
    .rmp-product-reviews-fullwidth.rmp-product-reviews-empty .rmp-product-reviews-head, .rmp-product-reviews-fullwidth.rmp-product-reviews-empty .rmp-product-reviews-head-empty
    {
        align-items: center !important;
    }
}

@media (min-width: 768px)
{
    .rmp-review-detail-content {
        position: relative;
        width: 75% !important;
        max-width: 800px;
        background: #fff;
        border-radius: 14px;
        overflow: hidden;
    }
}

.rmp-review-detail-media {
    display: flex !important;
    align-items: center !important;
}

.rmp-product-rating-slot {
    margin-top: 8px;
}

.ua-product-rating[data-context="card"] {
    display: inline-flex;
    margin-top: 0px;
    width: 100%;
}

.ua-product-rating.is-hydrated {
    visibility: visible;
}

.rmp-product-rating-trigger {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0;
    margin: 0;
    border: 0;
    background: transparent;
    color: #1f2f31;
    line-height: 1;
    font-weight: 600;
    cursor: default;
}

.ua-product-rating[data-click-action="modal"] .rmp-product-rating-trigger {
    cursor: pointer;
}

.rmp-product-rating-trigger-card {
    font-size: 13px;
}

.rmp-product-rating-trigger-single {
    font-size: 15px;
}

.rmp-product-rating-stars {
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

.rmp-product-rating-star {
    position: relative;
    display: inline-flex;
    width: 20px;
    height: 20px;
    overflow: hidden;
}

.rmp-product-rating-star img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.rmp-product-rating-star-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    overflow: hidden;
    display: block;
}

.rmp-product-rating-star-fill .rmp-product-rating-star-filled {
    width: 20px;
    height: 20px;
    max-width: none;
}

.rmp-product-rating-count {
    white-space: nowrap;
    color: #56696b;
}

.rmp-product-card-price-rating {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    width: 100%;
    margin-top: 8px;
    flex-direction: column;
    font-size: 18px !important;
}

.rmp-product-card-price-rating .price {
    margin: 0 !important;
}

.rmp-product-card-price-rating .ua-product-rating {
    width: auto;
}

.rmp-product-card-price-rating .rmp-product-rating-slot {
    margin-top: 0;
}

@media (max-width: 768px) {
    .rmp-product-rating-trigger-card {
        font-size: 12px;
    }
}

.ua-product-rating img {
    width: 20px !important;
    height: 20px !important;
}

.meta-wrapper .price {
    font-size: 18px !important;
}

.rmp-form-modal .rmp-modal-content{
    padding-top: 100px !important;
}
