/* BASIC css start */
body #contentWrap {width:1200px;}
body .item-wrap {width:100%; margin-top:30px;}
body .cateTit {padding:0;}
body .cateTit h3 {text-align:left; font-size:20px; color:#121212; font-weight:500; margin-bottom:16px; font-family: "SUIT", sans-serif;}


#contentWrap .up_title {
  width: 100%;
  max-width: 1200px;
  margin: 5px auto 0;
  text-align: left;
  padding: 0 16px;
  box-sizing: border-box;
  font-size: 1.2rem;
}

@media screen and (max-width: 768px) {
  #contentWrap .up_title {
    margin: 20px auto 0;
    padding: 0 12px;
    font-size: 1rem;
  }
}


#contentWrap .up_title img {
  max-width: 100%;     /* ºÎ¸ð ³Êºñ¸¦ ³ÑÁö ¾Ê°Ô */
  height: auto;        /* ºñÀ² À¯ÁöÇÏ¸ç ³ôÀÌ ÀÚµ¿ */
  display: inline-block;
}


#productClass .cate-wrap .bcate {
margin-top: 30px; /* ¡ç ¿©±â Ãß°¡ */
  font-size: 16px;
  font-weight: bold;
  color: #333;
  padding: 10px 0;
  text-align: left;
}




#productClass .cate-wrap {overflow:hidden;}


/* class-list */


.class-list {
    text-align: left; /* °¡¿îµ¥ Á¤·Ä, ÁÂÃø Á¤·ÄÀº left */
    margin: 0;
}

.class-list li {
    display: inline-block;
    vertical-align: top;
    margin: 5px 3px; /* »óÇÏ 10px, ÁÂ¿ì 12px */
}

.class-list li a {
  position: relative;  /* ¿À¹ö·¹ÀÌ¿ë */
  padding: 6px 14px;
  border: 1px solid #ccc;
  border-radius: 30px;
  display: block;
  font-size: 12px;
  color: #000;
  text-align: center;
  transition: color 0.3s ease;
  box-sizing: border-box;
  overflow: hidden;
  z-index: 0;
}

/* ÀÌ¹ÌÁö°¡ ÀÖÀ» °æ¿ì ÅØ½ºÆ® ¼û±â±â */
.class-list li a:has(img) {
  font-size: 0;
  line-height: 0;
}

.class-list li a img {
  vertical-align: middle;
  display: inline-block;
  max-width: 100%;
  height: auto;
}

.class-list li a:not(:has(img)) {
  font-size: 13px;
  line-height: 1.5;
}

.class-list li a.sel {
  color: #fff;
  font-weight: 700;
  background-color: #000;
  border-color: #000;
}

/* ¿À¹ö·¹ÀÌ¿ë ::after ±âº»°ª - Åõ¸í */
.class-list li a::after {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0,0,0,0);
  transition: background-color 0.3s ease;
  z-index: 1;
  border-radius: 10px; /* ¸ð¼­¸® µÕ±Û°Ô ¸ÂÃã */
}

/* ¿À¹ö·¹ÀÌ ³ªÅ¸³² + ±ÛÀÚ»ö º¯°æ */
.class-list li a:hover {
  color: #000;
  border-color: #ccc; /* Å×µÎ¸®´Â À¯Áö */
}

.class-list li a:hover::after {
  background-color: rgba(0,0,0,0.1); /* ¹ÝÅõ¸í °ËÁ¤ ¿À¹ö·¹ÀÌ */
}

/* ¿À¹ö·¹ÀÌ ±âº» »óÅÂ (ÀÌ¹ÌÁö ÀÖ´Â °æ¿ì¿¡¸¸) */
.class-list li a:has(img)::after {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0);
  transition: background-color 0.3s ease;
  z-index: 1;
  border-radius: 10px;
}

/* ¿À¹ö·¹ÀÌ È£¹ö (ÀÌ¹ÌÁö ÀÖ´Â °æ¿ì¿¡¸¸) */
.class-list li a:has(img):hover::after {
  background-color: rgba(0, 0, 0, 0.25);
}

/* ÅØ½ºÆ®¸¸ ÀÖ´Â °æ¿ì¿¡´Â ::after ÀÚÃ¼°¡ ¾øÀ½ = ¿À¹ö·¹ÀÌ ²¨Áü */








/* best-item */
#productClass .best-item {}
#productClass .prdList.basic.best-item ul {
  display: flex;
  flex-wrap: wrap;
  gap: 18px; /* ½æ³×ÀÏ »çÀÌ °£°Ý */
  padding: 0;
  margin: 0;
  list-style: none;
  justify-content: center; /* °¡¿îµ¥ Á¤·Ä */
}

#productClass .prdList.basic.best-item ul li {
  width: calc((100% - 80px) / 5); /* 5°³ ½æ³×ÀÏ, 20px °£°Ý 4°³ */
  box-sizing: border-box;
  margin-bottom: 30px;
}


@media screen and (max-width: 1024px) {
  #productClass .prdList.basic.best-item ul li {
    width: calc((100% - 40px) / 3); /* 3°³¾¿ */
  }
}

@media screen and (max-width: 768px) {
  #productClass .prdList.basic.best-item ul li {
    width: calc((100% - 20px) / 2); /* 2°³¾¿ */
  }
}



/* »óÇ° ¸®½ºÆ® - ±âº»Çü (½æ³×ÀÏ 5°³ ÇÑ ÁÙ) */
#productClass .prdList.basic ul {display: flex; flex-wrap: wrap; gap: 15px; /* ½æ³×ÀÏ °£ °£°Ý */
    padding: 0; margin: 0; list-style: none;}

#productClass .prdList.basic ul li { width: calc((100% - 64px) / 5); /* ÇÑ ÁÙ¿¡ 5°³ (4°³ÀÇ gap ÇÕ: 64px) */
    box-sizing: border-box; margin-bottom: 30px;}

#productClass .prdList.basic ul li .imgWrap img {border: 1px solid #ddd; border-radius: 10px; transition: all 0.3s;}

#productClass .prdList.basic ul li .imgWrap img:hover { border-color: #000;}






/* total-sort */
#productClass .total-sort { padding-top: 30px; }
.sort {display:flex; align-items:center; justify-content: space-between; margin-bottom:16px;}
.item-total {display:inline-block; color:#121212; font-size:14px;}
.trxSchOrd {}
.trxSchOrd select {width:120px; height:30px; border:1px solid #ededed; border-radius:10px; appearance:none; background:url(//skin.makeshop.co.kr/skin/fragrance/pc/img/sel_down.png)no-repeat 93% center; text-indent: 10px;}

/* ÇÏÀ§ ºÐ·ù */
#productClass .item-cate { display: flex; justify-content: space-between; align-items: end; padding: 30px 0; }
#productClass .item-cate a { font-weight: bold; color: #1c1c1c; letter-spacing: -1px; }
#productClass .item-cate .scate a { font-size: 18px; }
#productClass .item-cont .thumb .main_icons {  position:relative; }





/* BASIC css end */

