 :root{
      --bg:#fff7f9;           /* fond très clair */
      --card:#fff;            /* cartes blanches */
      --muted:#4A001F;
      --accent1:#ff7a95;      /* corail/rose */
      --accent2:#6ee7b7;      /* vert menthe */
      --accent3:#ffd580;      /* or doux */
      --glass: rgba(0,0,0,0.03);
    }
    html,body{height:100%;background:var(--bg);color:#0b1220;font-family:Inter,system-ui,Arial;margin:0;}
    .navbar{background:linear-gradient(90deg, rgba(255,255,255,0.9), rgba(255,255,255,0.95)); box-shadow: 0 2px 8px rgba(11,18,32,0.05);}
    .brand{background: linear-gradient(90deg,var(--accent1),var(--accent2)); -webkit-background-clip:text; background-clip:text; color:transparent; font-weight:800;}
    .search-card{background:var(--card); padding:1rem; border-radius:12px; border:1px solid rgba(11,18,32,0.04); box-shadow:0 6px 30px rgba(11,18,32,0.03);}
    .card-prof{background:var(--card); border-radius:12px; border:1px solid rgba(11,18,32,0.04); box-shadow:0 8px 30px rgba(11,18,32,0.04); aspect-ratio:3/4; }
    /* .topCard{min-width:173px; } */
    .avatar{height:100%; object-fit:cover; border-radius: 12px; width:100%;}
    .nav-avatar-btn{width:56px;height:56px;border-radius:50%;overflow:hidden;border:2px solid rgba(11,18,32,0.06);}
    .nav-avatar-btn img{width:100%;height:100%;object-fit:cover;}
    .nav-avatar-large{width:80px;height:80px;border-radius:50%;object-fit:cover;border:2px solid rgba(11,18,32,0.06);}
    .small-muted{color:var(--muted);}
    .service-row{display:flex; justify-content:space-between; align-items:center; padding:.35rem 0; border-bottom:1px dashed rgba(11,18,32,0.04);}
    .sim-card img{width:100%; height:100px; object-fit:cover; border-radius:8px;}
    
    .page-link{background:transparent; border:1px solid rgba(11,18,32,0.04); color:var(--accent1);}
    .page-link.active{background:var(--accent1); color:#fff; border-color:var(--accent1);}
    /* .page-link{background:transparent; border:1px solid rgba(11,18,32,0.04); color:var(--muted);}
    .page-link.active{background:var(--muted); color:#fff; border-color:var(--muted);} */
    footer{padding:1rem; margin-top:2rem;}
    
    .navbar .dropdown-item{
      color: #4A001F;
      /* background: ; */
    }
    
  .likebtn {
    color: #ff006e;
    border: 1px solid #ff006e;
    background: transparent; /* Fond vide au départ */
    transition: all 0.3s ease;
}

.likebtn:hover, .likebtn.active {
    color: white;
    background: #ff006e;
    border: 1px solid #ff006e;
}

   .rose{
       color: #ff006e;
    }
    /* card clickable pointer */
    .card-clickable{cursor:pointer;}
    @media (max-width:767px){ .avatar{height:100%;} ;.nav-avatar-text{display:none;} ; .navitem > .nav-link{text-align:start ; border-radius:none;
    font-weight: bold;
       color: #ff0c85;
        background: none ;
       
       } 
   .nav-item > .nav-link:hover{
        color:  var(--muted);
        font-weight: bolder;
        background:none;
        border:none;
      } }
 
    @media (min-width:570px) and (max-width:767px) { #small-muted{font-size:17px;width:110px;padding: 0px;}}
 
    @media (min-width:768px) and (max-width:867px) { #small-muted{font-size:16px;width:80px;padding: 0px;}}
    @media (max-width:354px) { .small-muted{font-size:17px;width:7.2rem;padding: 0px;}  }
    @media (min-width:774px) { .navbar-nav{position:relative; right: 4em;}}
     
    #profileCarousel img {
          height: 100% !important;
           object-fit:cover;
      }
      
     @media (min-width:867px) {

      #photoGallery{
          height: 580px !important;
          /* aspect-ratio: 3/4 !important; */
        }

         #photoGallery .carousel-item {
          height: 580px !important;
          aspect-ratio: 3/4 !important;
        }

        #photoGallery .carousel-item  img {
          height: 580px !important;
          width: 100% !important;
          aspect-ratio: 3/4 !important;
           object-fit:contain;
        }
        

        .video-overlay {
          position: fixed;
          top: 0;
          left: 0;
          width: 100%;
          height: 100%;
          background: rgba(0, 0, 0, 0.8); /* Fond noir semi-transparent */
          display: flex;
          justify-content: center;
          align-items: center;
          margin: auto;
          z-index: 9999; /* Toujours au-dessus */
          opacity: 0;
          visibility: hidden;
          transition: opacity 0.5s ease;

      }

        .video-container img{
              display: flex;
              width: 95% !important;
              height: 90vh !important;
              margin-left: auto !important;
              margin-right: auto !important;
              align-items: center;
          }

          .nav-item{
            font-size: 1.1em !important;
          }

          #title{
            font-size:1.8em !important;
          }

          .hero {
            height: 700px;
          }

        .search-card {
            width: 800px !important;
              margin: 0 auto 2rem auto !important;
        }

        .topCard {
           width: 250px !important;
        }

        .overlay-info{
          min-height: 20vh;
        }

        #cardName{
          font-size:1.2em !important;
        }
         #cardPlace{
          font-size:1em;
        }

        #prudence p{
          font-size:1.2em !important;
        }

        footer p{
          font-size:1.15rem !important;
        }

       #profilModal .modal-dialog {
            max-width: 600px; /* Largeur fixe souhaitée */
            width: 95%;      /* Sécurité pour les petits écrans (mobile) */
            margin-right: auto;
            margin-left: auto;
            display: flex;
            align-items: center; /* Centre verticalement (si combiné avec modal-dialog-centered) */
        }
      
     }
     /* fin */


      #prudence{
        background:#fff6fb;
        border-left:6px solid #ff0c85;

      }

      #prudence p{
          font-size:0.95rem;
        }

     #cardName{
      font-size:1.02em;
     }

     #cardPlace{
      font-size:0.9em;
     }

     /* verif connexion */
