@charset "UTF-8";

.search-by-json {
  display: flex;
  gap: 6px;
}

.search-by-json .d-none {
  display: none !important;
}
.search-input-container {
  margin: 10px auto;
  width: 100%;
  background: var(--color5);
  border-radius: 32px;
  display: flex;
  padding: 10px 10px;
  align-items: center;
  gap: 10px;
}
input#fast-search-input {
  border: none;
  background: unset;
  margin: 0;
  padding: 0;
  width: 100%;
  outline: none;
}
.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;
}

.empty .icon-close {
  font-size: 0.75rem;
}

.search-wrap {
  width: 100%;
  transition: 0.4s ease;
  z-index: 101;
  position: fixed;
}
.search-mask {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: none;
  backdrop-filter: blur(3px);
  pointer-events: auto;
  background: #1424384a;
}

.search-mask.visible {
  display: block;
}

.search-box {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.search-by-json .input {
  position: relative;
  border-radius: 20px;
  transition: 0.4s ease;
  display: flex;
  align-items: center;
  padding-right: 60px;
  border: none;
  background-color: transparent;
  height: 69px;
}

.search-by-json .input.expanded {
  padding-right: 20px;
}

.top-title-search .search-btn-wrapper .button {
  font-size: 12px;
  padding: 2px 6px;
}

.search-by-json .input input {
  height: 100%;
  outline: none;
  border: none;
  background: transparent;
  padding: 0 6px 0 0;
  color: #212121;
  width: 100%;
}

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

.search-by-json .input input::placeholder {
  color: var(--gray);
  font-size: 0.875rem;
}

.search-by-json .input .empty {
  font-size: 14px;
  position: absolute;
  top: 0;
  left: 10px;
  cursor: pointer;
  color: var(--color1);
  bottom: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

.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: 2;
  background: #fff;
  border-radius: 24px;
  margin-top: 50px;
  text-align: center;
  padding: 20px;
  margin-bottom: 10px;
  left: 50%;
  max-height: 95vh;
  overflow: auto;
  transform: translate(-50%);
}

.search-by-json .body .is-search .list-category ul {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}
.search-by-json .body .is-search .list-category ul li {
  margin: 2px 0.125rem;
  display: flex;
  flex-wrap: wrap;
}
.search-wrap .products-alls {
  gap: 8px;
  color: var(--color1);
  transition: 0.3s;
  font-size: 14px;
}

.search-wrap .products-alls:hover {
  color: var(--color2);
  gap: 12px;
}

.search-wrap .posts-alls {
  gap: 8px;
  color: var(--color2);
  transition: 0.3s;
  font-size: 14px;
}

.search-wrap .posts-alls:hover {
  color: var(--color1);
  gap: 12px;
}

.list-posts,
.list-products {
  overflow: auto;
  /* max-height: 250px; */
  /* padding-left: 15px; */
}

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

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

/* Handle */
.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-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 .popular .title-popular {
    margin-top: 10px;
    font-size: 15px;
    margin-bottom: 15px;
}

.search-by-json .body .default .popular .menu-popular ul {
	margin: 10px 0;
	display: flex;
	flex-wrap: wrap;
	gap: 25px 10px;
}


.search-by-json .body .default .popular .menu-popular ul li a,
.search-by-json .body .is-search .list-category ul li a {
  background: #e8f3f1;
  border-radius: 8px;
  font-size: 14px;
  padding: 8px 15px;
  transition: 0.4s ease;
}

.search-by-json .body .default .popular .menu-popular ul li a:hover,
.search-by-json .body .is-search .list-category ul li a:hover {
  background-color: var(--color2);
  color: #fff;
}

.search-by-json .body .not-found {
  color: var(--color2);
  font-size: 16px;
  margin: 50px 0;
}

.search-by-json .body .is-search {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, auto);
  gap: 10px 20px;
}

.search-by-json .body .is-search .category {
  flex: 0 0 100%;
  width: 100%;
  grid-area: 1 / 1 / 2 / 3;
}

