/*
Theme Name: Ottentik-Child
Template: hello-elementor
Description: Child theme for Ottentik
Author: Your Name
Version: 1.0
*/



.ottentik-heart-wrapper {
  z-index: 1 !important; /* plus bas que le menu sticky */
  position: relative;
}
/* Si pas déjà fait */
.elementor-sticky {
  z-index: 99 !important;
}

.festival-count {
  font-family: 'Roboto', sans-serif;
  font-weight: bold;
  font-size: 18px;
  color: black; /* rose Ottentik, modifiable */
}



/* Container sans rectangle ni fond ni ombre */
.wpcf7-form {
  max-width: 500px;
  margin: 0 auto;
  padding: 0;
  background: transparent; /* pas de fond autour du formulaire */
  box-shadow: none;        /* pas d’ombre autour du formulaire */
  font-family: "Inter", "Helvetica Neue", sans-serif;
}

/* Labels en gras et collés à gauche */
.wpcf7-form p label {
  display: block;
  font-weight: 700;
  margin-bottom: 0.5rem;
  text-align: left;
}

/* Champs avec bordure classique */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #000; /* bordure noire classique */
  border-radius: 8px;
  font-size: 1rem;
  background: transparent; /* pas de fond blanc */
  transition: border-color 0.3s, box-shadow 0.3s;
}

/* Effet au focus : bordure rose Ottentik */
.wpcf7-form input[type="text"]:focus,
.wpcf7-form input[type="email"]:focus,
.wpcf7-form textarea:focus {
  border-color: #FF0077;
  box-shadow: 0 0 0 4px rgba(255, 56, 92, 0.1);
  outline: none;
}

/* Bouton rose Ottentik */
.wpcf7-form input[type="submit"] {
  background: #FF0077;
  color: white;
  border: none;
  padding: 14px 24px;
  font-size: 1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
  margin-top: 1.5rem;
}

.wpcf7-form input[type="submit"]:hover {
  background: #FF0077;
  transform: translateY(-2px);
}

/* Message de réponse */
.wpcf7-response-output {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 8px;
  font-weight: bold;
}























