/* 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;

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

/*¸ÞÀÎÇØ´õ »ó´Ü >51¹ø 45¹øÀ¸·Î º¹»ç / ±âº» »ó´Ü, ¸ÞÀÎÇì´õ °°ÀÌ º¯°æÇÏ±â*/
    background: var(--back1);
}
#ep-header .header-menu {
  vertical-align:top;
  display: inline-block;
  box-sizing: border-box;
  line-height: 1;
}
.header-menu{height:80%;}
#ep-header .header-menu a {
  margin: 0 30px 0 0;
  color: #000;
  transition-property: opacity, background-color, backdrop-filter, -webkit-backdrop-filter;
    transition-duration: 0.3s;
    transition-timing-function: ease;
  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);
}
.bag-bu{margin: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:white!important;
}

.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 {
    width: 50%;
    padding:24px;
}
#ep-header .right-box {
    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 #ep-header-tab a {
  font-size: var(--f-0);
  display:block;;
  padding: 0 0 var(--p-0);
  color: #000;
  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 {
  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{
    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 {
    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 {
    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 {
    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-property: opacity, background-color, backdrop-filter, -webkit-backdrop-filter;
    transition-duration: 0.3s;
    transition-timing-function: ease;
    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.act {

   transition:background-color 0.3s ease-in-out; /* ºÎµå·¯¿î ¾Ö´Ï¸ÞÀÌ¼Ç */
}
.act{

        pointer-events: auto; /* º¸ÀÏ ¶§ Å¬¸¯ °¡´ÉÇÏ°Ô ¼³Á¤ */}
.zero{background-color: rgba(255, 255, 255, 0)!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; /* Ã³À½¿¡´Â ¼û±è */
    transition: opacity 0.2s ease-in-out; /* ºÎµå·¯¿î ÆäÀÌµå È¿°ú */
}
.LogoTop a{
  font-weight:300;
  vertical-align: top;
  font-size: calc(1.533vw); /* 30px ¡æ 92px */
  line-height: 65px;         /* ±ÛÀÚ Å©±âÀÇ 3.2¹è */
  letter-spacing: 0.36em;   /* ±ÛÀÚ Å©±âÀÇ 36% */
}

#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: 35px;
    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: 35px;
    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: white;
    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 {
    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;
}

/* header 3 overrides */
#ep-header {
  background: #fff !important;
  justify-content: flex-start;
  padding: 0 25px;
}
#ep-header.active,
#ep-header.open {
  background: #fff !important;
}
#ep-header .LogoTop {
  position: static;
  top: auto;
  left: auto;
  transform: none;
  filter: none;
  mix-blend-mode: normal;
  width: 110px;
  min-width: 110px;
  margin-right: 25px;
}
#ep-header .cate-menu {
  padding: 25px 0;
}
#ep-header .my-menu {
  margin-left: auto;
  padding: 25px 0;
}
.zero {
  background-color: #fff !important;
}

.tab-ct-left {
  width: 100%;
  left: 0;
  top: 0;
  height: auto;
  transform: none;
  transition: none;
  opacity: 0;
  visibility: hidden;
}

.tab-ct-left.hoverActive {
  opacity: 1;
  visibility: visible;
  transform: none;
  pointer-events: auto;
}

.tab-ct-left .tc {
  height: auto;
  padding: 0 40px 60px;
  display: none;
  opacity: 0;
  transition: none;
}

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

.tab-ct-left .tab-store .depth1 li {
  margin: 10px 0;
}

.tab-ct-left .tab-store .depth3 li {
  opacity: 0;
  transform: translateY(-5px);
  will-change: transform, opacity;
}

.tab-ct-left.hoverActive .tab-store.active .depth3 li {
  display: block;
}


/* right panel fix */
.tab-ct-right.hoverActive {
  opacity: 1 !important;
  transform: translateX(0) !important;
  visibility: visible;
  pointer-events: auto;
}

/* header height 50px (keep category hover behavior) */
#ep-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 50px;
  box-sizing: border-box;
  align-items: center;
}
#ep-header-spacer {
  width: 100%;
  height: 50px;
  pointer-events: none;
}
#ep-header .LogoTop,
#ep-header .cate-menu,
#ep-header .my-menu,
#ep-header ul {
  height: 100%;
  display: flex;
  align-items: center;
}
#ep-header .cate-menu,
#ep-header .my-menu {
  padding: 0;
}
#ep-header .LogoTop a {
  width: 110px;
  height: 21px;
  display: flex;
  align-items: center;
  line-height: 21px;
  font-size: 21px;
  letter-spacing: 0.225em;
}
#ep-header .LogoTop a p {
  margin: 0;
  line-height: inherit;
}

