/**
 * 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 div.product div.woocommerce-tabs ul.tabs li#tab-title-617,
.woocommerce-tabs #tab-617,
#tab-reviews,
.post-690,
.ct-woo-card-extra{
	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: var(--f16);
	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;
}


.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,
.product>.woocommerce-tabs article table tr:first-child th{
	background-color: color-mix(in srgb, var(--theme-palette-color-1) 100%, #fff) !important;
	color: #ffffff !important;
}

.product>.woocommerce-tabs article table tr:first-child td {
	color: #ffffff;
}

.product>.woocommerce-tabs article table tr:hover:first-child {
	background-color: color-mix(in srgb, var(--theme-palette-color-1) 4%, #fff);
}

.product>.woocommerce-tabs article table tr:hover {
	background-color: color-mix(in srgb, var(--theme-palette-color-1) 4%, #fff);
}

.product>.woocommerce-tabs article {
	font-size: var(--f16);
	color: #353535;
	line-height: 30px;
	margin-bottom: 30px;
}

.product>.woocommerce-tabs article p,
.product>.woocommerce-tabs article span {
	font-size: var(--f16);
	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: var(--f36);
	margin-bottom: 20px
}

.product>.woocommerce-tabs article h2 {
	position: relative;
	font-size: var(--f30);
	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/11/favicon.webp') no-repeat center/cover;
}

.product>.woocommerce-tabs article h3 {
	font-size: var(--f24);
	margin-bottom: 30px;
	font-weight: 600;
	color: #000;
}

.product>.woocommerce-tabs article h4 {
	font-size: var(--f18);
	margin-bottom: 15px
}

.product>.woocommerce-tabs article h5 {
	font-size: var(--f14);
	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;
	}

}


/* 内页新闻 */
.entry-card.type-post .card-content h2.entry-title a,
.ct-related-posts h4.related-entry-title,
.ct-widget .wp-block-latest-posts .wp-block-latest-posts__post-title {
	line-height: 1.5;
	height: 4.5em;
	overflow: hidden;
	display: -webkit-box;
	text-overflow: ellipsis;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
}

.entry-card.type-post .entry-excerpt p {
	display: -webkit-box;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	line-height: 1.8;
	text-overflow: ellipsis;
}

/* 内页新闻详情 */
.post.type-post .post-navigation .item-content .item-title {
	line-height: 1.5;
	height: 3em;
	overflow: hidden;
	display: -webkit-box;
	text-overflow: ellipsis;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

.post .entry-content ul,
.post .entry-content ol {
	padding-inline-start: 1.5em;
	margin-block-start: var(--theme-content-spacing) !important;
	margin-block-end: var(--theme-content-spacing) !important;
}

.post .entry-content ul li,
.post .entry-content ol li {
	list-style: disc;
	line-height: 1.8;
}

.post blockquote {
	position: relative;
	margin: 30px 0 !important;
	line-height: 1.5;
	z-index: 1;
	overflow: hidden;
}

.wp-block-latest-posts__featured-image.alignleft img {
	border-radius: 8px
}

.post table {
	border-collapse: collapse;
	text-align: left;
	font-size: var(--f14);
	border-right: 1px solid rgba(227, 0, 11, .02);
	border-bottom: 1px solid rgba(227, 0, 11, .02);
	width: 100% !important;
	margin: 1vw 0 !important
}

.post table tr:hover td {
	background-color: rgba(227, 0, 11, .02)
}

.post table tr:first-child th {
	background-color: var(--theme-palette-color-1);
	color: #ffffff !important;
	font-weight: 700;
	padding: 16px 20px;
	border-bottom: 2px solid rgba(227, 0, 11, .02)
}

.post table tr:first-child th span,
.post table tr:first-child th p {
	color: #ffffff !important
}

.post table tr th,
.post table tr td {
	padding: 15px 12px;
	border: 1px solid #dadbdd !important;
	vertical-align: middle;
	font-size: var(--f16);
	color: #353535;
	text-align: center
}