/* BASIC css start */
body{overflow-x:hidden;}
img{max-width:100%;height:auto;}
.menu_on {height:100%; overflow:hidden;}
.menu_off {height:auto; overflow:initial;}
#header {width:100%; position:relative;}
#header .top-pt-01 {position:fixed; top:0; left:0; right:0; z-index:100;}
#header .top-pt-02 {position:fixed; top:0; left:0; right:0; z-index:100;}
#header .headerTop {min-width:275px; text-align:center; padding-right:45px; background-color:#3e4347;}
#header .headerTop a {width:25%; height: 36px; line-height: 36px; background-color:#3e4347; color:#fff; display:inline-block; border-left:1px solid #373737; margin-left:-1px;}
#header .headerTop a .fa {vertical-align:top; position: relative; top:12px;}
#header #menu .fa {top:5px;}
#header .headerBottom {padding:0 10px; margin-bottom: 20px;}
#header .headerBottom h1 {font-size:2.333em;}
#header .headerBottom .headerBottomLeft {float:left; margin-top: 22px;}
#header .headerBottom .headerBottomRight {float:right; margin-top: 20px;}
#header .headerBottom .headerBottomRight a {margin-left:17px; color:#7d7d7d;}
#header .headerBottom .headerBottomRight a .fa-bookmark-o {color:#f1494d;}
#header .headerBottom .headerBottomRight .cart {position:relative;}
#header .headerBottom .headerBottomRight .cart sup {width:12px; height:12px; background-color:#9fc301; color:#fff; border-radius:6px; position:absolute; top:-12px; right:-5px; text-align: center; line-height: 12px;}



