/**
 * Theme Name: Blocksy Child
 * Description: Blocksy Child theme
 * Author: Creative Themes
 * Template: blocksy
 * Text Domain: blocksy
 */

.woocommerce div.product div.woocommerce-tabs ul.tabs li.reviews_tab,
.woocommerce #tab-reviews,
.woocommerce-Reviews {
	display: none !important;
}

.product>.woocommerce-tabs article td,
.product>.woocommerce-tabs article th {
	padding: 15px 12px;
	border: 1px solid #dadbdd !important;
	vertical-align: middle;
	font-size: 16px;
	color: #353535;
	text-align: center;
	text-transform: capitalize;
}

.product>.woocommerce-tabs article td p,
.product>.woocommerce-tabs article th p {
	padding-bottom: 0;
	margin-bottom: 0 !important;
}

.product>.woocommerce-tabs article table {
	border-collapse: collapse;
	border-right: 1px solid #ededed;
	border-bottom: 1px solid #ededed;
	margin: 2vw 0;
	width: 100% !important;
}


.product>.woocommerce-tabs article table td {
	border-left: 1px solid #dadbdd;
	border-top: 1px solid #dadbdd !important;
}

.product>.woocommerce-tabs article table tr:first-child {
	background-color: var(--theme-palette-color-1);
}

.product>.woocommerce-tabs article table tr:first-child td {
	color: #ffffff;
}

.product>.woocommerce-tabs article table tr:hover:first-child {
	background-color: var(--theme-palette-color-1);
}

.product>.woocommerce-tabs article table tr:hover {
	background-color: #fff9f9;
}

.product>.woocommerce-tabs article {
	font-size: 16px;
	color: #353535;
	line-height: 30px;
	margin-bottom: 30px;
}

.product>.woocommerce-tabs article p,
.product>.woocommerce-tabs article span {
	font-size: 16px;
	color: #353535;
	line-height: 28px;
}

.product>.woocommerce-tabs article strong {
	font-weight: bold;
}

.product>.woocommerce-tabs article img {
	max-width: 100%;
}

.product>.woocommerce-tabs article a {
	color: #353535;
}

.product>.woocommerce-tabs article h1,
.product>.woocommerce-tabs article h2,
.product>.woocommerce-tabs article h3,
.product>.woocommerce-tabs article h4,
.product>.woocommerce-tabs article h5 {
	font-weight: bold;
}

.product>.woocommerce-tabs article h1 {
	font-size: 36px;
	margin-bottom: 20px
}

.product>.woocommerce-tabs article h2 {
	position: relative;
	font-size: 30px;
	margin-bottom: 15px;
	padding-left: 45px;
	color: var(--theme-palette-color-1);
	text-transform: capitalize;
}

.product>.woocommerce-tabs article h2::after {
	content: "";
	position: absolute;
	bottom: -5px;
	left: 0;
	width: 100%;
	height: 3px;
	background-color: var(--theme-palette-color-1);
}

.product>.woocommerce-tabs article h2::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 35px;
	height: 35px;
	background: transparent url('/wp-content/uploads/2026/08/mjzz.png') no-repeat center/cover;
}

.product>.woocommerce-tabs article h3 {
	font-size: 24px;
	margin-bottom: 30px;
	font-weight: 600;
	color: #000;
}

.product>.woocommerce-tabs article h4 {
	font-size: 18px;
	margin-bottom: 15px
}

.product>.woocommerce-tabs article h5 {
	font-size: 14px;
	margin-bottom: 10px
}

.product>.woocommerce-tabs article h6 {
	font-size: 12px;
	margin-bottom: 10px
}

.product>.woocommerce-tabs article ul li,
.product>.woocommerce-tabs article ol li {
	padding-bottom: 0 !important;
	margin-bottom: 0 !important;
	list-style: inherit !important;
}

.product>.woocommerce-tabs article ul li p,
.product>.woocommerce-tabs article ol li p {
	padding-bottom: 0;
	margin-bottom: 3px !important;
}

.product>.woocommerce-tabs article ul,
.product>.woocommerce-tabs article ol {
	margin-bottom: 15px;
}

