/* BASIC css start */
/* ===============
 * Common
 * =============== */

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

:root {
    --km-boxed-width: 1470px;
    --km-boxed-pad: 15px;
    --km-color-main: #da2824;
    --km-color-gray: #231f20;
    --km-color-lightgray: #f3f0e7;
    --ub-color-main: rgba(37, 21, 14, 0.90);
    --ub-color-black: #0B0A0A;
    --ub-color-sys900: #2E3030;
    --ub-color-sys750: #5F6060;
    --ub-color-sys500: #8C8E8E;
    --ub-color-sys300: #D8D8DC;
    --ub-color-sys250: #E9E8E6;
    --ub-color-sys100: #F5F5F5;
    --ub-color-white: #fff;
    --ub-color-success: #3A7D33;
    --ub-color-error: #C32727;
    --ub-font-serif: 'Henry', 'Cormorant Garamond', 'Noto Serif KR', serif;
    --ub-font-sans: 'ABCROM', 'Libre Franklin', 'Noto Sans KR', sans-serif;
    --ub-font-kr-serif: 'Eulyoo1945', 'Noto Serif KR', serif;
}

body {padding: 0 !important; height: auto; min-height: 100%; overflow: visible;}
body {
    font-family:
        "Noto Sans KR",
        -apple-system,
        BlinkMacSystemFont,
        "system-ui",
        "Segoe UI",
        Roboto,
        Helvetica,
        Arial,
        "Apple SD Gothic Neo",
        "Malgun Gothic",
        "Apple Color Emoji",
        "Segoe UI Emoji",
        sans-serif;

    line-height: 1.25;
}

body * {
  font-family: var(--ub-font-serif);
}

.k-serif-ey {
  font-family: var(--ub-font-kr-serif);
}

body #detailpage {
  max-width: 100%;
}

.k-none {
    display: none !important;
}

.k-container {
    max-width: var(--km-boxed-width);
    padding-left: var(--km-boxed-pad);
    padding-right: var(--km-boxed-pad);
    margin: 0 auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Layout */
#contents .visual img { max-width:100%; }
.bsize-bbox {box-sizing: border-box; color: var(--ub-color-main);}
.bsize-bbox * {box-sizing: inherit; color: inherit;}
.bsize-bbox img {
    width: auto;
    max-width: 100%;
}
.bsize-bbox button span {
  visibility: unset;
}

.main-content {
  color: var(--ub-color-main);
  background-color: #fff;
}

.curcy-n-lng {
  display: flex;
  align-items: center;
  gap: 5px;
  height: 100%;
  font-family: var(--ub-font-sans);
  font-size: 12px;
  font-weight: 400;
  color: var(--ub-color-main);

  * {
    font: inherit;
    color: inherit;
  }
}

/* overbox */
.u-overbox {
    position: relative;
    overflow: hidden;
}
.u-overbox > .ob-cont {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
}

/* Language Selector */
.lang-dropdown {
  position: relative;
  transition: transform 250ms, opacity 250ms, visibility 250ms;

  .dropdown-btn {
    padding: 2px 2px;
    height: 100%;
    background-color: #fff;
    color: var(--ub-color-main);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background .2s, border .2s;
    border: 1px solid transparent;
  }

  .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--ub-color-sys100);
    list-style: none;
    padding: 0;
    margin: 0;
    display: none;
    overflow: hidden;
    /* box-shadow: 0 4px 6px rgba(0,0,0,0.2); */
  }

  .dropdown-menu li {
    border: 1px solid var(--ub-color-sys250);
    border-top: 0;
  }

  .dropdown-menu li a {
    display: block;
    padding: 2px 2px;
    text-decoration: none;
    text-align: center;
    transition: background 0.2s;
  }

  .dropdown-menu li a:hover,
  .dropdown-menu li a:focus {
    background-color: var(--ub-color-sys250);
    outline: none;
  }

  .dropdown-menu li a[aria-current="page"] {}

  /* active */
  .dropdown-btn:hover {
    background-color: var(--ub-color-sys100);
  }
  &.active .dropdown-btn {
    border-bottom-color: transparent;
    background-color: var(--ub-color-sys100);
    border: 1px solid var(--ub-color-sys250);
  }
  &.active .dropdown-menu {
    display: block;
  }

  &.is-hidden {
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    pointer-events: none;
  }
}

