/**
Author: 迪亚莫科技有限公司
Author URI: https://diiamo.cn
Description:添加自定义CSS到前台
*/
@media (min-width: 1025px){
#primary {
    margin-top: 40px!important;
	 margin-bottom: 30px!important;
}
	
.up-sells.upsells.products li.product .astra-shop-summary-wrap, .ast-woocommerce-container .ast-collapse-filter {
display:none;
}
	
	
.up-sells.upsells.products li.product{
padding-bottom:0;
margin-bottom: 10px;	
}	

.up-sells ul.products li.product{
transition: all 0.5s!important;		
}
.up-sells ul.products li.product:hover {
width: 30%!important;
margin-bottom: 0!important;
padding-bottom: 9px;	
}
	
.up-sells.upsells.products li.product:hover .astra-shop-summary-wrap {
display:block!important;
}
	
.up-sells.upsells.products li.product .woocommerce-loop-product__link {
margin-bottom: 0;
}	

/*相关产品电脑端产品	
.woocommerce-page.rel-up-columns-4 div.product .related.products ul.products li.product, .woocommerce-page.rel-up-columns-4 div.product .up-sells ul.products li.product, .woocommerce.rel-up-columns-4 div.product .related.products ul.products li.product, .woocommerce.rel-up-columns-4 div.product .up-sells ul.products li.product {
    width: calc(25% - 24px)!important;
}	
.woocommerce ul.products li.product, .woocommerce-page ul.products li.product {
    margin: 0 32px 38px 0;
}
ul.products .ast-article-single .astra-shop-summary-wrap {
    padding: 0 18px!important;
}
li .astra-shop-summary-wrap .woocommerce-loop-product__title:hover{
	text-decoration:underline!important;
	color:var(--ast-global-color-0)!important;
}
*/	
}

@media (min-width: 769px) {
.ast-container {
  display: flex;
	}
	
.sidebar-main {
  height: 100%;
	}
	
.sidebar-main #block-12 {
	position: -webkit-sticky;
	position: sticky;
	top: 50px;
  }
}


@media (min-width: 768px){
/* 响应式表格*/
.woocommerce-Tabs-panel	table {
  display: table-cell;
  overflow-x: auto;
}
/* 询盘表单样式*/
div#enquiry {
   max-width: 600px;
}
.summary.entry-summary {
    padding-left: 20px;
}	
}

@media (min-width: 768px) and (max-width: 1024px) {
.woocommerce div.product div.images, .woocommerce div.product div.summary, .woocommerce #content div.product div.images, .woocommerce #content div.product div.summary, .woocommerce-page div.product div.images, .woocommerce-page div.product div.summary, .woocommerce-page #content div.product div.images, .woocommerce-page #content div.product div.summary {
float: right!important;	
width: 47%!important;	
}
#primary{
margin-bottom: 0!important;
margin-top: 10px!important;
}
.up-sells ul.products li.product{
width: 30%!important;
margin-bottom: 0!important;
padding-bottom: 9px!important;
}		
}

@media (max-width: 767px){
	#secondary{
display:none!important;		
	}	
.ast-container, .ast-container-fluid {
    padding-left: 18px;
    padding-right: 18px;
}
.ast-container, .ast-container-fluid {
  padding-left: 0!important;
  padding-right:0!important;
}	

.woocommerce div.product .woocommerce-tabs {
    padding-top: 1.3em!important;	
}
.scriptlesssocialsharing {
    margin-top: -15px!important;
}
	
.summary.entry-summary, .woocommerce-tabs.wc-tabs-wrapper, .related.products h2, #enquiry {
    padding: 0 18px!important;	
}
.woocommerce ul.products li.product, .woocommerce-page ul.products li.product {
	padding-bottom: 10px!important;
}	
.woocommerce ul.products li.product, .woocommerce-page ul.products li.product {
    margin-bottom: 20px!important;	
}	
.related.products ul.products.columns-4{
    padding: 5px 10px 0!important;	
}	
	
#primary, #secondary{
margin-top: 0!important;	
padding-top:0!important;
margin-bottom:7px!important;			
}	
.astra-shop-summary-wrap .button{
letter-spacing: 0;
}

.ast-woocommerce-container section.related.products {
margin-bottom: 0!important;
}

.ast-single-related-posts-container .ast-related-posts-wrapper {
grid-column-gap: 12px;
grid-row-gap: 20px;
}

.up-sells ul.products li.product {
width: 45%!important;
}

