.pro_img {
    position: relative;
    width: 100%;
    aspect-ratio: 1/1;
    overflow: hidden;
}

.pro_img img {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    transition: opacity 0.4s ease;
}

.img-hover {
    opacity: 0;
}

.product:hover .pro_img .img-hover {
    opacity: 1;
}

.pro_img:hover .img-default {
    opacity: 0;
}

.pro_text {
  padding: 20px;
  overflow: hidden;
}

.pro_text h3 {
  font-size: 20px;
  padding-bottom: 10px;
  /* color: #1c2c44; */
}

.pro_text .price_wrap {
  display: flex;
  align-items: flex-end;
}

.pro_text .price_wrap .sale {
  font-size: 18px;
  font-weight: bold;
  color: #881a1a;
  padding-right: 5px;
}
.pro_text .price_wrap .price{
  font-size: 20px;
  padding-right: 10px;
}
.pro_text .price_wrap .bef_price {
  position: relative;
  color: rgba(0, 0, 0, .6);
}
.pro_text .price_wrap .bef_price::before {
  position: absolute;
  top: 50%;
  content: "";
  width: 100%;
  height: 1.5px;
  background: rgba(0, 0, 0, .6);
}

.pro_text .soldout_txt {
  margin-top: 6px;
  font-size: 12px;
  font-weight: 700;
  color: #e64586;
  letter-spacing: 0.5px;
  border-radius: 20px;
  border: 1px solid #e64586;
  padding: 1px 8px;
  width: 82px;
}



/************************* 뱃지 *************************/
.badge_wrap {
  margin-top: 6px;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  font-size: 13px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 2px 8px 3px;
  border-radius: 999px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}

/* 아이콘 공통 */
.badge::before {
  font-size: 12px;
}

/* 1. 전국택배상품 */
.badge-delivery-parcel {
  background: #e4f7e7;
  color: #0b8a3a;
}
.badge-delivery-parcel::before {
  content: "📦";
}

/* 2. 수도권직배송 */
.badge-delivery-metro-direct {
  background: #e3ebf6;
  color: #2a3f5f;
}
.badge-delivery-metro-direct::before {
  content: "🚚";
}

/* 3. 서울배송 */
.badge-delivery-seoul {
  background: #efe7ff;
  color: #7b4ad9;
}
.badge-delivery-seoul::before {
  content: "📍";
}

/* 4. 전국배송 */
.badge-delivery-nation {
  background: #e2f4f3;
  color: #008b80;
}
.badge-delivery-nation::before {
  content: "🗺️";
}

/* 5. 추천 */
.badge-best {
  background: #ffe9d7;
  color: #ff9500;
}
.badge-best::before {
  content: "👍";
}

/* 6. 예약상품 */
.badge-reserve {
  background: #ffe4f1;
  color: #e64586;
}
.badge-reserve::before {
  content: "⏰";
}

/* 7. 배송비별도상품  */
.badge-extra-fee {
  background: #f1f1f1;
  color: #666;
}
.badge-extra-fee::before {
  content: "⚠️";
}

/* 8. 전용지역상품 */
.badge-only-region {
  background: #fff4d8;
  color: #c17c00;
}
.badge-only-region::before {
  content: "📍";
}

@media screen and (max-width:1024px) {
  .pro_text {
    position: relative;
    padding: 10px;
  }
  .pro_text h3 {
    font-size: 18px;
  }

  .pro_text .price_wrap {
    flex-wrap: wrap;
    gap: 4px 8px;
  }

  .pro_text .price_wrap .price {
    padding-right: 5px;
  }
  .pro_text .price_wrap .bef_price {
    font-size: 16px;
  }
}

@media screen and (max-width:960px) {
  .pro_text .price_wrap {
    gap: 0px 5px;
  }

  .pro_text .price_wrap .sale {
    padding-right: 0px;
  }

  .product_wrap ul {
    gap: 15px;
  }

  .pro_text h3 {
    font-size: 16px;
    padding-bottom: 5px;
  }
  .pro_text .price_wrap .bef_price {
    font-size: 14px;
  }
}

