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

#klb {
    max-width: 1200px;
    margin: 20px auto 0;
}
#klb .klb-season {
    font-size: 15px;
    font-weight: 700;
    color: #000;
    letter-spacing: -0.02em;
    margin: 0 0 28px;
}

#klb .klb-grid { display: none !important; }

/* ---------- 스테이지 : 좌 화보 · 우 상품 ---------- */
#klb .klb-stage {
    display: flex;
    align-items: stretch;
    gap: 64px;
}
#klb .klb-left {
    flex: 0 0 640px;
    width: 640px;
}

/* ---------- 화보 ---------- */
#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: 64px;
    height: 100px;
    margin-top: -50px;
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
    opacity: .55;
    transition: opacity .25s ease;
}
#klb .klb-photo:hover .klb-arrow { opacity: .85; }
#klb .klb-arrow:hover,
#klb .klb-arrow:focus-visible { opacity: 1 !important; }
#klb .klb-arrow::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 22px;
    height: 22px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    filter: drop-shadow(0 0 3px rgba(0, 0, 0, .35));
}
#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-arrow:focus-visible { outline: 2px solid #fff; outline-offset: -6px; }

/* ---------- 진행바 ---------- */
#klb .klb-bar {
    display: flex;
    gap: 3px;
    margin-top: 14px;
}
#klb .klb-bar button {
    position: relative;
    flex: 1 1 0;
    height: 14px;
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
}
#klb .klb-bar button::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 2px;
    margin-top: -1px;
    background: #e2e2e2;
    transition: background .2s ease;
}
#klb .klb-bar button:hover::before { background: #9f9f9f; }
#klb .klb-bar button.is-on::before { background: #000; }

/* ---------- 우측 정보 (Noto Sans KR) ---------- */
#klb .klb-info {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-width: 0;
    padding-bottom: 28px;
    font-family: 'Noto Sans KR', sans-serif;
}
#klb .klb-sub {
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 30px;
    font-weight: 700;
    color: #000;
    letter-spacing: -0.7px;
    line-height: 1;
    margin: 0 0 22px;
}
#klb .klb-sub span { font-weight: 400; }

#klb .klb-prd {
    list-style: none;
    margin: 0;
    padding: 0;
    border-top: 1px solid #000;
}
#klb .klb-prd li {
    margin: 0;
    padding: 0;
    float: none;
    border-bottom: 1px solid #e5e5e5;
}
#klb .klb-prd a {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 14px 4px 14px 0;
    color: #000;
    text-decoration: none;
}
#klb .klb-thumb {
    flex: 0 0 96px;
    width: 96px;
    height: 96px;
    background: #f5f5f5;
    overflow: hidden;
}
#klb .klb-thumb img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: cover;
    transition: transform .3s ease;
}
#klb .klb-name {
    flex: 1 1 auto;
    min-width: 0;
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: -0.5px;
    word-break: keep-all;
}
#klb .klb-go {
    position: relative;
    flex: 0 0 16px;
    width: 16px;
    height: 16px;
}
#klb .klb-go::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 8px;
    height: 8px;
    border-top: 1.5px solid #bdbdbd;
    border-right: 1.5px solid #bdbdbd;
    transform: translate(-70%, -50%) rotate(45deg);
    transition: border-color .2s ease, left .2s ease;
}
#klb .klb-prd a:hover .klb-thumb img { transform: scale(1.05); }
#klb .klb-prd a:hover .klb-name { text-decoration: underline; }
#klb .klb-prd a:hover .klb-go::before { border-color: #000; left: 70%; }

/* ---------- 다음 룩 미리보기 ---------- */
#klb .klb-next-looks {
    margin-top: auto;
    padding-top: 32px;
}
#klb .klb-next-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin: 0 0 12px;
}
#klb .klb-next-head strong {
    font-family: var(--klb-num-font, inherit);
    font-size: 15px;
    font-weight: 700;
    color: #000;
    letter-spacing: 0.02em;
}
#klb .klb-next-head span {
    font-size: 13px;
    color: #9f9f9f;
    letter-spacing: 0.04em;
}
#klb .klb-next-head span b { color: #000; font-weight: 700; }
#klb .klb-thumbs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}
#klb .klb-thumbs button {
    display: block;
    padding: 0;
    border: 0;
    background: #f3f3f3;
    overflow: hidden;
    cursor: pointer;
}
#klb .klb-thumbs img {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    aspect-ratio: var(--klb-ratio);
    object-fit: cover;
    transition: transform .4s ease, opacity .2s ease;
}
#klb .klb-thumbs button:hover img { transform: scale(1.05); opacity: .85; }
#klb .klb-thumbs button:focus-visible { outline: 2px solid #000; outline-offset: 2px; }

@media (max-width: 1280px) {
    #klb .klb-left { flex-basis: 560px; width: 560px; }
    #klb .klb-stage { gap: 44px; }
}
/* BASIC css end */

