/* Trang chủ — Các dự án phong thủy tiêu biểu (lưới sản phẩm cửa hàng sách) */

.tpsoftvn-home-featured-projects-section {
	padding-top: 2rem !important;
	padding-bottom: 2.5rem !important;
	background: linear-gradient(180deg, #faf7f5 0%, #fff 100%);
}

.tpsoftvn-home-featured-projects-section .section-content {
	max-width: 1200px;
	margin-left: auto;
	margin-right: auto;
	padding-left: 15px;
	padding-right: 15px;
}

.tpsoftvn-home-featured-projects-heading {
	margin-bottom: 1.75rem;
}

.tpsoftvn-home-featured-projects-title {
	text-align: center;
	margin: 0;
	font-size: clamp(1.35rem, 3vw, 1.75rem);
	font-weight: 700;
	letter-spacing: 0.04em;
	color: #c52126;
	font-family: tahoma, arial, helvetica, sans-serif;
	line-height: 1.3;
}

.tpsoftvn-home-featured-projects--products {
	margin-bottom: 0.5rem;
}

.tpsoftvn-home-featured-projects--products .tpsoftvn-bookstore-wc-loop {
	margin-bottom: 0;
}

.tpsoftvn-home-featured-projects-section ul.products {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
	margin: 0 !important;
	list-style: none;
	padding: 0;
	clear: both;
}

.tpsoftvn-home-featured-projects-section ul.products::before,
.tpsoftvn-home-featured-projects-section ul.products::after {
	display: none !important;
	content: none !important;
}

.tpsoftvn-home-featured-projects-section ul.products li.product {
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	float: none !important;
	flex: none !important;
	background: #fff;
	border-radius: 14px;
	box-shadow: 0 6px 22px rgba(0, 0, 0, 0.09);
	border: 1px solid rgba(197, 33, 38, 0.1);
	overflow: hidden;
	padding-bottom: 12px;
	position: relative;
	transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.tpsoftvn-home-featured-projects-section ul.products li.product:hover {
	transform: translateY(-4px);
	box-shadow: 0 14px 32px rgba(0, 0, 0, 0.12);
}

.tpsoftvn-home-featured-projects-section ul.products li.product .col-inner {
	padding: 0;
	margin: 0;
}

.tpsoftvn-home-featured-projects-section ul.products li.product .woocommerce-LoopProduct-link {
	display: block;
}

.tpsoftvn-home-featured-projects-section ul.products li.product .box-image {
	overflow: hidden;
	border-radius: 14px 14px 0 0;
}

.tpsoftvn-home-featured-projects-section ul.products li.product img {
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	display: block;
}

.tpsoftvn-home-featured-projects-section ul.products li.product .woocommerce-loop-product__title,
.tpsoftvn-home-featured-projects-section ul.products li.product .box-text .product-title {
	font-size: 1rem;
	line-height: 1.4;
	margin: 12px 12px 6px;
	min-height: 2.8em;
	color: #1a1a1a;
}

.tpsoftvn-home-featured-projects-section ul.products li.product .price {
	margin: 0 12px 12px;
	color: #c52126;
	font-weight: 600;
}

.tpsoftvn-home-featured-projects-section ul.products li.product .button,
.tpsoftvn-home-featured-projects-section ul.products li.product a.add_to_cart_button {
	margin: 0 12px;
	border-radius: 10px;
}

.tpsoftvn-home-featured-projects-section ul.products li.product .box-text {
	padding-bottom: 4px;
}

@media (max-width: 991px) {
	.tpsoftvn-home-featured-projects-section ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 16px;
	}
}

@media (max-width: 549px) {
	.tpsoftvn-home-featured-projects-section ul.products {
		grid-template-columns: 1fr;
	}
}

.tpsoftvn-home-featured-projects__footer {
	margin-top: 1.75rem;
	text-align: center;
}

.tpsoftvn-home-featured-projects__more {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.55rem 1.35rem;
	border-radius: 999px;
	background: #fff;
	border: 1px solid rgba(197, 33, 38, 0.35);
	color: #c52126;
	font-weight: 600;
	font-size: 0.9rem;
	text-decoration: none;
	transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.tpsoftvn-home-featured-projects__more:hover {
	background: #c52126;
	color: #fff;
	box-shadow: 0 4px 14px rgba(197, 33, 38, 0.25);
	text-decoration: none;
}
