/* SHOP MAIN CSS */
#shopTopSlider .swiper-slide .swiper-cont { color: #fff; }
#shopTopSlider .swiper-slide .swiper-cont h2 { font-size: 32px; padding-bottom: 15px; font-weight: 800; }
#shopTopSlider .swiper-slide .swiper-cont h4 { font-size: 18px; }
#shopTopSlider .swiper-slide .swiper-cont h4 p:nth-of-type(1) { padding-bottom: 20px; font-weight: 400; }

#shopTopSlider .swiper-pagination { text-align: left; padding-left: 15px;}
#shopTopSlider .swiper-pagination .swiper-pagination-bullet { background: #D9D9D9 !important; width: 12px; height: 12px; }
#shopTopSlider .swiper-pagination .swiper-pagination-bullet-active { background: #fff !important; width: 30px; border-radius: 30px; }

.shop-search-area { padding-top: 30px;}
.search-input-wrap { position: relative; width: 100%; }
.search-input-wrap input { width: 100%; height: 48px; padding: 0 50px 0 20px; border: none; border-bottom: 2px solid #ddd; border-radius: 0; font-size: 16px; transition: border-color 0.3s; }
.search-input-wrap input:focus { border-color: #333; outline: none; }
.search-submit { position: absolute; right: 5px; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border: none; background: none; cursor: pointer; font-size: 20px; color: #666; }
.search-submit:hover { color: #333; }
.search-submit i { color: var(--main-color); }
.shop-category-nav { position: relative; width: 100%; overflow-x: hidden; margin: 30px auto; padding: 0 15px; text-decoration: none;}
.category-wrapper { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; width: 100%; }
.category-wrapper > a { width: auto; display: flex; flex-direction: column; align-items: center; }
.category-wrapper > a span { font-size: 12px; display: block; text-overflow: ellipsis; white-space: nowrap; overflow: hidden; max-width: 100%; }
.category-item { width: 100%; text-decoration: none; color: #333; transition: all 0.3s; text-align: center; text-decoration: none; }
.category-item .category-thumbnail { width: 60px; height: 60px; background: #d1d1d1; border-radius: 100%; margin-bottom: 5px; }
.item-count { margin-left: 5px; font-size: 0.9em; color: #666; }
.category-item:hover .item-count { color: #fff; }
.main-heading { display: flex; align-items: end; justify-content: space-between; margin-bottom: 20px; }
.more-btn { display: inline-flex; width: 70px;height: 30px; line-height: 30px; border-radius: 30px; justify-content: center; background: #f8f8f8; color: #929292; }

/* 신상 모음 */
/* #new-type { padding: 50px 0; } */

/* MD픽 */
#md-pick .product-description { display: none; }
#md-pick .discount-percent { display: none; }
#md-pick .product-main-20 .product-description-bottom { display: none; }

/* 리뷰 */
.review-wrapper { width: 100vw; position: relative; left: 50%; right: 50%; margin-left: -50vw; margin-right: -50vw; }

.remiew-thumbnail {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
}

.remiew-thumbnail a {
    display: block;
    position: relative;
    width: 100%;
    padding-bottom: 100%;
    overflow: hidden;
}

.remiew-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.remiew-thumbnail span {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    padding: 10px;
    font-size: 14px;
    z-index: 1;
}

/* p 태그를 a 태그 밖으로 이동 */
.swiper-slide {
    height: auto;
    display: flex;
    flex-direction: column;
}

.reviewSwiper .swiper-slide p {
    margin-top: 10px;
    font-size: 14px;
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    width: 100%;
    max-height: calc(1.2em* 2);
    line-height: 1.2em;
}