/* Style pour le conteneur des filtres actifs */
.ottentik-active-filters-container {
    margin: 20px 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.ottentik-active-filters-title {
    margin-right: 10px;
    font-weight: 500;
}

.ottentik-active-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* Style pour les tags de filtres actifs */
.ottentik-active-filter-tag {
    display: inline-flex;
    align-items: center;
    background-color: #fff;
    border: 1px solid #000;
    border-radius: 50px;
    padding: 6px 12px;
    font-size: 14px;
    margin-right: 5px;
    margin-bottom: 5px;
    cursor: default;
}

.ottentik-filter-category {
    font-weight: 500;
    margin-right: 4px;
}

.ottentik-filter-value {
    color: #000;
}

.ottentik-filter-remove {
    margin-left: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    color: #000;
    line-height: 1;
    padding: 0 2px;
}

.ottentik-filter-remove:hover {
    color: #FF385C;
}

/* Style pour le bouton de réinitialisation */
.ottentik-reset-filters {
    background: transparent;
    border: none;
    color: #FF385C;
    cursor: pointer;
    font-size: 14px;
    text-decoration: underline;
    margin-left: 15px;
    padding: 5px;
}

.ottentik-reset-filters:hover {
    color: #d9304d;
}




















/* CSS pour les filtres Ottentik */
.ottentik-filter-dropdown {
  position: relative;
  display: inline-block;
  margin-right: 15px;
  margin-bottom: 20px;
}

.dropdown-toggle {
  background: #fff;
  padding: 10px 14px;
  border: 1px solid #ccc;
  border-radius: 10px;
  cursor: pointer;
  font-size: 14px;
  min-width: 150px;
  text-align: left;
  position: relative;
  color: #000;
  font-weight: normal;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.dropdown-content {
  display: none;
  position: absolute;
  background: #fff;
  z-index: 9999;
  padding: 10px;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.15);
  width: max-content;
  min-width: 180px;
  max-height: 250px;
  overflow-y: auto;
}

.ottentik-filter-dropdown:hover .dropdown-content {
  display: block;
}

/* Style pour les checkboxes rondes type Airbnb */
.ottentik-checkbox-label {
  display: block;
  position: relative;
  padding: 8px 0 8px 32px;
  cursor: pointer;
  user-select: none;
}

/* Cacher la checkbox originale */
.ottentik-filter {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

/* Style pour la checkbox personnalisée (non cochée) */
.ottentik-checkbox-custom {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  height: 20px;
  width: 20px;
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 50%; /* Forme ronde */
  transition: all 0.2s ease;
}

/* Style pour la checkbox personnalisée (cochée) */
.ottentik-filter:checked ~ .ottentik-checkbox-custom {
  background-color: #FF385C; /* Couleur Airbnb */
  border-color: #FF385C;
}

/* Style pour le symbole de validation (V) */
.ottentik-checkbox-custom:after {
  content: "✓";
  position: absolute;
  display: none;
  left: 50%;
  top: 45%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 12px;
}

/* Afficher le symbole V quand la checkbox est cochée */
.ottentik-filter:checked ~ .ottentik-checkbox-custom:after {
  display: block;
}

/* Style pour le texte du terme */
.ottentik-term-name {
  display: inline-block;
  vertical-align: middle;
}

/* Style pour la grille de festivals */
.ottentik-festivals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.festival-tile {
  border: 1px solid #eaeaea;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.festival-tile:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.festival-image img {
  width: 100%;
  height: auto;
  display: block;
}

.festival-content {
  padding: 15px;
}

/* Style pour le conteneur des filtres */
.ottentik-filters-container {
  margin-bottom: 30px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

/* Indicateur de chargement */
.ottentik-loading {
  text-align: center;
  padding: 20px;
  display: none;
}

.ottentik-loading:after {
  content: "⏳";
  animation: spin 2s linear infinite;
  display: inline-block;
  margin-left: 5px;
}

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

/* Couleur de fond normale */
#um-submit-btn {
  background-color: #FF385C !important;  /* couleur Airbnb par exemple */
  color: #fff !important;
  
  
}
#um-submit-btn.um-button {
  border-radius: 100px; !important;
  overflow: hidden; /* au cas où un parent masque l'effet */
}
/* Au survol */
#um-submit-btn:hover {
  background-color: #e03150 !important;
  border: 1px black;
}


.btn-open-filtres .elementor-button-icon svg {
  width: 26px !important;
  height: 26px !important;
  border:none;
}

/* Centrage vertical & horizontal de l’icône (utile si désalignée) */
.btn-open-filtres .elementor-button-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}
.btn-open-filtres svg g[id*="bgCarrier"],
.btn-open-filtres svg rect {
  display: none !important;
}

#ottentik-sticky-bar {
  width: 100%;
  max-width: 1150px; /* ou la largeur de ton container principal */
  margin: 0 auto;
  box-sizing: border-box;
}

/* 1. Le conteneur de la barre */
#ottentik-sticky-bar .e-search-input-wrapper {
  position: relative;
  width: 100%;
}

/* 2. Forcer la barre de recherche à 100% de largeur */
#ottentik-sticky-bar input[type="search"] {
  width: 205%;
  padding-right: 120px !important; /* espace pour le bouton à droite */
}

/* 3. Positionner le bouton dans le champ */
#btn-open-filtres {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  z-index: 10;
  padding: 10px 16px;
  background-color: #28a745;
  color: white;
  font-weight: 600;
  border-radius: 50px;
  line-height: 1;
  white-space: nowrap;
  border: none;
  cursor: pointer;
}

/* 4. Responsive */
@media (max-width: 768px) {
  #btn-open-filtres {
    padding: 8px 12px;
    font-size: 14px;
  }

  #ottentik-sticky-bar input[type="search"] {
	  width: 210%;
    padding-right: 100px !important;
  }
}

/* Add rounded top corners to festival images */
.elementor-widget-image .elementor-widget-container img,
.swiper-slide .elementor-slide-image,
.elementor-widget-container .e-con-boxed img,
.festival .elementor-widget-container img {
    border-top-left-radius: 10px !important;
    border-top-right-radius: 10px !important;
}