.product>.woocommerce-tabs article sub {
	vertical-align: sub;
	font-size: smaller;
}

.product>.woocommerce-tabs article sup {
	vertical-align: super;
	font-size: smaller;
}

.product>.woocommerce-tabs article img {
	display: inline-block;
	margin: 20px 0;
}

@media (max-width: 768px) {

	/* 强制表格在移动端表现为块级元素，从而支持横向滚动 */
	.product>.woocommerce-tabs article table {
		display: block;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		/* 让 iOS 设备的横向滑动更顺畅 */
	}

	.product>.woocommerce-tabs article td,
	.product>.woocommerce-tabs article th {
		padding: 15px 5px !important;
		line-height: 20px
	}

	.product>.woocommerce-tabs article p,
	.product>.woocommerce-tabs article span {
		font-size: 13px !important;
		line-height: 24px !important;
	}

	.product>.woocommerce-tabs article img {
		display: inline-block;
		margin: 12px 0;
	}

	/* 可选：防止表格内的文字在手机端过度换行挤压，强制撑开表格产生滚动条 */
	.product>.woocommerce-tabs article table th,
	.product>.woocommerce-tabs article table td {
		white-space: nowrap;
	}

}

.post blockquote {
	position: relative;
	margin: 30px 0;
	padding: 25px 30px 25px 40px;
	border-radius: 0 8px 8px 0;
	font-size: 18px;
	line-height: 1.5;
	color: #444;
	font-style: italic;
	z-index: 1;
	overflow: hidden
}

.post .container>blockquote:first-child {
	border-inline-start: 0
}

.post blockquote::before {
	content: '“';
	position: absolute;
	top: -20px;
	left: 0;
	font-size: 100px;
	font-weight: 900;
	line-height: 1;
	color: rgb(20, 86, 166, .15);
	font-style: normal;
	z-index: 0;
	pointer-events: none
}

.post p {
	line-height: 1.8
}

.post table {
	border-collapse: collapse;
	text-align: left;
	font-size: 14px;
	border-right: 1px solid #eaf5ff;
	border-bottom: 1px solid #eaf5ff;
	width: 100% !important;
	margin-bottom: 2vw
}

.post table tr:hover td {
	background-color: #eaf5ff
}

.post table tr:first-child th {
	background-color: #eaf5ff;
	color: #0f172a;
	font-weight: 700;
	padding: 16px 20px;
	border-bottom: 2px solid #eaf5ff
}

.post table tr th,
.post table tr td {
	padding: 15px 12px;
	border: 1px solid #dadbdd !important;
	vertical-align: middle;
	font-size: 16px;
	color: #353535;
	text-align: center
}

.post ul li,
.post ol li {
	margin-bottom: 12px !important;
	line-height: 1.8 !important;
}

.post ul,
.post ol {
	padding-left: 1.5rem !important;
	margin-bottom: 1.5rem !important;
}

/* ==================================================
   侧边栏产品分类菜单 1:1 还原样式 (防弹版)
================================================== */
/* 1. 整个小工具容器 */
.ct-sidebar .widget_nav_menu {
	background: #ffffff !important;
	border-radius: 8px !important;
	overflow: hidden !important;
	box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03) !important;
	padding: 0 !important;
	border: 1px solid #fff9f9 !important;
}

/* 2. 蓝色标题头部 */
.ct-sidebar .widget_nav_menu .widget-title {
	background-color: #000 !important;
	color: #ffffff !important;
	padding: 20px 25px !important;
	margin: 0 !important;
	font-size: 20px !important;
	font-weight: 700 !important;
	position: relative !important;
	border-radius: 0 !important;
	border: none !important;
}

/* 标题下方的小白条 */
.ct-sidebar .widget_nav_menu .widget-title::after {
	content: '' !important;
	position: absolute !important;
	bottom: 15px !important;
	left: 25px !important;
	width: 35px !important;
	height: 3px !important;
	background-color: #ffffff !important;
}

/* 3. 菜单列表容器 */
.ct-sidebar .widget_nav_menu ul {
	list-style: none !important;
	padding: 15px !important;
	margin: 0 !important;
}

