﻿

/*.footer {
    padding-bottom: 4rem;
}
@media (max-width: 768px) {

    .footer {
        padding-bottom: 7rem;
    }
}
@media (max-width: 360px) {

    .footer {
        padding-bottom: 9rem;
    }
}

.wrap {
    margin-top: 120px;
}
@media (max-width: 768px) {
    .wrap {
        margin-top: 100px;
    }
}
.wrap .step {
    padding-bottom: 3rem;
}*/


.step{
    border: none !important;
}


p,
span{
    word-break: keep-all;
}


.op_div:not(:first-of-type){
    margin: 12rem 0;
    display: none;
}
.op_div:first-of-type {
    display: block;
}

/*마지막 항목 marginX*/
.usimtype,
.esimtype{
    margin-bottom: 5rem !important;
}


.open_obj{
    padding: 1rem;
}


.op_div label img{
    width: 40px;
}

.guide_text{
    width: 100%;
    padding: 0.93rem;
    background: #fff;
    color: #949CA2;
    line-height: 160%;
    font-size: 0.87rem;
    display: block;
}

.guide_text button{
    text-decoration: underline;
    color: #949CA2;
}

.guide_text span{
    display: block;
    margin-top: 0.5rem;
    line-height: 140%;
}

.benefit{
    background: none;
    text-align: left;
    font-size: 0.93rem;
    font-weight: 600;
    color: var(--sub-color);
    text-decoration: underline;
    margin-top: 5px;
    cursor: pointer;
    display: block;
}

/* 우측 붙이기 */
.alone{
    display: block;
    margin-top: 2rem;
}

/* 요금제 */
.choice2 .open_obj:first-child{
    width: 70%;
}
.choice2 .open_obj:last-child{
    width: 28%;
}
.choice2 .open_obj:last-child input[type="radio"] + span {
    line-height: 64px;
    padding-top: 0;
}


/* 요금제 모달창 */
.planbox .modal_wrap{
    max-width: 700px;
}
.planbox>div>h3{
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px dashed #E1E1E1;
}
.plantype{
    max-height: 500px;
    height: 80%;
    overflow-y: auto;
    padding: 0 0.9rem;
}
.plantype .n_post{
    text-align: right;
}
.type_det{
    text-align: left;
}
.planbox .next_btn{
    margin-top: 10px;
}
.planbox .opt_obj input[type="radio"] + span {
    height: 2.6rem;
    line-height: 2.6rem;
    padding: 0 1.1rem;
    font-size: 0.93rem;
}
.wrap .planbox .toolbar>* {
    font-size: 0.93rem;
}
/* 요금제 */
.data_mid{
    display: block;
}
.data_mid1 {
    margin-bottom: 0.8rem;
}
.p_type{
    width: 100%;
    margin: 20px auto;
    display: flex;
    justify-content: space-between;
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 15px;
}
.click{
    border: 1px solid var(--sub-color);
}
.data_wrap {
    cursor: pointer;
}
.data_wrap.selected, .data_wrap:hover, .empty:hover {
    border: 1px solid var(--sub-color);
    box-shadow: 4px 4px 10px rgba(125, 125, 125, 0.25);
}

.data_top{
    min-height: 26px;
}



/* 스크롤 커스텀 */
.plantype::-webkit-scrollbar {
    width: 13px;
    cursor: pointer;
}
.plantype::-webkit-scrollbar-thumb {
    background-color: #c1c1c1;
    border-radius: 10px;
    padding-right: 5px;
    background-clip: padding-box;
    border: 2px solid transparent;
    cursor: pointer;
}
.plantype::-webkit-scrollbar-track {
    background: #fff;
    border-radius: 10px;
    box-shadow: inset 0px 0px 5px white;
}


