
body {
    margin: 0;
    padding: 0;
    display: flex;
    height: 100vh;
    font-family: Arial, sans-serif;
}

#sidebar {
    width: 350px;
    padding: 10px;
    border-right: 1px solid #ccc;
    overflow-y: auto;
    position: relative;
}

#map {
    flex: 1;
    height: 100%;
}

.search-box {
    display: flex;
    margin-bottom: 10px;
    position: relative;
}

.search-box input {
    flex: 1;
    padding: 5px;
}

.search-box button {
    padding: 6px 10px;
    margin-left: 5px;
    cursor: pointer;
}

/* Liste pour l'autocomplétion */
#autocompleteList {
    position: absolute;
    top: 32px; /* Ajuster en fonction de la hauteur de l'input */
    left: 0;
    right: 0;
    background-color: #fff;
    border: 1px solid #ccc;
    z-index: 999;
    max-height: 150px;
    overflow-y: auto;
}

#autocompleteList div {
    padding: 5px;
    cursor: pointer;
}

#autocompleteList div:hover {
    background-color: #eee;
}

#autocompleteList li {
    padding: 10px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#autocompleteList ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

#autocompleteList li:hover {
    background-color: #f0f8ff;
}

.categories {
    margin-bottom: 10px;
}

.categories label {
    margin-right: 10px;
}

.result-item {
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 8px;
    margin-bottom: 10px;
    transition: background-color 0.3s;
}

.result-item h4 {
    margin: 0;
}

/* Classe pour mettre en évidence l'élément sélectionné */
.result-item.selected {
    background-color: #e8f4ff;
    border-color: #007BFF;
}

.listProduct {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    padding-left: 10px;
    list-style: none;
}

.marker-label {
    top: 9px;
    left: 9px;
    border: none;
    background-color: transparent;
    color: white;
    font-size: 16px;
    font-weight: 700;
}

.leaflet-div-icon {
    background-color: transparent;
    border: none;
}

.storelocator-sidebarResultsList {
    padding: 0;
    list-style: none;
}