/* 4. 一级分类项目 */
.ct-sidebar .widget_nav_menu ul>li {
	border: 1px solid #ededed !important;
	border-radius: 8px !important;
	margin-bottom: 10px !important;
	overflow: hidden !important;
	background: #ffffff !important;
	padding: 0 !important;
	transition: all 0.3s ease !important;
}

.ct-sidebar .widget_nav_menu ul>li.current-menu-item a{
	color: var(--theme-palette-color-1) !important
}

.ct-sidebar .widget_nav_menu ul>li:last-child {
	margin-bottom: 0 !important;
}

/* 一级分类链接文本 */
.ct-sidebar .widget_nav_menu ul>li>a {
	display: flex !important;
	justify-content: space-between !important;
	align-items: center !important;
	padding: 16px 20px !important;
	color: #000 !important;
	font-weight: 700 !important;
	font-size: 16px !important;
	text-decoration: none !important;
	position: relative !important;
	line-height: 1.4 !important;
}

.ct-sidebar .widget_nav_menu ul>li:hover>a {
	color: var(--theme-palette-color-1) !important
}

/* 展开状态下的一级分类样式 */
.ct-sidebar .widget_nav_menu ul>li.stk-active {
	background-color: #fff9f9 !important;
	border-color: #fff9f9 !important;
}

/* 展开状态左侧的蓝色竖条 */
.ct-sidebar .widget_nav_menu ul>li.stk-active>a::before {
	content: '' !important;
	position: absolute !important;
	left: 0 !important;
	top: 18px !important;
	bottom: 18px !important;
	width: 4px !important;
	background-color: var(--theme-palette-color-1) !important;
	border-radius: 0 4px 4px 0 !important;
}

/* 5. 加号/减号 按钮样式 */
.stk-toggle-btn {
	width: 24px !important;
	height: 24px !important;
	flex-shrink: 0 !important;
	border-radius: 50% !important;
	border: 1px solid var(--theme-palette-color-1) !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	color: var(--theme-palette-color-1) !important;
	font-size: 18px !important;
	font-weight: 400 !important;
	cursor: pointer !important;
	background: #ffffff !important;
	transition: all 0.3s ease !important;
	margin-left: 15px !important;
}

.stk-toggle-btn::after {
	content: '+' !important;
	margin-top: -2px !important;
}

.stk-toggle-btn:hover {
	color: #fff !important;
	background-color: var(--theme-palette-color-1) !important;
}

/* 展开状态的减号按钮 */
.ct-sidebar .widget_nav_menu ul>li.stk-active .stk-toggle-btn {
	background: var(--theme-palette-color-1) !important;
	border-color: var(--theme-palette-color-1) !important;
	color: #ffffff !important;
}

.ct-sidebar .widget_nav_menu ul>li.stk-active .stk-toggle-btn::after {
	content: '-' !important;
}

/* 6. 二级子菜单 */
.ct-sidebar .widget_nav_menu ul .sub-menu {
	display: none !important;
	/* 默认折叠 */
	list-style: none !important;
	padding: 0 20px 15px 20px !important;
	margin: 0 !important;
	border: none !important;
}

/* 展开时显示子菜单 */
.ct-sidebar .widget_nav_menu ul>li.stk-active .sub-menu {
	display: block !important;
}

/* 二级菜单链接 */
.ct-sidebar .widget_nav_menu ul .sub-menu li a {
	display: block !important;
	padding: 8px 0 8px 15px !important;
	color: #353535 !important;
	text-decoration: none !important;
	font-size: 16px !important;
	position: relative !important;
	font-weight: 500 !important;
}

.ct-sidebar .widget_nav_menu ul .sub-menu li:hover a {
	color: var(--theme-palette-color-1) !important
}

/* 二级菜单前的小箭头图标 */
.ct-sidebar .widget_nav_menu ul .sub-menu li a::before {
	content: '›' !important;
	position: absolute !important;
	left: 0 !important;
	top: 50% !important;
	transform: translateY(-50%) !important;
	color: #353535 !important;
	font-size: 18px !important;
	margin-top: -1px !important;
}