﻿
.wrap .add_b{
    pointer-events:none;
}
/* 동그란 체크 - 선택 버튼 스타일 */
.chk_box2 input[type="radio"] {
    display: block;
}
.chk_box2 span:nth-of-type(1){
    display: none;
}
.chk_box2 {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    margin-left: 5px;
    padding: 0;
    padding-right: 25px;
}
.chk_box2 span {
    font-size: 16px;
    margin-left: 5px;
}

/*기본스타일 제거, 버튼모양 구현*/
.chk_box2 input[type='radio'] {  
  -webkit-appearance: none;  /*웹킷, 모질라, 기본 브라우저에서 기본 스타일 제거*/
  -moz-appearance: none; 
  appearance: none; 

  width: 18px;
  height: 18px;
  border: 2px solid #ccc;  /*체크되지 않았을 때의 테두리 색상*/
  border-radius: 50%;
  outline: none; /*focus 시에 나타나는 기본 스타일 제거*/
  cursor: pointer;
}
/*체크될 시에, 변화되는 스타일 설정*/
.chk_box2 input[type='radio']:checked { 
  background-color: var(--normal-red);  /*체크 시 내부 원 색상*/
  border: 3px solid white;  /*테두리가 아닌, 테두리와 원 사이의 색상*/
  box-shadow: 0 0 0 1.2px var(--normal-red); /*얘가 테두리가 됨*/
  /*그림자로 테두리를 직접 만들어야 함 (퍼지는 정도를 0으로 주면 테두리처럼 보임.)
  그림자가 없으면 그냥 설정한 색상이 꽉 찬 원으로만 나옴*/
}



/* 버튼 2, 3개 선택 */
.wrap h3{
    font-size: 16px;
    font-weight: 800;
    width: 150px;

}
.choice2, .choice3{
       width: 85%;
    margin: auto;
}
.choice2>label{
    margin: auto;
    
}

.choice2{
    display:none;
    justify-content:space-between;
    align-items:center;
}

.choice_img img{
    width: 460px;
    border-radius: 20px;
    border: 1px solid #e5e5e5;
}

.choice_det{
    width: 50%;
    /*border: 1px solid;*/
}

.choice_det table{
    width:100%;
    margin-bottom: 10px;
}
.choice_det table tr{
    height:70px;
}
.det_quest {
    width:100%;
    height:auto;
    background:#f6f6f6;
    padding:16px;
    border-radius:15px;
}
.det_quest h3{margin:0;}

.det_quest p{
        font-size: 14px;
    margin-top: 5px;
    color:#797979;
}

/* span css */
.open_obj input[type="radio"] + span {
display: inline-block;
    width: 275px;
    line-height: 18px;
    height: 60px;
    border-radius: 15px;
    border: 1px solid #d7d7d7;
    color: #444444;
    text-align: center;
    cursor: pointer;
    margin: auto;
}
.open_obj input[type="radio"]:checked + span {
       background:#FFF9EB;
    color: #3A3A3A;
    border : 1px solid var(--normal-red);

}
.choice2 .open_obj input[type="radio"] + span { /* 2개 선택 */
    width: 100% !important;
    line-height: 17px;
    padding-top: 10px;
    font-size: 16px;
    font-weight: 700;
    padding-top: 13px;
}
.choice2 .open_obj span span { /* 2개 선택 - 한줄 추가 설명 */
      display: block;
    font-size: 14px;
    font-weight: 500;
    margin-top: 3px;
}
.choice3 .open_obj input[type="radio"] + span { /* 3개 선택 */
    width: 31.5%;
    line-height: 73px;
    padding-top: 10px;
    font-size: 18px;
    font-weight: 700; 
}
/*.choice2 .open_obj {
    margin-right: 1%; 
    margin-left: 1%; }*/
.choice3 .open_obj {
    margin-right: 0.5%; /* .open_obj의 label 사이 간격을 조절 */
    margin-left: 1%; 
}
.choice2 .open_obj:last-child, .choice3 .open_obj:last-child {
    margin-right: 0; /* 마지막 .open_obj에는 오른쪽 간격을 주지 않음 */
}

/*배송선택*/
.ship label:first-child span {
   margin-right:10px;
}
.ship .open_obj input[type="radio"] + span {
    width: 100% !important;
}

.buyusim_step{
    margin: auto;
    margin-bottom: 110px;
}
.buyusim_step>h2{
    text-align: start;
}
.buyusim_step>h2{
    font-size: 27px;
    font-weight: 700;
    color: #111;
    margin: auto;
    margin-bottom: 26px;
    width: 1020px;
}

.buyusim_step>h2>img{
    width: 40px;
    margin-left: 10px;
    margin-top: -10px;
}

.buyusim_step>div{
        width: 1020px;
    margin: auto;
    margin-bottom: 35px;
}
.buyusim_step div>h3 {
    font-size: 16px;
    width: 150px;
    /*margin: 0 0 18px 5px;*/
}


.shipping_det {
  position:relative;
}

.shipping_det >h3{
    background:#fff;
    margin-bottom:30px;
}

.number, .email, .address{
    margin: auto;
}

/* 배송 */
/*.add_wrap{
    background: #F5F5F5;
    border-radius: 10px;
    padding: 45px 20px 30px 20px;
    margin-top: 12px;
}*/
.add_wrap>div{
    /*max-width: 620px;*/
}
.email{
    margin-bottom: 20px;
}
.opt_minibox{
    margin-bottom: 0;
}
.address button {
    margin-bottom: 0;
}
.address .add_width{
    width: 100%;
    margin: 12px 0;
}
.buyusim_step .address>div:nth-child(5){
    margin-top: 0;
}
/* 배송 시 요청사항 */
.add_wrap>div{
    margin: 0 auto 12px auto;
}
.wrap .request{
    margin: 12px auto 32px auto;
}
.request h3{
    color: #888888;
}
.textarea2{
    box-sizing: border-box;
    width: 100%;
    height: 68px;
    line-height: 68px;
    border-radius: 10px;
    border: 1px solid #E4E4E4;
    background: #fff;
    outline: none;
    text-indent: 20px;
    font-size: 16px;
    font-weight: 600;
    color: #5b5b5b;
    font-family: 'SUIT', sans-serif;
    overflow: hidden;
}

