@charset "UTF-8";

.fast-search-disabled {
  pointer-events: none;
  cursor: default;
}

.fast-search-disabled .input input,
.header-search.fast-search-disabled,
.search-box.fast-search-disabled .header-search {
  cursor: default;
}

#mask.fast-search-mask {
  background: #000000b2;
  z-index: 99998;
}

body.fast-search-scroll-lock {
  overflow: hidden;
  /* position: fixed;
  width: 100%;
  left: 0;
  right: 0; */
}

/* html.fast-search-scroll-lock {
  overflow: hidden;
} */

body.fast-search-desktop-open #header {
  /* position: relative; */
  z-index: 100000;
}

#search-by-json.is-open {
  position: relative;
  z-index: 1;
  @media (width>= 992px) {
    box-shadow: 0 1rem 6rem 100vmax rgb(0 0 0 / 50%);
    clip-path: inset(-100vmax -100vmax -100vmax -100vmax);
  }
}

.search-by-json {
  width: 100%;
  position: relative;
  background-color: #ffffff33;
  height: 38px;
  display: flex;
  align-items: center;
  border-radius: 8px;
  padding: 6.5px 8px;
}

.search-by-json .d-none {
  display: none !important;
}

.search-by-json .show-hide {
  transition: all 0.7s;
}

.search-by-json .fast-hide {
  opacity: 0;
  overflow: hidden;
  visibility: hidden;
}

.search-by-json .fast-show {
  opacity: 1;
  visibility: visible;
}

.search-by-json .input {
  position: relative;
  display: flex;
  align-items: center;
  height: 41px;
  padding: 0 10px;
  border-radius: 100vw;
}

.search-by-json .input input {
  outline: none;
  border: none;
  background: transparent;
  color: var(--white);
  font-size: 12px;
  font-family: var(--main_font);
  min-width: 334px;
}

.search-by-json .input:has(input:focus) {
  border-color: var(--color2);
}

.search-by-json .input input::placeholder {
  color: var(--white);
  font-size: 16px;
  @media screen and (width < 992px) {
    font-size: 12px;
  }
}

.search-by-json .input .empty {
  position: absolute;
  left: 10px;
  cursor: pointer;
  color: var(--text);
  font-size: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid;
  border-radius: 100vw;
  width: 25px;
  height: 25px;
}

.search-by-json .input .icon {
  cursor: pointer;
  color: var(--color3);
  font-size: 20px;
  width: 20px;
  height: 20px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  margin-left: 4px;
}

.search-by-json .input.active .icon {
  color: var(--color3);
}

.search-by-json .input .icon img {
  width: 20px;
}

.search-by-json .body {
  position: absolute;
  z-index: 99999;
  width: 100%;
  background: #fff;
  margin-top: 5px;
  text-align: center;
  padding: 10px;
  left: 0;
  max-height: none;
  overflow: visible;
  direction: ltr;
}

.search-by-json .body:has(.is-search:not(.d-none)) {
  max-height: 95vh;
  overflow: auto;
}

.search-by-json .body .default,
.search-by-json .body .not-found,
.search-by-json .body .is-search {
  direction: rtl;
}

