.header-top-wrapper {
  display: grid;
  grid-template-columns: 12.6rem 1fr auto auto;
  gap: min(1.6rem, 2vw);
  align-items: center;
  padding: 1.8rem 0;
  transition: 0.6s ease;
}

#header {
  position: sticky;
  top: 0;
  z-index: 20;
  pointer-events: none;
}

.header-secondary {
  background: #303030;
  color: #fff;
  position: relative;
  transition: 0.6s;
  z-index: -1;
  pointer-events: auto;
}

.nav-up .header-secondary {
  transform: translateY(-7rem);
  pointer-events: none;
}

.nav-up .header-top-wrapper {
  padding: 1rem 0;
}

.header-primary {
  background: #fff;
  box-shadow: 0 1px 19px #00000017;
  pointer-events: all;
}

.header-secondary a:hover {
  color: var(--c-primary);
}

.header-menu > li > a {
  transition: 0.3s !important;
}

/* search */
.search-pup-up {
  position: absolute;
  inset: 0;
  top: 0;
  z-index: 22;
  right: 0;
  width: var(--search-width);
  border-radius: 3.4rem;
  display: none;
}

.search-form {
  background: #f5f5f5;
  border-radius: 8px;
  height: 4.8rem;
  display: flex;
  position: relative;
  width: auto;
  align-items: center;
  padding: 1.8rem;
  gap: 0.6rem;
  cursor: pointer;
  isolation: isolate;
  font-size: var(--fs-12);
  color: #adadad;
}

#search-text {
  color: #303030;
  font-size: 14px;
  width: 100%;
}

.remove-result {
  position: absolute;
  left: 1.5rem;
  font-size: 1.1rem;
  display: none;
}

.search-form .icon-search {
  font-size: 18px;
  color: #303030;
  display: block;
  transition: 1s;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.results-box {
  background: #fff;
  border-radius: 8px;
  /* padding: 1rem 3rem; */
  margin-top: 1rem;
  max-height: 60vh;
  overflow-y: auto;
}

.suggest__title {
  font-size: var(--fs-14);
  font-variation-settings: var(--fw-400);
  display: block;
  margin-bottom: 0.8rem;
  padding: 1rem 2rem 0rem;
}

.search__menu {
  display: flex;
  white-space: nowrap;
  overflow-x: auto;
  gap: 10px;
  margin-right: 1.5rem;
  margin-bottom: 1rem;
}

.search__menu a {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  font-size: 13px;
  border: 1px solid var(--c-primary);
  color: var(--c-primary);
  border-radius: 8px;
  text-align: center;
  padding: 0 18px;
  margin-bottom: 8px;
}

.search__menu a:hover {
  color: var(--c-secondary);
  border-color: var(--c-secondary);
}

.autocomplete-suggestions {
  padding: 1rem 2rem;
  font-size: var(--fs-14-min);
}

.autocomplete-suggestion:not( :has(.product__title) ) {
  display: flex;
  gap: 1rem;
  align-items: center;
  background: #f5f5f5;
  margin-bottom: 1rem;
  padding: 7px;
  border-radius: 8px;
  cursor: pointer;
}

.autocomplete-suggestion:not( :has(.search-name) ):not( :has(.product__title) ) {
  display: none;
}

.search__menu.cat-menu {
    flex-flow: wrap;
}

.autocomplete-suggestions .search-image {
  width: 75px;
  aspect-ratio: 1/1;
  line-height: 1.5;
  border-radius: 8px;
  flex: none;
  object-fit: cover;
}

.autocomplete-suggestions .search-name {
  line-height: 1.5;
}

.autocomplete-suggestions .search-price {
  margin-right: auto;
  text-align: left;
}

.autocomplete-suggestions .search-price del {
  text-decoration: line-through;
  color: #b1afaf;
  font-size: 13px;
}

.loader-search svg {
  width: 2rem;
  height: 2rem;
}

.loader-search {
  display: none;
}

.loader-search.loading {
  display: block;
}

.loader circle {
  transform-origin: 50% 50%;
  animation: spinner 2s linear infinite;
  -webkit-animation: spinner 2s linear infinite;
  transform: rotate(-90deg);
  stroke: var(--c-secondary);
  stroke-dasharray: 132;
  fill: #3e3e3e00;
}

@keyframes spinner {
  0% {
    transform: rotate(-90deg);
    stroke-dashoffset: 132;
  }

  50% {
    transform: rotate(270deg);
    stroke-dashoffset: 28;
  }

  100% {
    transform: rotate(630deg);
    stroke-dashoffset: 132;
  }
}

/* .search__menu a::before {
  content: "\e90d";
  font-family: "icomoon";
  font-size: 10px;
} */
.search-close {
  position: fixed;
  inset: 0;
  background-color: #0000006e;
  z-index: 20;
  display: none;
}

.fake-input {
  background: #f5f5f5;
  border-radius: 8px;
  height: 4.8rem;
  display: flex;
  position: relative;
  width: auto;
  align-items: center;
  padding: 1.8rem;
  gap: 0.6rem;
  cursor: pointer;
  isolation: isolate;
  font-size: var(--fs-12);
  color: #adadad;
}

.fake-input i {
  font-size: 18px;
  color: #303030;
  display: block;
  transition: 1s;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fake-placeholder {
  font-size: var(--fs-14);
  color: #303030;
  font-variation-settings: var(--fw-200);
}

.btn--submit-order {
  background: var(--c-secondary);
  color: #ffff;
  font-size: min(14px, 3.6vw);
  padding: min(0.9rem, 1vw) min(1.9rem, 3vw);
  height: min(4.8rem, 11.7vw);
  border: 1px solid transparent;
}

.btn--submit-order:hover {
  border-color: var(--c-secondary);
  color: var(--c-secondary);
  background: #fff;
}

.btn--header-call {
  background: var(--c-primary);
  color: #ffff;
  border: 1px solid transparent;
}

.btn--header-call:hover {
  border-color: var(--c-primary);
  color: var(--c-primary);
  background: #fff;
}

.header-top-wrapper .btn i {
  width: 2.6rem;
  height: 2.6rem;
  background: #ffffff61;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  box-shadow: 0 0 0 2px #ffffff33;
  transition: 0.3s;
}

.btn--submit-order:hover i {
  background: var(--c-secondary);
  color: #fff;
  box-shadow: 0 0 4px 4px #0040b03d;
}

.btn--header-call:hover i {
  background: var(--c-primary);
  color: #fff;
  box-shadow: 0 0 4px 4px #fc8b0073;
}

.search-close-btn {
  color: #303030;
  font-size: 15px;
  width: 35px;
  cursor: pointer;
}

input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-results-button,
input[type="search"]::-webkit-search-results-decoration {
  display: none;
}

#search-text::-webkit-input-placeholder {
  font-size: var(--fs-12);
  color: #adadad;
}

#search-text::-moz-placeholder {
  font-size: var(--fs-12);
  color: #adadad;
}

