/* BASIC css start */
/* 타이틀 영상 */
.title_mv { position: relative; overflow: hidden; display: flex; align-items: center; }
.title_mv .titBox { position: relative; width: 42%; z-index: 3; text-align: center; }
.title_mv .titBox:before { content: ""; position: absolute; left: 0; width: 1px; height: 100%; background: #fff; }
.title_mv .titBox p:nth-child(1) { font-size: 14px; margin-bottom: 10px; }
.title_mv .titBox p:nth-child(2) { font-size: 30px; font-weight: 600; }
.title_mv .titMv { position: relative; width: 58%; border-radius: 15px; overflow: hidden; }
.title_mv .titMv:before { content: ""; position: absolute; bottom: 0; left: 0; width: 100%; height: 100%; background: #000; opacity: .1; z-index: 2; }
.title_mv .titMv iframe { display: block; height: 100%; aspect-ratio: 16/9; border: 0; }


/* btnPopupOpen 내부 : pro_name(좌) + gauge(우) */
.btnPopupOpen .pro_info { position: absolute; bottom: 0; left: 0; z-index: 1; width: 100%; padding: 15px; border-radius: 12px; display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; }
.btnPopupOpen .pro_info .pro_name { position: static; width: auto; font-size: 18px; font-weight: 600; letter-spacing: -.5px; }
.btnPopupOpen .pro_info .gauge { width: 33%; display: grid; gap: 12px; flex-shrink: 0; }
.btnPopupOpen .pro_info .gauge .gcont { overflow: hidden; }
.btnPopupOpen .pro_info .gauge .gcont .tit { font-size: 11px; margin-bottom: 3px; }
.btnPopupOpen .pro_info .gauge .gcont .bar-wrap { position: relative; background: #000; }
.btnPopupOpen .pro_info .gauge .gcont .bar-wrap:after { content: ""; position: absolute; top: 0; width: 100%; height: 10px; }
.btnPopupOpen .pro_info .gauge .gcont .bar-wrap .num { position: absolute; right: 0; bottom: 100%; margin-bottom: 3px; font-size: 11px; }
.btnPopupOpen .pro_info .gauge .bar-fill { display: block; width: 0px; height: 2px; background: #fff; }

.btnBox { width: 100%; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; padding-top: 50px; }
.btnPopupOpen { position: relative; height: 200px; overflow: hidden; font-size: 16px; color: #fff; background: #222; cursor: pointer; border-radius: 12px; }
.btnPopupOpen img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.btnPopupOpen:before { content: ""; position: absolute; bottom: 0; left: 0; width: 100%; height: 65%; background: linear-gradient(360deg, #000, transparent); opacity: .4; }
.btnPopupOpen:after { content: ""; position: absolute; top: 12px; right: 12px; width: 32px; height: 32px; background: url(//xexymix.jpg3.kr/xexymix/sub/fabric/detail_btn.png) no-repeat center / cover; }


/* 레이어팝업 */
.popupWrap { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 1000; }
.popupWrap.active { display: block; }

.popupWrap .popupInner { position: absolute; top: 50%; left: 50%; width: 94%; max-width: 480px; transform: translate(-50%, -50%); z-index: 9; }
.popupWrap .popupInner .fabric_img { position: relative; aspect-ratio: 1.776/1; overflow: hidden; background: #fff; }
.popupWrap .popupInner .fabric_img img { position: absolute; top: 0; left: 0; width: 100%; height: auto; object-fit: cover; object-position: center; z-index: 1; }
.popupWrap .popupInner .fabric_img iframe { position: absolute; top: 0; left: 0; display: block; width: 100%; height: 100%; border: 0; z-index: 2; }
.popupWrap .popupInner .fabric_info { position: relative; padding: 30px; text-align: left; background: #fff; }
.popupWrap .popupInner .fabric_info .pro_name { font-size: 13px; padding-bottom: 15px; border-bottom: 1px solid #222; }
.popupWrap .popupInner .fabric_info .pro_name b { display: block; padding-top: 4px; font-size: 22px; font-weight: 600; }
.popupWrap .popupInner .fabric_info .pro_txt { padding: 15px 0 35px; font-size: 15px; word-break: keep-all; color: #222; }
.popupWrap .popupInner .fabric_info .pro_detail { display: flex; gap: 40px; padding-bottom: 35px; }
.popupWrap .popupInner .fabric_info .gauge { width: 50%; display: grid; gap: 18px; align-content: space-between; color: #222; }
.popupWrap .popupInner .fabric_info .pro_icon { width: 50%; display: flex; gap: 4px; justify-content: flex-end; }
.popupWrap .popupInner .fabric_info .pro_icon img { width: 32.5%; }

.popupWrap .popupInner .gauge .gcont { overflow: hidden; }
.popupWrap .popupInner .gauge .gcont .tit { font-size: 12px; margin-bottom: 5px; }
.popupWrap .popupInner .gauge .gcont .bar-wrap { position: relative; background: #dcdcdc; }
.popupWrap .popupInner .gauge .gcont .num { position: absolute; right: 0; bottom: 100%; margin-bottom: 5px; font-size: 12px; }

.popupWrap .popupInner .gauge .detail .bar-wrap:after { content: ""; position: absolute; top: 0; width: 100%; height: 10px; }
.popupWrap .popupInner .gauge .bar-fill { display: block; width: 0px; height: 5px; }
.popupWrap.active .bar-fill.active { background: #000; animation: bar-fill 2.5s; -webkit-animation: bar-fill 2.5s; -moz-animation: bar-fill 2.5s; -o-animation: bar-fill 2.5s; }
@keyframes bar-fill {
    0% {
        width: 0;
    }
}
@-webkit-keyframes bar-fill {
    0% {
        width: 0;
    }
}
@-moz-keyframes bar-fill {
    0% {
        width: 0;
    }
}
@-o-keyframes bar-fill {
    0% {
        width: 0;
    }
}

.popupWrap .popupInner .fabric_info .proGo { position: relative; display: block; width: 100%; height: 44px; line-height: 44px; padding-right: 12px; background: #000; color: #fff; font-size: 14px; text-align: center; }
.popupWrap .popupInner .fabric_info .proGo:after { content: ""; position: absolute; top: 18px; width: 8px; height: 8px; border-right: 1px solid #fff; border-top: 1px solid #fff; transform: rotate(45deg); margin-left: 10px; }

.popupWrap .popupDim { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.6); }
.popupWrap .popupClose { position: absolute; top: 0; right: 0; width: 40px; height: 40px; background: transparent; border: 0; cursor: pointer; z-index: 10; }
.popupWrap .popupClose:before { content: ""; position: absolute; top: 50%; left: 50%; width: 16px; height: 1.5px; background: #444; transform: translate(-50%, -50%) rotate(45deg); }
.popupWrap .popupClose:after { content: ""; position: absolute; top: 50%; left: 50%; width: 16px; height: 1.5px; background: #444; transform: translate(-50%, -50%) rotate(-45deg); }


/* 팝업 좌우 이동 버튼 */
.popupNav { display: none; position: fixed; top: 0; left: 50%; width: 94%; max-width: 560px; transform: translateX(-50%); z-index: 1001; pointer-events: none; }
.popupNav.active { display: block; }
.popupNav button { position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%; background: transparent; border: 0; cursor: pointer; pointer-events: auto; }
.popupNav .popupPrev { left: -18px; }
.popupNav .popupPrev:before { content: ""; position: absolute; top: 50%; left: 55%; width: 22px; height: 22px; border-left: 1.5px solid #fff; border-bottom: 1.5px solid #fff; transform: translate(-50%, -50%) rotate(45deg); }
.popupNav .popupNext { right: -18px; }
.popupNav .popupNext:before { content: ""; position: absolute; top: 50%; left: 45%; width: 22px; height: 22px; border-left: 1.5px solid #fff; border-bottom: 1.5px solid #fff; transform: translate(-50%, -50%) rotate(225deg); }

/* BASIC css end */

