@charset "utf-8";

/* 상품리스트 > 바로구매, 장바구니, 찜하기 버튼 추가 - 251127 ssody */
.add_cart_layer .wrap, .add_wish_layer .wrap{border-color:#21807A;}
.add_cart_layer p{background-image:url('../upload/add_cart_success1.png'); background-size:42px auto;}
.add_wish_layer p{background-image:url('../upload/add_wish_success1.png');}
.add_cart_layer .btn, .add_wish_layer .btn{border-color:#21807A; color:#21807A;}
.add_cart_layer .btn, .add_wish_layer .btn{background-color:#21807A; color:#FFFFFF;}
.add_cart_layer .btn_close, .add_wish_layer .btn_close{background-color:#FFFFFF; color:#21807A;}


/* 상품리스트 */
.goods_list_box .goods_product_list{display:flex; flex-wrap:wrap;}
/* 메인페이지 상품진열 */
._goods_display_main .main_prd_list{display:flex; flex-wrap:wrap;}
/* 메인페이지 상품진열 > 탭형 */
._goods_display_main .main_prd_list .goods_prd_item7 > ul{display:flex; flex-wrap:wrap;}
/* 추천 상품리스트 */
.recommend_prd_list{display:flex; flex-wrap:wrap;}

.item_purchase{display:flex; align-items:center; justify-content:center; padding-top:4px; margin-top:auto;}
.item_purchase button{width:40px; height:40px; background:#ffffff; border:1px solid #21807A; box-sizing:border-box;}
.item_purchase button.btn_add_order_list{width:calc(100% - 78px); padding:2px; border:1px solid #21807A;}
.item_purchase button.btn_add_order_list span{display:inline-block; width:100%; height:100%; border:1px solid #21807A; color:#21807A; font-size:12px; font-weight:500; line-height:34px; letter-spacing:0.5px; box-sizing:border-box; transition:all 0.3s ease;}
.item_purchase button.btn_add_order_list:hover span{background:#21807A; color:#FFFFFF;}
.item_purchase button.btn_add_cart_list{background-image:url('../img/icon/icon_list_cart_basic.png'); background-repeat:no-repeat; background-position:center; background-size:40px; margin-left:-1px;}
.item_purchase button.btn_add_cart_list:hover{background-image:url('../img/icon/icon_list_cart_rollover.png');}
.item_purchase button.btn_add_wish_list{background-image:url('../img/icon/icon_list_favorite_basic.png'); background-repeat:no-repeat; background-position:center; background-size:40px; margin-left:-1px;}
.item_purchase button.btn_add_wish_list:hover{background-image:url('../img/icon/icon_list_favorite_rollover.png');}


/* 아이콘 */
.item_icon_box {display:flex; align-items:flex-start; gap:4px; min-height:18px; padding-top:4px;}
.item_icon_box  img{display:inline-block !important; width:auto !important;}

/* 갤러리형 */
.goods_prd_item2 .goods_prd_item2_box{display:flex; flex-direction:column; height:100%; box-sizing:border-box;}
.goods_prd_item2 .goods_prd_item2_box .item_purchase{padding-top:0;}
/* 탭형 */
.goods_prd_item7 .goods_prd_item7_box{display:flex; flex-direction:column; height:100%; box-sizing:border-box;}

/* 상품이동형 */
.goods_prd_item4_li .slick-track{display:flex;}
.goods_prd_item4_li .slick-track .goods_prd_item4 .goods_prd_item4_box{display:flex; flex-direction:column; height:100%; box-sizing:border-box;}

/* 스크롤형 */
.goods_prd_item6_li ul.goods_prd_item6_scroll{height:100%;}
.goods_prd_item6_li ul.goods_prd_item6_scroll .swiper_slide .goods_prd_item6{height:100%;}
.goods_prd_item6_li ul.goods_prd_item6_scroll .swiper_slide .goods_prd_item6 .goods_prd_item6_box{display:flex; flex-direction:column; height:100%; box-sizing:border-box;}

/* 장바구니형 */
.goods_prd_item11 .goods_prd_item11_box{display:flex; flex-direction:column; height:100%; box-sizing:border-box;}

/* 다중선택형 */
#relateGoodsList{display:flex; flex-wrap:wrap;}

/*품절 상품 전용 버튼 스타일 */
/* 품절 전체 래퍼 */
.item_purchase_soldout {display:flex; align-items:center; justify-content:center; padding-top:4px;margin-top:auto; }

/* 재입고 알림 버튼 */
.item_purchase_soldout .btn_add_restock {
    width:calc(100% - 40px); /* 오른쪽 찜 버튼 자리 */
    height:40px;
    padding:2px;
       background: url('/data/skin/front/MARKET/upload/icon_alert_graybell.png') no-repeat 15px center;
   background-size: 28px auto;    /* 아이콘 크기 줄이기 */  
   background-color:#FFFFFF;
    border:1px solid #828282;
    box-sizing:border-box;
    transition:all 0.3s ease;}

/* 재입고알림 텍스트 */
.item_purchase_soldout .btn_add_restock span{
    display:inline-block;  width:100%; height:100%;   padding: 0 0 0 20px; border:1px solid #828282;  color:#828282;font-size:12px;font-weight:500;line-height:34px;
    letter-spacing:0.5px; box-sizing:border-box;transition:all 0.3s ease;}

/* hover */
.item_purchase_soldout .btn_add_restock:hover span{
 border:2px solid #0F8939;
    color:#0F8939;
 background: url('/data/skin/front/MARKET/upload/icon_alert_rolloverbell.png') no-repeat  15px center;
   background-size: 28px auto;
 border:2px solid ##0F8939;
    box-sizing:border-box;}
.item_purchase_soldout .btn_add_wish_list:hover{background-image:url('../img/icon/icon_list_favorite_rollover.png');
}

/* 검색 결과에서도 gallery_type2(list_01)를 2단으로 보이게 */
.goods_search .goods_list_box .goods_product_list {display:flex;flex-wrap:wrap;}
.goods_search .goods_list_box .goods_product_list .goods_prd_item2 {width:50%;  box-sizing:border-box;}
/* “상품이 존재하지 않습니다” 박스는 한 줄 꽉 채우도록 */
.goods_search .goods_list_box .goods_product_list li.no_bx {width:100%;}

/* 재입고알림 레이어팝업으로 변경 - 251208 ssody */
#restockNoticeLayer{top:calc(50% - 220px); left:calc(50% - 160px); width:320px; height:441px; background:#ffffff;}
#restockNoticeLayer .popup_goods_restock{width:auto; height:auto; padding:0 15px 12px; margin:4px; border:4px solid green;}
#restockNoticeLayer .popup_goods_restock .restock_top{background:#FFFFFF; border-bottom:1px solid #000000;}
#restockNoticeLayer .popup_goods_restock .restock_top h1{padding:0; color:#000000; font-size:17px;}
#restockNoticeLayer .popup_goods_restock .restock_top div{top:11px; right:0; width:26px; height:26px; padding:0; font-size:0;}
#restockNoticeLayer .popup_goods_restock .restock_top div:before, #restockNoticeLayer .popup_goods_restock .restock_top div:after{content:""; position:absolute; left:0; top:13px; width:26px; height:1px; background:#000000; transform:rotate(45deg);}
#restockNoticeLayer .popup_goods_restock .restock_top div:after{transform:rotate(135deg);}
#restockNoticeLayer .popup_goods_restock .restock_contents{margin:0;}
#restockNoticeLayer .popup_goods_restock .restock_contents .name{height:auto; background:#FFFFFF; padding:10px 5px; margin-bottom:10px; border-bottom:1px solid #e6e6e6; font-size:13px; line-height:1.5;}
#restockNoticeLayer .popup_goods_restock .restock_contents .restock_request_input{background:#FFFFFF; padding:7px 0; border-top:1px solid #e6e6e6; border-bottom:1px solid #e6e6e6;}
#restockNoticeLayer .popup_goods_restock .restock_contents .restock_request_input dl{padding:5px 0;}
#restockNoticeLayer .popup_goods_restock .restock_contents .restock_request_input dl dd input{width:88%;}
#restockNoticeLayer .popup_goods_restock .restock_contents .restock_private .restock_private_subject .restock_private_subject_line{text-align:center; font-size:11px;}
#restockNoticeLayer .popup_goods_restock .restock_contents .restock_private .restock_private_subject .restock_private_subject_line:last-child{display:none;}
#restockNoticeLayer .popup_goods_restock .restock_contents .restock_private .restock_private_subject span{color:#21807A;}
#restockNoticeLayer .popup_goods_restock .restock_contents .restock_private .restock_private_contents{height:56px; background:#FFFFFF; border:1px solid #e6e6e6; font-size:11px;}
#restockNoticeLayer .popup_goods_restock .restock_contents .restock_private .restock_private_contents > div{margin:0;}
#restockNoticeLayer .popup_goods_restock .restock_contents .restock_message{color:#777777; font-size:10px;}
#restockNoticeLayer .popup_goods_restock .restock_contents .restock_button4{display:none;}
#restockNoticeLayer .popup_goods_restock .restock_contents .restock_button3{width:100%; height:36px; background:#21807A; border-color:#21807A; font-size:13px; line-height:28px; box-sizing:border-box;}

/* 상품리스트 > 품절상품 숨기기 - 251211 ssody */
.soldout_checkbox{display:flex; align-items:center; justify-content:flex-end; padding:8px 22px;}
.soldout_checkbox input{width:18px; height:18px; margin-top:-2px;}
.soldout_checkbox label{color:#666666; font-size:12px;}

/* 연관상품 영역에서만 */
.goods_prd_item4_box .item_purchase .btn_add_order_list span{font-size:0 !important;}
.goods_prd_item4_box .item_purchase .btn_add_order_list span::after{content:"구매";font-size:14px;font-weight:500; }

/* 메인페이지 > 공지사항 롤링 - 260219 ssody */
.banner-weekly img{margin-top:0;}
.main_notice{padding:0 8px;  margin:12px 0;}
.main_notice .notice_rolling{overflow:hidden; position:relative; width:100%; height:29px;}
.main_notice .notice_rolling ul{width:100%; height:29px; padding-right:44px !important; box-sizing:border-box;}
.main_notice .notice_rolling ul li a{overflow:hidden; display:block; padding:0; font-size:13px; font-weight:500; line-height:29px; text-overflow:ellipsis; white-space:nowrap; word-wrap:break-word;}
.main_notice .notice_rolling ul li a:hover{color:#21807A;}
.main_notice .notice_rolling ul li a .notice_regdt{margin-right:8px;}
.main_notice .notice_rolling .btn_notice_rolling{position:absolute; top:5px; right:0; display:flex; gap:4px; z-index:1;}
.main_notice .notice_rolling .btn_notice_rolling a{display:inline-block; margin-left:-1px;}

/* 상품리스트 > 상품없을 때 메세지 - 260227 ssody */
.goods_list_box .goods_product_list .no_bx{display:flex; align-items:center; justify-content:center; width:100%; height:160px;}
.goods_list_box .goods_product_list .no_bx strong{font-size:13px; font-weight:400;}
