/** Luxury gold — framed image, centered title and a dedicated price tray. */
.ln-products-section {
	--ln-pc-radius: 24px;
	--ln-pc-border: rgba(173, 132, 55, 0.34);
	--ln-pc-bg: linear-gradient(180deg, #fff 0%, #fffdf8 100%);
	--ln-pc-media-bg: radial-gradient(circle at 50% 18%, rgba(255, 255, 255, 0.98) 0%, rgba(248, 239, 216, 0.96) 68%, #e8dcc0 100%);
	--ln-pc-title: var(--ln-ink);
	--ln-pc-muted: #8b7040;
	--ln-pc-price: var(--ln-primary);
	--ln-pc-button-bg: var(--ln-primary);
	--ln-pc-button-text: #fff9eb;
	--ln-pc-shadow: 0 13px 34px rgba(12, 59, 52, 0.08);
	--ln-pc-shadow-hover: 0 27px 56px rgba(12, 59, 52, 0.17);
}

.ln-products-section ul.products li.product::before {
	position: absolute;
	z-index: 2;
	inset: 7px;
	border: 1px solid rgba(201, 163, 92, 0.2);
	border-radius: 18px;
	content: "";
	pointer-events: none;
}

.ln-products-section ul.products li.product::after {
	position: absolute;
	z-index: 2;
	inset: 0;
	background: linear-gradient(118deg, transparent 35%, rgba(255, 255, 255, 0.78) 50%, transparent 65%);
	content: "";
	pointer-events: none;
	opacity: 0;
	transform: translateX(58%);
	transition: opacity 0.35s ease, transform 0.58s ease;
}

.ln-products-section ul.products li.product:hover::after {
	opacity: 0.38;
	transform: translateX(-58%);
}

.ln-products-section ul.products li.product a img {
	width: calc(100% - 24px);
	margin: 12px 12px 0;
	border: 1px solid rgba(201, 163, 92, 0.2);
	border-radius: 18px;
}

.ln-products-section ul.products li.product .onsale {
	top: 24px;
	right: 24px;
	background: var(--ln-primary);
	color: #fff8e8;
}

.ln-products-section ul.products li.product .ln-product-category {
	align-self: center;
	padding: 2px 10px;
	border: 1px solid rgba(201, 163, 92, 0.3);
	border-radius: 999px;
	background: #fbf5e7;
	text-align: center;
}

.ln-products-section ul.products li.product .woocommerce-loop-product__title {
	text-align: center;
}

.ln-products-section ul.products li.product .star-rating {
	align-self: center;
}

.ln-products-section ul.products li.product .price {
	right: 14px;
	bottom: 68px;
	left: 14px;
	min-height: 48px;
	padding: 7px 10px;
	border: 1px solid rgba(201, 163, 92, 0.24);
	border-radius: 12px;
	background: linear-gradient(180deg, #fffaf0, #f8efd9);
}

.ln-products-section ul.products li.product .ln-loop-cart {
	right: 14px;
	bottom: 14px;
	left: 14px;
}

.ln-products-section ul.products li.product .ln-loop-cart:hover,
.ln-products-section ul.products li.product .ln-loop-cart.added {
	border-color: var(--ln-gold);
	background: var(--ln-gold);
	color: var(--ln-primary-dark);
}

@media (max-width: 520px) {
	.ln-products-section ul.products li.product::before {
		inset: 4px;
		border-radius: 12px;
	}

	.ln-products-section ul.products li.product a img {
		width: calc(100% - 12px);
		margin: 6px 6px 0;
		border-radius: 12px;
	}

	.ln-products-section ul.products li.product .onsale {
		top: 12px;
		right: 12px;
	}

	.ln-products-section ul.products li.product .price {
		right: 8px;
		bottom: 54px;
		left: 8px;
		min-height: 38px;
		padding: 4px 6px;
	}

	.ln-products-section ul.products li.product .ln-loop-cart {
		right: 8px;
		bottom: 8px;
		left: 8px;
	}
}