.search-by-json .body .is-search .list-category ul {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.list-albums {
  display: flex;
  white-space: nowrap;
  gap: 12px;
  padding-bottom: 0.5rem;
  direction: rtl;
  overflow-x: auto;
  width: 100%;
}

.list-services,
.list-posts,
.list-products {
  overflow: auto;
  max-height: 400px;
  direction: ltr;
  /* background: #eae8e973; */
  padding: 10px;
  border-radius: 8px;
  border: 1px solid var(--color3);
}

.list-services > *,
.list-posts > *,
.list-products > * {
  direction: rtl;
}

/* width */
.list-services::-webkit-scrollbar,
.list-posts::-webkit-scrollbar,
.list-products::-webkit-scrollbar {
  height: 4px !important;
  width: 0.3rem !important;
}

/* Track */
.list-services::-webkit-scrollbar-track,
.list-posts::-webkit-scrollbar-track,
.list-products::-webkit-scrollbar-track {
  background: #eae8e4 !important;
  height: 4px !important;
  border-radius: 0.5rem !important;
}

/* Handle */
.list-services::-webkit-scrollbar-thumb,
.list-posts::-webkit-scrollbar-thumb,
.list-products::-webkit-scrollbar-thumb {
  background: var(--color1) !important;
  height: 4px !important;
  border-radius: 0.5rem !important;
}

/* Handle on hover */
.list-services::-webkit-scrollbar-thumb:hover,
.list-posts::-webkit-scrollbar-thumb:hover,
.list-products::-webkit-scrollbar-thumb:hover {
  background: var(--color2);
}

.search-by-json .body .default p {
  text-align: center;
  padding-top: 10px;
  color: #8b8b8b;
}

.search-by-json .body .default .popular,
.search-by-json .body .is-search {
  text-align: right;
}

.search-by-json .body .default .search-banner {
  display: block;
  margin: 0 0 0.875rem;
}

.search-by-json .body .default .popular .title-popular,
.search-by-json .body .is-search .category.popular .title-popular {
  margin-top: 15px;
  font-size: 16px;
  line-height: 2rem;
  margin-bottom: 5px;
  color: var(--text);
  font-variation-settings: "wght" 500;
}

.search-by-json .body .default .popular:first-child .title-popular {
  margin-top: 0;
}

.search-by-json .body .is-search .category.popular .title-popular {
  margin-top: 0;
}

.search-by-json .body .default .popular .menu-popular ul,
.search-by-json .body .is-search .category.popular .menu-popular ul {
  display: flex;
  white-space: nowrap;
  gap: 12px;
  overflow-x: auto;
}

.search-by-json .body .is-search .list-category ul li,
.search-by-json .body .is-search .category.popular .menu-popular ul li {
  margin: 0;
  text-align: center;
  display: inline-block;
}
.search-by-json .fast-search-chip-swiper .swiper-slide a,
.search-by-json .body .is-search .fast-search-album-item,
.search-by-json .body .default .popular .menu-popular ul li a,
.search-by-json .body .is-search .list-category ul li a,
.search-by-json .body .is-search .category.popular .menu-popular ul li a {
  background: var(--color3);
  font-size: 14px;
  color: var(--text);
  padding: 7px 13px;
  user-select: none;
  transition: 0.4s ease;
  position: relative;
  /* background-color: #e9ecf0; */
  border-radius: 8px;
  /* min-width: 130px; */
  /* height: 40px; */
  display: flex;
  align-items: center;
  justify-content: center;
  @media screen and (width < 992px) {
    font-size: 12px;
    padding: 5px 10px;
  }
}
.search-by-json .body .is-search .fast-search-album-item:hover,
.search-by-json .body .default .popular .menu-popular ul li a:hover,
.search-by-json .body .is-search .list-category ul li a:hover,
.search-by-json .body .is-search .category.popular .menu-popular ul li a:hover {
  background: var(--color1);
  color: var(--white);
}

.search-by-json .body .not-found {
  color: #e40000;
  font-size: 16px;
  margin: 50px 0;
}

.search-by-json .body .is-search .category {
  margin-bottom: 10px;
}

.search-by-json .body .is-search .title-posts,
.search-by-json .body .is-search .title-albums,
.search-by-json .body .is-search .title-products,
.search-by-json .body .is-search .title-category,
.search-by-json .body .is-search .title-industry {
  font-size: 16px;
  text-align: right;
  /* margin-bottom: 0; */
  color: var(--text);
  font-variation-settings: "wght" 500;
}

.search-by-json .body .is-search .albums {
  margin-bottom: 1.5rem;
}

/* .search-by-json .body .is-search .fast-search-album-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 140px;
  height: 52px;
  padding: 0 0.75rem;
  background-color: #f8f8f8;
  border-radius: 0.75rem;
  text-decoration: none;
  color: var(--text);
  font-size: 16px;
  transition: 0.3s;
}

.search-by-json .body .is-search .fast-search-album-item:hover {
  background-color: var(--color1);
  color: var(--white);
} */

/* .search-by-json .body .is-search .fast-search-album-item__title {
  font-size: 16px;
  line-height: 1.5;
  text-align: center;
} */

.search-by-json .body .is-search .top-title-search {
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
/* 
.search-by-json .body .is-search .top-title-search .title-posts,
.search-by-json .body .is-search .top-title-search .title-albums,
.search-by-json .body .is-search .top-title-search .title-products {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
} */

.search-by-json .body .is-search .fast-search-view-all {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  line-height: 1.4;
  color: var(--gray, #707070);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.3s;
  font-variation-settings: "wght" 500;
}

.search-by-json .body .is-search .fast-search-view-all .icon-arrow-left {
  font-size: 8px;
  line-height: 1;
  margin-top: -3px;
}

.search-by-json .body .is-search .fast-search-view-all:hover {
  color: var(--color1);
}

.search-by-json .body .is-search .fast-search-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  padding: 0;
  margin-bottom: 1rem;
  background-color: transparent;
  border-radius: 0;
  text-decoration: none;
  color: var(--text);
  transition: color 0.3s;
}
.search-by-json .body .is-search .fast-search-item:last-child {
  margin-bottom: 0;
}
.search-by-json .body .is-search .fast-search-product-item:hover,
.search-by-json .body .is-search .fast-search-post-item:hover {
  background-color: transparent;
  color: inherit;
}

.search-by-json .body .is-search {
  --fast-search-thumb-h: clamp(96px, 28vw, 120px);
  --fast-search-post-thumb-h: clamp(72px, 22vw, 96px);
}

.search-by-json .body .is-search .fast-search-item-img {
  position: relative;
  flex: none;
  overflow: hidden;
  /* height: var(--fast-search-thumb-h); */
  border-radius: 8px;
  background: #f3f2f2;
}

.search-by-json .body .is-search .fast-search-item-img--product {
  aspect-ratio: 1 /1;
  width: 60px;
  /* height: var(--fast-search-thumb-h); */
}

.search-by-json .body .is-search .fast-search-item-img--post {
  aspect-ratio: 1 /1;
  width: 60px;
  /* height: var(--fast-search-post-thumb-h); */
}

@media (width >= 768px) {
  /* .search-by-json .body .is-search .fast-search-item-img--post {
    aspect-ratio: 5 / 3;
  } */
}

.search-by-json .body .is-search .fast-search-item-img img,
.search-by-json .body .is-search .fast-search-item-img-fallback {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  border: 0;
}

.search-by-json .body .is-search .fast-search-item-img-fallback {
  min-height: 100%;
  background: #f8f8f8;
}

.search-by-json .body .is-search .fast-search-item-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: right;
  min-width: 0;
  padding: 2px 0;
  gap: 4px;
}

.search-by-json .body .is-search .fast-search-product-title {
  font-size: 13px;
  line-height: 1.4;
  color: var(--text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.3s;
  font-variation-settings: "wght" 550;
}

.search-by-json .body .is-search .fast-search-product-sku,
.search-by-json .body .is-search .fast-search-product-album {
  font-size: 12px;
  line-height: 1.5;
  color: var(--gray, #707070);
}

.search-by-json .body .is-search .fast-search-post-title {
  font-size: 13px;
  line-height: 1.6;
  color: var(--text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-word;
  max-height: calc(1.6em * 2);
  transition: color 0.3s;
  font-variation-settings: "wght" 500;
}

.search-by-json .body .is-search .fast-search-post-link {
  display: inline-flex;
  margin-top: 0.25rem;
  color: #9b989a;
  font-size: 12px;
  line-height: 1.4;
  transition: color 0.3s ease;
}

.search-by-json
  .body
  .is-search
  .fast-search-product-item:hover
  .fast-search-product-title,
.search-by-json
  .body
  .is-search
  .fast-search-post-item:hover
  .fast-search-post-title,
.search-by-json
  .body
  .is-search
  .fast-search-post-item:hover
  .fast-search-post-link {
  color: var(--color1);
}

#fast-search-body-mobile .is-search .title-products,
#fast-search-body-mobile .is-search .title-posts,
#fast-search-body-mobile .is-search .title-albums {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.search-banner {
  position: relative;
  overflow: hidden;
  width: 100%;
  display: block;
}

.search-banner img {
  width: 100%;
  border-radius: 1rem;
}

#search-by-json-form-mobile {
  display: none;
}

.popup-footer-search {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 9999999;
  padding: 1.5rem 1rem;
  pointer-events: none;
}

.popup-footer-search .fast-search-mobile-popup {
  pointer-events: auto;
  max-width: 630px;
  margin: 0 auto;
}

#search-by-json-mobile.search-by-json {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  height: auto;
  max-height: calc(100vh - 2rem);
  min-height: 0;
  background-color: var(--white);
  border-radius: 1rem;
  padding: 15px;
  box-shadow:
    0 8px 28px rgba(48, 43, 49, 0.14),
    0 2px 8px rgba(48, 43, 49, 0.08);
  border: 1px solid rgba(48, 43, 49, 0.06);
  @media (width < 992px) {
    box-shadow: 0 1rem 6rem 100vmax rgb(0 0 0 / 50%);
    clip-path: inset(-100vmax -100vmax -100vmax -100vmax);
  }
}

.fast-search-mobile__header {
  display: flex;
  justify-content: flex-start;
  margin-bottom: 1rem;
}

.fast-search-mobile .input .empty {
  left: 26px;
}

.fast-search-mobile__close {
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 8px;
  background-color: #f1f2f2;
  color: #000d23;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  font-size: 13px;
}

#search-by-json-mobile .input {
  position: static;
  display: flex;
  align-items: center;
  width: 100%;
  height: 50px;
  padding: 0 4px;
  margin-bottom: 1rem;
  background-color: var(--white);
  border: 1px solid #e8e8e8;
  border-radius: 16px;
  gap: 6px;
}

