body.no-scroll {
  overflow: hidden;
}

#searchInput {
  -webkit-appearance: none;
  appearance: none;
  background-color: #fff !important;
  color: #000;
  border-radius: 0;
}

#searchInput::-webkit-search-decoration,
#searchInput::-webkit-search-cancel-button,
#searchInput::-webkit-search-results-button,
#searchInput::-webkit-search-results-decoration {
  -webkit-appearance: none;
}

#searchInput:-webkit-autofill,
#searchInput:-webkit-autofill:hover,
#searchInput:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 1000px #fff inset !important;
  box-shadow: 0 0 0 1000px #fff inset !important;
  -webkit-text-fill-color: #000 !important;
}

.c-search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.6);
  z-index: 900;
  backdrop-filter: blur(1px);
}

.c-search-panel {
  position: fixed;
  z-index: 1000;
  left: 50%;
  transform: translateX(-50%);
  width: min(815px, 92vw);
}

.c-search-panel[hidden],
.c-search-overlay[hidden],
#searchResultsWrap[hidden] { display: none !important; }

.c-search-panel__inner {
  height: 100%;
  background: #fff;
  border-radius: 28px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border: 1px solid #DEE3ED;
  overflow: hidden;
}

/* Input */
.c-search-input {
  display: grid;
  grid-template-columns: 40px 1fr 24px;
  align-items: center;
}
.c-search-input input {
  border: 0;
  outline: none;
  width: 100%;
  font-size: 16px;
  font-weight: 600;
  line-height: 22px;
  height: 40px;
  color: #222943;
}

.c-search-horizontal-rule{
  height: 1px;
  background: #DEE3ED;
}

.c-search-results-horizontal-rule{
  height: 1px;
  background: #DEE3ED;
  margin: 4px 0;
}
#searchResultsWrap:not(:has(.c-search-group:not([hidden]))) .c-search-results-horizontal-rule {
  display: none;
}

#searchResultsWrap:not(
  :has(
    .c-popular-searches--compact:not(:empty),
    .c-popular-search-words--compact:not(:empty)
  )
) .c-search-results-horizontal-rule {
  display: none;
}

.c-search-input__icon-left,
.c-search-input__icon-right{
  border:none;
  background:transparent;
  padding: 0;
  height: 24px;
  width: 24px
}


.c-search-input__icon-left:hover,
.c-search-input__icon-left:focus,
.c-search-input__icon-right:hover,
.c-search-input__icon-right:focus {
  box-shadow:none;
  outline: none;
}

.c-search-input__icon-left i,
.c-search-input__icon-right i{
  font-size: 24px;
}

.c-search-input__icon-left i::before,
.c-search-input__icon-right i::before{
  color:black;
}

/* Results */
#searchSuggestions {
  max-height: calc(100vh - 224px);
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: #A5B2C3 transparent;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

#searchSuggestions::-webkit-scrollbar {
  width: 2px;
  height: 2px;
}

#searchSuggestions::-webkit-scrollbar-track {
  background: transparent;
}