.ff-sm-caps {
  font-variant: all-small-caps;
}


/* ===============
 * Header
 * =============== */

:root {
  --header-height: 29px;
  --nav-bg: #fff;
  --nav-border: #e8e8e8;
  --nav-text: #222;
  --nav-sub-text: #555;
  --nav-hover: var(--km-color-main, #c0392b);
  --nav-item-hover-bg: #f7f7f7;
  --logo-width: 75px;
  --dropdown-min-width: 140px;
  --transition: 0.2s ease;
  --km-nav-mega-height: 0px;
}

#k-header {
  position: sticky;
  top: 0;
  z-index: 120;
  background: var(--nav-bg);
  border-bottom: 1px solid var(--ub-color-sys250);
}

.k-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: var(--header-height);
  position: relative;
}

/* ===== LOGO ===== */
.k-logo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: var(--logo-width);
  display: flex;
  align-items: center;
  text-decoration: none;
  z-index: 1;
  font-size: 0;
}

/* ===== NAV ===== */
.kmo-nav {
  display: none;
}
.k-nav {
  flex: 1;
  max-width: calc(50% - var(--logo-width) / 2 - 16px);
  height: 100%;
  padding-left: 10px;
}

.k-subnav {
  flex: 1;
  max-width: calc(50% - var(--logo-width) / 2 - 16px);
  height: 100%;
  padding-right: 10px;

  .gnbsub {
    display: flex;
    gap: 24px;
    justify-content: flex-end;
    align-items: stretch;
    height: 100%;

    a {
      display: flex;
      align-items: center;
      height: 100%;
      font-family: var(--ub-font-sans);
      font-size: 12px;
      font-weight: 400;
      color: var(--ub-color-main);

      .user_basket_quantity {
        margin-left: 4px;
      }

      * {
        font: inherit;
      }
    }
  }
}

.k-nav .k-nav__link:hover,
.k-nav .k-dropdown__link:hover {
  text-decoration: none;
}

.k-nav__list {
  display: flex;
  gap: 24px;
  align-items: stretch;
  height: 100%;
}

/* ===== 1st nav item ===== */
.k-nav__item {
  position: relative;
  display: flex;
  align-items: stretch;
}

.k-nav__link {
  display: flex;
  align-items: center;
  font-family: var(--ub-font-sans);
  font-size: 12px;
  font-weight: 400;
  color: var(--nav-text);
  text-decoration: none;
  white-space: nowrap;
  transition: color var(--transition), border-color var(--transition);
}

/* ===== DROPDOWN ===== */
.k-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  /* border: 1px solid var(--nav-border);
  border-top: 2px solid var(--nav-hover); */
  background: var(--nav-bg);
  box-shadow: 0 6px 20px rgba(0,0,0,0.09);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
  z-index: 119;
}

.k-dropdown.mega-panel {
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  height: 425px;
  box-shadow: none;
  border-top: 1px solid var(--ub-color-sys250);
}

.mega-panel .mp__inr {
  padding: 0 10px 8px;
  background-color: #fff;
  height: 100%;
}
.mega-panel .mp__xcont {
  position: relative;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  height: 100%;
}

.mega-panel .col-group {
  flex: 1 1 auto;
  display: flex;
  gap: 11px;
}
.mega-panel .side-banner {
  flex: 0 0 auto;
  padding-top: 8px;
}
.mega-panel .s-col {
  width: 146px;
  padding: 8px 0 50px 8px;
  border-left: 1px solid var(--ub-color-sys250);

  &:first-child {
    border-left: 0;
  }
}
.mega-panel .sub-menu a .x-banner {
  display: none;
}