#search-by-json-mobile .input input {
  display: block;
  flex: 1;
  width: auto;
  min-width: 0;
  color: #000d23;
  font-size: 14px;
}

#search-by-json-mobile .input input::placeholder {
  color: #000d23;
  opacity: 0.6;
}

#search-by-json-mobile .input .icon {
  color: #000d23;
  margin-left: 0;
  margin-right: 0.5rem;
}

#search-by-json-mobile .body {
  position: static;
  z-index: auto;
  width: 100%;
  max-width: 100%;
  margin-top: 0;
  padding: 0;
  max-height: none;
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  background-color: transparent;
  direction: rtl;
  scrollbar-width: thin;
  scrollbar-color: var(--color2) #f1f1f1;
}

#search-by-json-mobile .body:has(.is-search:not(.d-none)) {
  max-height: calc(100vh - 20rem);
  overflow-y: auto;
  overflow-x: hidden;
}

#search-by-json-mobile .body .default,
#search-by-json-mobile .body .not-found,
#search-by-json-mobile .body .is-search {
  direction: rtl;
}

#search-by-json-mobile .body .list-products,
#search-by-json-mobile .body .list-posts {
  direction: ltr;
}

#search-by-json-mobile .body .list-products > *,
#search-by-json-mobile .body .list-posts > * {
  direction: rtl;
}

