/* common */
body.on {
    height: 100%;
    overflow: hidden;
}

.popup {
    display: none;
    z-index: 10;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
}

.popup-inner {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 500px;
    height: 550px;
    padding: 30px;
    transform: translate(-50%, -50%);
    background: #fff;
}



.popup-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 12px;
    height: 12px;
    padding: 10px;
    background: url(../img/icon-close.svg) no-repeat center center / auto;
    box-sizing: content-box;
}

/* 트림 변경 팝업 */
.trim-pop .popup-inner {
    width: 600px;
    min-height: 690px;
    height: 690px;
    padding: 40px;
}

.trim-pop .popup-close {
    top: 20px;
    right: 20px;
    width: 20px;
    height: 20px;
    padding: 0;
    background: url(../img/icon-close.svg) no-repeat center center / auto;
    background-size: 100% 100%;
}

.trim-pop p.tit {
    font-family: "Noto Sans KR";
    font-size: 22px;
    font-weight: 700;
    line-height: 31.86px;
    letter-spacing: -0.02em;
}

.trim-pop .btn-box {
    display: -webkit-flex;
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    margin-left: -10px;
    margin-top: 20px;
}

.trim-pop .btn-box button {
    border: 1px solid #DEDEDE;
    border-radius: 5px;
    font-family: " Montserrat";
    font-size: 14px;
    font-weight: 400;
    line-height: 40px;
    letter-spacing: -0.02em;
    padding: 2px 15px;
    color: #aaa;
    margin-bottom: 10px;
    margin-left: 10px;
}

.trim-pop .btn-box button.on {
    border: 1px solid #d7133f;
    background: #d7133f;
    font-weight: 700;
    color: #fff;
}

.trim-pop .btn-box button:hover {
    -webkit-transition: all 0.5s;
    transition: all 0.5s;
    border: 1px solid #d7133f;
    background: #d7133f;
    color: #fff;
}

.trim-pop .list-box {
    width: 100%;
    height: 450px;
    overflow-y: auto;
    display: none;
}

.trim-pop .list-box.on {
    display: block;
}

