/* ==========================================================================
   Age Gate Modal
   ========================================================================== */

html.kdc-age-gate-required,
html.kdc-age-gate-required body {
	overflow: hidden;
}

html.kdc-age-gate-required body::before {
	content: "";
	position: fixed;
	inset: 0;
	z-index: 999998;
	background: rgba(0, 0, 0, 0.70);
	backdrop-filter: blur(8.800000190734863px);
	pointer-events: auto;
}

.kdc-age-gate {
	position: fixed;
	inset: 0;
	z-index: 999999;
	display: none;
	align-items: center;
	justify-content: center;
}

html.kdc-age-gate-required .kdc-age-gate {
	display: flex;
}

.kdc-age-gate__overlay {
	position: absolute;
	inset: 0;
	background: transparent;
}

.kdc-age-gate__dialog {
	position: relative;
	width: min(415px, calc(100vw - 20px));
	background-color: #FDFDFD;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 24px 72px rgba(0, 0, 0, 0.35);
	padding: 20px 30px;
}

/* ---- Top block (image) ---- */
.kdc-age-gate__top {
	display: flex;
	justify-content: center;
}

.kdc-age-gate__icon {
	display: block;
	width: 160px;
	height: auto;
	object-fit: contain;
}

/* ---- Bottom block ---- */
.kdc-age-gate__bottom {
	padding-top: 24px;
	display: flex;
	flex-direction: column;
	gap: 40px;
}

/* ---- Texts block ---- */
.kdc-age-gate__texts {
	display: flex;
	flex-direction: column;
	gap: 20px;
	text-align: center;
}

.kdc-age-gate__texts h4 {
	margin: 0;
}

.kdc-age-gate__body {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.kdc-age-gate__desc {
	margin: 0;
	font-size: 16px;
	color: var(--global-palette3);
}

.kdc-age-gate__note {
	margin: 0;
	font-size: 12px;
	color: #6D7482;
	text-align: left;
}

/* ---- Actions block ---- */
.kdc-age-gate__actions {
	display: flex;
	flex-direction: row;
	gap: 24px;
}

.kdc-age-gate__actions .button {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	line-height: 42px;
}

.kdc-age-gate__actions .button:hover,
.kdc-age-gate__actions .button:focus {
	box-shadow: none;
}

.kdc-age-gate__actions .button-style-outline:hover {
	background-color: var(--global-palette2) !important;
}

/* ---- Responsive ---- */
@media (max-width: 400px) {
	.kdc-age-gate__dialog {
		width: calc(100% - 24px);
	}
}
