/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */
 #shopmap-group,
 #shopmap {
    width: 100%;
    height: 100%;
}

#shopmap-group{
    position: relative;
}

#custom-modal {
    position: absolute;
    min-width: 280px;
    max-width: 320px;
    background-color: #fff;
    padding: 16px;
    border-radius: 8px;
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.2);
    transform: translate(-50%, 0);
    z-index: 9999;
    font-family: 'Arial', sans-serif;
    line-height: 1.4;
}

#custom-modal .modal-title {
    font-weight: bold;
    margin-bottom: 8px;
}

#custom-modal .modal-info {
    margin-bottom: 6px;
    font-size: 14px;
    color: #333;
}

#custom-modal a.modal-link {
    color: #2c7be5;
    text-decoration: none;
    word-break: break-word;
}

#custom-modal .modal-category {
    margin-top: 10px;
    display: inline-block;
    font-weight: 600;
    color: #000;
    cursor: pointer;
    border-top: 1px solid #ddd;
    padding-top: 6px;
}


.hidden {
    display: none;
}

/** Search autocomplte **/
.autocomplete-container {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #ddd;
    border-top: none;
    border-radius: 0 0 4px 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    z-index: 1000;
    max-height: 300px;
    overflow-y: auto;
    display: none;
}

.autocomplete-suggestion {
    padding: 12px 16px;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.2s ease;
}

.autocomplete-suggestion:last-child {
    border-bottom: none;
}

.autocomplete-suggestion:hover,
.autocomplete-suggestion.selected {
    background-color: #f5f5f5;
}

.suggestion-main {
    font-weight: 500;
    color: #333;
    margin-bottom: 2px;
}

.suggestion-secondary {
    font-size: 13px;
    color: #666;
}

.search-input-container {
    position: relative;
    display: inline-block;
    width: 100%;
}

#search-shop-input {
    width: 100%;
    position: relative;
}
.autocomplete-container.show {
    display: block;
    animation: fadeIn 0.2s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/*** CSS LOADER **/
/* HTML: <div class="loader"></div> */
.js-offcanvas-filters.is-active .bg-white.flex.flex-col
{
    position: relative;
}
.loader-container
{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    /* background-color: rgba(255, 255, 255, 0.8); */
}
.loader {
  color: #000000;
  font-size: 45px;
  text-indent: -9999em;
  overflow: hidden;
  width: 1em;
  height: 1em;
  border-radius: 50%;
  position: relative;
  transform: translateZ(0);
  animation: mltShdSpin 1.7s infinite ease, round 1.7s infinite ease;
}

.loader-products{
    position: fixed;
    background-color: rgb(29 26 26 / 69%);
}

.loader-products .loader{
    color: #ffffff;
}

@keyframes mltShdSpin {
  0% {
    box-shadow: 0 -0.83em 0 -0.4em,
    0 -0.83em 0 -0.42em, 0 -0.83em 0 -0.44em,
    0 -0.83em 0 -0.46em, 0 -0.83em 0 -0.477em;
  }
  5%,
  95% {
    box-shadow: 0 -0.83em 0 -0.4em, 
    0 -0.83em 0 -0.42em, 0 -0.83em 0 -0.44em, 
    0 -0.83em 0 -0.46em, 0 -0.83em 0 -0.477em;
  }
  10%,
  59% {
    box-shadow: 0 -0.83em 0 -0.4em, 
    -0.087em -0.825em 0 -0.42em, -0.173em -0.812em 0 -0.44em, 
    -0.256em -0.789em 0 -0.46em, -0.297em -0.775em 0 -0.477em;
  }
  20% {
    box-shadow: 0 -0.83em 0 -0.4em, -0.338em -0.758em 0 -0.42em,
     -0.555em -0.617em 0 -0.44em, -0.671em -0.488em 0 -0.46em, 
     -0.749em -0.34em 0 -0.477em;
  }
  38% {
    box-shadow: 0 -0.83em 0 -0.4em, -0.377em -0.74em 0 -0.42em,
     -0.645em -0.522em 0 -0.44em, -0.775em -0.297em 0 -0.46em, 
     -0.82em -0.09em 0 -0.477em;
  }
  100% {
    box-shadow: 0 -0.83em 0 -0.4em, 0 -0.83em 0 -0.42em, 
    0 -0.83em 0 -0.44em, 0 -0.83em 0 -0.46em, 0 -0.83em 0 -0.477em;
  }
}

@keyframes round {
  0% { transform: rotate(0deg) }
  100% { transform: rotate(360deg) }
}
 

/*search form */
form.searchwp-form .searchwp-form-input-container
{
    position: relative;
}