/* ==== GLOBAL GRID STYLE ==== */
#new_event_box .e-search-results-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-left: 4%;
  width: 100%;
  max-width: 100%;
  align-content: center;
}

#new_event_box .e-search-results-list .e-loop-item {
  float: left;
  width: calc(22.5% - 10px); /* 4 colonnes sur desktop */
}


/* ==== TABLET : 3 tuiles ==== */
@media (max-width: 1023px) and (min-width: 768px) {
  #new_event_box .e-search-results-list .e-loop-item {
    width: calc(33.333% - 10px);
  }
/* Add rounded top corners to festival images */
.elementor-widget-image .elementor-widget-container img,
.swiper-slide .elementor-slide-image,
.elementor-widget-container .e-con-boxed img,
.festival .elementor-widget-container img {
    border-top-left-radius: 10px !important;
    border-top-right-radius: 10px !important;
}

  .ottentik-fav-grid .festival-card {
    width: calc(33.333% - 10px);
	margin-bottom: 10px;
  }
}
.festival-image img{
    border-top-left-radius: 10px !important;
    border-top-right-radius: 10px !important;
}

/* ==== MOBILE : 1 tuile ==== */
@media (max-width: 767px) {
  #new_event_box .e-search-results-list .e-loop-item {
    width: 100%;
	
  }
/* Add rounded top corners to festival images */
.elementor-widget-image .elementor-widget-container img,
.swiper-slide .elementor-slide-image,
.elementor-widget-container .e-con-boxed img,
.festival .elementor-widget-container img {
    border-top-left-radius: 10px !important;
    border-top-right-radius: 10px !important;
}

  .ottentik-fav-grid .festival-card {
    width: 100%;
	margin-bottom: 10px;
  }
}

.ottentik-fav-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin: 0 auto;
}

.ottentik-fav-grid .festival-card {
  flex: 1 0 100%;
  max-width: 100%;
  box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.1);
  border-radius: 15px;
  padding: 10px;
  transition: all 0.3s ease;
}

/* Tablette (≥768px) – 3 colonnes */
@media (min-width: 768px) {
  .ottentik-fav-grid .festival-card {
    flex: 1 0 calc(33.333% - 20px);
    max-width: calc(33.333% - 20px);
  }
}

/* Grand écran (≥1024px) – 4 colonnes */
@media (min-width: 1024px) {
  .ottentik-fav-grid .festival-card {
    flex: 1 0 calc(25% - 20px);
    max-width: calc(25% - 20px);
  }
}


.ottentik-fav-grid .festival-title,
.ottentik-fav-grid .festival-dates,
.ottentik-fav-grid .festival-genre {
  color: #000000;
}


/* Réduire l'espacement vertical dans les groupes de filtres */
.e-filter {
  row-gap: 8px !important;  /* espace vertical entre les lignes */
  margin-bottom: 0 !important; /* enlève espace en bas si inutile */
}

/* Réduire les marges internes autour des boutons */
.e-filter button,
.e-filter .filter-item {
  margin-bottom: 4px !important;
  padding-top: 4px !important;
  padding-bottom: 4px !important;
}

.plus-filtres.active {
  display: block;
}

.site-logo {
   
	display: none;
}
 


.site-footer
{
       
	   display:none;
}
.site-footer .footer-inner .copyright p
{
       
	   display:none;
}

/* === Dropdown Profil utilisateur Ottentik === */
.horizontal>.swiper-pagination-bullets, .elementor-element .swiper .swiper-pagination-bullets.swiper-pagination-horizontal, .elementor-element .swiper .swiper-pagination-custom, .elementor-element .swiper .swiper-pagination-fraction, .elementor-element .swiper~.swiper-pagination-bullets.swiper-pagination-horizontal, .elementor-element .swiper~.swiper-pagination-custom, .elementor-element .swiper~.swiper-pagination-fraction, .elementor-lightbox .swiper .swiper-horizontal>.swiper-pagination-bullets, .elementor-lightbox .swiper .swiper-pagination-bullets.swiper-pagination-horizontal, .elementor-lightbox .swiper .swiper-pagination-custom, .elementor-lightbox .swiper .swiper-pagination-fraction, .elementor-lightbox .swiper~.swiper-pagination-bullets.swiper-pagination-horizontal, .elementor-lightbox .swiper~.swiper-pagination-custom, .elementor-lightbox .swiper~.swiper-pagination-fraction 
{
       margin-top: -20px;   /* Espace entre les bullets */
	   display:none;
}
.swiper-pagination.swiper-pagination-clickable.swiper-pagination-bullets.swiper-pagination-horizontal .swiper-pagination-bullet {
    width: 16px;
    height: 16px;
    background: #999;
    opacity: 1;
    margin: 0 8px; /* espace horizontal entre les bullets */
    border-radius: 50%; /* pour arrondir les bullets */
}