#search-by-json-mobile .body::-webkit-scrollbar {
  width: 4px;
}

#search-by-json-mobile .body::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 0.5rem;
}

#search-by-json-mobile .body::-webkit-scrollbar-thumb {
  background: var(--color2);
  border-radius: 0.5rem;
}

#search-by-json-mobile .body::-webkit-scrollbar-thumb:hover {
  background: var(--color2);
}

#fast-search-body-mobile .is-search {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  gap: 1.5rem;
}

#fast-search-body-mobile .is-search .albums,
#fast-search-body-mobile .is-search .products,
#fast-search-body-mobile .is-search .posts {
  flex: 0 0 auto;
  max-width: 100%;
  width: 100%;
  margin-bottom: 0;
  padding: 0;
}

#fast-search-body-mobile .is-search .top-title-search {
  margin-bottom: 5px;
}

/* #search-by-json-mobile .body .default .popular .menu-popular ul li a,
#search-by-json-mobile .body .is-search .fast-search-album-item {
  min-width: calc(50% - 10px);
  height: 48px;
  padding: 10px 12px;
  font-size: 14px;
} */

#search-by-json-mobile .body .default .popular .menu-popular ul,
#search-by-json-mobile .list-albums {
  gap: 12px;
}

/* Chip swipers: popular + album categories */
.search-by-json .fast-search-chip-block {
  width: 100%;
}

.search-by-json .fast-search-chip-head {
  display: block;
  margin-bottom: 5px;
}

.search-by-json .fast-search-chip-head .title-popular,
.search-by-json .fast-search-chip-head .title-albums {
  margin: 0;
  border-bottom: 0;
  padding-bottom: 0;
}

.search-by-json .fast-search-chip-head.top-title-search {
  margin-bottom: 1rem;
}

/*
#search-by-json-mobile .fast-search-chip-nav {
  padding-bottom: 1.25rem;
}

#search-by-json-mobile .fast-search-chip-nav .swiper-nav-next,
#search-by-json-mobile .fast-search-chip-nav .swiper-nav-prev {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  border: 1px solid #e8e8e8;
  background: #f8f8f8;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: 0.3s;
  font-size: 0.75rem;
  line-height: 1;
}

#search-by-json-mobile .fast-search-chip-nav .swiper-button-lock {
  display: none !important;
}

#search-by-json-mobile .fast-search-chip-nav .swiper-nav-next:hover,
#search-by-json-mobile .fast-search-chip-nav .swiper-nav-prev:hover {
  background: var(--color1);
  border-color: var(--color1);
  color: var(--white);
}

#search-by-json-mobile .fast-search-chip-nav .swiper-button-disabled {
  opacity: 0.35;
  pointer-events: none;
}
*/

