/* BASIC css start */
/* 모바일 랭킹 페이지 CSS 전체 교체 */
#product-list.sh-mobile-ranking { --sh-rank-accent:#007aff; width:100%; min-width:0; box-sizing:border-box; padding-bottom:28px; }
#product-list.sh-mobile-ranking [hidden] { display:none !important; }
#product-list.sh-mobile-ranking .sh-rank-sr { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
#product-list.sh-mobile-ranking .sh-rank-head { margin:16px 0 0; padding:0; text-align:center; }
#product-list.sh-mobile-ranking .sh-rank-banner { display:block; width:100%; max-width:100%; height:auto; margin:0 auto; border:0; }
#product-list.sh-mobile-ranking .sh-rank-tabs { display:flex; margin:12px 16px 0; padding:0; border-bottom:1px solid #e7e7e7; }
#product-list.sh-mobile-ranking .sh-rank-tab { position:relative; display:block; flex:1; padding:14px 6px; color:#999; font-family:inherit; font-size:14px; font-weight:500; text-align:center; text-decoration:none; line-height:20px; }
#product-list.sh-mobile-ranking .sh-rank-tab.is-active { color:#007aff; font-weight:700; }
#product-list.sh-mobile-ranking .sh-rank-tab.is-active::after { content:""; position:absolute; right:0; bottom:-1px; left:0; height:3px; background:#007aff; }
#product-list.sh-mobile-ranking .sh-rank-list { width:auto; margin:22px 0 0; padding:0 16px; box-sizing:border-box; }
#product-list.sh-mobile-ranking .sh-rank-grid { align-items:stretch; display:grid !important; grid-template-columns:repeat(2,minmax(0,1fr)); gap:28px 12px; width:100% !important; margin:0 !important; padding:0 !important; list-style:none; }
#product-list.sh-mobile-ranking .sh-rank-grid::before, #product-list.sh-mobile-ranking .sh-rank-grid::after { content:none !important; display:none !important; }
#product-list.sh-mobile-ranking .sh-rank-grid > .sh-rank-item { position:relative; display:flex; flex-direction:column; overflow:visible; float:none !important; clear:none !important; width:auto !important; min-width:0; height:auto !important; margin:0 !important; padding:0 !important; border:0; box-sizing:border-box; vertical-align:top; }
#product-list.sh-mobile-ranking .sh-rank-link { display:block; margin:0; padding:0; color:#111; text-decoration:none; }
#product-list.sh-mobile-ranking .sh-rank-figure { display:flex; flex-direction:column; flex:1; min-width:0; width:100%; margin:0; padding:0; }
#product-list.sh-mobile-ranking .sh-rank-thumb { position:relative; width:100%; overflow:hidden; background:#f7f7f7; }
#product-list.sh-mobile-ranking .sh-rank-thumb .listPic { display:block; width:100% !important; max-width:100%; height:auto !important; margin:0; padding:0; border:0; }
#product-list.sh-mobile-ranking .sh-rank-badge { position:absolute; top:7px; left:7px; z-index:1; display:flex; align-items:center; justify-content:center; gap:6px; min-width:32px; min-height:32px; padding:6px 8px; box-sizing:border-box; background:#000; color:#fff; pointer-events:none; }
#product-list.sh-mobile-ranking .sh-rank-number { color:#fff; font-size:17px; font-weight:800; font-style:normal; font-family:inherit; font-variant-numeric:tabular-nums; letter-spacing:0; line-height:1; }
#product-list.sh-mobile-ranking .sh-rank-change { font-size:10px; font-weight:700; line-height:1; white-space:nowrap; }
#product-list.sh-mobile-ranking .sh-rank-change.up { color:#ff8585; }
#product-list.sh-mobile-ranking .sh-rank-change.down, #product-list.sh-mobile-ranking .sh-rank-change.new { color:#80baff; }
#product-list.sh-mobile-ranking .sh-rank-change.same { color:#bbb; }
#product-list.sh-mobile-ranking .sh-rank-info { position:static; display:flex; flex-direction:column; flex:1; overflow:visible; width:100%; height:auto !important; min-height:0; margin:0; padding:10px 0 0; box-sizing:border-box; text-align:left; }
#product-list.sh-mobile-ranking .sh-rank-info p { margin:0; padding:0; text-align:left; }
#product-list.sh-mobile-ranking .sh-rank-info .sh-rank-brand { margin:0 0 3px; color:#111; font-size:12px; font-weight:800; line-height:1.4; overflow-wrap:anywhere; }
#product-list.sh-mobile-ranking .sh-rank-info .sh-rank-name { display:block; height:auto !important; min-height:0; max-height:none; margin:0; padding:0; color:#333; font-size:12px; font-weight:400; line-height:1.5; white-space:normal !important; overflow:visible; text-overflow:clip; -webkit-line-clamp:unset; overflow-wrap:anywhere; }
#product-list.sh-mobile-ranking .sh-rank-prices { display:flex; flex-wrap:wrap; align-items:baseline; gap:2px 6px; margin:6px 0 0; line-height:21px; }
#product-list.sh-mobile-ranking .sh-rank-price-main { display:inline-flex; flex-wrap:wrap; align-items:baseline; gap:5px; }
#product-list.sh-mobile-ranking .sh-rank-discount { color:#007aff; font-size:15px; font-weight:800; white-space:nowrap; }
#product-list.sh-mobile-ranking .sh-rank-sale { color:#111; font-size:15px; font-weight:800; line-height:21px; letter-spacing:-.3px; white-space:nowrap; }
#product-list.sh-mobile-ranking .sh-rank-original { margin:0; color:#999; font-size:11px; font-weight:400; line-height:16px; white-space:nowrap; }
#product-list.sh-mobile-ranking .sh-rank-prices .listSoldout, #product-list.sh-mobile-ranking .sh-rank-prices .listReplce { color:#777; font-size:13px; line-height:21px; }
#product-list.sh-mobile-ranking .sh-rank-info .sh-rank-benefit { margin:4px 0 0; color:#888; font-size:10px; font-weight:400; line-height:1.4; }
#product-list.sh-mobile-ranking .sh-rank-more .btn_moreGray { display:block; width:90%; box-sizing:border-box; padding:9px 10px; border:1px solid #ddd; border-radius:3px; background:#fff; color:#555; font-size:13px; font-weight:500; line-height:20px; text-align:center; text-decoration:none; }
#product-list.sh-mobile-ranking .sh-rank-empty { padding:64px 16px; text-align:center; color:#888; }
#product-list.sh-mobile-ranking .sh-rank-empty p { margin-top:12px; }
#product-list.sh-mobile-ranking a:focus-visible { outline:2px solid #007aff; outline-offset:3px; }
@media(max-width:359px) {
 #product-list.sh-mobile-ranking .sh-rank-list { padding:0 12px; }
 #product-list.sh-mobile-ranking .sh-rank-grid { column-gap:10px; }
 #product-list.sh-mobile-ranking .sh-rank-discount, #product-list.sh-mobile-ranking .sh-rank-sale { font-size:14px; }
}
/* 상품명은 잘리지 않고 같은 행의 사이즈 버튼은 하단 정렬 */
#product-list.sh-mobile-ranking .sh-rank-actions { margin-top:auto; padding-top:8px; }
#product-list.sh-mobile-ranking .sh-rank-reviews { color:#777; font-size:11px; line-height:17px; }
#product-list.sh-mobile-ranking .sh-rank-item.sh-option-open { z-index:30; }
#product-list.sh-mobile-ranking .optionPreview { position:relative; width:100%; max-width:180px; margin:10px auto 0; }
#product-list.sh-mobile-ranking .optionPreview * { box-sizing:border-box; }
#product-list.sh-mobile-ranking .sh-option-native { display:none !important; }
#product-list.sh-mobile-ranking .optionPreview > img, #product-list.sh-mobile-ranking .optionPreview > .mk_opt_oneclick { display:none !important; }
#product-list.sh-mobile-ranking .prevOptionBtn { position:relative; display:block; width:100%; min-height:34px; margin:0; padding:0 28px 0 8px; border:1px solid #cfcfcf; border-radius:5px; background:#fff; color:#555; font-family:inherit; font-weight:400; font-size:12px; text-align:center; line-height:32px; cursor:pointer; }
#product-list.sh-mobile-ranking .prevOptionBtn img { position:absolute; width:auto; height:auto; top:14px; right:12px; }
#product-list.sh-mobile-ranking .prevOptionBtn.open img { transform:rotate(180deg); }
#product-list.sh-mobile-ranking .optionPreviewListWrap { position:absolute; top:100%; left:0; width:100%; z-index:40; }
#product-list.sh-mobile-ranking .optionPreview #MK_opt_preview { position:relative !important; top:0 !important; left:0 !important; right:auto !important; width:100% !important; margin:0 !important; transform:none !important; border-radius:0 0 5px 5px; background:#fff; }
#product-list.sh-mobile-ranking .optionPreview #MK_opt_preview .mk_prd_option_list { display:block !important; width:100% !important; max-width:180px; margin:0; padding:8px 0; border:1px solid #cfcfcf; border-top:none; border-radius:0 0 5px 5px; background:#fff; }
#product-list.sh-mobile-ranking .optionPreview #MK_opt_preview .mk_prd_option_list li { position:static; display:block; float:none !important; clear:none !important; width:auto !important; height:auto !important; margin:4px 8px !important; padding:0 4px !important; border:0; text-align:left; }
#product-list.sh-mobile-ranking .optionPreview #MK_opt_preview .mk_prd_option_list li:hover { background:#f4f4f4; }
#product-list.sh-mobile-ranking .optionPreview #MK_opt_preview .mk_prd_option_list li.mk_opt_top,
#product-list.sh-mobile-ranking .optionPreview #MK_opt_preview .mk_prd_option_list h5.option-name,
#product-list.sh-mobile-ranking .optionPreview #MK_opt_preview .mk_prd_option_list li.mk_bt_opt_close { display:none !important; }
#product-list.sh-mobile-ranking .optionPreview #MK_opt_preview .mk_prd_option_list li p { display:inline-block; margin:0; padding:0; font-size:12px; color:#242424; line-height:22px; }
#product-list.sh-mobile-ranking .sh-option-status { padding:5px 0 0; color:#777; font-size:11px; line-height:1.4; }
#product-list.sh-mobile-ranking .prevOptionBtn:focus-visible { outline:2px solid #007aff; outline-offset:3px; }

#product-list.sh-mobile-ranking .prevOptionBtn img {
    display: none !important;
}

#product-list.sh-mobile-ranking .prevOptionBtn::after {
    content: "";
    display: block;
    position: absolute;
    top: 50%;
    right: 13px;
    width: 7px;
    height: 7px;
    box-sizing: border-box;
    border: 0;
    border-right: 1.5px solid #555;
    border-bottom: 1.5px solid #555;
    background: none;
    transform: translateY(-70%) rotate(45deg);
    pointer-events: none;
}

#product-list.sh-mobile-ranking .prevOptionBtn.open::after {
    transform: translateY(-20%) rotate(225deg);
}
/* BASIC css end */

