html {
  scrollbar-gutter: stable;
  scroll-behavior: smooth;
}
.header-main-area{
  position: relative;
}
.search-wrap .form-search input.input-text{
  border: 2px solid #727272;
}
.search-wrap .form-search .search-btn {
  background: #fff;
  color: #FF7000;
  border-color: #fff;
}
.user-data {
  margin-left: 8px;
}
.suggestionSearchWrapper {
  display: none;
  position: absolute;
  left: 18%;
  padding: 0 12px;
  background: white;
  width: 64%;
  border: 4px solid transparent;
  border-top: none;
  border-bottom: 16px solid transparent;
  border-bottom-left-radius: 28px;
  border-bottom-right-radius: 28px;
  max-height: calc(calc(100vh - 180px) + 4px + 12px);
}
.overlay {
  position: fixed;
  background-color: #0c193a;
  opacity: 0.24;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 9;
}
.search-wrap.openSearch {
  position: absolute;
  z-index: 10;
  width: 100% !important;
}
.openSearch .searchbar-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
}
.openSearch .searchbar-wrapper form {
  width: 64%;
  background: white;
  padding: 8px;
  border-top-left-radius: 28px;
  border-top-right-radius: 28px;
}
.search-wrap .form-search input.input-text {
  outline: none;
}
.listSuggestion {
  margin-bottom: 16px;
  grid-column: 1;
  padding: 0 2px;
}
.articlesSuggestion {
  grid-area: articles;
}
.termsSuggestion {
  grid-area: list;
}
.cloudCategories {
  grid-area: cloud;
}
.suggestionSearchWrapper ul {
  display: grid;
  grid-column-gap: 16px;
  column-gap: 16px;
  grid-template-columns: 310px 1fr;
  grid-template-areas:
    'list articles'
    'list articles'
    'cloud articles'
    'cloud articles';
  padding: 8px 0 0;
  margin: 0;
  height: auto;
  will-change: max-height;
  animation-name: MjgBKF;
  animation-duration: 0.25s;
  animation-timing-function: ease-out;
}
.search-discovery-list {
  display: grid;
  grid-column-gap: 16px;
  column-gap: 16px;
  grid-template-columns: 310px 1fr;
  grid-template-areas:
    'list articles'
    'list articles'
    'cloud articles'
    'cloud articles';
  padding: 8px 0 0;
  margin: 0;
  height: auto;
  list-style: none;
}
.articlesSuggestionWrapper {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-row-gap: 16px;
  row-gap: 16px;
  grid-column-gap: 16px;
  column-gap: 16px;
  margin-top: 8px;
}
.articlesSuggestionWrapper .pInfoDesMax {
  gap: 15px;
}
.titleSuggestions {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  margin: 0;
  padding: 4px;
  width: 100%;
  color: var(--azulEnlace);
  border-radius: 4px;
  font-size: 14px;
  line-height: 20px;
  font-weight: 700;
}
.linkSuggestionWrapper {
  display: flex;
  align-items: center;
  margin: 1px 0;
}
.linkSuggestion {
  display: inline-flex;
  align-items: center;
  flex: 1 1 auto;
  color: #0c193a;
  letter-spacing: 0.3px;
  padding: 8px 4px;
  text-decoration: none;
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
}
.linkSuggestion:hover {
  color: #0c193a;
  background: #ecedf0;
  border-radius: 8px;
  outline: none;
}
.cloudSuggestionWrapper {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.cloudSuggestion {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  text-align: center;
  outline: none;
  margin: 2px;
  padding: 0 16px;
  height: 32px;
  border-radius: 16px;
  color: #0c193a;
  line-height: 32px;
  font-family: Open Sans, mm-main, arial, sans-serif;
  transition: 0.2s ease;
  white-space: nowrap;
  border: 1px solid #d8dadf;
  font-size: 12px;
}
.cloudSuggestion:hover {
  color: #0c193a;
  background: #ecedf0;
  outline: none;
}
.cloudSuggestion:hover a {
  color: #0c193a;
}
.articleSuggestion {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 146px;
  height: 240px;
  max-width: 146px;
  min-width: 146px;
  flex-direction: column;
  position: relative;
  padding: 8px;
  background: #fff;
  border: 1px solid #ecedf0;
  box-shadow: 0 4px 8px rgb(0 0 0 / 8%);
  border-radius: 8px;
  text-decoration: none;
  color: #0c193a;
}
.articleSuggestion:hover {
  box-shadow: 0 8px 12px 0 rgb(0 0 0 / 8%);
}
.titleArticle {
  font-size: 12px;
  line-height: 16px;
  align-self: center;
  margin-bottom: 4px;
  height: 33px;
  width: 100%;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  max-height: 40px;
  margin-top: 14px;
}

.closeSearchBarMobile {
  display: none;
}

.loading .titleSuggestions {
  height: 28px;
}

.titleSuggestions a {
  text-decoration: underline;
  color: var(--azulEnlace);
}

.loader {
  background-image: linear-gradient(90deg,#ecedf0,#d8dadf,#ecedf0,#d8dadf);
  animation: loader 1.2s linear infinite;
  background-size: 400%;
  border-radius: 8px;
}

.search-price .oldPriceND:not(.dto) {
  text-decoration: line-through;
}

.no_result {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: start;
  padding: 10px;
}

@keyframes loader {
  0% {
    background-position: 90%;
  }
  100% {
    background-position: 0;
  }  
}

@media only screen and (min-width: 1024px) {
  .linkSuggestion {
    padding: 6px;
  }
}

@media screen and (max-width: 1024px) {
  .overlay[data-overlay="overlay-search"] {
    z-index: 10 !important;
  }
  .suggestionSearchWrapper ul {
    grid-template-areas:
      'list cloud'
      'articles articles';
    grid-template-columns: 1fr 1fr;
  }
  .suggestionSearchWrapper {
    width: 100%;
    left: 0;
    overflow-y: auto;
  }
  .articleSuggestion {
    width: auto;
    min-width: auto;
    margin: auto;
  }
  .search-wrap.openSearch {
    top: 0;
    right: 0;
  }
  .openSearch .searchbar-wrapper form {
    padding: 15px;
    width: 100%;
  }
  .openSearch .searchbar-wrapper {
    background-color: white;
  }
  .openSearch .closeSearchBarMobile {
    display: block;
  }
  .openSearch .closeSearchBarMobile {
    display: block;
    width: 30px;
    padding: 10px 0;
    font-size: 20px;
    font-weight: 500;
    margin-left: 5px;
    background: none;
    border: none;
  }
}

@media screen and (orientation: landscape) and (max-width: 1500px) {
  .openSearch .searchbar-wrapper{
    justify-content: start;
  }
  .suggestionSearchWrapper{
    left: 0;
    width: 100%;
    overflow-y: auto;
  }
  .openSearch .searchbar-wrapper form{
    width: 100%;
  }
}
