/* BASIC css start */
/*무이자 할부 팝업추가 0929*/

/* 무이자 안내 영역 */
.installment-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.installment-label {

    font-size: 13px;
}

.installment-open {
    padding: 0;
    border: 0;
    background: none;
    color: #222;
    font-size: 13px;
    cursor: pointer;
}


/* =========================
   팝업
========================= */

.installment-modal {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: none;
}

.installment-modal.active {
    display: block;
}


/* 어두운 배경 */
.installment-dim {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
}


/* 팝업 */
.installment-popup {
    position: absolute;
    top: 50%;
    left: 50%;

    width: 520px;
    max-width: calc(100% - 40px);
    max-height: 80vh;

    transform: translate(-50%, -50%);

    background: #fff;
    border-radius: 4px;

    overflow: hidden;
    box-sizing: border-box;
}


/* 상단 */
.installment-popup-head {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    height: 60px;

    border-bottom: 1px solid #eee;
}

.installment-popup-head h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}


/* 닫기 */
.installment-close {
    position: absolute;
    top: 50%;
    right: 20px;

    width: 30px;
    height: 30px;

    transform: translateY(-50%);

    border: 0;
    background: none;

    font-size: 28px;
    font-weight: 300;
    line-height: 1;

    cursor: pointer;
}


/* 내용 */
.installment-popup-body {
    padding: 25px;
    max-height: calc(80vh - 60px);
    overflow-y: auto;
    box-sizing: border-box;
}

.installment-popup-body h4 {
    margin: 0 0 12px;
    font-size: 15px;
    font-weight: 600;
}

.installment-popup-body ul {
    margin: 0 0 25px;
    padding: 0;

    border-top: 1px solid #222;

    list-style: none;
}

.installment-popup-body li {
    display: flex;
    align-items: center;
    justify-content: space-between;

    min-height: 42px;

    padding: 8px 10px;

    border-bottom: 1px solid #eee;

    box-sizing: border-box;

    font-size: 13px;
}

.installment-popup-body li span {
    flex: 0 0 90px;
}

.installment-popup-body li b {
    flex: 1;
    font-weight: 400;
    text-align: right;
}

.installment-notice {
    margin: -10px 0 25px;

    color: #777;
    font-size: 12px;
}


/* =========================
   모바일
========================= */

@media screen and (max-width: 767px) {

    .installment-info {
        gap: 7px;
    }

    .installment-label,
    .installment-open {
        font-size: 12px;
    }


    .installment-popup {
        width: calc(100% - 30px);
        max-width: none;

        max-height: 85vh;

        border-radius: 3px;
    }


    .installment-popup-head {
        height: 52px;
    }

    .installment-popup-head h3 {
        font-size: 16px;
    }

    .installment-close {
        right: 12px;
        font-size: 25px;
    }


    .installment-popup-body {
        padding: 18px 15px;

        max-height: calc(85vh - 52px);
    }


    .installment-popup-body h4 {
        font-size: 14px;
    }


    .installment-popup-body li {
        min-height: 40px;

        padding: 7px 5px;

        font-size: 12px;
    }

    .installment-popup-body li span {
        flex: 0 0 75px;
    }

    .installment-popup-body li b {
        font-size: 12px;
    }

}


/* BASIC css end */