/* Pour rendre le bullet actif différent */
.swiper-pagination-bullet-active {
    background: #7b2ff7 !important;
}

/* Hide the left navigation arrow in the slider */
.elementor-swiper-button.elementor-swiper-button-prev {
    display: none !important;
}

/* Make the slider container take full width */
.elementor-widget.elementor-widget-loop-carousel.post {
    width: 100% !important;
    max-width: 100% !important;
}

/* Fix any potential padding/margin issues */
.elementor-widget-container .elementor-pagination-position-outside {
    padding-left: 0 !important;
}

/* If you still see spacing issues, you may need this */
.elementor-element.elementor-element-228a244.elementor-arrows-position-outside {
    margin-left: 0 !important;
    padding-left: 0 !important;
    width: 100% !important;
}


/* Remove white border around the tiles */
.swiper-slide,
.elementor-slide,
.e-con-boxed,
.festival,
.elementor-element[data-element_type="widget"] .elementor-widget-container {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

/* Specifically target the container */
.elementor-element-abcb366 .elementor-widget-container,
.e-con-full .e-con.e-parent,
[data-element_type="container"] {
    border: none !important;
}

/* Fix any possible overflow issues */
.swiper-slide-contents {
    overflow: hidden;
}
---------------------------------------------------------------------------------------------------------------------------------------




/* STYLE DE BASE POUR TOUS LES FILTRES */
.elementor-widget-taxonomy-filter .e-filter-item {
  position: relative;
  background-color: red;
  color: #333;
  border-radius: 20px;
  padding: 6px 30px 6px 15px;
  margin: 5px;
  font-size: 14px;
  border: 1px solid #ccc;
  display: inline-block;
  transition: all 0.3s ease;
  cursor: pointer;
}
.elementor-widget-taxonomy-filter .e-filter-item:hover, .elementor-widget-taxonomy-filter .e-filter-item[aria-pressed=true]
 {
  position: relative;
  background-color: red;
  color: #333;
  border-radius: 20px;
  padding: 6px 30px 6px 15px;
  margin: 5px;
  font-size: 14px;
  border: 1px solid #ccc;
  display: inline-block;
  transition: all 0.3s ease;
  cursor: pointer;
}

/* STYLE LORSQUE LE FILTRE EST ACTIF */
.elementor-widget-taxonomy-filter .e-filter-item[aria-pressed="true"] {
  background-color: #d82e8c;
  color: #fff;
  border-color: #d82e8c;
  
}

/* CROIX POUR DÉSÉLECTIONNER */
.elementor-widget-taxonomy-filter .e-filter-item[aria-pressed="true"]::after {
  content: "✕";
  font-weight: bold;
  position: absolute;
  right: 10px;
  top: 48%;
  transform: translateY(-50%);
  font-size: 16px;
  color: #FF385C;
  pointer-events: none;
  
}



---------------------------------------------------------------------------------------------------------------------------------------
/**
 * Styles pour le système de favoris Ottentik
 */

.ottentik-heart-wrapper {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 10;
    cursor: pointer;
    transition: transform 0.2s ease;
    display: block;
    -webkit-tap-highlight-color: transparent;
}

.ottentik-heart-wrapper:hover {
    transform: scale(1.1);
}

.ottentik-heart-wrapper:active {
    transform: scale(0.95);
}

.ottentik-heart {
	backdrop-filter: blur(8px); /* Applique un flou */
    background: rgba(255, 255, 255, 0.2); /* Fond semi-transparent */
    
    border-radius: 50%;
    padding: 6px 8px;
    font-size: 20px;
    
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    color: black;
    min-width: 42px;
    min-height: 42px;
    -webkit-user-select: none;
    user-select: none;
}

/* État actif du cœur */
.ottentik-heart.active {
    backdrop-filter: blur(8px); /* Applique un flou */
    background: rgba(255, 255, 255, 0.2); /* Fond semi-transparent */
    color: white;
    box-shadow: 0 3px 8px rgba(255, 59, 92, 0.4);
}

/* Animation pendant le clic/chargement */
.ottentik-heart.processing {
    animation: heartbeat 1s infinite;
    opacity: 0.8;
}

@keyframes heartbeat {
    0% { transform: scale(1); }
    20% { transform: scale(1.2); }
    40% { transform: scale(1); }
    60% { transform: scale(1.2); }
    80% { transform: scale(1); }
    100% { transform: scale(1); }
}

/* Style du compteur */
.ottentik-heart .heart-count {
    margin-left: 5px;
	margin-top: 5px;
    font-weight: bold;
    font-size: 14px;
    color: white;
	display:none;
}

/* Adaptations Elementor */
.elementor-widget-container .ottentik-heart-wrapper {
    z-index: 99;
}

/* Adaptations mobiles */
@media (max-width: 768px) {
    .ottentik-heart-wrapper {
        top: 8px;
        right: 8px;
    }
    
    .ottentik-heart {
        padding: 5px 7px;
        font-size: 18px;
        min-width: 38px;
        min-height: 38px;
    }
}
---------------------------------------------------------------------------------------------------------------------------------------
/* Ajouter ces styles à votre fichier style.css */

/* Animation pour les éléments supprimés */
.ottentik-favorite-item {
    transition: all 0.5s ease;
}

/* Effet visuel temporaire quand on clique sur un coeur */
.ottentik-heart.processing {
    animation: heartbeat 1s infinite;
    opacity: 0.8;
}

/* Animation pour un cœur qui disparaît */
@keyframes fadeOutScale {
    0% { 
        opacity: 1;
        transform: scale(1);
    }
    100% { 
        opacity: 0;
        transform: scale(0.8);
    }
}

---------------------------------------------------------------------------------------------------------------------------------------


.ottentik-fav-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
  padding: 20px 0;
}

