/* Added custom scrollbar to search filter side */
#search-menu ::-webkit-scrollbar {
  -webkit-appearance: none;
  width: 7px;
}

#search-menu ::-webkit-scrollbar-thumb {
  border-radius: 4px;
  background-color: rgba(0, 0, 0, 0.5);
  box-shadow: 0 0 1px rgba(255, 255, 255, 0.5);
}

#search-menu li:hover, #search-menu li .label:hover, #search-menu li input:hover{
  cursor: pointer;
}

.prod-sale {
  height: 20px;
  min-height: 20px;
  background: url("../png/onsaleitemgraphicf3d2.png")
    no-repeat left bottom;
  background-size: contain;
  display: block;
}
.add-cart-success {
  display: none;
  margin-left: 10px;
  color: #f58345;
  font-weight: bold;
}

.page-main.search {
  max-width: 100%;
}

.search .column-2 {
  display: grid;
  grid-template-columns: 240px auto;
}

.pages {
  display: flex;
  align-items: flex-end;
}
.pages.bottom-right {
  display: flex;
  justify-content: flex-end;
  border-bottom: solid 1px #f0f0f0;
}

.pages.bottom-right li a {
  display: block;
}

.pages li {
  align-items: center;
  justify-content: center;
  min-width: 25px;
  padding: 5px;
  border: 1px solid #f0f0f0;
  cursor: pointer;
  text-align: center;
}

.pages li:first-child {
  border-radius: 5px 0 0 5px;
}

.pages li:last-child {
  border-radius: 0 5px 5px 0;
}

.pages li a {
  color: #0066c8;
}

.icon-heart:hover {
  cursor: pointer;
}
.icon-heart1 {
  color: #0066c8;
}
.icon-heart1:hover {
  cursor: pointer;
}

i.icon-heart {
  margin-left: 0px !important;
  color: #0066c8;
}

.pages li .selected-page {
  color: black !important;
  font-weight: bold;
}

.search-menu {
  width: 240px;
  margin-bottom: 0 !important;
}

.white-button {
  width: 100%;
}

.result.search-header {
  display: flex;
  justify-content: space-between;
  border-bottom: solid 1px #f0f0f0;
}

.result.search-header span ul li a {
  display: block;
}

.search-menu ul li {
  width: 100%;
  display: flex;
  border-bottom: 1px solid #f0f0f0;
  flex-direction: column;
  padding: 16px 0;
}

.search-menu ul li a {
  display: flex;
  color: #4d4d4d;
}

.search-menu ul li .pointer {
  cursor: pointer !important;
}

.search-menu ul li span {
  display: block;
}

.search-menu ul li span:last-of-type {
  margin-right: 0;
  margin-left: auto;
  font-size: 1.8rem;
  position: sticky;
  top: 0;
}

.search-menu ul li ul li {
  border: none;
  padding: 10px;
}

.search-menu ul li ul {
  height: initial;
  max-height: 400px;
  overflow-y: scroll;
}

.search-menu ul li ul li {
  flex-direction: row;
  padding: 10px 0;
  align-items: center;
}

.search-menu ul li ul li:first-of-type {
  margin-top: 10px;
}

.search-menu ul li ul li:last-of-type {
  padding-bottom: 0;
}

.search-menu ul li ul li input {
  width: initial;
  height: initial;
  position: initial;
  margin: auto;
  margin-right: 10px;
}

.sorted-by {
  display: flex;
  align-items: center;
  margin-top: 10px;
}

.sort-list {
  display: flex;
  border: 1px solid #ccc;
  height: 30px;
  margin-left: 15px;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2064%2043%22%3E%0A%20%20%3Cpath%20fill%3D%22%234d4d4d%22%20fill-rule%3D%22evenodd%22%20d%3D%22M0%203.8l16%2019.4%2016%2019.5%2032-39L61%200%2032%2035%203%200%22/%3E%0A%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: calc(100% - 16px) center;
  background-color: #fff;
  background-size: 10px 10px;
  padding: 0 30px 0 16px;
}