/* header 3 search drop override */
.tab-ct-right {
  --search-drop-top: 50px;
  --search-drop-height: 50px;
}

.tab-ct-right.searchMode {
  top: var(--search-drop-top);
  left: 0;
  right: auto;
  width: 100%;
  height: var(--search-drop-height);
  transform: translateY(-100%) !important;
  transition: transform 0.25s ease, opacity 0.25s ease;
  z-index: 9997;
}

.tab-ct-right.searchMode.hoverActive {
  transform: translateY(0) !important;
}

.tab-ct-right.searchMode .tab-mypage {
  display: none !important;
}

.tab-ct-right.searchMode .tab-search {
  display: block !important;
  opacity: 1 !important;
  height: 100%;
  padding: 0 25px !important;
}

.tab-ct-right.searchMode .search-inline-wrap {
  height: 100%;
}

.tab-ct-right.searchMode .search-inline-field {
  position: relative;
  width: 100%;
  height: 100%;
}

.tab-ct-right.searchMode .search-inline-field input {
  width: 100%;
  height: 100%;
  border: 0;
  border-bottom: 1px solid #000;
  background: #fff;
  font-size: 12px;
  letter-spacing: 0.04em;
  padding: 0 42px 0 0;
  box-sizing: border-box;
}

.tab-ct-right.searchMode .search-inline-field input:focus {
  outline: none;
}

.tab-ct-right.searchMode .search-inline-submit {
  font-size: 0;
  padding: 0;
  opacity: 1;
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  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;
}

/* search drop input size fix */
.tab-ct-right.searchMode .search-inline-wrap form {
  height: 100%;
}

.tab-ct-right.searchMode .search-inline-field input {
  line-height: var(--search-drop-height);
  display: block;
}

.tab-ct-right.searchMode .search-inline-field input.MS_search_word {
  height: 100% !important;
}

/* search click mode override */
.tab-ct-right {
  --search-drop-top: 0px;
}

.tab-ct-right.searchMode {
  z-index: 10001;
  transform: translate3d(0, -100%, 0) !important;
}

.tab-ct-right.searchMode.hoverActive {
  transform: translate3d(0, 0, 0) !important;
}

/* keep search layer above fixed header */
.tab-ct.search-open {
  z-index: 10002 !important;
}

/* show dim underlay while search bar is open (ssstein-style) */
.tab-ct.search-open + #background-blur,
.tab-ct.search-open + #background-blur.open {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  background: rgba(0,0,0,0.4) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

/* search visual match override (icon + SEARCH + close X) */
.search-inline-close {
  display: none;
}

.tab-ct-right.searchMode .tab-search {
  padding: 0 30px !important;
  background: #fff;
}

.tab-ct-right.searchMode .search-inline-wrap,
.tab-ct-right.searchMode .search-inline-wrap form {
  height: 100%;
}

.tab-ct-right.searchMode .search-inline-field {
  display: flex;
  align-items: center;
  width: 100%;
  height: 100%;
}

.tab-ct-right.searchMode .search-inline-submit,
.tab-ct-right.searchMode .search-inline-close {
  flex: 0 0 34px;
  width: 34px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1 !important;
  color: #333;
  background: transparent !important;
  border: 0;
  padding: 0;
  cursor: pointer;
}

.tab-ct-right.searchMode .search-inline-submit {
  text-decoration: none;
}

.tab-ct-right.searchMode .search-inline-submit svg,
.tab-ct-right.searchMode .search-inline-close svg {
  width: 12px;
  height: 12px;
  display: block;
}

.tab-ct-right.searchMode .search-inline-close {
  display: flex;
}

.tab-ct-right.searchMode .search-inline-close svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.tab-ct-right.searchMode .search-inline-field input {
  flex: 1 1 auto;
  min-width: 0;
  width: auto;
  height: 44px !important;
  line-height: 44px !important;
  margin: 0;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  font-size: 10px !important;
  letter-spacing: 0.25px !important;
  text-transform: uppercase;
  color: #333 !important;
}

.tab-ct-right.searchMode .search-inline-field input::placeholder {
  color: #333;
  opacity: 1;
  text-transform: uppercase;
}