.mega-panel .sub-menu .sm_h1 {
  font-family: var(--ub-font-sans);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.2;
  font-variant: all-small-caps;

}
.mega-panel .sub-menu .sm_h2 {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.2;
}

.mega-panel .sub-menu > * + * {
  margin-top: 2px;
}
.mega-panel .sub-menu ul > * + * {
  margin-top: 4px;
}

.mega-panel .sub-menu {
  margin-top: 25px;
}
.mega-panel .sub-menu:first-child {
  margin-top: 0;
}
.mega-panel .sub-menu .sm_h1 ~ ul {
  margin-top: 2px;
}

.mp-banner__i {
  position: relative;
}
.mp-banner__iwrap img {
  display: block;
  width: 100%;
}
.mp-banner__iwrap img.n {
  position: relative;
  z-index: 1;
  animation: fadeIn 0.3s ease;
}
.mp-banner__iwrap img.hidden {
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0;
  z-index: 0;
  transition: opacity .3s;
}
.mp-banner__iwrap img.hidden.hidden__r {
  position: relative;
}

.lp-subprd-list {
  position: absolute;
  left: 146px;
  top:0;
  right: auto;
  bottom: 0;
  padding: 24px;
}

.lp-subprd-list ul {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  width: 595px;
}
.lp-subprd-list li {
  display: block;
  position: relative;
  width: 110px;

  img {
    display: block;
    width: 100%;
    aspect-ratio: 79 / 107;
    object-fit: cover;
  }

  a {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    line-height: 1.2;
    opacity: 0;
    transition: opacity .3s;;

    &::after {
      content: "";
      position: absolute;
      top: 0;
      right: 0;
      bottom: 0;
      left: 0;
    }

    &:hover {
      opacity: 1;
    }
  }
}
.mp--landing .sub-menu .lp-subprd-list > ul > li {
  margin: 0;
}
.mp--landing .sub-menu .sm_h1 ~ ul {
  margin-top: 5px;
}
.mp--landing .mp-banner__i {
  width: 548px;
  max-width: 100%;

  .mp-bntxt {
    margin-top: 4px;
    text-transform: uppercase;
  }

  .mega-panel .col-group {
    position: relative;
  }
}

.mp--landing {
  .sub-menu .sm_h2 {
    &::before {
      content: '\2014';
      margin-right: 5px;
      opacity: 0;
      transition: opacity .3s;
    }
  }

  .sub-menu li.active .sm_h2::before,
  .sub-menu .sm_h2.active::before,
  .sub-menu .sm_h2:hover::before,
  .sub-menu .sm_h2:focus-visible::before {
    opacity: 1;
  }

  .lp-subprd-list {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .3s, visibility .3s;
  }
}