#searchSuggestions::-webkit-scrollbar-thumb {
  background: #A5B2C3;
  border-radius: 2px;
  border: 0;
}
.c-results-wrap{
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.c-search-group-title {
  font-weight: 700;
  font-size: 16px;
  line-height: 22px;
  align-items: center;
  color: #002855;
  padding: 0 8px;
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}
.c-result-list {
  display: grid;
  gap: 16px;
}
.c-result-list .c-result-item:last-of-type {
  margin-bottom: 20px;
}
.c-result-item {
  font-weight: 600;
  font-size: 16px;
  line-height: 22px;
}
.c-result-link {
  display: block;
  padding-left: 40px;
  color: #222943;
}
.c-result-link:hover { color: inherit; text-decoration: none; }

.c-result-link .title {
  min-width: 0;
}

.c-result-link .icon-arrows-right {
  rotate: -45deg;
}

/* (OLD) Popular Search (New) -> Popular Devices Area */
.c-popular-wrap{
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.c-popular-searches-heading {
  font-weight: 700;
  font-size: 16px;
  line-height: 22px;
  vertical-align: middle;
  letter-spacing: 0;
  color: #002855;
}
.c-popular-searches {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  align-items: stretch;
}

.c-popular-searches-one {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  align-items: stretch;
}
.c-popular-searches-item-link {
  display: block;
  height: 100%;
}
.c-popular-searches-item-link:hover{
  text-decoration: none;
}
.c-popular-searches-item {
  display: flex;
  height: 100%;
  border-radius: 28px;
  border: 1px solid #DEE3ED;
  padding: 16px 24px;
  gap: 12px;
  cursor: pointer;
  align-items: center;
}
.c-popular-searches-item-img{
  flex: 0 0 53px;
  width: 53px;
  height: 66px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.c-popular-searches-item-img img {
  width: 53px;
  height: 66px;
  object-fit: contain;
}
.c-popular-searches-item-content{
  display: flex;
  flex-direction: column;
  min-height: 100%;
  width: 100%;
  max-width: 216px;
  justify-content: center;
}
.c-popular-searches-item-product-brand{
  font-weight: 700;
  font-size: 16px;
  line-height: 22px;
  color: #222943;
}
.c-popular-searches-item-product-model{
  font-weight: 600;
  font-size: 16px;
  line-height: 22px;
  color: #222943;
}
.c-popular-searches-item-product-device-tag{
  font-weight: 600;
  font-size: 12px;
  line-height: 15px;
  color: #049EAD;
}

.c-popular-searches-item-product-brand,
.c-popular-searches-item-product-model,
.c-popular-searches-item-product-device-tag{
  overflow-wrap: anywhere;
  word-break: break-word;
  hyphens: auto;
}
.c-popular-searches-item-price{
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: auto;
}

.c-popular-searches-fixed {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.c-search-panel.has-query #popularSearchesWrap {
  display: none;
}

.c-search-panel.is-empty #searchResultsWrap {
  display: none;
}
body.path-frontpage .c-search-toggle {
  display: inline-flex;
}
@media (max-width: 991px) {
  #searchSuggestions {
    max-height: calc(100vh - 250px);
    padding: 0 0 32px 12px;
  }
  .c-popular-wrap, .c-popular-searches--compact, .c-search-group{
    padding-right: 12px;
  }
  .c-search-panel__inner{
    padding: 0;
  }
  .c-search-input{
    padding: 16px 12px 0;
  }
  .c-search-horizontal-rule{
    margin: 0 12px;
  }
  .c-search-results-horizontal-rule{
    margin-right: 12px;
  }
  .c-search-panel{
    top: 97px;
    width: 100%;
    padding: 0 12.5px;
  }
  body.path-frontpage .c-search-toggle {
    display: none;
  }
  .c-popular-searches-item-img{
    flex: 0 0 92px;
    width: 92px;
    height: 92px;
  }
  .c-popular-searches-item-img img{
    width: 92px;
    height: 92px;
  }
}
@media (max-width: 576px) {
  .c-popular-wrap{
    padding-right: 0;
  }
  .c-popular-searches-fixed{
    padding-right: 0;
  }
  .c-popular-searches-item-img{
    flex: 0 0 53px;
    width: 53px;
    height: 66px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
  }
  .c-popular-searches-item-img img{
    width: 53px;
    height: 66px;
    object-fit: contain;
  }
  .c-popular-searches-one{
    display: block;
    padding-right: 12px;
  }
  .c-popular-searches {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 8px;
  }
  .c-popular-searches::-webkit-scrollbar {
    display: none;
  }
  .c-popular-searches--compact{
    padding-right: 0;
  }
  .c-popular-searches .c-popular-searches-item-link {
    flex: 0 0 279px;
    scroll-snap-align: start;
  }
  .c-popular-searches > .c-popular-searches-item-link:last-child {
    padding-right: 12px;
  }
}

/* Mobile Search */
.c-search-inline{
  padding-left: 12.5px;
  padding-right: 12.5px;
}
.c-search-input-mobile{
  display: flex;
  gap: 12px;
  align-items: center;
  border-radius: 100px;
  outline: 1px solid #DEE3ED;
  background-color: #F0F2F5;
}

.c-search-input-mobile .icon-search{
  font-size: 24px;
  padding-left: 16px;
}

.c-search-input-mobile .icon-search::before{
  color: rgba(0, 0, 0, 0.4);
}

.c-search-input-mobile input {
  border: 0;
  outline: none;
  width: 100%;
  height: 54px;
  background-color: #F0F2F5;
  border-radius: 100px;
}

.c-search-input-mobile input::placeholder {
  color: rgba(0, 0, 0, 0.4);
  font-size: 14px;
  font-weight: 700;
  line-height: 18px;
}


/* Popular Searches Area  */
.c-search-panel.has-query #popularSearchWordsWrap {
  display: none;
}

.c-popular-search-words{
  border: 1px solid #05B4C7;
  border-radius: 20px;
  padding: 8px 12px;
  flex: 0 0 auto;
  scroll-snap-align: start;
  white-space: nowrap;
}
.c-popular-search-words:hover{
  text-decoration: none;
  color: #222943;
}
.c-popular-search-words__title{
  font-size: 14px;
  font-weight: 600;
  line-height: 18px;
  color: #222943;
  display: flex;
  gap: 4px;
  align-items: center;
  white-space: nowrap;
}
.c-popular-search-words__title i{
  width: 16px;
  height: 16px;
}
.c-popular-search-words__title i::before{
  display: inline-block;
  width: 12px;
  height: 10px;
  font-size: 11px;
}
.c-popular-search-words-wrap .row{
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

@media (max-width: 991px) {
  .c-popular-search-words-wrap .row{
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .c-popular-search-words-wrap .row::-webkit-scrollbar{
    display: none;
  }
  .c-popular-search-words-wrap .row > .c-popular-search-words:last-child {
    margin-right: 12px;
  }
}