/* 카테고리 */
aside {position:fixed; width:100%; height:100%; top:0px; left:-100%; bottom:0; background:rgba(0,0,0,0.9); overflow-y:auto; -webkit-overflow-scrolling: touch; z-index:13000; }
aside .side-wrap {padding: 25px 32px 85px;}
aside .side-wrap .close-btn{float:right; width:21px;}
aside .side-wrap .close-btn img {width:100%;}
aside .side-wrap .side-top {padding-bottom:24px; margin-bottom:20px; border-bottom:1px solid #fff;}
aside .side-wrap .side-top .login {display:inline-block;}
aside .side-wrap .side-top .login a {display:inline-block; color:#fff; font-size:20px; font-family: 'Montserrat', sans-serif;}
aside .side-wrap .side-top .login a:nth-child(2) {margin-left:30px;}
aside .side-wrap .side-top .country-wrap {display:inline-block; position:relative;}
aside .side-wrap .side-top .country-wrap li > a {display:inline-block; color:#fff; font-size:20px;font-family: 'Montserrat', sans-serif;}
aside .side-wrap .side-top .country-wrap li > a > img {width:11px; vertical-align:middle;}
aside .side-wrap .side-top .country-wrap .gl-box {display:none; position: absolute;top: 33px;left: -5px; background: #fff; padding: 18px 0px !important; z-index:99; width: 65px;text-align: center; border: 1px solid #a8a8a8; box-sizing: border-box;}
aside .side-wrap .side-top .country-wrap .gl-box > a{display:block; margin-bottom:14px;}
aside .side-wrap .side-top .country-wrap .gl-box > a:nth-child(4) {margin-bottom:0px;}
aside .side-wrap .side-top .country-wrap .gl-box > a > img {width:24px;}
aside .side-wrap .search_box{width:100%; margin:0 auto 20px; box-sizing:border-box; position:relative; z-index:1;}
aside .side-wrap .search_box #keyword{border:0px; width:100%; height: 41px; line-height: 41px; border-bottom: 3px solid #fff; background: transparent;color: #fff; font-size: 17px; padding:0px 0px 15px 0px;}
aside .side-wrap .search_box .searchBox{}
aside .side-wrap .search_box .searchBox .btn_search{position:absolute; top:0px; right:0px; z-index:2;}
aside .side-wrap .search_box .searchBox .btn_search img{width:27px;}
aside .asideTop {text-align:center;}
aside .asideTop a {width:33.33%; height:62px; display:inline-block; border-bottom:2px solid #c3c3c3; color:#8f8f8f; font-weight:bold;}
aside .asideTop a:nth-child(1) {border-right:0px;}
aside .asideTop a:nth-child(2) {border-left:0px;}
aside .asideTop a .fa {margin-top:10px;}
aside .asideTop a.act {color:#ab3e41; border-bottom:2px solid #ab3e41;}

aside nav li {position:relative;}
aside nav li a {display: block; height: 42px; line-height:42px; /*margin-right: 40px;*/ overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color:#fff;font-size:20px;font-family: 'Montserrat', sans-serif; font-weight:500;}
aside nav li .fa {position: absolute; top:0; right: 0; width: 40px; text-align: center; height: 42px; line-height:42px; color:#fff; background:url(/design/iblank/wib/m/img/side_arr_move.png)no-repeat; background-size:12px auto;background-position: right center;}
aside nav li .fa.fa-angle-down:before {content:"" !important;}
aside nav li.toggle .fa { background:url(/design/iblank/wib/m/img/side_arr_open.png)no-repeat; background-size:21px auto;background-position: right center;}
aside nav li.toggle .fa.fa-rotate-180 {background-position: 0px center;}
aside nav li > ul {display:none; padding:0 0 10px 19px;}
aside nav li > ul > li {}
aside nav li > ul > li:first-child {}
aside nav li > ul > li a {height: 35px; line-height:35px; padding-left: 3px; margin: 0; color:#aaa; font-size:17px;font-family: 'Montserrat', sans-serif; font-weight:normal;}
aside nav li > ul > li > ul {border-top:0px none; border-top:1px solid #ccc;}
aside nav li > ul > li > ul > li {border-bottom:0px none;}
aside nav li > ul > li > ul > li a {padding:0 0 0 40px; margin: 0; background-color: #DDDDDD;}
aside .asideBottom {padding:20px 22px;}
aside .asideBottom .tel {color:#ab3e41; font-size:1.333em; font-weight:bold; display: block;}
aside .asideBottom .fa-stack {color:#000; margin-top: -5px;}
aside .asideBottom .copyright {margin-top:10px;}
aside .navCommunity {display:none;}
aside .navMypage {display:none;}
/*
#leftside-navigation ul li.active ul { display: block;}
*/
#leftside-navigation ul li a {
  -webkit-transition: all 200ms ease-in;
  -moz-transition: all 200ms ease-in;
  -o-transition: all 200ms ease-in;
  -ms-transition: all 200ms ease-in;
  transition: all 200ms ease-in;
}

#leftside-navigation ul li a span {display: inline-block;}
#leftside-navigation ul li a i { width: 20px;}
#leftside-navigation ul li a i .fa-angle-left,#leftside-navigation ul li a i .fa-angle-right {padding-top: 3px;}
#leftside-navigation ul ul { display: none;}

/* //카테고리 */

.mobile-category-scroll {
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
  background-color: #fff;
  padding: 8px 12px;
  position: relative;
  z-index: 1000;
  margin-top: 0;
  margin-bottom: 0;
  border-bottom:1px solid #cecece;

  scrollbar-width: none;          /* Firefox용 스크롤바 숨김 */
  -ms-overflow-style: none;       /* IE 10+ */
}
.mobile-category-scroll::-webkit-scrollbar {
  display: none;                  /* Chrome, Safari */
}

/* 카테고리 목록 */
.mobile-category-list {
  display: inline-flex;
  gap: 20px;
}

.mobile-category-list a {
  position: relative;
  font-size: 16px;
  font-weight: 500; 
  color: #333;
  text-decoration: none;
  padding: 6px 2px;
  flex-shrink: 0;
}

.mobile-category-list a.active {
  font-weight: 700;
  color: #000;
  border-bottom: 2px solid #000;
  color: #000;
  border-bottom: none;
}

/* 최근 본 상품 */
#ly_lastView {width:100%; position:absolute; top:36px; left:0; background-color:#fff; z-index:101; padding-bottom:20px; box-shadow: 0 1px 10px #717171; display:none;}
/* //최근 본 상품 */

@media screen and (min-width:768px) {
    #header #menu {width:85px;}
    #header .headerTop {padding-right:85px;}
    #header .search {padding-right:85px;}
    #header .search .searchBox input {width:95%;}
    #header .search .btn_search {width:85px;}
}




/* wib 추가 */

/* 상단 띠배너 */
.top_evt_banner {
  position: relative;
  overflow: hidden;
  height: 40px;
  background-color: black;
  color: #fff;
  font-size: 15px;
}

.banner-slide {
  display: flex;
  flex-direction: column;
  animation: scrollUp 8s linear infinite;
}

.banner-slide li {
  height: 40px;
  line-height: 40px;
  text-align: center;
}

/* 부드럽게 위로 올라가는 애니메이션 */
@keyframes scrollUp {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-120px); /* li 4개 = 30px * 4 */
  }
}

/* 닫기 버튼 */
.visual_close {
  position: absolute;
  right: 10px;
  top: 8px;
  font-size: 16px;
  text-decoration: none;
  color: #888;
}


/* 모바일 상단 */
#header .header_top {
  width:100%;
  position:relative;
  height:59px;
  margin:0;
}

#header .header_top .header_wrap {
  height:59px;
  text-align:center;
  background:#fff;
}

/* 중앙 로고 - 기존 크기 */
#header .header_top .header_wrap .logo {
  width:83px;
  height:auto;
  display:inline-block;
  margin:12px auto 13px;
}

#header .header_top .header_wrap .logo img {
  display:block;
  width:100%;
}

/* 삼선 메뉴 - 기존 크기/위치 */
#header .header_top .header_wrap #menu {
  position:absolute;
  top:19px;
  left:11px;
  width:24px;
  height:19px;
}

#header .header_top .header_wrap #menu img {
  display:block;
  width:100%;
}

/* 검색 - 장바구니와 동일한 영역 크기 */
#header .header_top .header_wrap #header-search {
  position:absolute;
  top:15px;
  left:50px;
  width:25px;
  height:27px;
  line-height:27px;
  color:#222;
  text-align:center;
}


/* 회원 - 장바구니와 동일한 영역 크기 */
#header .header_top .header_wrap #member {
  position:absolute;
  top:15px;
  right:58px;
  width:25px;
  height:27px;
  line-height:27px;
  color:#222;
  text-align:center;
}

#header .header_top .header_wrap #header-search img {
    display: block;
    width: 25px;
    height: 27px;
    object-fit: contain;
}

/* 장바구니 - 기존 크기/위치 */
#header .header_top .header_wrap #cart {
  position:absolute;
  top:15px;
  right:18px;
  width:25px;
  height:27px;
}

