/* -------- 메인 -------- */
.wrap.group {padding: 55px 0 100px;}
.wrap.group .main_banner {border-radius: 0;}


.gr_best .prd_con .prd_thumb {width: 155px; height: 155px;}
.gr_best .prd_con .prd_thumb .prd_info {position: absolute; top: 12px; left: 50%; transform: translateX(-50%); width: max-content;}
.gr_best .prd_con .prd_info {width: calc(100% - 170px);}
.prd_info .price .amount_people {margin-top: 8px; padding: 4px 15px; border-radius: 3px; background-color: #ffe2e0;}
.prd_info .price .amount_people {font-size: 13px; color: #555; font-weight: 500;}





/* -------- 공동구매 상세보기 -------- */
.wrap.group.detail .main_banner {aspect-ratio: 3 / 2;}
.wrap.group.detail .main_banner .bannerSwiper {height: 100%;}

.prd_dt_info {margin-bottom: 40px;}
.director {display: flex; align-items: center; padding: 20px 0; justify-content: space-between; border-bottom: 1px solid #eee;}
.director .info {display: flex; align-items: center; gap: 12px;}
.director .info .prof {width: 45px; height: 45px; border-radius: 100%; overflow: hidden;}
.director .info .prof img {display: block; width: 100%; height: 100%; object-fit: cover;}
.director .info .name {display: flex; flex-direction: column; align-items: flex-start; gap: 6px;}
.director .info .name > span {font-size: 15px; font-weight: 500;}
.director .info .name .commu_sub span {font-size: 14px; color: #999;}
.director .info .name .commu_sub i {width: 16px; height: 16px;}
.director .btn_menu {width: 35px; height: 35px; background: url(../img/btn_menu.png) no-repeat center/contain;}

.prd_dt_info .prd_info {display: flex; flex-direction: column; gap: 10px; padding: 20px 0; width: 100%;}
.prd_dt_info .prd_info .prd_tit {display: flex; flex-direction: column; align-items: flex-start; gap: 6px;}
.prd_dt_info .prd_info .prd_tit p {font-size: 16px; font-weight: 500; line-height: 1.5;}
.prd_dt_info .prd_info .prd_tit span {font-size: 14px; color: #444; line-height: 1.4;}
.prd_price {display: flex; align-items: flex-end; justify-content: space-between; padding-bottom: 20px; border-bottom: 1px solid #eee;}
.prd_price .price_box {display: flex; flex-direction: column; align-items: flex-start; gap: 5px;}
.prd_price .price_box dl {display: flex; align-items: center;}
.prd_price .price_box dt {width: 60px; color: #888; font-size: 14px;}
.prd_price .price_box dd {width: calc(100% - 60px); color: #888; line-height: 1.4;}
.prd_price .price_box .special {font-size: 15px; color: #111;}
.prd_price .price_box .discount {display: flex; align-items: center; gap: 5px; color: #111; font-size: 16px; font-weight: 700;}
.prd_price .price_box .discount em {font-size: inherit; font-weight: inherit; color: #FF3055;}
.prd_price .btn_share {width: 35px; height: 35px; background: url(../img/btn_share.png) no-repeat center/contain;}
.info_promo {display: flex; flex-direction: column; width: 100%; gap: 10px; padding-top: 20px;}
.info_promo .promo_tit {font-size: 14px;}
.info_promo .promo_box {display: flex; flex-direction: column; gap: 6px;}
.info_promo .promo_box .period {padding: 15px; border-radius: 5px; background-color: #f0ecff; text-align: center;}
.info_promo .promo_box .period span {font-size: 14px; font-weight: 600; color: #5834E8;}
.info_promo .promo_box .person {padding: 15px; border-radius: 5px; background-color: #f8f8f8; display: flex; align-items: center; justify-content: center; gap: 5px;}
.info_promo .promo_box .person i {display: block; width: 20px; height: 20px; background: url(../img/icon_person.png) no-repeat center/contain;}
.info_promo .promo_box .person p {color: #555; font-size: 14px; display: flex; align-items: center;}
.info_promo .promo_box .person p em {font-size: inherit; font-weight: 600; color: #111; padding-left: 5px;}

.prd_dt_cont {padding: 25px 0 40px; display: flex; flex-direction: column;}
.prd_dt_cont img {width: 100%; display: block; object-fit: contain;}
.prd_dt_cont .sub_info {display: flex; flex-direction: column; align-items: flex-start;  /* gap: 15px; */ padding-top: 20px; border-top: 1px solid #eee; margin-top: 20px;}
.prd_dt_cont .sub_info span {font-size: 16px;}
.prd_dt_cont .sub_info dl {display: flex; align-items: center; gap: 12px; font-size: 14px; line-height: 1.5;}
.prd_dt_cont .sub_info dt {color: #666;}
.prd_dt_cont .sub_info dd {color: #444;}


.wrap.group .sub_tab {width: calc(100% + 2.4em); margin-left: -1.2em; padding: 0;}
.wrap.group .sub_tab span {width: calc((100% + 2.4em) / 3);}
.wrap.group .sub_tab a {width: calc((100% + 2.4em) / 3);}

/* 리뷰목록 */
.review_area {padding: 40px 0;}
.prd_title {display: flex; align-items: center; gap: 3px; font-size: 16px; padding-bottom: 20px;}
/* .prd_title span {font-family: 'WavvePADO-Regular';} */
.prd_title em {color: #5834E8;}
.review_star {padding: 25px 0; background-color: #faf9ff; border-radius: 5px; display: flex; align-items: center; justify-content: center; gap: 20px;}
.review_star span {display: flex; align-items: center; gap: 6px; font-size: 14px; color: #444;}
.review_star span em {font-size: 18px; font-weight: 700;}
.review_star .star_box {display: flex; align-items: center; gap: 4px;}
.review_star .star_box i {display: block; width: 25px; height: 25px; background: url(https://s3.ap-northeast-2.amazonaws.com/lbcontents/images/ESTP/169152479732157.png) no-repeat center/contain; position: relative;}
.review_star .star_box i:last-child {background: url(https://s3.ap-northeast-2.amazonaws.com/lbcontents/images/ESTP/169152479732157.png) no-repeat center/contain;}
.review_score {display: flex; flex-direction: column; gap: 15px; padding-bottom: 20px; border-bottom: 1px solid #eee;}
.review_score .img_slide {display: grid; grid-template-columns: 1fr 1fr 1fr 1fr 1fr; gap: 8px; width: 100%;}
.review_score .img_slide .review_thumb {aspect-ratio: 1; border-radius: 5px; overflow: hidden; position: relative;}
.review_score .img_slide .review_thumb img {width: 100%; height: 100%; display: block; object-fit: cover; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);}
.review_score .img_slide .review_thumb .btn_more {background-color: #00000050; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 0; border-radius: 0; border: none; margin-top: 0; height: 100%; position: absolute; width: 100%; height: 100%; top: 50%; left: 50%; transform: translate(-50%, -50%);}
.review_score .img_slide .review_thumb .btn_more em {font-size: 22px; font-weight: 300; color: #fff;}
.review_score .img_slide .review_thumb .btn_more span {font-size: 13px; color: #fff; font-weight: 500;}

.review_list {display: flex; flex-direction: column; width: 100%;}
.review_set {display: flex; flex-direction: column; gap: 12px; padding: 20px 0; border-bottom: 1px solid #eee;}
.review_set:last-child {padding-bottom: 0; border-bottom: none;}
.review_con {display: flex; flex-direction: column; gap: 10px;}
.review_con .review_tit {display: flex; align-items: center; justify-content: space-between;}
.review_con .reviewer {display: flex; align-items: center; gap: 5px;}
.review_con .reviewer .star_box {display: flex; align-items: center; gap: 2px;}
.review_con .reviewer .star_box i {display: block; width: 16px; height: 16px; background: url(https://s3.ap-northeast-2.amazonaws.com/lbcontents/images/ESTP/169152479732157.png) no-repeat center/contain;}
.review_con .reviewer .name {font-size: 13px; font-weight: 500; color: #666;}
.review_con .review_tit .date {font-size: 13px; color: #888; font-weight: 500;}
.review_cont {display: flex; align-items: center; justify-content: space-between;}
.review_cont p {font-size: 15px; line-height: 1.5; max-width: calc(100% - 95px); display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; width: 100%;}
.review_cont .re_thumb {width: 80px; height: 80px; position: relative; border-radius: 5px; overflow: hidden;}
.review_cont .re_thumb img {width: 100%; height: 100%; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); object-fit: cover;}
.review_cont .re_thumb .amount {font-size: 14px; color: #fff; font-weight: 500; padding: 4px 8px; border-radius: 3px; position: absolute; top: 8px; left: 8px; background-color: #00000050;}
.review_reply {display: flex; flex-direction: column; align-items: flex-start; gap: 15px; padding: 16px; border-radius: 5px; background-color:#f8fafd;}
.review_reply p {font-size: 15px; line-height: 1.4;}
.review_reply .replyer {display: flex; align-items: center; gap: 5px;}
.review_reply .replyer span {font-size: 13px; color: #888;}
.review_reply .replyer i {width: 1px; height: 8px; background-color: #aaa;}


/* 문의목록 */
.qna_area {padding: 40px 0;}
.qna_set {padding: 20px 0; border-bottom: 1px solid #eee; display: flex; flex-direction: column; gap: 12px; width: 100%;}
.qna_set:first-child {padding-top: 0;}
.qna_set:last-child {padding-bottom: 0; border-bottom: none;}
.qna_con {display: flex; flex-direction: column; gap: 10px;}
.qna_con .qna_tit {display: flex; align-items: center; justify-content: space-between;}
.qna_con .qna_tit .date {font-size: 13px; color: #888;}
.tag_type1 {display: flex;}
.tag_type1 span {font-size: 13px; font-weight: 600; padding: 6px 15px; border-radius: 20px;}
.tag_type1 .tag1 {color: #fff !important; background-color: #FF511B;}
.tag_type1 .tag2 {background-color: #eee; color: #888 !important;}
.tag_type1 .tag3 {background-color: #fff; color: #c0a34f!important; border: 1px solid #c0a34f;}
.qna_tit .status {display: flex; align-items: center; gap: 4px;}
.qna_tit .status span {font-size: 13px; color: #888;}
.qna_tit .status i {width: 2px; height: 2px; border-radius: 100%; background-color: #aaa;}


/* 상세보기 하단버튼바 */
.dt_bottom {display: flex; align-items: center; padding: 16px 1.2em; position: fixed; bottom: 0; left: 0; width: 100%; border-top: 1px solid #eee; box-shadow: 0px -2px 8px  rgba(0, 0, 0, .03); gap: 8px; background-color: #fff;}
.dt_bottom div[class*="btn_"] {width: 48px; height: 48px; border-radius: 3px; border: 1px solid #ddd; overflow: hidden;}
.dt_bottom .btn_like {background: url(https://s3.ap-northeast-2.amazonaws.com/lbcontents/images/ESTP/169203861246323.png) no-repeat center; background-size: 50%;}
.dt_bottom .btn_like img {width: 100%; display: block; object-fit: contain;}
.dt_bottom .btn_like img.on {display: none;}
.dt_bottom .btn_like.on img.on {display: block;}
.dt_bottom .btn_like.on img.default {display: none;}


.dt_bottom .btn_share {background: url(../img/dt_btn_share.png) no-repeat center/contain;}


.dt_bottom.type1 button {width: calc(100% - 110px);}
.dt_bottom.type2 button {display: flex; align-items: center; gap: 8px;}
.dt_bottom.type2 button i {display: block; width: 17px; height: 17px;}
.dt_bottom.type2 button.share1 i {background: url(../img/btn_party.png) no-repeat center/contain;}
.dt_bottom.type2 button.like1 i {background: url(../img/btn_party_like.png) no-repeat center/contain; width: 15px; height: 15px;}


/* -------- 공동구매 참여완료 -------- */
.done_info {padding: 25px; border-radius: 10px; background-color: #fafafa; display: flex; flex-direction: column; gap: 10px; width: 100%; margin-top: 15px;}
.done_info dl {display: flex; align-items: center; justify-content: space-between;}
.done_info dt {font-size: 14px; color: #666;}
.done_info dd {font-size: 15px; line-height: 1.5;}


/* -------- 공동구매 열기 -------- */
.wrap.write {padding: 80px 0 30px;}
.open_input {display: flex; flex-direction: column; width: 100%; gap: 30px; margin-bottom: 40px;}
.input_box {display: flex; flex-direction: column; align-items: flex-start; gap: 10px; width: 100%;}
.input_box p {font-size: 15px; color: #555;}
.input_box .input_con {width: 100%;}
.input_box .input_con input {width: 100%;}
.input_con .button_choice {border-radius: 5px; border: 1px solid #ddd; padding: 16px 12px; display: flex; align-content: center; justify-content: space-between;}
.input_con .button_choice span {font-size: 16px; color: #777;}
.input_con .button_choice i {width: 10px; height: 16px; background: url(../img/choice_arrow.png) no-repeat center/contain;}

.discription {background-color: #f9f9f9; padding: 15px; border-radius: 5px;}
.discription dl {display: flex; align-items: flex-start; gap: 6px; font-size: 13px; line-height: 1.5;}
.discription dt {height: 20px; color: #555;}
.discription dd {color: #555;}
.upload_img {display: flex; flex-direction: column; width: 100%; gap: 10px;}
.img_enter {display: grid; grid-template-columns: 1fr 1fr 1fr 1fr; gap: 12px;}
.img_enter > div {width: 100%; aspect-ratio: 1; border-radius: 5px; overflow: hidden; position: relative;}
.img_enter .btn_enter {display: flex; flex-direction: column; align-items: center; gap: 2px; background-color: #f1f1f1; justify-content: center; position: relative;}
.img_enter .btn_enter i {display: block; width: 25px; height: 25px; background: url(../img/icon_camera.png) no-repeat center/contain;}
.img_enter .btn_enter span {font-size: 13px; color: #999;}
.img_enter .btn_enter input[type="file"] {position: absolute; width: 100%; height: 100%; background-color: transparent; outline: none; border: none; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 5; font-size: 0;}
.img_enter .btn_enter input[type="file"]::file-selector-button {display: none;}
.img_enter .btn_img img {width: 100%; height: 100%; object-fit: cover; display: block;}
.img_enter .btn_img .del_img {display: block; width: 32px; height: 32px; position: absolute; top: 5px; right: 5px; background: url(../img/btn_delete_img.png) no-repeat center/contain;}

.group_setting {display: flex; flex-direction: column; gap: 12px; width: 100%;}
.setting_con {display: flex; align-items: center; width: 100%; justify-content: space-between;}
.setting_con .tit {font-size: 13px; font-weight: 400; color: #888; width: 90px;}
.setting_con .period_con {display: flex; flex-direction: column; align-items: flex-start; gap: 5px; width: 48%;}
.setting_con .period_con input {width: 100%; border: 1px solid #ddd; border-radius: 3px; padding: 12px 16px; outline: none; height: 53px;}
.input_con .chkbox {padding-top: 15px;}
 

/* 공구태그선택 - 필터 */
.open_input.filter {padding-top: 20px;}
.input_con .filter_area {display: grid; grid-template-columns: 1fr 1fr 1fr; column-gap: 12px; row-gap: 15px; padding-top: 5px;}
.input_con .filter_area .chkbox {padding-top: 0;}

/* 상품상세정보등록 */
.input_box .tit_box {display: flex; align-items: center; justify-content: space-between; width: 100%;}
.input_box .tit_box .btn_box {display: flex; align-items: center; gap: 8px;}
.input_con .detail_area {display: flex; flex-direction: column; width: 100%; gap: 20px;}
.input_con .detail_area .dt_con {padding: 16px; border-radius: 5px; background-color: #f5f5f5; display: flex; flex-direction: column; gap: 12px; width: 100%;}
.input_con .detail_area .dt_con dl {display: flex; align-items: center; width: 100%;}
.input_con .detail_area .dt_con dt {width: 50px; font-size: 14px; color: #333; font-weight: 500;}
.input_con .detail_area .dt_con dd {width: calc(100% - 50px);}
.input_con .dt_con .btn_box {justify-content: flex-end; display: flex;}
.input_con .dt_con .btn_box button {width: max-content;}