.popular-divider{
    margin:56px 0 42px;
}

.popular-pc-section{
    width:100%;
}

.popular-pc-head{
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:20px;
    margin-bottom:20px;
}

.popular-pc-title-row{
    display:flex;
    align-items:center;
    gap:12px;
}

.popular-pc-title-row h2{
    margin:0;
    font-size:30px;
    font-weight:900;
    letter-spacing:-.055em;
    color:#06142e;
}

.popular-title-icon{
    display:inline-block;
    transform:translateY(-1px);
}

.popular-live-badge{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    height:24px;
    padding:0 10px;
    border-radius:999px;
    background:#f1efff;
    color:#5e42e8;
    font-size:11px;
    font-weight:900;
    letter-spacing:.02em;
}

.popular-pc-title-group p{
    margin:8px 0 0;
    font-size:15px;
    line-height:1.5;
    color:#5f708a;
    font-weight:500;
}

.popular-all-link{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    height:38px;
    padding:0 18px;
    border-radius:12px;
    border:1px solid #dfd8ff;
    color:#4b35d2;
    background:#fff;
    font-size:13px;
    font-weight:900;
    text-decoration:none;
    white-space:nowrap;
    transition:all .18s ease;
}

.popular-all-link:hover{
    background:#f7f5ff;
    border-color:#c8bdff;
}

.popular-rank-layout{
    display:grid;
    grid-template-columns:minmax(0,1.02fr) minmax(0,.98fr);
    gap:16px;
}

.popular-pc-card{
    text-decoration:none;
    color:#06142e;
}