@media screen and (max-width:768px) {
  .section_case01 {
    flex-wrap: wrap;
  }
  .section_case01 .banner {
    width: 100%;
  }

  .banner .pc_img {
    display: none;
  }
  .banner .m_img {
    display: block;
    border-radius: 10px;
  }
  
  .product_wrap {
    width: 100%;
  }
  .product_wrap ul li {
    width: calc(25% - 11.25px);
  }
  .pro_img img {
    border-radius: 10px;
  }

  .pro_text .price_wrap .sale {
    font-size: 16px;
    padding-right: 0;
  }
  .pro_text .price_wrap .price {
    font-size: 16px;
  }

}

@media screen and (max-width:500px) {
  .product_wrap ul {
    flex-wrap: wrap;
  }
 .product_wrap ul li {
    width: calc(50% - 7.5px);
  }

  .badge_wrap {
    font-size: 11px;
    gap: 3px;
  }
  .badge {
    padding: 2px 6px;
  }
}

@media screen and (max-width:420px) {
  .pro_text h3 {
    font-size: 14px;
  }
  .pro_text .price_wrap .sale {
    font-size: 14px;
  }
  .pro_text .price_wrap .price {
    font-size: 14px;
    padding-right: 0;
  }
  .pro_text .price_wrap .bef_price {
    font-size: 12px;
  }
}
  @media screen and (max-width:350px) {
    .pro_text h3,
    .pro_text .price_wrap .sale,
    .pro_text .price_wrap .price{
      font-size: 12px;
    }
  .pro_text .price_wrap .bef_price {
    font-size: 10px;
  }
}

/*****************서브 상단 배너 영역 *****************/
#list_banner {
  padding-bottom: 80px;
}

#list_banner .list_banwrap {
  width: 100%;
  max-height: 120px;
  background: #2a3f5f;
  border-radius: 15px;
  overflow: hidden;
  display: flex;
}

#list_banner .list_banwrap li {
  width: 50%;
  overflow: hidden;
}

#list_banner .list_banwrap .list_txt {
  width: 100%;
  height: 100%;
  padding: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  font-size: 20px;
}
#list_banner .list_banwrap .list_img {
  overflow: hidden;
  width: 100%;
  height: 100%;
  border-radius: 15px 0 0 15px;
}

#list_banner .list_banwrap .list_img img {
  object-fit: cover;
  object-position: center;
  width: 100%;
  height: 100%;
}

/*****************서브 리스트 카테고리 영역 *****************/
#list_cate {
  width: 100%;
  padding-bottom: 50px;
}
#list_cate ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

#list_cate ul li {
  text-align: center;
  height: 100%;
}

/* #list_cate ul li a {
  display: block;
  min-width: 150px;
  width: 100%;
  height: 100%;
  padding: 10px 15px;
  border: 2px solid #2a3f5f;
  border-radius: 9999px;
  color: #2a3f5f;
  font-weight: bold;
} */

#list_cate ul li a {
  display: block;
  min-width: 150px;
  padding: 12px 20px;
  border: 2px solid #017b9d;
  border-radius: 9999px;
  color: #017b9d;
  font-weight: 600;
  font-size: 20px;
  background: #f9fcff;
  transition: all .3s ease;
}

#list_cate ul li a:hover {
  background: #017b9d;
  color: #fff;
  box-shadow: 0 3px 5px rgba(42,63,95,0.25);
  transform: translateY(-3px);
}


@media screen and (max-width:1200px) {
  #list_banner {
    padding-top: 100px;
    padding-bottom: 50px;
  }
  #list_banner .list_banwrap {
    max-height: 100px;
  }
  #list_cate ul li a {
    padding: 8px 20px;
    font-size: 18px;
  }
}

@media screen and (max-width:768px) {
  #list_cate ul li a {
    min-width: 120px;
    padding: 7px 16px;
    font-size: 16px;
  }
}

@media screen and (max-width:640px) {
  #list_banner .list_banwrap .list_txt h3 {
    font-size: 16px;
  }
}

@media screen and (max-width:500px) {
  #list_banner .list_banwrap {
    max-height: 80px;
    border-radius: 10px;
  }
  #list_banner .list_banwrap .list_img {
    border-radius: 10px 0 0 10px;
  }
}
@media screen and (max-width:400px) {
    #list_cate ul li a {
      min-width: 80px;
      font-size: 14px;
    }
}


