/**
Theme Name: Yao Xing
Theme URI: https://leafbox.cn/
Description: This is a child theme for the Astra WordPress theme.
Author: Ding Chun
Author URI: https://dingchun.me
Template: astra
Version: 1.0.0
*/

.yx-product-list .wc-block-grid__products {
  margin-bottom: 0 !important;
}

.yx-product-list li a {
  width: 100%;
  padding: 6px;
  background: #fff;
}
.yx-product-list li a .wc-block-grid__product-image {
  width: 100% !important;
}
.yx-product-list li a .wc-block-grid__product-title {
  color: #1890ff;
  padding: 0 8px !important;
  height: 1.4em;
  overflow: hidden;
}

.wc-block-product-template__responsive > li {
    transition: all .2s linear;
}
.wc-block-product-template__responsive > li:hover,
.yx-product-list li a:hover {
  box-shadow: 0px 20px 30px 0px rgba(0, 0, 0, 0.13);
}
.wc-block-product-template__responsive > li > h3 {
    padding: 20px 0;
}
.yx-industry-list .uagb-ifb-desc {
  height: 90px;
}
#search-5.widget_search .search-form button.search-submit {
  z-index: 9999 !important;
}
#search-5.widget_search .search-form button.search-submit i {
  color: #ffffff;
}
#search-5 input.search-submit {
  background: #69727d !important;
  width: 100%;
  height: 100%;
}

.wc-block-product-categories {
	line-height:3!important;
}
li.wc-block-product-categories-list-item {
  border-bottom: 1px solid #dedfe2;
}
li.wc-block-product-categories-list-item:last-child {
	border: 0!important;
}
li.wc-block-product-categories-list-item a:hover {
  	color: yellow!important;
}
.ast-woocommerce-container {
  padding: 0 !important;
}
/*.ast-separate-container.ast-two-container #secondary .widget {*/
/*  padding: 2em 0 !important;*/
/*}*/
.ast-separate-container .ast-article-single {
  padding: 0 !important;
}

/* 案例 */
.yx-industry-side-category li {
  list-style: none;
  border-bottom: 1px solid #dedfe2;
}
.yx-industry-side-category li a {
  color: #000000;
}
.yx-industry-side-category li.current-menu-item a {
  color: var(--ast-global-color-0);
}

.yx-footer-category li {
  border: none;
}

.yx-footer-products-category li:hover a {
  color: #8bc34a !important;
}
/* .yx-our-advantage .wp-block-uagb-container {
  height: 100%;
} */
.yx-our-advantage .wp-block-uagb-container:hover {
  border-bottom-width: 10px !important;
}

#ast-block-templates-button-wrap,
#wp-admin-bar-wp-logo,
#wp-admin-bar-zip-ai-assistant {
  display: none !important;
}

.ast-desktop .astra-menu-animation-slide-up > .menu-item:hover > .sub-menu {
  background-color: rgba(69, 69, 69, 0.62) !important;
}
.yx-from-button .wp-block-button__link {
  background: #1890ff !important;
}
@media (min-width: 921px) {
  .site-header#masthead {
    position: absolute;
    left: 0;
    right: 0;
  }
}

#secondary {
    margin-top: 100px !important;
}

#secondary #block-101 {
    padding-top: 0 !important;
}

.ast-separate-container.ast-two-container #secondary .widget {
    padding: 0;
}
.wc-block-product-template.wc-block-product-template {
    margin: 0!important;
}
.wc-block-product-categories-list--depth-1 {
	display: none;
}