.header-link-popup-multistore-container{
    padding:0;
    position: relative;
}
body.no-scroll{
    overflow: hidden;
}
.header-link-popup-multistore{
    padding: 0.8rem 1.3rem;
    cursor:pointer;
    display: flex;
    gap:6px;
    align-items: center;
    user-select: none;
}
.header-link-popup-multistore i{
    font-size:18px;
    color:#82bc00;
    transition: color 0.25s ease;
}
.header-link-popup-multistore:hover i{
    color:#6c9a03;
}
.multistore-selected{
    color: #606362;
    display: block;
    font-size: 1.2rem;
    font-family: "Open Sans", sans-serif;
    font-weight: 600;
}

/* --- */

.header-link-popup-multistore--search{
    position: absolute;
    top: calc(100% + 15px);
    left: 50%;
    transform: translate(-50%,-30px);
    padding: 20px;
    width: 300px;
    background: white;
    z-index: 999999;
    box-shadow: 0 2px 30px rgba(0, 0, 0, 0.3);
    visibility: hidden;
    opacity:0;
    transition: all 0.25s ease;
}
.header-link-popup-multistore--search::before {
    content: "";
    position: absolute;
    bottom: 100%; 
    left: 50%;
    transform: translateX(-50%);

    border-width: 10px;
    border-style: solid;
    border-color: transparent transparent white transparent;
}
.header-link-popup-multistore--search.visible{
    visibility: visible;
    opacity:1;
    transform: translate(-50%,0);
}
.header-link-popup-multistore--search-close{
    position: absolute;
    top: 3px;
    right: 7px;
    cursor: pointer;
    font-size: 18px;
    color:#606362;
    transition: all 0.25s ease;
}
.header-link-popup-multistore--search-close:hover{
    color:#82bc00;
}
.header-link-popup-multistore--intro{
    text-align: center;
    margin-bottom: 10px;
    font-weight: bold;
}
.header-link-popup-multistore--search-button{
    border:none;
    cursor:pointer;
}
@media screen and (max-width: 769px) {
    .multistore-selected{
        display:none;
    }
    header .header-link-popup-multistore {
        background-color: #82bc00;
        border-radius: 100%;
        position: relative;
        align-items: center;
        justify-content: center;
        width: 3.5rem;
        height: 3.5rem;
        line-height: 3.5rem;
        text-align: center;
    }
    header .header-link-popup-multistore i{
        color:white;
        font-size: 16px;
    }
    .header-link-popup-multistore-container{
        margin-right:2rem;
    }
}

/* -- */

.multistore_popup_map{
    position: fixed;
    top:0;
    left:0;
    width: 100%;
    height:100%;
    z-index:9999999;
    visibility: hidden;
    opacity: 0;
    transition:all 0.25s ease;
}
.multistore_popup_map.open{ 
    visibility: visible;   
    opacity: 1;
}
.multistore_popup_map--layer{
    position: absolute;
    top:0;
    left:0;
    width: 100%;
    height:100%;
    z-index:20;
    background-color: rgba(0,0,0,0.5);
    cursor:pointer;
}
.popup-store-name{
    font-size: 16px;
    font-weight: bold;
    margin-bottom:10px;
}
body button.popup-store-select{
    border:none;
    cursor: pointer;
}

.multistore_popup_map--content{
    position: absolute;
    top:0;
    right:0;
    width: 100%;
    max-width: 400px;
    padding:30px;
    height:100%;
    z-index:50;
    background-color:white;
    transform:translateX(100%);
    transition-delay: 0.5s;
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
    gap:10px;
    overflow:auto;
}
body button.button.multistore_popup_map--select-button{
    padding:10px;
}
.multistore_popup_map.open .multistore_popup_map--content{
    transform:translateX(0);
}
.multistore_popup_map--close{
    cursor: pointer;
    transition: all 0.25s ease;
    font-size: 20px;
}
.multistore_popup_map--close:hover{
    color:#6c9a03
}
.multistore_popup_map--title{
    font-size:25px;
    font-weight:bold;
}
#multistore_popup_map--map{
    height:300px;
    flex: 0 0 300px;
    background:#f1f1f1;
}
.multistore_popup_map--items-list{
    list-style: none;
    padding:0;
    margin:0;
    display: flex;
    flex-direction: column;
    gap:8px; 
    overflow: auto;
    padding-right: 5px;
    min-height:200px;
}
.multistore_popup_map--items-list>li label{
    background:#dee3eb;
    padding:15px;
    border-radius:8px;
    cursor:pointer;
    transition: all 0.25s ease;
    display: flex;
    gap:10px;
    align-items: flex-start;
}
.multistore_popup_map--items-list>li .infos{
   width: 100%;
}
.multistore_popup_map--items-list>li label:has(input[type="radio"]:checked){
    background:#82bc00;
    color:white;
}
.multistore_popup_map--items-list>li .distance{
    font-size: 12px;
    margin-left:auto;   
    white-space: nowrap;
}
.multistore_popup_map--items-list>li label:hover{
    background:#cfd0d1;
}
.multistore_popup_map--items-list input[type="radio"]{
    -webkit-appearance: radio;
}
.multistore_popup_map--loading{
    opacity:0;
    visibility: hidden;
    position: absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background-color: rgba(255,255,255,0.8);
    display: flex;
    flex-direction: column;
    gap:6px;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
    z-index:9999;
    text-align:center;
}
.multistore_popup_map--loading div{    
    font-size:20px;
}
.multistore_popup_map--loading i{
    color:#82bc00;
    font-size:32px;
}
.multistore_popup_map.loading  .multistore_popup_map--loading{    
    opacity:1;
    visibility: visible;
}
.multistore_popup_map--search-container{
    width:100%;
    position: relative;
}
.multistore_popup_map--search-container::before{
    content:'\f002';
    font-family: "Font Awesome 5 Pro";
    font-weight: 900;
    position: relative;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color:#82bc00;
}
body .multistore_popup_map input[type="search"].multistore_popup_map--search{
    width:100%;
    padding: 10px 10px 10px 35px;
}
.multistore_popup_map--search-suggestions{
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #ddd;
    border-top: none;
    list-style: none;
    margin: 0;
    padding: 0;
    z-index: 9999;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    max-height: 320px;
    overflow: auto;
}
.multistore_popup_map--search-suggestions li{
    padding: 10px 14px;
    cursor: pointer;
    font-size: 13px;
    border-bottom: 1px solid #f0f0f0;
    line-height: 1.4;
}
.multistore_popup_map--search-suggestions li:last-child{
    border-bottom: none;
}
.multistore_popup_map--search-suggestions li:hover{
    background: #f5f9ee;
    color: #82bc00;
}
.multistore_popup_map--geoloc-container{
    text-align:right;
}
body .multistore_popup_map button.multistore_popup_map--geoloc{
    background: none;
    color: black;
    padding: 5px 10px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-weight: 400;
    border: none;
    transition: all 0.25s ease;
    font-size: 13px;
}
body .multistore_popup_map button.multistore_popup_map--geoloc i{
    color:black;
    transition: all 0.25s ease;
}
body .multistore_popup_map button.multistore_popup_map--geoloc:hover {
    background-color: #f1f1f1;
}
body .multistore_popup_map button.multistore_popup_map--geoloc:hover i{
    color:#82bc00;
}