/* 결합상품 슬라이더 */
.device_option{
    display: none;
}
.device{
    max-width: 590px;
    width: calc(100% - 100px);
    margin-right: 0 !important;
    margin-bottom: 12px;
}
.device .swiper-slide{
    background: #fff;
    border: 1px solid #c9c9c9;
    border-radius: var(--border-15px);
    padding: 15px;
    cursor: pointer;
}
.device p{
    margin-top: 0.8rem;
    font-weight: 600;
    font-size: 0.93rem;
}
.device img{
    width: 100%;
    max-width: 400px;
    border-radius: var(--border-15px);
}
.device .swiper-slide.selected {
    border: 2px solid var(--sub-color); 
}
.device .swiper-slide.selected p{
    color: var(--sub-color);
}

/* 결합상품 스크롤로 보여주기 */
.device_div .open_obj input[type="radio"] + span {
    line-height: 64px;
    padding-top: 0;
    margin-bottom: 0.64rem;
}
.device_div > div{
    background: var(--bg2-color);
    border: 1px solid var(--sub-color);
    border-radius: var(--border-15px);
    color: var(--sub-color);
    height: 128px;
    overflow-y: auto;
    display: grid;
    align-items: center;
    justify-content: center;
    row-gap: 12px;
    padding: 10px 0;
}
.device_div p{
    font-size: 0.93rem;
    font-weight: 600;
    line-height: 190%;
}
/* 스크롤 커스텀 */
.device_div > div::-webkit-scrollbar {
    width: 10px;
    cursor: pointer;
    padding: 14px;
    height: calc(100% - 10px);
}
.device_div > div::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 10px;
    background-clip: padding-box;
    cursor: pointer;
}
.device_div > div::-webkit-scrollbar-track {
    background: var(--bg2-color);
    border-radius: 10px;
    box-shadow: inset 0px 0px 5px var(--bg2-color);
}




