/* STYLE调试 */
/* 二级菜单字体颜色 */
.ast-desktop .ast-builder-menu-1 .menu-item .sub-menu .menu-link {
	color: #000 !important;
}

.ast-desktop .ast-builder-menu-1 .menu-item .sub-menu .menu-link:hover {
	color: #4f98cb !important;
}

/* 语言切换 */
#lang_choice_polylang-5 {
	background: rgba(0, 0, 0, 0) !important;
	color: #000 !important;
	border: none !important;
	outline: none;
	font-weight: 500;
}

#lang_choice_polylang-5 option {
	color: #000 !important;
}

#lang_choice_polylang-5:invalid {
	background: #0170b9 !important;
}

#lang_choice_polylang-5:hover {
	cursor: pointer;
}

/* 去除全局A链button按钮接点击虚线 */
a,
button {
	outline: none !important;
}

/* products-details */
.woocommerce .elementor-1794 .elementor-element.elementor-element-480843de .woocommerce-tabs ul.wc-tabs {
	text-align: center;
}

.woocommerce #content div.product .woocommerce-tabs ul.tabs li,
.woocommerce-page #content div.product .woocommerce-tabs ul.tabs li {
	display: inline-block !important;
}

.woocommerce-product-details__short-description p,
.woocommerce div.product div.images,
.woocommerce div.product .woocommerce-tabs {
	margin: 0;
}

.woocommerce div.product span.onsale {
	color: #fff;
}

/* 产品详情页categories */
.woocommerce div.product .product_meta {
	border: none !important;
}

/* 折扣icon样式 */
.woocommerce span.onsale {
	border-radius: 0 !important;
	min-width: 0;
	min-height: 0 !important;
	padding: 5px 10px !important;
	line-height: 1 !important;
	margin: 10px 10px 0 0 !important;
}

/* popup */
.elementor-popup-modal .dialog-message {
	max-height: 640px;
	width: 100% !important;
}

.elementor-popup-modal .dialog-widget-content {
	margin: 20px;
}

/* 产品标题限制高度-溢出隐藏 */
.woocommerce ul.products li.product .woocommerce-loop-product__title {
	height: 60px;
	overflow: hidden;
	/*将对象作为弹性伸缩盒子模型显示*/
	display: -webkit-box;
	/*设置子元素排列方式*/
	-webkit-box-orient: vertical;
	/*设置显示的行数，多出的部分会显示为...*/
	-webkit-line-clamp: 3;
}

/* quick-view-popup样式修复 */
#ast-quick-view-content .entry-title {
	font-size: 1.2rem;
}

#ast-quick-view-content .price {
	font-size: 1.1rem;
}

#ast-quick-view-content .woocommerce-product-details__short-description p {
	font-size: 0.7rem;
}

#ast-quick-view-content .product_meta {
	font-size: 0.5rem;
}

#ast-quick-view-content div.images {
	padding: 30px;
}

/* index-slide-下边距 */
.elementor-widget:not(:last-child) {
	margin: 0 !important;
}

/* index slider 去除button内边距 */


/* 产品列表去掉列间隙 */
.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: 0 !important;
}

/* scroll-top 鼠标移入增加背景色 */
#ast-scroll-top:hover {
	background-color: #000000;
}
/* 首页邮箱收集表单style */
	.home_signup_form {
		margin: 20px 0 !important;
	}
	
	
	.home_signup_form .wpforms-field-container .wpforms-field-email {
		padding: 0;
	}
	
	.home_signup_form .wpforms-field-container .wpforms-field-email input {
		
		font-size: 18px;
		border-radius: 4px;
	}
	
	.home_signup_form .wpforms-field-container .wpforms-field-email label.wpforms-error,
	.home_signup_form .wpforms-field-container .wpforms-field-email label a {
		color: #000;
	}
	
	.home_signup_form .wpforms-submit-container {
		width: 100%;
		padding: 0 !important;
		margin-top: 20px;
	}
	
	.home_signup_form .wpforms-submit-container button {
		background: #000;
		border: 1px solid #000;
		font-size: 18px;
		width: 100%;
		border-radius: 4px;
	}
	
	.home_signup_form .wpforms-submit-container img {
		position: absolute;
		left: -50px;
		top: 50%;
		margin-top: -12px;
	}
	
	.home_signup_form .wpforms-submit-container button:hover {
		background: rgba(0, 0, 0, 0);
		color: #000;
	}
