/* ==========================================================================
   Age Gate — Figma node 362:1190
   ========================================================================== */

/* ---- Variables ---- */
:root {
	--ag-form-background: transparent;
	--ag-form-max-width: 538px;
	--ag-form-padding: 60px 50px;
	--ag-form-radius: 0;
	--ag-form-border: 0;
	--ag-form-border-width: 0;
	--ag-form-shadow: none;
	--ag-wrapper-padding: 0;
	--ag-form-overlow: auto;
	--ag-background-color: #f8f5ed;
	--ag-text-align: center;
	--ag-text-color: #b28e56;
	--ag-logo-max-width: 213px;
	--ag-logo-height: auto;
	--ag-text-heading-margin: 0 0 44px;
	--ag-text-headline-size: 36px;
	--ag-text-headline-weight: 700;
	--ag-text-headline-margin: 0 0 44px;
	--ag-input-padding: 8px 24px;
	--ag-input-text-size: 16px;
	--ag-input-border: solid;
	--ag-input-border-width: 1px;
	--ag-input-radius: 8px;
	--ag-input-background-color: #fff;
	--ag-input-color: #b42025;
	--ag-input-placeholder-color: #b42025;
	--ag-input-spacing: 20px;
	--ag-input-margin: 0;
	--ag-fields-margin: 0 0 18px;
	--ag-fields-width: 340px;
	--ag-label-display: none;
	--ag-button-color-background: #b42025;
	--ag-button-color-text: #f8f5ed;
	--ag-button-padding: 8px 24px;
	--ag-button-size: 16px;
	--ag-button-weight: 700;
	--ag-button-radius: 8px;
	--ag-button-border: 0;
	--ag-button-color-hover: #8f1a1e;
	--ag-button-margin: 0;
	--ag-submit-margin: 0 0 44px;
	--ag-text-additional-size: 14px;
	--ag-text-additional-margin: 0;
	--ag-text-additional-padding: 0;
	--ag-remember-margin: 0;
}

/* ---- Scroll lock ---- */
.age-restriction { overflow: hidden !important; height: 100vh !important; }

