@charset "utf-8";

/* 리안갤러리 소개 팝업 */
.lian-popup-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 20px;
    background: rgba(2, 10, 26, .8);
}
.lian-popup-overlay.active {
    display: flex;
}
.lian-popup-brand {
    writing-mode: vertical-rl;
    text-orientation: upright;
    align-self: center;
    letter-spacing: 10px;
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 1px 6px rgba(0, 0, 0, .6);
}
.lian-popup {
    width: 100%;
    max-width: 960px;
    background: #fff;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .35);
    display: flex;
    flex-direction: column;
}
.lian-popup-main {
    display: flex;
    min-height: 520px;
}

/* 좌측 이미지 영역 */
.lian-popup-visual {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: #eef2f8;
}
.lian-tab-panel {
    display: none;
    flex: 1;
}
.lian-tab-panel.active {
    display: flex;
    align-items: center;
    justify-content: center;
}
.lian-tab-panel img {
    width: 100%;
    height: 100%;
    min-height: 320px;
    object-fit: cover;
}
.lian-popup-caption {
    margin-top: 24px;
    text-align: left;
}
.lian-popup-caption h3 {
    font-size: 24px;
    font-weight: 700;
    color: #02224c;
}
.lian-popup-caption p {
    margin-top: 6px;
    font-size: 15px;
    color: #666;
}

/* 우측 탭 메뉴 */
.lian-popup-tabs {
    width: 160px;
    display: flex;
    flex-direction: column;
    background: #000;
}
.lian-tab-btn {
    flex: 1;
    border: none;
   
    background: transparent;
    color: #FFF;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    transition: background .25s, color .25s;
}
.lian-tab-btn:last-child {
    border-bottom: none;
}
.lian-tab-btn:hover {
    background: rgba(2, 34, 76, 0.8);
    color: #fff;
}
.lian-tab-btn.active {
    background: #02224c;
    color: #fff;
}
.lian-tab-slot {
    flex: 1;
    border: none;
    background: transparent;
    cursor: default;
    pointer-events: none;
}

/* 하단 바 */
.lian-popup-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 24px;
    background: #000;
}
.lian-popup-hide {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #dfe7f2;
    font-size: 16px;
    cursor: pointer;
}
.lian-checkbox {
    appearance: none;
    -webkit-appearance: none;
    position: relative;
    width: 22px;
    height: 22px;
    margin: 0;
    border: 1.5px solid rgba(255, 255, 255, .6);
    background: transparent;
    cursor: pointer;
    flex-shrink: 0;
    transition: background .2s, border-color .2s;
}
.lian-checkbox:hover {
    border-color: #fff;
}
.lian-checkbox:checked {
    background: #02224c;
    border-color: #02224c;
}
.lian-checkbox:checked::after {
  content: '';
    position: absolute;
    left: 50%;
    top: 40%;
    width: 7px;
    height: 11px;
    transform: translate(-50%, -50%) rotate(45deg);
    border: solid #fff;
    border-width: 0 2px 2px 0;
}
.lian-popup-close {
    position: relative;
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, .1);
    cursor: pointer;
    padding: 0;
    transition: background .2s;
}
.lian-popup-close:hover {
    background: rgba(255, 255, 255, .25);
}
.lian-popup-close::before,
.lian-popup-close::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 14px;
    height: 2px;
    background: #fff;
}
.lian-popup-close::before {
    transform: translate(-50%, -50%) rotate(45deg);
}
.lian-popup-close::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

@media (max-width: 1024px) {
    .lian-popup-overlay.active {
        display: none;
    }
}

@media (max-width: 768px) {
    .lian-popup-brand {
        display: none;
    }
    .lian-popup-main {
        flex-direction: column;
    }
    .lian-tab-panel img {
        min-height: 220px;
    }
    .lian-popup-tabs {
        width: 100%;
        flex-direction: row;
    }
    .lian-tab-btn {
        border-bottom: none;
        border-right: 1px solid rgba(255, 255, 255, .12);
        padding: 14px 0;
        font-size: 15px;
    }
    .lian-tab-btn:last-child {
        border-right: none;
    }
}
