
@import url('https://fonts.googleapis.com/css2?family=Dela+Gothic+One&family=DotGothic16&family=IBM+Plex+Sans+JP:wght@400;500&family=Zen+Old+Mincho:wght@400;500;600&display=swap');
#cart{
    position: relative;
    width: 100%;
    height: 100vh;
    overflow-x: hidden;
    overflow-y: scroll;
    min-width: 100%;
}


#cart .background{
    margin: 0;
    position: relative;
}

.cart-main,.cart_inner,.cart-wrapper{
    position: relative;
    width: 100%;
}

.cart-main{
    padding-top: 5%;
}

.cart_inner{
    display: flex;
    justify-content: start;
}

.leff{
    position: relative;
    margin-left: 5%;
    background-color: #000000;
    color: #ffffff;
}

.empty{
    color: #000000;
    text-align: center;
    font-size: 1.8rem;
    font-weight: 450;
    padding-top: 5%;
}

.cart-table{
    width: 100%;
    position: relative;
    padding-left: 0%;
    color: #ffffff;
}

.cart-wrapper h1{
    text-align: center;
    padding-top: 1em;
}

#table-container{
    /*border: #ff0000 4px solid;
    padding-left: 10%;*/
    font-size: 1.8rem;
    font-weight: 450;
    display: flex;
    padding-bottom: 3%;
}

#table-container tr{
    padding: 2% 0 2% 0;
}

.cart-summary-container{
    width: 30%;
    margin: 0 2%  2%;
    height: 100vh;
    padding-top: 3%;
}

.payment-summary{
    border: 3px solid rgb(0, 0, 0);
    height: auto;
}


.payment-steps,.steps-item{
    position: relative;
}

.payment-steps{
    display: flex;
    justify-content: center;
    padding-left: 0;
    max-height: 80px;
}

.steps-item{
    margin: 5%;
    width: 100%;
    text-align: center;
        display: flex;
justify-content: start;
}

.steps-item span{
    position: absolute;
    top: -15px;
    left: 8%;
    width: 15px;
    height: 15px;
    background-color: rgb(155, 155, 155);
    border-radius: 7.5px;
    z-index: 999;
}
.steps-item:nth-child(1) span{
    background-color: black;
}

.steps-item p{
    padding-top: 5%;
    font-size: 1rem;
    font-weight: 500;
    color: #272626;

}
/*
.steps-item:not(:last-child)::after{
    position: absolute;
    content: "";
    height: 2px;
    background: #6e6767;
    margin: 0;
    width: 180px;
    top: -5px;
    left: 100px;
}*/

.cart-summary{
background-color: black;
padding: 5% 0% 5% 5%;
outline: 3px solid rgb(255, 255, 255);
outline-offset: -10px;
}

.check-button{
    background-color: transparent;
    border: #ffffff solid 2px;
    padding: 0.2rem 0.8rem 0.2rem 0.8rem;
        color: rgb(255, 255, 255);
    font-size: 1.5rem;
    font-weight: 650;
    font-family:"DotGothic16", sans-serif;
}

.check-button p{
    color: rgb(255, 255, 255);
    font-size: 1.5rem;
    font-weight: 650;
    font-family:"DotGothic16", sans-serif;
}

.cart-summary p{
    font-family: "DotGothic16", sans-serif;
    font-size: 1.5rem;
    color: rgb(255, 255, 255);
    padding-bottom: 1.5rem;

}

tr{
    display: flex;
    justify-content: space-evenly;
}

/*迷路了嗎*/
.cart-item{
    position: relative;
    display: flex;
    justify-content: space-evenly;
}

#cart-items-container{
    background-color: #ffffff;
    overflow: hidden;
    width: 100%;
    position: relative;
    display: inline-block;
    justify-content: space-evenly;
}

#cart-items-container th{
    width: 100%;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 550;
    color: #6e6767;
}

#cart-items-container th:nth-child(1){
padding-left: 0;
}

#cart-items-container span{
    padding-right: 5px;
    color: #5e5b5b;
    font-size: 1.25rem;
}

#cart-items-container input{
    width: 45px;
    height: 40px;
}

input[type="number"]{
    font-weight: 300;
    font-size: 1.5rem;
    text-align: center;
    color: #000000;
    padding-left: 5%;
}

#cart-items-container div,#cart-items-container2 div{
    /*display: inline-block;*/
    align-items: center;
    width: 100%;
}