/* PC와 동일한 아이콘 크기 */
#header .header_top .header_wrap #cart svg,
#header .header_top .header_wrap #member svg {
    display: block;
    width: 24px;
    height: 24px;
    margin: 1.5px auto 0;
}

/* 장바구니: 테두리형 */
#header .header_top .header_wrap #cart svg {
    fill: none;
    stroke: #111;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* 회원: 채움형 */
#header .header_top .header_wrap #member svg {
    fill: #111;
}

#header .header_top .header_wrap #cart span {
  position:absolute;
  top:-3px;
  right:-7px;
  width:16px;
  height:16px;
  border-radius:10px;
  background:#76a2e5;
  color:#fff;
  font-size:12px;
  line-height:16px;
  text-align:center;
}

/* 모바일 검색 전용 화면 */
html.search_on,
body.search_on {
    overflow: hidden;
}

#header .header-search-panel {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 20000;
    overflow-x: hidden;
    overflow-y: auto;
    background: #fff;
    color: #111;
    text-align: left;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}

#header .header-search-panel *,
#header .header-search-panel *::before,
#header .header-search-panel *::after {
    box-sizing: border-box;
}

#header .header-search-panel button {
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    color: inherit;
    font: inherit;
    cursor: pointer;
}

/* 상단 검색 입력 */
#header .ibms-head {
    position: sticky;
    top: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: calc(14px + env(safe-area-inset-top, 0px)) 20px 14px;
    background: #fff;
}

