@charset "UTF-8";

.search-by-json {
  width: 100%;
  margin-inline: auto;
  position: relative;
}

.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;
}

.search-by-json .input input {
  outline: none;
  font-size: 16px;
  color: #495057;
  transition: 500ms;
  margin: 0;
  width: 100%;
  background: var(--c-neutral-000);
  border: none;
  padding: 1rem;
  padding-right: 6rem;
  box-shadow: 0px 3px 10px #00000012;
  border: 1px solid #00000012;
  border-radius: 12px;
}

.search-by-json .input input::-webkit-input-placeholder {
  color: #49505780;
}

.search-by-json .input input::-moz-placeholder {
  color: #49505780;
}

.search-by-json .input input:-ms-input-placeholder {
  color: #49505780;
}

.search-by-json .input input::-ms-input-placeholder {
  color: #49505780;
}

.search-by-json .input input::placeholder {
  color: #49505780;
}

.search-by-json .input .empty:hover {
  opacity: 0.8;
}

.search-by-json .input .empty {
  font-size: 1.2rem;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 4rem;
  height: 4rem;
  border-radius: 6px;
  left: 1rem;
  /* border: 1px solid #0000000d; */
  transition: 500ms;
  color: var(--danger);
  line-height: 1;
  opacity: 0.7;
}

.search-by-json .input .icon:hover {
  opacity: 0.8;
}

.search-by-json .input .icon {
  position: absolute;
  transition: 500ms;
  font-size: 2rem;
  color: var(--c-primary);
  border: 1px solid #0098791f;
  top: 50%;
  transform: translateY(-50%);
  right: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  border-radius: 6px;
}

.search-by-json .input .icon img {
  width: 2.125rem;
  -o-object-fit: scale-down;
  object-fit: scale-down;
}

.search-by-json .body {
  position: absolute;
  z-index: 99999;
  width: 100%;
  border-radius: 0.25rem;
  margin-block: 0.25rem;
  text-align: center;
  padding: 0.5rem;
}

.search-by-json .body .default p {
  text-align: center;
  padding-top: 1.5rem;
  color: var(--c-neutral-300);
  font-size: var(--fs-16-min);
}

.search-by-json .body .default img {
  width: 13rem;
  margin-top: 2rem;
  opacity: 0.2;
  margin-inline: auto;
}

.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: 2rem;
  font-variation-settings: var(--fw-500);
  font-size: var(--fs-16);
  margin-bottom: 1rem;
}

.search-by-json .body .default .popular .menu-popular ul,
.search-by-json .body .is-search .list-category ul {
  margin: 0.5rem 0;
}

.search-by-json .body .default .popular .menu-popular ul li,
.search-by-json .body .is-search .list-category ul li {
  text-align: center;
  display: inline-block;
  margin: 2px 0.125rem;
}

.search-by-json .body .default .popular .menu-popular ul li:first-child,
.search-by-json .body .is-search .list-category ul li:first-child {
  margin-right: 0;
}

.search-by-json .body .default .popular .menu-popular ul li:last-child,
.search-by-json .body .is-search .list-category ul li:last-child {
  margin-left: 0;
}

.search-by-json .body .default .popular .menu-popular ul li a,
.search-by-json .body .is-search .list-category ul li a {
  font-variation-settings: var(--fw-400);
  display: block;
  font-size: var(--fs-15);
  border: 1px solid var(--c-primary);
  border-radius: 0.25rem;
  padding: 0.5rem 2rem;
  font-weight: 500;
  color: var(--c-primary);
  transition: 500ms;
  line-height: 1.5;
  border-radius: 20px;
  margin: 0.2rem;
}

.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(--c-primary);
  color: #fff;
  border-color: var(--c-primary);
}

.search-by-json .body .not-found {
  font-size: 2rem;
  margin-top: 4rem;
  color: #d53343;
}

.search-by-json .body .is-search {
  padding: 0.25rem;
}

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

/*.search-by-json .body .is-search .title-category {*/
/*    font-weight: bold;*/
/*    font-size: 2rem;*/
/*    color: #495057;*/
/*}*/

