@charset "utf-8";

/* SHOP 목록 전용 레이아웃 */
#wrapper.is_shop_list_page,
#wrapper.is_shop_list_page #container,
#wrapper.is_shop_list_page .shop-content,
#wrapper:has(.shop-list-page),
#wrapper:has(.shop-list-page) #container,
#wrapper:has(.shop-list-page) .shop-content{display:block;width:100%;max-width:none;margin:0;padding:0;float:none}
.shop-list-page{--shop-yellow:#ffda00;--shop-charcoal:#242422;--shop-ink:#242422;--shop-muted:#777773;--shop-line:#deded9;--shop-soft:#f3f3f1;width:100%;color:var(--shop-ink);background:#fff;font-family:"Pretendard","Noto Sans KR",sans-serif;box-sizing:border-box}
.shop-list-page *{box-sizing:border-box}.shop-list-page a{text-decoration:none}.shop-list-hero{display:flex;min-height:160px;align-items:center;justify-content:center;background:var(--shop-yellow)}.shop-list-hero h1{margin:0;font-size:46px;font-weight:900;line-height:1;letter-spacing:.01em}.shop-list-inner{width:min(calc(100% - 48px),1120px);margin:0 auto;padding:40px 0 100px}

/* 분류 탭 */
.shop-category-tabs{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px}.shop-category-tabs a{display:flex;min-height:48px;padding:8px 12px;align-items:center;justify-content:center;border-radius:5px;color:#fff;background:var(--shop-charcoal);font-size:17px;font-weight:800;text-align:center}.shop-category-tabs a:hover,.shop-category-tabs a:focus-visible{color:var(--shop-yellow)}.shop-category-tabs a.is-active{color:var(--shop-yellow)}

/* 제목과 정렬 */
.shop-list-content{position:relative;padding-top:36px}.shop-list-heading{display:flex;min-height:96px;padding-right:180px;align-items:flex-start;justify-content:space-between}.shop-list-heading h2{margin:0;font-size:30px;font-weight:900;line-height:1.3;letter-spacing:-.04em}.shop-list-heading p{margin:7px 0 0;color:var(--shop-muted);font-size:15px;line-height:1.6}.shop-list-heading span{display:block;margin-top:5px;color:#555;font-size:13px}.shop-list-page #sct_sortlst{position:absolute;top:44px;right:0;margin:0}.shop-list-sort select{height:42px;padding:0 34px 0 12px;border:0;color:var(--shop-ink);background:#fff;font-size:14px;font-weight:800;cursor:pointer;outline:none}
.shop-list-page #sct_hhtml,.shop-list-page #sct_thtml{margin:20px 0}.shop-list-page .pg_wrap{display:block;margin:48px 0 0;text-align:center}

/* 상품 카드 */
.shop-product-grid{display:grid!important;width:100%;margin:0!important;padding:0!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:28px 22px;list-style:none!important}.shop-product-card{position:relative;display:flex;min-width:0;min-height:510px;margin:0!important;padding:0!important;border:1px solid var(--shop-line);border-radius:7px;flex-direction:column;overflow:visible;background:#fff;box-shadow:0 2px 8px rgba(0,0,0,.04)}
.shop-product-image{position:relative;overflow:hidden;border-radius:7px 7px 0 0;background:#f0f0ee}.shop-product-image>a{display:flex;width:100%;aspect-ratio:1/1;align-items:center;justify-content:center;overflow:hidden}.shop-product-image img{display:block!important;width:100%!important;height:100%!important;max-width:none!important;object-fit:contain;transition:transform .25s}.shop-product-card:hover .shop-product-image img{transform:scale(1.025)}.shop-product-badges{position:absolute;z-index:2;top:10px;left:10px;display:flex;max-width:calc(100% - 20px);gap:5px;align-items:flex-start;flex-wrap:wrap}.shop-product-badges:empty{display:none}.shop-product-badges img{width:auto!important;height:auto!important;max-height:28px!important;transform:none!important}.shop-product-badges .sit_icon{display:inline-flex;min-height:25px;padding:0 8px;border:1px solid #ff4a4a;border-radius:3px;align-items:center;color:#e32929;background:#fff;font-size:11px;font-weight:800}.shop-product-soldout{position:absolute;z-index:3;right:10px;bottom:10px;padding:7px 9px;border-radius:3px;color:#fff;background:rgba(36,36,34,.9);font-size:11px;font-weight:900;letter-spacing:.04em}
.shop-product-info{display:flex;min-height:194px;padding:18px 16px 16px;flex:1 1 auto;flex-direction:column}.shop-product-title-row{display:flex;align-items:flex-start;gap:10px}.shop-product-title{min-width:0;flex:1}.shop-product-title h3{margin:0;font-size:17px;font-weight:800;line-height:1.45;letter-spacing:-.025em}.shop-product-title h3 a{display:-webkit-box;overflow:hidden;color:var(--shop-ink);-webkit-box-orient:vertical;-webkit-line-clamp:2}.shop-product-id{display:block;margin-bottom:4px;color:#999;font-size:11px}.shop-product-wish{display:flex;width:32px;height:32px;margin:-6px -6px 0 0;padding:0;border:0;flex:0 0 32px;align-items:center;justify-content:center;color:#555;background:transparent;font-size:22px;cursor:pointer}.shop-product-wish:hover,.shop-product-wish:focus-visible,.shop-product-wish.is-active,.shop-product-wish.active,.shop-product-wish[aria-pressed="true"]{color:#e33434}.shop-product-wish.is-active i:before,.shop-product-wish.active i:before,.shop-product-wish[aria-pressed="true"] i:before{content:"\f004"}
.shop-product-basic{display:-webkit-box;min-height:42px;margin:8px 0 0;overflow:hidden;color:#888;font-size:13px;line-height:1.55;-webkit-box-orient:vertical;-webkit-line-clamp:2}.shop-product-basic.is-empty{visibility:hidden}.shop-product-star{margin-top:7px}.shop-product-star img{width:auto;max-height:14px}.shop-product-price{margin-top:auto;padding-top:12px}.shop-product-price del{display:block;min-height:19px;color:#999;font-size:12px}.shop-product-price>div{display:flex;align-items:baseline;gap:6px}.shop-product-discount{color:#e33434;font-size:18px}.shop-product-selling-price{color:var(--shop-ink);font-size:21px;font-weight:900;line-height:1.3;letter-spacing:-.025em}
.shop-product-action{position:relative;margin-top:auto}.shop-product-cart{display:flex;width:100%;height:47px;padding:0;border:0;border-top:1px solid #d8cec1;align-items:center;justify-content:center;border-radius:0 0 7px 7px;color:var(--shop-ink);background:#fff;font-size:14px;font-weight:900;cursor:pointer}.shop-product-cart:hover,.shop-product-cart:focus-visible{background:var(--shop-yellow)}.shop-product-cart:disabled{color:#999;background:#f3f3f1;cursor:not-allowed}.shop-product-action .cart-layer{position:absolute;z-index:20;right:-1px;bottom:48px;left:-1px}.shop-product-action .cart-layer:empty{display:none}.shop-product-action .cart-layer>div{border:1px solid var(--shop-line);background:#fff;box-shadow:0 10px 30px rgba(0,0,0,.16)}.shop-product-empty{padding:100px 20px!important;color:#888!important;text-align:center!important}

@media(max-width:1024px){.shop-list-inner{width:calc(100% - 40px)}.shop-product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.shop-product-card{min-height:500px}}
@media(max-width:768px){.shop-list-page{padding-top:64px}.shop-list-hero{min-height:120px}.shop-list-hero h1{font-size:38px}.shop-list-inner{width:calc(100% - 32px);padding:24px 0 70px}.shop-category-tabs{display:flex;margin-right:-16px;margin-left:-16px;padding:0 16px;gap:7px;overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch}.shop-category-tabs::-webkit-scrollbar{display:none}.shop-category-tabs a{min-width:112px;min-height:50px;padding:8px 14px;flex:0 0 auto;font-size:14px}.shop-list-content{padding-top:30px}.shop-list-heading{min-height:114px;padding-right:0}.shop-list-heading h2{font-size:27px}.shop-list-heading p{font-size:14px}.shop-list-page #sct_sortlst{position:static;display:flex;margin:-43px 0 24px;justify-content:flex-end}.shop-product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 12px}.shop-product-card{min-height:440px}.shop-product-info{min-height:174px;padding:14px 12px 13px}.shop-product-title h3{font-size:15px}.shop-product-basic{min-height:39px;font-size:12px}.shop-product-selling-price{font-size:18px}.shop-product-discount{font-size:16px}.shop-product-cart{height:44px;font-size:13px}.shop-product-wish{font-size:20px}}
@media(max-width:480px){.shop-list-inner{width:calc(100% - 24px)}.shop-list-hero{min-height:104px}.shop-list-hero h1{font-size:33px}.shop-category-tabs{margin-right:-12px;margin-left:-12px;padding:0 12px}.shop-category-tabs a{min-width:104px}.shop-list-heading h2{font-size:25px}.shop-product-grid{gap:14px 9px}.shop-product-card{min-height:390px;border-radius:5px}.shop-product-info{min-height:158px;padding:12px 10px}.shop-product-title-row{gap:4px}.shop-product-title h3{font-size:14px;line-height:1.4}.shop-product-wish{width:28px;height:28px;flex-basis:28px;font-size:18px}.shop-product-basic{min-height:35px;margin-top:6px;font-size:11px}.shop-product-price{padding-top:9px}.shop-product-price del{min-height:17px;font-size:11px}.shop-product-price>div{gap:4px}.shop-product-discount{font-size:14px}.shop-product-selling-price{font-size:16px}.shop-product-cart{height:42px;font-size:12px}.shop-product-badges{top:6px;left:6px}.shop-product-badges img{max-height:22px!important}}

/* 관리자 분류 바로가기: 기존 sct_admin처럼 별도 행을 만들지 않습니다. */
.shop-list-admin{display:inline-flex;min-height:36px;padding:0 12px;align-items:center;gap:6px;border:1px solid var(--shop-line);border-radius:4px;color:#666;background:#fff;font-size:12px;font-weight:700}
.shop-list-admin:hover{color:var(--shop-ink);border-color:#aaa}
.shop-list-admin span{display:inline;margin:0;color:inherit;font-size:inherit}
@media(max-width:768px){.shop-list-admin{display:none}}

/* 운영 기준: 상품 수, BEST 순위, 전 상품 냉동보관 */
.shop-list-result-meta{display:flex;height:0;justify-content:flex-end;transform:translateY(-85px);color:#777;font-size:13px}
.shop-best-more{display:flex;margin-top:48px;justify-content:center}
.shop-best-more a{display:inline-flex;min-width:220px;min-height:52px;padding:0 25px;align-items:center;justify-content:center;color:#fff;background:var(--shop-charcoal);font-size:15px;font-weight:800}
.shop-best-more a:hover,.shop-best-more a:focus-visible{color:var(--shop-yellow)}
.shop-product-rank{position:absolute;z-index:4;top:0;left:0;display:flex;width:29px;height:29px;align-items:center;justify-content:center;color:#fff;background:#777;font-size:13px;font-weight:900}
.shop-product-frozen{position:absolute;z-index:4;top:8px;right:8px;display:flex;width:30px;height:30px;border-radius:4px;align-items:center;justify-content:center;background:var(--shop-charcoal)}
.shop-product-frozen img{width:18px!important;height:18px!important;object-fit:contain;transform:none!important}
.shop-product-badges{left:10px}
/* .shop-list-page.is-best .shop-product-badges{left:40px} */
.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}
.shop-product-badge.is-sale{border-color:#d93636;color:#d93636;background:#fff}
.shop-product-badge.is-best{border-color:var(--shop-charcoal);color:var(--shop-yellow);background:var(--shop-charcoal)}
.shop-product-badge.is-new{border-color:var(--shop-yellow);color:var(--shop-charcoal);background:var(--shop-yellow)}
.shop-product-price del.is-empty{visibility:hidden}
.shop-product-wish:hover,.shop-product-wish:focus-visible,.shop-product-wish.is-active,.shop-product-wish.active,.shop-product-wish[aria-pressed="true"]{color:var(--shop-yellow)}
.shop-product-cart:hover,.shop-product-cart:focus-visible,.shop-product-cart:active{color:var(--shop-charcoal);background:var(--shop-yellow)}
.shop-product-cart.is-complete,.shop-product-cart.is-complete:hover{color:var(--shop-charcoal);background:#fff}
@media(max-width:768px){.shop-list-result-meta{transform:translateY(-66px)}.shop-best-more{margin-top:35px}}

/* 영카트 기본 shop.list.action.js가 주입하는 옵션 레이어 */
.shop-product-card>.cart-layer{position:absolute;z-index:20;right:-1px;bottom:48px;left:-1px}
.shop-product-card>.cart-layer:empty{display:none}
.shop-product-card>.cart-layer>div{border:1px solid var(--shop-line);background:#fff;box-shadow:0 10px 30px rgba(0,0,0,.16)}

/* 상품 수 + 정렬: 한 줄짜리 텍스트 컨트롤 */
.shop-list-controls{display:flex;margin:-48px 0 28px;align-items:center;justify-content:flex-end;gap:20px}
.shop-list-controls .shop-list-result-meta{display:block;height:auto;transform:none;color:#888;font-size:15px;font-weight:400;line-height:1.4;white-space:nowrap}
.shop-list-controls #sct_sortlst{position:static;display:block;margin:0;padding:4px;}
.shop-list-sort{margin:0}
.shop-list-sort-select{position:relative;display:inline-flex;align-items:center}
.shop-list-sort-select:after{content:"";position:absolute;top:50%;right:0;width:0;height:0;border:4px solid transparent;border-top-color:var(--shop-charcoal);transform:translateY(-15%);pointer-events:none}
.shop-list-sort-select select{
    width:auto;height:auto;margin:0;padding:0 18px 0 0;border:0;border-radius:0;color:var(--shop-charcoal);background:transparent;background-image:none;font-size:17px;
    font-weight:400;line-height:1.4;cursor:pointer;outline:0;appearance:none;-webkit-appearance:none;
}
.shop-list-page #sct_sortlst .shop-list-sort-select select {
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
    appearance: none !important;
}
.shop-list-sort-select select::-ms-expand{display:none}
.shop-list-sort-select select:focus-visible{outline:2px solid var(--shop-yellow);outline-offset:4px}
@media(max-width:768px){.shop-list-controls{margin:-38px 0 24px;gap:14px}.shop-list-controls .shop-list-result-meta{transform:none;font-size:13px}.shop-list-sort-select select{font-size:15px}}
