/* BASIC css start */
.header.main,.headernavi {display:none;}
#header .headerTop ul li.nowcate {width: 70%; margin-left: 0; padding: 0 0 0 50px;text-align:center;font-size:20px;font-weight:600;}

.cate-wrap {border-top:1px solid var(--gray-light);border-bottom:1px solid var(--gray-light);}
.shopbrandTitle img {width:100%;}
.shopbrandTitle {margin-top: calc(var(--gnbH) + 10px); /* 52px + 10px = 62px */}
/* 카테고리리스트 */
.class-list {box-sizing: border-box;overflow:auto;-webkit-overflow-scrolling:touch; scrollbar-width:none;background:#fff;margin:0 4%;}
.class-list ul {display:flex;justify-content: flex-start;align-items:center;width:100%;}
.class-list ul li {display:block; font-size:14px;padding:20px 0;text-align:center; margin:0 2%;white-space:nowrap;}
.class-list ul li:first-child {margin-left:0%}
.class-list ul li .active {color:var(--point-color);font-weight:500;}

.shopbrand .MK_product_list {background-color:#f9f9f9; border-bottom:1px solid #4a4a4a; border-top: 1px solid #4a4a4a;}
.shopbrand .MK_product_list .items {padding: 10px 0;}
.shopbrand .MK_product_list .items #MK_best_product li {width:33.33%;}
.shopbrand .MK_product_list .items .paging-num {text-align: center; clear: both; margin:20px 0;}
.shopbrand .MK_product_list .items .paging-num a {background-color:#fff; border:1px solid #393939; padding:5px 10px; margin:0 10px;}


.shopbrand .coupon-benefit {position:relative; margin:-12px 0 10px 0;} 
.shopbrand .btn-coupon { display:inline-block; height:16px; padding:0; margin-left:5px; border:1px solid #000; font-size:10px;}
.shopbrand .btn-coupon span { display:inline-block; height:16px; padding:0 5px; color:#fff; background:#000; vertical-align:top; font-size:11px; }
.shopbrand .btn-coupon em { display:inline-block; height:16px; padding:0 3px 0 0; font-size:10px; vertical-align:top; color:#000; }

/* 하위 분류 */
.shopbrand .item-cate { padding: 0 4px 10px; }
.shopbrand .item-cate .scate a { font-weight: bold; font-size: 15px; color: #1c1c1c; }
.shopbrand .item-cate .scate-img img { width: 100%; }

.shopbrand .item-sort {margin:25px 4%;}
.shopbrand .item-sort dd ul {display:flex;justify-content: space-between;align-items: center;}
.shopbrand .item-sort dd ul li.now {font-size:30px;font-weight:600;} 
.shopbrand .item-sort dd ul li.now span {margin-left:5px;font-size:16px;color:var(--gray);font-weight:400;}
.shopbrand .item-sort dd ul li select::-ms-expand { display: none;}
.shopbrand .item-sort dd ul li select { border:1px solid var(--line-color);border-radius:5px;width: 90px; height: 30px; background: url('//skin.makeshop.co.kr/skin/lifegoods/images/mo/ic_arrow_bt.svg') 65px no-repeat; background-size: 10px;  padding: 5px 30px 5px 10px;
 outline: 0 none;-o-appearance: none; -webkit-appearance: none; -moz-appearance: none; appearance: none;}
 
 
 /* 상품 목록 영역(공통) */
.item-cont > ul {display:flex;justify-content: space-between;flex-wrap: wrap;margin:0 4%;}
.item-cont .item-list.list2 {width:calc(50% - 10px);margin-bottom:30px;}
.item-cont .item-list .thumb {position:relative;}
.item-cont .item-list .thumb .num {position:absolute;left:0;width:24px;height:24px;line-height:24px;text-align:center;color:var(--fff);background:var(--gray);border-radius:4px 0 4px 0 ;}
.item-cont .item-list .thumb img {width:100%;border-radius:4px;}
.item-cont .item-list .prd-info .prd-name {margin:10px 0;}
.item-cont .item-list .prd-info .prd-name a {font-size:13px;font-weight:600;white-space:normal;word-break: break-all;overflow-wrap: break-word;}
.item-cont .item-list .prd-info .prd-subname {margin:10px 0;}
.item-cont .item-list .prd-info .prd-subname a {font-size:11px;color:var(--gray);}
.item-cont .item-list .prd-info .prd-ico {margin:10px 0;}
.item-cont .item-list .prd-info .prd-price {font-size:12px;font-weight:600;}
.item-cont .item-list .prd-info .prd-price del {font-size:11px;margin-left:1px;color:var(--gray);font-weight:400;}
.item-cont .item-list .prd-info .prd-price .discountPer {color:var(--point-color);font-weight:700;margin-right:1px;}
.item-cont .item-list .prd-info .prd-price .discount {color:var(--point-color);}
.item-cont .item-list .prd-info .prd-price .price {font-weight:600;}
.more {padding:0 4%;box-sizing: border-box;}
.more .btn_more_style {width:100%;border:1px solid #000;border-radius:4px;height:34px;line-height:34px;display:inline-block;box-sizing: border-box;}
.more .btn_more_style .more-title {color:#000;}


/* 베스트 */
#best-prd-count {position:relative;background-color:var(--gray-light);padding:50px 0;}
#best-prd-count .title {padding:0 0 25px;text-align:center;}
#best-prd-count .title h2 {font-size:22px;font-weight:600;}
#best-prd-count .item-cont dl dt.thumb img {width:100%;border-radius:50%;}
#best-prd-count .item-cont dl dd.prd-info  {text-align:center;}
#best-prd-count .item-cont .item-list .prd-info .prd-name a {font-size:16px;font-weight:600;}
#best-prd-count .item-cont .item-list .prd-info .prd-price  {font-size:14px;}





/* ===== 카테고리 레이아웃 정리 ===== */

/* ===== 상품분류 전용: 헤더/중분류/정렬 바 ===== */

/* GNB 높이 */
:root { --gnbH: 52px; }

/* 분류 헤더: GNB 바로 아래 고정 */
#header.cate_header{
  position: sticky;
  top: var(--gnbH);
  z-index: 300;
  background:#fff;
  box-shadow: 0 1px 0 rgba(0,0,0,.06);
}

/* 헤더 내부 중앙정렬 (대분류명만) */
#header.cate_header .headerTop ul{
  display:flex; align-items:center; justify-content:center;
  height:44px;
}
#header.cate_header .headerTop ul li:first-child,  /* ← 뒤로가기(<) 숨김 */
#header.cate_header .h_cart,
#header.cate_header a[href*="/mypage"]{ display:none !important; }
#header.cate_header .headerTop ul li.nowcate{
  width:auto; margin:0; padding:0; text-align:center;
  font-size:18px; font-weight:700; letter-spacing:.2px;
}

/* 중분류 바: 헤더 바로 밑 sticky */
.cate-wrap{
  position: sticky;
  top: calc(var(--gnbH) + 44px);
  z-index: 250;
  background:#fff;
  border-top:1px solid #F2F2F2;
  border-bottom:1px solid #F2F2F2;
}

/* 중분류 리스트: 가로 스크롤(앞쪽 잘림 방지) */
.class-list{
  overflow-x:auto; overflow-y:hidden;
  -webkit-overflow-scrolling:touch;
  scrollbar-width:none;
}
.class-list::-webkit-scrollbar{ display:none; }

.class-list ul{
  display:flex;
  align-items:center;
  justify-content:flex-start; /* 많은 경우 왼쪽부터 보이게 */
  gap:12px;
  padding:0 12px;            /* 양 끝 잘림 방지 */
}
.class-list ul li{ padding:14px 0; }
.class-list ul li a{
  display:inline-block; padding:0 8px; font-size:14px; white-space:nowrap;
}
.class-list a.active{ color:#FF1377; font-weight:600; }

/* “베스트상품” 섹션은 사용 안함 */
#best-prd-count{ display:none !important; }

/* 총 n개/정렬 바: 스크롤 시 숨김용 스타일 */
.shopbrand .item-sort{
  position: sticky;
  top: calc(var(--gnbH) + 44px + 46px);
  z-index: 240;
  background:#fff;
  padding:10px 4%;
  border-bottom:1px solid #F2F2F2;
  transition: transform .25s ease, opacity .25s ease;
}
.shopbrand .item-sort.is-hide{
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
}

/* ===== 카드(오버레이)   메인과 동일 톤, 간격 더 컴팩트 ===== */
.product-item .item-list{ position:relative; overflow:hidden; }
.product-item .item-list .thumb img{
  width:100%; display:block; border-radius:4px;
  aspect-ratio:365/536; object-fit:cover;
}

/* 하단 오버레이 */
.product-item .item-list .prd-info{
  position:absolute; left:0; right:0; bottom:0;
  height:45%;
  background:rgba(0,0,0,.40);
  color:#fff; text-align:center;
  padding:10px 8px 6px;
  display:flex; flex-direction:column; justify-content:flex-end;
  opacity:0; transform:translateY(10px);
  transition:opacity .22s cubic-bezier(.2,.6,.2,1), transform .22s cubic-bezier(.2,.6,.2,1);
  pointer-events:none;
}
.product-item .item-list:hover .prd-info,
.product-item .item-list.hover .prd-info{
  opacity:1; transform:translateY(0);
}

.product-item .item-list .prd-info *{ color:#fff !important; }
.product-item .item-list .prd-name a{ font-size:13px; font-weight:600; line-height:1.28; margin:0; }
.product-item .item-list .prd-subname a{ font-size:11px; line-height:1.24; opacity:.9; margin:2px 0 0; }
.product-item .item-list .prd-price{ font-size:12px; font-weight:600; margin-top:3px; }
.product-item .item-list .prd-price del{ font-size:11px; color:#ddd !important; font-weight:400; }

/* 아이콘 라인 제거 */
.product-item .item-list .prd-ico,
.product-item .item-list .prd-color,
.product-item .item-list .prd-preview,
.product-item .item-list .prd-benefit{ display:none !important; }


/* 추가: 카드 오버레이는 클릭 방해 안 함 */
.product-item .item-list .prd-info { pointer-events: none; }






/* =========================================================
   [대분류/중분류 전용 패치] 카드 간격(위아래/가운데) 타이트하게
   - 이 파일의 기존 .item-cont / .item-list.list2 구조에 맞춤
   - 숫자만 바꿔서 간격 미세조정 가능
   ========================================================= */
:root{
  --cat-edge: 4%;   /* 좌우 바깥 여백(기존 4%) */
  --cat-col-gap: 2px; /* 좌우 카드 사이 간격(가운데) */
  --cat-row-gap: 4px; /* 위아래(행) 간격 */
}

/* 컨테이너: space-between 제거 → gap 사용 */
.shopbrand .item-cont > ul{
  margin: 0 var(--cat-edge) !important;
  display: flex; flex-wrap: wrap;
  justify-content: flex-start !important;
  gap: var(--cat-row-gap) var(--cat-col-gap) !important; /* row col */
}

/* 2열 카드 폭 = (100% - 가운데간격) / 2 */
.shopbrand .item-cont .item-list.list2{
  width: calc((100% - var(--cat-col-gap)) / 2) !important;
  margin-bottom: 0 !important;         /* 행 간격은 gap으로 처리 */
  padding: 0 !important;               /* 카드 내부 좌우 여백 제거 */
}

/* 이미지-텍스트 사이 여백 축소(오버레이 미사용 케이스 대비) */
.shopbrand .item-cont .item-list .prd-info .prd-name,
.shopbrand .item-cont .item-list .prd-info .prd-subname,
.shopbrand .item-cont .item-list .prd-info .prd-ico{
  margin: 4px 0 !important;  /* 기존 10px → 4px */
}




/* 분류 페이지: 가격 위 색상칩 */
.product-item .prd-info .prd-colors,
.list_shopping2x .list_shoppingInfo .prd-colors{
  margin: 6px 0 4px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap; /* 칩 많을 때 두 줄 허용 (원하면 제거) */
}

.product-item .prd-info .prd-colors span,
.list_shopping2x .list_shoppingInfo .prd-colors span{
  width: 12px; height: 12px;
  border-radius: 50%;
  display: inline-block;
  border: 1px solid rgba(0,0,0,.25); /* 흰 배경에서 경계 보이게 */
}




/* ============================
   분류 리스트 간격(메인 느낌으로)
   - 상품명/서브네임 ↔ 아이콘(색상칩/라벨) ↔ 가격
   ============================ */

/* 숫자만 바꿔서 전체 간격 컨트롤 */
:root{
  --gap-name-code: 2px;   /* 상품명 아래 간격 */
  --gap-code-icons: 8px;  /* 서브네임 아래(아이콘 위) 간격 */
  --gap-icons-price: 6px; /* 아이콘(색상칩/라벨)과 가격 사이 간격 */
}

/* 기본 리스트(분류 페이지) */
.product-item .prd-info .prd-name{ margin-bottom: var(--gap-name-code); }
.product-item .prd-info .prd-subname{ margin-bottom: var(--gap-code-icons); }

/* 라벨 아이콘 줄(기획/증정 등) */
.product-item .prd-info .prd-ico{ margin-top: 0; margin-bottom: var(--gap-icons-price); }

/* 색상칩(가격 위)   앞서 넣은 prd-colors 기준 */
.product-item .prd-info .prd-colors{
  margin: var(--gap-icons-price) 0 var(--gap-icons-price);
  display:flex; justify-content:center; align-items:center; gap:6px; flex-wrap:wrap;
}
.product-item .prd-info .prd-colors span{
  width:12px; height:12px; border-radius:50%; display:inline-block;
  border:1px solid rgba(0,0,0,.25);
}

/* 상단 '하위 분류 추가 건' 갤러리(있으면)도 동일 간격 적용 */
.list_shopping2x .list_shoppingInfo .listName{ margin-bottom: var(--gap-name-code); }
.list_shopping2x .list_shoppingInfo .prd-colors{ margin: var(--gap-icons-price) 0 var(--gap-icons-price); }






/* ===== GZ: 공통 배지 스택 (모바일용) 25.0923 ===== */
.gz-badge-stack{
  position:absolute; right:6px; top:6px;
  display:flex; flex-direction:column; align-items:flex-end;
  gap:3px;                               /* 아이콘 간격 ↓ */
  pointer-events:none; 
  z-index:60 !important;                 /* 헤더보다 아래 */
}

/* 세 배지 공통 스타일(폰트/크기/투명도/모서리 통일) */
.gz-badge{
  display:inline-block;
  padding:3px 7px;                       /* 작게 */
  line-height:1;
  font-family: inherit;
  font-size:11px;                        /* 모바일 크기 */
  font-weight:400;                       /* 볼드 금지 */
  letter-spacing:.2px;
  color:#fff;
  background:rgba(17,17,17,.26);         /* 투명도 ↑ */
  border-radius:3px;
  border:0.5px solid rgba(255,255,255,.15);
  box-shadow:0 1px 3px rgba(0,0,0,.08);
}
.gz-badge i{ font-style:normal; }

/* 필요하면 살짝만 톤 차이(모두 같은 폰트/크기 유지) */
.gz-badge--free    { /* 무료배송 */ }
.gz-badge--made    { text-transform:uppercase; } /* G.MADE만 대문자 */
.gz-badge--special { /* 한정특가/기획특가 */ }

/* 썸네일이 relative 아니면 고정 */
.dt.thumb, .thumb{ position:relative; }

/* 너무 붙어 보이면 여기만 미세조정 */
@media (min-width:420px){
  .gz-badge-stack{ right:8px; top:8px; gap:4px; }
  .gz-badge{ font-size:11.5px; padding:3px 8px; }
}


/* =========================================================
   GUMZZI MOBILE CATEGORY - FINAL OVERRIDE V1
   ========================================================= */

/* 분류 페이지 전체 폰트 */
.shopbrand,
.shopbrand button,
.shopbrand input,
.shopbrand select,
.shopbrand textarea,
#header.cate_header{
  font-family:'Pretendard','Pretendard-Regular','Helvetica Neue',Helvetica,sans-serif;
}

/* 모든 상품 배지 / BEST 순위 / 아이콘 / 색상칩 숨김 */
.shopbrand .gz-badge-stack,
.shopbrand .gz-badge,
.shopbrand .gz-badge-item,
.shopbrand .gz-badge-free,
.shopbrand .gz-badge--free,
.shopbrand .gz-badge--made,
.shopbrand .gz-badge--special,
.shopbrand .gz-made-badge,
.shopbrand .gz-special-badge,
.shopbrand .gz-free-badge,
.shopbrand .gz-rank-badge,
.shopbrand .thumb .num,
.shopbrand .prd-ico,
.shopbrand .prd-color,
.shopbrand .prd-colors,
.shopbrand .prd-preview,
.shopbrand .prd-benefit,
.shopbrand .main_icons > img:not(.listPic){
  display:none !important;
}

/* 모바일에서 가상 hover 잔상 방지 */
@media (hover:none), (pointer:coarse){
  .product-item .item-list:hover .prd-info{
    opacity:0;
    transform:translateY(10px);
  }
  .product-item .item-list.hover .prd-info{
    opacity:1;
    transform:translateY(0);
  }
}


/* =========================================================
   GUMZZI MOBILE CATEGORY - INFO SPACING V2
   아이콘/색상칩 제거 후 남는 공간을 여백으로 재배치
========================================================= */

/* 오버레이 내부: 상품명 → 서브명 → 가격 사이 숨통 확보 */
.product-item .item-list .prd-info{
  padding: 14px 10px 12px !important;
}

.product-item .item-list .prd-info .prd-name{
  margin: 0 0 5px !important;
}

.product-item .item-list .prd-info .prd-subname{
  margin: 0 0 12px !important;
}

.product-item .item-list .prd-info .prd-price{
  margin-top: 0 !important;
  margin-bottom: 2px !important;
}

/* 삭제된 아이콘/색상칩 자체는 계속 비노출 */
.product-item .item-list .prd-info .prd-ico,
.product-item .item-list .prd-info .prd-color,
.product-item .item-list .prd-info .prd-colors{
  display:none !important;
}


/* =========================================================
   GUMZZI MOBILE CATEGORY - OVERLAY FIX V3
   마우스/터치 모두 상품정보 오버레이 표시 복원
========================================================= */

/* 기본은 숨김 */
.product-item .item-list .prd-info{
  opacity:0 !important;
  transform:translateY(10px) !important;
}

/* PC 마우스 hover */
.product-item .item-list:hover .prd-info{
  opacity:1 !important;
  transform:translateY(0) !important;
}

/* 모바일 첫 탭 */
.product-item .item-list.hover .prd-info,
.product-item .item-list[data-armed="1"] .prd-info{
  opacity:1 !important;
  transform:translateY(0) !important;
}


/* =========================================================
   GUMZZI MOBILE CATEGORY - SCROLL RESTORE FIX V4
   뒤로가기 위치 복원 시 천천히 끌려가는 현상 완전 차단
========================================================= */

html,
body{
  scroll-behavior:auto !important;
}

html.gz-cat-restoring,
html.gz-cat-restoring body,
body.gz-cat-restoring{
  scroll-behavior:auto !important;
}


/* =========================================================
   GUMZZI MOBILE CATEGORY - TEXT POSITION V5
   상품명 + 상품코드만 위로 이동 / 가격 위치는 그대로 유지
========================================================= */

/* transform으로만 올려서 레이아웃상 가격 위치에는 영향 없음 */
.product-item .item-list .prd-info .prd-name,
.product-item .item-list .prd-info .prd-subname{
  transform:translateY(-12px) !important;
}

/* 가격은 기존 위치 고정 */
.product-item .item-list .prd-info .prd-price{
  transform:none !important;
}

/* BASIC css end */

