.woocommerce{
    margin: 1rem auto;
    display: flex;
    flex-wrap: wrap;
    width: 90%;
    max-width: 1000px;
    justify-content: center;
    @media screen and (max-width: 768px) {
        width: 100%;
    }
    .woocommerce-MyAccount-navigation{
        width: 20%;
        min-width: 160px;
        @media screen and (max-width: 768px) {
            width: 80%;
        }
        .woocommerce-MyAccount-navigation-link{
            margin-bottom: .5rem;
        }
    }
    .woocommerce-MyAccount-content{
        width: 79%;
        padding: 1rem 1.5rem;
        @media screen and (max-width: 768px) {
            width: 95%;
        }
        .member-number{
            & span{
                font-weight: bold;
                font-size: 1.2rem;
            }
        }
        & p{
            margin-bottom: 1rem;
        }
        & table.shop_table_responsive{ 
            & tr {
                & th{
                 &::before {
                    content: attr(data-title) ": ";
                    font-weight: 700;
                    float: left;
                    }
                }

            }
            .woocommerce-orders-table__cell-order-number {
                @media screen and (max-width: 768px) {
                    display: block !important;
                    text-align: right !important;
                }
            }
        }    
    }

    .woocommerce-form-register{
        .password-note{
            font-weight: bold;
            margin-bottom: 1rem;
        }
    }
}



.summary.entry-summary{
    width: 90%;
    margin: 0 auto;
    text-align: center;
    .custom-input-form{
        margin: .5rem auto;
        display: flex;
        justify-content: center;
        align-items: center;
        width: 90%;
        & label{
            margin-right: 1rem;
        }
        & input,select{
            width: 300px;
            border:#0045DF solid 2px;
            border-radius: 24px;
            text-align: center;
            padding: 0.5em 2em 0.5em 0.5em;
        }
        & select{
            background-color: #001C72;
            color: #fff;
            appearance: none;
            background-image: url('../img/select-arrow.svg'); 
            background-repeat: no-repeat;
            background-position: right 0.5em center;
            background-size: 16px 16px;
        }
        
    }
    .note{
        font-weight: bold;
        line-height: 1rem;
    }
    @media screen and (max-width: 768px) {
        width: 100%;
    }
}

.banduke-wrap{
    display: flex;
    justify-content: space-between;
    margin: 2rem auto;
    width: 60%;
    gap: .5rem;
    #slot-list{
        position: sticky;
        top: 0;
        width: 55%;
        background: linear-gradient(to bottom, #FF4E4E 0%, #FF7801 29%, #F6E101 57%, #6FF400 78%,#30D6FF 84%);
        border: #EAEFFA solid 5px;
        border-radius: 16px;
        padding: 1rem 0;
        align-self: flex-start;
        height: auto;
        .item{
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: .5rem;
            gap: .2rem;
            .item-info{
                min-height: 40px;
                display: flex;
                align-items: center;
                gap: .2rem;
            }
            .item-label{
                min-height: 40px;
                min-width: 50px;
                display: flex;
                align-items: center;
                justify-content: center;
                font-weight: bold;
                background-color: #004fb9;
                color: #fff;
                align-items: center;
                border: #B5A589 solid 2px;
                border-radius: 3rem;
                padding: .1rem;
                &.hikae{
                    font-size: 0.8rem;
                }
            }
            .item-wrestler-name{
                min-height: 40px;
                min-width: 120px;
                display: flex;
                align-items: center;
                justify-content: center;
                font-size:.7rem;
                background-color: #ebebeb;
                border: 1px solid silver;
                border-radius: 1rem;
                padding: .2rem;
                &.active{
                    outline: 3px solid #007aff;
                }
                &.selected{
                    background-color: #FF6767;
                    /* background: linear-gradient(to bottom, #FFB0B0 0%,#FF6767 100%); */
                    border: 2px solid #FFF;
                    box-shadow: 0 0 8px #FFF;
                    transition: 0.3s;
                    &.star5{
                        background: linear-gradient(to bottom, #FFB0B0 0%,#FF6767 100%);
                    }
                    &.star4{
                        background: linear-gradient(to bottom, #FBC7A9 0%,#ee8c0d 100%);
                    }
                    &.star3{
                        background: linear-gradient(to bottom, #F4EFAF 0%,#F3E101 100%);
                    }
                    &.star2{
                        background: linear-gradient(to bottom, #99f333 0%,#66BE01 100%);
                    }
                    &.star1{
                        background: linear-gradient(to bottom, #7cddf6 0%,#30d6ff 100%);
                    }
                }
            }
        }
    }
    .wrestler-list-wrap{
        width: 45%;
        display: flex;
        gap: .5rem;
        border: #EAEFFA solid 5px;
        border-radius: 16px;
        background-color: #E7F8FF;
        padding: .1rem;
        &.selecting{
             .banduke-table{
                .wrestler-item {
                    cursor: pointer;
                    opacity: 1;
                }
            }
        }
        .banduke-table{
            display: flex;
            flex-direction: column;
            width: 50%;
            gap:.5rem;
            .wrestler-item {
                position: relative;
                opacity: 0.5;
                &.disabled{
                    opacity: 0.4;
                    pointer-events: none; 
                }
                &:has(.slot-overlay){
                    opacity: 0.4;
                    pointer-events: none; 
                }
                .wrestler-skill-label {
                    position: absolute;
                    top: .5rem;
                    left: .5rem;
                    background-color: rgba(255, 255, 255, 0.9);
                    color: #000;
                    border-radius: 50%;
                    width: 20px;
                    height: 20px;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    font-weight: bold;
                    font-size: 0.8rem;
                    z-index: 2;
                }
                .wrestler-side-label {
                    position: absolute;
                    bottom: 30px;   
                    right: .5rem;
                    background-color:#1c2889;
                    color: #FFF;
                    border: #85cbf8 solid 1px;
                    border-radius: 50%;
                    width: 20px;
                    height: 20px;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    font-weight: bold;
                    font-size: 0.8rem;
                    z-index: 2;
                }
                .slot-overlay{
                    position: absolute;
                    top: 50%;
                    left: 50%;
                    transform: translate(-50%, -50%);
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    width: 90%;
                    height: 90%;
                    background: rgba(0,0,0,0.5);
                    color: #fff;
                    padding: 2px 6px;
                    border-radius: 4px;
                    font-size: 25px;
                    font-weight: bold;
                    z-index: 2;
                    color: #fff;
                    text-shadow:
                    2px 2px 0 #00aaff,
                    -2px 2px 0 #00aaff,
                    2px -2px 0 #00aaff,
                    -2px -2px 0 #00aaff;
                }
                & img {
                    width: 100%;
                    height: 100%;
                }
            }
        }
    }

    @media screen and (max-width: 768px) {
        width: 100%;

    } 

}

.banduke-note{
    width: 90%;
    margin: 2rem auto;
    text-align: left;
}

.woocommerce-Price-amount.amount{
    font-size: 1.5rem;
    .woocommerce-Price-currencySymbol{
        font-size: 1rem;
    }
}

.single_add_to_cart_button{
    margin-top: 1rem;
    background-color: #000;
    color: #fff;
    border-radius: 5px ;
    padding: .5rem 1rem;
    cursor: pointer;
}

.woocommerce #customer_login{
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    .u-column1,.u-column2{
        width: 90%;
        max-width: 1000px;
    }
}

.woocommerce-notice.woocommerce-notice--success.woocommerce-thankyou-order-received{
    margin: 1.5rem;
    & span{
        font-weight: bold;
    }
}

.wp-block-woocommerce-empty-cart-block{
    width: 90%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 1rem;
}