.trim-pop .list-box button {
    width: 100%;
    border: 1px solid #DEDEDE;
    border-radius: 5px;
    display: -webkit-flex;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 97px;
    padding: 23px 70px 25px 40px;
    margin-top: 10px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.trim-pop .list-box button:hover {
    border: 2px solid #D7133F;
}

.trim-pop .list-box button.on {
    border: 2px solid #D7133F;
}

.trim-pop .list-box button:first-child {
    margin-top: 0
}

.trim-pop .list-box button .selec-tbox p {
    font-family: "Montserrat";
    font-size: 14px;
    font-weight: 700;
    line-height: 17.07px;
    letter-spacing: -0.02em;
    position: relative;
    display: -webkit-flex;
    display: flex;
    align-items: center;
    text-align: left;
    word-break: keep-all;
}

.trim-pop .list-box button .selec-tbox p::before {
    content: '';
    width: 20px;
    height: 20px;
    background: url(../img/chk5-1.svg) no-repeat center;
    background-size: 100% 100%;
    margin-right: 10px;
    flex-shrink: 0;
}

.trim-pop .list-box button.on .selec-tbox p::before {
    content: '';
    /* background: url(../img/chk5-2.svg) no-repeat center;
    background-size: 100% 100%; */
    background: #d7133f;
    border-radius: 100%;
}

.trim-pop .list-box button .price-box {
    text-align: right;
}

.trim-pop .list-box button .price-box p {
    font-family: "Montserrat";
    font-size: 18px;
    font-weight: 700;
    line-height: 21.94px;
    letter-spacing: -0.02em;
    color: #AAAAAA;
    position: relative;
}

.trim-pop .list-box button:hover .price-box p.txt1 {
    color: #D7133F;
}

.trim-pop .list-box button.on .price-box p.txt1 {
    color: #D7133F;
}

.trim-pop .list-box button .price-box p.txt2 {
    font-size: 16px;
    line-height: 19.5px;
    color: #000;
    white-space: nowrap;
}


.popup-header h1 {
    padding: 30px 0 10px;
    font-size: 1.375rem;
    line-height: 160%;
    text-align: center;
    letter-spacing: -0.02em;
    border-bottom: 1.2px solid #DEDEDE;
}

.popup-content {
    padding-top: 30px;
}

.popup-content-inner {
    padding-right: 10px;
    max-height: 380px;
    overflow: auto;
}

.popup ::-webkit-scrollbar {
    width: 8px !important;
    height: 5px !important;
    border-radius: 5px;
    background: #F5F5F3;
}

.popup ::-webkit-scrollbar-thumb {
    height: 30%;
    border-radius: 5px;
    background: #AAAAAA;
}

/* 개인정보 취급방침 */
.privacy-popup pre {
    white-space: pre-wrap;
    word-break: break-all;
}

/* 240821 */

/* 비슷한차량 상담신청팝업 */
.apply-bg {
    position: fixed;
    width: 100%;
    height: 100%;
    background: rgb(0, 0, 0, 0.6);
    left: 0;
    top: 0;
    z-index: 12;
    display: none;
}

.apply-bg .apply-box {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: #d7133f;
    border-radius: 10px;
}

.apply-bg .apply-box .apply-inner {
    position: relative;
}

.apply-bg .apply-box .apply-close {
    position: absolute;
    background-image: url(../img/icon-close.svg);
    width: 12px;
    height: 12px;
    top: 15px;
    right: 15px;
    cursor: pointer;
    filter: invert(1);
}

.apply-bg .apply-box .apply-title {
    padding: 18.5px 0;
    background: #d7133f;
    border-bottom: 1px solid #ffffff;
    border-radius: 10px 10px 0px 0px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.apply-bg .apply-box .apply-title p {
    font-family: "Noto Sans KR";
    font-style: normal;
    font-weight: 700;
    font-size: 16px;
    line-height: 23px;
    text-align: center;
    letter-spacing: -0.05em;
    color: #fff;
}

.apply-bg .apply-box .apply-cont {
    padding: 20px 30px;
}

.apply-bg .apply-box .apply-cont form {}

.apply-bg .apply-box .apply-cont form .similar-input {
    width: 220px;
    height: 37px;
    border: 1px solid #ffffff;
    border-radius: 10px;
    padding: 10px 20px;
    gap: 10px;
    display: -webkit-flex;
    display: flex;
    margin: 0 auto 10px;
    align-items: center;
}

.apply-bg .apply-box .apply-cont form .similar-input p {
    font-family: "Noto Sans KR";
    font-style: normal;
    font-weight: 700;
    font-size: 12px;
    line-height: 17px;
    letter-spacing: -0.05em;
    color: #fff;
    flex-shrink: 0;
}

.apply-bg .apply-box .apply-cont form .similar-input input {
    font-family: "Montserrat";
    font-style: normal;
    font-weight: 400;
    font-size: 12px;
    line-height: 15px;
    letter-spacing: -0.02em;
    display: block;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    width: 100%;
    color: #fff;
}

.apply-bg .apply-box .apply-cont form .similar-input input::placeholder {
    color: white;
}

.apply-bg .apply-box .apply-cont form .similar-input.similar-input2 {
    height: auto;
    flex-direction: column;
}

.apply-bg .apply-box .apply-cont form .similar-input.similar-input2 .similar-radio-box.similar-radio-box2 {
    display: -webkit-flex;
    display: flex;
    align-items: center;
    gap: 10px;
}

.apply-bg .apply-box .apply-cont form .similar-input.similar-input2 .similar-radio-box.similar-radio-box2 .form-wrap {
    display: -webkit-flex;
    display: flex;
}

.apply-bg .apply-box .apply-cont form .similar-input.similar-input2 .similar-radio-box.similar-radio-box2 .form-wrap input {
    display: none;
}

.apply-bg .apply-box .apply-cont form .similar-input.similar-input2 .similar-radio-box.similar-radio-box2 .form-wrap label {
    color: white;
    word-break: keep-all;
}

.apply-bg .apply-box .apply-cont form .similar-input.similar-input2 .similar-radio-box.similar-radio-box2 .form-wrap label::before {
    background-image: url(../img/chk3_off.svg);
}

.apply-bg .apply-box .apply-cont form .similar-input.similar-input2 .similar-radio-box.similar-radio-box2 .form-wrap input.chk-control.type-b:checked~label.chk-label.type-b::before {
    background-image: url(../img/chk3.svg);
}

.apply-bg .apply-box .apply-cont form .similar-memo {
    margin-bottom: 5px;
}

.apply-bg .apply-box .apply-cont form .similar-memo textarea {
    width: 220px;
    height: 150px;
    background: #ffffff;
    border: 1px solid #ededed;
    border-radius: 10px;
    padding: 15px 20px;
    font-family: "Noto Sans KR";
    font-style: normal;
    font-weight: 400;
    font-size: 12px;
    line-height: 17px;
    letter-spacing: -0.05em;
    color: #222222;
}

.apply-bg .apply-box .apply-cont form .similar-chk {
    display: -webkit-flex;
    display: flex;
    align-items: center;
    margin-top: 10px;
}

.apply-bg .apply-box .apply-cont form .similar-chk input {
    display: none;
}

.apply-bg .apply-box .apply-cont form .similar-chk label {
    font-family: "Noto Sans";
    font-style: normal;
    font-weight: 700;
    font-size: 12px;
    line-height: 16px;
    letter-spacing: -0.05em;
    color: #ffffff;
    position: relative;
    padding-left: 25px;
}

.similar-ag-input~.similar-ag-label::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 18px;
    height: 18px;
    transform: translateY(-50%);
    background: url(../img/chk3_off.svg) no-repeat center center / contain;
}

.similar-ag-input:checked~.similar-ag-label::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 18px;
    height: 18px;
    transform: translateY(-50%);
    background: url(../img/chk3.svg) no-repeat center center / contain;
}

