/* haeder */
#hd {
    background-color: rgba(255, 255, 255, 0.40);
    width: 100%;
    height: 90px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    backdrop-filter: blur(6.5px);
}
#hd .hd-layout { width: 100%; max-width: 1920px; padding: 0 100px; }
#hd .logo-box img { width: 65px; height: 44px;}
#hd .gnb {
    background-color: #fff;
    border-radius: 1.875rem;
    box-shadow: 0px 1px 8px 0px rgba(102, 102, 102, 0.25);
}
#hd .gnb a {
    color: #999;
    font-family: 'SUIT', sans-serif;
    font-size: 1.125rem;
    font-weight: 600;
    letter-spacing: -0.54px;
    padding: 0.875rem 2.375rem;
    border-radius: 1.875rem;
    display: block;
    transition: color 0.3s ease;
}
#hd .gnb a:hover { color: #000; }
#hd .gnb a.active { color: #fff; background-color: #000; }
#hd .my-btn-box { gap: 0.5rem; }
#hd .my-btn-box path { transition: all 0.3s ease; }
#hd .my-btn-box .search-btn:hover path  { stroke: #000; }
#hd .my-btn-box .shopping-btn:hover path,
#hd .my-btn-box .mypage-btn:hover path {
    fill: #000;
}
#hd #hamburgerMenu {
    width: 20px;
    height: 20px;
    display: none;
}
#hd #hamburgerMenu svg path {
    fill: transparent;
    stroke: #666;
    stroke-width: 2;
    stroke-linecap: round;
    transition: 0.3s all ease;
}
#hd #hamburgerMenu .line2 { opacity: 1; transition: opacity 0.3s ease, color 0.3s ease; }
#hd #hamburgerMenu.open .line1 { stroke: #000; d: path("M 3 16.5 L 17 2.5"); }
#hd #hamburgerMenu.open .line2 { opacity: 0; }
#hd #hamburgerMenu.open .line3 { stroke: #000; d: path("M 3 2.5 L 17 16.346"); }
#mMeun {
    background-color: #fff;
    height: 0;
    width: 100%;
    position: fixed;
    top: 0;
    right: 0;
    z-index: 555;
    transition: height 0.3s ease-out, opacity 0.3s ease-out;
    opacity: 0;
    overflow: hidden;
}
#mMeun.on { height: 100vh; opacity: 1; }
#mMeun .m-meun-layout { height: calc(100% - 70px); margin-top: 70px; border-top: 1px solid #000; }
#mMeun .m-meun-box { 
    height: 100%;
    border-left: 1px solid #000;
    border-right: 1px solid #000;
    margin: 0 40px;
    display: grid;
    grid-template-rows: calc(100% - 60px) 60px;
}
#mMeun .m-meun { position: relative; }
#mMeun .m-meun-link { padding-top: 60px; gap: 60px; }
#mMeun .m-meun-link a {
    color: #000;
    font-family: "Minguk-Bold", sans-serif;
    font-size: 3.75rem;
    letter-spacing: -1.8px;
}
#mMeun .m-meun-login {
    display: flex;
    gap: 12px;
    position: absolute;
    bottom: 14px;
    right: 14px;
}
#mMeun .m-meun-login a {
    color: #000;
    font-family: "Minguk-Bold", sans-serif;
    font-size: 1.25rem;
    letter-spacing: -0.6px;
    transition: opacity 0s ease 0s;
    opacity: 0;
}
#mMeun.on .m-meun-login a { opacity: 1; transition: opacity 0s ease 0.3s; }
#mMeun .m-meun-search { border-top: 1px solid #000; }

/* footer */
#ft {
    background-color: #FFF;
    width: 100%;
    height: 94px;
    border-top: 1px solid #000;
    display: grid;
    grid-template-columns: 100px 1fr 100px;
    position: relative;
    z-index: 4;
}
#ft .both-end { width: 100px; height: 100%; }
#ft .content-box {
    height: 100%;
    width: 100%;
    max-width: 1440px;
    padding: 0 20px;
    margin: 0 auto;
}
#ft .logo-img { width: 55px; height: auto; margin-right: 2.625rem; }
#ft .content-box p,
#ft .content-box a {
    color: #333;
    font-weight: 500;
    text-align: start;
    line-height: 1.5;
    letter-spacing: -0.8px;
}
#ft .legal-btn-box {
    background: #D9D9D9;
    width: 15.625rem;
    height: 2.25rem;
    border-radius: 1.125rem;
}
#ft .legal-btn-box span { color: #000; font-weight: 500; letter-spacing: -0.8px; }
#ft .right-box { border-left: 1px solid #000; }
#ft .top-btn {
    background-color: unset;
    width: 100%;
    height: 100%;
    border: none;
}

/* stv 커스텀 */
#stv.stv-custom #stv_ul {
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: .5rem;
}
#stv.stv-custom li.stv_item { width: max-content; padding: 0; border-bottom: 0; }
#stv.stv-custom li.stv_item .prd_img { float: none; margin: 0; }
#stv.stv-custom li.stv_item .prd_img a {
    display: block;
    width: 64px;
    height: 64px;
    border: 1px solid #F5F5F5;
    border-radius: 50%;
    position: relative;
    overflow: hidden;
}
#stv.stv-custom li.stv_item .prd_img img {
    width: 100%;            
    height: 100%;   
    transform: scale(1.3);        
    object-fit: cover;      
    object-position: center;
}
#stv.stv-custom #stv_btn {
    width: 100%;
    height: max-content;
    margin: 5px auto 10px;
    position: unset;
    gap: 6px;
}
#stv.stv-custom #stv_btn button {
    line-height: 1;
    background: #F5F5F5;
    width: 34px;
    height: 24px;
    border-radius: 3px;
    position: unset;
    text-indent: 0px;
}

