@charset "utf-8";
/* animation */
@keyframes reduce-box {
	0% { right: 50%; top: calc(50vh - 68px); width: 250px; height: 250px; transform: translate(50%, -50%) scale(1); } 
	50% { transform: scale(0.4); } 
	100% { right: 24px; top: 7px; transform: translate(0,0) scale(0.4); } 
}
@keyframes shake-box {
	0% { transform: rotate(0deg) scale(1); } 
	20% { transform: rotate(5deg) scale(1.1); } 
	40% { transform: rotate(-5deg) scale(1.1); } 
	60% { transform: rotate(5deg) scale(1.1); } 
	80% { transform: rotate(-5deg) scale(1.1); } 
	100% { transform: rotate(0deg) scale(1); } 
}

/* common */
.cont_box .cont_tit { font-size: var(--font-medium); font-weight: 700; line-height: 26px; } 
.cont_box .cont_desc { font-size: var(--font-regular); line-height: 20px; margin-top: 8px; } 

/** 장바구니 - 패키지팩 **/
/* 영양제 POP */
.package_top p { width: calc(100% - 120px); font-size: 26px; font-weight: 700; line-height: 34px; } 
.sample_pack { position: absolute; right: 50%; top: calc(50vh - 68px); transform: translate(50%, -50%) scale(1); text-align: center; transform-origin: right top; animation: reduce-box 0.6s ease-out 1 forwards 2s; z-index: 1100; } 
.sample_pack .sample_wrap { position: relative; display: inline-block; width: 250px; height: 250px; background: url(../../image/sub_mypage/bg_sample_pack.svg) no-repeat center center; background-size: contain; animation: shake-box 0.8s ease-in-out 1 forwards 1.2s; } 
.sample_pack .sample_wrap span { position: absolute; display: inline-block; text-indent: -9999px; overflow: hidden; opacity: 0; } 
.sample_pack .sample_wrap span.pill01 { width: 64px; height: 46px; background: url(../../image/sub_mypage/icon_pill_sample_01.svg) no-repeat center center; background-size: contain; } 
.sample_pack .sample_wrap span.pill02 { width: 79px; height: 78px; background: url(../../image/sub_mypage/icon_pill_sample_02.svg) no-repeat center center; background-size: contain; } 
.sample_pack .sample_wrap span.pill03 { width: 58px; height: 33px; background: url(../../image/sub_mypage/icon_pill_sample_03.svg) no-repeat center center; background-size: contain; } 
.sample_pack dl { width: 100%; margin-top: 18px; } 
.sample_pack dl dt { font-size: 22px; font-weight: 700; line-height: 30px; } 
.sample_pack dl dd { font-size: var(--font-medium); font-weight: 400; line-height: 30px; white-space: nowrap } 
.sample_pack_bg { position: absolute; left: 0; top: 0; width: 100%; height: 100vh; background: var(--color-white); content: ''; display: block; z-index: 1000; } 

/* 한달 구성 선택 */
.month_pack ul { margin-top: 16px; } 
.month_pack ul li { margin-bottom: 12px; } 
.month_pack ul li:last-of-type { margin-bottom: 0; } 
.month_pack ul li input[type="radio"] { display: none; } 
.month_pack ul li label { display: block; border: var(--border); border-radius: var(--border-radius); padding: 15px 24px; cursor: pointer; } 
.month_pack ul li label span { font-size: var(--font-medium); font-weight: 400; line-height: 24px; color: var(--color-black); display: inline-block; vertical-align: middle; } 
.month_pack ul li label span::before { width: 20px; height: 20px; border: 2px solid var(--color-disabled); border-radius: 50%; box-sizing: border-box; vertical-align: -3px; content: ''; display: inline-block; margin-right: 8px; } 
.month_pack ul li input[type="radio"]:checked + label { border: var(--border-main); box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1); } 
.month_pack ul li input[type="radio"]:checked + label span { font-weight: 600; } 
.month_pack ul li input[type="radio"]:checked + label span::before { border: 5px solid var(--color-main); } 

/* 영양제 목록 */
.package_item ul li { position: relative; display: flex; justify-content: space-between; margin-top: 16px; }
.package_item input[type=checkbox] { display: none; }
.package_item input[type=checkbox] + label { width: 26px; height: 26px; background: url(../../image/icon/agree_chk.svg) no-repeat center center; background-size: 26px; margin-top: 4px; }
.package_item input[type=checkbox]:checked + label { background: url(../../image/icon/agree_chk_on.svg) no-repeat center center; background-size: 26px; }
.package_item .detail_box { display: flex; width: calc(100% - 34px); padding: 8px; background: #FAFAFA; border-radius: 14px; margin-left: 8px; }
.package_item .img_box { position: relative; width: 70px; height: 70px; background: var(--color-white); border: var(--border-light); border-radius: var(--border-radius-s); overflow: hidden; }
.package_item .img_box > img { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); max-width: inherit; width: 200%; }
.package_item .img_box .btn_view { position: absolute; right: 4px; bottom: 4px; width: 24px; height: 24px; text-indent: -9999px; background: url(../../image/icon/icon_view.svg) no-repeat center center, var(--color-white); border-radius: 50%; box-shadow: 2.75px 2.75px 11px 0px rgba(0, 0, 0, 0.10); cursor: pointer; z-index: 5; }
.package_item .info_box { width: calc(100% - 78px); padding: 8px 0; margin-left: 8px; }
.package_item .info_box .name { font-size: 20px; font-weight: 700; line-height: 22px; word-break: keep-all; margin-bottom: 8px; }
.package_item .info_box p { width: 100%; font-size: var(--font-small); font-weight: 400; line-height: 20px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.package_item .info_box p em { font-size: 13px; color: var(--color-black-70); line-height: 18px; }
.package_item .info_box .price { font-size: var(--font-medium); font-weight: 700; line-height: 26px; text-align: right; margin-top: 8px; }

/* 장바구니 비었을 때 */
.none_list_area { width: 100%; text-align: center; } 
.none_list_area i { display: inline-block; width: 76px; height: 76px; margin-bottom: 12px; } 
.none_list_area .icon_folder { background: url(../../image/icon/icon_empty_folder.svg) no-repeat center center; background-size: contain; } 
.none_list_area .icon_paper { background: url(../../image/icon/icon_empty_paper.svg) no-repeat center center; background-size: contain; } 
.none_list_area h3 { font-size: var(--font-medium); font-weight: 700; line-height: 26px; margin-bottom: 4px; } 
.none_list_area p { font-size: var(--font-small); color: var(--color-black-70); line-height: 20px; margin-bottom: 24px; } 
.none_list_area a { display: inline-block; width: 190px; height: 40px; font-size: 15px; font-weight: 700; color: var(--color-main); line-height: 40px; background: var(--color-white); border: var(--border-main); box-sizing: border-box; border-radius: var(--border-radius); } 