input[type="number"] {
  -moz-appearance: textfield; /* Firefox */
  appearance: textfield; /* 标准语法 */
}

.related h2{margin-top:50px;font-size:30px;font-weight:500;margin-bottom:30px;}

.custom-swiper-container {
    max-width: 600px;
    display:inline-block;
}
.woocommerce ul.products li.product .price{font-size:1.857em}
.woocommerce .woocommerce-breadcrumb{margin:2em 0 1em;}
.woocommerce .products ul, .woocommerce ul.products{margin:4em 0 1em}
.woocommerce div.product{margin-top:50px;}
.woocommerce .price{font-size:30px;margin-top:30px}
.woocommerce-product-details__short-description {font-size:18px;margin-top:30px;}
.woocommerce div.product form.cart{margin-top:30px;}
.woocommerce .quantity .qty{width:7.631em;height:30px;}
.single_add_to_cart_button{width:300px;height:35px;}
.product_meta{font-size:18px;}
.custom-variation-row{display:none;}
.woocommerce div.product form.cart .variations td, .woocommerce div.product form.cart .variations th {text-align:left;width:30px;font-size:18px;}
.woocommerce div.product form.cart .variations select{height:35px;padding-left:10px;}
.woocommerce-variation-add-to-cart{margin-top:30px;}

.custom-swiper-container .btn-product{text-align: center;display:flex;justify-content: center;align-items: center;color:#000;}
.custom-swiper-container .btn-product.swiper-button-next{transform: rotate(180deg);}
.custom-swiper-container .btn-product:hover{background-color: #fff;}
/* 主轮播 */
.gallery-main {
    margin-bottom: 10px;
}

.gallery-main .swiper-slide img {
    width: 100%;
    height: auto;
    border-radius: 5px;
}

/* 缩略图轮播 */
.gallery-thumbs .swiper-slide {
    opacity: 0.4;
    cursor: pointer;
    border: 2px solid transparent;
}

.gallery-thumbs .swiper-slide.active{opacity: 1;border:1px solid #000}

.gallery-thumbs .swiper-slide-thumb-active {
    opacity: 1;
    border-color: #4a90e2;
}

/* 导航按钮 */
.swiper-button-next, .swiper-button-prev {
    color: #4a90e2;
    background: rgba(255,255,255,0.8);
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.swiper-pagination-bullet-active {
    background: #4a90e2;
}

/* Chrome、Safari 等 WebKit 浏览器 */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
/* ajax加入购物弹窗 */
#woostify-overlay {position: fixed;left: 0;bottom: 0;right: 0;top: 0;z-index: 9999999;background: rgba(0, 0, 0, 0.5);    
     pointer-events: none;visibility: hidden;
}
#shop-cart-sidebar { display: flex;flex-wrap: wrap;flex-direction: column;position: fixed;top: 0;right: 0;bottom: 0;
    z-index: 999999999;width: 400px;height:100%;padding: 0 30px 30px;background: #fff;will-change: transform;transition: all 0.3s;
     transform: translateX(100%);    visibility: hidden; 
    
}
#shop-cart-sidebar .close:hover{color:red;}
.cart-sidebar-head{display:flex; flex-wrap: wrap;align-items: center;padding: 30px 0;justify-content: space-between;
    border-bottom: 1px solid #ddd;}
.total-count{display:flex; flex-wrap: wrap;align-items: center;}
.shop-cart-count{display:block;width:20px;height:20px;border-radius: 20px;margin-left:10px;background-color: #1346af;color:white;text-align: center;line-height:20px;}
.cart_list{padding-right:20px;height:70vh;overflow-y: auto;}


.cart-sidebar-content ul li{display:flex; flex-wrap: wrap;align-items: center;justify-content: space-between;padding:20px 0;border-bottom: 1px solid #ddd;}
.cart-sidebar-content ul li .product-info{display:flex; flex-wrap: wrap;align-items: center;}
.cart-sidebar-content ul li .product-info .img{width:100px;height:100px;margin-right:20px;}
.cart-sidebar-content ul li .product-info .img img{width:100%;height:100%;}


.cart-sidebar-content .cart_list .quantity-content{display:flex;border:1px solid #ddd;width:100px;height:30px;border-radius: 30px;}
.cart-sidebar-content .cart_list .quantity-content .cart-num-btn{display:block;cursor:pointer;width:30px;height:28px;line-height: 28px;text-align: center;font-size: 16px;}
.cart-sidebar-content .cart_list .quantity-content .jia{border-left:1px solid #ddd;}
.cart-sidebar-content .cart_list .quantity-content .jian{border-right:1px solid #ddd;}
.cart-sidebar-content .cart_list .quantity-content input{text-align: center;height:28px;line-height:28px;background-color: transparent;width:39px;}
.cart-sidebar-content ul li .close-btn{font-size:12px;}
.cart-sidebar-content ul li .close-btn:hover{color:red;}


.cart-bottom{position:absolute;bottom:30px;left:0;right:0;border-top: 1px solid #ddd;width:90%;margin:0 auto;}
.cart-bottom .total{display:flex; flex-wrap: wrap;align-items: center;justify-content: space-between;padding:20px 0;}
.buttons .btn{display:block;width:100%;padding:10px 0;text-align: center;color:#2b2b2b;margin-bottom:10px;}
.buttons .btn.checkout{background-color: #1346af;border-radius: 20px;color:white;}

.woocommerce-privacy-policy-text{display:none;}
/* 购物车页面 */
.wc-block-cart-item__wrap{padding-left:30px;}
.wc-block-components-button__text{padding:10px 20px;border-radius: 30px;}

.woocommerce{display:flex;}
.woocommerce-MyAccount-navigation{width:26%;}
.woocommerce-MyAccount-content{width:74%;}
.woocommerce-MyAccount-content p{font-size:20px;}
.woocommerce-MyAccount-navigation-link{padding:15px 0;}
.woocommerce-MyAccount-navigation-link:first-child{padding-top:0;}
.woocommerce-MyAccount-navigation-link.is-active{color:#000;}

.woocommerce .col2-set .col-1, .woocommerce-page .col2-set .col-1{width:46% !important;}


.wc-block-components-totals-coupon__button{background: #FFF !important;border:none !important;}

/*.woocommerce-Address-title a{color:blue;}*/
.woocommerce table.my_account_orders td, .woocommerce table.my_account_orders th{padding:15px 8px !important;}
.woocommerce table.my_account_orders tr td:last-child a{padding:5px 10px;border-radius:15px;background-color: #1346af;color:white;}
.woocommerce-Addresses{margin-top:30px;}
.woocommerce-Address{border:1px solid #ddd;padding:10px 10px;}
.woocommerce-Address-title{display:flex;flex-wrap: wrap;align-items: center;justify-content: space-between;border-bottom:1px solid #ddd;margin-bottom:10px;padding-bottom:10px;}
.woocommerce-Address-title h2{font-weight:700;color:black;}
.woocommerce-Address Address{line-height:20px;}