/* #region shop List 공통 */
.shop_list_img_box {
  position: relative;
}

.shop_list_container {
  padding: 6rem 0;
}

/* #region shop List 공통 */

/* #region 상품 리스트 베스트 */
.shop_best_box {
  background-color: #F4F4F4;
  width: 100%;
  padding: 6rem 0 5.4rem;
}

.shop_best_title {
  margin-bottom: 3rem;
}

.shop_best_title>span {
  display: inline-flex;
  align-items: center;
  gap: 1.2rem;
}

.shop_best_title h2 {
  color: #222;
  font-family: 'GyeonggiBatang', sans-serif;
  font-size: 2.6rem;
  font-weight: 700;
  letter-spacing: -0.104rem;
}

.shop_best_title p {
  color: #666;
  font-size: 1.4rem;
  font-weight: 400;
  letter-spacing: -0.028rem;
  padding-top: 0.6rem;
}

.shop_best_box .swiper-slide {
  width: 25.8rem;
  border: 0.1rem solid #D4D4D4;
  border-radius: 1.5rem;
  overflow: hidden;
}

.shop_best_box .shop_list_img_box>img {
  width: 100%;
  height: 28rem;
}

.wishlist_btn {
  right: 2.2rem;
  bottom: 2.2rem;
}

.shop_best_item_content {
  background-color: #ffffff;
  padding: 1.6rem;
}

.shop_best_item_name {
  font-size: 1.8rem;
  font-weight: 500;
  letter-spacing: -0.036rem;
}

.shop_best_item_price {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding-bottom: 2rem;
}

.shop_best_item_price img {
  width: 2rem;
  height: 0.9rem;
}

.shop_best_swiper .item_card_name {
  margin-top: 0;
}

.best_tag_img_box {
  position: absolute;
  top: 0;
  left: 0;
}

.best_tag_img_box svg path:first-child {
  fill: var(--color-primary);
}
/* #endregion 상품 리스트 베스트 */

/* #region 상품 리스트 헤더 */
.shop_list_header {
  margin-bottom: 3rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.shop_list_header_title h3 {
  color: #222;
  font-size: 2.6rem;
  font-weight: 700;
}

.shop_list_count {
  color: #666;
  font-size: 1.4rem;
  font-weight: 400;
  letter-spacing: -0.028rem;
}

.shop_list_count span {
  color: var(--color-primary);
  font-weight: 700;
}

.shop_list_sort_select {
  color: #666;
  font-size: 1.4rem;
  font-weight: 500;
  text-align: center;
  letter-spacing: -0.028rem;
  background-color: #ffffff;
  background-image: url(../svgs/select_arrow.svg);
  background-repeat: no-repeat;
  background-position: 1rem center;
  background-size: 1.2rem 0.6rem;
  width: 9.6rem;
  height: 3.4rem;
  padding-left: 1.2rem;
  border: 0.1rem solid #A8A8A8;
  border-radius: 3rem;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

/* #endregion 상품 리스트 헤더 */

/* #region 상품 리스트 */
.shop_list_grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 5rem 1rem;
}

.shop_list_item {
  border-radius: 0.4rem;
  overflow: hidden;
  position: relative;
}

.shop_list_item .shop_list_img_box {
  overflow: hidden;
  border-radius: 1rem;
}

.shop_list_item_content {
  padding: 1rem;
}

.shop_icon_soldout {
  color: #fff;
  font-size: 1.8rem;
  font-weight: bold;
  background: rgba(0, 0, 0, 0.5);
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
}

/* #endregion 상품 리스트 */

@media screen and (min-width: 768px) {

  /* #region 상품 리스트 베스트 */
  .shop_best_box .shop_list_img_box>img {
    height: auto;
  }

  /* #endregion 상품 리스트 베스트 */

  /* #region 상품 리스트 헤더 */
  .shop_list_header {
    padding-bottom: 1.4rem;
    border-bottom: 0.3rem solid #000000;
    align-items: flex-end;
  }

  .shop_list_header_title {
    display: flex;
    align-items: flex-end;
    gap: 1.6rem;
  }

  .shop_list_header_title h3 {
    font-size: 3.6rem;
  }

  .shop_list_count {
    font-size: 1.6rem;
  }

  .shop_list_count span {
    font-size: 2.4rem;
  }

  .shop_list_sort_tag {
    display: flex;
  }

  .sort_tag_btn {
    color: #666;
    font-size: 1.6rem;
    font-weight: 400;
    letter-spacing: -0.032rem;
    padding-left: 2.2rem;
    position: relative;
  }

  .sort_tag_btn svg {
    display: none;
  }

  .sort_tag_btn.active {
    color: #000;
    font-weight: 700;
  }

  .sort_tag_btn.active svg {
    display: block;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
  }

  .sort_tag_btn.active svg path {
    stroke: var(--color-primary);
  }

  /* #endregion 상품 리스트 헤더 */

  /* #region 상품 리스트 */
  .shop_list_grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 5rem 1rem;
  }

  /* #endregion 상품 리스트 */
}

@media screen and (min-width: 1024px) {

  /* #region shop List 공통 */
  .shop_list_container {
    padding: 10rem 0;
  }

  /* #region shop List 공통 */

  /* #region 상품 리스트 헤더 */
  .shop_list_header {
    margin-bottom: 4.8rem;
  }

  .sort_tag_btn {
    font-size: 1.5rem;
  }

  /* #endregion 상품 리스트 헤더 */

  /* #region 상품 리스트 */
  .shop_list_item {
    border-radius: 2rem;
    overflow: hidden;
  }

  .shop_list_item .shop_list_img_box {
    border-radius: 2rem;
  }

  .shop_list_item_price {
    display: flex;
    align-items: center;
    gap: 0.6rem;
  }

  .shop_list_item_price img {
    width: 1.8rem;
    height: 0.8rem;
  }

  /* #endregion 상품 리스트 */
}

@media screen and (min-width: 1200px) {

  /* #region 상품 리스트 헤더 */
  .shop_list_sort_tag {
    gap: 0.6rem;
  }

  .sort_tag_btn {
    font-size: 1.6rem;
  }

  /* #endregion 상품 리스트 헤더 */

  /* #region 상품 리스트 */
  .shop_list_grid {
    grid-template-columns: repeat(4, 1fr);
  }

  /* #endregion 상품 리스트 */
}

@media screen and (min-width: 1600px) {

  /* #region 상품 리스트 */
  .shop_list_grid {
    gap: 8rem 3rem;
  }

  .shop_list_item_price {
    padding: 0;
  }

  /* #endregion 상품 리스트 */
}