#offline-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: white;
    z-index: 100000;
    text-align: center;
    padding-top: 20vh;
    
    /* Empêche toute interaction avec ce qui est dessous */
    user-select: none; 
    touch-action: none; /* Bloque le scroll tactile sur l'overlay */
    
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease-in-out, visibility 0.5s;
}

/* Classe de secours pour le body (à ajouter en JS) */
.no-scroll {
    overflow: hidden !important;
    height: 100vh !important;
    width: 100vw !important;
    position: fixed !important; /* Le secret pour bloquer iOS */
}

/* Classe qui sera ajoutée en JS pour afficher le rideau */
#offline-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Animation du bouton au survol */
#btnRetry:active {
    transform: scale(0.9) !important;       
    transition: transform 0.1s;
}

@keyframes shake {
    0% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    50% { transform: translateX(5px); }
    75% { transform: translateX(-5px); }
    100% { transform: translateX(0); }
}

/* fin verif */

#headName{
 color: #4A001F !important; 
}

/* bouton de traduction */

/* Effet au survol des boutons */
    .lang-btn:hover {
        background: #f8f8f8;
        border-color: #4A001F; /* Bordeaux */
        color: #4A001F !important;
        transform: translateY(-2px); /* Petit effet de soulèvement */
    }

    /* Cache la barre de suggestion Google en haut */
    .goog-te-banner-frame.skiptranslate, .skiptranslate, .goog-te-balloon-frame {
        display: none !important;
    }
    body {
        top: 0px !important;
    }

.lang-text{
   color: #4A001F !important; 
}

/* burger */

/* Style de base de l'icône */
.hamburger-icon svg {
  cursor: pointer;
  transition: transform 0.2s ease-in-out;
}

/* Couleur bordeaux pour toutes les lignes */
.hamburger-icon .line {
  fill: #4A001F; /* Ta couleur bordeaux */
  transition: y 0.1s ease-in-out 0.1s, transform 0.1s ease-in-out, opacity 0.1s ease-in-out;
  transform-origin: center;
}

/* --- ÉTAT OUVERT (quand .collapsed est ENLEVÉE par Bootstrap) --- */

