
#add_on_pop .txt_s{
    font-size: 1rem;
}
#add_on_pop .txt01_yf{
    font-size: 1.1rem;}
#add_on_pop .txt02_yf{
    font: message-box;
    font-size: 1.2rem;
    font-weight: bold;
}
#add_on_pop .txt03{
    font-size: 1.3rem;}
#add_on_pop .txt04{
    font-size: 1.5rem;}
#add_on_pop .t_Black{
    width: 98%;
    color: #333;}

#add_on_pop .t_red{
    color: #da0000;}

/*============pop============*/
.PC #add_on_pop{
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.5);
    position: fixed;
    top: 0;
    z-index: 9999;
    line-height: 1.6em;

}
    .MOBILE #add_on_pop{
        width: 100%;
        height: 100vh;
        overflow: hidden;
        background-color: rgba(0, 0, 0, 0.5);
        position: fixed;
        top: 0;
        z-index: 9999;
    }

.PC #add_on_pop .popup{
    position: fixed;
    z-index: 20;
    max-width: 85%;
    width: 450px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: 0 auto;
    background: #ffffff;
    box-shadow: 0px 0px 20px rgb(0 0 0 / 50%);
    border-radius: 10px;
}

    .MOBILE #add_on_pop .popup{
        position: fixed;
        z-index: 20;
        max-width: 95%;
        width: 100%;
        top: 55%;
        left: 50%;
        transform: translate(-50%, -50%);
        margin: 0 auto;
        background: #ffffff;
        box-shadow: 0px 0px 20px rgb(0 0 0 / 50%);
        border-radius: 10px;
    }

/*============pop============*/


/*============pop標題============*/
#add_on_pop .popup_header{
    width:100%;
    height: auto; 
    }


/*標題群組*/
#add_on_pop .title_group{
    width:100%;
    height: auto;
    overflow:hidden;
    margin:0 auto;  
}

/*標題*/
#add_on_pop .popup .title_img img{
    width: 100%;
    height: auto;
    border-radius: 10px 10px 0 0;
}

#add_on_pop .popup .title_bar{
    font-size:1.5rem;
    line-height: 50px;
    font-weight: bold;
    color:#fff;
    background-color: #dc631a;
    text-align: center;
    border-radius: 10px 10px 0 0;  

}
    .MOBILE #add_on_pop .popup .title_bar{
        font-size:1.5rem;
    }

/*關閉按鈕容器*/
#add_on_pop .close_yf{
    width:45px;
    height: 45px;
    overflow:hidden;
    position: fixed;
    right: 0px;
    /*top:-50px;*/
    z-index: 100;
}

#add_on_pop .close_yf a{
    display: block;
    width:45px;
    height: 45px;
    font-size:24px;
    position: relative;
    text-indent: -9999px;
    
}

#add_on_pop .popup .close_yf a::before{
    content: "";
    position: absolute;
    height: 30px;
    width:3px;
    top: 10px;
    right: 50%;
    background-color: #fff;
    color: #fff;
    transform: translate(50%) rotate(45deg);
}

#add_on_pop .popup .close_yf a::after{
    content: "";
    position: absolute;
    height: 30px;
    width: 3px;
    top: 10px;
    right: 50%;
    background-color: #fff;
    color: #fff;
    transform: translate(50%) rotate(315deg);
}

/*============pop內容區塊============*/
#add_on_pop .model_content{
    width:100%;
    min-height:250px;
    overflow:auto;
    box-sizing: border-box;
    max-height: 450px;
    padding: 3%;
}
    .MOBILE #add_on_pop .model_content{
        width:100%;
        min-height:250px;
        overflow:auto;
        box-sizing: border-box;
        max-height: 400px;
        padding: 3%;
    }

/*============加購項目============*/
#add_on_pop .pr_item{
    width: 100%;
    height: auto;
    overflow: hidden;
}

