/* BASIC css start */
#keepgrowLogin #KG_header .shopName img { height: 35px; }
body.top-bas #ep-header #ep-header-tab.bag {top: 0; padding: calc(var(--p-4) + 30px) 0 0;}
/* 2022.10.19. marquee ¹è³Ê Ãß°¡ */
.marquee {
    width: 100%;
    overflow: hidden;
    display: flex;
}
.marquee div {
    border:0;
    display:flex;
    align-items:center;
}
.content_marquee {
    position: relative;
}
.tit_marquee {
    position: absolute;
    top: 45%;
    left: 50%;
    margin-left: -300px;
    z-index: 100;
    width: 600px;
    font-size: 40px;
    text-align: center;
    color: white;
    font-weight: 500;
    
}
.tit_day {
    font-size: 25px;
    font-weight: 300;
    line-height:70px;

}
#ep-header {
  width: 100%;
  position: fixed;
  top: 0px;
  left: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 9998;
  background:black;
  <!--background: var(--back1)-->
  /*--¼¼ÀÏ ³¡³ª°í À§¿¡ Áö¿ì°í ¾Æ·¡ Ç®±â--*/
  background: transparent;
  transition: all var(--speed);
}

.bag-bu{margin:0;}
#ep-header.active {

/*¸ÞÀÎÇØ´õ »ó´Ü >51¹ø 45¹øÀ¸·Î º¹»ç / ±âº» »ó´Ü, ¸ÞÀÎÇì´õ °°ÀÌ º¯°æÇÏ±â*/
    background: var(--back1);
}
#ep-header .header-menu {

  display: inline-block;
  box-sizing: border-box;
  line-height: 1;
}
.header-menu{
  height:80%;
}
.header-menu a{}
#ep-header .header-menu a {
    margin: 0 30px 0 0;
    color: white;
    transition: all 0.3s;
    font-size: 12px;
    position: relative;
    z-index: 3;
}
#ep-header .header-menu a sup {
    position: absolute;
    font-size: 8px;
    top: 0;
    right: 0;
    transform: translate(100%,0);
}

#ep-header .header-menu.hover a:after {
    background: #000;
}
#ep-header .header-menu.open a:after {
    width:100%;
}
#ep-header.open .header-menu a {
  color:#000;
}

.certainCate a:after {
    content:" ";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 1px;
    background: white!important;
    transition: all 0.3s;

}

.magjayCate a:after {
    content:" ";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 1px;
    background: black!important;
    transition: all 0.3s;

}

#ep-header .left-box {
    padding: 24px;
    width: 50%;
}
#ep-header .right-box {
    color:white;
    padding: 24px;    
    width: 50%;
    text-align: right;
}


#ep-header.open .center-box img{
  filter: invert(0);
}