#header .search-panel-close {
    position: static;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 28px;
    width: 28px;
    height: 44px;
}

#header .search-panel-close svg,
#header .header-search-submit svg {
    display: block;
    width: 24px;
    height: 24px;
    fill: none;
    stroke: #111;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

#header .header-search-form {
    flex: 1 1 auto;
    min-width: 0;
}

#header .header-search-form form {
    margin: 0;
    padding: 0;
}

#header .header-search-form fieldset {
    position: relative;
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

#header .header-search-form legend {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
}

#header .header-search-form .MS_search_word {
    display: block;
    width: 100%;
    height: 44px;
    margin: 0;
    padding: 0 44px 0 16px;
    border: 0;
    border-radius: 24px;
    background: #f5f5f5;
    color: #111;
    font-size: 16px;
    line-height: 44px;
    box-shadow: none;
    -webkit-appearance: none;
}

#header .header-search-form .MS_search_word::placeholder {
    color: #999;
    font-size: 14px;
}

#header .header-search-submit {
    position: absolute;
    top: 8px;
    right: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
}

/* 본문 */
#header .ibms-body {
    padding: 16px 24px calc(30px + env(safe-area-inset-bottom, 0px));
}

#header .ibms-section {
    margin: 0 0 32px;
    padding: 0;
}

#header .ibms-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

#header .ibms-heading h3 {
    margin: 0;
    padding: 0;
    color: #111;
    font-size: 17px;
    font-weight: 600;
    line-height: 24px;
    letter-spacing: -0.4px;
}

#header .ibms-heading h3 em {
    color: #ff5038;
    font-style: normal;
    font-weight: inherit;
}

#header .ibms-heading .ibms-clear {
    color: #999;
    font-size: 13px;
    line-height: 24px;
}

#header .ibms-empty,
#header .ibms-status {
    margin: 0;
    padding: 0;
    color: #999;
    font-size: 14px;
    line-height: 22px;
}

#header .ibms-recent,
#header .ibms-recommend {
    margin: 0;
    padding: 0;
    list-style: none;
}

#header .ibms-recent > li,
#header .ibms-recommend > li {
    position: static;
    float: none;
    margin: 0;
    padding: 0;
    list-style: none;
}

/* 최근 검색어 */
#header .ibms-recent {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 12px;
}

#header .ibms-recent > li {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    padding: 0 8px 0 16px;
    border-radius: 24px;
    background: #f7f7f7;
}

#header .ibms-recent .ibms-word {
    min-width: 0;
    padding: 7px 0;
    overflow: hidden;
    color: #333;
    font-size: 15px;
    line-height: 22px;
    white-space: nowrap;
    text-overflow: ellipsis;
}

#header .ibms-recent .ibms-remove {
    flex: 0 0 28px;
    width: 28px;
    height: 36px;
    color: #aaa;
    font-size: 16px;
    line-height: 36px;
}

/* 인기검색어 */
#header #ibms-native-rank {
    width: 100%;
    margin: 0;
    padding: 0;
    text-align: left;
}

/* 기본 박스 */
#header #ibms-native-rank > div {
    position: static;
    width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}

/* 내부 중복 제목 */
#header #ibms-native-rank h3,
#header #ibms-native-rank h4 {
    display: none;
}

/* 왼쪽 1~3위 / 오른쪽 4~5위 */
#header #ibms-native-rank ul,
#header #ibms-native-rank ol {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(3, auto);
    grid-auto-flow: column;
    column-gap: 24px;
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
}