#cart-items-container p{
    display: inline-block;
    text-align: center;
}

#cart-items-container button{
    /*background-image: url(https://storage.googleapis.com/rine_bucket_for/icon/DEL.png);
    background-position: center;*/
    width: 50px;
    height: 50px;
    border: 0;
    background-color: transparent;
    font-size: 2rem;
    font-weight: 600;
}

#cart-items-container th:nth-child(2){
    font-size: 1.5rem;
    font-weight: 350;
}

#cart-items-container th:nth-child(4){
    color: #000000;
    font-size: 400;
}

.cart-item-image{
    width: 100px;
    height: 80px;
    background-color: aqua;
}

.rightfloat{
    position: relative;
    width: 100%;
    height: auto;
    padding-left: 20%;
}

.leftfloat h1{
    font-size: 200%;
    font-weight: 600;
}

.leftfloat p{
    padding-left: 10%;
    font-size: 1.5rem;
}

#cart2 .steps-item:nth-child(2) span{
    background-color: black;
}

#cart2 .cart-summary-container{
    width: 80%;
}

#cart-items-container2{
    position: relative;
    width: 100%;
}
#cart2 .cart-table{
    background-color: #ffffff;
}

#cart2 .leftfloat{
    background-color: #000000;
    border-radius: 30px;
    width: 100%;
    margin-left: 5%;
    padding-bottom: 3%;
}

#cart2 .leftfloat h1,#cart2 .leftfloat p{
    color: #ffffff;
}

#cart2 .leftfloat p{
    font-size: 1.85rem;
    padding-bottom: 3%;
}

#cart2 .rightfloat{
    padding-left: 5%;
    padding-right: 5%;
    width: 90%;
}

#cart-items-container2 tr{
    justify-content: start;
    padding-left: 5%;
    color: #000000;
    align-items: center;
}

#cart-items-container2 th{
    padding-right: 5%;
    font-size: 1.8rem;
    letter-spacing: 0.7rem;

}

#cart-items-container2 th:nth-child(1){
    padding-right: 15%;
}

#cart-items-container2 div{
    font-size: 1rem;
}

#cart2 .cart-summary-container{
    width: 100%;
}

#cartItemsContainer{
    position: relative;
    width: 100%;
    display: block;
    height: 500px;
}
#cart .menu_wrapper{
    justify-content: start;
}
#cart .index a{
    font-size: 1rem;
    letter-spacing: 0.1rem;
}
@media screen and (max-width:1435px) {
.steps-item{

        display: block
}
}

@media screen and (max-width:1280px){
    .index_logo{
        display: none;
    }
    .index_div{
        padding: 0;
    }
    #cart .menu_wrapper{
        justify-content: center;
    }
    .index a{
        font-size: 1rem;
        letter-spacing: 0.5rem;
    }
}

@media screen and (max-width:800px) {
    .cart_inner{
        display: block;
    }
    .cart-summary-container{
        width: 75%;
        padding-top: 10%;
        max-height: 500px;
        padding-left: 10%;
    }
    .steps-item{
        line-height: 1rem;
    }
    .leff{
        margin-right: 5%;
    }
    .leff h1{
        padding: 5% 0 5% 0;
    }
    #cart-items-display p,.empty{
        text-align: center;
    }
    .empty{
        margin-bottom: 0;
    }
    .cart-wrapper h1{
        margin: 0;
        padding-top: 10%;
    }
    #cart #menu-but{
        display: none;
    }
}

@media screen and (max-width:700px) {
    .cart-table p{
        font-size: 1rem;
    }

    #cart-items-container span{
        font-size: 1rem;
    }
}

@media screen and (max-width:500px){
    #cart .leff,#cart .fake-bg{
        padding: 0;
        margin: 0;
    }

    #cart-items-container span{
        font-size: 1rem;
    }

    .cart-item span:nth-child(5){
        display: block;
        width: 100%;
        max-width: 10%;
    }

    .cart-table p,#cart .menu_wrapper{
        display: none;
    }

    .cart-main{
        padding-top: 0;
    }
    #cart #menu-but{
        display: block;
    }
}


@media screen and (max-width:400px){
    #cart-items-container span{
        font-size: 0.7rem;
    }
    .cart-item{
        justify-content: center;
    }
}

@media screen and (max-width:300px){

}
