/*** v 點餐頁 ***/
input:disabled{
    color: #000000;
}

.prod_container {
    padding-top: 35px;
}
.mealsShowHo {
    position: sticky;
    top: 30px;
    left: 0px;
    width: 100%;
    overflow-x: auto;
    padding: 10px 8px 10px;
    display: inline-flex;
    margin: 0; /* 移除所有 margin */
    /*flex-wrap: nowrap;*/
    flex-wrap: wrap;
    background: #ffffff;
    z-index: 98;
}

.prod_tp_list {
    position: sticky;
    top: 30px;
    left: 0px;
    width: 100%;
    overflow-x: auto;
    padding: 10px 8px 10px;
    display: inline-flex;
    flex-wrap: nowrap;
    /*flex-wrap: wrap;*/
    background: #ffffff;
    z-index: 98;
}

.prod_tp_item {
    position: relative;
    list-style: none;
    margin: 0px 10px;
    padding: 5px 12px;
    color: #000000;
    border: 1px solid #000000;
    border-radius: 15px;
    background: #ffffff;
    user-select: none;
    cursor: pointer;
    white-space: nowrap;
}

    .prod_tp_item:hover {
        background: #e4e4e4;
    }

    .prod_tp_item.clk_active {
        color: #ffffff;
        border: 1px solid #ffffff;
        background: #000000;
    }


/*** v  ***/
.prod_tp_list::-webkit-scrollbar {
    height: 7px;
}

.prod_tp_list::-webkit-scrollbar-track {
    background-color: #c3c1c1;
}

.prod_tp_list::-webkit-scrollbar-thumb {
    border-radius: 25px;
    background-color: #747474;
}

    .prod_tp_list::-webkit-scrollbar-thumb:hover {
        background-color: #5e5e5e;
    }

.prod_tp_list::-webkit-scrollbar-button {
    display: none;
}

/*** v  ***/
.stn_discount_hint {
    display: none;
    position: relative;
    padding: 5px 15px 5px 40px;
    margin: 5px 10px 5px;
    background-color: #ffe292;
    border: 2px dashed #f8b500;
    border-radius: 2px 10px 2px 10px;
}

    .stn_discount_hint::before {
        content: "";
        position: absolute;
        top: 5px;
        left: 8px;
        background-image: url('../img/bullhorn-solid.svg');
        background-size: contain;
        background-position: center;
        width: 20px;
        height: 20px;
    }

    .stn_discount_hint span{
        position: relative;
        display: inline-block;
    }

/*** v  ***/
.prod_tp_food_section {
    margin-bottom: 15px;
    padding: 10px;
}

.prod_list_header{
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 5px;
    margin-left: 5px;
    padding-left: 15px;
    border-left: 4px solid #e6a065;
}
.prod_list {
    display: flex;
    flex-wrap: wrap;
}

.prod_list_item {
    position: relative;
    margin: 10px 5px;
    text-align: center;
    border-radius: 10px;
    border: 2px solid #e7e7e7;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
}

.prod_item_img {
    width: 100%;
    height: 110px;
    object-fit: contain;
    vertical-align: middle;
    align-self: center;
    border-radius: 6px 6px 0 0;
}

.prod_item_name {
    padding: 5px 10px;
}

.prod_item_price {
    height: 30px;
    padding: 0px 10px;
    line-height: 1.9;
    background: #e7e7e7;
    border-radius: 0 0 6px 6px;
}

    .prod_item_price.status_ori .ori_price{
    }
    .prod_item_price.status_ori .discount_price {
        display: none;
    }

    .prod_item_price.status_discount .ori_price {
        text-decoration: line-through;
        text-decoration-color: #ff0000;
        display: inline-block;
        text-decoration-style: double;
        margin-right: 10px;
        color: #000000;
    }
    .prod_item_price.status_discount .discount_price {
    }

    .prod_cnt_text, .food_cnt_text {
        top: -10px;
        right: -10px;
        padding-top: 0px;
        transform: scale(0.8);
        line-height: 1.5;
    }

/*** v 下方 ***/
.footer_action_section {
    position: fixed;
    bottom: 0px;
    left: 0px;
    width: 100%;
    margin-top: 30px;
}
.footer_action_container {
    width: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
    border: 1px solid #ffc21b;
    background-color: #F8B500;
    color: #ffffff;
    z-index: 99;
}

    .footer_action_container > div:nth-child(1) {
        padding-right: 5px;
    }

    .footer_action_container > div:nth-child(2) {
        flex: 1;
        text-align: right;
    }

.total_price_header {
    color: #000000;
    margin-bottom: 2px;
    font-weight: bold;
}

.total_price{
    color: #cf151b;
    font-size: 20px;
    font-weight: bold;
}