/*****************서브 공통 타이틀 *****************/
.sub_tit {
  display: flex;
  justify-content: flex-start;
  align-items: flex-end;
  gap: 20px;
  padding-bottom: 50px;
}
.sub_tit h2 {
  font-size: 40px;
  color: #2a3f5f;
  font-family: 'Paperozi', sans-serif;
}
.sub_tit h3 {
  font-size: 20px;
  color: #017b9d;
  font-family: 'Paperozi', sans-serif;
  font-weight: 600;
  padding-bottom: 3px;
}

@media screen and (max-width:768px) {
  .sub_tit h2 {
    font-size: 30px;
  }
  .sub_tit h3 {
    font-size: 15px;
  }
}
@media screen and (max-width:640px) {
  .sub_tit {
    padding-bottom: 30px;
  }
}
@media screen and (max-width:500px) {
  .sub_tit {
    gap: 10px;
    flex-wrap: wrap;
  }
  .sub_tit h2 {
    font-size: 25px;
    width: 100%;
  }
  .sub_tit h3 {
    font-size: 15px;
  }
}


/*=========서브 상품리스트 ========*/
/*******상품리스트 *******/
.sub_product_list {
  width: 100%;
  position: relative;
  padding-bottom: 50px;
}

.sub_product_list::before {
  content: "";
  position: absolute;
  bottom: 190px;
  width: 100%;
  z-index: -1;
}
#sub_best .sub_product_list::before {
  height: 250px;
  background: #fff5f5;
}
#sub_pick .sub_product_list::before {
  background: #f8fbff;
  height: 180px;
}

.sub_product_list ul {
  display: flex;
  gap: 20px;
  justify-content: center;
}

#sub_best .sub_product_list ul li {
  width: calc(33.333% - 13.333px);
}
#sub_pick .sub_product_list ul li {
  width: calc(25% - 15px);
}

.sub_product_list .img_wrap {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
}

.sub_product_list .img_wrap img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
  border-radius: 14px;
  overflow: hidden;
}

.sub_product_list .pro_img{
  position: relative;
  overflow: hidden;
  border-radius: 15px;
}
.sub_product_list .pro_img img{
  border-radius: 0;
}

.pro_img .num {
  position: absolute;
  left: 0;
  bottom: 0px;
  color: #fff;
  width: 60px;
  height: 60px;
  border-radius: 0 12px 0 0;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  font-size: 25px;
  z-index: 5;
}

.pro_img .num1 {
  background: #2a3f5f;
}
.pro_img .num2 {
  background: #4e5f8f;
}
.pro_img .num3 {
  background: #707faa;
}

@media screen and (max-width:1200px) {
  #sub_pick .sub_product_list::before {
    bottom: 110px;
  }
  #sub_best .sub_product_list::before {
    bottom: 30%;
  }
}
@media screen and (max-width:1024px) {
  .pro_img .num {
    width: 50px;
    height: 50px;
    font-size: 20px;
  }
}

@media screen and (max-width:960px) {
  #sub_best .sub_product_list::before {
    display: none;
  }
}

@media screen and (max-width:640px) {
  .pro_img .num {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }
  .sub_product_list ul {
    gap: 10px;
  }
  #sub_best .sub_product_list ul li {
    width: calc(33.333% - 6.66px);
  }
  #sub_pick .sub_product_list ul li {
    width: calc(25% - 7.5px);
  } 
}

@media screen and (max-width:500px) {
  .sub_product_list ul {
    flex-wrap: wrap;
  }
  #sub_best .sub_product_list ul li:first-child {
    width: 100%;
  }
  #sub_best .sub_product_list ul li:nth-child(3),
  #sub_best .sub_product_list ul li:nth-child(2) {
    width: calc(50% - 5px);
  }
  #sub_pick .sub_product_list ul li {
    width: calc(50% - 5px);
  } 
}

/******* 서브 전체 상품 *******/
/*******전체 상품 타이틀 *******/
#sub_list .item_tit {
  border-bottom: 2px solid #d6d6d6;
  padding-bottom: 20px;
  margin-bottom: 30px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