.storelocator-sidebarResultsList li {
    background: #ffffff;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-bottom: 8px;
    padding: 10px;
    padding-bottom: 0px;
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.storelocator-sidebarResultsList li:hover {
    background: #f0f8ff;
    border-color: #007BFF;
}

.selected {
    background: #f0f8ff !important;
    border-color: #007BFF !important;
}

.storelocator-sidebarResultsList li span {
    font-weight: bold;
    color: #333;
}

.storelocator-sidebarResultsList li small {
    color: #666;
}
@-webkit-keyframes loading {
    0% {
        left: 50%;
        width: 0;
        z-index: 100
    }
    33.3333% {
        left: 0;
        width: 100%;
        z-index: 10
    }
    to {
        left: 0;
        width: 100%
    }
}

@keyframes loading {
    0% {
        left: 50%;
        width: 0;
        z-index: 100
    }
    33.3333% {
        left: 0;
        width: 100%;
        z-index: 10
    }
    to {
        left: 0;
        width: 100%
    }
}

.storelocator-loader {
    transition: opacity .15s ease-in, -webkit-transform .15s ease-in-out;
    transition: transform .15s ease-in-out, opacity .15s ease-in;
    transition: transform .15s ease-in-out, opacity .15s ease-in, -webkit-transform .15s ease-in-out;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    z-index: 10;
    opacity: 0
}

.storelocator-loader.active {
    opacity: 1
}

.storelocator-loader .storelocator-loaderBar {
    content: "";
    display: inline-block;
    position: absolute;
    width: 0;
    height: 100%;
    left: 50%;
    text-align: center
}

.storelocator-loader .storelocator-loaderBar:first-child {
    background-color: #f60;
    -webkit-animation: loading 3s linear infinite;
    animation: loading 3s linear infinite
}

.storelocator-loader .storelocator-loaderBar:nth-child(2) {
    background-color: #fc3;
    -webkit-animation: loading 3s linear 1s infinite;
    animation: loading 3s linear 1s infinite
}

.storelocator-loader .storelocator-loaderBar:nth-child(3) {
    background-color: #ea4c89;
    -webkit-animation: loading 3s linear 2s infinite;
    animation: loading 3s linear 2s infinite
}

.storelocator-detailStore {
    position: relative;
    font-size: 12px;
    color: #000
}

.storelocator-detailStoreTitle {
    margin-bottom: 10px;
    text-transform: capitalize;
    font-weight: 500;
    font-size: 16px;
    display: block
}

.storelocator-detailStoreTitle a {
    text-decoration: none;
    color: #000
}

.storelocator-detailStoreTitle span {
    display: inline
}

.storelocator-detailStoreDistance {
    position: absolute;
    top: 50%;
    right: 0;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    color: #9a9a9a;
    display: flex;
    flex-direction: row;
    align-items: center;
    text-decoration: none
}

.storelocator-detailStoreIconRoute {
    fill: #9a9a9a;
    width: 20px;
    margin-left: 10px
}

.storelocator-detailStoreCity {
    display: inline-block;
    vertical-align: top;
    padding-bottom: 10px
}

.storelocator-detailStoreAddress {
    display: block;
    padding-bottom: 0px;
    padding-right: 90px
}

.storelocator-detailStoreHoraire,.storelocator-detailStorePhone {
    display: block;
    padding-bottom: 12px;
}



.storelocator-detailStoreZipcode {
    padding-bottom: 12px
}

.storelocator-detailStorePhone {
    display: block
}

.storelocator-detailStorePhone a {
    text-decoration: none;
    color: #000
}

.storelocator-formSearch {
    position: relative;
    width: 100%;
    height: auto;
    padding: 20px;
    background-color: #fff
}

.storelocator-inputSearch {
    width: 100%;
    height: 40px;
    padding-left: 10px;
    font-size: 15px;
    border: none;
    outline: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, .2), 0 -1px 0 rgba(0, 0, 0, .02)
}

.storelocator-formFilters {
    margin-top: 20px
}

.storelocator-formFilters label {
    position: relative;
    padding: 5px 5px 6px 32px;
    font-size: 14px;
    cursor: pointer;
    display: block;
}

.storelocator-formFilters label:before {
    content: "";
    display: block;
    width: 20px;
    height: 20px;
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 3px;
    border: 2px solid rgba(0, 0, 0, .3)
}

.storelocator-formFilters label:after {
    content: "";
    display: block;
    opacity: 0;
    position: absolute;
    width: 14px;
    height: 14px;
    top: 5px;
    left: 5px;
    border-radius: 3px;
    transition: opacity .2s ease-out;
    background-color: rgba(0, 0, 0, .3)
}

.storelocator-formFilters input[type=checkbox] {
    position: absolute;
    opacity: 0;
    top: 4px;
    left: 4px
}

.storelocator-formFilters input[type=checkbox]:checked + label:after {
    opacity: 1
}

.storelocator-formFiltersRow {
    display: flex;
    align-items: center;
    margin-top: 15px
}

.storelocator-formFiltersRow:first-child {
    margin-top: 0
}