.festival-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
  position: relative;
}

.festival-card:hover {
  transform: translateY(-5px);
}

/* Lien image cliquable */
.festival-image-link {
  display: block;
  overflow: hidden;
}

.festival-image {
  width: 100%;
  height: 180px;
  background-size: cover;
  background-position: center;
}

.festival-location {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 4px;
}

.festival-title {
  font-size: 18px;
  font-weight: 600;
  margin: 16px 16px 8px;
  color: #222;
}

.festival-dates,
.festival-lineup,
.festival-genre {
  margin: 0 16px 8px;
  font-size: 14px;
  color: #666;
}

.festival-lineup {
  font-style: italic;
  color: #888;
}

/* Coeur */
.ottentik-heart-wrapper {
  position: absolute;
  top: 12px;
  right: 12px;
  cursor: pointer;
  z-index: 2;
}

.ottentik-heart {
  font-size: 25px;
  transition: transform 0.2s;
}

.ottentik-heart.active {
  color: #e63946;
}

.ottentik-heart.inactive {
  color: #ccc;
}

.heart-count {
  font-size: 14px;
  margin-left: 4px;
}







---------------------------------------------------------------------------------------------------------------------------------------
/* MAIN STYLING FOR THE TOP-RIGHT USER MENU */

/* Base styling for the menu container */
.elementor-element-538f707,
.elementor-element-6286456e {
    position: relative !important;
}

/* Make the profile picture round */
.elementor-element-538f707 img.avatar,
.elementor-element-6286456e img.avatar,
.elementor-widget-nav-menu .elementor-nav-menu--dropdown img {
    border-radius: 50% !important;
    width: 40px !important;
    height: 40px !important;
    object-fit: cover !important;
    border: 2px solid #f0f0f0 !important;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1) !important;
    transition: transform 0.2s ease !important;
}

/* Add a subtle hover effect for the profile picture */
.elementor-element-538f707 img.avatar:hover,
.elementor-element-6286456e img.avatar:hover {
    transform: scale(1.05) !important;
    border-color: #e0e0e0 !important;
}