.is-search .search-list {
  width: 100%;
  /* margin-bottom: 1.5rem; */
}

.search-by-json .body .is-search .title-posts, .search-by-json .body .is-search .title-category, .search-by-json .body .is-search .title-products {
    font-size: 18px;
    text-align: right;
    margin: 5px 0;
    color: #121212;
    display: flex;
    align-items: center;
}

.search-head-title .btn {
    color: var(--color2);
    margin-right: auto;
    font-size: 14px;
    font-family: var(--thin_font);
    transition: all 0.3s;
}
.search-head-title .btn i {
    color: var(--color2);
    font-size: 13px;
    border: 1px solid var(--color2);
    border-radius: 25px;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-right: 1px;
    transition: all 0.3s;
    margin: 0;
    margin-right: 5px;
}

.search-by-json .body .is-search .item {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 5px;
    align-items: center;
    border: 1px solid #e6e6e6;
    padding: 10px;
    border-radius: 6px;
    margin: 10px 0;
    min-height: 80px;
}
.product-item-link {
    background: #f5f5f5;
    cursor: pointer;
    border-radius: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 45px;
    height: 45px;
    font-size: 32px;
}
.item .product-item-link {
  margin-right: auto;
}

.search-by-json .body .is-search .item:hover {
  border-color: rgb(1 116 190 / 16%);
  color: var(--color2);
}

.search-by-json .body .is-search .item .img {
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 5px;
  overflow: hidden;
}

.search-by-json .item-link {
  color: #121212;
  position: relative;
  text-align: left;
  display: inline-flex;
  gap: 10px;
  align-items: center;
  justify-content: flex-end;
  margin-left: 10px;
}

.search-by-json .body .is-search .products .item:hover .item-link i {
  color: var(--color1);
}

.list-products .icon-service {
  color: var(--color2);
}

.search-by-json .body .is-search .item:hover .item-link i {
  color: var(--color2);
}

.search-by-json .item-link i {
  font-size: 1rem;
  transition: 0.3s;
}

.search-by-json .body .is-search .item .img img {
  width: 64px;
  aspect-ratio: 1 / 1.3;
}

.search-by-json .body .is-search .item .title {
  font-size: 14px;
  line-height: 1.5rem;
}

.list-products .product-info {
  display: flex;
  align-items: center;
  padding: 0;
}

.search-by-json .body .is-search .list-products .item .price {
  text-align: left;
  align-items: flex-end;
}

.search-by-json .body .is-search .list-products .item .price .discount {
  display: inline;
  background: #d53343;
  color: #fff;
  padding: 5px;
  border-radius: 5px;
  margin-left: 5px;
}

.search-by-json
  .body
  .is-search
  .list-products
  .item
  .woocommerce-Price-amount
  bdi {
  font-size: 14px;
}

.search-by-json
  .body
  .is-search
  .list-products
  .item
  del
  .woocommerce-Price-amount
  bdi {
  font-size: 12px;
}

.search-by-json
  .body
  .is-search
  .list-products
  .item
  del
  .woocommerce-Price-amount
  bdi
  .woocommerce-Price-currencySymbol {
  font-size: 10px;
  font-weight: normal;
}

.item .readmore {
  position: unset;
  width: 40px;
  height: 40px;
  font-size: 21px;
  margin-right: auto;
}

.search-banner {
  border-radius: 12px;
  overflow: hidden;
}

.search-banner img {
  width: 100%;
  border-radius: 12px;
}

.mobile .search-by-json .body .is-search .products,
.mobile .search-by-json .body .is-search .posts {
  flex: 0 0 100%;
  max-width: 100%;
}

.mobile .search-by-json .body {
  padding: 1rem;
}

.search-close {
  display: none;
}
.mobile .search-by-json {
  position: fixed;
  inset: 10px;
  z-index: 9999;
  padding: 0;
  margin-top: 64px;
  height: fit-content;
  max-height: 100%;
  width: calc(100% - 20px);
  display: none;
}