.storelocator-formCheckbox {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.storelocator-formCheckbox label {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}


.storelocator-infoWindow {
    padding: 10px 0 10px 10px;
    width: 300px;
}

.storelocator-infoWindow .storelocator-pictureStore {
    margin-bottom: 20px;
    display: block;
    max-width: 400px
}

.storelocator-infoWindow .storelocator-pictureStore img {
    display: block;
    width: 100%;
    height: auto
}

.storelocator-infoWindow .storelocator-detailStore {
    max-width: 300px
}

.storelocator-infoWindow .storelocator-detailStoreAddress {
    padding-right: 0
}

.storelocator-infoWindow .storelocator-detailStoreTitle {
    padding-right: 90px
}

.storelocator-infoWindow .storelocator-detailStoreDistance {
    top: 0;
    -webkit-transform: none;
    transform: none
}

.storelocator-infoWindow .storelocator-detailStoreUrl {
    color: #000
}

.storelocator-nav {
    height: 40px;
    position: relative;
    z-index: 10
}

.storelocator-navList {
    display: flex;
    align-items: center;
    text-align: center;
    height: 100%;
    margin: 0;
    padding: 0
}

.storelocator-navButton {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    color: #b9b8b8;
    border: 0;
    -webkit-appearance: none;
    font-size: 16px;
    font-family: inherit;
    cursor: pointer;
    background: none;
    outline: none
}

.storelocator-navListItem {
    width: 50%;
    height: 100%;
    list-style-type: none;
    border-bottom: 1px solid #b9b8b8
}

.storelocator-navListItem.active {
    border-bottom: 2px solid #000
}

.storelocator-navListItem.active .storelocator-navButton {
    color: #000
}

.storelocator-sidebarResults {
    display: none;
    overflow: auto;
    height: 400px;
    border-top: 1px solid #e7e7e7
}

.storelocator-sidebar {
    position: relative;
    display: flex;
    flex-direction: column;
    z-index: 1;
    background: #fff
}

.storelocator-sidebar.active .storelocator-sidebarResults {
    display: block
}

.storelocator-sidebarResultsListItem {
    display: block;
    padding: 20px;
    border-top: 1px solid #e7e7e7
}

.storelocator-sidebarResultsListItem:first-child {
    border-top: none
}

.storelocator-sidebarResultsList {
    padding: 0;
    margin: 0
}

.storelocator-sidebarNoResults {
    padding: 20px
}

.storelocator-sidebarIntro, .storelocator-sidebarNoResults {
    margin: 0;
    font-size: 13px;
    line-height: 20px;
    color: #b9b8b8;
    font-style: italic
}

.storelocator-sidebarIntro {
    padding: 10px 20px
}


@media (max-width: 700px) {
    #sidebar{
        display: block;
        height:100px;
        position: absolute;
        z-index: 999;
        width:80%;
        padding-left: 54px;
    }
    #sidebar h3,
    .storelocator-formFilters,
    .storelocator-sidebarResults{
        display: none;
    }
}

@media (min-width: 700px) {
    #sidebar{
        width: 350px;
        padding: 10px;
        border-right: 1px solid #ccc;
        overflow-y: auto;
        position: relative;
    }
    .storelocator-sidebar {
        position: absolute;
        top: 20px;
        left: 20px;
        width: 370px;
        height: auto;
        max-height: calc(100% - 40px);
        z-index: 5;
        border-radius: 0 0 5px 5px;
        background-color: #fff;
        box-shadow: 0 2px 4px rgba(0, 0, 0, .2), 0 -1px 0 rgba(0, 0, 0, .02)
    }

    .storelocator-sidebarResults {
        display: block
    }

    .storelocator .storelocator-nav {
        display: none
    }

    .storelocator-formSearch {
        height: auto;
        z-index: 5;
        border-radius: 5px 5px 0 0;
        box-shadow: 0 2px 4px rgba(0, 0, 0, .2), 0 -1px 0 rgba(0, 0, 0, .02)
    }
}

.storelocator-googleMaps {
    position: relative;
    height: 0;
    padding-top: 100%;
    display: none;
    overflow: hidden;
    width: 100%
}

.storelocator-googleMaps.active {
    display: block
}

.storelocator-googleMaps #storelocator-googleMapsCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%
}

.storelocator-geolocButton {
    position: absolute;
    right: 10px;
    bottom: 105px;
    width: 40px;
    height: 40px;
    background-color: #fff;
    border: none;
    cursor: pointer
}