/* ---- Background ---- */
.age-gate__background-color,
.age-gate-background-color { background: #f8f5ed !important; }

/* ---- Wrapper ---- */
.age-gate__wrapper,
.age-gate-wrapper {
	align-items: center;
	justify-content: center;
	background-color: #f8f5ed;
}

/* ---- Card — kill white box ---- */
body.age-restriction .age-gate {
	background: transparent !important;
	box-shadow: none !important;
	border: none !important;
	max-width: 538px;
}

/* ---- Form column — no gap ---- */
body.age-restriction .age-gate__form,
body.age-restriction .age-gate-form { gap: 0; }

/* ---- Logo: 213px wide, 44px below ---- */
body.age-restriction .age-gate__heading-title,
body.age-restriction .age-gate-heading-title {
	font-size: 0;
	margin: 0 0 44px !important;
}
body.age-restriction .age-gate__heading-title--logo,
body.age-restriction .age-gate-heading-title-logo,
body.age-restriction img.age-gate__logo-image,
body.age-restriction img.age-gate-logo-image {
	display: block;
	margin: 0 auto;
	width: 213px !important;
	max-width: 213px !important;
	height: auto !important;
}

/* ---- Headline: YRT Warmachine, 36px, gold, 0.91 lh, 44px below ---- */
body.age-restriction .age-gate__headline,
body.age-restriction .age-gate-headline {
	color: #b28e56 !important;
	font-family: 'YRT Warmachine', sans-serif !important;
	font-size: 36px !important;
	font-weight: normal !important;
	text-transform: uppercase;
	line-height: 0.91 !important;
	letter-spacing: 0 !important;
	margin: 0 auto 44px !important;
	max-width: 402px;
	text-align: center;
}

/* ---- Fields wrapper: 340px, centered, 18px below ---- */
body.age-restriction .age-gate__fields,
body.age-restriction .age-gate-fields {
	width: 340px !important;
	max-width: 340px !important;
	margin: 0 auto 18px !important;
	padding: 0 !important;
	border: none !important;
}

/* ---- Input list: flex row, 20px gap ---- */
body.age-restriction .age-gate__form-elements,
body.age-restriction .age-gate-form-elements {
	display: flex !important;
	grid-template-columns: none !important;
	gap: 20px !important;
	justify-content: center;
	list-style: none;
	padding: 0 !important;
	margin: 0 !important;
}

/* ---- Each input <li>: exactly 100px ---- */
body.age-restriction .age-gate__form-section,
body.age-restriction .age-gate-form-section {
	flex: 0 0 100px !important;
	width: 100px !important;
	max-width: 100px !important;
	list-style: none;
}

/* ---- Input: 100×60, white, border #d8d1ce, left-aligned ---- */
body.age-restriction .age-gate input[type="text"] {
	height: 60px !important;
	width: 100% !important;
	max-width: 100px !important;
	background: #fff !important;
	border: 1px solid #d8d1ce !important;
	border-radius: 8px !important;
	padding: 8px 24px !important;
	box-sizing: border-box;
	font-family: 'YRT Warmachine', sans-serif !important;
	font-size: 16px !important;
	font-weight: normal !important;
	color: #b42025 !important;
	letter-spacing: 0.16px;
	line-height: 1.4;
	text-align: left !important;
}
body.age-restriction .age-gate input[type="text"]::placeholder {
	color: #b42025 !important;
	font-family: 'YRT Warmachine', sans-serif !important;
	font-weight: normal !important;
	opacity: 1;
}

/* ---- Submit wrapper: 340px, centered, 44px below ---- */
body.age-restriction .age-gate__submit,
body.age-restriction .age-gate-submit {
	display: flex;
	justify-content: center;
	width: 340px !important;
	max-width: 340px !important;
	margin: 0 auto 44px !important;
}

/* ---- Button: 340×60, red, left text + right arrow ---- */
body.age-restriction .age-gate button[type="submit"],
body.age-restriction button.age-gate__button,
body.age-restriction button.age-gate-button {
	width: 340px !important;
	max-width: 340px !important;
	height: 60px !important;
	background: #b42025 !important;
	color: #f8f5ed !important;
	border: none !important;
	border-radius: 8px !important;
	font-family: 'YRT Warmachine', sans-serif !important;
	font-size: 16px !important;
	font-weight: normal !important;
	text-transform: uppercase;
	letter-spacing: 2.4px !important;
	line-height: 1.4;
	cursor: pointer;
	display: flex !important;
	align-items: center;
	justify-content: space-between !important;
	padding: 8px 24px !important;
	box-sizing: border-box;
	margin: 0 !important;
}
body.age-restriction .age-gate button[type="submit"]::after,
body.age-restriction button.age-gate__button::after,
body.age-restriction button.age-gate-button::after {
	content: '›';
	font-size: 24px;
	line-height: 1;
	flex-shrink: 0;
}
body.age-restriction .age-gate button[type="submit"]:hover,
body.age-restriction button.age-gate__button:hover,
body.age-restriction button.age-gate-button:hover {
	background: #8f1a1e !important;
}

/* ---- Disclaimer: 462px, Poppins 14px, gold ---- */
body.age-restriction .age-gate__additional-information,
body.age-restriction .age-gate-additional-information {
	width: 100%;
	max-width: 462px;
	margin: 0 auto !important;
	padding: 0 !important;
	font-family: 'Poppins', sans-serif !important;
	font-size: 14px !important;
	font-weight: 400;
	color: #b28e56 !important;
	text-align: center;
	line-height: 1.4;
	letter-spacing: 0.14px;
}
body.age-restriction .age-gate__additional-information p,
body.age-restriction .age-gate-additional-information p {
	margin: 0 0 8px;
	color: #b28e56;
	font-family: 'Poppins', sans-serif;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.4;
}
body.age-restriction .age-gate__additional-information p:last-child,
body.age-restriction .age-gate-additional-information p:last-child {
	margin-bottom: 0;
}
body.age-restriction .age-gate__additional-information strong,
body.age-restriction .age-gate-additional-information strong {
	font-weight: 700;
}
body.age-restriction .age-gate__additional-information a,
body.age-restriction .age-gate-additional-information a {
	color: #b28e56;
	text-decoration: underline;
}
body.age-restriction .age-gate__additional-information hr,
body.age-restriction .age-gate-additional-information hr {
	display: none;
}

/* ---- Hide subheadline + remember me ---- */
.age-gate__subheadline,
.age-gate-subheadline,
.age-gate__remember-wrapper,
.age-gate-remember-wrapper { display: none !important; }

/* ---- Errors ---- */
body.age-restriction .age-gate__errors,
body.age-restriction .age-gate-errors {
	margin: 0 0 18px;
	text-align: center;
	font-family: 'Poppins', sans-serif;
	font-size: 14px;
	font-weight: 600;
	color: #c00;
}

/* ---- Mobile ---- */
@media (max-width: 768px) {
	:root {
		--ag-form-padding: 40px 24px;
		--ag-logo-max-width: 160px;
	}
	body.age-restriction .age-gate__heading-title--logo,
	body.age-restriction .age-gate-heading-title-logo,
	body.age-restriction img.age-gate__logo-image,
	body.age-restriction img.age-gate-logo-image {
		width: 160px !important;
		max-width: 160px !important;
	}
	body.age-restriction .age-gate__headline,
	body.age-restriction .age-gate-headline {
		font-size: 28px !important;
	}
	body.age-restriction .age-gate__fields,
	body.age-restriction .age-gate-fields {
		width: 100% !important;
		max-width: 100% !important;
	}
	body.age-restriction .age-gate__form-section,
	body.age-restriction .age-gate-form-section {
		flex: 1 !important;
		width: auto !important;
		max-width: none !important;
	}
	body.age-restriction .age-gate input[type="text"] {
		max-width: 100% !important;
	}
	body.age-restriction .age-gate__submit,
	body.age-restriction .age-gate-submit {
		width: 100% !important;
		max-width: 100% !important;
	}
	body.age-restriction .age-gate button[type="submit"],
	body.age-restriction button.age-gate__button,
	body.age-restriction button.age-gate-button {
		width: 100% !important;
		max-width: 100% !important;
	}
	body.age-restriction .age-gate__form-elements,
	body.age-restriction .age-gate-form-elements {
		gap: 12px !important;
	}
}

@media (max-height: 700px) {
	:root { --ag-form-padding: 32px 24px; }
	body.age-restriction .age-gate__heading-title,
	body.age-restriction .age-gate-heading-title { margin: 0 0 24px !important; }
	body.age-restriction .age-gate__headline,
	body.age-restriction .age-gate-headline { margin: 0 auto 24px !important; }
	body.age-restriction .age-gate__submit,
	body.age-restriction .age-gate-submit { margin: 0 auto 24px !important; }
}