.search-by-json .fast-search-chip-scrollbar {
  position: relative;
  left: auto;
  bottom: auto;
  width: 100%;
  height: 4px;
  margin-top: 0.75rem;
  background: #eae8e4;
  border-radius: 0.5rem;
}

.search-by-json .fast-search-chip-scrollbar .swiper-scrollbar-drag {
  background: var(--color1);
  border-radius: 0.5rem;
  cursor: grab;
}

.search-by-json .fast-search-chip-scrollbar.swiper-scrollbar-lock {
  display: none;
}

.search-by-json .fast-search-chip-swiper,
.search-by-json .fast-search-albums-swiper {
  width: 100%;
  overflow: hidden;
}

.search-by-json .list-albums:has(.fast-search-albums-swiper) {
  display: block;
  overflow: visible;
  gap: 0;
  padding-bottom: 0;
  margin-bottom: 0;
  white-space: normal;
}

.search-by-json .fast-search-chip-swiper .swiper-slide,
.search-by-json .fast-search-albums-swiper .swiper-slide {
  height: auto;
  width: auto;
  white-space: nowrap;
  padding: 0 4px;
}
/* 
.search-by-json .fast-search-chip-swiper .swiper-slide > a,
.search-by-json
  .fast-search-albums-swiper
  .swiper-slide
  .fast-search-album-item {
  width: 100%;
  min-width: 0;
  height: 48px;
  padding: 10px 12px;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: #e9ecf0;
  border-radius: 12px;
  color: var(--text);
  text-decoration: none;
  transition: 0.3s;
} */

/* .search-by-json
  .fast-search-albums-swiper
  .swiper-slide
  .fast-search-album-item {
  background-color: #f8f8f8;
} */

.search-by-json .fast-search-chip-swiper .swiper-slide > a:hover,
.search-by-json
  .fast-search-albums-swiper
  .swiper-slide
  .fast-search-album-item:hover {
  background: var(--color1);
  color: var(--white);
}
/* 
.search-by-json .fast-search-albums-swiper .fast-search-album-item__title {
  font-size: 14px;
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
} */

.header-search .icon-search {
  font-size: 1.5rem;
  cursor: pointer;
}

.search-by-json .input input {
  display: block;
}

.search-by-json .body .is-search.row {
  align-items: flex-start;
}

.search-by-json .body::-webkit-scrollbar {
  width: 0.5rem;
}

.search-results .search-box-head {
  /* color: #fff; */
  text-align: center;
  /* padding: 0.5rem; */
}

/* Track */
.search-by-json .body::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 0.5rem;
}

/* Handle */
.search-by-json .body::-webkit-scrollbar-thumb {
  background: var(--color1);
  border-radius: 0.5rem;
}

/* Handle on hover */
.search-by-json .body::-webkit-scrollbar-thumb:hover {
  background: var(--color1);
}

@media screen and (min-width: 992px) {
  .search-by-json .body .is-search.row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    /* justify-content: space-between; */
  }

  .search-by-json .body .is-search .albums {
    flex: 0 0 100%;
    max-width: 100%;
    width: 100%;
  }

  .search-by-json .body .is-search .products,
  .search-by-json .body .is-search .posts {
    flex: 0 0 calc(50% - 0rem);
    max-width: calc(50% - 0rem);
  }

  .search-by-json .input .icon {
    color: var(--white);
    font-size: 1.125rem;
    transition: 0.3s;
  }

  .search-by-json .body {
    width: 600px;
    max-width: 872px;
    right: 0;
    left: auto;
    background-color: var(--white);
    padding: 15px;
    border-radius: 1rem;
    top: 50px;
    box-shadow: 0 0 15px 10px #0000000f;
  }

  .list-products {
    padding-right: 0.5rem;
    margin-left: 0;
  }

  .list-posts {
    padding-right: 0.5rem;
  }
}

.fast-search-mobile.search-by-json .body .default .popular .title-popular,
.fast-search-mobile.search-by-json
  .body
  .is-search
  .category.popular
  .title-popular,
.fast-search-mobile.search-by-json .fast-search-chip-head .title-popular {
  margin-top: 0;
}

@media screen and (max-width: 576px) {
  .search-by-json .body .is-search {
    --fast-search-thumb-h: 96px;
    --fast-search-post-thumb-h: 92px;
  }

  #search-by-json-mobile .body .is-search {
    --fast-search-post-thumb-h: 96px;
  }
}
