/* BASIC css start */
/* 룩북 이미지 비율 (가로 / 세로) */
:root { --klb-ratio: 15 / 16; }

#klb {
    font-family: 'Noto Sans KR', sans-serif;
    padding-bottom: 60px;
}
#klb .klb-grid { display: none !important; }

#klb .klb-title {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 26px;
    font-weight: 700;
    color: #000;
    letter-spacing: -0.5px;
    line-height: 1.25;
    padding: 25px 18px 18px;
    margin: 0;
}

/* ---------- 화보 ---------- */
#klb .klb-photo {
    position: relative;
    width: 100%;
    aspect-ratio: var(--klb-ratio);
    background: #f3f3f3;
    overflow: hidden;
}
#klb .klb-photo img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: cover;
    opacity: 1;
    transition: opacity .3s ease;
}
#klb .klb-photo img.is-fading { opacity: 0; transition: none; }

#klb .klb-arrow {
    position: absolute;
    top: 50%;
    width: 44px;
    height: 72px;
    margin-top: -36px;
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
    opacity: .75;
}
#klb .klb-arrow::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 15px;
    height: 15px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    filter: drop-shadow(0 0 3px rgba(0, 0, 0, .4));
}
#klb .klb-prev { left: 0; }
#klb .klb-next { right: 0; }
#klb .klb-prev::before { transform: translate(-30%, -50%) rotate(-135deg); }
#klb .klb-next::before { transform: translate(-70%, -50%) rotate(45deg); }

/* ---------- 진행바 ---------- */
#klb .klb-bar {
    display: flex;
    gap: 2px;
    padding: 12px 18px 0;
}
#klb .klb-bar button {
    position: relative;
    flex: 1 1 0;
    height: 12px;
    padding: 0;
    border: 0;
    background: none;
}
#klb .klb-bar button::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 2px;
    margin-top: -1px;
    background: #e2e2e2;
}
#klb .klb-bar button.is-on::before { background: #000; }

/* ---------- 관련 상품 ---------- */
#klb .klb-info { padding: 0 18px; }

#klb .klb-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin: 22px 0 14px;
}
#klb .klb-sub {
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #000;
    letter-spacing: -0.7px;
    line-height: 1;
    margin: 0;
}
#klb .klb-sub span { font-weight: 400; }
#klb .klb-count {
    font-size: 12px;
    color: #9f9f9f;
    letter-spacing: 0.04em;
}
#klb .klb-count b { color: #000; font-weight: 700; }

#klb .klb-prd {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px 10px;
    list-style: none;
    margin: 0;
    padding: 0;
    border-top: 1px solid #000;
    padding-top: 16px;
}
#klb .klb-prd li { margin: 0; padding: 0; float: none; }
#klb .klb-prd a {
    display: block;
    color: #000;
    text-decoration: none;
}
#klb .klb-thumb {
    display: block;
    aspect-ratio: 1 / 1;
    background: #f5f5f5;
    overflow: hidden;
    margin-bottom: 8px;
}
#klb .klb-thumb img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: cover;
}
#klb .klb-name {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: -0.5px;
    word-break: keep-all;
}
/* BASIC css end */