#add_on_pop .pr_item .title_inbar{
    width: 100%;
    height: 45px;
    font-weight: bold;
    line-height: 45px;
    text-indent: 10px;
    
}
    #add_on_pop .pr_item .bar01{
        border-radius: 5px 5px 0 0;
        background-color: #ffeee4;
        border-top: 1px  solid #ffd8c1;
        border-right: 1px  solid #ffd8c1;
        border-bottom: 1px  solid #ffd8c1;
        border-left: 5px  solid #dc631a; 
        
    }
    #add_on_pop .pr_item .bar02{
        background-color: #fff9d8;
        border: 1px  solid #f0d852;
        border-left: 5px  solid #dc631a;
    }


#add_on_pop .pr_item .con01{
    width: 100%;
    height: auto;
    overflow: hidden;
}
#add_on_pop .pr_item .con02{
    width: 100%;
    height: auto;
    overflow: hidden;
    background-color: #fff9d8;
    border-right: 1px  solid #ffd8c1;
    border-left: 1px  solid #ffd8c1; 
    border-bottom: 1px  solid #ffd8c1;
    border-radius:0 0 5px 5px;  
}
#add_on_pop .pr_item .con_box{
    width: 100%;
    height: auto;
    overflow: hidden;
    margin: 0 auto;
    padding: 10px;
}

#add_on_pop .pr_item .pr_list{
    width: 100%;
    height: auto;
    overflow: hidden;
    text-align: left;
}
#add_on_pop .pr_item .pr_list ul{
    width: 100%;
    height: auto;
    overflow: hidden;
}
#add_on_pop .pr_item .pr_list li{
    width: 100%;
    height: auto;
    overflow: hidden;
    border-bottom: 1px  solid #dfdfdf;
}
#add_on_pop .pr_item .pr_list li:first-child{
    border-top: 1px  solid #dfdfdf;
}

#add_on_pop .pr_item .pr_list li.SE_LINE{
    background-color: #ffeee4;
}
#add_on_pop .pr_item .pr_list li a{
    display: block;
    width: 99%;
    height: auto;
    overflow: hidden;
    padding: 8px;    
}
.PC #add_on_pop .pr_item .pr_list li a:hover{
    background-color: #ffeee4;
}
#add_on_pop .ADD_icon{
    display: inline-block;
    width:50px;
    height: 25px;
    color: #dc631a; 
    line-height: 25px;
    text-align: center;
    font-size: 1rem;
    margin-right: 5px;
    border-radius:5px;
    margin-bottom: 5px;
    border: 1px solid #dc631a; 
}


#add_on_pop .pr_item label{
    margin:8px 0 8px 0;
    }
    .MOBILE #add_on_pop .pr_item label{
        margin:12px 0 12px 0;
    }


/*label 預設內容*/
#add_on_pop .check_group .case{
    display: inline-block;
    position: relative;
    cursor: pointer;
    font-size: 1.2rem;
    padding-left:35px;
    padding-right:25px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    line-height:1.65rem;
    width: 90%;
    -webkit-box-sizing: content-box;
}

/*將預設的核取方塊隱藏*/
#add_on_pop .case input{
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

/*添加自訂核取外框*/
#add_on_pop .case .checkmark{
    position: absolute;
    top: 0;
    left: 0;
    height: 25px;
    width: 25px;
    border-radius: 5px;
    background-color: #eee;
    }
    /*滑鼠移過效果*/
    #add_on_pop .case:hover input ~ .checkmark {
        background-color: #ccc;
    }
    /*滑鼠已選到效果*/
    #add_on_pop .case input:checked ~ .checkmark {
        background-color: #dc631a;
    }

/*若沒被選到隱藏*/
#add_on_pop .case .checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

/*顯示自訂勾選符號*/
#add_on_pop .case input:checked ~ .checkmark:after {
    display: block;
}

#add_on_pop .case .checkmark:after {
    left: 9px;
    top: 5px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}









