.omh-sorteo {
	--omh-border: #d9e1e8;
	--omh-text: #18212a;
	--omh-muted: #5e6b76;
	--omh-primary: #111827;
	--omh-primary-hover: #253247;
	--omh-surface: #ffffff;
	--omh-soft: #f5f7f9;
	--omh-success: #0f6b3f;
	--omh-success-bg: #edf9f2;
	--omh-error: #9f2222;
	--omh-error-bg: #fff1f1;
	box-sizing: border-box;
	width: 100%;
	max-width: 760px;
	margin: 24px auto;
	padding: clamp(20px, 4vw, 36px);
	overflow: hidden;
	border: 1px solid var(--omh-border);
	border-radius: 18px;
	background: var(--omh-surface);
	color: var(--omh-text);
	box-shadow: 0 14px 38px rgba(22, 32, 42, 0.08);
	font-family: inherit;
}

.omh-sorteo *,
.omh-sorteo *::before,
.omh-sorteo *::after {
	box-sizing: border-box;
}

.omh-sorteo__header h2 {
	margin: 0;
	font-size: clamp(1.45rem, 4vw, 2rem);
	line-height: 1.2;
	color: var(--omh-text);
}

.omh-sorteo__intro {
	margin-top: 10px;
	color: var(--omh-muted);
}

.omh-sorteo__intro p {
	margin: 0 0 8px;
}

.omh-sorteo__countdown {
	margin: 22px 0;
	padding: 14px 16px;
	border-radius: 12px;
	background: var(--omh-soft);
	font-weight: 700;
	text-align: center;
	line-height: 1.45;
}

.omh-sorteo__notice,
.omh-sorteo__closed {
	margin: 0 0 18px;
	padding: 12px 14px;
	border-radius: 10px;
	font-weight: 600;
}

.omh-sorteo__notice--success {
	border: 1px solid #b9e5ca;
	background: var(--omh-success-bg);
	color: var(--omh-success);
}

.omh-sorteo__notice--error,
.omh-sorteo--error {
	border: 1px solid #efc0c0;
	background: var(--omh-error-bg);
	color: var(--omh-error);
}

.omh-sorteo__closed {
	background: var(--omh-soft);
	color: var(--omh-muted);
	text-align: center;
}

.omh-sorteo__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}

.omh-sorteo__field--full {
	grid-column: 1 / -1;
}

.omh-sorteo__field label {
	display: block;
	margin-bottom: 7px;
	font-size: 0.95rem;
	font-weight: 700;
}

.omh-sorteo__field input {
	display: block;
	width: 100%;
	min-height: 46px;
	margin: 0;
	padding: 10px 12px;
	border: 1px solid var(--omh-border);
	border-radius: 9px;
	background: #fff;
	color: var(--omh-text);
	font: inherit;
	line-height: 1.3;
	box-shadow: none;
}

.omh-sorteo__field input:focus {
	outline: 3px solid rgba(17, 24, 39, 0.14);
	outline-offset: 1px;
	border-color: var(--omh-primary);
}

.omh-sorteo__privacy {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin: 18px 0;
	font-size: 0.93rem;
	line-height: 1.45;
}

.omh-sorteo__privacy input {
	flex: 0 0 auto;
	width: 18px;
	height: 18px;
	margin: 2px 0 0;
}

.omh-sorteo__privacy a {
	text-decoration: underline;
}

.omh-sorteo__submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 48px;
	margin: 0;
	padding: 12px 18px;
	border: 0;
	border-radius: 10px;
	background: var(--omh-primary);
	color: #fff;
	font: inherit;
	font-weight: 700;
	line-height: 1.2;
	cursor: pointer;
	transition: background-color 0.2s ease, transform 0.2s ease;
}

.omh-sorteo__submit:hover {
	background: var(--omh-primary-hover);
	transform: translateY(-1px);
}

.omh-sorteo__submit:focus {
	outline: 3px solid rgba(17, 24, 39, 0.24);
	outline-offset: 2px;
}

.omh-sorteo__honeypot {
	position: absolute;
	left: -10000px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

@media (max-width: 600px) {
	.omh-sorteo {
		margin: 16px auto;
		border-radius: 14px;
	}

	.omh-sorteo__grid {
		grid-template-columns: 1fr;
	}

	.omh-sorteo__field--full {
		grid-column: auto;
	}
}