.storelocator-geolocButton:before {
    content: "";
    background-image: url(//maps.gstatic.com/tactile/mylocation/mylocation-sprite-2x.png);
    background-size: 180px 18px;
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    width: 18px;
    height: 18px
}

.pac-container .pac-item {
    padding: 4px 5px 3px
}

.pac-container .pac-icon {
    margin-right: 9px;
    margin-left: 5px
}



@media only screen and (min-width: 700px) {
    .storelocator-googleMaps {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        padding-top: 0
    }
}


.storelocator {
    position: relative;
    height: auto
}

.storelocator, .storelocator * {
    box-sizing: border-box
}
.storelocator-detailStoreHoraire, .storelocator-detailStorePhone {
    align-items: center;
    padding-left: 18px; /* Espace pour l'icône */
    position: relative;
}

.storelocator-detailStoreHoraire::before {
    content: "";
    position: absolute;
    left: 0;
    width: 15px; /* Taille de l'icône */
    height: 15px;
    background-size: contain;
    background-repeat: no-repeat;
    background-image: url('data:image/svg+xml;utf8,<svg version="1.0" xmlns="http://www.w3.org/2000/svg" width="512.000000pt" height="512.000000pt" viewBox="0 0 512.000000 512.000000" preserveAspectRatio="xMidYMid meet"><g transform="translate(0.000000,512.000000) scale(0.100000,-0.100000)" fill="%23000000" stroke="none"><path d="M2370 5113 c-379 -36 -661 -116 -980 -278 -378 -193 -717 -497 -965-865 -104 -156 -232 -419 -294 -605 -49 -150 -89 -321 -113 -490 -17 -118 -17-512 0 -630 42 -295 120 -553 242 -800 137 -280 272 -468 494 -691 221 -220 412 -357 681 -489 188 -92 309 -137 500 -185 500 -126 1002 -102 1490 71 150 53 408 183 540 271 560 374 952 942 1095 1588 33 150 50 291 57 465 15 426 -73 832 -263 1214 -124 250 -263 447 -458 648 -214 222 -430 379 -711 518 -296 146 -572 225 -900 255 -102 9 -333 11 -415 3z m545 -342 c628 -106 1158 -448 1511 -977 179 -267 296 -573 351 -909 24 -153 24 -497 0 -650 -108 -668 -474 -1222 -1042 -1580 -243 -153 -537 -261 -850 -312 -154 -24 -497 -24 -650 1 -657 107 -1198 456 -1557 1006 -168 257 -281 557 -335 885 -24 153 -24 497 0 650 81 497 291 912 636 1255 382 381 862 605 1401 654 108 10 418 -4 535-23z"/><path d="M2480 3932 c-20 -11 -44 -37 -57 -62 l-23 -43 0 -680 c0 -586 2 -683 15 -710 17 -35 1148 -1219 1192 -1249 34 -22 112 -24 152 -3 69 35 104 119 81 190 -8 25 -169 198 -566 612 l-554 578 0 629 c0 611 -1 631 -20 670 -28 57 -63 79 -130 84 -41 2 -64 -2 -90 -16z"/></g></svg>');
}

.storelocator-detailStorePhone::before {
    content: "";
    position: absolute;
    left: 0;
    width: 15px; /* Taille de l'icône */
    height: 15px;
    background-size: contain;
    background-repeat: no-repeat;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="currentColor" viewBox="0 0 24 24"> <path d="M6.62 10.79a15.91 15.91 0 006.59 6.59l2.2-2.2a1 1 0 011.11-.21 11.36 11.36 0 003.55.57 1 1 0 011 1v3.61a1 1 0 01-1 1A17 17 0 013 5a1 1 0 011-1h3.61a1 1 0 011 1 11.36 11.36 0 00.57 3.55 1 1 0 01-.21 1.11l-2.2 2.2z"/> </svg> ');
}

@media only screen and (min-width: 700px) {
    .storelocator, body, html {
        height: 100%
    }
}
