/* TO MOVE INTO SEARCH MODULE */
.header-top .vc__serach_overlay a,
.header-top .vc__serach_overlay a:not(.btn):not(.nav-link) {
    color: #333;
    fill: #333;
    font-size: 16px;
}

.vc__serach_overlay {
    bottom: 0;
    height: 100%;
    left: 0;
    position: fixed;
    right: 0;
    top: 0;
    width: 100%;
    z-index: 999999;
    visibility: hidden;
    pointer-events: none;
    transition: visibility 0s linear 460ms;
}

.vc__serach_overlay.active {
    visibility: visible;
    pointer-events: auto;
    transition-delay: 0s;
}

.vc__search_overlay__backdrop {
    background-color: rgba(0, 0, 0, 0.5);
    bottom: 0;
    left: 0;
    opacity: 0;
    position: absolute;
    right: 0;
    top: 0;
    width: 100%;
    z-index: 1;
    transition: opacity 200ms ease-in-out;
    will-change: opacity;
}

.vc__serach_overlay.active .vc__search_overlay__backdrop {
    opacity: 1;
}

.vc__search_overlay__container {
    background-color: #fff;
    /* min-height: 50vh; */
    width: 100%;
    padding: 40px 0 0;
    position: relative;
    z-index: 10;
    transform: scaleY(0);
    transform-origin: top center;
    transition: transform 260ms cubic-bezier(0.25, 0.8, 0.25, 1);
    transition-delay: 180ms;
    will-change: transform;
}

.vc__serach_overlay.active .vc__search_overlay__container {
    transform: scaleY(1);
    transition-delay: 0s;
}

.vc__search_overlay__container > .container {
    opacity: 0;
    transition: opacity 180ms ease-in-out;
    transition-delay: 0s;
    will-change: opacity;
}

.vc__serach_overlay.active .vc__search_overlay__container > .container {
    opacity: 1;
    transition-delay: 260ms;
}

.vc__search_overlay__form,
.vc__search_overlay__last_typed {
    max-width: 600px;
    margin: 0 auto;
}

.vc__serach_overlay__input {
    border: 1px solid #e3e3e3;
    border-radius: 4px;
    box-shadow: none;
    font-size: 16px;
    padding: 0;
    width: 100%;
    transition: all cubic-bezier(0.215, 0.610, 0.355, 1) 0.2s;
}

.vc__search_overlay__form input {
    border: none;
    line-height: 46px;
    padding: 0 12px;
    width: 100%;
}

.vc__search_overlay__form input::placeholder {
    font-size: 12px;
}

.vc__search_overlay__form input:focus,
.vc__search_overlay__form input:focus-visible {
    border: none;
    box-shadow: none;
    outline: none;
}

.vc__search_overlay__quick_resoults,
.vc__search_overlay__last_typed {
    margin-top: 40px;
}

.vc__search_overlay__last_typed {
    min-height: 333px;
}

.vc__search_overlay__last_typed ul li a {
    border-bottom: 1px solid #e3e3e3;
    cursor: pointer;
    display: block;
    padding: 8px 12px;
    transition: all cubic-bezier(0.215, 0.610, 0.355, 1) 0.2s;
}

.vc__search_overlay__last_typed ul li a:hover {
    background-color: #f5f5f5;
}

.vc__search_overlay__last_typed:not(.active),
.vc__search_overlay__quick_resoults:not(.active) {
    display: none;
}

.vc__search_overlay__quick_resoults .categories ul li a {
    border-bottom: 1px solid #e3e3e3;
    cursor: pointer;
    display: block;
    padding: 8px 0;
}

.vc__search_overlay__quick_resoults .categories {
    background-color: #f3f3f3;
}

body .vc__search_overlay__quick_resoults .product-miniature .thumbnail-container {
    min-height: unset;
}

.vc__search_overlay__quick_resoults .loading-grid,
.vc__search_overlay__quick_resoults .results-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
}

@media (max-width: 767px) {
    .vc__search_overlay__quick_resoults .categories {
        background-color: transparent;
    }

    .vc__search_overlay__quick_resoults .results-grid.vc__search_results_mobile_swiper {
        display: block;
    }

    .vc__search_overlay__quick_resoults .results-grid.vc__search_results_mobile_swiper .swiper-slide {
        height: auto;
    }

    .vc__search_overlay__quick_resoults .results-grid.vc__search_results_mobile_swiper .product-miniature-default .product-title {
        font-size: 1rem !important;
    }
}

.vc__search_overlay__quick_resoults .loading-list:not(.active),
.vc__search_overlay__quick_resoults .loading-grid:not(.active),
.vc__search_overlay__quick_resoults .suggestions-grid:not(.active),
.vc__search_overlay__quick_resoults .results-grid:not(.active) {
    display: none;
}

/* SKELETON */
.skeleton-loading {
  display: inline-block;
  height: 1em;
  position: relative;
  overflow: hidden;
  background-color: #DDDBDD;
}
.skeleton-loading::after {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  transform: translateX(-100%);
  background-image: linear-gradient(90deg, rgba(255, 255, 255, 0) 0, rgba(255, 255, 255, 0.2) 20%, rgba(255, 255, 255, 0.5) 60%, rgba(255, 255, 255, 0));
  -webkit-animation: shimmer 1.5s infinite;
          animation: shimmer 1.5s infinite;
  content: "";
}
@-webkit-keyframes shimmer {
  100% {
    transform: translateX(100%);
  }
}
@keyframes shimmer {
  100% {
    transform: translateX(100%);
  }
}