/**
 * CMW Promo Link — estilos del popup.
 * Paleta cálida acorde a Cafés MyWay / Kadence. Sin dependencias externas.
 */

.cmw-promo-overlay {
	position: fixed;
	inset: 0;
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	background: rgba( 30, 20, 12, 0.55 );
	backdrop-filter: blur( 2px );
	animation: cmw-promo-fade 0.22s ease-out;
}

.cmw-promo-box {
	position: relative;
	box-sizing: border-box;
	width: 100%;
	max-width: 420px;
	padding: 34px 28px 28px;
	border-radius: 16px;
	background: #fffaf3;
	color: #3a2a1c;
	text-align: center;
	box-shadow: 0 18px 50px rgba( 0, 0, 0, 0.28 );
	border-top: 5px solid #b8842b;
	animation: cmw-promo-pop 0.26s cubic-bezier( 0.18, 0.89, 0.32, 1.28 );
}

.cmw-promo-x {
	position: absolute;
	top: 8px;
	right: 12px;
	width: 34px;
	height: 34px;
	padding: 0;
	border: 0;
	background: transparent;
	color: #9a836b;
	font-size: 26px;
	line-height: 1;
	cursor: pointer;
	border-radius: 50%;
	transition: background 0.15s ease;
}

.cmw-promo-x:hover {
	background: rgba( 0, 0, 0, 0.06 );
}

.cmw-promo-title {
	margin: 0 0 10px;
	font-size: 1.4em;
	line-height: 1.25;
	font-weight: 700;
	color: #2c1d10;
}

.cmw-promo-body {
	margin: 0 0 22px;
	font-size: 1.02em;
	line-height: 1.5;
	color: #5a4633;
}

.cmw-promo-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: center;
}

.cmw-promo-btn {
	display: inline-block;
	padding: 12px 22px;
	border: 1px solid #d8c6ad;
	border-radius: 10px;
	background: #fff;
	color: #5a4633;
	font-size: 1em;
	font-weight: 600;
	text-decoration: none;
	cursor: pointer;
	transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
}

.cmw-promo-btn:hover {
	transform: translateY( -1px );
}

.cmw-promo-btn--primary {
	border-color: transparent;
	background: linear-gradient( 135deg, #c0922f, #9a6e1d );
	color: #fff;
	box-shadow: 0 6px 16px rgba( 154, 110, 29, 0.35 );
}

.cmw-promo-btn--primary:hover {
	box-shadow: 0 9px 22px rgba( 154, 110, 29, 0.45 );
}

@keyframes cmw-promo-fade {
	from { opacity: 0; }
	to { opacity: 1; }
}

@keyframes cmw-promo-pop {
	from { opacity: 0; transform: translateY( 14px ) scale( 0.96 ); }
	to { opacity: 1; transform: translateY( 0 ) scale( 1 ); }
}

@media ( max-width: 480px ) {
	.cmw-promo-box {
		padding: 30px 20px 24px;
		border-radius: 14px;
	}
	.cmw-promo-actions {
		flex-direction: column;
	}
	.cmw-promo-btn {
		width: 100%;
	}
}
