/* BASIC css start */
body.headeropen {
    overflow: hidden !IMPORTANT;
}
#header-top {
    position: fixed;
    top: 0;
    z-index: 9997;
    text-align: center;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    box-sizing: border-box;
    padding: var(--p-0) var(--p-1);
    align-items: center;
    transition: all var(--speed2);
    background: transparent;
}
#header-top.active {
    background: var(--back1);
}
#header-top img {
    height: 21px;
}
#header-top .bar {
    width: 20%;
    height: 16px;
    position: relative;
}
#header-top .bar span {
    width:24px;
    height: 1px;
    background: #000;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translate(0,-50%);
    transition: all var(--speed2);
    opacity: 1;
}
#header-top .bar.open span {
    opacity: 0;
}
#header-top .bar:after {
    content:" ";
    width:24px;
    height: 1px;
    background: #000;
    position: absolute;
    top: 0%;
    left: 0;
    transition: all var(--speed2);
    transform: rotate(0);
}
#header-top .bar.open:after {
    transform: rotate(45deg) translate(0,-50%);
    top: 50%;
    width: 15px;
}
#header-top .bar:before {
    content:" ";
    width: 24px;
    height: 1px;
    background: #000;
    position: absolute;
    bottom: 0%;
    left: 0;
    transition: all var(--speed2);
    transform: rotate(-0deg) translate(0,-0%);
}
#header-top .bar.open:before {
    transform: rotate(-45deg) translate(0,50%);
    bottom: 50%;
    width: 15px;
}

#header-top .center {
    width:60%
}
#header-top .right {
    width: 20%;
    position: relative;
    text-align: right;
    display: flex;
    justify-content: flex-end;
    gap: var(--p-1);
    align-items: center;
}
#header-top .right img {
    height:24px;
}
#header-top .right a {
    position: relative;
}
#header-top .right sup {
    position: absolute;
    left: 50%;
    bottom: 3px;
    transform: translate(-50%,-0);
    line-height: 1;
    font-size: var(--f-0);
}
#header-tab {
    position: fixed;
    left: 0;
    top: 0;
    z-index: 9995;
    background: var(--back1);
    width: 100%;
    height: 100%;
    transition: all var(--speed2);
    transform: translate(0,0);
    box-sizing: border-box;
    padding: var(--p-4) 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 {
    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:after {
    content:" ";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0%;
    height: 1px;
    background: #000;
    transition: all var(--speed);
}
#header-tab .top-cate p.active:after {
    width:100%;
}
#header-tab .top-cate a{
    font-size: var(--f-1);
    font-weight: 500;
    line-height: 1.5;
}

#header-tab .part-tab {
    position: absolute;
    left: var(--p-1);
    top: calc(var(--p-4) + var(--p-3));
    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: var(--f-1);
    display: block;
    padding: 0 0 var(--p-0);
}
#header-tab .part-tab p {
    font-size: var(--f-2);
    font-weight: 500;
    display: block;
    margin: 0 0 var(--p-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-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%;
}










/* BASIC css end */