/*============pop表尾區塊============*/
#add_on_pop .model_footer{
    width:100%;
    height: auto;
    overflow:hidden;
    margin:0 auto;
    box-shadow: 0px -10px 10px 0px rgba(0, 0, 0, 0.1);
}

#add_on_pop .model_footer .bt_group{
    width:95%;
    height: auto;
    overflow:hidden;
    margin: 0 auto;
}
    #add_on_pop .model_footer .bt_group02{
        width:95%;
        height: auto;
        overflow:hidden;
        margin: 10px auto;
    }
    #add_on_pop .model_footer .bt_group02 a{
        display: block;
        width:50%;
        height: auto;
        overflow:hidden;
        border-radius: 8px;
        text-align: center;
        text-decoration: none;
        padding: 10px 0;
        font-size: 1.2rem;
        font-weight:bold; 
        margin: 0 auto;
        cursor: pointer;
    }

#add_on_pop .model_footer .bt_group ul{
    width:100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
    align-content:center;
    padding:10px 0;
    }


#add_on_pop .model_footer .bt_group li:first-child{
    width: 60%;
    line-height: 45px;
}
#add_on_pop .model_footer .bt_group li:last-child{
    width: 40%;
}

#add_on_pop .model_footer .bt_group li a{
    display: block;
    width:100%;  
    border-radius: 8px;
    text-align: center;
    text-decoration: none;
    padding: 10px 0;
    font-size: 1.2rem;
    font-weight:bold; 
    }
    #add_on_pop .confirm{
        color:#000;
        background-image: linear-gradient(to top, #ffae00, #ffe42d);
        border: 1px solid #f49500;
    }

    #add_on_pop .confirm:hover{
        background-image: linear-gradient(to top, #ffe42d, #ffae00);
    }


#add_on_pop .model_footer .bt_group span.s_text{
    font-size: 0.9rem;
}
#add_on_pop .model_footer .bt_group span.b_text{
    font-size: 1.1rem;
}


/*提醒說明區塊開始*/
#add_on_pop .section_notice02{
    width:95%;
    height: auto;
    overflow: hidden;
    margin:0 auto;
}

#add_on_pop .section_notice02 span{
    font-size:0.9em;
    color:#e42f2f;
}

#add_on_pop .section_notice02 ul{
    width: 100%;
    list-style: decimal;
    list-style-position: inside;
}

#add_on_pop .section_notice02 li{
    box-sizing: border-box;
    font-size:0.9em;
    line-height:1.7em;
    color:#e42f2f;
}

/* 新增圖片區 的調整*/
#add_on_pop .check_group .case{
    display: inline-flex;
}

#add_on_pop .check_group .group{
    display: block;
    width: 100%;
    height: auto;
    overflow: hidden;
    padding: 8px;
}

/* 左側圖圖 */
#add_on_pop .check_group .case .product_box {
    display: block;
    margin-right: 8px;
    width: 100px;
}

#add_on_pop .product_pic {
    display: flex;
    flex-shrink: 0;
    width: 100px;
    height: 100px;
    text-indent: -9999px;
    background-size: cover;
    border-radius: 50px;
    border: 1px solid #dc631a;
    background-repeat: no-repeat;
}

#add_on_pop .pr_item .pr_list li a.product_intro {
    color: #40a7fe;
    font-size: 1rem;
}

#add_on_pop .pr_item .pr_list li a.product_intro:hover {
    text-decoration: underline;
}

/* 右側文字 */
#add_on_pop .check_group .case .product_data {
    display: block;
}

#add_on_pop .check_group .group .txt_s{
    display: block;
}
.PC #add_on_pop .check_group :hover {
    background-color: #ffeee4;
}

  @media screen and (min-device-width: 481px) and (max-device-width: 1025px) {
        .PC #add_on_pop .check_group :hover {
            background-color: transparent !important;
        }
      }


input[type="radio"] {
    display: none;
}