/*.search-by-json .body .is-search .title-category {*/
/*    font-size: 2.2rem;*/
/*    margin-top: 1rem;*/
/*}*/

.search-by-json .body .is-search .list-products .item:hover {
  background-color: #e2e3e5;
}

.search-by-json .body .is-search .list-products .item {
  transition: 500ms;
  border: 1px solid #e2e3e5;
  background-color: #e9ecef;
  display: grid;
  grid-template-columns: 4rem 8fr 3fr;
  padding: 10px;
  align-items: center;
  gap: 15px;
  border-radius: 0.25rem;
  margin: 0;
  text-decoration: none;
}

.search-by-json .body .is-search .list-products .item:hover {
  color: inherit;
}

.search-by-json .body .is-search .list-products .item .img {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #fff;
  padding: 0.5rem;
  border-radius: 0.25rem;
  width: 4rem;
  height: 4rem;
}

.search-by-json .body .is-search .list-products .item .img img {
  width: 100%;
}

.search-by-json .body .is-search .list-products .item .title {
  font-weight: 500;
  font-size: 1.35rem;
  line-height: 1.5;
  color: #495057;
  padding-left: 2rem;
}

.search-by-json .body .is-search .list-products .item .price {
  line-height: 1.5;
  text-align: left;
  position: relative;
  width: -webkit-max-content;
  width: -moz-max-content;
  width: max-content;
  display: flex;
  flex-direction: column;
  margin-right: auto;
}

.search-by-json .body .is-search .list-products .item .price .discount {
  display: inline;
  background: #d53343;
  color: #fff;
  padding: 0.25rem;
  border-radius: 0.25rem;
  font-size: 0.75rem;
  font-weight: 500;
  position: absolute;
  bottom: 0;
  left: 106%;
}

.search-by-json .body .is-search .list-products .item .price del {
  font-size: 1.35rem;
  font-weight: bold;
  -webkit-text-decoration-color: #999;
  text-decoration-color: #999;
}

.search-by-json .body .is-search .list-products .item .price ins {
  display: inline-block;
  font-size: 1rem;
  font-weight: bold;
  text-decoration: none;
}

.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;
}

.search-by-json .list-products {
  display: grid;
  /*grid-template-columns: 1fr 1fr;*/
  gap: 0.5rem;
  margin-block: 0.5rem;
}

#search-by-json-form img {
  user-select: none;
  /* Prevents selection in modern browsers */
  -webkit-user-select: none;
  /* Prevents selection in Safari */
  -moz-user-select: none;
  /* Prevents selection in Firefox */
  -ms-user-select: none;
  /* Prevents selection in Internet Explorer/Edge */
}

#search-by-json-form a {
  text-decoration: none !important;
}

#search-by-json-form .amount bdi {
  font-size: 1rem;
  font-weight: 500;
  color: #495057;
}

#search-by-json-form del .amount bdi {
  font-size: 0.8125rem;
}

@media (max-width: 1199.98px) {
  .search-by-json .list-products {
    /*grid-template-columns: 1fr;*/
  }

  #search-by-json-form .amount bdi {
    color: #495057;
    font-size: 1.35rem;
  }

  #search-by-json-form del .amount bdi {
    font-size: 0.75rem;
  }

  .search-by-json .body .is-search .list-products .item .price .discount {
    font-size: 10px;
  }

  .search-by-json
    .body
    .is-search
    .list-products
    .item
    .price
    span.woocommerce-Price-currencySymbol {
    font-size: 0.75rem;
  }
}

@media (max-width: 991.98px) {
}

@media (max-width: 767.98px) {
}

@media (max-width: 575.98px) {
  .search-by-json {
    width: calc(100% - 20px);
  }

  .search-by-json .body .default img {
    width: 10rem;
    margin-top: 1.5rem;
  }

  .search-by-json .body .is-search .list-products .item .img {
    width: 3rem;
    height: 3rem;
    flex: 0 0 3rem;
  }

  .search-by-json .body .is-search .list-products .item .img {
    padding: 0.25rem;
  }

  .search-by-json .body .is-search .list-products .item {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
  }

  .search-by-json .body .is-search .list-products .item .title {
    flex: 0 0 75%;
    padding-left: 0;
  }
}