.sort-list:hover {
  cursor: pointer;
}

.sorted-by-and-group-by {
  display: flex;
  flex-wrap: wrap;
}

.group-by {
  display: flex;
  align-items: center;
  margin-top: 10px;
}

.group-list {
  display: flex;
  border: 1px solid #ccc;
  height: 30px;
  margin-left: 15px;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2064%2043%22%3E%0A%20%20%3Cpath%20fill%3D%22%234d4d4d%22%20fill-rule%3D%22evenodd%22%20d%3D%22M0%203.8l16%2019.4%2016%2019.5%2032-39L61%200%2032%2035%203%200%22/%3E%0A%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: calc(100% - 16px) center;
  background-color: #fff;
  background-size: 10px 10px;
  padding: 0 30px 0 16px;
}

.inStock-by {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 10px;
}

.inStock-by span {
  display: flex;
  width: 130px;
  align-items: center;
}

/* ---  アイテムウィジェット--- */

.widget h3 {
  text-align: center;
}

.search-widget-blocks {
  /* display: flex;
  flex-wrap: wrap;
  box-sizing: border-box;
  justify-content: flex-start; */
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}

.search-widget-block {
  /* min-width: 140px; */
  /* width: calc(100% / 2.15); */
  display: flex;
  flex-direction: column;
  justify-content: space-between;

  max-width: 300px;
  background: #fff;
  margin: 8px !important;
  padding: 10px;
  box-sizing: border-box;
  border: 1px solid #f0f0f0;
  border-radius: 3px;
  transition: box-shadow 0.4s ease-out;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.search-widget-block:hover {
  box-shadow: 0 0 10px rgb(0 0 0 / 20%);
}

.widget-block a,
.search- img,
.widget-block p,
.search- div {
  margin-bottom: 5px;
}

/* .widget-block:nth-of-type(6n) {
margin-right: 0;
} */

.item-img-wrapper {
  min-width: 120px;
  width: calc(100% / 1.1);
  max-height: 180px;
  overflow: hidden;
  display: block;
  margin: 0 auto;
  box-sizing: border-box;
}

.item-img-wrapper img {
  transition: 0.4s;
}

.search-:hover img {
  transform: scale(1.1);
}

.release {
  color: #fff;
  height: 24px;
  border-radius: 2px;
  min-width: fit-content;
  background-color: #0066c8;
  margin: 6px 6px 6px 0;
  padding: 5px;
  display: inline-block;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-size: 0.8em;
}

.release.green {
  background: #267536;
}

.release.orange {
  background: #f53d19;
}

.release.sale {
  background: rgb(233, 28, 36);
}

.release.blue {
  background: #1075bc;
}

.product-item-name {
  -webkit-hyphens: auto;
  display: block;
  hyphens: auto;
  margin: 8px 0;
  word-wrap: break-word;
  height: 35px;
  overflow: hidden;
  font-style: normal;
  font-weight: 700;
  line-height: 1.42857143;
  font-size: 1.3rem;
}

.product-item-name.adult a:before {
  content: "18+";
  font-weight: 700;
  color: rgb(233, 28, 36);
  margin-right: 5px;
}

.button {
  margin-top: 5px;
  text-align: center;
}

.price {
  margin-top: 15px;
  margin-bottom: 10px;
  position: relative;
  font-size: 1.5rem !important;
}

.price span:last-of-type {
  text-decoration: line-through;
}

.price .usuallyShips {
  font-size: 1.2rem !important;
}

.price .remaining {
  font-size: 1.2rem !important;
}

.product-item-name a {
  color: #4d4d4d;
}

.product-item-name a:hover {
  text-decoration: underline;
}

.price .remaining {
  font-size: 0.9rem;
  color: rgb(233, 28, 36);
  font-weight: 400;
}

.stock {
  display: flex;
  align-items: center;
}

.stock:hover {
  cursor: default;
}

.filter-fn span {
  cursor: pointer;
}

#notification {
  display: none;
  position: fixed;
  right: -5px;
  top: 100px;
  background: white;
  border-radius: 5px;
  border: 2px solid green;
  color: green;
  font-weight: bold;
  padding: 10px;
}

