
/* =========================================================
   HONFLEUR INSIDER - TOILETTES PUBLIQUES
   ========================================================= */

.rdh-toilettes {
  padding-bottom: 120px;
}

.rdh-toilettes-page-header {
  padding-bottom: 18px;
}

.rdh-toilettes-map-wrap {
  position: relative;

  width: 100%;
  height: 430px;

  border-radius: 26px;
  overflow: hidden;

  background: #ffffff;

  box-shadow: 0 10px 30px rgba(16,35,90,.07);
}

.rdh-toilettes-map {
  width: 100%;
  height: 100%;
}

.rdh-toilettes-locate {
  position: absolute;

  left: 14px;
  bottom: 14px;

  z-index: 500;

  border: 0;

  padding: 11px 15px;

  border-radius: 16px;

  background: rgba(255,255,255,.97);
  color: #10235a;

  display: flex;
  align-items: center;
  gap: 8px;

  font-size: 14px;
  font-weight: 800;

  box-shadow: 0 8px 24px rgba(16,35,90,.18);
}

.rdh-toilettes-locate-icon {
  font-size: 21px;
  line-height: 1;
}

.rdh-toilettes-actions {
  display: flex;
  justify-content: center;

  margin: 16px 0 18px;
}

.rdh-toilettes-nearest {
  width: 100%;

  border: 0;

  padding: 15px 18px;

  border-radius: 18px;

  background: #10235a;
  color: #ffffff;

  font-size: 15px;
  font-weight: 800;
}

.rdh-toilettes-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.rdh-toilette-card {
  background: #ffffff;

  border-radius: 22px;

  padding: 15px;

  display: grid;

  grid-template-columns:
    48px
    minmax(0, 1fr)
    auto;

  align-items: center;

  gap: 13px;

  box-shadow: 0 8px 25px rgba(16,35,90,.06);
}

.rdh-toilette-icon {
  width: 48px;
  height: 48px;

  border-radius: 15px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: #eef3fb;
  color: #10235a;

  font-size: 15px;
  font-weight: 900;
}

.rdh-toilette-info {
  min-width: 0;
}

.rdh-toilette-name {
  color: #10235a;

  font-size: 16px;
  font-weight: 800;

  line-height: 1.2;
}

.rdh-toilette-meta {
  margin-top: 4px;

  color: #7783a4;

  font-size: 12px;
  line-height: 1.35;
}

.rdh-toilette-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;

  margin-top: 6px;
}

.rdh-toilette-badge {
  padding: 4px 7px;

  border-radius: 10px;

  background: #f1f4f9;
  color: #10235a;

  font-size: 10px;
  font-weight: 800;
}


.rdh-toilettes-loading,
.rdh-toilettes-empty {
  padding: 25px;

  text-align: center;

  color: #7783a4;
}

.rdh-toilette-marker {
  width: 38px;
  height: 38px;

  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  background: #10235a;
  color: #ffffff;

  border: 3px solid #ffffff;

  box-shadow: 0 4px 12px rgba(16,35,90,.25);

  font-size: 12px;
  font-weight: 900;
}

.rdh-user-marker {
  width: 22px;
  height: 22px;

  border-radius: 50%;

  background: #2368a2;

  border: 4px solid #ffffff;

  box-shadow: 0 3px 12px rgba(16,35,90,.3);
}

@media (max-width: 560px) {

  .rdh-toilettes-map-wrap {
    height: 370px;
  }

  .rdh-toilette-card {
    grid-template-columns:
      44px
      minmax(0, 1fr)
      auto;

    gap: 10px;

    padding: 13px;
  }

  .rdh-toilette-icon {
    width: 44px;
    height: 44px;
  }

}

/* RDH_TOILETTES_GUIDE_BUTTON_V1 */
.rdh-toilette-go {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;

  border: 0;
  border-radius: 14px;

  padding: 10px 12px;

  background: #10235a;
  color: #ffffff;

  font-size: 13px;
  font-weight: 800;
  line-height: 1;

  white-space: nowrap;
  cursor: pointer;
}



