/* =========================================================
   HONFLEUR INSIDER
   BANQUES ET DISTRIBUTEURS
   ========================================================= */

.rdh-laundry-map-wrap {
  position: relative;
  margin: 0 0 18px;
  overflow: hidden;
  border-radius: 22px;
  background: #e9eef4;
}

.rdh-laundry-map {
  width: 100%;
  height: 330px;
  background: #e9eef4;
}

.rdh-laundry-locate {
  position: absolute;
  z-index: 800;

  left: 14px;
  right: 14px;
  bottom: 14px;

  min-height: 46px;

  border: 0;
  border-radius: 16px;

  background: rgba(255,255,255,.96);
  color: #17345c;

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

  box-shadow: 0 5px 18px rgba(0,0,0,.17);
}


/* MARQUEURS CARTE */

.rdh-laundry-marker {
  width: 34px;
  height: 34px;

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

  border-radius: 50%;
  border: 3px solid #fff;

  background: #17345c;
  color: #fff;

  font-size: 13px;
  font-weight: 900;

  box-shadow: 0 3px 9px rgba(0,0,0,.28);
}

.rdh-laundry-marker-laverie {
  background: #278657;
}


/* POSITION UTILISATEUR */

.rdh-laundry-user-marker {
  width: 20px;
  height: 20px;

  border-radius: 50%;
  border: 4px solid #fff;

  background: #2478ff;

  box-shadow:
    0 0 0 3px rgba(36,120,255,.28),
    0 2px 8px rgba(0,0,0,.25);
}


/* NUMEROS DANS LA LISTE */

.rdh-laundry-list-marker {
  width: 38px;
  height: 38px;

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

  flex: 0 0 38px;

  border-radius: 50%;
  border: 3px solid #fff;

  background: #17345c;
  color: #fff;

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

  box-shadow: 0 3px 9px rgba(0,0,0,.16);
}

.rdh-laundry-list-marker-laverie {
  background: #278657;
}


/* DISTANCE */

.rdh-laundry-distance {
  display: block;

  margin-top: 5px;

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

  color: #17345c;
}


/* ELEMENT SELECTIONNE */

.rdh-practical-item.rdh-laundry-selected {
  outline: 2px solid rgba(23,52,92,.18);
  background: #f7faff;
}


@media (max-width: 700px) {

  .rdh-laundry-map {
    height: 290px;
  }

  .rdh-laundry-map-wrap {
    border-radius: 20px;
  }

  .rdh-laundry-list-marker {
    width: 36px;
    height: 36px;
    flex-basis: 36px;

    font-size: 13px;
  }

}


/* =========================================================
   LAVERIES & PRESSINGS
   Extension du composant Banques
   ========================================================= */


/* FILTRES */

.rdh-laundry-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;

    margin: 0 0 12px;
}


.rdh-laundry-filter {
    min-height: 40px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;

    padding: 8px 13px;

    border:
        1px solid
        rgba(23,52,92,.16);

    border-radius: 999px;

    background: #fff;
    color: #17345c;

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

    cursor: pointer;
}


.rdh-laundry-filter.is-active {
    background: #17345c;
    border-color: #17345c;
    color: #fff;
}


.rdh-laundry-filter-dot {
    width: 9px;
    height: 9px;

    flex: 0 0 9px;

    border-radius: 50%;
}


.rdh-laundry-filter-dot--laverie {
    background: #278657;
}


.rdh-laundry-filter-dot--pressing {
    background: #17345c;
}


.rdh-laundry-filter.is-active
.rdh-laundry-filter-dot--pressing {
    box-shadow:
        0 0 0 1px
        rgba(255,255,255,.85);
}


/*
 * Couleurs reprises du composant Banques :
 *
 * laverie automatique = vert
 * pressing             = bleu marine
 */

.rdh-laundry-marker-laverie,
.rdh-laundry-list-marker-laverie {
    background: #278657;
}


.rdh-laundry-type {
    display: block;

    margin-top: 4px;

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


.rdh-laundry-type--laverie {
    color: #278657;
}


.rdh-laundry-type--pressing {
    color: #17345c;
}


/* TELEPHONE */

.rdh-laundry-phone {
    display: block;

    margin-top: 5px;

    color: #17345c;

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


/* ACTIONS */

.rdh-laundry-actions {
    flex: 0 0 auto;

    display: flex;
    flex-direction: column;
    gap: 7px;

    align-items: stretch;
}


.rdh-laundry-actions a {
    min-width: 92px;

    padding: 9px 11px;

    border-radius: 10px;

    text-align: center;
    text-decoration: none;

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


.rdh-laundry-call {
    background: #eef3f8;
    color: #17345c;
}


.rdh-laundry-actions
.rdh-practical-guide {
    margin-left: 0;

    background: #17345c;
    color: #fff;
}


.rdh-practical-item[hidden] {
    display: none !important;
}

@media (max-width: 700px) {

    .rdh-laundry-filters {
        gap: 6px;
    }


    .rdh-laundry-filter {
        padding: 7px 10px;

        font-size: 12px;
    }


    /*
     * FICHE MOBILE
     *
     * 2 colonnes seulement :
     * - pastille
     * - contenu
     *
     * Les actions occupent ensuite une vraie
     * deuxième ligne sous le contenu.
     */

    .rdh-laundry-page
    .rdh-practical-item {

        display: grid;

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

        grid-template-rows:
            auto
            auto;

        column-gap: 14px;
        row-gap: 12px;

        align-items: start;
    }


    /*
     * Pastille numérotée.
     */

    .rdh-laundry-page
    .rdh-laundry-list-marker {

        grid-column: 1;
        grid-row: 1;

        align-self: start;

        margin-top: 2px;
    }


    /*
     * Nom, type, adresse et téléphone disposent
     * de toute la largeur située à droite
     * de la pastille.
     */

    .rdh-laundry-page
    .rdh-practical-item-content {

        grid-column: 2;
        grid-row: 1;

        min-width: 0;
        width: 100%;
    }


    .rdh-laundry-page
    .rdh-practical-item-content
    strong,

    .rdh-laundry-page
    .rdh-practical-item-content
    span {

        max-width: 100%;

        overflow-wrap: break-word;
    }


    /*
     * ACTIONS
     *
     * Elles sont sorties de la ligne du texte.
     * Elles occupent leur propre rangée.
     */

    .rdh-laundry-page
    .rdh-laundry-actions {

        grid-column: 2;
        grid-row: 2;

        width: 100%;
        min-width: 0;

        display: grid;

        grid-template-columns:
            repeat(
                2,
                minmax(0, 1fr)
            );

        gap: 8px;

        align-items: stretch;
    }


    .rdh-laundry-page
    .rdh-laundry-actions
    a {

        min-width: 0;
        width: 100%;

        box-sizing: border-box;

        display: flex;

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

        white-space: nowrap;
    }


    /*
     * Cas Wash'n Dry :
     * pas de téléphone => Me guider prend
     * toute la largeur disponible.
     */

    .rdh-laundry-page
    .rdh-laundry-actions
    a:only-child {

        grid-column:
            1 / -1;
    }
}