.apply-bg .apply-box .apply-cont form .similar-chk label span {
    line-height: 17px;
    color: #ffffff;
}

.apply-bg .apply-box .apply-cont form .similar-chk p.privay-policy {
    font-family: "Noto Sans";
    font-style: normal;
    font-weight: 700;
    letter-spacing: -0.05em;
    font-size: 12px;
    line-height: 16px;
    color: #aaaaaa;
    margin-left: 5px;
    cursor: pointer;
}

.apply-bg .apply-box .apply-cont form a.similar-btn {
    width: 220px;
    height: 50px;
    background: #fff;
    border-radius: 30px;
    display: -webkit-flex;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}

.apply-bg .apply-box .apply-cont form a.similar-btn p {
    font-family: "Noto Sans KR";
    font-style: normal;
    font-weight: 700;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: -0.05em;
    color: #d7133f;
}

/* 240911 */
.apply-bg .apply-box .apply-cont form .similar-input.similar-input2 .similar-radio-box.similar-radio-box2.similar-radio-box1 {}

.apply-bg .apply-box .apply-cont form .similar-input.similar-input2 .similar-radio-box.similar-radio-box2.similar-radio-box1 .form-wrap {}

.apply-bg .apply-box .apply-cont form .similar-input.similar-input2 .similar-radio-box.similar-radio-box2.similar-radio-box1 .form-wrap label {
    display: block;
    padding-left: 0;
    padding-top: 15px;
}

.apply-bg .apply-box .apply-cont form .similar-input.similar-input2 .similar-radio-box.similar-radio-box2.similar-radio-box1 .form-wrap label::before {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

/* 240920 */

.trim-pop .list-box .lineup-title {
    padding: 20px 30px;
    margin-top: 10px;
    border-radius: 5px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    width: fit-content;
    border: 1px solid #d7133f;
}

.trim-pop .list-box .lineup-title p {
    font-family: "Montserrat";
    font-size: 14px;
    font-weight: 700;
    line-height: 17.07px;
    letter-spacing: -0.02em;
    color: #d7133f;
}

@media screen and (max-width:768px) {
    .popup-inner {
        padding: 20px;
        width: 320px;
        height: 400px;
    }

    .popup-content {
        padding-top: 20px;
        font-size: 0.857rem;
        line-height: 18px;
    }

    .popup-content-inner {
        max-height: 250px;
    }
}

@media (max-width: 720px) {
    .trim-pop .btn-box button {
        padding: 0px 12px;
        color: #aaa;
        margin-bottom: 10px;
        margin-left: 10px;
        flex-shrink: 0;
    }

    .trim-pop .popup-inner {
        width: calc(100% - 40px);
        min-height: 500px;
        height: calc(100vh - 40px);
        padding: 40px 20px;
    }

    .trim-pop .list-box {
        height: 260px;
    }

    .trim-pop .list-box button {
        flex-direction: column;
        padding: 25px 20px;
    }

    .trim-pop .list-box button .selec-tbox p {
        font-size: 16px;
        line-height: 19.5px;
        letter-spacing: -0.02em;
        flex-wrap: wrap;
        padding-left: 30px;
    }

    .trim-pop .list-box button .selec-tbox {
        display: -webkit-flex;
        display: flex;
        justify-content: flex-s;
        width: 100%;
    }

    .trim-pop .list-box button .price-box {
        display: -webkit-flex;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        width: 100%;
        margin-top: 20px;
    }

    .trim-pop .list-box button .selec-tbox p::before {
        content: '';
        position: absolute;
        left: 0;
        margin-right: 0;
    }

    .trim-pop .list-box button .price-box p.txt2 {
        margin-top: 5px;
    }

    .trim-pop p.tit {}

    .trim-pop .btn-box {
        flex-wrap: nowrap;
        overflow-x: scroll;
    }

    /* 240920 */
    .trim-pop .list-box .lineup-title {
        padding: 15px;
    }

    .trim-pop .list-box .lineup-title p {
        /* font-size: 16px;
        line-height: 19.5px;
        letter-spacing: -0.02em; */
    }
}