#ep-header #ep-header-tab {
  position: fixed;
  top: 0;
  left: 0;
  width: 25%;
  min-width:350px;
  z-index: 1;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: all var(--speed);
  background: var(--back2);
  box-sizing: border-box;
  padding: var(--p-4) var(--p-2) var(--p-2);
  pointer-events: none;
  border:none;
      text-align: left;
}
#ep-header .header-menu:hover #ep-header-tab {
  opacity: 1;
  visibility: visible;
  pointer-events:auto;
  z-index: 2;
}
#ep-header #ep-header-tab p{
  font-size: var(--f-1);
  display: block;
  padding: 0 0 var(--p-1);
  color: #000;
      cursor: pointer;
}
#ep-header #ep-header-tab.shop-tab div{
    display:none;
        padding: 0 0 var(--p-1);
}
#ep-header #ep-header-tab p a {
    font-size: var(--f-1);
    display: block;
    padding: 0;
    color: #000;
    opacity:1;
}
#ep-header-tab a{color:black;}
#ep-header #ep-header-tab a {
  font-size: var(--f-0);
  display:block;;
  padding: 0 0 var(--p-0);
  opacity:0.6;
  transition: all var(--speed);
}
#ep-header #ep-header-tab a:hover {
    opacity:1;
}
#ep-header #ep-header-tab a:after {
    display:none;
}
#ep-header #ep-header-tab span {
  display: block;
  font-size: 0;
  padding: 0 0 var(--p-2);
}
#ep-header .right-box #ep-header-tab {
  background:black;
  left: auto;
  right: 0;
  width:25%;
}
#ep-header #ep-header-tab.bag {
  background:black;
  padding: var(--p-4) 0 0;
  width:25%;
}
#ep-header #ep-header-tab.bag iframe {
  width:100%;
  height:100%;
  position: relative;
  z-index: 1;
}
#ep-header #ep-header-tab.bag:after {
    content:" ";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: black;
    z-index: 2;
    transition: all 0.3s;
    opacity: 1;
    pointer-events: all;
}
#ep-header #ep-header-tab.open:after,
#ep-header #ep-header-tab.open:before{
    opacity: 0;
    pointer-events: none;
}
#ep-header #ep-header-tab.bag:before {
    content:" ";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%) scaleX(0);
    width: 80%;
    height: 2px;
    background: white;
    z-index: 3;
    transition: all 0.3s;
    animation: loading-t 1s ease-out infinite;
}
#ep-header-tab.search-box {
    position:relative;
    height:100%;
}
#ep-header-tab-search{height:100%;}
#ep-header-tab-search #ep-header-tab.search-box .search-input {
    width:100%;
    margin: 0 0 var(--p-4);
    position: relative;
}
#ep-header-tab-search #ep-header-tab.search-box .search-input input{
    color:white;
    width: 100%;
    height: 40px;
    background: transparent;
    border: 1px solid var(--gray);
    border-width: 0 0 1px;
    font-size: var(--f-2);
    line-height: 40px;
}
#ep-header-tab-search #ep-header-tab.search-box .search-input a {
    color:white;
    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;
}
#ep-header-tab-search #ep-header-tab.search-box .search-keyword {

}
#ep-header-tab-search #ep-header-tab.search-box .search-keyword h2 {
    color:white;
    font-size: var(--f-1);
    padding: 0 0 var(--p-1);
}
#ep-header-tab-search #ep-header-tab.search-box .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;
}
#ep-header-tab-search #ep-header-tab.search-box .search-keyword a:after {
    content:" ";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0%;
    height: 1px;
    background: #000;
    transition: all var(--speed);
    display:block;
}
#ep-header-tab-search #ep-header-tab.search-box .search-keyword a:hover:after {
    width:100%;
}
#ep-header-tab-search #ep-header-tab.search-box .search-product {
    position: absolute;
    bottom: var(--p-2);
    font-size: 0;
    width: 100%;
    overflow: hidden;
}
#ep-header-tab-search #ep-header-tab.search-box .search-product h2 {
    color:white;
    font-size: var(--f-1);
    padding: 0 0 var(--p-1);
}
#ep-header-tab-search #ep-header-tab.search-box .search-product ul {
    width: calc(100% + 2px);
}
#ep-header-tab-search #ep-header-tab.search-box .search-product ul li {
    width: 25%;
    display: inline-block;
    padding: 0 2px 0 0;
    box-sizing: border-box;
}
#ep-header-tab-search #ep-header-tab.search-box .search-product ul li a{
    font-size: 0;
    padding: 0;
    opacity: 1;

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

@keyframes loading-t {
  0% {
    transform: translate(-50%,-50%) scaleX(0);
  }

  100% {
    transform: translate(-50%,-50%) scaleX(1);
  }
}
#background-blur {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9996;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    background: rgba(0,0,0,0.1);
    transition: all 0.3s;
    opacity: 0;
    visibility: hidden;
}
#background-blur.open {
    opacity: 1;
    visibility: visible;
}


.cateTitle::after{content: " ";    position: absolute;    bottom: 0;    left: 0;    width: 0%;    height: 1px;    background: #fff!important;    transition: all 0.3s;}

#ep-header.active {
   display:none;
   transition:background-color 0.3s ease-in-out; /* ºÎµå·¯¿î ¾Ö´Ï¸ÞÀÌ¼Ç */
}
.active{
        opacity: 0;
        pointer-events: auto; /* º¸ÀÏ ¶§ Å¬¸¯ °¡´ÉÇÏ°Ô ¼³Á¤ */}