/* La ligne du haut descend et tourne */
.navbar-toggler:not(.collapsed) .hamburger-icon .line.top {
  y: 35px; /* Aligne sur la ligne du milieu */
  transform: rotate(45deg);
}

/* La ligne du milieu disparaît */
.navbar-toggler:not(.collapsed) .hamburger-icon .line.middle {
  /* opacity: 0; */
  display: none;
}

/* La ligne du bas monte et tourne dans l'autre sens */
.navbar-toggler:not(.collapsed) .hamburger-icon .line.bottom {
  y: 35px; /* Aligne sur la ligne du milieu */
  transform: rotate(-45deg);
}
/* fin */
  
/* formulaire de recherche */

/* Cibler les inputs, les selects et le bouton au focus */
.search-card .form-control:focus, 
.search-card .form-select:focus {
    border-color: #ff7a95 !important; /* Change la couleur de la bordure */
    box-shadow: 0 0 0 0.25rem #ff7a954d !important; /* Ajoute le halo lumineux doux */
    outline: 0; /* Supprime le contour par défaut du navigateur */
}

/* Optionnel : changer aussi la couleur du curseur de texte */
.search-card .form-control {
    caret-color: #ff0c85;
}

.search-card {
    border: 1px solid #4A001F;
    background-color: #fba7b815;
    /* border-radius: 15px; Important pour le look pro */
    
    /* Box-shadow pro : x y flou étalement couleur */
    box-shadow: 0 10px 30px -5px rgba(74, 0, 31, 0.5); 
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}



/* Style pour le menu déroulant lui-même */
input#ageMin, input#ageMax ,select#filterCorpulence {
    color: #4A001F;
    border: 2px solid #ff7a95;
    background-color: transparent;
    border-radius: 8px;
    padding: 5px;
    outline: none;
}

/* Style commun aux sélecteurs */
#filterVille, #filterQuartier, #filterCorpulence {
    color: #4A001F;
    border: 1.5px solid #ff7a95; /* Bordure rose */
    border-radius: 12px;
    padding: 12px 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    
    /* Force la couleur des radios sur l'interface native du téléphone */
    accent-color: #4A001F;
    
    /* Personnalisation de la flèche (Bordeaux) */
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234A001F' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-size: 1.2em;
    background-position: right 1rem center;
}

/* État au focus (quand on clique dessus) */
/* #filterVille:focus, #filterQuartier:focus {
    border-color: #4A001F;
    box-shadow: 0 0 0 0.25 margin rgba(255, 122, 149, 0.25);
    outline: none;
} */

/* Style spécifique pour le champ désactivé (Quartier) */
#filterQuartier:disabled {
    background-color: #f8f9fa;
    border-color: #ddd;
    color: #aaa;
    cursor: not-allowed;
    opacity: 0.7;
    /* Flèche grise quand désactivé */
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23aaa' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
}

/* Style des options pour les navigateurs PC
#filterVille option, #filterQuartier option {
    background-color: white;
    color: #4A001F;
    padding: 10px;
} */

/* Animation quand le quartier devient actif */
#filterQuartier:not(:disabled) {
    animation: flash-border 0.8s ease;
}