/* 약관 안내 텍스트 */
.notice_text{
    background: #f5f5f5;
    border-radius: 20px;
    padding: 15px 20px;
    margin: 0;
}
.notice_text>p{
    line-height: 25px;
}

/* 약관동의 */
.option>h3{
    text-align: left;
}
.buyusim_step .option{
    margin-top: 40px;
}


.btn100 {
    width: 100%;
}
.m_tit>div p {
    width: 16%;
    color: #757575;
    cursor: pointer;
}
.opt_minibox {
    width: 669px;
    margin: 0 !important;
    margin-bottom: 12px !important;
}

.border_det{
    width: 100%;
    height: 1px;
    border: 1px dashed #ebebeb;
    position:absolute;
    top:10px;
    left:0;
    z-index:-1;
}
/*@media (max-width:1080px) {
    .buyusim_step > div {
        width: 100%;
    }
}*/
@media (max-width:1200px) {
        .buyusim_step > div {
        width: 100%;
    }
.ship label:first-child span {
    margin-right: 21px;
}
    .choice2 {
    flex-direction: column;
}
    .choice_det {
        width: 100%;
    }
    .wrap>.buyusim_step {
        width: calc(100% - 30px);
        margin: auto;
        max-width: 1000px;
    }

    .add_wrap {
        background: none;
        padding: 0;
        margin-top: 12px;
    }
    .pc{
        display:none !important;
    }
    .choice_det table tr {
        display: flex;
        flex-direction: column;
    }
    .opt_minibox {
        width: 100%;
    }


    .btn100 {
    width: calc(100% - 60px);
}
    .btnfix{
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 130px;
    background: linear-gradient(360deg, white, white, white, transparent);
    }
        .wrap {
    padding-bottom: 90px;
}
        footer{
            display:none;
        }
        .choice_det table tr {
    height: 110px;
}

  .choice_det table tr td:first-child{
    font-size:14px;
    font-weight:bold;
    height:24px;
}

.m_tit > div p {
    margin-right: 10px !important;
}
.choice_det table {
    width: 100%;
    margin-bottom: 6px;
}
.choice_img{
    margin-bottom: 22px;
}
.request h3 {
    padding-top: 33px;
    display: inline-block;
    margin-bottom: 11px;
}
    .choice_img img{
            width: 78%;
    margin: auto;
    display: block;
    }
   .buyusim_step> h2 {
    font-size: 26px;
    /* margin-bottom: 13px; */
}
    .buyusim_step>h2>img {
    width: 34px;
    margin-left: 7px;

}
}


@media(max-width:768px) {
    .buyusim_step > h2 {
        font-size: 20px;
    }
    .ship{
        white-space:nowrap;
    }
    .ship label:first-child span {
    margin-right: 10px;
}
  .open_obj input[type="radio"] + span{
          padding-top: 15px;
    }
    .open_obj input[type="radio"] + span {
      
        height: 70px;
    }
}

@media (max-width:580px) {
  .buyusim_step> h2 {
    font-size: 20px;
    line-height: 40px;
        margin-bottom: 20px;
}
    .choice2 .open_obj span span {
    font-size: 12px;
    margin-top: -1px;
}
    .wrap > .buyusim_step {
        width: calc(100% - 30px);
    }
    .choice_img img{
            width: 100%;

    }
    .btn100 {
        width: calc(100% - 30px);
        height: 70px !important;
    }
    .btnfix {
        height: 100px;
    }

    .buyusim_step div>h3 {
        font-size: 14px;
        width: 110px;
    
    }
    .wrap .request {
        margin: 12px auto 20px auto;
    }
    
        .choice_wrap>div:nth-child(1), .choice_wrap>div:nth-child(2) {
        margin-bottom: 30px;
        }
        .choice_text {
        font-size: 12px;
        margin-top: 0;
        }
        .buyusim_step>div {
        margin-bottom: 35px;
    }

        .choice2 .open_obj {
         margin-left: 0%; 
        }
        .choice2 .open_obj input[type="radio"] + span, .choice3 .open_obj input[type="radio"] + span {
        font-size: 14px;
        }

        .choice2 .open_obj span span {
        font-size: 14px;
        }
        .choice2 .open_obj input[type="radio"] + span {
            line-height: 20px;
        }
        .choice3 .open_obj input[type="radio"] + span {
            line-height: 58px;
        }


        .choice3 .open_obj input[type="radio"] + span {
        width: 30%;
        margin-left: 1.2%;
        }


    .textarea2 {
        height: 62px;
    }

}


 @media (max-width:360px) {

         .textarea2 {
        height: 58px;
    }

 }

.modal_wrap h3 {
    font-weight: 800; /* 굵게 설정 */
    font-size: 20px; /* 필요시 크기 조정 (기존 스타일에 맞게 조절 가능) */
    text-align: center;
}

.modal_wrap p {
    line-height: 1.6; 
    margin-bottom: 25px;
    text-align: center;
}

button:disabled {
    background-color: #cccccc !important;
    cursor: not-allowed !important;
}

.modal_btn1.btn_cancel {
    background: #ededed;
    color: #484848;
}

.shipping_guide {
    font-size: 14px;
    font-weight: 600;
    color: #999999;
    margin: 10px 0 20px 0;
}