
/* ==================== 产品分类背景 ==================== */
.tax-product_tag #main,
.tax-product_cat #wrapper,
.post-type-archive-product #wrapper,
.post-type-archive-product #main,
.post-type-archive-product .shop-page-title,
.tax-product_cat #main,
.tax-product_cat .shop-page-title{
    background: #eee;
}

/* ==================== 产品分类-布局 ==================== */


/*删除神秘分割线*/
.archive  #main hr{
    display: none;
}

.widget .toggle:not(.accordion .toggle) {
    margin: 0 0 0 5px;
    min-height: 2em;
    width: 2em;
    border-radius: 50%;
    background: #eee;
}


.widget>ul>li>a{
    display: inline-block;
    flex: 1;
    padding: 15px 0;
}

/*侧边栏*/
.sidebar-inner {
    background: #fff;
    padding: 35px 25px;
    border-radius: 5px;
}




/* ==================== 产品卡片 ==================== */


/*分类-产品卡片*/
.box-category .box-text,
.product-small .box-text{
    padding: 15px;
}


.product-category .box,
.product-small .box{
    background: #fff;
    border-radius: 5px;
    overflow: hidden;
}


/*产品卡片-标题*/
.product-small .woocommerce-loop-product__title{
    font-size: 14px;
}


/*产品卡片添加动画出现*/
.products .product-small {
    opacity: 0;
    transform: translateY(30px);
    animation: slideUpFade 0.5s forwards;
}


/* 每个子元素依次延迟 */
.products .product-small:nth-child(1) {
    animation-delay: 0.1s;
}
.products .product-small:nth-child(2) {
    animation-delay: 0.2s;
}
.products .product-small:nth-child(3) {
    animation-delay: 0.3s;
}
.products .product-small:nth-child(4) {
    animation-delay: 0.4s;
}
/* 如果有更多商品，可以继续增加延迟或者用 JS 自动生成 */

/* 动画关键帧 */
@keyframes slideUpFade {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}



/* ==================== 产品页面/布局 ==================== */



/*产品详情页隐藏切换卡*/
li.description_tab {
    /*display: none !important;*/
}

/*产品标题*/
h1.product_title{
    font-weight: bold;
}

/* Add to Cart 独占一行，线条按钮 */
.goods-info .ux-buy-now-button,
.goods-info .single_add_to_cart_button.button {
    display: block;              
    width: 100%;                 
    background: transparent;     
    color: #333;                
    border: 1px solid #333;      
    border-radius: 54px;          
    padding: 3px 15px;            
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}
.goods-info .ux-buy-now-button{
    background: #333;
    color: #fff;
}

/* 鼠标悬停效果 */
.goods-info .single_add_to_cart_button.button:hover {
    border-color: #000;
    background: #fff8f2 !important;
}
.goods-info .ux-buy-now-button:hover{
    background: #000;
    color: #fff;
}

#reviews{
  margin: 0 auto !important
}


/*产品详情页隐藏切换卡*/
li.description_tab {
    /*display: none !important;*/
}
.woocommerce-tabs #comments{
  padding: 30px;
}
.woocommerce-tabs .nav-tabs+.tab-panels{
  padding: 0 !important;
}
.woocommerce-Tabs-panel section .row{
  margin-left: auto !important;
  margin-right: auto !important;
}


@media (max-width: 549px) {
  .woocommerce-Tabs-panel section {
    padding:30px 15px !important
  }

}
.woocommerce-tabs{
    max-width: 100% !important;
    padding: 0;
   
}

.woocommerce-tabs .tab>a{
    font-size: 18px !important;
    padding: 10px 20px !important
}