@keyframes flash-border {
    0% { border-color: #ddd; transform: scale(1); }
    50% { border-color: #ff7a95; transform: scale(1.02); }
    100% { border-color: #ff7a95; transform: scale(1); }
}

/* 
#filterVille option, #filterQuartier option,#filterCorpulence option{
    color: #4A001F;
    border-bottom: 1px solid #ff7a95;
    background-color: #fba7b815;
    outline: none;
} */



/* Style des options quand elles sont sélectionnées ou survolées */
.custom-option {
    background-color: #fba7b815 !important;
    color: #4A001F !important;
    appearance: none; /* Supprime le style par défaut pour mieux contrôler */
    -webkit-appearance: none;
}

.form-select input[type="radio"] {
    /* Force la couleur système sur mobile */
    appearance: none; /* Supprime le style par défaut pour mieux contrôler */
    -webkit-appearance: none;
    accent-color: #4A001F !important;
}


/* L'astuce du box-shadow pour forcer le bordeaux sur l'option sélectionnée */
.custom-option:checked {
    background-color: #4A001F !important;
    color: white !important;
}

/* Pour Firefox et certains navigateurs récents */
.form-select .custom-option:hover, .form-select option:focus {
    background-color: #4A001F !important;
    color: white  !important;
}

/* Pour Firefox et certains navigateurs récents */
.custom-option:active {
    background-color: #4A001F !important;
    color: white  !important;
}

.custom-option:visited {
    background-color: #4A001F !important;
    /* color: white  !important; */
}

#btnFilter{
  background:#ff7a95;
  border:none; color:white ; 
  font-weight:600;
  touch-action: manipulation; /* Instantané sur mobile */
  transition: background 0.1s ease-in-out, transform 0.9s; /* Fluidité */
  -webkit-tap-highlight-color: transparent; /* Supprime le carré gris moche sur Android/iOS */
}


#btnFilter:hover{
  background:#ff7a95;
  border:none; color:white ; 
  font-weight:600;
}

#btnFilter:active{
  background:#ff6d8a;
  border:none;
   color:white ; 
  font-weight:600;
}

/* fin recherche form */




/* Cache tout le site derrière un flou */
.age-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9); /* Fond noir sombre */
    backdrop-filter: blur(10px); /* Floute le site en arrière-plan */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999; /* Toujours au-dessus de tout */
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.5s ease;
}

/* Affiche l'overlay si la classe 'active' est présente */
.age-overlay.active {
    visibility: visible;
    opacity: 1;
}

/* Style de la boîte modale */
.age-modal {
    background: #fff7f9;
    max-width: 400px;
    width: 90%;
    border-radius: 20px;
    border: 2px solid #ff006e;/* Bordure jaune avertissement */
}

.access{
  background: #ff006e;
  color:white;
  font-weight:bold;
  font-size:1em;
 }
    

   #profilNameText strong{
    color:var(--muted);

   }


    .carousel-itemp{
     aspect-ratio:1/1;
   }
  
   .nav-link{
    border-radius:20px ;
    font-weight: bold;
       color: #ff0c85;
       transition: all 700ms ease;
      }

      .nav-link:hover{
        color:  white;
        font-weight: bolder;
        background:#f58599;
        border:1px solid #ff0c85;
      }
 
.btn-accent:hover {
  background-color:#ff7a95;   /* couleur au survol */
  color: white;
}



.brand:hover{background: linear-gradient(90deg,var(--accent1),var(--accent2)); -webkit-background-clip:text; background-clip:text; color:transparent; font-weight:800;}
    
  
  .carousel-inner{background: transparent;}

/* card body overlay texte en bas */
.overlay-info{
  position: absolute;
  bottom: 0;
  width: 100%;
  height: auto;
  min-height: 15vh;
  padding:4px 1px 0px 2px;
  background: rgba(255, 122, 149, 0.7);
  border-radius : 0 0 12px 12px ;
  color: #fff;
  z-index: 10;
}

   .numwrap{
     display: flex;
     flex-direction: row;
     flex-wrap: nowrap ;
     scrollbar-width: none; /* Masque la scrollbar sur Firefox */
      
       overflow-x: scroll ;
 }  
  
  .numwrap::-webkit-scrollbar {
  display: none; /* Masque la scrollbar sur Chrome/Safari */
}

.topslide{
  display: flex;
  flex-direction: row ;
  flex-wrap: nowrap;
  overflow: hidden;
  
}