.footer_action_btn {
    position: relative;
    border: none;
    background-color: transparent;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    width: 80px;
    height: 80px;
    margin: 5px 10px;
    vertical-align: middle;
}
.pay_action_btn {
    background-image: url('../img/m_bill.png');
}
.cart_action_btn {
    background-image: url('../img/m_cart.png');
}


/*** v modal ***/
.food_info_modal{
    position: fixed;
    top: 0px;
    left: 0px;
    z-index: 999;
    width: 100vw;
    height: 100vh;
    background-color: rgba(169, 169, 169, 0.69);
}

.food_info_content {
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #ffffff;
    border-radius: 20px;
    width: calc(100% - 30px);
    height: calc(100vh - 80px);
}
.close_modal_btn {
    position: absolute;
    top: -15px;
    right: -10px;
    width: 40px;
    height: 40px;
    border: none;
    background-color: transparent;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-image: url('../img/b_close.png');
}

.food_info_body {
    height: calc(100% - 130px);
    overflow-y: auto;
}

    .food_info_body::-webkit-scrollbar {
        height: 7px;
    }

    .food_info_body::-webkit-scrollbar-track {
        background-color: #c3c1c1;
    }

    .food_info_body::-webkit-scrollbar-thumb {
        border-radius: 25px;
        background-color: #747474;
    }

        .food_info_body::-webkit-scrollbar-thumb:hover {
            background-color: #5e5e5e;
        }

    .food_info_body::-webkit-scrollbar-button {
        display: none;
    }

.info_food_img {
    width: 100%;
    height: 110px;
    object-fit: contain;
    vertical-align: middle;
    margin: 0 auto;
}

.food_info_name, .food_info_price {
    font-size: 18px;
    font-weight: bold;
    margin-top: 10px;
}
.food_info_price{
    padding-bottom: 10px;
    border-bottom: 1px solid #acacac;
    color: #ff0000;
}

    .food_info_price.status_ori .ori_price {
    }

    .food_info_price.status_ori .discount_price {
        display: none;
    }

    .food_info_price.status_discount .ori_price {
        text-decoration: line-through;
        text-decoration-color: #ff0000;
        display: inline-block;
        text-decoration-style: double;
        margin-right: 10px;
        color: #000000;
    }

    .food_info_price.status_discount .discount_price {
    }

.food_info_introduce{
    margin: 10px 0px;
}

.food_info_footer {
    height: 130px;
    text-align: center;
}
.chs_item_qty{
    margin: 5px auto 25px;
    display: inline-block;
}

.qty_btn{
    outline: none;
    border: none;
    background-color: transparent;
    color: #ff0000;
    font-size: 35px;
    padding: 0px 15px;
    position: relative;
    top: 5px;
}
.qty_minus_btn {
    margin-right: 12px;
    padding: 0px 7px;
    transform: scaleX(1.6);
}

.qty_input {
    padding: 8px 9px;
    border-radius: 20px;
    background: #ffffff;
    border: 1px solid #b1b1b1;
    font-size: 16px;
    width: 150px;
    text-align: center;
}

    .qty_input:focus-visible {
        outline: none;
        border: 1px solid #8a8a8a;
    }

.info_action_section {
    display: flex;
    justify-content: space-around;
}


@media (max-width: 355px) {
    .food_info_content {
        max-height: 400px;
        padding: 15px 10px;
    }

    .btn-dark {
        font-size: 15px;
        padding: 5px 10px 9px;
        border-radius: 15px;
    }

        .btn-dark img {
            display: none;
        }
}

@media (max-width: 767px) {
    .prod_container {
        padding-bottom: 70px;
    }

    .prod_list_item {
        width: calc(50% - 10px);
    }

    .footer_action_container {
        padding: 0 10px 0 15px;
    }

    .footer_action_btn {
        width: 70px;
        height: 70px;
        margin: 5px 4px;
    }

    .food_info_content {
        max-height: 500px;
        padding: 15px 10px;
    }

    .chs_item_qty{
        margin-bottom: 20px;
    }

    .qty_input {
        width: 120px;
    }
}

@media (min-width: 768px) {
    .prod_list_item {
        width: calc(33% - 10px);
    }

    .footer_action_container {
        width: 595px;
        margin: 0 auto;
        padding: 0 15px 0 20px;
    }

    .footer_action_btn {
        margin: 5px 15px;
    }

    .food_info_content {
        max-width: 600px;
        max-height: 500px;
        padding: 20px 25px;
    }
}

@media (min-width: 900px) {
    .container {
        width: 900px;
        padding-right: 10px;
        padding-left: 10px;
    }
    .footer_action_container {
        width: 895px;
        margin: 0 auto;
        padding: 0 50px 0 55px;
    }

}

@media (min-width: 1200px) {
}

@media (min-width: 1500px) {
}