#search-text:-ms-input-placeholder {
  font-size: var(--fs-12);
  color: #adadad;
}

#search-text::-ms-input-placeholder {
  font-size: var(--fs-12);
  color: #adadad;
}

#search-text::placeholder {
  font-size: var(--fs-12);
  color: #adadad;
}

/**************************/
/*mobile menu*/
/**************************/
#menumobile .call-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: #fff;
  background: var(--c-primary);
  position: absolute;
  bottom: 0;
  left: 4px;
  right: 4px;
  bottom: 4px;
  border-radius: 10px;
  padding: 4px;
}

#menumobile .call-header i {
  font-size: 20px;
}

#mask {
  position: fixed;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.5);
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: none;
}

#menumobile {
  position: fixed;
  top: 0;
  bottom: 0;
  right: -300px;
  width: 250px;
  background: #fff;
  z-index: 99991;
  transition: all 0.5s;
  box-sizing: border-box;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.3) !important;
}

#menumobile .btn-acf-form {
  width: 100%;
  border-radius: 0;
  height: 4rem;
}

#menumobile img {
  /*! filter: brightness(0)invert(1); */
  max-width: 130px;
}

#nomenumobile {
  cursor: pointer;
  transition: all 0.5s;
  width: 25px;
  height: 25px;
  background: #fff;
  text-align: center;
  border-radius: 3px;
  display: inline-flex;
  color: var(--c-primary);
  /* border: 1px solid; */
  font-size: 25px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  position: absolute;
  top: 0.7rem;
  left: 1rem;
}

#nomenubasket {
  float: right;
  cursor: pointer;
  transition: all 0.5s;
  width: 25px;
  height: 25px;
  background: var(--danger);
  text-align: center;
  border-radius: 3px;
  display: inline-flex;
  color: #fff;
  font-size: 11px;
  align-items: center;
  justify-content: center;
}

.come-menumobile {
  right: 0 !important;
}

.title-mm {
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* border-bottom: 1px solid var(--c-primary); */
  background: #fff;
  border-radius: 0 0 0 32px;
  /* box-shadow: inset 0 -4px 18px #c1c1c17d; */
  background: #f5f5f5;
}

