/*
 * ATC – CECEP: sold-out layout.
 *
 * Scoped to .atc-cecep-soldout so nothing here can reach the rest of the theme, and built on
 * custom properties so a store can restyle it from its own stylesheet without !important.
 * No web fonts are loaded: the site's own faces are used when present, otherwise the stack
 * falls back. Loading Bebas Neue a second time would be a conflict, not a feature.
 */

.atc-cecep-soldout {
	--atc-cecep-navy: #0f1a42;
	--atc-cecep-ink: #05141f;
	--atc-cecep-blue: #1e3489;
	--atc-cecep-blue-hover: #163a81;
	--atc-cecep-orange: #f46125;
	--atc-cecep-surface: #ffffff;
	--atc-cecep-muted: #5b6478;
	--atc-cecep-line: rgba(15, 26, 66, 0.12);
	--atc-cecep-radius: 16px;

	box-sizing: border-box;
	display: flex;
	justify-content: center;
	padding: clamp(24px, 6vw, 72px) 20px;
	color: var(--atc-cecep-ink);
	font-family: "Roboto", system-ui, -apple-system, "Segoe UI", sans-serif;
}

.atc-cecep-soldout *,
.atc-cecep-soldout *::before,
.atc-cecep-soldout *::after {
	box-sizing: inherit;
}

.atc-cecep-soldout__card {
	width: 100%;
	max-width: 640px;
	padding: clamp(24px, 5vw, 48px);
	background: var(--atc-cecep-surface);
	border: 1px solid var(--atc-cecep-line);
	border-radius: var(--atc-cecep-radius);
	box-shadow: 0 24px 48px -32px rgba(5, 20, 31, 0.45);
	text-align: center;
}

.atc-cecep-soldout__eyebrow {
	margin: 0 0 12px;
	color: var(--atc-cecep-orange);
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.atc-cecep-soldout__title {
	margin: 0 0 8px;
	color: var(--atc-cecep-navy);
	font-family: "Bebas Neue", "Roboto Condensed", "Roboto", sans-serif;
	font-size: clamp(2rem, 5vw, 3rem);
	line-height: 1.05;
	letter-spacing: 0.01em;
}

.atc-cecep-soldout__product {
	margin: 0 0 4px;
	font-size: 1.125rem;
	font-weight: 600;
	color: var(--atc-cecep-navy);
}

.atc-cecep-soldout__price {
	margin: 0 0 16px;
	color: var(--atc-cecep-muted);
	text-decoration: line-through;
}

.atc-cecep-soldout__message {
	margin: 16px 0 0;
	color: var(--atc-cecep-muted);
	font-size: 1rem;
	line-height: 1.6;
}

.atc-cecep-soldout__message p {
	margin: 0 0 12px;
}

.atc-cecep-soldout__message p:last-child {
	margin-bottom: 0;
}

.atc-cecep-soldout__actions {
	margin: 28px 0 0;
}

.atc-cecep-soldout__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	/* 44px is the hit area the finger needs; the control itself is 48px because this is the
	   only action on the page. */
	min-height: 48px;
	min-width: 44px;
	padding: 0 28px;
	border-radius: 999px;
	background: var(--atc-cecep-blue);
	color: #ffffff;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	transition: background-color 0.2s ease, transform 0.2s ease;
}

.atc-cecep-soldout__cta:hover,
.atc-cecep-soldout__cta:focus {
	background: var(--atc-cecep-blue-hover);
	color: #ffffff;
	transform: translateY(-1px);
}

.atc-cecep-soldout__cta:focus-visible {
	outline: 3px solid var(--atc-cecep-orange);
	outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
	.atc-cecep-soldout__cta {
		transition: none;
	}

	.atc-cecep-soldout__cta:hover,
	.atc-cecep-soldout__cta:focus {
		transform: none;
	}
}