.page-link:hover{
     color:#ff0c85;
     background: rgba(255, 122, 149, 0.4);
     border-color:rgba(255, 122, 149, 0.6);
}
  
 .badge-premium {
   display:inlign-flex;
   align-items: center;
   gap: 6px;
   max-width:100%;
   white-space: nowrap; /*empeche le retour a la ligne */
    word-break:keep-all; /* empeche la coupure du mot */
background: linear-gradient(45deg, #ff9966 0%, #ff5e62 100%);
  color: white ;
  padding: 4px 10px;
  border-radius: 8px;
  font-weight: bold;
  font-size: 0.8em;
}


.badge-vip {
  
  display:inlign-flex;
   align-items: center;
   gap: 6px;
   max-width:100%;
   white-space: nowrap; /*empeche le retour a la ligne */
    word-break:keep-all; /* empeche la coupure du mot */
  background: linear-gradient(45deg, #ff5f6d, #ffc371);
  color: white;
  padding: 4px 10px;
  border-radius: 8px;
  font-weight: bold;
  font-size: 0.8em;
}

.badge-avant{
  z-index:50;
  display:inlign-flex;
   align-items: center;
   gap: 6px;
   max-width:100%;
   white-space: nowrap; /*empeche le retour a la ligne */
    word-break:keep-all; /* empeche la coupure du mot */
    background: rgba(255, 122, 149,1);
    border-radius: 8px;
    color: white;
  font-weight: bold;
  font-size: 0.8em;
 
}

.online-dot {
  
  width: 12px;
  height: 12px;
  background-color: rgba(255, 122, 149, 1);  
  border-radius: 50%;
  z-index: 50;
  animation: pulse-dot 1.5s infinite;
}

.online-dot2 {
  width: 12px;
  height: 12px;
  background-color: rgb(255, 0, 110); 
  border-radius: 50%;
  z-index: 50;
  animation: pulse-dot 1.5s infinite;
}

@keyframes pulse-dot {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.6; }
  100% { transform: scale(1); opacity: 1; }
}


/* Animation pour ouvrir le modal depuis le haut */
.modal.slide-down .modal-dialog {
    transform: translateY(-60px);
    opacity: 0;
    transition: all 0.35s ease;
}

.modal.show.slide-down .modal-dialog {
    transform: translateY(0);
    opacity: 1;
}

.modal-body{
  background:#fff7f9;
}




.signButton , .loginButton{
 background:#ff006e;
  padding: 0.75 rem 0.375rem;
  font-weight: bold;
  color: white ;
  border-radius: 0.375rem;
}

.signButton:hover , .loginButton:hover{
    background: #ff006e ;
    color: white;
}

.signButton:active , .loginButton:active{
    background: #ff006e ;
    color: white;
}



.signButton:disabled , .loginButton:disabled{
  background: #ff006f94;
  color: rgba(253, 249, 251, 0.671) ;
 
}  

#signupForm .form-control:focus, 
#signupForm .form-select:focus, #loginForm .form-control:focus, #loginForm .form-select:focus {
    border-color: #ff006e !important; /* Change la couleur de la bordure */
    box-shadow: 0 0 0 0.25rem #ff006f70  !important; /* Ajoute le halo lumineux doux */
    outline: 0; /* Supprime le contour par défaut du navigateur */
}

#loginModal .modal-header , #signupModal .modal-header{
    background: #ff006e !important; /* Change la couleur de la bordure */
    color: white;
}




.service-row{
  color:black;
  font-weight: bold ;
}

#profilDetails{
  font-weight: bold;
}

#profilDetails strong{

  color:var(--muted);
}






.btn-close-custom{
  background: transparent;
  border: none;
  padding: 4px;
  display: inline-flex;
  align-items: center;
  position : absolute;
  right: 12px;
  text-align:end ;
  justify-content: center;
  width: 30px;
  height:30px;
  border-radius: 8px;
  cursor: pointer;
  /* transition: background .12s ease; */
}

.btn-close-custom:hover {
 transform: scale(1.3);
}


.mColor , .mbtnColor{
  background: #ff006e;
  color:white;
  font-weight:bold;
  font-size:1.1em;
 }

 .mColor:hover , .mbtnColor:hover{
  background: #c90a5d;
  color:white;
  font-weight:bold;
  font-size:1.1em;
 }

 .mColor:active , .mbtnColor:active{
  background: #ff006e;
  color:white;
  font-weight:bold;
  font-size:1.1em;
 }




 .alert{
  background:  rgba(197, 4, 43, 0.555);
  color:white;
 }

 .alert strong{
  color:black;
 }