/* 电脑端口下拉header 翻译隐藏 */
@media (min-width:1024px) {
	#ast-fixed-header .ast-grid-right-section {
		display: none !important;
	}

	/* slider 左右切换按钮改成hover模式 */
	.home .elementor-swiper-button-prev,
	.home .elementor-swiper-button-next {
		display: none;
	}

	.home .swiper-container:hover .elementor-swiper-button-prev,
	.home .swiper-container:hover .elementor-swiper-button-next {
		display: block;
	}

	/* 全屏搜索框 */
	body.full-screen .sub-menu {
		opacity: 0 !important;
	}

	.ast-search-box.full-screen .ast-search-wrapper {
		padding-bottom: 30px !important;
	}

	.ast-search-box.full-screen {
		top: 63px !important;
		height: 106px !important;
		background: rgba(255, 255, 255, 1) !important;
	}

	.ast-search-box.full-screen {
		position: absolute !important;
	}

	.ast-header-stick-slide-active .ast-search-box.full-screen {
		top: 0 !important;
		position: fixed !important;
	}

	.ast-header-stick-slide-active .ast-search-box.full-screen .ast-search-wrapper {
		padding: 0 !important;
	}

	.ast-search-box.full-screen .ast-search-wrapper .search-field {
		font-size: 16px !important;
		color: #000;
	}

	.ast-search-box.full-screen .ast-search-wrapper .search-field::placeholder {
		color: #000
	}

	.astra-search-icon::before {
		color: #000
	}

	.ast-search-box.full-screen .ast-search-wrapper fieldset {
		padding: 2px !important;
		border: 1px solid #000 !important;
		border-radius: 5px;
	}

	.ast-search-box.full-screen .ast-search-wrapper .large-search-text {
		display: none;
	}

	.ast-search-box.full-screen .ast-search-wrapper .search-submit {
		font-size: 16px !important;
	}

	.ast-search-box.full-screen #close {
		top: auto !important;
		color: #000
	}

	/* 搜索页面自定义样式 */
	.search .site-content {
		background: #fff;
	}

	.search .site-content .ast-archive-description {
		margin-bottom: 20px !important;
		padding: 0 0 20px 0 !important;
		background-color: #fff;
	}

	.search .site-content .ast-row article {
		margin-bottom: 20px !important;
	}

	.search .site-content .ast-row .type-product .post-content .ast-blog-featured-section img {
		height: 268px;
	}

	.search .site-content .ast-row .post-content .entry-header {
		margin: 0 !important;
	}

	.search .site-content .ast-row article .blog-layout-1 {
		padding: 0 0 20px 0 !important;
		border-bottom: 1px solid #eee;
	}

	.search .site-content .ast-row .blog-layout-3 {
		padding: 0 !important;
	}

	.search .site-content .ast-row .page .ast-blog-featured-section {
		display: none;
	}

	.search .site-content .ast-row .post-content ul,
	.search .site-content .ast-row .post-content p {
		display: block;
		font-size: 14px;

		overflow: hidden;

		/*将对象作为弹性伸缩盒子模型显示*/
		display: -webkit-box;
		/*设置子元素排列方式*/
		-webkit-box-orient: vertical;
		/*设置显示的行数，多出的部分会显示为...*/
		-webkit-line-clamp: 4;
	}

	.search .site-content .ast-row .type-product .post-content .entry-content {
		display: none;
	}

	.search .site-content .ast-row .type-product .post-content .entry-title {
		display: block;

		overflow: hidden;

		/*将对象作为弹性伸缩盒子模型显示*/
		display: -webkit-box;
		/*设置子元素排列方式*/
		-webkit-box-orient: vertical;
		/*设置显示的行数，多出的部分会显示为...*/
		-webkit-line-clamp: 3;
	}
}

/* 手机端quick view不隐藏 */
@media (max-width:768px) {
	.ast-quick-view-text {
		opacity: 1 !important;
	}

	#ast-quick-view-content div.images {
		padding: 15px;
	}

	/* 手机端off menus隐藏二级菜单 before*/
	.ast-header-break-point .main-navigation ul.sub-menu .menu-item .menu-link:before {
		display: none !important;
	}

	/* 手机端OFF menus隐藏类别下拉按钮边框 */
	.ast-builder-menu-mobile .main-navigation .menu-item.menu-item-has-children>.ast-menu-toggle {
		border: none !important;
	}

	/* 搜索页面自定义样式 */
	.search .site-content {
		background: #fff;
	}

	.search .site-content .ast-archive-description {
		margin-bottom: 20px !important;
		padding-bottom: 20px !important;
	}

	.search .site-content .ast-row article {
		margin-bottom: 20px !important;
	}

	.search .site-content .ast-row article .blog-layout-1 {
		padding: 0 0 20px 0 !important;
	}

	.search .site-content .ast-row .page .ast-blog-featured-section {
		display: none;
	}

	.search .site-content .ast-row .post-content ul,
	.search .site-content .ast-row .post-content p {
		display: block;
		font-size: 14px;
		overflow: hidden;
		/*将对象作为弹性伸缩盒子模型显示*/
		display: -webkit-box;
		/*设置子元素排列方式*/
		-webkit-box-orient: vertical;
		/*设置显示的行数，多出的部分会显示为...*/
		-webkit-line-clamp: 4;
	}

	.search .site-content .ast-row .type-product .post-content .entry-title {
		display: block;
		overflow: hidden;
		/*将对象作为弹性伸缩盒子模型显示*/
		display: -webkit-box;
		/*设置子元素排列方式*/
		-webkit-box-orient: vertical;
		/*设置显示的行数，多出的部分会显示为...*/
		-webkit-line-clamp: 3;
	}

	.search .site-content .ast-row .type-product .post-content {
		display: flex;
		align-items: center;
	}

	.search .site-content .ast-row .type-product .post-content .ast-blog-featured-section {
		width: 30%;
		margin: 0 !important;
	}

	.search .site-content .ast-row .type-product .post-content .entry-header {
		width: 70%;
		margin: 0 !important;
		padding-left: 20px;
	}

	.search .site-content .ast-row .type-product .post-content .entry-content {
		display: none;
	}

	.search .site-content .ast-row .post-content .entry-title {
		font-size: 16px !important;
	}

	.ast-archive-description .ast-archive-title {
		font-size: 18px;
	}
	/* 首页邮箱收集表单手机端样式 */
	.home_signup_form .wpforms-field-container .wpforms-field-email input {
		font-size: 16px;
	}
	
	.home_signup_form .wpforms-submit-container button {
		font-size: 16px;
	}
	
	.home_signup_form .footer-email-alert strong {
		font-size: 18px !important;
	}
}
#ast-scroll-top {
	font-size:1rem !important;
}
/* 在WordPress中删除下一个和上一个链接 */
nav.navigation.post-navigation {
    display: none;
}