@charset "utf-8";

/* ===== 공통 유틸 ===== */
.blind {
    position: absolute;
    clip: rect(0 0 0 0);
    width: 1px;
    height: 1px;
    margin: -1px;
    overflow: hidden;
}

/* ===== 아이콘 베이스 ===== */
.btn-24 {
    display: inline-block;
    width: 24px;
    height: 24px;
    background-size: 24px 24px;
    background-repeat: no-repeat;
    background-position: 0;
    border: 0;
    padding: 0;
    cursor: pointer;
}
.icon-heart {
    background-image: url("https://static.barunsoncard.com/barunsoncardv2/common/icon/toggle/ic_24_heart_off.svg");
    background-color: transparent;
}
.icon-heart.active {
    background-image: url("https://static.barunsoncard.com/barunsoncardv2/common/icon/toggle/ic_24_heart_on.svg");
}
.icon-review {
    background-image: url("https://static.barunsoncard.com/barunsoncardv2/common/icon/contents/ic_20_review.svg");
    background-color: transparent;
}

/* ===== 상품 리스트 컨테이너 ===== */
.product-list__contents {
    background: #fff;
}
.product-list__container {
    margin-top: 0;
}

/* ===== 상품 리스트 그리드 ===== */
.product__list.list {
    display: flex;
    justify-content: start;
    align-items: start;
    flex-wrap: wrap;
    row-gap: 60px;
    column-gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.product__list.list.type-1 .product__list-item {
    width: calc(100% / 1);
}
.product__list.list.type-2 .product__list-item {
    width: calc(100% / 2 - 4px);
}
.product__list.list.type-3 .product__list-item {
    width: calc(100% / 3 - 13.5px);
}
.product__list.list.type-4 .product__list-item {
    width: calc(100% / 4 - 15px);
}

/* 본 페이지에서는 3열 고정 (1200px 영역 기준) */
.product-list__container .product__list.list.type-3 {
    row-gap: 60px;
    column-gap: 20px;
}

/* ===== 상품 카드 ===== */
.product__list-item {
    list-style: none;
}
.product__list-item__image {
    position: relative;
    background-color: #f9f9f9;
    margin-bottom: 16px;
}
.product__list.list .product__list-item__image img,
.product__list-item__image .img {
    width: 100%;
    display: block;
}

.product__list-item__bottom {
    display: flex;
    justify-content: space-between;
    align-items: start;
    flex-wrap: wrap;
}
.product__list-item__bottom .product-info {
    width: calc(100% - 64px);
}
.product__list-item__bottom .product-info .price {
    display: flex;
    justify-content: start;
    align-items: center;
    flex-wrap: wrap;
    height: 20px;
    line-height: 13px;
    margin-bottom: 8px;
}

/* ===== 상품 정보 (텍스트) ===== */
.product-info .name {
    font-size: 14px;
    color: #111;
    font-weight: 400;
    line-height: 18px;
    letter-spacing: -0.003em;
    display: block;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    margin-bottom: 4px;
}
.product-info .price-sale {
    font-size: 13px;
    font-weight: 400;
    color: #ff4912;
    margin-right: 4px;
}
.product-info .price-real {
    font-size: 13px;
    font-weight: 400;
    color: #111;
    margin: 0;
}
.product-info .price-count {
    font-size: 11px;
    color: #999;
    font-weight: 400;
    line-height: inherit;
    letter-spacing: 0;
    margin-left: 4px;
}

/* ===== 카테고리/태그 배지 ===== */
.product__list-item__category {
    width: calc(100% - 64px);
    display: flex;
    justify-content: start;
    align-items: center;
    flex-wrap: wrap;
    row-gap: 4px;
    column-gap: 4px;
    margin-bottom: 10px;
}
.product__list-item__category .badge {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: auto;
    height: 20px;
    font-size: 10px;
    font-weight: 400;
    line-height: inherit;
    letter-spacing: 0;
    text-align: center;
    border-radius: 2px;
    background: #f4f4f4;
    border: 1px solid transparent;
    color: #888;
    padding: 0 6px;
}

/* ===== 카드 우측 상단 유틸 (이미지 위) ===== */
.product__list-item__utils {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    position: absolute;
    top: 4px;
    left: 4px;
    right: 4px;
    z-index: 3;
}

/* ===== 카드 하단 유틸 (찜/리뷰) ===== */
.product__list-item__utils.bottom {
    position: static;
    display: flex;
    justify-content: start;
    align-items: center;
    flex-wrap: wrap;
    margin-top: -4px;
    width: 100%;
}
.product__list-item__utils.bottom .utils-list {
    display: flex;
    justify-content: start;
    align-items: center;
    flex-wrap: wrap;
    row-gap: 0;
    column-gap: 8px;
    margin: 0 0 0 -3px;
    padding: 0;
    list-style: none;
}
.product__list-item__utils.bottom .utils-list li {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    list-style: none;
}
.product__list-item__utils.bottom .utils-list li .count {
    font-size: 12px;
    color: #999;
    font-weight: 400;
    line-height: inherit;
    letter-spacing: 0;
    margin-left: 2px;
}

/* ===== 샘플담기 / 장바구니 버튼 (이미지 우측 상단 작은 버튼) ===== */
.product__list .btn-basket,
.product__list .btn-sample {
    width: 58px;
    height: 50px;
    font-size: 12px;
    color: #474747;
    font-weight: 400;
    line-height: inherit;
    letter-spacing: 0;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 2px;
    cursor: pointer;
    padding: 0;
}
.product__list .btn-basket::before,
.product__list .btn-sample::before {
    content: "";
    display: block;
    width: 16px;
    height: 16px;
    background-size: 16px 16px;
    background-repeat: no-repeat;
    background-position: 0;
    background-image: url("https://static.barunsoncard.com/barunsoncardv2/common/icon/toggle/ic_16_basket.svg");
    margin: 0 auto 5px;
}
.product__list .btn-basket.active::before,
.product__list .btn-sample.active::before {
    background-image: url("https://static.barunsoncard.com/barunsoncardv2/common/icon/toggle/ic_16_basket_ov.svg");
}

/* ===== 하트 아이콘 (찜) — product__list 컨텍스트 ===== */
.product__list .icon-heart:not(.active) {
    background-image: url("https://static.barunsoncard.com/barunsoncardv2/common/icon/toggle/ic_20_favorite.svg");
}

/* ===== 배너 슬라이드 이미지 — 슬라이드당 1장 풀폭 ===== */
.event_banner .slide .swiper-slide img {
    width: 1200px;
    height: 798px;
    object-fit: cover;
}