/* shop_floating */
#side_menu {
    background-color: #fff;
    width: 100px;
    height: calc(100% - 89px);
    padding: 0;
    border-left: 1px solid #000;
    position: fixed;
    top: 89px;
    right: 0;
    z-index: 333;
    box-shadow: none;
}
#quick {
    width: 100%;
    padding: 0;
    border-top: 1px solid #000;
    margin: 0;
    position:absolute;
    top: auto;
    left:0;
    bottom: 93px;
}
#quick li { border-bottom: 1px solid #000; }
#quick li > button,
#quick li > a {
    color: #000;
    text-align: center;
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: -0.48px;
    background-color: #fff;
    width: 100%;
    height: 50px;
    border: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}
#quick li > button svg { display: none; }
#quick li > button:active { font-weight: 600; }
#quick li .sns-btn-box {
    height: 0;
    transition: height .3s;
    overflow: hidden; 
}
#quick li.active .sns-btn-box { height: 30px; }
#quick .btn_sm_cl6 .plus { display: inline; }
#quick .btn_sm_cl6.show .plus { display: none; }
#quick .btn_sm_cl6 .minus { display: none; }
#quick .btn_sm_cl6.show .minus { display: inline; }
#side_menu .top-btn {
    width: 100px;
    height: 93px;
    background-color: #fff;
    border: none;
    border-left: 1px solid #000;
    position: absolute;
    bottom: 0;
    right: 0;
    z-index: 334;
}
#quick .li_empty { text-align: center; padding: 1rem 0;}

/* 모바일 하단 메뉴 */
#m_bottom_menu {
    background-color: #000;
    height: 70px;
    width: 100%;
    display: none;
    grid-template-columns: repeat(5, 1fr);
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 555;
}
#m_bottom_menu a {
    color: #b2b2b2;
    text-align: center;
    font-family: 'SUIT', sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: -0.26px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
}
#m_bottom_menu a.active { color: var(--primary-color); }
#m_bottom_menu a.active path { fill: var(--primary-color); }
#m_bottom_menu a.active.BELITA path { stroke: var(--primary-color); }
#m_bottom_menu a.active.HOME path,
#m_bottom_menu a.active.NOTICE path {
    fill: none;
    stroke: var(--primary-color);
}

@media screen and (max-width: 1200px) {
    /* 공통 */
    #ft .content-box p, #ft .content-box a, #ft .legal-btn-box span { font-size: 0.875rem; }
    
    /* header */
    #hd .hd-layout { padding: 0 70px; }
    #hd .gnb a { font-size: 1.125rem; padding: 0.75rem 1.5rem; }

    /* footer */
    #ft .logo-img { margin-right: 1.5rem; }
    #ft .legal-btn-box { width: 13rem; }
}

@media screen and (max-width: 768px) {
    /* header */
    #hd { height: 70px; }
    #hd .gnb { display: none; }
    #hd .hd-layout { padding: 0 40px; }
    #hd .logo-box img { width: 49px; height: 33px; }
    #hd .my-btn-box .search-btn { display: none; }
    #hd .my-btn-box svg { width: 22px; height: 22px; }
    #hd.m-meun-on .my-btn-box path { fill: #000; }
    #hd #hamburgerMenu { display: flex; }
    #hd .my-btn-box #hamburgerMenu svg { width: 20px; height: 20px; }

    /* footer */
    #ft { height: auto; grid-template-columns: 1fr; margin-bottom: 60px; }
    #ft .both-end, #ft .right-box { display: none; }
    #ft .content-box { padding: 26px 0 36px; flex-direction: column; }
    #ft .content-box .text-box { flex-direction: column; }
    #ft .content-box,
    #ft .content-box .text-box {
        gap: 1rem;
    }
    #ft .logo-img { margin-right: 0; }
    #ft .content-box p { text-align: center; }
    #ft .legal-btn-box { width: 14.75rem; height: 2rem; justify-content: space-around; }

    /* 사이트 메뉴 */
    #side_menu { 
        background-color: unset;
        width: 44px;
        height: max-content;
        border-left: none;
        display: flex;
        flex-direction: column;
        gap: 8px;
        top: unset;
        bottom: 80px;
        right: 10px;
    }
    #side_menu .top-btn {
        width: 100%;
        height: auto;
        aspect-ratio: 1/1;
        border: 1px solid #000;
        border-radius: 50%;
        position: unset;
    }
    #side_menu .top-btn svg { width: 27px; height: 27px; }
    #quick {
        height: 44px;
        border: 1px solid #000;
        border-radius: 22px;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        position: unset;
        overflow: hidden;
        transition: height 0.3s ease;
    }
    #quick.show { height: 224px; }
    #quick li { border-bottom: none; }
    #quick li > button span { display: none; }
    #quick li > button svg { display: inline; }
    #quick li > button, #quick li > a { height: 44px; }

    /* 모바일 메뉴 */
    #m_bottom_menu {
        display: grid;
    }
}

@media screen and (max-width: 480px) {
    /* header */
    #hd { height: 60px; }
    #hd .hd-layout { padding: 0 20px; }
    #mMeun .m-meun-layout { height: calc(100% - 60px); margin-top: 60px;}
    #mMeun .m-meun-box {  margin: 0 20px; }
    #mMeun .m-meun-link { padding-top: 3.125rem; gap: 3.125rem;}
    #mMeun .m-meun-link a { font-size: 3.125rem; }
}