.k-nav__item .k-dropdown.ff-open,
.k-nav__item:hover .k-dropdown {
  .sub-menu li.active .lp-subprd-list,
  .sm_h2.active ~ .lp-subprd-list,
  .sm_h2:hover ~ .lp-subprd-list,
  .sm_h2:focus-visible ~ .lp-subprd-list {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
}

.mp--products .mp-banner__i {
  width: 228px;
  max-width: 100%;

  img {
    aspect-ratio: 3 / 4;
    object-fit: cover;
  }

  .mp-bntxt {
    margin-top: 4px;
    text-transform: uppercase;
  }
}

.k-header .mega-bg {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: calc(var(--km-nav-mega-height) + 20px);
  background: var(--nav-bg);
  box-shadow: 0 6px 10px rgba(0,0,0,0.09);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
}

.k-header .kd-layer {
  position: fixed;
  top: calc(var(--header-height) + 1px);
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 5;
  background-color: rgba(37, 21, 14, 0.3);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .25s;
}

/* hover */
.k-nav__item .k-dropdown.ff-open,
.k-nav__item:hover .k-dropdown,
.k-nav__item.has-children .k-nav__link:hover ~ .kd-layer,
.k-nav__item.has-children .mega-panel:hover ~ .kd-layer {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}
.k-nav__item:hover .k-nav__link {
  /* color: var(--nav-hover); */
  /* border-bottom-color: var(--nav-hover); */
}

.k-header:hover .mega-bg {
  /* opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0); */
}

body.ccg-hover .k-header .k-nav__item .k-dropdown,
body.ccg-hover .k-header .mega-bg {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

/* ===== sub items ===== */
.k-dropdown__link {
  display: block;
  padding: 10px 18px;
  font-size: 13px;
  letter-spacing: -1px;
  color: var(--nav-sub-text);
  text-decoration: none;
  white-space: nowrap;
  transition: background var(--transition), color var(--transition);
  border-bottom: 1px solid var(--nav-border);
}
.k-dropdown__link:last-child {
  border-bottom: none;
}
.k-dropdown__link:hover {
  background: var(--nav-item-hover-bg);
  color: var(--nav-hover);
}

.mega-bg .k-container {
  position: relative;
}

.hg-banner {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 0;
}


/* ===== Mobile Toggle ===== */
.k-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px 10px;
  cursor: pointer;
  margin-left: 0;
  background: none;
  border: none;
  border-radius: 4px;
}
.k-hamburger .closed-state {
  display: block;
  width: 24px;
  height: 24px;
}
.k-hamburger .opened-state {
  display: none;
  font-family: var(--ub-font-sans);
  font-size: 12px;
  color: inherit;
}

.k-hamburger.is-open {width: auto;}
.k-hamburger.is-open .closed-state { display: none; }
.k-hamburger.is-open .opened-state { display: block; }


/* ===== GNB - MOBILE ===== */
@media (max-width: 1360px) {
  .mp--landing .mp-banner__i {
    width: 360px;
  }
}
@media (max-width: 1200px) {

  :root {
    --header-height: 40px;
  }

  .k-hamburger { display: flex; }
  .k-nav { display: none; }
  .k-dropdown.mega-panel {
    display: none !important;
  }

  .kmo-nav {
    display: block;
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--nav-bg);
    overflow-y: auto;
    border-top: 1px solid var(--ub-color-sys250);
    z-index: 198;
    /* fadeIn */
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0.25s ease;

    &::before {
      content: '';
      display: block;
      position: fixed;
      left: 10px;
      top: 70px;
      width: 1px;
      height: 100vh;
      background-color: var(--ub-color-sys250);
      z-index: 1;
    }
    &::after {
      content: '';
      display: block;
      position: relative;
      height: 15px;
      background-color: #fff;
      z-index: 2;
    }
  }
  .kmo-nav.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .kmo-nav__list {
    display: flex;
    flex-direction: column;
  }

  /* ===== Mo depth 1 ===== */
  .kmo-nav__item {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    border-bottom: 1px solid var(--ub-color-sys250);

    &:first-child {
      border-top: 1px solid var(--ub-color-sys250);
    }
  }

  /* ===== Mo depth 1 link ===== */
  .kmo-nav__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 10px 12px 20px;
    font-size: 24px;
    line-height: 1.1;
    color: inherit;
    cursor: pointer;
    transition: color var(--transition);
  }
  .kmo-nav__link:hover {
    /* color: var(--nav-hover); */
  }

  /* =====  expand icon ===== */
  .kmo-nav__item.has-children .kmo-nav__link::after {
    content: '';
    display: block;
    width: 14px;
    height: 14px;
    background-repeat: no-repeat;
    background-position: left top;
    background-size: 100% 100%;
    background-image: url(https://syneez.com/x/img/i/i-plus.svg);
    transition: background 0.22s;
    flex-shrink: 0;
  }
  .kmo-nav__item.has-children.is-open .kmo-nav__link::after {
    background-image: url(https://syneez.com/x/img/i/i-minus.svg);
  }
  .kmo-nav__item:not(.has-children) .kmo-nav__link::after {
    content: '';
    display: block;
    width: 14px;
    height: 14px;
    background-repeat: no-repeat;
    background-position: left top;
    background-size: 100% 100%;
    background-image: url(https://syneez.com/x/img/i/i-arr_right.svg);
    transition: background 0.22s;
    flex-shrink: 0;
  }

  /* ===== Depth 2 ===== */
  .kmo-nav__item .kmo-dropdown {
    overflow: hidden;
    height: 0;
    transition: height 0.28s ease, border-top-width 0.28s ease;
  }
  .kmo-nav__item.is-open .kmo-dropdown {
    border-top-width: 1px;
    /* height = scrollHeight */
  }

  .kmo-dropdown li {
    margin-top: 6px;

    &:first-child {
      margin-top: 0;
    }
    &:last-child {
      margin-bottom: 16px;
    }
  }

  .kmo-dropdown__link {
    display: block;
    padding: 2px 10px 2px 32px;
    font-size: 18px;
    line-height: 1;
    color: inherit;
    text-decoration: none;
    transition: background var(--transition), color var(--transition);
  }
  .kmo-dropdown__link:hover {
    background: var(--ub-color-sys100);
    /* color: var(--nav-hover); */
  }

  .k-subnav {
    .gnbsub {
      gap: 16px;
    }
  }

  .onx-px {
    display: none;
  }

  /* mo pannel inner */
  .mo-pannel__top {
    /* min-height: calc(100vh - var(--header-height) - 50px); */
    padding-top: 120px;
    margin-bottom: 150px;

    /* &::after {
      content: '';
      display: block;
      position: absolute;
      left: 10px;
      top: 0;
      width: 1px;
      height: 100%;
      background-color: var(--ub-color-sys250);
    } */
  }
  .global-menu {
    height: 30px;
    padding: 8px 10px 8px 20px;
    border-top: 1px solid var(--ub-color-sys250);
    border-bottom: 1px solid var(--ub-color-sys250);
    font-family: var(--ub-font-sans);
    font-size: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;

    position: fixed;
    top: 40px;
    left: 0;
    right: 0;
    background: #fff;

    * {
      font: inherit;
    }
  }
  .mo-pannel__bottom {
    position: relative;
    padding: 8px 10px 0 20px;

    /* &::after {
      content: '';
      display: block;
      position: absolute;
      left: 10px;
      top: 0;
      width: 1px;
      height: calc(100% - 64px);
      background-color: var(--ub-color-sys250);
    } */

    .mmo_h1 {margin-bottom: 4px;}
    .policy {
      font-size: 10px;
    }
    .mmo_subnav {
      li {
        margin-top: 5px;
      }
      li:first-child {
        margin-top: 0;
      }
    }
    .cc {
      margin-top: 80px;
      display: flex;
      justify-content: space-between;
      align-items: flex-end;
    }
    .cc__t {
      font-size: 10px;
      line-height: 1.4;
    }
  }
}

/* compat */
.shopdetail {
  .swiper-button-next::after, .swiper-button-prev::after{font-size:0 !important;}
}

.top-fx-banner {
  position: relative;
  width: 100%;
  height: 40px;
  z-index: 10;
}
.top-fx-banner a {
  display: flex;
  width: 100%;
  height: 100%;
  justify-content: center;
  align-items: center;
  background-color: #581515;
  color: #fff;
}

.top-fx-banner.bnrtype-2 {
  height: var(--ub-tfb-height, 30px);
}
.top-fx-banner.bnrtype-2 a {color: #000; background-color: #fff; border-bottom: 1px solid #000; font-size: 11px;}
.top-fx-banner.bnrtype-2 a .udl {margin-left: 20px; text-decoration: underline;}
.top-fx-banner.bnrtype-2 a .btclose {margin-left: 20px;}

@media screen and (min-width: 768.2px) {
  .top-fx-banner.bnrtype-2 a .btclose {position: absolute; right: 20px; top: 50%; transform: translateY(-50%);}
}

@media screen and (max-width: 768px) {
  .top-fx-banner.bnrtype-2 a {letter-spacing: 0.8px;}
}

/* BASIC css end */

