/*
Theme Name: Blocksy Child
Theme URI: https://creativethemes.com/blocksy/
Template: blocksy
Description: Blocksy is a fast, modern WordPress theme with advanced WooCommerce support and full compatibility with the block editor.
Tags: accessibility-ready,blog,block-patterns,e-commerce,wide-blocks,block-styles,grid-layout,one-column,two-columns,three-columns,four-columns,right-sidebar,left-sidebar,translation-ready,custom-colors,custom-logo,custom-menu,featured-images,footer-widgets,full-width-template,theme-options,threaded-comments
*/

/* 确保主题变量 fallback 为你的主色调，防止 Customizer 未加载时失效 */
.products .product h2.woocommerce-loop-product__title a{
    line-height:1.5;
    height:3em;
    overflow:hidden;
		display:-webkit-box;
		text-overflow:ellipsis;
		-webkit-line-clamp:2;
		-webkit-box-orient:vertical;
}

:root {
	--theme-palette-color-1: #a32124;
}

.woocommerce div.product div.woocommerce-tabs ul.tabs li.reviews_tab,
.woocommerce #tab-reviews,
.woocommerce-Reviews,
.additional_information_tab,
#tab-title-617 {
	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;
}


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

/* 【修改】将原本的浅蓝色 #f3f7ff 改为极浅的红色，适配主色调 */
.product>.woocommerce-tabs article table tr:hover {
	background-color: #fdf2f2; 
}

.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/favicon.webp') 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
}

/* 【修改】将原本的蓝色透明 rgb(20, 86, 166, .15) 改为 #a32124 的 15% 透明度 */
.post blockquote::before {
	content: '“';
	position: absolute;
	top: -20px;
	left: 0;
	font-size: 100px;
	font-weight: 900;
	line-height: 1;
	color: rgba(163, 33, 36, 0.15); 
	font-style: normal;
	z-index: 0;
	pointer-events: none
}

.post p {
	line-height: 1.8
}

/* 【修改】将原本的浅蓝色边框 #eaf5ff 改为极浅红 #fdf2f2 */
.post table {
	border-collapse: collapse;
	text-align: left;
	font-size: 14px;
	border-right: 1px solid #fdf2f2;
	border-bottom: 1px solid #fdf2f2;
	width: 100% !important;
	margin-bottom: 2vw
}

/* 【修改】将原本的浅蓝色悬停 #eaf5ff 改为极浅红 #fdf2f2 */
.post table tr:hover td {
	background-color: #fdf2f2
}

/* 【修改】将原本的浅蓝色表头 #eaf5ff 改为极浅红 #fdf2f2 */
.post table tr:first-child th {
	background-color: #fdf2f2;
	color: #0f172a;
	font-weight: 700;
	padding: 16px 20px;
	border-bottom: 2px solid #fdf2f2
}

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

.wp-elements-2 a:where(:not(.wp-element-button)){
	line-height:1.5;
	height:3em;
	overflow:hidden;
	display:-webkit-box;
	text-overflow:ellipsis;
	-webkit-line-clamp:2;
	-webkit-box-orient:vertical;
}