@charset "utf-8";

/* 메인·SHOP 공통 상태 배지 */
.main-product-list{margin:0;padding:0;list-style:none}
.tag-wrap,.shop-product-badges{display:flex;gap:5px;align-items:center;flex-wrap:wrap}
.product-tag,.shop-product-badge{display:inline-flex;min-height:26px;padding:0 8px;border:1px solid transparent;border-radius:3px;align-items:center;justify-content:center;font-size:11px;font-weight:900;line-height:1}
.product-tag.tag-sale,.shop-product-badge.is-sale{border-color:#d93636;color:#d93636;background:#fff}
.product-tag.tag-best,.shop-product-badge.is-best{border-color:#242422;color:#ffda00;background:#242422}
.product-tag.tag-new,.shop-product-badge.is-new{border-color:#ffda00;color:#242422;background:#ffda00}

/* 메인 냉동보관 아이콘 */
.product-frozen{position:absolute;z-index:5;top:8px;right:8px;display:flex;width:30px;height:30px;border-radius:4px;align-items:center;justify-content:center;background:#242422}
.product-frozen img{display:block!important;width:18px!important;height:18px!important;max-width:none!important;object-fit:contain!important}
.main-product-title-row{display:flex;min-width:0;align-items:flex-start;gap:10px}
.main-product-title-row>a{min-width:0;flex:1}
.main-product-title-row h3{margin:0}
.main-product-title-row .heart.btn_wish{position:static!important;top:auto!important;right:auto!important;width:32px;height:32px;margin:-5px -5px 0 0;flex:0 0 32px;background-position:center;background-repeat:no-repeat}
.product-card .product-info{min-height:194px!important;padding:18px 16px 16px!important}
.product-card .product-price{padding-top:12px}
.main-product-action{position:relative;margin-top:auto}
.main-product-action .cart-btn{position:static!important;right:auto!important;bottom:auto!important;display:flex!important;width:100%!important;height:47px!important;padding:0!important;border:0!important;border-top:1px solid #d8cec1!important;border-radius:0 0 10px 10px!important;align-items:center;justify-content:center;color:#242422!important;background:#fff!important;background-image:none!important;font-size:14px;font-weight:900;line-height:1;cursor:pointer}
.main-product-action .cart-btn:hover,.main-product-action .cart-btn:focus-visible,.main-product-action .cart-btn:active{background:#ffda00!important;background-image:none!important}
.main-product-action .cart-btn:disabled{color:#999!important;background:#f3f3f1!important;cursor:not-allowed}
.main-product-action .cart-layer{position:absolute;z-index:20;right:-1px;bottom:48px;left:-1px}
.main-product-action .cart-layer:empty{display:none}

/* 메인 가격 영역도 SHOP 카드와 동일한 높이와 색상을 사용 */
.common-product-price del{display:block;min-height:19px;color:#999;font-size:12px}
.common-product-price del.is-empty{visibility:hidden}
.common-product-selling-row{display:flex;align-items:baseline;gap:6px}
.common-product-discount{color:#d93636!important;font-size:18px!important;font-weight:900}
.common-product-selling-price{color:#242422!important;font-size:21px!important;font-weight:900}

/* 기존 관심상품 컴포넌트의 선택 상태만 공통 옐로우로 통일 */
.heart.btn_wish.is-active,.heart.btn_wish.active,.heart.btn_wish[aria-pressed="true"],
.shop-product-wish.is-active,.shop-product-wish.active,.shop-product-wish[aria-pressed="true"]{color:#ffda00!important}

@media(max-width:768px){.product-tag,.shop-product-badge{min-height:23px;padding:0 6px;font-size:10px}.common-product-discount{font-size:15px!important}.common-product-selling-price{font-size:18px!important}.product-card .product-info{min-height:174px!important;padding:14px 12px 13px!important}.main-product-action .cart-btn{height:44px!important;font-size:13px}}

/* 영카트 기본 shop.list.action.js가 주입하는 옵션 레이어 */
.product-card>.cart-layer{position:absolute;z-index:20;right:-1px;bottom:48px;left:-1px}
.product-card>.cart-layer:empty{display:none}
