/* Conteneur extérieur pour l'alignement dans la page */
  .mcity-search-wrapper {
    display: flex;
    justify-content: flex-end; /* Aligne le bloc à droite de la colonne */
    width: 100%;
    direction: rtl;
  }

  /* La barre de recherche (le conteneur blanc) */
  .mcity-search-container {
    display: flex;
    align-items: center;
    background: #ffffff;
    border: 2px solid #006A6E;
    border-radius: 50px;
    height: 46px;
    width: 46px; /* Largeur fermée = Hauteur pour un cercle parfait */
    overflow: hidden;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-sizing: border-box;
    position: relative;
  }

  /* État ouvert */
  .mcity-search-container.is-active {
    width: 320px; /* S'ouvre vers la gauche */
  }

/* LE BOUTON - Couleur fixe #006A6E */
  .mcity-search-button {
    background-color: #006A6E !important; /* Votre couleur */
    color: white !important;
    border: none !important;
    width: 38px;
    height: 38px;
    min-width: 38px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 2px;
    padding: 0;
    outline: none !important; /* Supprime le contour de focus du navigateur */
    box-shadow: none !important;
    transition: background 0.3s;
  }

  /* Empêche le changement de couleur au clic ou après clic */
  .mcity-search-button:hover, 
  .mcity-search-button:focus, 
  .mcity-search-button:active {
    background-color: #004d50 !important; /* Un turquoise plus sombre au survol */
    outline: none !important;
  }

  /* L'icône Loupe blanche et épaisse */
  .mcity-search-button svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: #ffffff; 
    stroke-width: 12px; /* Trait épais comme l'exemple */
    stroke-linecap: round;
  }

  /* Le champ de texte */
  .mcity-search-container input[type="text"] {
    flex: 1;
    border: none;
    background: transparent;
    height: 100%;
    padding: 0 15px 0 5px; /* Espace pour le texte en RTL */
    font-size: 16px;
    outline: none;
    opacity: 0;
    transition: opacity 0.3s;
    text-align: right;
    color: #333;
    pointer-events: none; /* Désactivé quand fermé */
  }

  .mcity-search-container.is-active input[type="text"] {
    opacity: 1;
    pointer-events: auto;
  }