#album{
    padding-bottom: 61px;
}
.prev{
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    padding: 0 13px;
}
.product img{
    width: 100%;
}
.product .main_info{
    padding: 20px;
}
.product .line{
    text-decoration: line-through;
    color: #bbb;
    margin-top: 4px;
}
.product .amount_info{
    gap: 5px;
    flex-direction: column;
}
.product .amount_info p:last-of-type{
    font-size: 14px;
}
.main_info .present{
    align-items: baseline;
}
.main_info .present p{
    font-size: 13px;
}
.main_info .present b{
    font-size: 16px;
}
.main_info .present b span{
    background: #8a2be2;
}
.product .hanteo{
    display: block;
    background: #fff;
    width: 100%;
    max-width: 500px;
}
.product .hanteo img{
    width: initial;
    max-height: 100px;
    height: auto;
    margin: 0 auto;
}
.product .main_info img{
    width: 13px;
    height: 13px;
    margin: 0 5px;
}
.product .main_info > b{
    display: block;
    margin-bottom: 4px;
}
.product .main_info > .flex{
    margin-bottom: 10px;
    align-items: flex-end;
}
.product .main_info > .flex > b{
    margin-right: 12px;
    font-size: 24px;
}
.product .main_info .flex > p{
    margin-right: 12px;
    font-size: 13px;
    align-items: center;
}
.product .main_info .flex > p b{
    font-size: 16px;
    margin-left: 6px;
}
.product .main_info .nomal{
    margin-bottom: 11px;
}
/* 상품 설명 */
.detail > b{
    display: block;
    text-align: center;
    padding: 12px 17px;
    border-top: 1px solid #fff;
    border-bottom: 1px solid #fff;
}
.detail .detail_text:first-of-type{
    padding: 32px 47px;
    word-break: keep-all;
    text-align: center;
}
.detail .detail_text{
    padding: 27px;
    line-height: 1.3;
}
.detail .detail_img:last-of-type{
    margin-bottom: 30px;
}
.red{
    color: #EE5B5B;
}
#buy_btn{
    font-weight: bold;
    position: fixed;
    bottom: 61px;
    width: 100%;
    max-width: 500px;
    border-radius: 0px !important;
}
#cart_btn{
    border-radius: 5px !important;
    margin: 15px 0;
    font-weight: bold;
    font-size: 14px;
}
/* 장바구니 */
.cart_cover{
    width: 100%;
    height: 100%;
    /* max-width: 500px; */
    position: fixed;
    top: 0;
    left: 50%;
    transform: translate(-50%);
    background: rgba(0, 0, 0, 0.8);
    z-index: 3;
    display: none;
}
.cart_wrap{
    position: fixed;
    bottom: 0;
    width: 100%;
    max-width: 500px;
    background-color: #0f0f17;
    z-index: 3;
    padding: 15px 24px;
    display: none;
    overflow: auto;
    max-height: 100%;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.cart_wrap img{
    width: 100px;
}
.cart_wrap .wrap{
    gap: 17px;
    align-items: center;
}
.cart_wrap > .wrap > .flex{
    width: 100%;
    flex-direction: column;
}
.cart_wrap .amount{
    align-items: center;
}
.cart_wrap .amount button{
    background: #19191E;
    color: #fff;
    border-radius: 5px 0 0 5px;
    padding: 7px 5px;
    font-size: 16px;
    border-color: transparent;
    cursor: pointer;
}
.cart_wrap .amount{
    height: 36px;
}
.cart_wrap .amount button:last-of-type{
    border-radius: 0 5px 5px 0;
}
.cart_wrap .amount b{
    background: #fff;
    color: #000;
    width: 50px;
    height: 100%;
    justify-content: center;
    align-items: center;
}
.cart_wrap .info_name{
    font-size: 13px;
    margin-bottom: 8px;
}
.cart_wrap .info_date{
    font-size: 10px;
    margin-bottom: 6px;
}
.cart_wrap .product{
    align-items: flex-end;
    justify-content: space-between;
}
.cart_wrap .product p{
    display: block;
}
.cart_wrap .product p:first-of-type{
    font-size: 18px;
}
.cart_wrap img{
    width: 88px;
    height: 88px;
}
.cart_total_wrap{
    flex-direction: column;
    justify-content: space-between;
}
.cart_total_wrap > .flex{
    align-items: center;
    justify-content: space-between;
}
.cart_wrap hr{
    margin: 15px 0;
}
.cart_total_wrap p{
    font-size: 13px;
}
.cart_total_wrap b{
    font-size: 21px;
}
/* 응모자 정보 */
.applicant{
    margin-top: 15px;
    /* background: red; */
}
.applicant label{
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 12px;
    display: block;
}
.applicant div{
    margin-bottom: 12px;
}

.checkboxwrap label{
    margin: 0 !important;
    font-weight: bold;
    font-size: 14px;
}
.checkboxwrap .deco{
    text-decoration: underline;
    cursor: pointer;
}
/* 체크박스 커스텀  */
.checkboxwrap{
    margin: 16px 0;
}
.checkboxwrap .flex{
    gap: 10px;
    justify-content: inherit !important;
}
.checkboxwrap .checkbox{
    display: none!important;
}
.checkboxwrap .checkbox + label {
    position: relative;
    border: 1px solid #fff;
    width: 16px;
    height: 16px;
    box-sizing: border-box;
    cursor:pointer;
    border-radius: 3px;
}
.checkboxwrap .checkbox + label:after{
    content: 'done';
    color: #000000;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}
.checkboxwrap .checkbox + label::before{
    content: 'done';
    color: #fff;
}
.checkboxwrap .checkbox:checked + label {
    background: #fff;
    border: 1px solid #fff;
}
.checkboxwrap .checkbox:checked + label:after {
    color: black; 
}
.material-symbols-outlined{
    color: #fff !important;
    font-size: 13px !important;
    font-weight: bold !important;
}
.checkboxwrap .checkbox:checked + .material-symbols-outlined{
    color: #fff;
}
.popup_cover{
    z-index: 3 !important;
}
#terms_popup .popup_header {
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 10px;
}
#terms_popup {
    max-height: 80%;
    max-width: 500px;
    width: 80%;
    overflow: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
#terms_popup .popup_header b{
    margin-left: 0px !important;
}
#terms_popup .left{
    margin-left: 30px;
    display: block;
}
@media (max-width: 499px) {
    .product .amount_info p:last-of-type{
        font-size: 12px !important;
    }
    #terms_popup {
        width: 84%;
    }
    .cart_wrap{
        max-height: 86%;
    }
}