#error-notification {
  display: none;
  position: fixed;
  right: -5px;
  top: 100px;
  background: white;
  border-radius: 5px;
  border: 2px solid red;
  color: red;
  font-weight: bold;
  padding: 10px;
}

.search-menu ul li.mbl-filter-hide {
  display: none;
}
.search-menu ul li.mbl-filter-hide-child-show {
  display: flex;
}
.search-menu ul li.mbl-filter-hide-child-hide {
  display: flex;
}

@media only screen and (max-width: 768px) {
  .search-menu ul li.mbl-filter-hide {
    display: flex;
  }
  .search-menu ul li.mbl-filter-hide-child-show {
    display: flex;
  }
  .search-menu ul li.mbl-filter-hide-child-hide {
    display: none;
  }
  .search .column-2 {
    display: block;
  }
  .column {
    width: 100%;
  }
  .column.search-menu {
    margin-bottom: 0;
    margin-top: 5px;
    padding-top: 5px;
    padding-bottom: 4px;
  }
  .search-menu ul li span:last-of-type {
    position: absolute;
    left: 120px;
  }
  .search-widget-blocks {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    place-content: center;
  }
  #notification {
    top: 125px;
  }

  .pages {
    font-size: 1.3rem !important;
  }

  .pages li a {
    font-size: 1.2em;
  }
}

.rotate180 {
  transform: rotate(180deg);
}

@media only screen and (max-width: 500px) {
  .result.search-header {
    flex-direction: column;
    align-items: center;
    margin-right: 0;
    margin-bottom: 10px;
  }
  .result.search-header span {
    margin-top: 10px;
    margin-bottom: 10px;
  }
}

@media only screen and (max-width: 348px) {
  .result.search-header span {
    display: flex;
    justify-content: flex-end;
  }
  .result.search-header .bold {
    font-size: 1.2em;
    align-self: center;
  }
  .pages {
    font-size: 1.5rem !important;
    margin-bottom: 10px;
  }
  .pages li {
    padding: 2px;
  }
}

@media only screen and (max-width: 281px) {
  .pages li:first-child {
    display: none;
  }
  
  .pages li:last-child {
    display: none;
  }
  .pages li:nth-child(2){
    border-radius: 5px 0 0 5px;
  }
  .pages li:nth-last-child(2) {
    border-radius: 0 5px 5px 0;
  }
}

.filter-fn{
  background: #fff;
  margin-top: 10px;
  padding: 24px;
}
.column{
  margin-top: 0;
}
.filter-fn-btn, .filter-clr-all{
  padding: 5px;
  margin-right: 5px;
}
.filter-fn-btn{
  background: #f0f0f0;
}

.ui-autocomplete-input {
  width: 90%;
  margin-top: 5px;
  position: sticky;
  top: 0;
}

/* .search_word_filter{
  display: none;
} */

.initiallyHidden{
  display: none;
}

.stock_none {
  pointer-events: none !important;
  box-shadow:none !important; 
  visibility:hidden !important;
}

.lp_wrapperAll {
  background: #fff !important;
}

.departments_block::before {
  background: #fff !important; 
}

.category_block::before{
  background: #fff !important; 
}
.no_products{
  max-width: fit-content;
  margin: 0 auto;
  text-align: center;
  padding: 24px;
  font-size:1.6rem;
}
/* .select2-container--default .select2-results {
  display: none;
} */
/* .select2-selection__rendered {
  width: 90%;
  margin-top: 5px;
  position: sticky;
  top: 0;
} */
#selected-items {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: #eee;
  padding: 10px;
  font-weight: bold;
}