.zero{background-color: rgba(255, 255, 255, 0)!important; }

.rb{color:white!important;}
.LogoTop{z-index: 9999;
    color: #262626;
    mix-blend-mode: difference;
    filter: invert(1);
    top:24px;
    left: 50%;
    transform: translate(-50%, 0%);
    font-size: 47px;
    position: fixed;
    opacity: 1!important; /* Ã³À½¿¡´Â ¼û±è */
    transition: opacity 0.2s ease-in-out; /* ºÎµå·¯¿î ÆäÀÌµå È¿°ú */
}
.LogoTop a{
    vertical-align: top;
    line-height: 47px;
    font-size: 47px;
}
#ep-header .header-menu:hover #ep-header-tab, #ep-header .header-menu.open #ep-header-tab {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* ¸ð´Þ ¹è°æ */
.custom-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
}

/* ¸ð´Þ Ã¢ */
.custom-modal-content {
  background: white;
  width: 80%;
  max-width: 600px;
  padding: 20px;
  border-radius: 10px;
  position: relative;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  animation: fadeIn 0.3s ease-in-out;
}

/* ¸ð´Þ Çì´õ */
.custom-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #ddd;
  padding-bottom: 10px;
}

/* ´Ý±â ¹öÆ° */
.custom-modal-close {
  font-size: 24px;
  cursor: pointer;
  color: #333;
}

.custom-modal-close:hover {
  color: red;
}

/* ¸ð´Þ ³»¿ë */
.custom-modal-body {
  padding: 20px 0;
}

/* ¸ð´Þ ¾Ö´Ï¸ÞÀÌ¼Ç */
@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}


/***********************************************2Â÷ ¸®´º¾ó***********************************************************/
#ep-header {
    position: fixed;
    top: 0;
    width: 100%;
    background: white;
    z-index: 9998;
    display: flex;
    justify-content: space-between;
}

#ep-header .cate-menu, 
#ep-header .my-menu {
    padding: 25px;
}

#ep-header ul {
    display: flex;
    gap: 30px;
    list-style: none;
    padding: 0;
    margin: 0;
}

#ep-header ul li {
    cursor: pointer;
}

/* ±âÁ¸ ½ºÅ¸ÀÏ À¯ÁöÇÏ¸é¼­ ±â´É °³¼± */
#ep-header {
    position: fixed;
    top: 0;
    width: 100%;
    background: white;
    z-index: 9998;
    display: flex;
    justify-content: space-between;
}

#ep-header .cate-menu, 
#ep-header .my-menu {
    padding: 25px;
}

#ep-header ul {
    display: flex;
    gap: 30px;
    list-style: none;
    padding: 0;
    margin: 0;
}

#ep-header ul li {
    cursor: pointer;
}

.tab-ct {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 9997;
    height: 100vh;
    display: flex;
    justify-content: space-between;
    pointer-events: none; /* ±âº»ÀûÀ¸·Î Å¬¸¯ ¹æÇØ X */
}

.tab-ct-left, .tab-ct-right {
    width: 25%;
    height: 100%;
    position: absolute;
    background: black;
    opacity: 0;
    transform: translateX(-100%);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
}

.tab-ct-right {
    right: 0;
    transform: translateX(100%);
}

.tab-ct-left.hoverActive, .tab-ct-right.hoverActive {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto; /* È°¼ºÈ­µÉ ¶§¸¸ Å¬¸¯ °¡´É */
}

.tab-ct-left .tc, .tab-ct-right .tc {
    color:black;
    height:100%;
    opacity: 0;
    display: none;
    transition: opacity 0.3s ease;
    padding: 100px 40px;
}

.tab-ct-left .tc.active, 
.tab-ct-right .tc.active {
    opacity: 1;
    display: block;
}

.cateW li {
    padding: 10px 0;
}

.cateW li p {
    padding: 5px 0;
}

.tab-certain .cateW a {
    color: white;
}

#ep-header-tab a {
    display: block;
    padding: 5px 0;
}

/* BASIC css end */