#header #ibms-native-rank li {
    position: relative;
    display: flex;
    align-items: center;
    float: none;
    width: auto;
    min-width: 0;
    height: auto;
    min-height: 44px;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: #111;
    font-size: 15px;
    line-height: 24px;
    list-style: none;
}

#header #ibms-native-rank li a {
    display: block;
    min-width: 0;
    color: #111;
    font-size: 15px;
    text-decoration: none;
}

/* 인기검색어 순위 숫자 */
#header #ibms-native-rank li > em,
#header #ibms-native-rank li > b,
#header #ibms-native-rank li > strong,
#header #ibms-native-rank li > span:first-child,
#header #ibms-native-rank li a > em:first-child,
#header #ibms-native-rank li a > b:first-child,
#header #ibms-native-rank li a > strong:first-child,
#header #ibms-native-rank li a > span:first-child {
    color: #ff5038;
    font-style: normal;
    font-weight: 400;
}

/* 회색 타원 추천 검색어 */
#header .ibms-recommend {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

#header .ibms-recommend > li {
    display: block;
    max-width: 100%;
}

#header .ibms-recommend button {
    display: block;
    padding: 9px 16px;
    border-radius: 24px;
    background: #f2f2f2;
    color: #111;
    font-size: 14px;
    line-height: 20px;
    overflow-wrap: anywhere;
}

/* 좌우로 넘기는 혜택 배너 */
#header .ibms-banner-track {
    display: flex;
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

#header .ibms-banner-track::-webkit-scrollbar {
    display: none;
}

#header .ibms-card {
    display: flex;
    flex: 0 0 100%;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    min-width: 0;
    min-height: 128px;
    margin: 0;
    padding: 22px 20px;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    text-decoration: none;
}

#header .ibms-delivery {
    background: #222;
    color: #fff;
}

#header .ibms-review {
    background: #f1eee9;
    color: #111;
}

#header .ibms-join {
    background: #edf0f3;
    color: #111;
}

#header .ibms-card small {
    display: block;
    margin: 0 0 8px;
    color: inherit;
    font-size: 11px;
    line-height: 17px;
    opacity: 0.7;
}

#header .ibms-card strong {
    display: block;
    color: inherit;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: -0.7px;
    word-break: keep-all;
}

#header .ibms-card p {
    margin: 5px 0 0;
    color: inherit;
    font-size: 13px;
    line-height: 21px;
}

#header .ibms-dots {
    display: flex;
    justify-content: center;
    margin-top: 7px;
}

#header .ibms-dots button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
}

#header .ibms-dots button::after {
    content: "";
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #d6d6d6;
}

#header .ibms-dots button.is-active::after {
    background: #111;
}

#header .header-search-panel button:focus-visible,
#header .header-search-panel a:focus-visible,
#header .header-search-panel input:focus-visible {
    outline: 2px solid #888;
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    #header .ibms-banner-track {
        scroll-behavior: auto;
    }
}

/* 상단 고정 카테고리 */
#header .top_cate {font-size:0; border-top: 0px solid #cecece; border-bottom:1px solid #cecece; margin:10px 0 0;}
#header .top_cate a { display:inline-block; width:25%; font-weight:700; font-size:13px; color:#000; font-family: 'Montserrat', sans-serif;  text-align:center; padding:13px 0;}
#header .top_cate a:nth-of-type(1) {width: 25%;}
#header .top_cate a:nth-of-type(3) {width: 25%;}

/* 게시판 공통 상단 */
.board-hd {font-size:0;}
.board-hd > a {display:inline-block; width:25%; font-size:12px; text-align:center; box-sizing:border-box; border-right:1px solid #cecece; height:35px; line-height:35px; color:#858585; font-weight:bold;}
.board-hd > a:nth-child(4) {border-right:0px;}


/* 메이크샵 미리보기 덮개만 클릭 통과 */
#overlay_layer:has(+ #m_skin_preview_wrap) {
    pointer-events: none;
}


/* BASIC css end */

