
/* ==========================================================
   屏蔽站模板 v14
   Homepage-only simple layout.
   IMPORTANT: no mega-menu / WooCommerce core / footer JS rules
   are overridden here.
   ========================================================== */

.home .home-grid-rows{
	display:none !important;
}

.pb-simple-home{
	width:min(100% - 30px, 1220px);
	margin:0 auto;
	padding:14px 0 48px;
	background:#fff;
}

.pb-simple-hero{
	margin:0 0 24px;
	background:#f7f7f7;
	overflow:hidden;
}

.pb-simple-hero a,
.pb-simple-hero picture{
	display:block;
	width:100%;
}

.pb-simple-hero img{
	display:block;
	width:100%;
	height:auto;
	max-height:480px;
	object-fit:cover;
}

.pb-simple-section{
	margin:0 0 28px;
}

.pb-simple-heading{
	display:flex;
	align-items:center;
	justify-content:space-between;
	gap:16px;
	margin:0 0 12px;
}

.pb-simple-heading h2{
	margin:0;
	padding:0;
	font-size:18px;
	line-height:1.25;
	font-weight:600;
	color:#222;
	text-transform:none;
	letter-spacing:0;
}

.pb-simple-heading a{
	font-size:11px;
	color:#555;
	text-decoration:none;
	white-space:nowrap;
}

.pb-simple-heading a:hover{
	text-decoration:underline;
}

/* Product carousel */
.pb-simple-carousel{
	display:grid;
	grid-template-columns:repeat(4,minmax(0,1fr));
	gap:12px;
}

.pb-simple-carousel-item{
	min-width:0;
}

.pb-simple-carousel .featured-module-item{
	width:100%;
	margin:0;
	padding:0;
}

.pb-simple-carousel .featured-module-product-card{
	border:0;
	box-shadow:none;
	background:#fff;
	padding:0;
}

.pb-simple-carousel .featured-module-product-image{
	display:block !important;
	position:relative;
	width:100%;
	margin:0 0 7px;
	padding:0;
	background:#f7f7f7;
	overflow:hidden;
	visibility:visible !important;
	opacity:1 !important;
}

.pb-simple-carousel .featured-module-image{
	display:block !important;
	position:relative !important;
	width:100%;
	aspect-ratio:1 / 1;
	min-height:1px;
	padding:0 !important;
	margin:0;
	overflow:hidden;
	background:#f7f7f7;
}

.pb-simple-carousel .featured-module-image a{
	display:block !important;
	position:absolute !important;
	inset:0 !important;
	width:100%;
	height:100%;
}

.pb-simple-carousel .featured-module-image img{
	display:block !important;
	position:absolute !important;
	inset:0 !important;
	width:100%;
	height:100%;
	max-width:100%;
	max-height:100%;
	aspect-ratio:1 / 1;
	object-fit:contain;
	margin:0;
	background:#f7f7f7;
	visibility:visible !important;
	opacity:1 !important;
}

.pb-simple-carousel .featured-module-product-info{
	padding:0;
}

.pb-simple-carousel .featured-module-product-info h3{
	height:31px;
	margin:0 0 3px;
	padding:0;
	overflow:hidden;
	display:-webkit-box;
	-webkit-box-orient:vertical;
	-webkit-line-clamp:2;
	font-size:11px;
	line-height:1.4;
	font-weight:400;
	color:#333;
}

.pb-simple-carousel .featured-module-product-info h3 a{
	color:inherit;
}

.pb-simple-carousel .featured-custom-text,
.pb-simple-carousel .product-badges{
	display:none !important;
}

.pb-simple-carousel .featured-module-price{
	margin:0;
	font-size:11px;
	line-height:1.3;
	font-weight:500;
	color:#222;
}

.pb-simple-carousel .featured-module-price del{
	font-size:10px;
	color:#999;
}