.tab-ct-right.searchMode .search-inline-field input:focus {
  outline: none;
}

/* search visual match: neutralize legacy absolute icon rules */
.tab-ct-right.searchMode .search-inline-submit,
.tab-ct-right.searchMode .search-inline-close {
  position: static !important;
  top: auto !important;
  right: auto !important;
  left: auto !important;
  transform: none !important;
  font-size: 0;
}

.tab-ct-right.searchMode .search-inline-submit svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

/* search width + mypage drop-down alignment override */
.tab-ct-right {
  --mypage-drop-top: 50px;
}

.tab-ct-right.searchMode .search-inline-wrap,
.tab-ct-right.searchMode .search-inline-wrap form {
  display: flex;
  align-items: center;
  justify-content: center;
}

.tab-ct-right.searchMode .search-inline-field {
  width: 80vw !important;
  max-width: 80vw;
  margin: 0 auto;
}

.tab-ct-right.mypageMode {
  left: 0;
  right: auto;
  width: 100%;
  height: auto;
  transform: translate3d(0, -14px, 0) !important;
  transition: transform 0.25s ease, opacity 0.25s ease;
  z-index: 10000;
}

.tab-ct-right.mypageMode.hoverActive {
  transform: translate3d(0, 0, 0) !important;
}

.tab-ct-right.mypageMode .tab-search {
  display: none !important;
}

.tab-ct-right.mypageMode .tab-mypage {
  display: block !important;
  opacity: 1 !important;
  height: auto;
  background: #fff;
  padding-top: 14px !important;
  padding-right: 0 !important;
  padding-bottom: 30px !important;
}

.tab-ct-right.mypageMode .tab-mypage #ep-header-tab {
  position: static !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  width: auto !important;
  min-width: 0 !important;
  height: auto !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  background: transparent !important;
  padding: 0 !important;
  border: 0 !important;
  text-align: left !important;
}

.tab-ct-right.mypageMode .tab-mypage #ep-header-tab a {
  opacity: 1;
  padding: 0 0 10px;
}

/* search close icon reference-style override */
.tab-ct-right.searchMode .search-inline-close {
  width: 34px;
  height: 100%;
  padding: 20px 5px;
  margin-right: -11px;
  color: var(--link, #333);
  transition: color 0.3s ease;
}

.tab-ct-right.searchMode .search-inline-close svg {
  width: 24px;
  height: 24px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  pointer-events: none;
  transition: transform 0.3s ease;
}

@media (hover: hover) {
  .tab-ct-right.searchMode .search-inline-close:hover {
    color: var(--link-hover, #111);
  }

  .tab-ct-right.searchMode .search-inline-close:hover svg {
    transform: rotate(90deg);
  }
}


.tab-ct-right.searchMode .search-inline-close svg path {
  stroke-width: 1.5;
}
/* detail page force override */
.multi_image_wrap > ul {
  display: block !important;
}

.multi_image_wrap > ul > li {
  width: 100% !important;
  margin: 0 0 10px !important;
}

.multi_image_wrap > ul > li:last-child {
  margin-bottom: 0 !important;
}

#product-detail .right-detail .detail-action-row {
  display: flex;
  gap: 8px;
  margin: 16px 0 12px;
}

#product-detail .right-detail .detail-action-btn {
  flex: 1;
  height: 38px;
  line-height: 38px;
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.04em;
  border: 1px solid #000;
  box-sizing: border-box;
  display: block;
}

#product-detail .right-detail .detail-action-btn.buy {
  background: #000;
  color: #fff;
}

#product-detail .right-detail .detail-tab-menu {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid #000;
  border-bottom: 1px solid #000;
}

#product-detail .right-detail .detail-tab-btn {
  height: 34px;
  line-height: 34px;
  text-align: center;
  font-size: 10px;
  letter-spacing: 0.05em;
  border-right: 1px solid #000;
  box-sizing: border-box;
  display: block;
}

#product-detail .right-detail .detail-tab-btn:last-child {
  border-right: 0;
}

/* detail 2-column layout: left image / right info (no fixed/absolute) */
body.detail-two-col #wrap {
  display: flex !important;
  align-items: flex-start !important;
  gap: 30px;
}

body.detail-two-col .multi_image_wrap {
  flex: 0 0 60% !important;
  width: 60% !important;
  padding-right: 0 !important;
  box-sizing: border-box;
}

