/* BASIC css start */
body.headeropen {
    overflow: hidden !IMPORTANT;
}
#header-top {
    color: #262626;
    mix-blend-mode: difference;
    filter: invert(1);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9997;
    text-align: center;
    display: flex;
    justify-content: space-between;
    box-sizing: border-box;
    padding: var(--p-0) var(--p-1);
    align-items: center;
    transition: transform 0.3s ease-in-out, background 0.3s ease-in-out;
    background: transparent; /* ±âº» ¹è°æ Åõ¸í */
}
#header-top.hidden {
    transform: translateY(-100%); /* Çì´õ ¼û±è */
}
#header-top.scrolled {
    background: white; /* ½ºÅ©·Ñ ¿Ã¸± ¶§ ¹è°æ Èò»ö */
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); /* ºÎµå·¯¿î ±×¸²ÀÚ */
}
#header-top.active {
    opacity:0;
}
#header-top img {
    height: 21px;
}
#header-top .bar {
    text-align:left;
    width:20%;
    height: 16px;
    position: relative;
}

#header-top .bar.open span {
    opacity: 0;
}

#header-top .center {
    width:60%
}
#header-top .right {
    width: 20%;
    position: relative;
    text-align: right;
    align-items: center;
}
#header-top .right img {
    height:24px;
}
#header-top .right a {
    position: relative;
}
#header-top .right sup {
}
#header-tab {
    position: fixed;
    left: 0;
    top: 0;
    z-index: 9999;
    background: var(--back1);
    width: 100%;
    height: 100%;
    transition: all var(--speed2);
    transform: translate(0,0);
    box-sizing: border-box;
    padding: var(--p-1);
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    overflow: auto;

}
#header-tab.open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}
#header-tab .top-cate {
    justify-content: space-between;
    DISPLAY: flex;
    width: 100%;
    font-size: 0;
}
}
#header-tab .top-cate p{
    display: inline-block;
    margin: 0 var(--p-1) 0 0;
    position: relative;
    line-height: 1.5;
}

#header-tab .top-cate p.active:after {
    width:100%;
}
#header-tab .top-cate a{
    font-size: 24px;
    font-weight: 500;
    line-height: 1.5;
}

#header-tab .part-tab {
    position: absolute;
    left: 30px;
    top: 70px;
    transition: all var(--speed);
    opacity: 0;
    z-index: 1;
    visibility: hidden;
    width: calc(100% - 40px);
}
#header-tab .part-tab.active {
    opacity: 1;
    z-index: 2;
    visibility: visible;
}

#header-tab .part-tab a {
    font-size: 14px;
    display: block;
    padding: 0 0 var(--p-0);
}
#header-tab .part-tab p,
#header-tab .part-tab p a{
    font-size: var(--f-2);
    font-weight: 500;
    display: block;
    margin: 0 0 var(--p-0);
    padding:0;
}
#header-tab .part-tab span {
    font-size: 0;
    padding: var(--p-1) 0;
    display: block;
    line-height: 0;
}
#header-tab .part-tab .header-bottom {
    border-top: 1px solid var(--gray);
    width: 100%;
    margin: var(--p-2) 0 0;
    padding: var(--p-2) 0;
}

#header-bag {
    position: fixed;
    right: 0;
    top: 0;
    z-index: 9999;
    background: black;
    width: 100%;
    height: calc(var(--vh) * 100);
    transition: all var(--speed2);
    box-sizing: border-box;
    padding: 20px var(--p-1);
    transform: translate(100%,0);
}
#header-bag.open {
    background:black;
    transform: translate(0%,0);
}
#header-search {
    position: fixed;
    right: 0;
    top: 0;
    z-index: 9995;
    background: var(--back1);
    width: 100%;
    height: 100%;
    transition: all var(--speed2);
    box-sizing: border-box;
    padding: var(--p-4) var(--p-1);
    transform: translate(100%,0);
}
#header-search.open {
    transform: translate(0%,0);
}
#header-search form {
    width:100%;
    height:100%;
}
#header-search .boxboxf {
    display: flex;
    flex-direction: column;
    width:100%;
    height: 100%;
}


#header-search .search-input {
    width:100%;
    margin: 0 0 var(--p-4);
    position: relative;
}
#header-search .search-input input{
    width: 100%;
    height: 40px;
    background: transparent;
    border: 1px solid var(--gray);
    border-width: 0 0 1px;
    font-size: var(--f-2);
    line-height: 40px;
}
#header-search .search-input a {
    font-size: 0;
    padding: 0;
    opacity: 1;
    position: absolute;
    top: 50%;
    right: 0;
    transform: translate(0,-50%) rotate(180deg);
    width: 24px;
    height: 24px;
    background: url(http://magjay.co.kr//web/2023_web/icon/arrow.png);
    background-size: auto 16px;
    background-repeat: no-repeat;
    background-position: center left;
}
#header-search .search-keyword {

}
#header-search .search-keyword h2 {
    font-size: var(--f-1);
    padding: 0 0 var(--p-1);
}
#header-search .search-keyword a {
    font-size: var(--f-1) !IMPORTANT;
    line-height: 1;
    margin: 0 0 var(--p-1);
    position: relative;
    padding: 0;
    opacity: 1;
    display:inline-block;
}
#header-search .search-keyword a:after {
    content:" ";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0%;
    height: 1px;
    background: #000;
    transition: all var(--speed2);
    display:block;
}
#header-search .search-keyword a:hover:after {
    width:100%;
}
#header-search .search-product {
    font-size: 0;
    overflow: hidden;
    width:100%;
    margin:auto 0 0;
}
#header-search .search-product h2 {
    font-size: var(--f-1);
    padding: 0 0 var(--p-1);
}
#header-search .search-product ul {
    width: calc(100% + 2px);
}
#header-search .search-product ul li {
    width: 25%;
    display: inline-block;
    padding: 0 2px 0 0;
    box-sizing: border-box;
}
#header-search .search-product ul li a{
    font-size: 0;
    padding: 0;
    opacity: 1;

}
#header-search .search-product ul li img {
    width:100%;
}

.bag{
    width: 100%;
    max-width: 800px; /* ÃÖ´ë ³Êºñ */
    height: 100vh; /* iframe ³ôÀÌ */
    overflow: hidden; /* ³ÑÄ¡´Â ºÎºÐ ¼û±â±â */
    position: relative;
}
#bagIframe{
    width: 100%;
    min-height: 106%; /* iframe ³»ºÎ ³»¿ëÀ» ÃæºÐÈ÷ º¸¿©ÁÖµµ·Ï ¼³Á¤ */
    border: none;
    position: relative;
    top: -115px; /* ¿øÇÏ´Â ¸¸Å­ À§ÂÊÀ» Àß¶ó¼­ ¼û±è */
}

.white-bg span,
.white-bg::before,
.white-bg::after {
    background: white !important;
}

.bag-b.open{color:white;}
.none_scroll {height:100%; min-height:100%; overflow:hidden !important; touch-action:none;}

.cer{position:relative; margin-top:40px;}
.cer .cer-a{position:absolute; left:-10px; font-size:24px!important; font-weight:500; line-height:1.5;}
.cateW{display:none;}
.cerp{    padding-top: 46px!important;}
.cate{padding-left:10px;}
/* BASIC css end */

