@charset "utf-8";

.syndrome_color { color: #fff; }
.syndrome_color.type_1 { background: #EA5D6B; }
.syndrome_color.type_2 { background: #F6764D; }
.syndrome_color.type_3 { background: #F6BB47; }
.syndrome_color.type_4 { background: #3AAEDB; }
.syndrome_color.type_5 { background: #6A6D75; }
.syndrome_color.type_6 { background: #36BC7C; }
.syndrome_color.type_7 { background: #967BDC; }
.syndrome_color.type_8 { background: #4B7CDC; }
.syndrome_color.type_9 { background: #9AA2B0; }

.home_section_title { font-size: 13px; font-weight: 500; color: #0A152D; }
.btn_go_top { position: fixed; bottom: 28px; right: 28px; width: 40px; height: 40px; border-radius: 50%; background: rgba(0, 0, 0, .6) url('../Assets/img/go_top.svg') no-repeat center / 16px 18px; transition: background .15s ease; }
.syndrome_state_list { display: flex; flex-wrap: wrap; gap: 12px; }
.syndrome_state_list .syndrome_state { display: flex; border-radius: 15px; padding: 4px 10px; font-size: 11px; font-weight: 600; line-height: 1.2; }

/* home subject */
.home_subject { padding: 50px 28px 28px; }
.home_subject_title { font-size: 28px; color: #2453BD; line-height: 1.2; }
.home_subject_title em { display: flex; align-items: center; font-size: 34px; font-weight: 800; }
.home_subject_title em i { width: 24px; height: 24px; margin-left: 6px; }
.home_subject_desc { margin-top: 6px; font-size: 12px; font-weight: 500; color: #789BDE; }

/* 많이 찾는 질환 */
.home_syndrome_wrap { margin-top: 40px; padding: 0 20px; }
.home_syndrome_wrap .home_section_title { margin-left: 8px; }
.home_syndrome_wrap .syndrome_list { margin-top: 16px; display: flex; flex-direction: column; gap: 10px; }
.home_syndrome_wrap .syndrome_box { position: relative; }
.home_syndrome_wrap .syndrome_box .btn_syndrome { display: flex; align-items: center; width: 100%; padding: 0 30px 0 16px; height: 50px; background-color: #F4F6FF; border-radius: 12px; font-size: 14px; font-weight: 500; color: #0C162E; word-break: break-all; text-align: left; }
.home_syndrome_wrap .syndrome_box .btn_syndrome .syndrome_status_wrap { margin-left: 10px; display: flex; align-items: center; gap: 7px; }
.home_syndrome_wrap .syndrome_box .btn_syndrome .syndrome_status { display: inline-flex; width: 13px; height: 13px; border-radius: 50%; }
.home_syndrome_wrap .syndrome_box .syndrome_category { position: absolute; top: 50%; right: 6px; width: 30px; height: 30px; display: flex; justify-content: center; align-items: center; background: url('../Assets/img/icn_snydrome_list_arrow.svg') no-repeat center / 6px 12px; transform: translateY(-50%); }

/* 공지사항 */
.home_notice_wrap { margin-top: 58px; padding: 0 20px; }
.home_notice_wrap .title_wrap { display: flex; align-items: center; justify-content: space-between; }
.home_notice_wrap .title_wrap .btn_notice_list { display: flex; align-items: center; font-size: 13px; font-weight: 500; color: #606E8E; gap: 4px; }
.home_notice_wrap .title_wrap .btn_notice_list .icn_list_arrow { width: 5px; height: 8px; }
.home_notice_wrap .notice_list { display: flex; flex-direction: column; gap: 16px; margin-top: 14px; padding-bottom: 26px; }
.home_notice_wrap .notice_list .notice_box { display: flex; align-items: center; gap: 10px; }
.home_notice_wrap .notice_list .notice_box .notice_icn { display: flex; justify-content: center; align-items: center; width: 54px; height: 54px; background: #F4F6FD; border-radius: 50%; }
.home_notice_wrap .notice_list .notice_box .notice_icn [class^="icn_"] { width: 30px; height: 30px; }
.home_notice_wrap .notice_list .notice_box .notice_info { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.home_notice_wrap .notice_list .notice_box .notice_info .title { font-size: 13px; font-weight: 700; color: #2453BD; }
.home_notice_wrap .notice_list .notice_box .notice_info .date { font-size: 12px; font-weight: 400; color: #7F7F7F; }

/* 질환 검색 뷰 */
.search_view_wrap .search_list { display: flex; flex-direction: column; padding: 0 20px; }
.search_view_wrap .search_list .search_item { display: flex; width: 100%; justify-content: flex-start; padding: 36px 8px 36px 8px; text-align: left; flex-direction: column; }
.search_view_wrap .search_list .search_item + .search_item { border-top: 1px solid #D1D6DD; }
.search_view_wrap .search_list .search_item .search_info { padding-left: 8px; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.search_view_wrap .search_list .search_item .search_info .info_wrap { flex: 0 1 100%; overflow: hidden; }
.search_view_wrap .search_list .search_item .search_info .info_wrap .title { font-size: 14px; font-weight: 500; color: #111212; }
.search_view_wrap .search_list .search_item .search_info .info_wrap .desc { margin-top: 4px; display: flex; align-items: center; gap: 13px; font-size: 11px; font-weight: 400; color: #7F7F7F; }
.search_view_wrap .search_list .search_item .search_info .type_wrap { flex: 0 0 auto; display: flex; gap: 8px; }
.search_view_wrap .search_list .search_item .search_info .type_wrap .search_type { border-radius: 10px; color: #184994; font-size: 12px; font-weight: 600; line-height: 14px; padding: 12px 16px; background: #F6F7FB; }
.search_view_wrap .search_list .search_item .search_info .type_wrap .search_type[disabled] { color: #bfbfbf; background: #f3f3f3; opacity: .76; }
.search_view_wrap .search_list .search_item .syndrome_state_list { margin-top: 16px; }

/* 헤더 */
.header_nav { position: sticky; top: 0; left: 0; display: flex; align-items: center; padding: 35px 16px 22px; background: rgba(255, 255, 255, .85); backdrop-filter: blur(4px); border-bottom: 1px solid #E6EBF0; z-index: 1; }
.header_nav .nav_back { position: absolute; top: 41px; left: 16px; flex: 0 0 auto; display: flex; justify-content: center; align-items: center; width: 28px; height: 28px; z-index: 1; }
.header_nav .nav_back .icn_header_back { width: 12px; height: 20px; }
.header_nav .nav_contents { flex: 0 1 100%; }
.header_nav .search_box { padding-left: 33px; }
.header_nav .page_title { width: 100%; font-size: 16px; font-weight: 600; color: #0C2448; text-align: center; line-height: 40px; }


/* 질환 상세 뷰 */
.syndrome_detail_wrap .section { position: relative; padding-bottom: 57px; }
.syndrome_detail_wrap .section + .section::before { position: absolute; top: 0; left: 20px; width: calc(100% - 40px); height: 0;  border-bottom: 1px solid #D1D6DD; content: ''; }
.syndrome_detail_wrap .detail_info { padding: 24px 34px; }
.syndrome_detail_wrap .detail_info .title { font-size: 20px; font-weight: 600; color: #0C2448; }
.syndrome_detail_wrap .detail_info .desc { display: flex; gap: 12px; margin-top: 6px; font-size: 11px; color: #7F7F7F; }

.syndrome_detail_wrap .picto_list { display: flex; flex-wrap: wrap; justify-content: center; padding: 36px; gap: 32px 16px; }
.syndrome_detail_wrap .picto_list .picto_item { display: flex; justify-content: center; align-items: center; flex-direction: column; gap: 4px; }
.syndrome_detail_wrap .picto_list .picto_item img { width: auto; }
.syndrome_detail_wrap .picto_list .picto_item .syndrome_title { border-radius: 15px; padding: 4px 10px; font-size: 13px; font-weight: 600; line-height: 16px; }

.syndrome_detail_wrap .category_list {  }
.syndrome_detail_wrap .category_list .category_wrap { padding: 32px 28px; display: flex; align-items: center; overflow: auto; gap: 12px; }
.syndrome_detail_wrap .category_list .category_item { flex: 0 0 auto; background: #F6F7FB; border-radius: 20px; padding: 19px 21px; font-size: 17px; font-weight: 600; color: #184994; transition: background-color .15s ease; line-height: 20px; }
.syndrome_detail_wrap .category_list .category_item.on { color: #F9F9F9; background: #3E7FFF; }

.syndrome_detail_wrap .contents_box { padding: 50px 45px 107px; font-size: 14px; color: #111212; line-height: 22px; word-break: break-all; }
.btn_category_back { position: fixed; bottom: 0; left: 0; width: 100%; height: 57px; display: flex; align-items: center; justify-content: flex-start; gap: 8px; padding: 0 24px; color: #184994; font-size: 13px; font-weight: 700; line-height: 15px; background: #ECF2FF; border-top: 1px solid #ECF2FF; }
.btn_category_back .hamburger { display: flex; flex-direction: column; width: 12px; gap: 2px; }
.btn_category_back .hamburger span { width: 100%; height: 2px; border-radius: 20px; background: #184994; }

/* 공지 디테일 뷰 */
.notice_detail_wrap .detail_info { position: relative; padding: 32px; }
.notice_detail_wrap .detail_info::before { position: absolute; bottom: 0; left: 20px; width: calc(100% - 40px); border-bottom: 1px solid #DDDDDD; content: ''; }
.notice_detail_wrap .detail_contents { padding: 45px 20px 60px 30px; font-size: 14px; color: #111212; }
.notice_detail_wrap .notice_back { margin-left: 30px; padding: 9px 14px; color: #184994; font-size: 14px; font-weight: 500; background: #ECF2FF; border-radius: 6px; }

/* 검색 */
.search_box { position: relative; display: flex; align-items: center; gap: 5px; width: 100%; }
.search_box .back_btn { flex: 0 0 auto; width: 28px; height: 28px; display: flex; justify-content: center; align-items: center; z-index: 1; }
.search_box .back_btn .icn_header_back { width: 12px; height: 20px; }
.search_box .search_input { width: 100%; height: 40px; border-radius: 30px; padding: 12px 30px 12px 20px; font-size: 14px; font-weight: 500; color: #0C162E; caret-color: #5977CB; box-sizing: border-box; background: #ECF2FF; }
.search_box .search_input::placeholder { color: #5977CB; }
.search_box .search_btn { position: absolute; top: 50%; right: 10px; width: 21px; height: 21px; transform: translateY(-50%); }

/* home search */
.hoem_search_wrap { padding: 0 16px; }

/* */
.fixed_search_container { display: none; position: fixed; top: 0; left: 50%; width: 100%; max-width: 1200px; height: 100dvh; height: 100dvh; flex-direction: column; background: #fff; z-index: 10; transform: translateX(-50%); }
.fixed_search_container.on { display: flex; animation: searchOn .175s ease both; }
.fixed_search_container .search_form_wrap { flex: 0 1 100%; padding: 35px 0px; box-sizing: border-box; }
.fixed_search_container .search_box { margin: 0 16px; padding: 0; width: auto; }
.fixed_search_container .search_result_list { padding: 14px 28px; }
.fixed_search_container .search_result_item { padding: 14px 0; display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: #0C162E; }
.fixed_search_container .search_result_item .icn_search_result { flex: 0 0 auto; width: 20px; height: 20px; }
.fixed_search_container .search_result_item .text { width: 100%; overflow: hidden; }
.fixed_search_container .search_bottom_wrap { flex: 0 0 auto; display: flex; justify-content: flex-end; padding: 10px 16px; border-top: 1px solid #D1D6DD; color: #D1D6DD; font-size: 14px; font-weight: 500; line-height: 1; }

/* syndrome */
.syndrome_contents_wrap + .syndrome_contents_wrap { margin-top: 20px; }
.syndrome_contents_wrap .syndrome_contents_title { position: relative; max-width: 250px; width:100%; margin: 40px auto; }
.syndrome_contents_wrap .syndrome_contents_title img { width: 100%; height: auto; }
.syndrome_contents_wrap .syndrome_contents_title .title { position: absolute; top: 46%; left: 50%; display: flex; justify-content: center; text-align: center; width: 100%; padding: 0 10px 0 106px; font-size: 20px; font-weight: 700; color: #FFFFFF; transform: translate3d(-50%, -50%, 0); box-sizing: border-box; line-height:1.4; word-break: keep-all; }
.syndrome_contents_wrap .syndrome_contents_html { margin-top: 8px; word-break: keep-all; }

/* verification */
.verification_wrap { width: 100%; max-width: inherit; padding-left: 16px; padding-right: 16px; }
.verification_wrap .verification_contents { width: 100%; max-height: calc(100dvh - 75px); overflow:auto;}
.verification_wrap .verification_footer { position: absolute; bottom: 0; left: 50%; transform:translateX(-50%); margin-bottom:12px; max-width: inherit; width: 100%; height: 60px; padding: 0 16px; }

/* main */
.main_banner { width: 100%; height: 183px;  position: relative; }
.main_banner img { width: 100%; height: 100%;}

.main_tab_wrap { width: 100%; height: 50px; padding: 0 14px; position: absolute; bottom: 0; }
.main_tab_wrap .main_tab { width: 100%; height: 100%; padding: 4px; display: flex; align-items: center; background: #FCFCFC; border-radius: 16px; border: 0.5px solid rgba(0, 0, 0, 0.05); box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.05), 4px 0px 16px 0px rgba(0, 0, 0, 0.05); }
.main_tab_wrap .main_tab .tab_item { flex: 1; height: 100%; padding: 17px 52px; display:flex; justify-content: center; align-items: center; border-radius: 12px; }
.main_tab_wrap .main_tab .tab_item.active { background: linear-gradient(85deg, #FF708D 3.16%, #FF1787 97.46%); }
.main_tab_wrap .main_tab .tab_item > .label { text-align: center; color: #7a7c7f; font-size: 16px; font-style: normal; font-weight: 400; line-height: 100%; letter-spacing: -0.4px; }
.main_tab_wrap .main_tab .tab_item.active > .label { color: #FCFCFC; font-weight: 700; }

.main_guide { width: 100%; height: 44px; display: flex; justify-content: center; align-items: center; margin-top: 12px; padding: 18px 12px; gap: 4px; border-radius: 12px; background: rgba(238, 238, 238, 0.60); }

.main_item_list { width: 100%; margin-top: 24px; max-height: calc(100dvh - 300px); overflow:auto; display:grid; grid-template-columns: repeat(auto-fill, minmax(106px, 1fr)); column-gap: 13px; row-gap: 20px; padding-bottom: 1px; }
.main_item_list .item { width: 100%; display: flex; flex-direction: column; align-items: center; }
.main_item_list .item .img_wrap { position:relative; width: 106px; height:168px; border-radius: 12px; border: 1px solid #EEEEEE; }
.main_item_list .item .img_wrap > .overlay { position: absolute; width: 100%; height: 100%; border-radius: inherit; z-index: 5; background: #00000033; opacity: 0; transition: opacity 0.2s ease-in-out, visibility 0.2s ease-in-out; pointer-events: none; }
.main_item_list .item .img_wrap > .overlay.show { opacity: 1; }
.main_item_list .item .img_wrap > img { width:100%; height: 100%; border-radius: 12px; position: absolute; }
.main_item_list .item .img_wrap > img.front1 { z-index: 3; }
.main_item_list .item .img_wrap > img.front2 { z-index: 1; background: black; }
.main_item_list .item .img_wrap > .btn_back_container { position: absolute; z-index: 4; bottom: 0; left: 0; margin-bottom:10px; padding:0 10px; width:100%; height: 22px; }
.main_item_list .item .img_wrap > .btn_back_container > .btn_back { padding: 5px 10px; width: 100%; height: 100%; display: flex; justify-content: center; align-items: center; border-radius: 8px; background: rgba(15, 15, 15, 0.40); backdrop-filter: blur(10px); }

.back_img_layout { position: fixed; left: 0; top: 0; z-index: 1000; width: 100vw; height: 100dvh; display: flex; flex-direction: column; justify-content: center; align-items: center; background: #0F0F0FCC; }
.back_img_layout .img_wrap { width: 216px; height: 342px; border-radius: 12px; border: 1px solid #EEEEEE; margin-top: 10px; opacity: 1; }
.back_img_layout .img_wrap > img { width:100%; height: 100%; border-radius: 12px; }
.back_img_layout .img_wrap > img.back1 { z-index: 1001; }
.back_img_layout .img_wrap > img.back2 { z-index: 1002; background: black; }
.back_img_layout .btn_close { margin-top: 48px; border-radius: 14px; border: 1px solid #64676A; background: #FCFCFC; display: flex; justify-content: center; align-items: center; padding: 11px 31px; }

.basket_layout { position: fixed; left: 0; top: 0; z-index: 100; width: 100vw; height: 100dvh; padding: 0px 14px 32px 14px; display: flex; flex-direction: column; justify-content: end; align-items: center; background: #0F0F0F4D; }
.basket_layout .basket_wrap { width: 100%; padding: 20px 16px 16px 16px; border-radius: 24px; background: #FCFCFC; display: flex; flex-direction: column; align-items: center; }
.basket_item_list { width: 100%; margin: 20px 0; display: flex; flex-direction: column; max-height: calc(100dvh - 260px); overflow: auto; scrollbar-width: none; }
.basket_item_list .basket_item { width: 100%; height: 92px; display: flex; padding-right: 8px; }
.basket_item_list .basket_item .detail { display: flex; flex-grow: 1; gap: 8px; }
.basket_item_list .basket_item .detail .check_mark { width: 24px; height: 24px; font-size: 24px; }
.basket_item_list .basket_item .detail .img_wrap { width: 92px; height: 92px; border-radius: 12px; position: relative; }
.basket_item_list .basket_item .detail .img_wrap > img { width: 100%; height: 100%; border-radius: 12px; position: absolute; }
.basket_item_list .basket_item .detail .img_wrap > img.front1 { z-index: 103; }
.basket_item_list .basket_item .detail .img_wrap > img.custom_front { z-index: 102; }
.basket_item_list .basket_item .detail .img_wrap > img.front2 { z-index: 101; background: black; }
.basket_item_list .basket_item .detail .info_area { display: flex; flex-direction: column; justify-content: center; gap: 4px; }
.basket_item_list .basket_item .close { width: 16px; height: 16px; }
.basket_item_list .basket_item_divider { width: 100%; height: 1px; min-height: 1px; background: #D3D3D499; margin: 20px 0; }

.basket_fab { position: fixed; right: 16px; bottom: 48px; width: 60px; height: 60px; padding: 16px 15px; z-index: 10; border-radius: 30px; background: #FF3877; box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.05), 4px 0px 16px 0px rgba(0, 0, 0, 0.15); }
.basket_fab .count { position: absolute; right: -2px; top: -2px; width: 23px; height: 23px; padding: 5px 7px; border-radius: 20px; border: 1px solid #FF3877; background: #FCFCFC; display: flex; justify-content: center; align-items: center; }


/* order complete */
.order_complete_layout { width: 100%; height: 100dvh; position: relative; background: #fbfbfb; display: flex; flex-direction: column }
.order_complete_layout .banner_wrap { width: 100%; height: 240px; position: relative; background: linear-gradient(0deg, #FF5AAA 0%, #FFE1BF 100%); display: flex; justify-content: center; }
.order_complete_layout .banner_wrap .title_wrap { position: absolute; top: 80px; display: flex; flex-direction: column; align-items: center; }
.order_complete_layout .main_wrap { width: 100%; max-height: calc(100dvh - 380px); overflow: auto; scrollbar-width: none; display: flex; flex-direction: column; padding: 30px 16px 0 16px; }
.order_complete_layout .main_wrap .item_list { width: 100%; display: flex; flex-direction: column; margin-bottom: 20px; }
.order_complete_layout .main_wrap .item_list .item { width: 100%; height: 92px; display: flex; gap: 8px; }
.order_complete_layout .main_wrap .item_list .item .img_wrap { width: 92px; height: 92px; border-radius: 16px; position: relative; }
.order_complete_layout .main_wrap .item_list .item .img_wrap > img { width: 100%; height: 100%; border-radius: 16px; position: absolute; }
.order_complete_layout .main_wrap .item_list .item .img_wrap > img.front1 { z-index: 3; }
.order_complete_layout .main_wrap .item_list .item .img_wrap > img.custom_front { z-index: 2; }
.order_complete_layout .main_wrap .item_list .item .img_wrap > img.front2 { z-index: 1; background: black; }
.order_complete_layout .main_wrap .item_list .item .info_area { display: flex; flex-direction: column; }
.order_complete_layout .main_wrap .item_list .item_divider { width: 100%; height: 1px; min-height: 1px; background: #D3D3D499; margin: 20px 0; }

@keyframes searchOn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

@media (hover: hover) {
    .btn_go_top:hover { background-color: rgba(0, 0, 0, .85); }
    .syndrome_detail_wrap .category_list .category_item:not(.on):hover { background: #e7ecff; }
}