/* Komby Popup — Menu de la Saint-Sylvestre (2 Potes au Feu) */
#ksp-overlay[hidden] {
	display: none !important;
}

#ksp-overlay {
	position: fixed;
	inset: 0;
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	box-sizing: border-box;
	opacity: 0;
	transition: opacity 0.28s ease;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

#ksp-overlay.ksp-visible {
	opacity: 1;
}

#ksp-overlay .ksp-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(10, 10, 14, 0.76);
	backdrop-filter: blur(5px);
	-webkit-backdrop-filter: blur(5px);
}

#ksp-overlay .ksp-card {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 460px;
	background: radial-gradient(circle at top center, #25222a 0%, #141318 68%, #0e0d11 100%);
	color: #f8f5ef;
	border: 1px solid rgba(242, 101, 33, 0.45);
	border-radius: 16px;
	padding: 36px 30px 32px;
	text-align: center;
	box-shadow: 0 24px 64px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(255, 215, 140, 0.14) inset;
	transform: translateY(14px) scale(0.97);
	transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
	overflow: hidden;
}

#ksp-overlay.ksp-visible .ksp-card {
	transform: translateY(0) scale(1);
}

#ksp-overlay .ksp-sparkles {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	background: linear-gradient(90deg, #d4a353 0%, #f26521 50%, #d4a353 100%);
}

#ksp-overlay .ksp-close {
	position: absolute;
	top: 12px;
	right: 12px;
	width: 36px;
	height: 36px;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, 0.18);
	background: rgba(255, 255, 255, 0.08);
	color: #ffffff;
	font-size: 24px;
	line-height: 1;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	transition: background 0.18s ease, transform 0.18s ease;
}

#ksp-overlay .ksp-close:hover,
#ksp-overlay .ksp-close:focus-visible {
	background: rgba(242, 101, 33, 0.9);
	border-color: #f26521;
	transform: scale(1.06);
	outline: none;
}

#ksp-overlay .ksp-brand {
	margin: 0 auto 14px;
	display: flex;
	justify-content: center;
}

#ksp-overlay .ksp-logo {
	max-width: 155px;
	height: auto;
	display: block;
	filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4));
}

#ksp-overlay .ksp-eyebrow {
	margin: 0 0 8px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: #f4b860;
}

#ksp-overlay .ksp-title {
	margin: 0 0 12px;
	font-size: 26px;
	line-height: 1.2;
	font-weight: 700;
	color: #ffffff;
}

#ksp-overlay .ksp-desc {
	margin: 0 auto 24px;
	max-width: 340px;
	font-size: 15px;
	line-height: 1.5;
	color: rgba(248, 245, 239, 0.82);
}

#ksp-overlay .ksp-actions {
	display: flex;
	justify-content: center;
}

#ksp-overlay .ksp-cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 14px 26px;
	border-radius: 999px;
	background: linear-gradient(135deg, #f26521 0%, #d95114 100%);
	color: #ffffff !important;
	text-decoration: none !important;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.02em;
	box-shadow: 0 10px 26px rgba(242, 101, 33, 0.42);
	transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

#ksp-overlay .ksp-cta:hover,
#ksp-overlay .ksp-cta:focus-visible {
	transform: translateY(-2px);
	box-shadow: 0 14px 32px rgba(242, 101, 33, 0.56);
	filter: brightness(1.06);
	outline: none;
}

@media (max-width: 520px) {
	#ksp-overlay .ksp-card {
		padding: 32px 20px 26px;
	}
	#ksp-overlay .ksp-title {
		font-size: 22px;
	}
	#ksp-overlay .ksp-cta {
		width: 100%;
		padding: 14px 18px;
		font-size: 14px;
	}
}
