body[type="list"]{

    section.service_list{
        display: block;
    }

}
body[type="gocart"]{

    section.gocart{
        display: block;
    }


    section.gocart .in {
        padding: 30px;
        background-color: #ffffffc9;
        margin-bottom: 30px;
        margin-left: 20px;
        margin-right: 20px;
        padding-bottom: 30px;
    }


}




section.gocart{
    display: none;

    .goback{
        margin-bottom: 40px;
    }


    

    .parts[thetype="check"]{

        .table {
            .table_each.tbody{
                    background-color: #ffffffa3;
                    margin-bottom: 10px;
            }
            
            & .table_each.tfoot{
                margin-top: 15px;
                background-color: #ffffffa3;
            }

            .table_each{

                .removeit{
                    position: absolute;
                    background-color: #d6d6d6;
                    width: 25px;
                    height: 25px;
                    line-height: 25px;
                    border-radius: 50px;
                    top: 7px;
                    left: -12px;
                    font-size: 13px;
                    color: #FFF;
                    cursor: pointer;
                    user-select: none;
                    
                    &:hover{
                        background-color: #bdbdbd;
                    }
                    &:active{
                        background-color: #989898;
                    }
                }

            }
        }

        form{
            width: 400px;
            margin: auto;
        }

        .total{
            font-weight: bold;
            color: #6563aa;
        }

        .text{
            text-align: center;
            font-size: 16px;
            margin: 17px;
            color: #555;
        }

        .btn{
                margin-bottom: 50px;
        }

        .status{
                padding: 20px;
                background-color: #ffffffa3;
                margin-top: 20px;
                margin-bottom: 20px;
                font-size: 15px;
                text-align: left;

                &.note{
                        width: 400px;
                        margin: auto;
                        max-width: 100%;
                        margin-bottom: 20px;
                        background: none;
                        padding: 0;

                        ol{
                                padding-inline-start: 25px;
                        }

                    li{
                        list-style: unset;
                        line-height: 1.8;
                    }
                    
                }

        }

    }

    .parts[thetype="success"]{


        .bigicon{
            border: 3px solid #a7a7d3;
            width: 150px;
            height: 150px;
            border-radius: 100px;
            margin: auto;
            margin-bottom: 25px;

            span{
                font-size: 70px;
                color: #a7a7d3;
                line-height: 150px;
            }
        }

        .text{
            text-align: center;
            font-size: 15px;
            margin-bottom: 30px;
        }

        .status{
                padding: 20px;
                background-color: #ffffffa3;
                margin-top: 20px;
                margin-bottom: 20px;
                font-size: 15px;

                &.person{
                    width: 400px;
                    margin: auto;
                    max-width: calc(100% - 40px);
                    border: 2px dashed #dfdfdf;
                    margin-bottom: 20px;
                    
                }

                &.atm{
                    width:400px;
                    margin: auto;
                    max-width: calc(100% - 40px);
                    margin-bottom: 20px;
                    
                }
                &.note{
                        width: 400px;
                        margin: auto;
                        max-width: 100%;
                        margin-bottom: 20px;
                        background: none;
                        padding: 0;

                        ol{
                                padding-inline-start: 25px;
                        }

                    li{
                                        list-style: unset;
                    }
                    
                }

                li{
                    text-align: left;
                    line-height: 1.8;

                    .value{
                        display: inline-block;
                    }
                }
        }
    }


}


