/* MSI – Sold page: centred message + button over the machine photo
   (sold product pages only). Loads after msi-sold-page.css. */

/* 1. No SOLD stamp, no greyscale: normal photo under a dark overlay */
.msi-is-sold .nickx_product_images_with_video::after,
.msi-is-sold .nickx_product_images_with_video.has-photo-cta::after {
	content: none !important;
	display: none !important;
}
.msi-is-sold .nickx_product_images_with_video img {
	filter: none !important;
	opacity: 1 !important;
}

/* 2. Overlay covers the main photo, content centred */
.msi-is-sold .nickx-slider-for { position: relative; }
.msi-photo-cta {
	position: absolute;
	inset: 0;
	z-index: 6;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 24px;
	background: rgba(15, 23, 42, .62);
	color: #fff;
	text-align: center;
	pointer-events: auto;
}
.msi-photo-cta__title {
	margin: 0;
	font-size: 22px;
	font-weight: 700;
	line-height: 1.3;
	color: #fff;
}
.msi-photo-cta__text {
	margin: 0 0 10px;
	max-width: 420px;
	font-size: 15px;
	line-height: 1.5;
	color: #e2e8f0;
}
.msi-photo-cta__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	padding: 12px 26px;
	border: 0;
	border-radius: 10px;
	background: linear-gradient(135deg, #f97316, #c2410c);
	color: #fff;
	font-weight: 600;
	text-transform: uppercase;
	cursor: pointer;
	transition: all .3s linear;
}
.msi-photo-cta__btn:hover { background: linear-gradient(135deg, #c2410c, #f97316); }

/* 3. Right side: only 2 buttons, side by side
   (the photo button now opens the "similar machine" enquiry form) */
.msi-sold-buttons .msi-sold-enquire { display: none !important; }
.msi-sold-buttons .msi-sold-find,
.msi-sold-buttons .openWApp { width: 49.125%; }

@media (max-width: 767px) {
	.msi-photo-cta { padding: 16px; gap: 4px; }
	.msi-photo-cta__title { font-size: 17px; }
	.msi-photo-cta__text { font-size: 13px; margin-bottom: 8px; }
	.msi-photo-cta__btn { min-height: 42px; padding: 10px 18px; font-size: 13px; }
	.msi-sold-buttons .msi-sold-find,
	.msi-sold-buttons .openWApp { width: 100%; max-width: 99%; }
}