/* SC Aviso de cierre (2026-11-20). Mismo estilo que el modal de cajas de 12 y el flyer de fin de año. */

.sc-ac {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
	font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.sc-ac *,
.sc-ac *::before,
.sc-ac *::after {
	box-sizing: border-box;
}

.sc-ac p {
	margin: 0;
}

.sc-ac__fondo {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.35);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
	animation: sc-ac-aparecer 0.2s ease-out;
}

.sc-ac__tarjeta {
	position: relative;
	width: 100%;
	max-width: 440px;
	max-height: calc(100vh - 32px);
	overflow-y: auto;
	padding: 28px 28px 24px;
	border-top: 6px solid #ff6600;
	border-radius: 18px;
	background: #fff;
	color: #2b2b2b;
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
	animation: sc-ac-entrar 0.28s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.sc-ac__etiqueta {
	color: #ff6600;
	font-size: 14px;
	font-weight: 600;
}

.sc-ac__titulo {
	margin: 6px 0 10px;
	font-family: var(--wp--preset--font-family--cardo, "Cardo"), Georgia, serif;
	font-size: 28px;
	font-weight: 400;
	line-height: 1.15;
	color: #2b2b2b;
}

.sc-ac__titulo em {
	font-style: italic;
	text-decoration: underline;
	text-decoration-color: #ff6600;
	text-decoration-thickness: 2px;
	text-underline-offset: 6px;
}

.sc-ac__texto {
	font-size: 16px;
	line-height: 1.55;
}

.sc-ac__bloque {
	margin-top: 18px;
	padding: 18px 20px;
	border-radius: 16px;
	background: #15110d;
	color: #fff;
}

.sc-ac__bloque-titulo {
	font-size: 20px;
	font-weight: 700;
	line-height: 1.2;
}

.sc-ac__bloque-titulo em {
	color: #f7a26b;
	font-family: var(--wp--preset--font-family--cardo, "Cardo"), Georgia, serif;
	font-weight: 400;
}

.sc-ac .sc-ac__bloque-texto {
	margin-top: 6px;
	color: rgba(255, 255, 255, 0.78);
	font-size: 15px;
}

.sc-ac__bloque-texto strong {
	color: #fff;
}

.sc-ac .sc-ac__nota {
	margin-top: 16px;
	font-family: "Allison", cursive;
	font-size: 34px;
	line-height: 1;
	text-align: center;
	color: #2b2b2b;
}

/* .sc-ac delante: el tema le pone padding 20px 52px, radio y colores a todos los botones */
.sc-ac .sc-ac__boton {
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width: 100%;
	height: 52px;
	min-height: 0;
	margin: 22px 0 0;
	padding: 0 24px;
	border: 0;
	border-radius: 999px;
	background: #ff6600;
	box-shadow: none;
	color: #fff;
	font-family: inherit;
	font-size: 16px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: 0.01em;
	text-transform: none;
	text-decoration: none;
	cursor: pointer;
	transform: none;
	transition: background-color 0.15s;
}

.sc-ac .sc-ac__boton:hover,
.sc-ac .sc-ac__boton:focus,
.sc-ac .sc-ac__boton:active {
	background: #e85d00;
	color: #fff;
	box-shadow: none;
	transform: none;
}

.sc-ac .sc-ac__boton:focus-visible {
	outline: 3px solid #ffb27f;
	outline-offset: 2px;
}

.sc-ac--saliendo {
	opacity: 0;
	transition: opacity 0.2s;
}

@keyframes sc-ac-entrar {
	from {
		opacity: 0;
		transform: translateY(16px) scale(0.98);
	}
	to {
		opacity: 1;
		transform: none;
	}
}

@keyframes sc-ac-aparecer {
	from {
		opacity: 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	.sc-ac__tarjeta,
	.sc-ac__fondo {
		animation: none;
	}
}