.ast-post-format-standard .scriptlesssocialsharing {
margin-top: 33px;
}
.woocommerce-page.mobile-rel-up-columns-2 div.product .related.products ul.products li.product, .woocommerce.mobile-rel-up-columns-2 div.product .related.products ul.products li.product{
width: calc(50% - 6px);
}
.woocommerce div.product .related.products ul.products li.product, .woocommerce[class*="rel-up-columns-"] div.product .related.products ul.products li.product, .woocommerce-page div.product .related.products ul.products li.product, .woocommerce-page[class*="rel-up-columns-"] div.product .related.products ul.products li.product {
margin-right: 12px;
}

/* 询盘表单样式*/
div#enquiry{
	 margin-bottom: 45px!important;
	 margin-top: -30px!important;
  padding-top: 20px!important;
}
	
/* 响应式表格*/
.woocommerce-Tabs-panel	table {
  display: block;
  overflow-x:auto;;
	width:100%!important;
}
.iconic-woothumbs-thumbnails-wrap.iconic-woothumbs-thumbnails-wrap--horizontal {
    margin-left: 8px!important;
    margin-right: 8px!important;
}
.woocommerce ul.products li.product .astra-shop-summary-wrap, .woocommerce-page ul.products li.product .astra-shop-summary-wrap{
padding:0 10px!important;
}
.iconic-woothumbs-all-images-wrap.iconic-woothumbs-reset.iconic-woothumbs-hover-icons.iconic-woothumbs-zoom-enabled.iconic-woothumbs-all-images-wrap--thumbnails-below {
    margin-top: 0!important;	
}	
}

	


	
div#block-22 {
    position:sticky!important;	
    top: 60px!important;	
}
div#block-23 {
    position:sticky!important;	
    top: 110px!important;	
}	

nav.woocommerce-breadcrumb {
max-width: 76%;
}
video {
    box-shadow: 0px 2px 15px 1px #00000036;
}	
nav.woocommerce-breadcrumb {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}
	
.ast-product-navigation-wrapper.circle-outline .product-links a:hover, .ast-product-navigation-wrapper.square-outline .product-links a:hover {
    color: #fff!important;
}	
	
.summary.entry-summary nav.woocommerce-breadcrumb {
text-align:left;
float:left!important;
margin-top: -6px;	
}

.summary.entry-summary .product_title.entry-title{
clear: both;	
}

.entry-summary form.cart, .add_to_cart_button{
    display: none!important;
}

.ast-plain-container #primary{
margin-bottom:30px;	
}

div#enquiry_buttom {
    margin: 10px 0 25px 0!important;
}

/* 询盘表单样式*/
div#enquiry{
	 margin-bottom: 60px;
  padding-top: 30px;
}
.elementor-message:before{
	display:none!important;
}	
	#enquiry input:focus-visible, #enquiry textarea:focus-visible{
		border-color: var(--ast-global-color-0);
}
	
	.elementor-field-group .elementor-field-textual:focus{
	-webkit-box-shadow: none!important;
  box-shadow:none!important;
	}		
	
/* Upsell产品布局*/
.woocommerce div.product div.summary {
margin-bottom: 0;
}

.up-sells.upsells.products h2 {
font-size:19px!important;
font-weight: 400;
padding: 20px 0 12px 0;
}

.up-sells.upsells.products li.product .astra-shop-summary-wrap {
padding: 0 0.7em;
}

.up-sells.upsells .ast-woo-product-category, .up-sells.upsells .star-rating{
display:none!important;
}


.up-sells.upsells .woocommerce ul.products li.product .woocommerce-loop-product__title, .woocommerce-page ul.products li.product .woocommerce-loop-product__title {
font-size: 14.5px!important;
line-height: 1.3em!important;
}

.up-sells.upsells a.button{
padding-right: 10px;
padding-left: 10px;
font-size:11px!important;
width: 100%;
text-align: center;	
}

	
/* 产品详情页社交分享按钮外观优化CSS*/
.ns-buttons.small .ns-button {
    height: 33px;
    line-height: 33px;
}
.ns-buttons.small .ns-button-icon {
	height: 33px;
	width: 33px;
   min-width:33px;
}
.ns-inline-cta {
    font-weight: 600;
}
.ns-button-icon>* {
    height: 54%!important;
}
.ns-inline span.ns-button-label{
    display: none;
	 position: absolute;
    top: 0;
    height: 26px;
	 line-height: 26px;
    padding:8px 10px 10px 9px;
    z-index: 20;
}
.ns-inline .ns-buttons-wrapper .ns-button:hover span.ns-button-label{
    display: flex!important;	
}
	
.woocommerce-Tabs-panel table p{
		margin-bottom:0!important;
}		