#sub_list .item_tit h2 {
  font-size: 20px;
  color: #2a3f5f;
}
#sub_list .item_tit h2 span {
  font-size: 25px;
  color: #017b9d;
  font-weight: 800;
}

#sub_list {
  padding-bottom: 80px;
}

#ssch #sub_list {
  margin-top: 20px;
}

#sub_list .item_order ul {
  display: flex;
  justify-content: flex-end;
}

#sub_list .item_order ul li {
  position: relative;
  padding-right: 15px;
  color: #555;
}

#sub_list .item_order ul li::after {
  content: "";
  position: absolute;
  top: 5px;
  right: 7px;
  width: 1px;
  height: 10px;
  background: #ccc;
}
#sub_list .item_order ul li:last-child::after {
  display: none;
}

/*******상품리스트 *******/
#sub_list .sub_product_list ul {
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-start;
}
#sub_list .sub_product_list ul li {
  width: calc(20% - 8px)
}
#sub_list .pro_text .price_wrap {
  flex-wrap: wrap;
}

/******* 페이지네이션 *******/

#sub_list .page_wrap ul {
  display: flex;
  justify-content: center;
  gap: 8px;
}

#sub_list .page_wrap ul li {
  width: auto;
}

#sub_list .page_wrap ul li a {
  display: block;
  width: 35px;
  height: 35px;
  border: 1px solid #ccc;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  transition: .3s;
  color: #555;
}
#sub_list .page_wrap ul li a:hover,
#sub_list .page_wrap ul li a.active {
  background: #426496;
  color: #fff;
}

#sub_list .page_wrap ul li a:hover svg polyline {
  stroke: #fff;
}


@media screen and (max-width:1200px) {
  #sub_list .pro_text {
    padding: 10px;
  }
    
  #sub_list .pro_text h3,
  #sub_list .pro_text .price_wrap .price {
    font-size: 18px;
  }

  #sub_list .pro_text .price_wrap .sale,
  #sub_list .pro_text .price_wrap .bef_price {
    font-size: 16px;
  }
}

@media screen and (max-width:1024px) {
  #sub_list .sub_product_list ul li {
    width: calc(25% - 7.5px);
  }
  
}

@media screen and (max-width:960px) {
  
}

@media screen and (max-width:768px) {
  #sub_list .item_tit h2 {
   font-size: 18px; 
  }
  #sub_list .item_tit h2 span {
    font-size: 22px;
  }
  #sub_list .item_order ul li a {
    font-size: 14px;
  }

  #sub_list .sub_product_list ul li {
    width: calc(33.333% - 6.666px);
  }
}
@media screen and (max-width:640px) {
  #sub_list .item_tit {
    flex-wrap: wrap;
    padding-bottom: 0;
    border-bottom: 0;
  }
  #sub_list .item_tit h2 {
   width: 100%;
   padding-bottom: 12px;
   margin-bottom: 12px;
   border-bottom: 1px solid#d6d6d6;
  }
  #sub_list .item_order {
    width: 100%;
  }
  #sub_list .item_order ul li:last-child {
    padding: 0;
  }

  #sub_list .sub_product_list ul li {
    width: calc(50% - 5px);
  }
}

@media screen and (max-width:500px) {
  #sub_list .page_wrap ul {
    gap: 5px;
  }
  #sub_list .page_wrap ul li a {
    width: 30px;
    height: 30px;
    font-size: 12px;
  }
}

@media screen and (max-width:400px) {
  #sub_list .pro_text h3,
  #sub_list .pro_text .price_wrap .price {
    font-size: 14px;
  }

  #sub_list .pro_text .price_wrap .sale,
  #sub_list .pro_text .price_wrap .bef_price {
    font-size: 12px;
  }


  #sub_list .item_order ul li {
    padding-right: 10px;
  }
  #sub_list .item_order ul li::after {
    top: 7px;
    right: 5px;
    height: 9px;
  }

  #sub_list .item_order ul li a {
    font-size: 12px;
  }
}

/* flower_present 스킨 전용 */
#sub_list .item_order ul li a.active {
  color: #017b9d;
  font-weight: 700;
}
.flower-present-wrap .sct_noitem {
  text-align: center;
  padding: 40px 0;
  color: #666;
}
