.pharma-age-gate {
	position: fixed;
	inset: 0;
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
}

.pharma-age-gate[hidden] {
	display: none !important;
}

.pharma-age-gate__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(15, 18, 22, 0.55);
}

.pharma-age-gate__card {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 420px;
	background: #fff;
	border-radius: 18px;
	padding: 28px 22px 22px;
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
	color: #111;
}

.pharma-age-gate__title {
	margin: 0 0 10px;
	font-size: 26px;
	line-height: 1.15;
	font-weight: 800;
	letter-spacing: -0.03em;
	text-align: center;
	color: #111;
}

.pharma-age-gate__subtitle {
	margin: 0 0 18px;
	text-align: center;
	font-size: 15px;
	line-height: 1.45;
	color: #222;
}

.pharma-age-gate__em {
	color: #1b6b52;
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 2px;
}

strong.pharma-age-gate__em {
	text-decoration: none;
}

.pharma-age-gate__link {
	color: #1b6b52;
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.pharma-age-gate__checks {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 0 0 18px;
}

.pharma-age-gate__check {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin: 0;
	padding: 12px 12px 12px 10px;
	border: 1px solid #d9d9d9;
	border-radius: 10px;
	background: #fff;
	cursor: pointer;
}

.pharma-age-gate__checkbox {
	position: absolute;
	opacity: 0;
	width: 1px;
	height: 1px;
	pointer-events: none;
}

.pharma-age-gate__box {
	flex: 0 0 auto;
	width: 18px;
	height: 18px;
	margin-top: 1px;
	border: 1.5px solid #111;
	border-radius: 4px;
	background: #fff;
	position: relative;
}

.pharma-age-gate__checkbox:checked + .pharma-age-gate__box::after {
	content: "";
	position: absolute;
	left: 5px;
	top: 1px;
	width: 5px;
	height: 10px;
	border: solid #111;
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
}

.pharma-age-gate__checkbox:focus-visible + .pharma-age-gate__box {
	outline: 2px solid #1b6b52;
	outline-offset: 2px;
}

.pharma-age-gate__check-text {
	font-size: 13px;
	line-height: 1.45;
	color: #222;
}

.pharma-age-gate__actions {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
}

.pharma-age-gate__actions--single {
	grid-template-columns: 1fr;
}

.pharma-age-gate__yes,
.pharma-age-gate__no {
	appearance: none;
	border-radius: 10px;
	padding: 12px 10px;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.25;
	cursor: pointer;
	min-height: 46px;
}

.pharma-age-gate__yes {
	border: 0;
	background: #cfcfcf;
	color: #fff;
}

.pharma-age-gate__yes:disabled {
	cursor: not-allowed;
	background: #cfcfcf;
	color: #fff;
}

.pharma-age-gate__yes:not(:disabled) {
	background: #2a2a2a;
	color: #fff;
}

.pharma-age-gate__no {
	border: 1px solid #d0d0d0;
	background: #fff;
	color: #111;
}

.pharma-age-gate__no:hover {
	background: #f7f7f7;
}

body.pharma-age-gate-locked {
	overflow: hidden;
}

@media (max-width: 420px) {
	.pharma-age-gate__card {
		padding: 24px 16px 16px;
	}

	.pharma-age-gate__title {
		font-size: 22px;
	}

	.pharma-age-gate__actions {
		grid-template-columns: 1fr;
	}
}