.title-mm img {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.btn-mm {
  padding: 0 20px;
  margin-top: 20px;
}

.btn-mm a {
  display: flex;
}

.title-sub-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  flex-flow: row-reverse;
}

.title-sub-head strong {
  font-family: var(--bold_font);
}

.main-mm {
  padding: 20px;
  overflow-y: auto;
  height: calc(100vh - 17rem);
  font-size: 14px;
}

.main-mm ul li a {
  color: #222;
  display: block;
  padding: 8px 0;
  position: relative;
}

.main-mm ul li.menu-item-has-children a {
  width: 80%;
}

.main-mm ul li a:is(:hover, :focus) {
  color: var(--c-primary);
}

.main-mm ul li > .sub-menu {
  position: fixed;
  top: 0;
  bottom: 0;
  width: 250px;
  background: #fff;
  right: -250px;
  transition: 0.3s;
  z-index: 9;
  padding: 20px;
  overflow-y: auto;
}

.childer i {
  position: absolute;
  cursor: pointer;
  top: 9px;
  border: solid #303030;
  border-width: 0px 2px 2px 0px;
  display: inline-block;
  padding: 3px;
  transform: rotate(135deg);
  -webkit-transform: rotate(135deg);
  right: 8px;
}

.childer {
  position: absolute;
  left: -25%;
  cursor: pointer;
  top: 10px;
  width: 25px;
  height: 25px;
  background: #f0eded;
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.come-submenu {
  right: 0 !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.come-submenu li a:after {
  display: none !important;
}

.sub-closer {
  cursor: pointer;
  top: 10px;
  width: 25px;
  height: 25px;
  background: #303030;
  border-radius: 3px;
  overflow: hidden;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sub-closer i {
  cursor: pointer;
  top: -0;
  border: solid #fff;
  border-width: 0px 2px 2px 0px;
  display: inline-block;
  padding: 3px;
  transform: rotate(-45deg);
  -webkit-transform: rotate(-45deg);
  position: relative;
  left: 0;
}

.title-subcome {
  color: #303030;
  font-weight: normal;
  position: relative;
  top: 2px;
}

.header-mm {
  width: 37px;
  height: 37px;
  background: #f5f5f5;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 23px;
  flex: none;
}

.autocomplete-suggestion .product__title {
    font-size: var(--fs-14);
    font-variation-settings: var(--fw-400);
    display: block;
    margin-bottom: 0.8rem;
    padding: 1rem 6px 0rem;
    background: none;
}

/**************************/
/* BELOW 576px */
/**************************/
@media (min-width: 36em) {}

/**************************/
/* ABOVE 768px */
/**************************/
@media (min-width: 48em) {}

/**************************/
/* ABOVE 992px */
/**************************/
@media (min-width: 62em) {}

/**************************/
/* ABOVE 1120px */
/**************************/
@media (min-width: 70em) {}

/**************************/
/* ABOVE 1200px */
/**************************/
@media (min-width: 75em) {
  .header-mm {
    display: none;
  }

  .ot-search {
    margin-left: 32.5rem;
    position: relative;

    margin-right: 0.5vw;
  }

  .search-form .search-close-js {
    display: none;
  }
}

/**************************/
/* BELOW 1200px */
/**************************/
@media (max-width: 75em) {
  .search-form i.icon-close-circle {
    display: none !important;
  }

  .fade-paceholder,
  .btn--header-call,
  .header-secondary {
    display: none;
  }

  .ot-logo-header {
    order: 6;
    max-width: 12rem;
    margin-right: auto;
  }

  .btn--submit-order {
    margin-right: auto;
  }

  .header-top-wrapper {
    display: flex;
  }

  .fake-input {
    width: 37px;
    height: 37px;
    background: #f5f5f5;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 23px;
    color: #303030;
    padding: 0;
  }

  .search-form .icon-search {
    display: none;
  }

  .search-pup-up {
    background-color: #fff;
    position: fixed;
    width: 100%;
    border-radius: 0;
  }

  .results-box {
    max-height: 500px;
  }

  .search-form {
    background: #fff;
    border-radius: 0;
    border-bottom: 1px solid #eceaea;
  }
}

/**************************/
/* BELOW 992px */
/**************************/
@media (max-width: 62em) {}

/**************************/
/* BELOW 768px */
/**************************/
@media (max-width: 48em) {}

/**************************/
/* BELOW 576px */
/**************************/
@media (max-width: 36em) {}