@charset "utf-8";

/**************************************************

	제품 목록

**************************************************/
.products_wrap .products_tab{position: relative;font-size: 0;white-space: nowrap;overflow-x: auto;overflow-y: hidden;}
.products_wrap .products_tab:after{content: '';display: block;position: absolute;left: 0;bottom: 0;width: 100%;height: 1px;background: #e5dfd3;}
.products_wrap .products_tab li{display: inline-block;vertical-align: top;width: 238px;margin-left: -1px;position: relative;z-index: 1;}
.products_wrap .products_tab li:first-child{margin-left: 0;}
.products_wrap .products_tab li a{display: block;height: 60px;line-height: 58px;border: 1px solid #e5dfd3;box-sizing: border-box;background: #fff;font-size: 20px;color: #777;letter-spacing: -0.02em;text-align: center;text-decoration: none;transition: color 0.3s, border-color 0.3s;}
.products_wrap .products_tab li a:hover{color: #b49463;text-decoration: none;}
.products_wrap .products_tab li.on{z-index: 3;}
.products_wrap .products_tab li.on a{border-color: #b49463;border-bottom-color: #fff;font-weight: 700;color: #b49463;}

.products_wrap .products_tab2{margin-top: 20px;font-size: 0;}
.products_wrap .products_tab2 li{display: inline-block;vertical-align: top;margin: 0 8px 8px 0;}
.products_wrap .products_tab2 li a{display: block;padding: 0 18px;line-height: 38px;border: 1px solid #e5dfd3;border-radius: 40px;font-size: 16px;color: #777;text-decoration: none;transition: background 0.3s, color 0.3s, border-color 0.3s;}
.products_wrap .products_tab2 li a:hover,
.products_wrap .products_tab2 li.on a{background: #b49463;border-color: #b49463;color: #fff;text-decoration: none;}

.products_wrap .list_head{position: relative;margin-top: 24px;min-height: 64px;}
.products_wrap .list_head .total{position: absolute;left: 0;top: 50%;transform: translate(0, -50%);font-size: 18px;color: #777;}
.products_wrap .list_head .total strong{font-weight: 700;color: #231815;}
.products_wrap .list_head .right{text-align: right;font-size: 0;}
.products_wrap .list_head form{display: inline-block;vertical-align: top;}
.products_wrap .list_head fieldset{position: relative;width: 344px;}
.products_wrap .list_head .inp{width: 100%;height: 64px;line-height: 62px;padding: 0 60px 0 20px;border: 1px solid #e5dfd3;font-size: 18px;color: #231815;background: #fff;}
.products_wrap .list_head .inp::placeholder{color: #999;}
.products_wrap .list_head .inp:focus{border-color: #b49463;background: #fff;}
.products_wrap .list_head .sbm{position: absolute;top: 0;right: 0;width: 60px;height: 64px;border: none;background: url('../layout/images/sub/ico_search.svg') no-repeat center center / 24px auto;text-indent: -999em;cursor: pointer;}
.products_wrap .list_head .catalog_btn{display: inline-block;vertical-align: top;margin-left: 12px;height: 64px;line-height: 64px;padding: 0 72px 0 24px;background: #b49463 url('../layout/images/sub/ico_download.svg') no-repeat right 24px center / 24px auto;font-size: 18px;font-weight: 600;color: #fff;letter-spacing: -0.02em;text-decoration: none;transition: background-color 0.3s;}
.products_wrap .list_head .catalog_btn:hover{background-color: #9c7d4f;text-decoration: none;}

.products_wrap .products_list{margin: -14px;margin-top: 36px;display: flex;flex-wrap: wrap;}
.products_wrap .products_list li{position: relative;margin: 14px;margin-bottom: 26px;width: calc((100% / 4) - 28px);}
.products_wrap .products_list li > a{position: absolute;display: block;inset: 0;z-index: 10;text-indent: -999em;overflow: hidden;}
.products_wrap .products_list li .tmb{padding-bottom: 116.28%;position: relative;overflow: hidden;background: #f3efea;}
.products_wrap .products_list li .tmb img{position: absolute;top: 0;left: 0;width: 100%;height: 100%;object-fit: cover;transition: all 1s;}
.products_wrap .products_list li:hover .tmb img{transform: scale(1.05);}
.products_wrap .products_list li .tmb.no_img img{top: 50%;left: 50%;width: 120px;height: auto;transform: translate(-50%, -50%);object-fit: contain;}
.products_wrap .products_list li:hover .tmb.no_img img{transform: translate(-50%, -50%) scale(1.05);}
.products_wrap .products_list li .txt{padding: 30px 10px 0;}
.products_wrap .products_list li .tit{display: block;font-size: 24px;line-height: 1.4;font-weight: 600;color: #231815;letter-spacing: -0.02em;overflow: hidden;text-overflow: ellipsis;white-space: nowrap;}
.products_wrap .products_list li .sum{margin-top: 6px;font-size: 18px;line-height: 1.5;color: #555;letter-spacing: -0.02em;overflow: hidden;text-overflow: ellipsis;white-space: nowrap;}

.products_wrap .list-nodata{margin-top: 40px;}

/**************************************************

	제품 상세

**************************************************/
.products_view .infobox{display: flex;align-items: flex-start;}
.products_view .gallery{width: 618px;flex-shrink: 0;}
.products_view .gallery .imgs{position: relative;}
.products_view .gallery .imgs .tmb{padding-bottom: 111.33%;position: relative;overflow: hidden;background: #f3efea;}
.products_view .gallery .imgs .tmb img{position: absolute;top: 0;left: 0;width: 100%;height: 100%;object-fit: cover;}
.products_view .gallery .tmb.no_img img{top: 50% !important;left: 50% !important;width: 120px !important;height: auto !important;transform: translate(-50%, -50%);object-fit: contain !important;}
.products_view .gallery .imgs .arrows_wrap .arrows button{position: absolute;top: 50%;z-index: 5;width: 48px;height: 48px;margin-top: -24px;border: none;background: rgba(255,255,255,0.7) url('../layout/images/main/ico_next.svg') no-repeat center center / 24px auto;text-indent: -999em;cursor: pointer;transition: background-color 0.3s;}
.products_view .gallery .imgs .arrows_wrap .arrows button:hover{background-color: #fff;}
.products_view .gallery .imgs .arrows_wrap .arrows .prev{left: 0;background-image: url('../layout/images/main/ico_prev.svg');}
.products_view .gallery .imgs .arrows_wrap .arrows .next{right: 0;}
.products_view .gallery .imgs .arrows_wrap .arrows button.swiper-button-disabled{opacity: 1;cursor: default;}
.products_view .gallery .imgs .arrows_wrap .dots{display: none;}
.products_view .gallery .thumbnails{margin-top: 12px;}
.products_view .gallery .thumbnails .item{cursor: pointer;}
.products_view .gallery .thumbnails .tmb{padding-bottom: 110.34%;position: relative;overflow: hidden;background: #f3efea;}
.products_view .gallery .thumbnails .tmb:after{content: '';display: block;position: absolute;inset: 0;border: 2px solid transparent;transition: border-color 0.3s;}
.products_view .gallery .thumbnails .tmb img{position: absolute;top: 0;left: 0;width: 100%;height: 100%;object-fit: cover;transition: all 1s;}
.products_view .gallery .thumbnails .item:hover .tmb img{transform: scale(1.05);}
.products_view .gallery .thumbnails .swiper-slide-thumb-active .tmb:after{border-color: #b49463;}
.products_view .gallery .thumbnails .item.empty{pointer-events: none;cursor: default;}
.products_view .gallery .thumbnails .tmb.no_img img{width: 44px !important;opacity: 0.6;}

.products_view .info{flex: 1;min-width: 0;padding-left: 100px;}
.products_view .info .category{font-size: 20px;line-height: 1.4;font-weight: 600;color: #b49463;}
.products_view .info .title{margin-top: 28px;font-family: 'myeongjo', serif;font-size: 42px;line-height: 1.3;font-weight: 700;color: #231815;letter-spacing: -0.02em;}
.products_view .info .summary{margin-top: 28px;font-size: 22px;line-height: 1.5;color: #555;letter-spacing: -0.02em;}
.products_view .info .detail{margin-top: 48px;border-top: 1px solid #e5dfd3;}
.products_view .info .detail li{position: relative;padding: 20px 24px 20px 105px;border-bottom: 1px solid #e5dfd3;font-size: 18px;line-height: 1.5;letter-spacing: -0.02em;}
.products_view .info .detail li strong{position: absolute;top: 20px;left: 24px;width: 70px;font-weight: 400;color: #666;}
.products_view .info .detail li p{font-weight: 500;color: #333;}
.products_view .info .files{margin-top: 20px;font-size: 0;}
.products_view .info .files li{display: inline-block;vertical-align: top;margin: 0 8px 8px 0;}
.products_view .info .files li a{display: block;padding: 0 18px;line-height: 40px;border: 1px solid #e5dfd3;font-size: 15px;color: #555;text-decoration: none;transition: border-color 0.3s, color 0.3s;}
.products_view .info .files li a:hover{border-color: #b49463;color: #b49463;text-decoration: none;}
.products_view .info .btns{margin-top: 30px;display: flex;}
.products_view .info .btns a{display: block;height: 68px;line-height: 68px;padding: 0 10px;font-size: 18px;font-weight: 600;color: #fff;letter-spacing: -0.02em;text-align: center;text-decoration: none;white-space: nowrap;transition: background-color 0.3s;}
.products_view .info .btns a span{display: inline-block;vertical-align: top;padding-left: 34px;background-repeat: no-repeat;background-position: left center;background-size: 24px auto;} /* 아이콘 + 글자 한 덩어리로 가운데 정렬 */
.products_view .info .btns .btn_inquiry{flex: 1;background-color: #b49463;}
.products_view .info .btns .btn_inquiry span{background-image: url('../layout/images/sub/ico_chat.svg');}
.products_view .info .btns .btn_inquiry:hover{background-color: #9c7d4f;}
.products_view .info .btns .btn_tel{width: 220px;margin-left: 10px;background-color: #3a342f;}
.products_view .info .btns .btn_tel span{background-image: url('../layout/images/sub/ico_call.svg');}
.products_view .info .btns .btn_tel:hover{background-color: #231815;}
.products_view .info .btns a:hover{text-decoration: none;}

.products_view .contentbox{margin-top: 100px;padding-top: 100px;border-top: 1px solid #e5dfd3;}
.products_view .contentbox h4{font-size: 36px;line-height: 1.4;font-weight: 700;color: #231815;}
.products_view .contentbox .content{margin-top: 28px;font-size: 20px;line-height: 1.5;color: #555;letter-spacing: -0.02em;}
.products_view .contentbox .content img{max-width: 100%;height: auto;}
.products_view .contentbox .content .memo + .memo{margin-top: 40px;}

.products_view .btn_list{margin-top: 100px;text-align: center;}
.products_view .btn_list a{display: inline-block;width: 365px;height: 68px;line-height: 66px;border: 1px solid #e5dfd3;box-sizing: border-box;font-size: 18px;font-weight: 500;color: #666;text-decoration: none;transition: background 0.3s, border-color 0.3s, color 0.3s;}
.products_view .btn_list a:hover{background: #3a342f;border-color: #3a342f;color: #fff;text-decoration: none;}

/**************************************************

	반응형

**************************************************/
@media screen and (max-width: 1500px) {

    .products_view .gallery{width: 45%;}
    .products_view .info{padding-left: 60px;}

}

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

    /* 탭 : 모바일은 가로 스크롤 칩 (카테고리 추가 대비) */
    .products_wrap .products_tab{scrollbar-width: none;-webkit-overflow-scrolling: touch;}
    .products_wrap .products_tab::-webkit-scrollbar{display: none;}
    .products_wrap .products_tab:after{display: none;}
    .products_wrap .products_tab li{width: auto;margin: 0 6px 0 0;}
    .products_wrap .products_tab li:last-child{margin-right: 0;}
    .products_wrap .products_tab li a{height: 38px;line-height: 36px;padding: 0 16px;font-size: 14px;}
    .products_wrap .products_tab li.on a{border-color: #b49463;background: #b49463;color: #fff;font-weight: 600;}
    .products_wrap .products_tab2 li a{line-height: 34px;font-size: 14px;padding: 0 14px;}

    .products_wrap .list_head{margin-top: 20px;min-height: 0;}
    .products_wrap .list_head .total{position: static;transform: none;margin-bottom: 12px;font-size: 15px;}
    .products_wrap .list_head .right{display: flex;text-align: left;}
    .products_wrap .list_head form{flex: 1;min-width: 0;}
    .products_wrap .list_head fieldset{width: 100%;}
    .products_wrap .list_head .inp{height: 50px;line-height: 48px;padding: 0 50px 0 15px;font-size: 15px;}
    .products_wrap .list_head .sbm{width: 50px;height: 50px;background-size: 20px auto;}
    .products_wrap .list_head .catalog_btn{height: 50px;line-height: 50px;margin-left: 8px;padding: 0 48px 0 16px;font-size: 14px;background-position: right 16px center;background-size: 20px auto;}

    .products_wrap .products_list{margin: -8px;margin-top: 20px;}
    .products_wrap .products_list li{margin: 8px;margin-bottom: 16px;width: calc((100% / 3) - 16px);}
    .products_wrap .products_list li .txt{padding: 16px 4px 0;}
    .products_wrap .products_list li .tit{font-size: 18px;}
    .products_wrap .products_list li .sum{margin-top: 4px;font-size: 14px;}
    .products_wrap .products_list li .tmb.no_img img{width: 80px;}

    .products_view .infobox{display: block;}
    .products_view .gallery{width: auto;}
    .products_view .gallery .imgs .arrows_wrap .arrows button{width: 40px;height: 40px;margin-top: -20px;background-size: 20px auto;}
    .products_view .gallery .thumbnails{margin-top: 8px;}
    .products_view .gallery .thumbnails .tmb.no_img img{width: 30px !important;}
    .products_view .info{padding: 30px 0 0;}
    .products_view .info .category{font-size: 15px;}
    .products_view .info .title{margin-top: 12px;font-size: 26px;}
    .products_view .info .summary{margin-top: 14px;font-size: 16px;}
    .products_view .info .detail{margin-top: 24px;}
    .products_view .info .detail li{padding: 14px 10px 14px 80px;font-size: 15px;}
    .products_view .info .detail li strong{top: 14px;left: 10px;width: 60px;}
    .products_view .info .btns{margin-top: 24px;}
    .products_view .info .btns a{height: 54px;line-height: 54px;font-size: 15px;padding: 0 6px;}
    .products_view .info .btns a span{padding-left: 24px;background-size: 17px auto;}
    .products_view .info .btns .btn_tel{flex: 1;width: auto;margin-left: 6px;} /* 두 버튼 같은 너비 */

    .products_view .contentbox{margin-top: 50px;padding-top: 50px;}
    .products_view .contentbox h4{font-size: 22px;}
    .products_view .contentbox .content{margin-top: 16px;font-size: 15px;}
    .products_view .btn_list{margin-top: 50px;}
    .products_view .btn_list a{width: 160px;height: 48px;line-height: 46px;font-size: 15px;}

}

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

    .products_wrap .products_list li{width: calc((100% / 2) - 16px);}
    .products_wrap .products_list li .tit{font-size: 16px;}
    .products_wrap .products_list li .sum{font-size: 13px;}
    .products_wrap .list_head .catalog_btn{width: 50px;padding: 0;text-indent: -999em;overflow: hidden;background-position: center center;}

}
