/* *{
    font-family: 'Noto Sans TC';
} */

.fa {
    font-family: FontAwesome;
}

/* ========================== .woocommerce總樣式＿四瓶20220609 ========================== */
/* 注意訊息為元素裝飾本來是神奇白框 先隱藏 */
.woocommerce-error::before,
.woocommerce-info::before,
.woocommerce-message::before{
    content: '';
}

/*========================== 訂單查詢頁面手機版＿四瓶20220328 ==========================*/
@media only screen and (max-width: 768px){
    .woocommerce-MyAccount-orders a.woocommerce-button.button.view{
        width: 100%;
        text-align: center;
    }
}

/*========================== 購物車頁面手機版＿四瓶20220609 ==========================*/
.woocommerce-cart-notice img{
    display: none;
}

/* 購物車優惠券輸入框置右 */
.woocommerce #content table.cart td.actions .coupon,
.woocommerce table.cart td.actions .coupon,
.woocommerce-page #content table.cart td.actions .coupon,
.woocommerce-page table.cart td.actions .coupon{
    float: right;
}

@media only screen and (max-width: 768px) {
    /* 商品明細表格 */
    .woocommerce-cart-form .shop_table tbody tr{
        display: flex !important;
        flex-wrap: wrap;
        border-bottom: 1px solid rgba(0,0,0,.1);
    }

    .woocommerce-cart-form .shop_table tbody tr .product-remove,
    .woocommerce-cart-form .shop_table tbody tr .product-price,
    .woocommerce-cart-form .shop_table tbody tr .product-quantity,
    .woocommerce-cart-form .shop_table tbody tr .product-subtotal{
        width: 100%;
    }

    .woocommerce-cart-form .shop_table tbody tr .product-remove a.remove{
        line-height: 20px !important;
    }

    .woocommerce-cart-form .shop_table tbody tr .product-thumbnail{
        display: inline-block !important;
        width: 25%;
    }

    .woocommerce-cart-form .shop_table tbody tr .product-thumbnail::before,
    .woocommerce-cart-form .shop_table tbody tr .product-name::before{
        display: none !important;
    }

    .woocommerce-cart-form .shop_table tbody tr .product-thumbnail a,
    .woocommerce-cart-form .shop_table tbody tr .product-thumbnail a>img{
        width: 100% !important;
        max-width: unset !important;
    }

    .woocommerce-cart-form .shop_table tbody tr .product-name{
        display: flex !important;
        justify-content: start;
        align-items: center;
        width: 75%;
        text-align: left !important;
    }

    .woocommerce-cart-form .shop_table tbody tr .product-quantity .quantity{
        display: flex;
        justify-content: end;
    }

    .woocommerce-cart-form .shop_table tbody td{
        border-top: unset !important;
    }

    .woocommerce-cart-form .shop_table tbody tr .actions{
        width: 100%;
    }

    .woocommerce-cart-form .shop_table tbody tr .actions .coupon{
        display: flex;
    }

    #coupon_code,
    .woocommerce-cart-form .shop_table button[name="apply_coupon"]{
        width: 100% !important;
        min-width: 100px !important;
    }
}

/*========================== 結帳頁面＿四瓶20220328 ==========================*/
body.woocommerce-checkout #payment .payment_box::before{
    display: none;
}

.woocommerce-page.woocommerce-checkout form #order_review table .input-select{
    width: 100%;
}

@media only screen and (max-width: 768px){
    button[value="請求報價"]{
        width: 100%;
    }
}

/*========================== 完成訂購頁面手機版＿四瓶20220328 ==========================*/
@media only screen and (max-width: 768px){
    ul.woocommerce-order-overview.woocommerce-thankyou-order-details>li{
        border-right: 0px;
        width: 100%;
    }

    ul.woocommerce-order-overview.woocommerce-thankyou-order-details>li+li{
        margin-top: 10px;
    }

    body.woocommerce-checkout .woocommerce-column--shipping-address{
        margin-top: 30px;
    }
}

/* original */
.header-container{
    transition-duration: .4s;
}
/* header change color */
.header-floating{
    background: #FFF !important;
    box-shadow: 0px 4px 4px rgba(208, 208, 208, 0.25);
    padding: 0.5em 1em 0.5em 5em !important;
}

/* sp */
.header-sp.header-floating{
    padding: 0.25em !important;
}

.header-container .sub-menu{
    background: transparent;
}

.header-container .sub-menu a{
    color: #FFF !important;
}

.header-container .sub-menu a:hover{
    color: #1952B9 !important;
}

.header-container.header-floating .sub-menu{
    background:#FFF;
}

.cus-sp-search .fa-search{
    content: url('/wp-content/uploads/2023/01/search-icon-b.svg') !important;
}

/* header-floating-text-color */
.header-floating a.elementor-item, .header-floating a.elementor-sub-item{
    color: #202453 !important;
}

/* header-floating-text-color-hover */
.header-floating .menu-item a.elementor-item:hover, .header-floating a.elementor-sub-item:hover{
    color: #1952B9 !important;
}

/* start - icon */
.header-pc .fa-search{
    content: url('/wp-content/uploads/2023/01/search-icon-w.svg');
}

.header-pc.header-floating .fa-search{
    content: url('/wp-content/uploads/2023/01/search-icon-b.svg');
}

.cus-hor .elementor-posts{
    cursor: grab;
}