.esim_model h5{
    color: var(--sub2-color);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.esim_model p{
    color: #949CA2;
}

.esim_model img{
    margin: 2rem 0 1rem 0;
    width: 100%;
}




/* 유심없음 상세 */
.n_usim{
    display: none;
    padding:1.2rem 0.8rem;
    margin-bottom: 12px;
    text-align: left;
}
.n_usim>h4{
    font-weight: 600;
}
.n_usim>p{
    font-size: 0.82rem;
}
.n_usim span{
    color: red;
}



/* 버튼 공통 (유심구매하러가기, esim 확인) */
.sub_btn{
    background: var(--sub-color);
    width: 100%;
    height: 64px;
    color: #fff;
}

/* esim 상세 */
.esim_btn{
    margin-bottom: 12px;
}
.esim_btn button:not(:last-child){
    margin-bottom: 1rem;
}

/* 카드혜택 안내 */
.card_tit{
    margin-bottom: 10px;
    align-items: center;
}
.card_tit p{
    font-size: 1rem;
    font-weight: 600;
    color: #595959;
}
.card_tit i{
    font-size: 1.5rem;
    cursor: pointer;
}
.card{
    max-width: 490px;
}
.card img{
    height: 80px;
    width: auto;
    /*margin-top: auto;*/
}

.ycard .alone{
    padding: 1rem;
}
.ycard .swiper-slide>div{
    margin-right: 0.5rem;
}
.card .swiper-slide{
    display: flex;
    justify-content: space-between;
    width: 100%;
    min-height: 80px;
    /*align-items: flex-end;*/
    background: #fff;
    margin: 10px 0;
    border-radius: var(--border-15px);
    cursor: pointer;
}
.card strong{
    display: block;
    text-align: left;
    font-weight: 600;
}
.card p{
    line-height: 160%;
    text-align: left;
}

/* 제휴카드 스크롤바 공통 */
.wrap .swiper-scrollbar{
    height: 10px;
    margin-top: 10px;
    background: #EBEBEB;
}
.wrap .swiper-scrollbar-drag {
    background: #B5B5B5;
}


/* 유심 */
.modal{
    display: none;
}
.usimtype, .esimtype{
    display: none;

}

/*유심번호 확인방법*/
/* ESIM 상세 */
.usimnum_check,
.esim_check{
    width: 100%;
    height: auto;
    background-color: var(--bg2-color);
    padding: 2rem;
    border-radius: 25px;
    text-align: center;
}

.usimnum_check p:first-child{
    font-size: 1.13rem;
    font-weight: 600;
    color: var(--sub2-color);
}

.usimnum_check p:nth-child(2){
    margin-top: 1rem;
    color: #949CA2;
}

.usimnum_check img,
.esim_check1 img,
.s_imei img,
.a_imei img{
    width: 80%;
    margin-top: 2rem;
}


@media (max-width:580px){

    .usimnum_check img,
.esim_check1 img,
.s_imei img,
.a_imei img{
        width: 100%;
    }

}



.opt_box{
    width: 100%;
}


.esim_open{
    cursor: pointer;
}

.esim_open img {
    transition: transform 0.3s ease;
}

.esim_open.active img {
    transform: rotate(180deg);
}



.esim_check{
    text-align: left;
    margin-bottom: 1rem;
}



.esim_check1,
.esim_check2 {
    display: none;
}


.esim_check1,
.esim_check2,
.s_imei,
.a_imei{
    text-align: center;
}

.esim_check2{
    margin: 2rem 0;
}

.esim_check2 input[type="radio"] {
    display: none;
}


.esim_check2 label{
    width: 100%;
    cursor: pointer;
    margin-bottom: 1rem;
}

.esim_check2 label span{
    cursor: pointer;
    width: 100%;
    display: inline-block;
    font-weight: 600;
    color: #D1D1D1;
    padding-bottom: 1rem;
    border-bottom: 2px solid #D1D1D1;
}

.esim_check2 label input[type="radio"]:checked + span{
    color: #000;
    border-bottom: 2px solid #000;
}
.s_imei,
.a_imei{
    max-height: 500px;
    overflow-y: scroll;
}

.esimtype .tit{
    margin-top: 20px;
}
.esimtype .op_div {
    align-items: flex-start;
}
.esimtype .opt_box>div:not(:first-child){
    margin-top: 12px;
}

/* 카드혜택 */
.ycard{
    display: none;
}




/* 하단 고정 메뉴 */
.bottom_menu {
    position: fixed;
    bottom: 0;    
    left: 50%; 
    transform: translateX(-50%); 
    width: 100%;
    max-width: 1200px;
    background-color: #fff;
    padding: 15px 20px;
    z-index: 90;
    box-shadow: 0 -5px 12px 0 rgba(0, 0, 0, .09);
    border-top-left-radius: var(--border-30px);
}
.top_content {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.top_content>ul{
    display: flex;
}
.top_content li:first-child{
    margin-right: 3rem;
}
.top_content li:last-child strong{
    color: var(--sub-color);
}
.top_content p{
    color: #505050;
    margin-bottom: 6px;
}
.top_content strong{
    font-size: 1.4rem;
    font-weight: 800;
    color: #505050;
}
.detail_menu {
    position: absolute;
    bottom: 98px;
    left: 0;
    width: 100%;
    background: #F9F9F9;
    z-index: 998; 
    display: flex; 
    box-shadow: 0 -5px 12px 0 rgba(0, 0, 0, .09);
    padding: 15px 30px;
    border-radius: 15px 15px 0 0;
    color: #505050;
    border-bottom: 1px dashed #CDCDCD;
}
.detail_menu ul {
    display: flex;
    justify-content: space-between;
}
.detail_menu li:nth-child(2){
    text-align: right;
}
.detail_menu li>*{
    line-height: 180%;
}
.detail_menu strong{
    font-weight: 800;
}
.left-content, .right-content {
    width: 43%;
}
.left-content{
    margin-right: 5rem;
}


.toggle-btn {
    width: 80px;
    height: 32px;
    position: absolute;
    right: 0;
    top: -30px;
    padding: 0;
    border: none;
    cursor: pointer;
    outline: none;
    border-radius: 15px 15px 0 0;
    box-shadow: 0 -10px 12px 0 rgba(0, 0, 0, .1);
    background: #fff;
    z-index: 999;
}
.toggle-btn img{
    transition: all 0.5s ease;
}
.bottom_menu .next_btn {
    border: none;
    cursor: pointer;
    height: 68px;
    line-height: 68px;
    width: 300px;
    font-weight: 600;
    font-size: 1.1rem;
    margin: 0;
}

@media (max-width:1200px) {
    .wrap>div {
        width: 88%;
    }
    .step1_wrap {
        display: block;
    }
    .left{
        width: auto;
    }
    .item_banner{
        max-width: 1040px;
        height: auto;
    }
    .point_banner{
        margin: 0.8rem 0;
    }
    .point_banner p{
        display: none;
    }

    .right{
        margin-top: 60px;
    }
    .device {
        max-width: none;
    }
    .card {
        max-width: 1040px;
    }
    .card .swiper-slide {
        align-items: center;
    }
    
    /* 하단메뉴 */
    .bottom_menu {
        width: 94%;
    }
}


    

@media (max-width: 984px) {
    /* 하단메뉴 */
    .bottom_menu {
        width: 94%;
        padding: 1rem 1.5rem;
    }
    .top_content {
        display: block;
    }
    .top_content>ul {
        display: block;
        justify-content: space-around;
    }
    .top_content li{
        display: flex;
        line-height: 150%;
        justify-content: space-between;
    }
    .top_content li:first-child {
        margin-right: 0;
    }
    .top_content strong {
        font-size: 1rem;
    }
    .bottom_menu .next_btn{
        width: 100%;
        height: 60px;
        line-height: 60px;
    }
    .detail_menu {
        bottom: 151px;
        display: block;
    }
    .detail_menu ul{
        margin-bottom: 0.8rem;
    }
    .detail_menu li:first-child{
        text-align: left;
    }
    .left-content, .right-content {
        width: 100%;
    }
    .left-content {
        margin-right: 0;
    }
    .right-content{
        margin-bottom: 1.3rem;
    }

}


@media (max-width:768px) {
    .wrap>div {
        width: 100%;
    }    
    select {
        height: 64px;
    }


}
@media (max-width:580px) {
    .device {
        width: calc(100% - 68px);
    }
    .card .swiper-slide {
        display: block;
        text-align: center;
    }
    .card strong {
        text-align: center;
        margin-bottom: 0.5rem;
    }
    .card p {
        text-align: center;
    }
    .card img{
        margin-top: 0.8rem;
    }
    .benefit {
        font-size: 13px;
    }
    .alone {
        width: calc(100% - 68px);
    }
    .wrap .data_div{
        display: none;
    }
    .data_div .flex{
        display: block;
    }
    .data_div .choice2 .open_obj input[type="radio"] + span {
        margin-bottom: 12px;
    }
    
    .detail_menu {
        bottom: 149px;
    }

    /* 하단메뉴 */
    .toggle-btn {
        height: 30px;
        top: -25px;
    }
        .detail_menu {
        bottom: 145px;
    }

}


@media (max-width:480px) {

    .op_div {
        display: block;
        margin-bottom: 2rem;
    }

    .alone {
        width: 100%;
        margin-bottom: 2rem;
    }
    .margin{
        margin-bottom: 8px;
    }
    .tit{
        display: flex;
    }

    .device {
        width: 100%;
    }
    .benefit {
        margin-top: 0;
    }
    .n_usim {
        margin-top: -20px;
    }
    .n_usim button {
        height: 56px;
    }

    .bottom_menu {
        height: 145px;
    }
    .detail_menu {
        bottom: 145px;
    }
    /*.data_div{
        display: block !important;
    }*/
}