/* Style the username display */
.elementor-element-538f707 .user-name,
.elementor-element-6286456e .menu-item-account a,
.elementor-element-6286456e .elementor-item {
    font-weight: 500 !important;
    font-size: 14px !important;
    color: #333 !important;
    letter-spacing: 0.3px !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

/* Style the user trigger/menu button */
.elementor-element-538f707 .user-trigger,
.elementor-element-6286456e .elementor-item {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 8px 12px !important;
    border-radius: 30px !important;
    background-color: #FF385C !important;
    transition: all 0.3s ease !important;
    position: relative !important;
}

.elementor-element-538f707 .user-trigger:hover,
.elementor-element-6286456e .elementor-item:hover {
    background-color: rgba(255,255,255,0.2) !important;
	
}

/* Création d'une zone interactive entre le menu et le dropdown */
.elementor-element-538f707 .user-trigger:after {
    content: "▼";
    font-size: 15px;
    margin-left: 0px;
    opacity: 0.7;
    margin-top: 5px;
	color:white;
}

.elementor-element-538f707 .user-trigger:before {
    content: "";
    position: absolute;
    bottom: -20px;
    left: 0;
    width: 100%;
    height: 20px;
    background: transparent;
    z-index: 9998 !important;
}

/* DROPDOWN MENU STYLING */

/* Ensure dropdown menu is hidden by default */
.elementor-element-538f707 .dropdown-menu,
.elementor-element-6286456e .elementor-nav-menu--dropdown,
.elementor-widget-nav-menu .elementor-nav-menu--dropdown {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transition: all 0.3s ease !important;
    position: absolute !important;
    top: calc(100% + 10px) !important; /* Ajustement pour réduire l'écart */
    right: 0 !important;
    z-index: 9999 !important;
    background-color: white !important;
    border-radius: 8px !important;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1) !important;
    padding: 10px 0 !important;
    min-width: 180px !important;
    border: none !important;
}

/* Show dropdown menu on hover AND make it accessible */
.elementor-element-538f707 .user-trigger:hover + .dropdown-menu,
.elementor-element-538f707 .dropdown-menu:hover,
.elementor-element-6286456e .menu-item:hover > .elementor-nav-menu--dropdown,
.elementor-element-6286456e .elementor-nav-menu--dropdown:hover,
.elementor-widget-nav-menu .menu-item:hover > .elementor-nav-menu--dropdown {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
	
}

/* Style the dropdown menu items */
.elementor-element-538f707 .dropdown-menu a,
.elementor-element-6286456e .elementor-nav-menu--dropdown a {
    padding: 10px 15px !important;
    color: #333 !important;
    font-weight: 500 !important;
    transition: background-color 0.2s ease !important;
    display: flex !important;
    align-items: center !important;
    font-size: 14px !important;
    border-left: 3px solid transparent !important;
}
/* Couleur du texte et de l'icône lors du survol du bouton utilisateur */
.elementor-element-538f707 .user-trigger:hover .user-name,
.elementor-element-538f707 .user-trigger:hover::after {
    color: #000 !important;
    opacity: 1 !important;
}


/* Hover effect for dropdown items */
.elementor-element-538f707 .dropdown-menu a:hover,
.elementor-element-6286456e .elementor-nav-menu--dropdown a:hover {
    background-color: #f7f7f7 !important;
    color: black  !important;
    text-decoration: none !important;
    border-left: 3px solid #ff6b6b !important; /* Nice accent color */
}

/* Add divider between menu items */
.elementor-element-538f707 .dropdown-menu li,
.elementor-element-6286456e .elementor-nav-menu--dropdown li {
    border-bottom: 1px solid #f0f0f0 !important;
}

.elementor-element-538f707 .dropdown-menu li:last-child,
.elementor-element-6286456e .elementor-nav-menu--dropdown li:last-child {
    border-bottom: none !important;
}

/* Style for logout/special menu items */
.elementor-element-538f707 a[href*="logout"],
.elementor-element-6286456e a[href*="logout"],
.elementor-element-538f707 a[href*="deconnexion"],
.elementor-element-6286456e a[href*="deconnexion"] {
    color: #ff6b6b !important;
    font-weight: 600 !important;
}

