/*
 *自定义css
 */

/*我的账户-左边栏*/
.woocommerce-account .woocommerce-MyAccount-navigation{}
.woocommerce-account .woocommerce-MyAccount-navigation li{ line-height:40px; background:#f5f5f5; text-indent:20px; margin-bottom:20px;}
.woocommerce-account .woocommerce-MyAccount-navigation li a{ display:block; color:#333; font-size:16px;}
.woocommerce-account .woocommerce-MyAccount-navigation li a:hover{ color:#f10215;}
.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a{ background:#f10215; color:#fff;}


/*我的账户*/
.woocommerce-MyAccount-content a:hover{ color:#f10215;}

.woocommerce-info{ border-top-color: #f10215;}
.woocommerce-info:before{color: #f10215; top: 1.2em;}

.woocommerce-address-fields__field-wrapper{ margin-bottom:20px;}


/*账户详情*/
.woocommerce-MyAccount-content{}

.woocommerce-MyAccount-content .woocommerce-notices-wrapper{}
.woocommerce-MyAccount-content .woocommerce-EditAccountForm{}
.woocommerce-MyAccount-content .woocommerce-EditAccountForm p{}
.woocommerce-MyAccount-content input{ height:35px; line-height:35px; border:#ccc 1px solid; background:none; border-radius: 5px; padding:0 10px;}
.woocommerce-MyAccount-content .woocommerce-EditAccountForm p em{ font-style:normal; font-size:12px; color:#999;}
.woocommerce-MyAccount-content .woocommerce-EditAccountForm fieldset{ padding:20px; border:#ccc 1px solid; background:none; border-radius: 5px; margin-bottom:15px;}


/*地址*/
.woocommerce-Addresses{}
.woocommerce-Addresses address{ font-size:12px; font-style:normal; color:#999;}
.woocommerce-Addresses .woocommerce-Address-title{ padding-bottom:5px; border-bottom:#ccc 1px solid; margin-bottom:5px;}
.woocommerce-Addresses .woocommerce-Address-title a.edit{ background:#f10215; color:#fff; padding:5px 10px; border-radius: 5px;}
.select2-container .select2-selection--single{ line-height:35px;height:30px;}

/*登录*/
.woocommerce{}
.woocommerce-form-login{}
.woocommerce input{ height:35px; line-height:35px; border:#ccc 1px solid; background:none; border-radius: 5px; padding:0 10px;}
.woocommerce-form-login input.woocommerce-form__input, .woocommerce input.input-radio{ width:20px; height:20px; padding:0; line-height:25px; vertical-align:middle;}
.woocommerce-form-login input.woocommerce-form__input:checked, .woocommerce input.input-radio:checked{ border:#f10215 1px solid; background:url(../images/duigou.png) center center no-repeat #f10215;}
.woocommerce form .show-password-input, .woocommerce-page form .show-password-input{ top:5px;}
.woocommerce form .form-row span.zcbtn a{ color:#f10215;}

/*注册*/
.woocommerce-error::before, .woocommerce-info::before, .woocommerce-message::before{ top:1.2em;}
.pagecon .woocommerce-error p{ padding-bottom:0; margin-bottom:0;}
.register form{border: 1px solid #d3ced2; padding: 20px; margin: 2em 0; text-align: left; border-radius: 5px;}
.register p{}
.register p label{ display:block; line-height: 2;}
.register input{ display:block; width:100%; height:35px; line-height:35px; border:#ccc 1px solid; background:none; border-radius: 5px; padding:0 10px;}
.register input.yzminput{ width:100px; display:inline-block;}
.register img#captcha_img{ display:inline-block; margin-left:5px; vertical-align: middle;}
.register input.regsterbtn{ width:120px; display:inline-block; margin-right:10px; background:#dfdcde; color:#555; cursor:pointer; border:none;}
.register input.regsterbtn:hover{ background:#f10215; color:#fff;}
.register a:hover{ color:#f10215;}

table.wishlist_table thead th{ border-top:none;}
.woocommerce-message{border-top-color: #f10215;}
.woocommerce-message::before{ color:#f10215;}

a.cart{}
a.cart svg{ fill:#fff;width: 1em;
  height: 1em; margin-right:5px;
  vertical-align: -.15em;
  fill: currentColor;
  overflow: hidden;
  cursor: pointer;}

.woocommerce-column__title{ margin-bottom:20px;}

/*购物车*/
body.woocommerce-cart{}
.woocommerce table.shop_table th, .woocommerce table.shop_table td{border-right: 1px solid rgba(0,0,0,.1);}
.woocommerce table.shop_table th:last-child, .woocommerce table.shop_table td:last-child{ border-right:none;}
.woocommerce table.shop_table td{ padding:15px 10px;}
.woocommerce table.shop_table td.product-remove{ text-align:center;}
.woocommerce table.shop_table td.product-remove a.remove{ display:inline-block;}
.woocommerce table.shop_table td a{ color:#f10215;}

.woocommerce .cart-collaterals .cart_totals, .woocommerce-page .cart-collaterals .cart_totals{ width:30%;}
.woocommerce .cart-collaterals .cart_totals, .woocommerce-page .cart-collaterals .cart_totals h2{ font-weight:normal; margin-bottom:5px;}
.woocommerce #respond input#submit.alt, .woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt, .wc-block-cart__submit-button, .wc-block-components-checkout-place-order-button{ background:#f10215; color:#fff;}
.woocommerce a.button.alt:hover, .wc-block-cart__submit-button:hover, .wc-block-components-checkout-place-order-button:hover{ background:#f10215 !important;}


.woocommerce-cart .wp-block-separator.is-style-dots{ margin: 30px 0;}
.woocommerce-cart h2.wp-block-heading{ margin-bottom:20px;}

#add_payment_method table.cart td, #add_payment_method table.cart th, .woocommerce-cart table.cart td, .woocommerce-cart table.cart th, .woocommerce-checkout table.cart td, .woocommerce-checkout table.cart th{vertical-align: middle;}
.woocommerce .quantity .qty{ width:auto;}

body.woocommerce-cart .wp-block-woocommerce-empty-cart-block{ padding-top:40px;}
body.woocommerce-cart .wc-block-grid__products{ gap:20px;}
body.woocommerce-cart .wc-block-grid.has-4-columns .wc-block-grid__product{ width:calc(25% - 15px); padding:10px; border:#ccc 1px solid; flex: auto;}
body.woocommerce-cart li.wc-block-grid__product .wc-block-grid__product-add-to-cart a.wp-block-button__link{ background:#E41718;}
body.woocommerce-cart li.wc-block-grid__product .wc-block-grid__product-add-to-cart a.wp-block-button__link:hover{ color:#fff;}

/*
.woocommerce .quantity{display: -webkit-inline-box;display: -webkit-inline-flex;display: -ms-inline-flexbox;display: inline-flex;}
.woocommerce .product-quantity .quantity{width: 84px;}
.woocommerce .quantity .qty-down, .woocommerce .quantity .qty-up{display: inline-block;height: 30px;padding: 0 6px;font-size: 14px;line-height: 28px;color: #666;text-align: center;border: 1px solid #dcdfe6;-webkit-user-select: none;-moz-user-select: none;-ms-user-select: none;user-select: none;background: #f6f6f6;-webkit-flex-shrink: 1;-ms-flex-negative: 1;flex-shrink: 1;}
.woocommerce .quantity .qty{display: inline-block;height: 30px;width: 3em;text-align: center;font-size: 14px;border: 0;border-top: 1px solid #dcdfe6;border-bottom: 1px solid #dcdfe6;outline: 0;-webkit-flex-shrink: 0;-ms-flex-negative: 0;flex-shrink: 0;}
*/

/*结算*/
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea{border: #ccc 1px solid; border-radius: 5px; padding:10px; font-size: 14px; background: none;}
.woocommerce-checkout #payment div.payment_box p{ padding-bottom:0;}
.woocommerce-checkout #payment ul.payment_methods li input{ width:15px; height:15px; border-radius: 100%; border:#999 1px solid;}
.woocommerce-checkout #payment ul.payment_methods li input:checked{  border:#f10215 1px solid; background:url(../images/zfydicon.png) no-repeat center center;}
.woocommerce-checkout #payment ul.payment_methods li img{ display:inline-block;}
.woocommerce-checkout #payment ul.payment_methods li{ margin-bottom:10px;}
h3#order_review_heading{ margin-bottom:10px;}
.woocommerce-page form .form-row textarea#order_comments.input-text{ height:100px;}

.woocommerce-checkout .wc-block-checkout__payment-method{ display:none;}


.woo-variation-swatches.wvs-show-label .variations td .woo-selected-variation-item-name{ display:none !important;}
.woo-variation-swatches .button-variable-item span{ font-size:14px !important;}
.woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item){ box-shadow:none !important; border:#ccc 1px solid !important;}
.woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item).selected, .woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item).selected:hover{ box-shadow:none !important; border:#f10215 1px solid !important;}

.woocommerce .woocommerce-message a.button.wc-forward{ color:#fff; background:#f10215;}

/*评价*/
.woocommerce #reviews #comments ol.commentlist li .comment-text p.meta em.woocommerce-review__awaiting-approval{ font-style:normal; font-size:12px;}
.woocommerce .star-rating{ color:#f10215;}
.woocommerce #reviews #comments ol.commentlist li .comment-text{ margin-left:0;}


.rs-modal__header{ padding:0 10px; height:40px; line-height:40px;}
.rs-modal__content{ padding:20px;}
.rs-alert{ padding:10px; margin-bottom:20px;}
.rs-modal__footer{ padding:20px;}
.rs-modal__footer .button{ padding:5px 12px; font-size:14px;border-radius: 5px; background:#f5f5f5;}
.rs-modal__footer .button:hover{ background:#f10215; color:#fff;}


.register a.changeyzm{ margin-left:10px;}

.woocommerce:where(body:not(.woocommerce-uses-block-theme)) div.product p.price{ color:#000;}

@media(max-width:640px){
	.register input.yzminput{ width:30%;}
	.register a.changeyzm{ display:none;}
	.woo-variation-swatches.wvs-show-label .variations td label{ width:50px;}
}