.popular-hero-card{
    position:relative;
    min-height:338px;
    display:grid;
    grid-template-columns:1fr 270px;
    overflow:hidden;
    border-radius:18px;
    border:1px solid #172943;
    background:
        radial-gradient(circle at 78% 48%, rgba(116,135,255,.24), transparent 42%),
        radial-gradient(circle at 14% 10%, rgba(255,193,70,.18), transparent 30%),
        linear-gradient(135deg,#07101d 0%,#0b1830 48%,#08111f 100%);
    box-shadow:0 20px 44px rgba(15,35,70,.13);
    transition:transform .22s ease, box-shadow .22s ease;
}

.popular-hero-card:hover{
    transform:translateY(-4px);
    box-shadow:0 26px 58px rgba(15,35,70,.20);
}

.popular-hero-card:before{
    content:'';
    position:absolute;
    inset:-1px;
    background:
        linear-gradient(120deg, rgba(255,212,80,.45), transparent 28%, transparent 70%, rgba(111,92,255,.36));
    opacity:.35;
    pointer-events:none;
}

.popular-hero-content{
    position:relative;
    z-index:2;
    display:flex;
    gap:0;
    padding:34px 0 30px 34px;
}


.popular-rank-kicker{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    height:28px;
    padding:0 13px;
    margin-bottom:12px;
    border-radius:999px;
    background:linear-gradient(135deg,#ffe787,#ffb321);
    color:#5d3500;
    font-size:13px;
    font-weight:900;
    letter-spacing:-.02em;
    box-shadow:0 8px 18px rgba(255,176,32,.18);
}

.popular-medal-badge{
    flex:0 0 auto;
    width:64px;
    height:64px;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    color:#6a3a00;
    filter:drop-shadow(0 10px 18px rgba(255,176,32,.24));
    background:linear-gradient(135deg,#ffe787,#ffae21);
    border-radius:20px;
    box-shadow:inset 0 0 0 1px rgba(255,255,255,.35);
}

.popular-medal-num{
    font-size:30px;
    line-height:1;
    font-weight:900;
    letter-spacing:-.05em;
}

.popular-medal-label{
    margin-top:3px;
    font-size:12px;
    font-weight:900;
}

.popular-hero-text{
    min-width:0;
    padding-top:0;
    max-width:315px;
}

.popular-hero-tags{
    display:flex;
    flex-wrap:wrap;
    gap:6px;
    margin-bottom:13px;
}

.popular-hero-tags span{
    display:inline-flex;
    align-items:center;
    height:24px;
    padding:0 10px;
    border-radius:999px;
    background:rgba(255,255,255,.12);
    color:#fff;
    font-size:12px;
    font-weight:900;
}

.popular-hero-tags span:first-child{
    background:#ff3f4a;
}

.popular-hero-card h3{
    margin:0 0 8px;
    font-size:29px;
    line-height:1.18;
    font-weight:900;
    letter-spacing:-.065em;
    color:#fff;
    overflow:hidden;
    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
}

.popular-hero-card .popular-subtitle{
    margin:0 0 7px;
    color:rgba(255,255,255,.72);
    font-size:14px;
    font-weight:700;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}

.popular-hero-card .popular-spec-line{
    margin:0 0 18px;
    color:rgba(255,255,255,.78);
    font-size:15px;
    line-height:1.45;
    font-weight:800;
    letter-spacing:-.04em;
    min-height:0;
    max-width:260px;
}

.popular-hero-card .popular-price{
    display:block;
    margin-bottom:22px;
    font-size:31px;
    line-height:1;
    font-weight:900;
    letter-spacing:-.055em;
    color:#ffffff;
}

.popular-hero-card .popular-price.is-soldout{
    color:#ff424f;
}

.popular-hero-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:150px;
    height:46px;
    padding:0 22px;
    border-radius:11px;
    background:#fff;
    color:#06142e;
    font-size:14px;
    font-weight:900;
    box-shadow:0 12px 28px rgba(0,0,0,.18);
}

.popular-hero-img{
    position:relative;
    z-index:2;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:28px 30px 26px 0;
}

.popular-hero-img img{
    max-width:100%;
    max-height:286px;
    object-fit:contain;
    filter:drop-shadow(0 18px 22px rgba(0,0,0,.28));
}

.popular-rank-list{
    display:grid;
    grid-template-rows:repeat(4,1fr);
    gap:10px;
}

.popular-list-card{
    display:grid;
    grid-template-columns:58px 84px minmax(0,1fr) 148px;
    align-items:center;
    min-height:77px;
    gap:14px;
    padding:10px 14px;
    border:1px solid #e2e8f3;
    border-radius:15px;
    background:#fff;
    box-shadow:0 10px 26px rgba(15,35,70,.04);
    transition:transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.popular-list-card:hover{
    transform:translateY(-2px);
    border-color:#d5ddff;
    box-shadow:0 16px 34px rgba(15,35,70,.09);
}

.popular-list-rank{
    font-size:30px;
    line-height:1;
    font-weight:900;
    letter-spacing:-.055em;
    color:#99a4b7;
    text-align:center;
}

.popular-rank-2 .popular-list-rank{
    color:#8e98aa;
}

.popular-rank-3 .popular-list-rank{
    color:#b5753a;
}

.popular-list-img{
    width:84px;
    height:64px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:12px;
    background:#f7f9ff;
    overflow:hidden;
}

.popular-list-img img{
    max-width:100%;
    max-height:100%;
    object-fit:contain;
}

.popular-list-info{
    min-width:0;
}

.popular-list-info h3{
    margin:0 0 4px;
    font-size:17px;
    line-height:1.28;
    font-weight:900;
    letter-spacing:-.05em;
    color:#06142e;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}

.popular-list-info .popular-subtitle{
    margin:0 0 4px;
    font-size:12px;
    color:#5f708a;
    font-weight:700;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}

.popular-list-info .popular-spec-line{
    margin:0;
    min-height:0;
    color:#617087;
    font-size:12px;
    line-height:1.35;
    font-weight:800;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}

.popular-list-right{
    display:flex;
    flex-direction:column;
    align-items:flex-end;
    gap:8px;
}

.popular-list-right .popular-price{
    display:block;
    font-size:20px;
    line-height:1;
    font-weight:900;
    letter-spacing:-.05em;
    color:#000b1d;
    white-space:nowrap;
}

.popular-list-right .popular-price.is-soldout{
    color:#e03131;
}

.popular-detail-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    height:30px;
    padding:0 12px;
    border:1px solid #dce3ef;
    border-radius:9px;
    color:#394962;
    background:#fff;
    font-size:12px;
    font-weight:900;
    white-space:nowrap;
}

.popular-note-box{
    display:flex;
    align-items:center;
    gap:14px;
    margin-top:16px;
    padding:16px 18px;
    border:1px solid #ece6ff;
    border-radius:14px;
    background:linear-gradient(90deg,#fbf9ff,#fff);
    color:#64728a;
    font-size:14px;
    font-weight:700;
}

.popular-note-box strong{
    color:#5e42e8;
    font-size:15px;
    white-space:nowrap;
}

.popular-empty-message{
    padding:38px 0;
    text-align:center;
    color:#65758e;
    font-size:14px;
    font-weight:700;
    border:1px solid #e3eaf5;
    border-radius:18px;
    background:#fff;
}

@media (max-width:1180px){
    .popular-rank-layout{
        grid-template-columns:1fr;
    }

    .popular-hero-card{
        grid-template-columns:1fr 260px;
    }
}


/* ranking layout hard fix */
.popular-pc-section .popular-rank-layout{
    display:grid !important;
    grid-template-columns:minmax(0,1.02fr) minmax(0,.98fr) !important;
    gap:16px !important;
    align-items:stretch !important;
}
.popular-pc-section .popular-rank-list{
    display:grid !important;
    grid-template-rows:repeat(4,1fr) !important;
    gap:10px !important;
}
.popular-pc-section .popular-list-card{
    display:grid !important;
    grid-template-columns:58px 84px minmax(0,1fr) 148px !important;
    min-height:77px !important;
}
.popular-pc-section .popular-hero-card{
    display:grid !important;
    grid-template-columns:1fr 270px !important;
    min-height:338px !important;
}
.popular-pc-section .popular-hero-img img{
    max-width:100% !important;
    max-height:286px !important;
    object-fit:contain !important;
}
.popular-pc-section .popular-list-img img{
    max-width:100% !important;
    max-height:100% !important;
    object-fit:contain !important;
}

/* ranking medal compact + soldout precise v20260602_2 */


/* weekly top5 polish v20260602_3 */
.popular-pc-section .popular-pc-title-row h2{letter-spacing:-.055em;}
.popular-pc-section .popular-live-badge{background:#f1efff;color:#5e42e8;}
.popular-pc-section .popular-rank-kicker{display:inline-flex;align-items:center;justify-content:center;height:28px;padding:0 13px;margin-bottom:12px;border-radius:999px;background:linear-gradient(135deg,#ffe787,#ffb321);color:#5d3500;font-size:13px;font-weight:900;box-shadow:0 8px 18px rgba(255,176,32,.18);}
.popular-pc-section .popular-hero-content{gap:0 !important;padding:34px 0 30px 34px !important;}
.popular-pc-section .popular-hero-text{padding-top:0 !important;max-width:315px !important;}
.popular-pc-section .popular-hero-card .popular-price{color:#ffffff !important;}
.popular-pc-section .popular-list-right .popular-price{color:#000b1d !important;}
.popular-pc-section .popular-price.is-soldout{color:#e03131 !important;}
.popular-pc-section .popular-note-box{display:none !important;}


/* weekly TOP5 final polish v20260602_4 */
.popular-pc-section .popular-note-box{
    display:none !important;
}
.popular-pc-section .popular-title-icon{
    transform:translateY(-1px);
}
.popular-pc-section .popular-live-badge{
    background:#f1efff !important;
    color:#5e42e8 !important;
}
.popular-pc-section .popular-rank-kicker{
    height:28px !important;
    padding:0 13px !important;
    margin-bottom:12px !important;
    border-radius:999px !important;
    font-size:13px !important;
    font-weight:900 !important;
    letter-spacing:-.02em !important;
}
.popular-pc-section .popular-hero-text{
    max-width:360px !important;
}
.popular-pc-section .popular-hero-card h3{
    max-width:360px !important;
}
.popular-pc-section .popular-hero-card .popular-price,
.popular-pc-section .popular-list-right .popular-price{
    color:#5B4DFF !important;
}
.popular-pc-section .popular-price{
    color:#5B4DFF !important;
}
.popular-pc-section .popular-price.is-soldout{
    color:#e03131 !important;
}


/* weekly TOP5 refinement v20260602_5 */
.popular-pc-section .popular-pc-title-group p{
    color:#5f708a;
}
.popular-pc-section .popular-hero-card .popular-price{
    color:#ff3f4a !important;
    font-weight:700 !important;
}
.popular-pc-section .popular-list-right .popular-price{
    color:#5B4DFF !important;
    font-weight:700 !important;
}
.popular-pc-section .popular-price{
    font-weight:700 !important;
}
.popular-pc-section .popular-price.is-soldout{
    color:#e03131 !important;
    font-weight:700 !important;
}
.popular-pc-section .popular-rank-2 .popular-list-rank{
    color:#6f7d93 !important;
}
.popular-pc-section .popular-rank-3 .popular-list-rank{
    color:#b5753a !important;
}
.popular-pc-section .popular-rank-4 .popular-list-rank,
.popular-pc-section .popular-rank-5 .popular-list-rank{
    color:#aeb7c6 !important;
}


/* 추천 테마별 PC 상단 간격 축소 */
.theme-pc-section{
    margin-top:40px !important;
    padding-top:0 !important;
}



/* 추천 테마별 PC 설명 제거 후 헤더 간격 정리 */
.theme-pc-head{
    margin-bottom:16px !important;
}
.theme-pc-head p{
    display:none !important;
}


/* TOP5 list readability update */
.popular-rank-layout{
    grid-template-columns:minmax(0,.96fr) minmax(0,1.04fr) !important;
}
.popular-list-card{
    grid-template-columns:42px 78px minmax(0,1fr) 118px !important;
    gap:10px !important;
}
.popular-list-rank{
    font-size:26px !important;
}
.popular-list-info h3{
    font-size:15px !important;
}
.popular-list-info .popular-spec-line{
    font-size:11px !important;
    line-height:1.45 !important;
}
.popular-detail-btn{
    font-size:11px !important;
}



/* TOP5 우측 리스트 폰트 재보정 */
.popular-pc-wrap,
.popular-pc-layout,
.popular-pc-body{
    grid-template-columns:48% 52% !important;
}

.popular-rank-list,
.popular-list,
.popular-pc-list{
    min-width:0 !important;
}

.popular-rank-item,
.popular-list-item,
.popular-pc-rank-item{
    grid-template-columns:42px 72px minmax(0, 1fr) 118px !important;
    column-gap:12px !important;
}

.popular-rank-num,
.popular-item-rank,
.popular-pc-rank{
    width:42px !important;
    min-width:42px !important;
    font-size:24px !important;
}

.popular-rank-thumb,
.popular-item-thumb,
.popular-pc-thumb{
    width:72px !important;
    min-width:72px !important;
}

.popular-rank-info,
.popular-item-info,
.popular-pc-info{
    min-width:0 !important;
}

.popular-rank-title,
.popular-item-title,
.popular-pc-title{
    font-size:14px !important;
    line-height:1.25 !important;
    font-weight:900 !important;
    letter-spacing:-0.045em !important;
    white-space:nowrap !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
}

.popular-rank-spec,
.popular-item-spec,
.popular-pc-spec,
.popular-rank-desc,
.popular-item-desc,
.popular-pc-desc{
    font-size:11.5px !important;
    line-height:1.45 !important;
    font-weight:800 !important;
    letter-spacing:-0.035em !important;
    color:#394861 !important;
    white-space:normal !important;
    overflow:visible !important;
    text-overflow:clip !important;
    display:block !important;
}

.popular-rank-price,
.popular-item-price,
.popular-pc-price{
    font-size:16px !important;
    line-height:1.2 !important;
    font-weight:900 !important;
}

.popular-rank-btn,
.popular-item-btn,
.popular-pc-btn{
    min-width:72px !important;
    padding:0 10px !important;
    font-size:12px !important;
    white-space:nowrap !important;
}


/* TOP5 상품명/사양 폰트 추가 확대 */
.popular-rank-title,
.popular-item-title,
.popular-pc-title{
    font-size:17px !important;
    line-height:1.25 !important;
    font-weight:800 !important;
}

.popular-rank-spec,
.popular-item-spec,
.popular-pc-spec,
.popular-rank-desc,
.popular-item-desc,
.popular-pc-desc{
    font-size:13.5px !important;
    line-height:1.5 !important;
    font-weight:600 !important;
}



/* TOP5 실제 클래스 기준 폰트 확대 */
.popular-pc-section .popular-rank-layout{
    grid-template-columns:48% 52% !important;
    gap:16px !important;
}

.popular-pc-section .popular-rank-list{
    min-width:0 !important;
}

.popular-pc-section .popular-list-card{
    display:grid !important;
    grid-template-columns:42px 70px minmax(0, 1fr) 112px !important;
    column-gap:12px !important;
    align-items:center !important;
}

.popular-pc-section .popular-list-rank{
    width:42px !important;
    min-width:42px !important;
    font-size:25px !important;
}

.popular-pc-section .popular-list-img{
    width:70px !important;
    min-width:70px !important;
}

.popular-pc-section .popular-list-info{
    min-width:0 !important;
}

.popular-pc-section .popular-list-info h3{
    font-size:16px !important;
    line-height:1.24 !important;
    font-weight:800 !important;
    letter-spacing:-0.055em !important;
    white-space:nowrap !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
    margin:0 0 4px !important;
}

.popular-pc-section .popular-list-info .popular-subtitle{
    font-size:12px !important;
    line-height:1.3 !important;
    font-weight:700 !important;
    letter-spacing:-0.035em !important;
    color:#53627a !important;
    white-space:nowrap !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
    margin:0 0 3px !important;
}

.popular-pc-section .popular-list-info .popular-spec-line{
    font-size:13px !important;
    line-height:1.35 !important;
    font-weight:600 !important;
    letter-spacing:-0.04em !important;
    color:#24344d !important;
    white-space:normal !important;
    overflow:visible !important;
    text-overflow:clip !important;
    display:block !important;
    margin:0 !important;
}

.popular-pc-section .popular-list-right{
    width:112px !important;
    min-width:112px !important;
}

.popular-pc-section .popular-list-right .popular-price{
    font-size:16px !important;
    line-height:1.2 !important;
    font-weight:900 !important;
}

.popular-pc-section .popular-detail-btn{
    min-width:70px !important;
    height:28px !important;
    padding:0 9px !important;
    font-size:12px !important;
    white-space:nowrap !important;
}


/* TOP5 추가 확대 +2px */
.popular-pc-section .popular-list-info h3{
    font-size:18px !important;
}

.popular-pc-section .popular-list-info .popular-subtitle{
    font-size:14px !important;
}

.popular-pc-section .popular-list-info .popular-spec-line{
    font-size:15px !important;
    line-height:1.4 !important;
}






/* TOP5 우측 가격/버튼 실제 클래스 보정 */

/* 좌측 대표 상품 가격은 기존 큰 강조형으로 복구 */
.popular-pc-section .popular-hero-card .popular-price{
    font-size:32px !important;
    line-height:1.05 !important;
    font-weight:900 !important;
}

/* 우측 2~5등 가격만 확대 */
.popular-pc-section .popular-list-card .popular-list-right .popular-price,
.popular-pc-section .popular-list-card .popular-price{
    font-size:18px !important;
    line-height:1.15 !important;
    font-weight:900 !important;
    letter-spacing:-0.045em !important;
}

/* 우측 2~5등 바로가기 버튼만 확대 */
.popular-pc-section .popular-list-card .popular-detail-btn{
    height:32px !important;
    min-height:32px !important;
    padding:0 14px !important;
    border-radius:8px !important;
    font-size:13px !important;
    line-height:32px !important;
    font-weight:900 !important;
    white-space:nowrap !important;
}

/* 좌측 대표 상품 버튼은 기존 크기 유지 */
.popular-pc-section .popular-hero-card .popular-hero-btn{
    font-size:14px !important;
}