/* Product list */
.pb-simple-product-grid{
	display:grid;
	grid-template-columns:repeat(4,minmax(0,1fr));
	gap:26px 13px;
}

.pb-simple-product-item{
	min-width:0;
}

.pb-simple-product-grid .product-layout,
.pb-simple-product-grid .product-thumb{
	width:100%;
	margin:0;
	padding:0;
	border:0;
	box-shadow:none;
	background:#fff;
}

.pb-simple-product-grid .product-thumb .image{
	position:relative;
	margin:0 0 7px;
	padding:0;
	background:#f7f7f7;
	overflow:hidden;
}

.pb-simple-product-grid .product-thumb .image img{
	display:block;
	width:100%;
	height:auto;
	aspect-ratio:1 / 1;
	object-fit:cover;
	margin:0;
	background:#f7f7f7;
}

.pb-simple-product-grid .product-thumb .caption{
	padding:0;
	margin:0;
}

.pb-simple-product-grid .product-thumb .name{
	height:31px;
	margin:0 0 3px;
	overflow:hidden;
	display:-webkit-box;
	-webkit-box-orient:vertical;
	-webkit-line-clamp:2;
	font-size:11px;
	line-height:1.4;
	font-weight:400;
	color:#333;
}

.pb-simple-product-grid .product-thumb .name a{
	color:inherit;
}

.pb-simple-product-grid .product-thumb .price{
	margin:0;
	font-size:11px;
	line-height:1.3;
	font-weight:500;
	color:#222;
}

.pb-simple-product-grid .product-thumb .price-tax,
.pb-simple-product-grid .featured-custom-text,
.pb-simple-product-grid .product-badges,
.pb-simple-product-grid .theme577-quick-shop-trigger{
	display:none !important;
}

.pb-simple-empty{
	grid-column:1 / -1;
	padding:30px 0;
	color:#777;
	text-align:center;
}

/* Only make homepage header visually more compact.
   It does NOT change dropdown or hover behavior. */
@media (min-width:992px){
	.home .header-compact .mid-bar{
		min-height:64px;
	}
}

/* Mobile target based on supplied screenshot */
@media (max-width:767px){
	.pb-simple-home{
		width:100%;
		padding:6px 7px 28px;
	}

	.pb-simple-hero{
		margin-bottom:16px;
	}

	.pb-simple-hero img{
		max-height:none;
		object-fit:contain;
	}

	.pb-simple-section{
		margin-bottom:22px;
	}

	.pb-simple-heading{
		margin-bottom:8px;
	}

	.pb-simple-heading h2{
		font-size:12px;
	}

	.pb-simple-heading a{
		font-size:8px;
	}

	.pb-simple-carousel{
		display:flex;
		gap:7px;
		overflow-x:auto;
		padding:0 0 3px;
		scroll-snap-type:x mandatory;
		-webkit-overflow-scrolling:touch;
		scrollbar-width:none;
	}

	.pb-simple-carousel::-webkit-scrollbar{
		display:none;
	}

	.pb-simple-carousel-item{
		flex:0 0 calc(40% - 5px);
		scroll-snap-align:start;
	}

	.pb-simple-carousel .featured-module-product-info h3{
		height:32px;
		margin-bottom:4px;
		font-size:12px;
		line-height:1.35;
	}

	.pb-simple-carousel .featured-module-price{
		font-size:12px;
	}

	.pb-simple-carousel .featured-module-price del{
		font-size:10px;
	}

	.pb-simple-product-grid{
		grid-template-columns:repeat(2,minmax(0,1fr));
		gap:18px 7px;
	}

	.pb-simple-product-grid .product-thumb .image{
		margin-bottom:5px;
	}

	.pb-simple-product-grid .product-thumb .name{
		height:20px;
		margin-bottom:2px;
		font-size:7.5px;
		line-height:1.35;
	}

	.pb-simple-product-grid .product-thumb .price{
		font-size:7.5px;
	}
}