.scroll-horizontal {
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

/* Scrollbar horizontale personnalisée */
.scroll-horizontal::-webkit-scrollbar {
  height: 8px; /* hauteur de la barre horizontale */
}

/* Fond de la scrollbar */
.scroll-horizontal::-webkit-scrollbar-track {
  background: rgba(0,0,0,0.1);
  border-radius: 8px;
}

/* La barre de défilement */
.scroll-horizontal::-webkit-scrollbar-thumb {
  background: var(--muted);
  border-radius: 8px;
}

/* Survol */
.scroll-horizontal::-webkit-scrollbar-thumb:hover {
  background: var(--muted);
}

/* Flèches gauche/droite */
.scroll-horizontal::-webkit-scrollbar-button {
  background: var(--muted);
  width: 10px;
}

/* Survol des flèches */
.scroll-horizontal::-webkit-scrollbar-button:hover {
  background: var(--muted);
}

/* Firefox */
.scroll-horizontal {
  scrollbar-width: thin;
  scrollbar-color: var(--muted) rgba(0,0,0,0.1);
}


.scroll-horizontal .card {
  flex: 0 0 auto;
}

/* INDICATEURS — un peu plus visibles mais même design */

#profileCarousel .carousel-indicators button {
    background-color: rgba(255, 122, 149, 0.7) !important;
    opacity: 1 !important;  /* juste plus visible */
}

#profileCarousel .carousel-indicators .active {
    background-color: rgba(255, 122, 149, 1) !important;
    border: 2px solid #4A001F;
}

/* FLECHES — même design, juste plus larges */
#profileCarousel .carousel-control-prev-icon,
#profileCarousel .carousel-control-next-icon {
    filter: brightness(0) saturate(100%) invert(73%) sepia(31%) saturate(650%) hue-rotate(314deg) brightness(102%) contrast(120%);
    width: 40px !important;   /* ⇦ augmente la largeur */
    height: 40px !important;  /* optionnel : même hauteur */
  opacity: 1 !important;
}

.carousel-control-prev,
.carousel-control-next {
    opacity: 0.8 !important;
}
  
  .carousel-control-prev:hover,
.carousel-control-next:hover,
.carousel-control-prev:focus,
.carousel-control-next:focus,
.carousel-control-prev:active,
.carousel-control-next:active {
    opacity: 1 !important;
}


.carousel-control-prev svg,
.carousel-control-next svg {
    opacity: 1 !important;
}

  .carousel-control-prev,
.carousel-control-next {
  pointer-events: auto !important;
  touch-action: manipulation;
}

.carousel-control-prev svg,
.carousel-control-next svg {
  pointer-events: none; /* évite le blocage sur l’icône */
}

/* pour le chargeur de page */

/* Style du Preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
     /* Empêche toute interaction avec ce qui est dessous */
    user-select: none; 
    touch-action: none; /* Bloque le scroll tactile sur l'overlay */
    
    /* La transition magique est ici */
    transition: opacity 0.8s ease-out, visibility 0.8s;
}

/* Classe à appliquer au body pendant le chargement */
body.stop-scrolling {
    height: 100vh;
    overflow: hidden;
}

/* Classe activée par le JavaScript */
.loader-hidden {
    opacity: 0;
    visibility: hidden;
}

