:root {
    --coupon-clr:#909090;
    --point-clr:#909090;
    --point-msg-clr:var(--shop-btn);
}

/***********product add-ons************/
.wc-pao-addon > label *{ color:#4f4f4f!important; }
#tiptip_holder #tiptip_content *{ color:#fff; }

/***********shop************/
/*global*/
body.woocommerce-page .main-page-wrapper > .container{padding-bottom: 80px; padding-left: 15px;  padding-right: 15px;}
body.woocommerce-page .main-page-wrapper *{ font-family: Microsoft JhengHei,Poppins, Arial,woodmart-font, Helvetica, sans-serif,'Font Awesome 5 Pro',"Font Awesome 5 Free","Font Awesome 5 Brands"; }
.free3of9 {   font-family: 'Libre Barcode 39 Text', cursive!important; }

.widget-area.woodmart-sidebar-content .widget_product_categories .product-categories{max-height: 20rem;   overflow: auto;}
.widget-area.woodmart-sidebar-content .widget_product_categories .product-categories::-webkit-scrollbar{width:3px; border-radius: 10px;}
.widget-area.woodmart-sidebar-content .widget_product_categories .product-categories::-webkit-scrollbar-track { background: #f1f1f1; }
.widget-area.woodmart-sidebar-content .product-categories::-webkit-scrollbar-thumb { background: #888; border-radius: 10px;}

body.woocommerce-page.archive .shop-content-area{padding-left: 30px;}
body.woocommerce-page .sidebar-container{padding: 15px;  background-color: #fafafa; border: 1px solid #e2e2e2;}

.hotspot-content .add_to_cart_button, .hotspot-content .product_type_variable, td.woocommerce-orders-table__cell-order-actions a, 
.popup-quick-view .woodmart-scroll-content > a, .woodmart-sticky-add-to-cart, .popup-added_to_cart .view-cart, .widget_shopping_cart .buttons .checkout, 
.woodmart-hover-base:not([class*="add-small"]) .wd-bottom-actions .woodmart-add-btn > a, .product-list-item .woodmart-add-btn > a, .woodmart-hover-standard .woodmart-add-btn > a, 
.single_add_to_cart_button, .checkout_coupon .button, #place_order, .cart-totals-inner .checkout-button, .cart-actions .button[name="apply_coupon"], .register .button, .login .button, 
.lost_reset_password .button, .social-login-btn > a, .woocommerce-MyAccount-content > .button, .order-again .button, .woocommerce-Button--next, .woocommerce-Button--previous, 
.woocommerce-MyAccount-downloads-file, .account-payment-methods-table .button, button[name="save_account_details"], button[name="save_address"], button[name="track"], 
.woodmart-compare-col .button, .woodmart-compare-col .added_to_cart, .return-to-shop .button, .woodmart-pf-btn button, .woocommerce table.wishlist_table td.product-add-to-cart .add_to_cart, 
#dokan-store-listing-filter-wrap .right .item .dokan-btn-theme, .woocommerce-MyAccount-content .dokan-btn-theme, #dokan-store-listing-filter-form-wrap .apply-filter #apply-filter-btn, 
.yith-ywraq-add-to-quote .yith-ywraq-add-button .button.add-request-quote-button,form#commentform #submit,#sgi_customer_notes .submit{ background-color: var(--shop-btn)!important ; }

.hotspot-content .add_to_cart_button:hover, .hotspot-content .product_type_variable:hover, td.woocommerce-orders-table__cell-order-actions a:hover, .popup-quick-view .woodmart-scroll-content > a:hover, 
.woodmart-sticky-add-to-cart:hover, .popup-added_to_cart .view-cart:hover, .widget_shopping_cart .buttons .checkout:hover, .woodmart-hover-base:not([class*="add-small"]) .wd-bottom-actions .woodmart-add-btn > a:hover, 
.product-list-item .woodmart-add-btn > a:hover, .woodmart-hover-standard .woodmart-add-btn > a:hover, .single_add_to_cart_button:hover, .checkout_coupon .button:hover, #place_order:hover, 
.cart-totals-inner .checkout-button:hover, .cart-actions .button[name="apply_coupon"]:hover, .register .button:hover, .login .button:hover, .lost_reset_password .button:hover, .social-login-btn > a:hover, 
.woocommerce-MyAccount-content > .button:hover, .order-again .button:hover, .woocommerce-Button--next:hover, .woocommerce-Button--previous:hover, .woocommerce-MyAccount-downloads-file:hover, 
.account-payment-methods-table .button:hover, button[name="save_account_details"]:hover, button[name="save_address"]:hover, button[name="track"]:hover, .woodmart-compare-col .button:hover, 
.woodmart-compare-col .added_to_cart:hover, .return-to-shop .button:hover, .woodmart-pf-btn button:hover, .woocommerce table.wishlist_table td.product-add-to-cart .add_to_cart:hover, 
#dokan-store-listing-filter-wrap .right .item .dokan-btn-theme:hover, .woocommerce-MyAccount-content .dokan-btn-theme:hover, #dokan-store-listing-filter-form-wrap .apply-filter #apply-filter-btn:hover, 
.yith-ywraq-add-to-quote .yith-ywraq-add-button .button.add-request-quote-button:hover,form#commentform #submit:hover,#sgi_customer_notes .submit:hover{ background-color: var(--shop-btn-hover)!important ; }
.product_list_widget>li .widget-product-info{ width: calc(100% - 80px); }

body .popup-quick-view{ max-width: var(--pd-quick-view-w) ; }

.woodmart-social-login.woodmart-social-alt-style a.login-fb-link{ background-color: #3B5998!important; }
.woodmart-social-login.woodmart-social-alt-style a.login-goo-link{ background-color: #4285F4!important; }

header .woodmart-shopping-cart{display:var(--shop-cart)!important;}
.swatches-select .swatch-on-single.swatch-enabled.text-only{ border:unset; }

.product-labels span.onsale.product-label{ display:var(--pd-sale-label); }
.product-labels span.featured.product-label{ display:var(--pd-hot-label); }


@media(max-width:1400px){
  body.woocommerce-page.archive .shop-content-area{margin-top: 0;}
  /*body.woocommerce-page.archive .main-page-wrapper{padding-left:30px}*/
}
@media(max-width:1025px){
  body.woocommerce-page.archive .shop-content-area{padding-left:15px;}
  a.woodmart-sticky-sidebar-opener.shop-sidebar-opener.woodmart-sidebar-btn-shown{background-color: #3f3f3f;    color: #fff;    left: -10px;}
}
@media(max-width:979px){
  .wd-bottom-actions .wrap-wishlist-button{display:none;}
}
@media(max-width:767px){
  body.woocommerce-page:not(.woocommerce-account) .main-page-wrapper{padding-left: 0;    padding-right: 0;}
  body.woocommerce-page.archive .main-page-wrapper,
  body.woocommerce-page.woocommerce-checkout .main-page-wrapper,
  body.woocommerce-page .main-page-wrapper .shop_table_responsive{padding-left: 0;    padding-right: 0;}
}

/*****myaccount******/
body.woocommerce-account .woocommerce-Address{max-width: 100%;   flex: 0 0 100%;}
body.woocommerce-account .woocommerce-address-fields #billing_first_name_field{width:100%}
body.woocommerce-account .edit-account .woocommerce-form-row--last.form-row-last,
.woocommerce-Addresses .u-column2.col-2.woocommerce-Address{display:none!important;}
body.woocommerce-account .woocommerce-form-row--first.form-row-first{width:100%;}
body.woocommerce-account .shop_table_responsive td.woocommerce-orders-table__cell-order-actions{ display: flex; }
body.woocommerce-account .shop_table_responsive td.woocommerce-orders-table__cell-order-actions .button{ order:2; }
body.woocommerce-account .shop_table_responsive td.woocommerce-orders-table__cell-order-actions .button.view{ order: 1; }
body.woocommerce-account .shop_table_responsive td.woocommerce-orders-table__cell-order-actions .button.order-again{ order: 0;  margin-left: 0;    margin-right: 5px;}
body.woocommerce-account.woocommerce-view-order .woocommerce-order-details p.order-again,
.woocommerce-order-details p.order-again{ clear: both; }

.woodmart-my-account-links .members-area-link a:before{content:"\f439";}
.woodmart-my-account-links .my-points-link a:before{content:"\f431";}

.sgi_member_roles{ display: flex;    flex-wrap: wrap;    align-items: center; }
.sgi_member_roles span{ margin-right: 10px;    background-color: #ff9800;    border: 1px solid #d9d9d9;    padding: .3rem 1.5rem;    transition: .3s;
    font-size: 16px;    border-radius: 100px;    letter-spacing: 1px; color:#fff!important; }
.sgi_member_roles span:hover {   background-color: #ff5722; }

ol.commentlist.notes{ max-height: 35vh;    overflow: auto;    border: 2px solid rgba(129,129,129,.2);   position: relative; padding: 0px 10px; }
ol.commentlist.notes > li {    padding: 1rem 2rem;    background-color: #dbf6ff;    margin: 10px 0; }
ol.commentlist.notes > li.sgi-customer-note {  background-color: #fffef1; }
ol.commentlist.notes .comment-text .meta{ order: 5;    margin: 2rem 0 0;    font-size: 12px;    letter-spacing: 1px; text-align: right;   width: 100%; }
ol.commentlist.notes .comment_container{ display: grid; width:100%; }

.woocommerce-order-downloads{margin-top:40px;}

#sgi_customer_notes{ padding: 15px 0;    margin-top: 15px; }
#sgi_customer_notes [name="my_notes"]{ background-color: #fffef1; min-height: 8rem;} /*#f7f7f7*/
#sgi_customer_notes .submit{ box-shadow: inset 0 -2px 0 rgb(0 0 0 / 15%); color:#fff; margin-top: 10px; }
#sgi_customer_notes .note-notification{ background-color: #bfff74;    padding: 10px 15px;    margin-top: 10px;    font-size: 14px;    border: 1px solid #cdcdcd; display:none; }
#sgi_customer_notes .note-notification.warring { background-color: #ffcaca; }

.status_info .order-status{ background-color: #55b359;    color: #fff;    padding: 3px 5px;    border-radius: 5px;    display: inline-block;    font-size: 14px;    letter-spacing: 1px; }
.status_info .order-status.status-on-hold,
.status_info .order-status.status-pending,
.status_info .order-status.status-not-paid{ background-color: #ed8d00; }
.status_info .order-status.status-cancelled,
.status_info .order-status.status-refunded,
.status_info .order-status.status-failed,
.status_info .order-status.status-ry-out-cvs{ background-color: #ff4040; }
.status_info .order-status.status-completed,
.status_info .order-status.status-paid{ background-color: #2196f3; }

.track-info .trackUrl{ margin-right: 5px; }


@media(max-width:767px){
    body.woocommerce-account .woocommerce-MyAccount-navigation:not(.wc-memberships-members-area-navigation) > ul{display: none;}
    
    .woodmart-my-account-links>div{flex-basis: 50%!important; width: 50%!important; }
    body.woocommerce-account h3.woocommerce-MyAccount-title.entry-title{padding-left:0;}
    
    .shop_table_responsive td{ text-align: left; }
	body.woocommerce-account .shop_table_responsive td:before{ padding-right: 2em!important; }
	
	table.woocommerce-table.barcode_details tr:nth-child(1) td:first-child,
    table.woocommerce-table.barcode_details tr:nth-child(2) td:first-child,
    table.woocommerce-table.barcode_details tr:nth-child(3) td:first-child{display:none;}
    table.woocommerce-table.barcode_details tr {    display: flex;    flex-wrap: wrap;}
    
    .my_account_orders.shop_table_responsive td{ text-align: left; }
	body.woocommerce-account .shop_table_responsive td:before{ padding-right: 2em!important; }
	
	ol.commentlist.notes > li{ padding: 4px 14px; }
}

/*****checkout******/
#customer_details .woocommerce-billing-fields__field-wrapper{ display:grid; }

input[type="date"].sgi_date_picker::-webkit-inner-spin-button,
input[type="date"].sgi_date_picker::-webkit-calendar-picker-indicator {
    display: none;
    -webkit-appearance: none;
}

#customer_details p#billing_company_field,
#customer_details p#billing_company_field .optional,
#billing_customer_identifier_field .optional{ display:none; order:9; }
p#billing_customer_identifier_field{ order:10; }

p#billing_city_field:not(.city-selector-on),
p#billing_state_field:not(.city-selector-on),
p#billing_country_field,
p#billing_address_2_field,
p#shipping_company_field,
p#shipping_country_field,
p#shipping_address_2_field,
p#shipping_city_field,
p#shipping_state_field{display:none!important;}
.cart_totals .woocommerce-shipping-destination,
.woocommerce-shipping-fields{display: none!important;}
#order_review .cart_item .variation{ display:none; }


p#billing_state_field.city-selector-on{ order:3; }
p#billing_city_field.city-selector-on{ order:4; }
p#billing_postcode_field.city-selector-on{ order:4; }
p#billing_address_1_field.city-selector-on{ order:5; }
p#billing_email_field.city-selector-on{ order:6; }

body.woocommerce-checkout tr.choose_cvs span.show_choose_cvs_name{display:block}
body.sgi_one_checkout_on .woocommerce-mini-cart__buttons .button.btn-cart{ display:none; }
body.sgi_one_checkout_on.woocommerce-checkout:not(.single-product) .main-page-wrapper .container{ max-width: 800px; }
body.sgi_one_checkout_on .checkout-order-detail #sgi-extra-des{ margin-bottom:2rem!important; }
.one-step-checkout .porduct-quantity-change{ margin-top: 8px; }

table.shop_table tr td:last-child, table.shop_table tr th:last-child{text-align:left;}
#shipping_method > li{ display: flex;   flex-wrap: wrap; padding: 10px;    background-color: #f8f8f8;    border-left: 2px solid #e0e0e0;}
#shipping_method > li input.shipping_method {margin: 0 7px 10px 0;}
#shipping_method > li > .shipping-des{ margin-top:10px; width: 100%;}
#shipping_method .sgi-pop-button{font-size:14px; cursor: pointer;    transition: .3s;    color: #2196f3;}
#shipping_method .sgi-pop-button:hover{ color: #0081e8; }

#sgi-checkout-notice{ background-color: #ff5722;    color: #fff;    padding: 15px;    margin-bottom: 25px;    font-size: 0.9rem; text-align: left; position: relative;  letter-spacing: .5px;}
div#sgi-checkout-notice:after {    content: '';    background-color: #ff5722;    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);    font-size: 100%;    width: 2em;
    height: 1.2em;    position: absolute;    transform: rotate(180deg);    left: 4em;    bottom: -1.1em;    }
    
#payment .woocommerce-terms-and-conditions{ display: block!important; }
#payment .woocommerce-terms-and-conditions.termNotice{ box-shadow: 0 0 0 3px red; }

.shop_table .shipping-class-tag-list{  }
.shop_table .shipping-class-tag{ font-size: 12px; color: #fff; background-color: var(--shop-btn); margin-bottom: 3px; margin-right: 3px; padding: 3px 10px; border-radius: 5rem; line-height: 1; letter-spacing: 1px; display: inline-block; }

@media(max-width:979px){
    table.shop_table_responsive td:before{ float:unset; }
}

@media(max-width:767px){
  body.woocommerce-order-received .woocommerce-notice--success{font-size: 20px;}
  body.woocommerce-order-received .wc-bacs-bank-details li,
  body.woocommerce-order-received .woocommerce-thankyou-order-details li{display: flex;    flex-wrap: wrap;    flex-direction: row;    justify-content: space-between; padding: 15px 10px; }
  body.woocommerce-order-received .wc-bacs-bank-details li *,
  body.woocommerce-order-received .woocommerce-thankyou-order-details li *{margin: 0;}
  body.woocommerce-order-received .wc-bacs-bank-details-account-name{margin: 10px 0;    padding-left: 10px;}
  body .checkout-order-review{padding: 15px;}
  
  #shipping_method > li input.shipping_method{ margin: 0 7px 10px 0; }
}
@media(max-width:480px){
    #order_review  .cart_item .product-name{display: flex;  flex-wrap: wrap; max-width: 100%;   width: 100%;}
}

/********shipping des box*********/
#sgi-popup-box{display:none;}
#sgi-popup-box.active{display:block; position: fixed;    top: 0;    left: 0;    width: 100vw;    height: 100vh; z-index: 99999;}
#sgi-popup-box.active .overlay{ position: absolute;    width: 100%;    height: 100%;    top: 0;    left: 0;    z-index: -1;    background-color: rgba(0,0,0,.4); }
#sgi-popup-box.active .box-inner{ position: relative;    z-index: 9;    max-width: 800px;    width: 100vw;    margin: auto;    height: 70vh;    background-color: #fff;    top: -100vh;
    box-shadow: 0 0 15px 5px rgb(0 0 0 / 10%);    border-radius: 10px;    overflow: hidden; transition: .6s; opacity: 0; display: flex;   flex-direction: column;}
#sgi-popup-box.active.box-show .box-inner{ top: 10vh; opacity: 1;}
#sgi-popup-box.active.box-hide .box-inner{ top: -100vh; opacity: 0;}

#sgi-popup-box.active .box-title > *{ margin: 0;  letter-spacing: 2px; }
#sgi-popup-box.active .box-header{ height: 50px; flex: 0 1 50px; align-items: center;    display: grid;    grid-template-columns: 80% 20%;    padding: 10px 15px 0 15px;    border-bottom: 1px solid #ececec; }
#sgi-popup-box.active .box-header .action{text-align:right;}
#sgi-popup-box.active .box-header .action a{font-size: 1.5rem;    cursor: pointer;  line-height: 1;}
#sgi-popup-box.active .box-header .action i{ transition: .3s; }
#sgi-popup-box.active .box-header .action i:hover{ transform: scale(1.2); }

#sgi-popup-box.active .box-body{ flex: 0 1 100%; padding: 15px; overflow-y: auto; }
#sgi-popup-box.active .box-body-inner{ max-height: 100%;    overflow-y: auto; }
#sgi-popup-box:not(.login-form) #sgi-login-form{display:none;}


@media(max-width:767px){
    #sgi-popup-box.active .box-inner{ width: 95vw;  }
    #sgi-popup-box.active.box-show .box-inner{ top:20vh; }
}

/*******single product***********/
.swatch-on-single.swatch-enabled{border: 1px solid #ddd; }
.owl-carousel.owl-drag .owl-item:not(.active) { height: 0; overflow: hidden;}
.single-product-page .product-image-summary-inner .entry-summary .summary-inner{ z-index:2; }

body.single-product .tabs-location-standard.reviews-location-separate.tabs-type-tabs .woocommerce-tabs,body.single-product #reviews{position: relative;    border: unset!important; padding-bottom: 50px;   margin-bottom: 50px;}
body.single-product .woocommerce-tabs.wc-tabs-wrapper.tabs-layout-tabs:after,
body.single-product #reviews:after{  content: '';    width: 100vw;    height: 1px;    background-color: rgba(129,129,129,.2);  position: absolute;    left: calc(-50vw + 50%);    bottom: 0;}

body.single-product #comments .commentlist{overflow: auto; padding: 0 20px 0 0;}
body.single-product #comments ol > li{padding-right: 15px;}
body.single-product #comments .commentlist::-webkit-scrollbar{width:3px; border-radius: 10px;}
body.single-product #comments .commentlist::-webkit-scrollbar-track { background: #f1f1f1; }
body.single-product #comments .commentlist::-webkit-scrollbar-thumb { background: #888; border-radius: 10px;}

body.single-product #reviews{flex-wrap: wrap;}
body.single-product #reviews > h3,body.single-product form[name="checkout"] > h3{width: 100%;   text-align: center; margin-bottom: 40px; display: flex;    flex-wrap: wrap;    justify-content: center;  flex-direction: column;    letter-spacing: 2px;}
body.single-product #reviews > h3 span,body.single-product form[name="checkout"] > h3 span{font-size:80%;}
body.single-product:not(.wcopc-product-single) .product-tabs-wrapper{border-bottom: unset;    margin-bottom: 0;}
.shipping_class span.acpShip {  padding: 5px 6px;    border: 1px solid var(--shop-btn);    color: var(--shop-btn)!important;   transition: .3s;    cursor: default; margin-right: 5px;  margin-bottom: 5px;}
.shipping_class span.acpShip:hover{ background-color:var(--shop-btn);    color: #fff!important; }
.wc-tab-inner tr.woocommerce-product-attributes-item th.woocommerce-product-attributes-item__label{min-width:5.5rem;}

body.single-product .related-and-upsells{ margin-bottom: 40px; }

.woodmart-tab-wrapper .woocommerce-Tabs-panel:not(.sgi-hide){display:block!important;}

@media(min-width:1025px){
    .product-image-summary .entry-title.product_title{ font-size:30px; }
}

@media(max-width:979px){
    body.single-product .breadcrumbs-location-summary .single-product-page{ margin-top:0; }
    body.single-product .product-summary-shadow .summary-inner{padding: 30px 15px 15px;}
    body.single-product #reviews > h3, body.single-product form[name="checkout"] > h3{margin-top: 30px;}
    
    body.single-product .woodmart-sticky-btn-cart .yith-par-message{display:none;}
}

/*********onepageer checkout************/
body.wcopc-product-single .container.related-and-upsells,body.wcopc-product-single #order_review_heading,body.wcopc-product-single .woocommerce-form-coupon-toggle,
body.wcopc-product-single #opc-product-selection{display:none;}

#customer_details .woocommerce-billing-fields > h3{font-size:0}
#customer_details .woocommerce-billing-fields > h3:after {    content: '訂購人資料';    font-size: 18px;}
body.wcopc-product-single.single-product header .woodmart-shopping-cart{display:none;}
body.wcopc-product-single #customer_details .woocommerce-billing-fields{margin-top:0;}

body.wcopc-product-single .poduct-tabs-inner>div:not(:last-child){margin-bottom: 0;}
body.wcopc-product-single .opc_cart_item .product-quantity{width: 3em;}

body.wcopc-product-single .scrollToTop{bottom:115px;}
body.wcopc-product-single #order_review table.woocommerce-checkout-review-order-table tr > *:last-child{ padding-left:10%; }
body.wcopc-product-single form.woocommerce-form-login{ max-width:100%; }

body.wcopc-product-single #login-notice{ border: 3px dotted var(--shop-btn);    padding: 50px 10px; }
body.wcopc-product-single #login-notice h4{ color:var(--shop-btn); }
body.wcopc-product-single #login-notice .action{ display: flex;    flex-wrap: wrap;    justify-content: center; }
body.wcopc-product-single #login-notice .action a{ margin: 20px 15px 0;    background-color: var(--shop-btn);    color: #fff;    border-radius: 5rem;    padding: .8rem 2.2rem; }

body.wcopc-product-single #sgi-popup-box #customer_login .col-md-6{ -ms-flex: 0 0 100%;    flex: 0 0 100%;    max-width: 100%; }
body.wcopc-product-single #sgi-popup-box #customer_login{ margin:0; }
body.wcopc-product-single #sgi-popup-box .box-inner{ justify-content: center; }
#sgi-popup-box.login-form .box-inner > *:not(#sgi-login-form):not(.box-header){display:none;}

body.wcopc-product-single #sgi-popup-box h2.wd-login-title,
body.wcopc-product-single #sgi-popup-box .col-register-text{display:none;}
body.wcopc-product-single #sgi_tabs{ padding-bottom: 0;    display: grid;    grid-template-columns: 50% 50%; }
body.wcopc-product-single #sgi_tabs a { background-color: #ff5722;    color: #fff;    font-size: 15px;    letter-spacing: 3px; }
body.wcopc-product-single #sgi_tabs a:first-child{ border-right:1px solid #ffffff; }
#sgi-popup-box.login-form .box-inner{ max-width: 600px; height:auto; }
#sgi-popup-box #customer_login .col-md-6:not(#sgi_tabs){ padding: 0 ; }
#sgi-popup-box #customer_login form{     padding-top: 25px;    padding-right: 40px;    padding-bottom: 25px;    padding-left: 40px;    border: 1px solid #ececec;    margin: 0 40px;    border-top: unset; }

body.wcopc-product-single .woodmart-sticky-btn-cart > *:not(.sgi-sticky-add-to-cart){display:none;}
body.wcopc-product-single a.sgi-sticky-add-to-cart{background-color:var(--shop-btn); color: #fff;   border-bottom: 1px solid #f1f1f1;}
body.wcopc-product-single a.sgi-sticky-add-to-cart:hover{ background-color:var(--shop-btn-hover); }
.woodmart-sticky-btn .cart{ margin-left: 15px; }

body.wcopc-product-single .item-name-wrap{ display: inline-block; }
body.wcopc-product-single .product-quick-view a{ pointer-events: none; }

@media(min-width:767px){
    .woodmart-sticky-btn-container.container {  width: 85%; }
}

@media(max-width:979px){
    body.wcopc-product-single #customer_details .woocommerce-billing-fields > h3:after{font-size: 16px;   color: #666;}
    
    body.wcopc-product-single th.product-name .product-quantity{display:none;}
    body.wcopc-product-single .opc_cart_item .product-quantity{width: 100%;   margin-top: 15px;}
    
    body.wcopc-product-single #order_review table.woocommerce-checkout-review-order-table tr > *:last-child{ padding-left:0; }
    
    body.wcopc-product-single a.sgi-sticky-add-to-cart{ border-bottom:unset; }
    
    #sgi-popup-box #sgi-login-form .woodmart-registration-page{ padding-top: 20px;    padding-bottom: 20px; }
}

@media(max-width:767px){
    body.wcopc-product-single #login-notice h4{ line-height:1.8; }
    body.wcopc-product-single #login-notice{ padding: 30px; }
    body.wcopc-product-single #login-notice .action a{ padding: .8rem 2rem; }
    
    body.wcopc-product-single.sgi_hide_header #sgi-popup-box.login-form .box-inner{ top: 10vh!important; }
    body.wcopc-product-single #sgi-popup-box.login-form .box-inner{ top: 20vh!important;    height: auto;    padding: 0; border-radius: 0;}
    body.wcopc-product-single #sgi-popup-box span.register-or.wood-login-divider{     margin: 10px 0 20px; } 

    body.wcopc-product-single a.sgi-sticky-add-to-cart{ width:100%; }
    
    #sgi-popup-box.login-form .box-header{ display:none; }
    #sgi-popup-box #sgi-login-form .woodmart-registration-page{padding:0;}
    #sgi-popup-box #customer_login form{ padding: 25px 0 ; margin:0 30px; border:unset; }
    #sgi-popup-box #customer_login .col-md-6{padding:0;}
    
    .woodmart-sticky-btn .cart{ margin-left: 0; }
}

/*product pop up box*/
body.single-product .site-content > .wd-action-btn ,
.mfp-with-anim.popup-quick-view .wd-quick-view-btn,
body.wcopc-product-single.single-product .woodmart-close-side:not(.woodmart-close-side-opened),
body.wcopc-product-single.single-product .cart-widget-side,
body.wcopc-product-single.single-product .mfp-with-anim.popup-quick-view .view-details-btn,
body.wcopc-product-single.single-product .woodmart-close-side.woodmart-close-side-opened,
body.wcopc-product-single.single-product form.no-products.woocommerce-form-coupon,
body.wcopc-product-single.single-product .sgi-sticky-add-to-cart.cta-btn:not(.no-products){display:none!important;}
body.wcopc-product-single.single-product .mfp-with-anim.popup-quick-view .col-lg-6 {    -ms-flex: 0 0 50%;    flex: 0 0 50%;    max-width: 50%;}


@media(max-width:767px){
    body.wcopc-product-single .mfp-with-anim.popup-quick-view .col-12 {    -ms-flex: 0 0 100%!important;    flex: 0 0 100%!important;    max-width: 100%!important; padding: 0;}
    body.wcopc-product-single .mfp-with-anim.popup-quick-view .woocommerce-product-details__short-description,
    body.wcopc-product-single .mfp-with-anim.popup-quick-view .product_meta{display:none;}
    
    body.wcopc-product-single .popup-quick-view .product-image-summary{height:auto; max-height: 85vh; margin: 0; overflow-y: auto;}
    body.wcopc-product-single .popup-quick-view .woodmart-scroll-content:after{height:0; }
    body.wcopc-product-single .mfp-with-anim.popup-quick-view{ width: 95%; border-radius: 1rem; overflow: hidden;  }
    body.wcopc-product-single .quick-view-wrapper.mfp-wrap{ top: 0!important;    position: fixed!important; }
    body.wcopc-product-single .mfp-with-anim.popup-quick-view .product-images img{ height: auto; max-height: 55vh;  object-fit: contain; }
    body.wcopc-product-single .mfp-with-anim.popup-quick-view .price{ font-size:16px; }
    body.wcopc-product-single .mfp-with-anim.popup-quick-view .product-image-summary .cart{margin:0;}
    body.wcopc-product-single .mfp-with-anim.popup-quick-view .woodmart-scroll-content{ padding: 20px 30px; }
    /*body.wcopc-product-single .mfp-with-anim.popup-quick-view .woocommerce-variation-add-to-cart{ display: grid;    grid-template-columns: 35% 65%; }*/
}

/*sy*/
body.wcopc-product-single .row.product-image-summary-inner{display: flex;justify-content: center;align-items: center;flex-direction: column;}
body.wcopc-product-single .tabs.wc-tabs,
body.wcopc-product-single #payment > div{display:none!important;}
body.wcopc-product-single .product-tabs-wrapper{text-align:center;  }
body.wcopc-product-single .checkout{/*display: flex;justify-content: center;align-items: center;flex-direction: column;*/}
body.wcopc-product-single .checkout > .col-md-5{ order:9; }
body.wcopc-product-single  label{text-align:left;}
body.wcopc-product-single .product-tabs-wrapper{border:none!important;}
body.wcopc-product-single ul.wc_payment_methods{text-align:left;}
body.wcopc-product-single .woocommerce-terms-and-conditions-wrapper{text-align:left;}

body.wcopc-product-single form.woocommerce-checkout.no-products{display:flex!important; max-height:0; overflow:hidden;}

body.wcopc-product-single .single-product-page.single-product-content{max-width:700px; margin: 0 auto 60px; padding-top: 70px; background-color: #fff;}
body.wcopc-product-single .single-product-content .col-lg-6{ -ms-flex: 0 0 100%;    flex: 0 0 100%;    max-width: 100%; }
body.wcopc-product-single .woodmart-sticky-btn-cart >form.cart{ margin-left: 10px; }
body.single-product.wcopc-product-single .woocommerce-tabs.wc-tabs-wrapper.tabs-layout-tabs:after,
body.single-product.wcopc-product-single #reviews:after{  width: 100%; left:0; }

body.wcopc-product-single.sgi_hide_header header,
body.wcopc-product-single.sgi_hide_header .single-breadcrumbs-wrapper{display:none!important;}
body.wcopc-product-single.sgi_hide_header .main-page-wrapper{padding-top:0; background-image: radial-gradient(at right bottom, rgba(0,89,255,0.1) 0%, rgba(0,89,255,0.01) 100%);}

@media(max-width:767px){
    body.wcopc-product-single .single-product-page.single-product-content{ padding-top:0; }
}

/*reviews box*/
body.wcopc-product-single #comments,
body.wcopc-product-single #review_form_wrapper{ width: 100%;    flex: 0 1 100%;    max-width: 100%;    text-align: left; }




/*******wcm*********/
#wcm_limit_content{min-height: 75vh; display: flex;    flex-wrap: wrap;    align-items: center;    justify-content: center;    text-align: center;}
#wcm_limit_content .wrap_inner>i{font-size: 3em;    margin-bottom: 22px;    color: #e0b252;}
#wcm_limit_content .wrap_inner{max-width: 100%;    width: 45em;    padding: 5em;}
#wcm_limit_content .actions{margin-top: 3em;}
#wcm_limit_content .actions a{transition: .3s;    margin: 0 16px;    padding: .6em 1.6em;    border: 1px solid;    border-radius: 5em;}
#wcm_limit_content .actions a:hover {    background-color: #3f3f3f;    color: #fff;}
body .woocommerce.wc-memberships.admin-restricted-content-notice{ background-color:#004d8b; }

.fl-post-grid-post #wcm_limit_content{ min-height:unset; height:auto; justify-content: flex-start; text-align: left; }
.fl-post-grid-post #wcm_limit_content .wrap_inner{ width: 100%;   padding: 0; }
.fl-post-grid-post #wcm_limit_content .wrap_inner > *{display:none!important;}
.fl-post-grid-post #wcm_limit_content .wrap_inner > p{display:block!important; margin: 0;}


.woocommerce div.wc-memberships-restriction-message{margin:0!important;}

body.single-post #wcm_limit_content{min-height: 50vh;}
article.type-post:not(.post-single-page) #wcm_limit_content .wrap_inner >*:not(p),
article.type-post:not(.post-single-page) .woocommerce div.wc-memberships-restriction-message,
.fl-post-carousel-text #wcm_limit_content .wrap_inner >*:not(h3),
.fl-post-carousel-text #wcm_limit_content~.woocommerce{display:none;}
article.type-post:not(.post-single-page) #wcm_limit_content{min-height: 0;}
article.type-post:not(.post-single-page) #wcm_limit_content .wrap_inner{padding:0;}
.fl-post-carousel-text #wcm_limit_content{ height:auto; min-height: auto; text-align: left; }
.fl-post-carousel-text #wcm_limit_content .wrap_inner{ padding:0; }
.fl-post-carousel-text #wcm_limit_content .wrap_inner h3{ margin: 0; font-size: 14px; font-weight: 500; color: inherit; }

body.single-product .product-image-summary-inner #wcm_limit_content{display:none;}

#wc-memberships-members-area-section.my-membership-products .order-actions a,
#wc-memberships-members-area-section.my-membership-discounts .order-actions a{margin:0 5px;}
span.onsale.wc-memberships-member-discount,
#wc-memberships-members-area-section.my-membership-products .membership-product-accessible,
#wc-memberships-members-area-section.my-membership-discounts .membership-discount-amount{display: none;}
#wc-memberships-members-area-section.my-membership-products .membership-product-actions,
#wc-memberships-members-area-section.my-membership-discounts .membership-discount-actions{width: 25%;}

@media(max-width:767px){
    #wcm_limit_content .wrap_inner{ padding: 2em;}
    #wc-memberships-members-area-section.my-membership-products .membership-product-actions,
    #wc-memberships-members-area-section.my-membership-discounts .membership-discount-actions{width: 100%;}
    
    body.woocommerce-account .wc-memberships-members-area-navigation > ul{    border: 1px solid rgba(129,129,129,.2);    display: flex;    flex-wrap: wrap;}
    body.woocommerce-account .wc-memberships-members-area-navigation li {    width: 33.33%;    text-align: center; position: relative;}
    body.woocommerce-account .wc-memberships-members-area-navigation li[class*="back-to-memberships"] a{font-size:0;}
    body.woocommerce-account .wc-memberships-members-area-navigation li[class*="back-to-memberships"] a:after{ content: '回到上頁';   font-size: 14px; }
    
    body.woocommerce-account .shop_table_responsive td:not([class*="actions"]):before{font-size: 13px; padding-right: 5em;}
    body.woocommerce-account .wc-memberships-members-area-navigation li:before {    content: '▼';    position: absolute;    transform: rotate(-90deg);    left: 10%;    top: 10px;}
}
@media(max-width:340px){
    body.woocommerce-account .wc-memberships-members-area-navigation li:before {    left: 5%;  }
}


/**********yith point************/
#yith-par-message-cart{ background-color:var(--point-msg-clr)!important; }
#yith-par-message-reward-cart > p{ margin:0; line-height: 2; }
#yith-par-message-reward-cart > p:not(.yith-discount-msg){ margin-left:10px; }
#yith-par-message-reward-cart{ border: 3px dotted var(--point-clr)!important;    color: var(--point-clr)!important; padding: 10px 20px; }
#yith-par-message-reward-cart *{  color: var(--point-clr)!important; }
#yith-par-message-reward-cart a.ywpar-button-message{ border: 1px solid var(--point-clr)!important; }
input#ywpar_apply_discounts{ background: var(--point-clr)!important;    color: #fff!important; }
#yith-par-message-reward-cart .yith-discount-msg{ display: flex;    flex-wrap: wrap;    align-items: center;  }
#yith-par-message-reward-cart .yith-discount-msg:before{ content: '\f971';    font-size: 18px;    margin-right: 20px; font-family: 'Font Awesome 5 Free','FontAwesome','woodmart-font'; }

div#yith-par-message-reward-cart:before{ display:none; }
div#yith-par-message-reward-cart .ywpar_apply_discounts_container{ margin-left: 0; }
div#yith-par-message-reward-cart #ywpar_apply_discounts{ font-size: 13px;    line-height: 18px;    margin: 0;    border-radius: 0; padding: 12px 20px; box-shadow: inset 0 -2px 0 rgba(0 0 0 / 15%); }

#yith-par-message-checkout_threshold{ top: unset;    bottom: 25%;    transform: translateY(50%);    width: 450px;    max-width: 95%;    padding: 40px;   background-color: #fff;    
    color: #000;    box-shadow: 0 0 15px 1px rgba(0 0 0 / 20%); transition: .6s; left:-600px;  -webkit-animation: left2right .65s ease .5s both ; animation: left2right .65s ease .5s both ; }
#yith-par-message-checkout_threshold.hidden-notice{ animation: right2left .35s ease 0s both ; }
#yith-par-message-checkout_threshold table *{color:#777;}
#yith-par-message-checkout_threshold .checkout_threshold-note{ margin: 10px 0 0; font-size: 14px;  letter-spacing: 1px;   color: #666; }
#yith-par-message-checkout_threshold th{ font-size:14px }
#yith-par-message-checkout_threshold table { margin: 0;}
#yith-par-message-checkout_threshold:after{ width:40px; height:40px; }
#yith-par-message-checkout_threshold:before{ display:none; }

@keyframes left2right {
  from {left: -600px;}
  to {left: 0px;}
}
@keyframes right2left {
  from {left: 0px;}
  to {left: -600px;}
}

@media(max-width:767px){
    div#yith-par-message-reward-cart:before,
    #yith-par-message-reward-cart a.ywpar-button-message{ display:none; }
    div#yith-par-message-reward-cart{ padding:20px; }
    div#yith-par-message-reward-cart .ywpar_apply_discounts_container{ margin:20px 0 0; width: 100%; display:block!important; }
    #yith-par-message-reward-cart #ywpar-points-max{ margin-bottom:20px; }
    #yith-par-message-reward-cart #ywpar-points-max,
    #yith-par-message-reward-cart #ywpar_apply_discounts{ width:100%; }
    
    #yith-par-message-checkout_threshold{ bottom: 50%; padding:40px 20px; }
}

/**********checkout coupon form***********/
.woocommerce-form-coupon-toggle{ margin-bottom: 2em; padding: 10px 20px 10px 25px; border: 3px dotted var(--coupon-clr); display: none!important; }
.woocommerce-form-coupon-toggle div.woocommerce-info{ font-size: 16px;    line-height: 3;    margin-bottom: 0!important;    color: var(--coupon-clr); }
.woocommerce-form-coupon-toggle .woocommerce-info a.showcoupon{ color: var(--coupon-clr)!important; border-radius: 5px; padding: 5px 10px; border: 1px solid var(--coupon-clr)!important; text-decoration: unset; }

form.checkout_coupon.woocommerce-form-coupon{ display: block!important;    max-width: unset;    margin-bottom: 2em!important;    padding: 10px 20px!important;
    border: 3px dotted var(--coupon-clr);    transition: unset;    height: auto!important; text-align: left; color: var(--coupon-clr);    font-weight: bold; }
form.checkout_coupon.woocommerce-form-coupon button[name="apply_coupon"]{ background-color: var(--coupon-clr)!important; }
form.checkout_coupon.woocommerce-form-coupon > p:not(.form-row){ margin-bottom:0; cursor: pointer; }
form.checkout_coupon.woocommerce-form-coupon > p:not(.form-row):before {    content: '\f3ff';    font-size: 18px;    margin-right: 20px; font-family: 'Font Awesome 5 Free','FontAwesome'; }
form.checkout_coupon.woocommerce-form-coupon input[name="coupon_code"],
form.checkout_coupon.woocommerce-form-coupon input[name="coupon_code"]::placeholder{ color: var(--coupon-clr); }
form.checkout_coupon.woocommerce-form-coupon > p:not(.form-row):after {    content: '使用優惠券';    font-size: 100%;    border: 1px solid var(--coupon-clr);    border-radius: 5px;
    padding: 5px 10px;    text-decoration: none;    transition: 0.5s ease;    cursor: pointer;    margin-left: 10px; display: inline-block; }
form.checkout_coupon.woocommerce-form-coupon > p:not(.form-row):after:hover{ opacity: .8; }
form.checkout_coupon.woocommerce-form-coupon > .form-row{ transition: .5s;    opacity: 0;    height: 0;    margin: 0;    overflow: hidden; float: left; display: block; }
form.checkout_coupon.woocommerce-form-coupon > .form-row.show{ height: 42px;    opacity: 1;    margin: 20px 0; }
form.checkout_coupon.woocommerce-form-coupon > .form-row-first{ width: 220px; margin-right: 10px!important; }
form.checkout_coupon.woocommerce-form-coupon > .form-row-last{ width: auto; }

@media(max-width:767px){
    form.checkout_coupon.woocommerce-form-coupon{ padding: 20px!important; }
    form.checkout_coupon.woocommerce-form-coupon > p:not(.form-row):after{ margin: 10px 0 0; font-size: 14px; display:none; }
    form.checkout_coupon.woocommerce-form-coupon > .form-row{ height: 42px;    opacity: 1;    margin: 20px 0; }
    form.checkout_coupon.woocommerce-form-coupon > p.form-row{ width:100%; }
    form.checkout_coupon.woocommerce-form-coupon > p.form-row{ margin-bottom:0!important; }
}