/* Add icons for dropdown items (optional) */
.elementor-element-538f707 a[href*="account"]:before,
.elementor-element-6286456e a[href*="account"]:before,
.elementor-element-538f707 a[href*="profil"]:before,
.elementor-element-6286456e a[href*="profil"]:before {
    content: "👤";
    margin-right: 8px;
}

.elementor-element-538f707 a[href*="logout"]:before,
.elementor-element-6286456e a[href*="logout"]:before,
.elementor-element-538f707 a[href*="deconnexion"]:before,
.elementor-element-6286456e a[href*="deconnexion"]:before {
    content: "🚪";
    margin-right: 8px;
}

/* CORRECTION: Assurer que le nom d'utilisateur reste visible lors du survol */
.elementor-element-538f707 .user-name,
.elementor-element-538f707 .user-trigger span,
.elementor-element-538f707 .user-trigger div,
.elementor-element-6286456e .elementor-item span,
.elementor-element-6286456e .elementor-item div {
    opacity: 1 !important;
    visibility: visible !important;
    color: white !important; /* Couleur explicite pour le texte */
}

/* CORRECTION: Assurer que le nom d'utilisateur reste visible au survol */
.elementor-element-538f707 .user-trigger:hover .user-name,
.elementor-element-538f707 .user-trigger:hover span,
.elementor-element-6286456e .elementor-item:hover span {
    opacity: 1 !important;
    visibility: visible !important;
}

/* Add a nice animation when dropdown appears */
.elementor-element-538f707 .dropdown-menu,
.elementor-element-6286456e .elementor-nav-menu--dropdown {
    transform: translateY(10px);
    transition: all 0.3s ease;
    padding-top: 15px !important; /* Agrandir la zone de clic supérieure */
    margin-top: -10px !important; /* Compenser l'espacement */
}

.elementor-element-538f707 .user-trigger:hover + .dropdown-menu,
.elementor-element-538f707 .dropdown-menu:hover,
.elementor-element-6286456e .menu-item:hover > .elementor-nav-menu--dropdown {
    transform: translateY(0);
}

/* Créer une connexion interactive entre le bouton et le menu déroulant */
.elementor-element-538f707 {
    position: relative !important;
}

.elementor-element-538f707:after {
    content: "";
    display: block;
    height: 20px;
    width: 100%;
    position: absolute;
    bottom: -20px;
    left: 0;
    background: transparent;
    z-index: 9997 !important;
}

/* Empêcher la disparition du menu en créant une zone de sécurité */
.elementor-element-538f707 .dropdown-menu:before {
    content: "";
    position: absolute;
    top: -20px;
    left: 0;
    width: 100%;
    height: 20px;
    background: transparent;
    z-index: 9996 !important;
}

/* Icône pour Accueil */
.dropdown-menu a[href="/"]:before {
    content: "🏠";
    margin-right: 8px;
}

/* Icône pour Favorites */
.dropdown-menu a[href*="favorites"]:before {
    content: "❤️";
    margin-right: 8px;
}

/* Icône pour A propos */
.dropdown-menu a[href*="a-propos"]:before {
    content: "ℹ️";
    margin-right: 8px;
}

/* Forcer le menu dropdown utilisateur à passer au-dessus de la barre sticky */
.ottentik-user-dropdown .dropdown-menu {
  z-index: 10010 !important;
  position: absolute !important;
}


.ottentik-user-dropdown:hover .dropdown-menu {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}

/* Cacher le nom + la flèche dans le bouton du menu utilisateur sur mobile */
@media (max-width: 767px) {
  .ottentik-user-dropdown .user-name {
    display: none !important;
  }

  .ottentik-user-dropdown .user-trigger::after,
  .ottentik-user-dropdown .user-trigger svg,
  .ottentik-user-dropdown .user-trigger i,
  .ottentik-user-dropdown .user-trigger .dropdown-arrow {
    display: none !important;
  }

  .ottentik-user-dropdown .user-trigger {
    padding: 4px !important;
    min-width: unset !important;
	margin-top: 5px;
  }
}

------------------------------------------------------------------------------------------------------
