/* STYLE调试 */
/* 滚动条样式 */
html::-webkit-scrollbar-track,
#ast-quick-view-content div.summary.product::-webkit-scrollbar-track,
.elementor-popup-modal .dialog-message::-webkit-scrollbar-track,
#video-product::-webkit-scrollbar-track {
	background-color: rgba(255, 255, 255, 0.8);
}

/*定义滚动条高宽及背景 高宽分别对应横竖滚动条的尺寸*/
html::-webkit-scrollbar,
#ast-quick-view-content div.summary.product::-webkit-scrollbar,
.elementor-popup-modal .dialog-message::-webkit-scrollbar,
#video-product::-webkit-scrollbar {
	width: 7px;
	background-color: rgba(0, 0, 0, 0);
}

/*定义滑块 内阴影+圆角*/
html::-webkit-scrollbar-thumb,
#ast-quick-view-content div.summary::-webkit-scrollbar-thumb,
.elementor-popup-modal .dialog-message::-webkit-scrollbar-thumb,
#video-product::-webkit-scrollbar-thumb {
	background-color: rgba(187, 189, 190, 1);
}

/* 二级菜单字体颜色 */
.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: #ed6e11 !important;
}

/* 语言切换 */
#lang_choice_polylang-5,
#lang_choice_polylang-11 {
	color: #fff !important;
	border: none !important;
	outline: none;
	/*很关键：将默认的select选择框样式清除*/
	appearance: none;
	-moz-appearance: none;
	-webkit-appearance: none;
	/*在选择框的最右侧中间显示小箭头图片*/
	background: url("https://lk-direct.com/wp-content/uploads/2022/10/LK_select_icon.svg") no-repeat scroll right center transparent;
	/*为下拉小箭头留出一点位置，避免被文字覆盖*/
	padding-right: 20px;
	background-size: 18px;
}

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

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

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

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

#lang_choice_polylang-11: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;
}

/* 产品详情页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 */
.product-template-default .elementor-popup-modal .dialog-message {
	max-height: 640px;
	width: 100% !important;
}

.product-template-default .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内边距 */
.elementor-slide-button {
	padding: 0 !important;
}

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

/* 调整右下角“返回顶部”箭头的大小 */
#ast-scroll-top {
	font-size:1rem !important;
}

/* info page icon阴影样式 */
.page-id-7570 .elementor-view-stacked .elementor-icon {
	box-shadow: 1px 1px 4px 1px rgb(0 0 0 / 20%);
}

/* 安装视频页面-产品列表滚动 */
/*定义滚动条轨道 内阴影+圆角*/
#video-product {
	max-height: 604px;
	overflow-y: scroll;
	background: #fff;
}

.elementor-image-box-wrapper .elementor-image-box-title {
	display: block;
	height: 100px;
	overflow: hidden;

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

/* 首页邮箱收集表单style */
.home_signup_form {
	margin: 20px 0 !important;
}

.home_signup_form form {
	display: flex;
}

.home_signup_form .wpforms-field-container {
	width: 70%;
}

.home_signup_form .wpforms-field-container .wpforms-field-email {
	padding: 0;
}

.home_signup_form .wpforms-field-container .wpforms-field-email input {
	padding: 0.8em;
	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: 30%;
	padding: 0 !important;
	margin-left: 20px;
}

.home_signup_form .wpforms-submit-container button {
	background: #000;
	border: 1px solid #000;
	padding: 0.9em;
	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模式 */
	.elementor-swiper-button-prev,
	.elementor-swiper-button-next {
		opacity: 0;
	}

	.swiper-container:hover .elementor-swiper-button-prev,
	.swiper-container:hover .elementor-swiper-button-next {
		opacity: 1;
	}

	/* 全屏搜索框 */
	body.full-screen #ast-desktop-header .main-header-bar {
		background: #000 !important;
	}

	body.full-screen .sub-menu {
		opacity: 0 !important;
	}

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

	.ast-theme-transparent-header .main-header-bar:hover {
		background: #000 !important;
	}

	.ast-search-box.full-screen {
		top: 74px !important;
		height: 106px !important;
		background: rgba(0, 0, 0, 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;
	}

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

	.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;
	}

	/* 搜索页面自定义样式 */
	.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 .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;
	}

	.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;
	}

	/* 安装视频页侧边栏产品列表样式 */
	#video-product {
		max-height: 537px;
		overflow-y: scroll;
		margin-left: 30px;
		background: #fff;
	}

	.elementor-image-box-wrapper .elementor-image-box-title {
		display: block;
		height: 100px;
		overflow: hidden;

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

	/* PC端header二级菜单重铸样式 */
	/* .ast-builder-menu-1 .main-header-menu>.menu-item>.sub-menu {
		position: fixed;
		top: -1073px;
		flex-direction: row;
		justify-content: center;
		display: flex;
		left: 0 !important;
		align-items: flex-start;
		width: 100%;
		padding: 20px;
	}

	#menu-item-1418:hover .sub-menu {
		top: 65px;
	}

	.ast-header-stick-slide-active .menu-item-1418:hover .sub-menu {
		top: 57px;
	}

	.ast-builder-menu-1 .main-header-menu>.menu-item>.sub-menu>li>ul>li>ul {
		display: none;
	}

	.ast-builder-menu-1 .main-header-menu>.menu-item>.sub-menu>li>a.menu-link {
		font-weight: 700;
	}

	.ast-builder-menu-1 .main-header-menu>.menu-item>.sub-menu .menu-link {
		padding: 5px;
	}

	.submenu-with-border .sub-menu .sub-menu {
		position: initial !important;
		box-shadow: none !important;
	}

	.main-header-menu .sub-menu .menu-item.menu-item-has-children>.menu-link:after {
		display: none;
	} */

}

/* 手机端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;
	}

	/* 安装视频页侧边栏产品列表样式 */
	#video-product {
		max-height: 350px;
		overflow-y: scroll;
		margin-top: 20px;
		background: #fff;
	}

	.elementor-image-box-wrapper .elementor-image-box-title {
		display: block;
		height: 55px;
		overflow: hidden;

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

	#video-product .elementor-widget-image-box .elementor-image-box-wrapper {
		overflow: hidden;
	}

	#video-product .elementor-widget-image-box .elementor-image-box-img {
		float: left;
	}

	#video-product .elementor-widget-image-box .elementor-image-box-content {
		max-width: 70%;
		float: right;
		padding-left: 10px;
	}

	/* 首页邮箱收集表单手机端样式 */
	.home_signup_form {
		margin: 20px 0 !important;
	}

	.home_signup_form form {
		flex-wrap: wrap;
		justify-content: space-around;
	}

	.home_signup_form .wpforms-field-container {
		width: 100%;
	}

	.home_signup_form .wpforms-field-container .wpforms-field-email input {
		padding: 12px;
		font-size: 16px;
	}

	.home_signup_form .wpforms-submit-container {
		width: 100%;
		margin: 0;
	}

	.home_signup_form .wpforms-submit-container button {
		padding: 12px;
		margin-top: 20px;
		font-size: 16px;
	}

	.home_signup_form .footer-email-alert strong {
		font-size: 18px !important;
	}

	/*语言翻译手机端样式*/
	#lang_choice_polylang-11 {
		font-size: 12px;
		text-align: right;
	}

	#ast-fixed-header .site-header-primary-section-right .header-widget-area {
		display: none !important;
	}

	#ast-mobile-header .ast-header-search {
		display: none;
	}

	#ast-fixed-header .ast-header-search {
		display: flex !important;
	}

	.ast-search-box.full-screen #close {
		top: 20px;
		right: 20px;
	}
}

