/* BASIC css start */
/* 상단 아이콘 크기 */
img.MK-product-label {
    width: 60px !important;
    height: 60px !important;
}

#contentWrapper{padding-bottom: 120px !important}


#contentWrap { width:100% !important; max-width:1650px; }
#contentWrap .item-wrap .item-info { width:95%; margin:0 auto; margin-bottom: 34px; padding-top: 0; }

/* 상품 그리드 4열 → 5열 전환 */
#contentWrap .item-cont { padding:0 5px; display: flex; justify-content: flex-start; flex-wrap: wrap; }
#contentWrap .item-cont .item-list{
    float:unset;
    width: calc((100% - 64px) / 5);
    margin: 0 16px 50px 0;
    text-align:center;
    position: relative;
}
#contentWrap .item-cont .item-list:nth-of-type(5n) { margin-right:0; }
#contentWrap .item-cont .item-list >dd { padding: 0 5px; overflow: hidden;}
#content { min-height:auto !important; }

.cateTitleArea {
    display: block;
    position: relative;
}
.cateTitleArea img {
    width: 100%;
}

.headerFix .leftMenuArea.on{position:fixed;left:50%;margin-left:-600px;top:60px;}

.prdListArea{position:relative;}

.prdListArea .cate-wrap .link:after {
    content: "";
    position: absolute;
    bottom: 0px;
    left: 50%;
    right: 50%;
    height: 2px;
    background-color: #000;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
}
.prdListArea .cate-wrap .link.on:after {
    content: "";
    position: absolute;
    bottom: 0px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: #000;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
}
.prdListArea .cate-wrap .link:hover:after{
    left: 0;
    right: 0;
}

.cate3_wrap {margin-top: 17px;}

#promotion_swiper .item-cont.bestPrdList .item-list{height:auto !important; margin-bottom:0 !important;}
#promotion_swiper{margin-bottom:165px !important;}
#promotion_swiper .swiper-button-next,
#promotion_swiper .swiper-button-prev{top: 26%;}
#promotion_swiper .swiper-button-next{right:100px !important;}
#promotion_swiper .swiper-button-prev{left:98px !important;}
#promotion_swiper .swiper-button-next:after, #promotion_swiper .swiper-button-prev:after{content:unset !important;}
#promotion_swiper .swiper-pagination-progressbar {
    bottom: 0 !important;
    top: auto !important;
    width: 320px !important;
    right: 0 !important;
    margin: 0 auto !important;
    height: 2px !important;
}
#promotion_swiper .swiper-pagination-progressbar .swiper-pagination-progressbar-fill {
    background: #000;
}

/* 할인율 */
.dc_per {
    color: #f12f22;
    font-weight: bold;
    font-size: 17px;
    margin-left: 10px;
}

/* 옵션 미리보기 위치 */
.item-cont .item-list .prd-preview {
    text-align:left;
    position: relative;
}

/* ---------------------------------------------------------
   특가 아이콘: 가격과 한 줄 정렬 + 모바일 사이즈 조정
--------------------------------------------------------- */
.prd-price {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap;
    gap: 6px;
}
.prd-price .prd-icon {
    display: inline-flex;
    align-items: center;
}
@media (max-width: 768px) {
    .prd-price .prd-icon img {
        height: 14px !important;
        width: auto !important;
    }
}

/* ---------------------------------------------------------
   상품명 / 브랜드명 / 가격 폰트 스펙 (카테고리 페이지와 동일)
--------------------------------------------------------- */
.item-cont .item-list .prd-name { padding:15px 0 10px; }
.item-cont .item-list .prd-name .brandName {
    font-size:13px;
    color:#555;
    line-height:1;
    margin-bottom:8px;
    display:block;
}
.item-cont .item-list .prdLink .name {
    font-size:14px;
    color:#000;
    line-height:1.4;
}

.item-cont .item-list .prd-price { font-size:16px; line-height:1; margin-bottom:10px; }
.item-cont .item-list .price,
.item-cont .prd-price .unit {
    font-size:16px;
    color:#000;
}
.item-cont .item-list .price { font-weight:600; }
.item-cont .prd-price .unit { font-weight:400; }

.item-cont .prd-price .strike,
.item-cont .prd-price .strike .unit {
    font-size:16px;
    color:#a8a8a8;
    font-weight:400;
}
.item-cont .prd-price .strike { margin-left:10px; margin-top:3px; text-decoration:line-through; }

/* ---------------------------------------------------------
   컬러칩 + 리뷰수 한 줄 배치 (컬러칩 왼쪽, 리뷰수 오른쪽) - 카테고리 페이지와 동일
--------------------------------------------------------- */
.item-cont .item-list .prd-colorreview {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}
.item-cont .item-list .prd-colorreview .colorArea {
    display: inline-block;
    float: left;
    padding: 4px 0 0 0;
    width: 150px;
    height: 8px;
    overflow: hidden;
}
.item-cont .item-list .prd-colorreview .colorList {
    display: inline-block;
    vertical-align: top;
    margin: 0 4px 0 0;
    width: 26px;
    height: 6px;
    border: 1px solid #e0e0e0;
}
.item-cont .item-list .prd-colorreview span.snap_review_count {
    color: #ed4c59 !important;
    font-weight: 500;
    font-size: 14px;
    height: 18px;
    line-height: normal;
}

/* ---------------------------------------------------------
   옵션 미리보기 (색상별 사이즈 목록) - 카테고리 페이지와 동일 적용
--------------------------------------------------------- */
.optSimpleList { position: relative; padding: 5px 10px 14px; }

#MK_opt_preview,
.mk_prd_option_list.optSimplifiedPopup {
    height: auto !important;
    max-height: none !important;
    overflow-y: visible !important;
    width: auto !important;
    max-width: 280px !important;
    box-sizing: border-box !important;
}

.mk_prd_option_list.optSimplifiedPopup {
    background: #fff;
    border: 1px solid #ddd !important;
    border-radius: 5px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.10);
}

.optHeader {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 8px;
    margin-bottom: 8px;
    border-bottom: 1px solid #eee;
}
.optHeaderTitle { padding:14px 10px 5px; font-size: 11px; font-weight: 600; color: #666; }
.optCloseBtn { font-size: 11px; color: #999; cursor: pointer; margin-right:5px; }
.optCloseBtn:hover { color: #333; text-decoration: underline; }

.optRow {
    display: flex;
    align-items: flex-start;
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 1px dashed #eee;
}
.optRow:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }

.optColor {
    display: inline-block;
    width: 50px;
    flex-shrink: 0;
    margin-right: 8px;
    margin-top: 4px;
    font-size: 12px;
    font-weight: 600;
    color: #333;
}

.optSizes {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4px;
}

.sizeChip {
    display: inline-block;
    padding: 2px 6px;
    font-size: 11px;
    border: 1px solid #ccc;
    border-radius: 3px;
    background: #fff;
    color: #555;
    cursor: default;
}
/* BASIC css end */