body.detail-two-col #product-detail {
  flex: 0 0 40% !important;
  width: 40% !important;
  padding: 0 !important;
  box-sizing: border-box;
}

body.detail-two-col #product-detail .left-detail {
  display: none !important;
}

body.detail-two-col #product-detail .right-detail {
  width: 100% !important;
  display: block !important;
}

body.detail-two-col #product-detail .right-detail .prd_add {
  width: 100% !important;
  margin: 24px 0 0 !important;
}

body.detail-two-col #product-detail .right-detail .fixed_area,
body.detail-two-col .left_fixed {
  position: static !important;
  top: auto !important;
  right: auto !important;
  bottom: auto !important;
  left: auto !important;
  width: 100% !important;
  margin-top: 0 !important;
  background: transparent !important;
  backdrop-filter: none !important;
  filter: none !important;
  mix-blend-mode: normal !important;
  color: #000 !important;
  padding: 0 !important;
}

@media (max-width: 1024px) {
  body.detail-two-col #wrap {
    display: block !important;
  }

  body.detail-two-col .multi_image_wrap,
  body.detail-two-col #product-detail {
    width: 100% !important;
    flex: 0 0 100% !important;
  }
}

#product-detail .right-detail .detail-tab-btn.active {
  background: #000;
  color: #fff;
}

#product-detail .right-detail .detail-tab-content-wrap {
  margin-top: 14px;
}

#product-detail .right-detail .detail-tab-content {
  display: none;
  font-size: 12px;
  line-height: 1.7;
  color: #111;
}

#product-detail .right-detail .detail-tab-content.active {
  display: block;
}

#product-detail .right-detail .detail-tab-content .addInfo {
  margin: 0 0 10px !important;
}

#product-detail .right-detail .detail-action-btn.buy.is-disabled {
  opacity: 0.6;
  pointer-events: none;
}

#wrap > #related-list,
#related-list {
  width: 100% !important;
  clear: both !important;
  display: block !important;
}


/* detail fallback override (when legacy shopdetail template is loaded) */
#product-detail .right-detail .fixed_area.detail-enhanced {
  position: sticky !important;
  top: var(--detail-sticky-top, 80px) !important;
  right: auto !important;
  bottom: auto !important;
  width: 100% !important;
  background: transparent !important;
  backdrop-filter: none !important;
}

.left_fixed.detail-enhanced-locked {
  position: static !important;
  left: auto !important;
  bottom: auto !important;
  mix-blend-mode: normal !important;
  filter: none !important;
  color: #000 !important;
}

#product-detail .right-detail .fixed_area.detail-enhanced #order-total,
#product-detail .right-detail .fixed_area.detail-enhanced .basketReview {
  display: none !important;
}

#product-detail .right-detail .detail-action-row {
  display: flex;
  gap: 8px;
  margin: 16px 0 12px;
}

#product-detail .right-detail .detail-action-row .detail-action-btn {
  flex: 1;
  height: 38px;
  line-height: 38px;
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.04em;
  border: 1px solid #000;
  display: block;
  box-sizing: border-box;
  color: #000;
  background: #fff;
}

#product-detail .right-detail .detail-action-row .detail-action-btn.buy {
  color: #fff;
  background: #000;
}

#product-detail .right-detail .detail-action-row.soldout-row {
  display: block;
}

#product-detail .right-detail .detail-action-row.soldout-row .detail-action-btn {
  width: 100%;
  pointer-events: none;
}

#product-detail .right-detail .detail-tab-menu {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid #000;
  border-bottom: 1px solid #000;
}

#product-detail .right-detail .detail-tab-btn {
  height: 34px;
  line-height: 34px;
  text-align: center;
  font-size: 10px;
  letter-spacing: 0.05em;
  border-right: 1px solid #000;
  display: block;
  box-sizing: border-box;
}

#product-detail .right-detail .detail-tab-btn:last-child {
  border-right: 0;
}

#product-detail .right-detail .detail-tab-btn.active,
#product-detail .right-detail .detail-tab-btn:hover {
  color: #fff;
  background: #000;
}

#product-detail .right-detail .detail-tab-content-wrap {
  padding-top: 14px;
}

#product-detail .right-detail .detail-tab-content {
  display: none;
}

#product-detail .right-detail .detail-tab-content.active {
  display: block;
}

/* BASIC css end */