/* Animation du cœur */
.heart-loader {
    font-size: 4rem;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

/* Cache l'avatar par défaut pour éviter le flash blanc */
.avatar {
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

/* Une fois chargée, elle devient visible (géré via JS ou simplement quand chargée) */
.avatar[src] {
    opacity: 1;
}

/* L'animation de battement pendant l'ajout des favoris */
@keyframes heartBeat {
  0% { transform: scale(1); }
  25% { transform: scale(1.3); }
  50% { transform: scale(1.1); }
  75% { transform: scale(1.4); }
  100% { transform: scale(1); }
}

/* La classe à appliquer */
.animate-heart {
  display: inline-block; /* Nécessaire pour que transform fonctionne */
  animation: heartBeat 0.4s ease-in-out;
  color: #ff0000 !important; /* Rouge vif pendant l'animation */
}


#photoGallery {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}



#photoGallery img:hover {
    transform: scale(1.02);
}

.profil-img-item {
    width: 100% !important;
    height: auto !important;
    max-height: 500px !important;
}



/* message de salutation */

.welcome-banner {
    position: fixed;
    /* On le place au centre avec un petit écart du haut */
    top: -120px; 
    left: 50%;
    transform: translateX(-50%);
    
    /* Look "Pilule" plus élégant que toute la largeur */
    width: 90%;
    max-width: 500px;
    
    /* Effet Glassmorphism (verre poli) */
    background: linear-gradient(135deg, rgba(209, 68, 129, 0.95), rgba(74, 0, 31, 0.95));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    
    color: white;
    padding: 16px 24px;
    text-align: center;
    border-radius: 50px; /* Coins très arrondis */
    
    /* Ombre profonde et douce */
    box-shadow: 0 10px 30px rgba(74, 0, 31, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    
    z-index: 10000;
    
    /* Animation de rebond (Elastic) */
    transition: all 0.6s cubic-bezier(0.68, -0.6, 0.32, 1.6);
    font-family: 'Poppins', sans-serif;
}

.welcome-banner.show {
    top: 25px; /* Redescend à 25px du bord haut */
}

.welcome-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.brand-name {
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    /* Petit effet de brillance sur le nom */
    background: linear-gradient(to right, #fff, #ffcfe4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

#topCarousel {
  width: 100%;
  position: relative;
  overflow: hidden; /* Cache les boutons si nécessaire */
}

#topCarouselInner {
  display: flex;
  gap: 12px;
  overflow-x: auto; /* Active le scroll manuel/tactile */
  scroll-snap-type: x mandatory; /* Aimante les cartes au bord */
  scroll-behavior: smooth; /* Animation fluide native */
  padding: 10px 5px;
  
  /* Masque la barre de défilement pour un look propre */
  scrollbar-width: none; 
  -ms-overflow-style: none;
}

#topCarouselInner::-webkit-scrollbar {
  display: none;
}

.topslidet {
  /* On ne définit plus la taille ici, mais on s'assure que 
     chaque enfant s'aligne bien sur la grille de scroll */
  scroll-snap-align: start; 
  flex-shrink: 0; /* Empêche les cartes de s'écraser */
}

/* Ta carte reste identique mais on fixe sa base */
.topCard {
  width: 173px; /* Ta largeur fixe actuelle */
  background: var(--card); 
  border-radius: 12px; 
  border: 1px solid rgba(11,18,32,0.04); 
  box-shadow: 0 8px 30px rgba(11,18,32,0.04); 
  aspect-ratio: 3/4;
}


/* page mot de passe oublié */
.card-forgot{
  background-color: #fff7f9;
}

.card-forgot .head{
  width: 100%;
  color:  #ff006e;
 border-bottom: 1px solid  #ff006e;
}

.card-forgot p{
  color: #4A001F;
}

#forgotForm .form-control:focus, 
#forgotForm .form-select:focus ,#verifyForm .form-control:focus , #deliveryPlace , #deliveryPlace:focus{
    border-color: #ff006e !important; /* Change la couleur de la bordure */
    box-shadow: 0 0 0 0.25rem #ff006f86 !important; /* Ajoute le halo lumineux doux */
    outline: 0; /* Supprime le contour par défaut du navigateur */
    background-color: #fce3ee44 ; /* Optionnel : pour que le fond suive la bordure */
}

 #forgotForm button:disabled,
 #forgotForm .btn:disabled {
    border-color: #ff006fa9 !important;
    color: white !important;
    background-color: #ff006fa9 ; /* Optionnel : pour que le fond suive la bordure */
}

 /* Force l'opacité à 100% pour le bouton de fermeture blanc */
.btn-close-white {
    opacity: 1 !important;
}

/* Optionnel : tu peux réduire légèrement l'opacité au survol pour garder un effet visuel */
.btn-close-white:hover {
    opacity: 0.8 !important;
}

.fa-eye-slash , .fa-eye{
  color: #4A001F;
}

/* pour les videos  */

.video-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8); /* Fond noir semi-transparent */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999; /* Toujours au-dessus */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease;
}

.video-overlay.show {
    opacity: 1;
    visibility: visible;
}

/* .video-container img {
    max-width: 80%;
    max-height: 80vh;
    border-radius: 10px;
    box-shadow: 0 0 30px rgba(0,0,0,0.5);
    border: 2px solid #ff7a95; /* Rappel couleur Take It */
/* }  */

.video-container img{
    display: flex;
     width: 95% !important;
      height: 90vh !important;
    margin-left: auto !important;
     margin-right: auto !important;
       align-items: center;
  }