.multistore_popup_map--reinit-container{
    text-align:right;
    display: none;   
}
body .multistore_popup_map--reinit-container.visible{
    display: inline-flex;
}
body .multistore_popup_map button.multistore_popup_map--reinit{
    background: none;
    color: black;
    padding: 0;
    cursor: pointer;
    font-weight: 400;
    border: none;
    font-size: 11px;
    align-items: center;
    gap:5px;
    transition: all 0.25s ease;
}
body .multistore_popup_map button.multistore_popup_map--reinit:hover{    
    color: #82bc00;
}
.cz-selected-store--number{
    font-weight: bold;
    padding-right:5px;
}
.multistore_popup_map--selected-store{
    background-color: #82bc00;
    color:white;
    padding: 10px;
}
body .multistore_popup_map--selected-store a{
    color:white;
    font-weight:bold;
    text-decoration:none;
}
body .multistore_popup_map--selected-store a:hover{
    text-decoration:underline;
}

@media screen and (max-width: 520px) {    
    .multistore_popup_map--content {
        max-width: 100%;
    }
}

/* -- */

.custom-marker .pin {
    position: relative;
    width: 24px;
    height: 24px;
}

.custom-marker .pin span {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-weight: bold;
    z-index:50;
    font-size:12px;
}

.custom-marker .pin::after {
    content: '';
    display:block;
    width: 24px;
    height: 24px;
    z-index:40;
    background: #82bc00;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    margin: auto;
}

/* -- */

.multistore_popup_map-intro{
    position: fixed;
    top:0;
    left:0;
    width: 100%;
    height:100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999999;
    visibility: hidden;
    opacity: 0;
    transition: all 0.25s ease;
}
.multistore_popup_map-intro.visible{
    visibility: visible;
    opacity: 1;
}
.multistore_popup_map-intro--layer{
    position: absolute;
    top:0;
    left:0;
    width: 100%;
    height:100%;
    background-color: rgba(0,0,0,0.4);
    cursor: pointer;
    z-index:50;
}
.multistore_popup_map-intro--content{
    position: relative;
    background-color: white;
    padding:30px;
    width: 100%;
    border-radius: 8px;
    margin: 0 20px;
    max-width: 615px;
    text-align: center;
    align-items: center;
    z-index:100;
    display: flex;
    flex-direction: column;
    gap:20px;
    transform: translateY(-100px);
    transition: all 0.25s ease;
}
.multistore_popup_map-intro.visible .multistore_popup_map-intro--content{
    transform: translateY(0);
}
.multistore_popup_map-intro--close{
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 18px;
    color:#606362;
    cursor: pointer;
    transition: all 0.25s ease;
}
.multistore_popup_map-intro--close:hover{
    color:#82bc00;
}
.multistore_popup_map-intro--title{
    font-size: 20px;
    font-weight: bold;
}
.multistore_popup_map-intro--actions{
    display: flex;
    gap:30px;
    justify-content: center;
    align-items: center;
}
.multistore_popup_map-intro--actions button{
    border:none;
    cursor:pointer;
}
.multistore_popup_map-intro--button{
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
body .multistore_popup_map-intro--logo{
    max-width: 150px;
    width: 100%;
    height: auto;
    vertical-align: top;
}

@media screen and (max-width: 767px) {
    .multistore_popup_map-intro--actions{
        flex-direction: column;
        gap: 10px;
    }
}