.mobile .is-search .list-posts .btn-3 {
  min-width: auto;
}

@media screen and (min-width: 768px) {
  .search-by-json .body {
    width: 872px;
    max-width: 80vw;
  }
}

@media screen and (min-width: 992px) {
  .popup-footer-search {
    width: 175%;
    display: none;
  }
}

@media screen and (max-width: 992px) {
  .search-by-json .body {
    max-height: 85vh;
    width: 80%;
  }

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

  #search-by-json-mobile {
    position: fixed;
    top: 2rem;
    right: 1rem;
    left: 1rem;
    margin: auto;
    z-index: 9999999;
    width: calc(100% - 2rem);
  }

  .search-by-json .input {
    height: 48px;
    padding-right: 10px;
  }
}

@media screen and (max-width: 767.99px) {
  .search-by-json .body {

    padding: 10px !important;

}
.product-item-link {
    width: 36px;
    height: 36px;
    font-size: 27px;
}
.search-by-json .body .is-search {
    display: flex;
    flex-wrap: wrap;
}

  .search-by-json .body .is-search .category {
    grid-area: unset;
  }

  .search-by-json .body {
    margin-top: 8px;
  }

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

  .search-by-json .input {
    background: #fff;
    border: 1px solid transparent;
  }

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

  .search-by-json .input .icon {
    color: var(--color1);
    background-color: transparent;
  }

  .search-by-json .body .is-search .list-products .item {
    display: grid;
    grid-template-columns: 2fr 6fr;
    grid-template-rows: repeat(2, auto);
    gap: 0 10px;
  }

  .search-by-json .body .is-search .list-products .item .img {
    grid-area: 1 / 1 / 3 / 2;
  }

  .search-by-json .body .is-search .list-products .item .title {
    grid-area: 1 / 2 / 2 / 3;
  }

  .search-by-json .body .is-search .list-products .item .price {
    grid-area: 2 / 2 / 3 / 3;
  }

.search-close {
    display: flex;
    font-size: 1.2rem;
    color: var(--danger);
    margin-bottom: 1rem;
    justify-content: space-between;
    padding: 0 10px 0 0;
  }
}


@media screen and (max-width: 370px) {
  .search-by-json .input input {
    min-width: 258px;
  }
}

.search-by-json .body::-webkit-scrollbar {
  width: 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: #888;
  border-radius: 0.5rem;
}

/* Handle on hover */
.search-by-json .body::-webkit-scrollbar-thumb:hover {
  background: #555;
}
.item-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
}


.item-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}


.item .readmore {
    position: unset;
    margin-right: auto;
    background: #f5f5f5;
    cursor: pointer;
    border-radius: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 45px;
    height: 45px;
    font-size: 32px;
}
.list-posts img {
    width: 160px !important;
    aspect-ratio: auto !important;
}
.serch-mobile.d-flex-d-lg-none {
    display: flex;
    justify-content: space-between;
    padding: 0 10px;
}

.serch-mobile i.icon-close {
    color: var(--color3);
    background: var(--color1);
    padding: 0;
    margin: 0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 12px;
}

.serch-mobile span {
    font-size: 18px;
}
.price-container-websima {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
}
.discount-badge-websima {
    background: var(--color1);
    color: var(--color3);
    font-size: 15px;
    border-radius: 8px;
    width: 35px;
    height: 35px;
    clip-path: polygon(0% 0%, 100% 0%, 100% 75%, 50% 100%, 0% 75%);
    display: flex;
    justify-content: center;
    align-items: center;
}
.price-details-websima {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.4;
    flex-shrink: 0;
}

.serch-mobile span {
    font-size: 18px;
}
.search-wrapper>h3 {
    background: #f4f4f4;
    border-radius: 8px;
    align-items: center;
    margin: 0;
    font-size: 20px;
    text-align: center;
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
    height: 60px;
}
h1.title-heading {
    font-size: clamp(24px, 4vw, 28px);
    line-height: 1;
}