/* =========================================================
   RDH_TOILETTES_MOBILE_GUIDE_LAYOUT_V1

   Mobile :
   - numéro à gauche
   - contenu sur toute la largeur restante
   - Me guider sous le contenu, aligné à droite
   ========================================================= */

@media (max-width: 560px) {

  .rdh-toilette-card {
    grid-template-columns:
      44px
      minmax(0, 1fr);

    column-gap: 10px;
    row-gap: 9px;
  }


  .rdh-toilette-icon {
    grid-column: 1;
    grid-row: 1;

    align-self: center;
  }


  .rdh-toilette-info {
    grid-column: 2;
    grid-row: 1;

    width: 100%;
  }


  .rdh-toilette-go {
    grid-column: 2;
    grid-row: 2;

    justify-self: end;

    width: auto;
    min-width: 92px;
    min-height: 40px;

    padding: 0 14px;

    border-radius: 13px;

    font-size: 13px;
    font-weight: 800;
  }

}

/* === FIN RDH_TOILETTES_MOBILE_GUIDE_LAYOUT_V1 === */



/* =========================================================
   RDH_TOILETTES_COMPACT_GRID_V1

   Mobile compact sans modification du HTML :
   - numéro à gauche
   - nom + adresse utilisent toute la largeur
   - badges en bas à gauche
   - Me guider en bas à droite
   ========================================================= */

@media (max-width: 560px) {

  /*
   * Trois colonnes physiques :
   * numéro | espace souple | bouton
   *
   * Mais le nom et l'adresse traversent
   * les deux colonnes de droite.
   */

  .rdh-toilette-card {
    grid-template-columns:
      40px
      minmax(0, 1fr)
      auto;

    grid-template-rows:
      auto
      auto
      auto;

    column-gap: 9px;
    row-gap: 3px;

    padding: 11px 12px;

    align-items: start;
  }


  /*
   * display:contents permet aux enfants
   * de .rdh-toilette-info de participer
   * directement à la grille de la carte.
   */

  .rdh-toilette-info {
    display: contents;
  }


  .rdh-toilette-icon {
    grid-column: 1;
    grid-row: 1 / 4;

    width: 40px;
    height: 40px;

    align-self: start;

    border-radius: 13px;
  }


  /*
   * Le nom et l'adresse passent AU-DESSUS
   * de la future colonne du bouton.
   */

  .rdh-toilette-name {
    grid-column: 2 / 4;
    grid-row: 1;

    min-width: 0;

    font-size: 15px;
    line-height: 1.18;
  }


  .rdh-toilette-meta {
    grid-column: 2 / 4;
    grid-row: 2;

    min-width: 0;

    margin-top: 0;

    font-size: 12px;
    line-height: 1.3;
  }


  /*
   * Ligne basse :
   * badges à gauche.
   */

  .rdh-toilette-badges {
    grid-column: 2;
    grid-row: 3;

    align-self: center;

    margin-top: 3px;

    gap: 4px;
  }


  .rdh-toilette-badge {
    padding: 3px 6px;

    border-radius: 9px;

    font-size: 9px;
  }


  /*
   * Me guider uniquement sur la ligne basse.
   * Il ne réduit donc plus le nom ni l'adresse.
   */

  .rdh-toilette-go {
    grid-column: 3;
    grid-row: 3;

    align-self: center;
    justify-self: end;

    width: auto;

    min-width: 88px;
    min-height: 35px;

    margin-top: 3px;

    padding: 0 12px;

    border-radius: 11px;

    font-size: 12px;
    font-weight: 800;
  }


  /*
   * Bouton principal légèrement moins haut.
   */

  .rdh-toilettes-nearest {
    min-height: 54px;

    padding: 12px 16px;

    border-radius: 16px;

    font-size: 14px;
  }

}

/* === FIN RDH_TOILETTES_COMPACT_GRID_V1 === */

