.prolend-products-cta{ text-align:center; margin-top:18px; }
/* Harmonize the products CTA with the site's primary buttons (use CSS variables from landing stylesheet) */
.prolend-products-cta a{
	display:inline-block;
	background: var(--prolend-primary);
	color: var(--prolend-white);
	padding: 12px 22px;
	border-radius: 25px;
	text-decoration: none;
	font-weight: 700;
	box-shadow: 0 6px 18px rgba(84,97,53,0.18);
	transition: var(--prolend-transition);
}
.prolend-products-cta a:hover{
	background: var(--prolend-secondary);
	transform: translateY(-2px);
	box-shadow: 0 10px 30px rgba(84,97,53,0.25);
}

/* Botones dentro del grid */
.prolend-products-grid .prolend-btn{ display:inline-block; padding:10px 14px; border-radius:6px; text-decoration:none; }

/* Ajustes básicos del grid para compatibilidad con themes */
.prolend-products-grid{ display:flex; gap:18px; justify-content:center; align-items:flex-start; flex-wrap:wrap; }

/* FORCE: make products grid behave as equal-height rows even if other CSS overrides
   Use high-specificity/important so runtime styles (themes/plugins) don't break alignment */
.prolend-products-grid.force-equal {
	display: grid !important;
	grid-template-columns: repeat(3, 1fr) !important;
	gap: 30px !important;
	grid-auto-rows: 1fr !important;
	align-items: stretch !important;
}
.prolend-product-card{ flex:1 1 0; width:auto; max-width:380px; box-shadow:0 2px 8px rgba(0,0,0,0.06); border-radius:10px; overflow:visible !important; background:#fff; display:flex; flex-direction:column; }

/* Strong overrides to ensure card internals behave as vertical flex containers */
.prolend-product-card.enforce-flex{ display:flex !important; flex-direction:column !important; height:100% !important; }
.prolend-product-card .prolend-product-content{ padding:14px; }
.prolend-product-card .prolend-product-title{ font-weight:700; margin:0 0 8px; }

/* Ensure product info and CTAs align to bottom when this file is used instead of the landing CSS */
.prolend-product-info{ display:flex; flex-direction:column; gap:12px; flex:1 1 auto; }
.prolend-product-info > .prolend-product-btn,
.prolend-product-info > .prolend-product-details,
.prolend-product-info > .prolend-product-btn-secondary { margin-top: auto !important; }

/* Enforce image sizing so cards remain visually consistent */
.prolend-product-image img { display:block; max-width:100%; height: auto; max-height: 300px; object-fit: contain; margin: 0 auto; }

/* Utility: apply these classes via JS if needed when the DOM renders */

/* Ensure featured badge matches landing styles and is not clipped */
.prolend-featured-badge{
	position: absolute !important;
	top: -15px !important;
	left: 50% !important;
	transform: translateX(-50%) !important;
	background: var(--nm-wine) !important;
	color: var(--prolend-white) !important;
	padding: 6px 20px !important;
	border-radius: 20px !important;
	font-size: 11px !important;
	font-weight: 700 !important;
	letter-spacing: 1px !important;
	text-transform: uppercase !important;
	box-shadow: 0 4px 15px rgba(95, 6, 37, 0.4) !important;
}

/* End overrides */
