.product-list-page-container {
  padding: 42px 0;
}

.product-list-page-container .page-number {
  margin-bottom: 44px;
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  font-weight: 600;
  font-size: 13px;
}
.product-list-page-container .search-btn {
  display: none;
  height: 50px;
  width: 100%;
  line-height: 50px;
  text-align: center;
  color: black;
  background-color: #ececec;
  border: 1px solid #dddddd;
  margin: 0 0 50px;
}
.product-list-page-container .page-title {
  margin: 0 0 50px;
}
#products-item {
  display: flex;
  flex-wrap: wrap;
}

#products-item.list-view {
  flex-direction: column;
  flex-wrap: nowrap !important;
}

.list-view .product-card {
  flex-direction: row;
  width: 100%;
}
.list-view .image-wrapper {
  margin-bottom: 20px;
}
.list-view .product-image {
  width: 330px;
  height: 330px;
}
.list-view .product-title {
  font-size: 16px;
  font-weight: 600;
  padding: 0 0 10px;
  border-bottom: #ccc dotted 1px;
  line-height: 1.8em;
}

.list-view .description {
  font-size: 14px;
  line-height: 1.8em;
  margin-bottom: 10px;
}

.list-view .sold-out-btn {
  display: none;
  background-color: #ff7d7d;
  color: white;
  padding: 6px;
  text-align: center;
  width: 100%;
  font-size: 12px;
}

.list-view .sold-out-btn.sold-out {
  display: flex;
  align-items: center;
  justify-content: center;
}
/* .grid-view {
  display: flex;
  gap: 30px;
} */
.grid-view .product-card {
  flex-direction: column;
  width: calc(33.333%);
  padding: 0 0 50px 30px;
}

.view-active {
  color: black !important;
  fill: black !important;
}

/* list view */

.tag {
  background-color: #eae8dc;
  padding: 4px 12px;
  font-size: 12px;
  color: #333;
  /* line-height: 20px; */
}

.detail-btn {
  border: 1px solid #ddd;
  padding: 12px;
  text-align: center;
  width: 100%;
  margin-bottom: 6px;
}
.price {
  font-size: 1.2rem;
  font-weight: bold;
}

@media screen and (max-width: 768px) {
  .product-list-page-container .search-btn {
    display: block;
  }
  .product-list-page-container {
    padding: 20px 0;
  }
  .product-list-page-container .layout-wrapper {
    padding: 0 20px 0;
  }
  .product-list-page-container .page-title {
    font-size: 16px;
    margin: 24px 0 30px;
    padding-bottom: 12px;
  }
  .product-list-page-container .filter-sidebar {
    display: none;
  }
  .product-list-page-container .view-toggle-buttons-container {
    margin: 0;
  }
  .product-list-page-container .search-btn {
    margin-bottom: 30px;
  }
  .product-list-page-container .page-number {
    margin-top: 20px;
    margin-bottom: 30px;
  }
  .grid-view {
    margin-left: -20px;
  }
  .grid-view .product-card {
    width: 50%;
    padding: 0 0 50px 20px;
  }
  .grid-view .product-title {
    font-family: "Noto Serif JP", serif;
    font-size: 13px;
    line-height: 1.8em;
    margin-bottom: 4px;
  }
  .grid-view .product-price {
    font-size: 14px;
  }
  .list-view .list-card {
    padding: 0;
    flex-direction: column;
  }
  .list-view .list-card {
    gap: 0;
    margin-bottom: 80px;
  }
  .list-view .product-title {
    font-family: "Noto Serif JP", serif;
    font-weight: 600;
    font-size: 14px;
    margin-top: 3px;
    padding-bottom: 11px;
  }
  .list-view .description {
    font-size: 13px;
  }
  .list-view .list-card .product-image {
    width: 100%;
    height: auto;
    margin-bottom: 20px;
  }
  .list-view .price-wrapper {
    font-size: 14px !important;
    margin-top: 13px;
  }
  .list-view .price {
    font-size: 14px;
  }
  .detail-btn {
    background-color: black;
    color: white;
    font-weight: 400;
    margin-bottom: 4px;
  }
}

@media screen and (min-width: 768px) and (max-width: 960px) {
  .product-list-page-container {
    padding-top: 36px;
  }
  .product-list-page-container .page-title {
    margin-bottom: 40px;
  }
  .product-list-page-container .search-btn {
    display: block;
  }
  .product-list-page-container .layout-wrapper {
    padding: 0 30px 0 30px;
  }
  .product-list-page-container .filter-sidebar {
    display: none;
  }
  .product-list-page-container .view-toggle-buttons-container {
    margin: 0;
  }
  .grid-view {
    margin-left: -30px;
  }
  .grid-view .product-card {
    padding: 0 0 30px 30px;
  }
  .list-view .price-wrapper {
    margin-top: 12px;
  }

  .list-view .list-card {
    padding: 30px 0 0;
  }
  .list-view .product-title {
    font-size: 14px;
    padding-bottom: 14px;
  }
  .list-view .description {
    font-size: 13px;
  }
  .list-view .list-card .product-image {
    height: 300px;
    width: 300px;
  }
  .product-list-page-container .page-number {
    margin-top: 22px;
    margin-bottom: 12px;
  }
}

@media screen and (min-width: 960px) and (max-width: 1080px) {
  .grid-view .product-title {
    font-size: 12px;
    line-height: 1.8em;
  }
  .grid-view .product-price {
    font-size: 15px;
  }
  .list-view .price {
    font-size: 15px;
  }
  .list-view .price-wrapper {
    margin-top: 26px;
  }
}
@media screen and (min-width: 960px) and (max-width: 1100px) {
  .product-list-page-container .page-number {
    margin-bottom: 2px;
  }

  .list-view .list-card .product-image {
    height: 220px;
    width: 220px;
  }

  .list-view .list-card {
    gap: 20px;
  }

  .list-view .product-title {
    font-size: 14px;
    padding: 0 0 14px;
  }
  .list-view .description {
    display: none;
  }
}
