/* =========================================================================
 * Flooring Child — Shop / category archive product cards
 * Clean cards: no white box, price on top, "View Product" button below.
 * ====================================================================== */

/* Remove the white card background / shadow / border behind the text. */
ul.products li.product,
.woocommerce ul.products li.product {
	background: transparent !important;
	box-shadow: none !important;
	border: none !important;
	padding: 0 0 10px !important;
	text-align: left;
	font-family: -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

ul.products li.product .woocommerce-loop-product__title {
	font-family: inherit;
	font-style: normal !important;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.35;
	color: #15263f;
	margin: 12px 0 6px;
	padding: 0;
}

/* Footer: price first, button below. */
ul.products li.product .fc-loop-foot {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 12px;
	margin-top: 8px;
}

ul.products li.product .fc-loop-price {
	margin: 0;
	font-family: inherit;
	font-style: normal !important;
	font-size: 15px;
	font-weight: 700;
	color: #15263f;
}

ul.products li.product .fc-loop-price del {
	opacity: 0.5;
	font-weight: 400;
	margin-right: 6px;
}

ul.products li.product .fc-loop-price ins {
	text-decoration: none;
}

/* The "View Product" button — flat (no shadow), roomy, clear margin. */
ul.products li.product .fc-view-product {
	display: inline-block;
	margin: 2px 0 0;
	padding: 11px 20px;
	background: #1f6fe0;
	color: #fff !important;
	border: none;
	border-radius: 9px;
	font-family: inherit;
	font-style: normal !important;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.02em;
	line-height: 1.1;
	text-transform: uppercase;
	text-decoration: none;
	box-shadow: none !important;
	transition: background 0.15s ease;
}

ul.products li.product .fc-view-product:hover {
	background: #1657bd;
	color: #fff !important;
}

/* Give each card a little breathing room around everything. */
ul.products li.product {
	margin-bottom: 26px !important;
}

/* ----- "Sort by latest" ordering: 50% width on mobile -------------------- */

@media (max-width: 768px) {
	.woocommerce-ordering {
		width: 50% !important;
		max-width: 50% !important;
		float: none !important;
		margin: 0 0 18px !important;
	}
	.woocommerce-ordering select.orderby {
		width: 100% !important;
		min-width: 0 !important;
	}
}
