/***********shop************/
/*global*/
body.woocommerce-page .main-page-wrapper{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"; }

.widget-area.woodmart-sidebar-content .widget_product_categories .product-categories{max-height: 9rem;   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;}
body.woocommerce-page.archive .main-page-wrapper .align-items-start{}


@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: 15px;    padding-right: 15px;}
}

/*****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 .woocommerce-form-row--last.form-row-last{display:none!important;}
body.woocommerce-account .woocommerce-form-row--first.form-row-first{width:100%;}

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

@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;}
}

/*****checkout******/
p#billing_company_field,p#billing_country_field,p#billing_address_2_field,p#billing_city_field,p#billing_state_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;}
body.woocommerce-checkout tr.choose_cvs span.show_choose_cvs_name{display:block}


@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;}
}

/*******single product***********/
.swatch-on-single.swatch-enabled{border: 1px solid #ddd; }
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;}


@media(max-width:979px){
    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 .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;}

body.wcopc-product-single #customer_details .woocommerce-billing-fields > h3{font-size:0}
body.wcopc-product-single #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;}


@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;}
}


/*******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;}

.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{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;}

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%;  }
}