section.service_list{
    display: none;

    .service_closed_message{
        color: #676767;
        padding: 42px;
        margin: 25px;
        font-size: 18px;
        background-color: #ffffffde;
        border-radius: 13px;
        margin-bottom: 60px;
    }

    .types{
        margin-bottom: 30px;

        li{
            display: inline-block;
            text-align: center;
            background-color: #f4f4f4;
            width: 130px;
            text-align: center;
            height: 53px;
            line-height: 53px;
            border-radius: 35px;
            font-size: 18px;
            cursor: pointer;
            padding-left: 20px;

            &.active{
                background-color: #ebebff;
            }

            img {
                height: 40px;
                position: absolute;
                top: 6px;
                left: 10px;
            }
        }
    }

    .goto{
        margin-bottom: 40px;
    }
    

    .each{
        background-color: #ffffffc9;
        height: 400px;
        margin-bottom: 30px;
        display: none;

        .photo{
            background-color: #d1e4f6;
            padding-bottom: 35%;
            width: 500px;
            position: absolute;
            top: 30px;
            left: 30px;
            border-radius: 10px;
            overflow: hidden;
            background-size: cover;
            background-position: center;
        }

        .in{
            text-align: left;
            padding-left: 560px;
            padding-right: 30px;
            padding-top: 30px;

            .theicon {
                background-color: #249da366;
                width: 70px;
                height: 70px;
                border-radius: 8px;
                position: absolute;
                background-size: 80%;
                background-position: center;
                background-repeat: no-repeat;
            }
            .thename {
                margin-left: 90px;
                margin-bottom: 5px;
                font-size: 18px;
                margin-top: 7px;
                font-weight: 500;
            }
            .thename_en {
                margin-left: 90px;
                color: #4dbdc8;
                font-size: 19px;
                margin-bottom: 18px;
            }
            .text {
                text-align: left;
                font-size: 18px;
                line-height: 1.8;
            }
            .theprice {
                margin-top: 20px;
            }
        }
    }
}

section.service_list .multi-fee-notice {
    color: #050505;
    font-size: 16px;
    letter-spacing: 0.04em;
    line-height: 1.6;
    margin: -12px 0 28px;
    text-align: center;
}

.service_list[thetype="cat"] .list .each[thetype="cat"],
.service_list[thetype="dog"] .list .each[thetype="dog"] {
    display: block;
}

section.gocart .parts[thetype="check"] .multi-fee-price-wrap {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-end;
    line-height: 1.25;
    margin-left: auto;
}

section.gocart .parts[thetype="check"] .multi-fee-original {
    color: #7f9fa3;
    font-size: 13px;
    text-decoration: line-through;
}

section.gocart .parts[thetype="check"] .multi-fee-current {
    color: #168e9d;
    font-size: 17px;
    font-weight: 600;
}

section.gocart .parts[thetype="check"] .multi-fee-label {
    color: #a7a7a7;
    font-size: 11px;
    white-space: nowrap;
}

section.gocart .parts[thetype="check"] .table_each li[data-label="價格"],
section.gocart .parts[thetype="check"] .table_each li[data-label="總金額"] {
    display: flex;
    justify-content: flex-end;
    text-align: right;
}

body[page="service"] section.gocart .gocart_post_btn.disabled,
body[page="service"] section.gocart .gocart_post_btn.disabled:hover,
body[page="service"] section.gocart .gocart_post_btn.disabled:active{
    border-color: #c9c9c9;
    color: #9a9a9a;
    background-color: #f2f2f2;
    cursor: not-allowed;
    box-shadow: none;
    pointer-events: none;
    line-height: 50px;
}




@media screen and (max-width: 1240px) {

    section.service_list .multi-fee-notice {
        font-size: 13px;
        margin-bottom: 22px;
        padding: 0 20px;
    }

    .service_list[thetype="cat"] .list .each[thetype="cat"],
    .service_list[thetype="dog"] .list .each[thetype="dog"] {
        width: auto;
    }

    body[type="gocart"] section.gocart .in{
        padding: 20px;
    }


    section.service_list {
        & .each {
            height: auto;
            margin-left: 20px;
            margin-right: 20px;
            padding-bottom: 30px;

            .in {
                padding-left: 25px;
                padding-right: 25px;
                padding-top: 25px;

                .text {
                    text-align: left;
                    font-size: 15px;
                    line-height: 1.6;
                }
            }

            .photo {
                padding-bottom: 55%;
                width: calc(100% - 51px);
                position: relative;
                margin-bottom: 25px;
                top: 25px;
                left: 25px;

            }
        }
    }

    .table .table_each li::before {
                width: 110px;
    }

    .table .table_each.tfoot li.blank{
             display: none;
    }

    section.gocart .parts[thetype="check"] .total{
        display: none;
    }

    section.gocart .parts[thetype="check"]  .table  .table_each  .removeit {
        top: -10px;
        left: -13px;

    }
    section.gocart .parts[thetype="check"]  .table  .table_each.tbody {
        background-color: #ffffffa3;
        margin-bottom: 15px;
    }

    section.gocart {
        & .parts[thetype="check"] {
            form {
                width: 400px;
                margin: auto;
                max-width: 100%;
            }
        }
    }
}
