/* Age Gate – Base structural styles (visual styles managed via Elementor Global Settings) */

/* Ensure Age Gate is always on top of everything */
#age-gate-modal {
	z-index: 2147483647 !important;
}

.modal-backdrop.show {
	z-index: 2147483646 !important;
}

body.modal-open {
	overflow: visible;
	padding-right: 0 !important;
}

#age-gate-modal .modal-body {
	display: flex;
	flex-direction: column;
	align-items: center;
}

#age-gate-modal .age-gate__logo {
	text-align: center;
}

#age-gate-modal .age-gate__message {
	text-align: center;
}

#age-gate-modal .age-gate__actions {
	display: flex;
	justify-content: center;
}

#age-gate-modal .age-gate__btn {
	display: inline-block;
	text-decoration: none;
	cursor: pointer;
	transition: all 0.3s ease;
}

#age-gate-modal .age-gate__btn--enter.disabled {
	pointer-events: none;
}

#age-gate-modal .age-gate__location {
	display: flex;
	flex-direction: column;
	align-items: center;
}

#age-gate-modal .age-gate__select {
	display: block;
}

/* ── Flowhub Rec/Med/underage chooser ─────────────────────────────────────── */

/* Defaults below pull from Elementor's Global Colors / Global Fonts (Site
 * Settings) so a fresh Flowhub site matches its own branding out of the box.
 * Every rule here is a plain (non-!important) fallback — any control in the
 * "Age Gate" / "Age Gate (Flowhub)" Global Settings tabs overrides it. */

#age-gate-modal.fh-age-gate .modal-content {
	background: var( --e-global-color-primary, #372070 );
	color: var( --e-global-color-text, #fff );
}

#age-gate-modal.fh-age-gate .age-gate__message {
	color: var( --e-global-color-text, #fff );
	font-family: var( --e-global-typography-primary-font-family ), sans-serif;
}

#age-gate-modal .fh-age-gate__screen {
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
}

#age-gate-modal .fh-age-gate__options {
	display: flex;
	flex-direction: column;
	width: 100%;
	gap: 14px;
}

#age-gate-modal .fh-age-gate__option {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 4px;
	width: 100%;
	padding: 14px 20px;
	border: 1px solid rgba(255, 255, 255, 0.6);
	border-radius: 10px;
	background: none;
	color: var( --e-global-color-text, #fff );
	cursor: pointer;
	text-align: center;
	transition: all 0.2s ease;
}

#age-gate-modal .fh-age-gate__option:hover {
	background: rgba(255, 255, 255, 0.08);
	border-color: var( --e-global-color-accent, rgba(255, 255, 255, 0.6) );
}

#age-gate-modal .fh-age-gate__option-label {
	display: block;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	font-family: var( --e-global-typography-text-font-family ), sans-serif;
}

#age-gate-modal .fh-age-gate__option-title {
	display: block;
	font-size: 1.1rem;
	font-weight: 700;
	font-family: var( --e-global-typography-primary-font-family ), sans-serif;
}

#age-gate-modal .fh-age-gate__option--deny {
	border-color: transparent;
}

#age-gate-modal .fh-age-gate__denied {
	text-align: center;
	color: var( --e-global-color-text, #fff );
}

#age-gate-modal .fh-age-gate__denied-heading {
	font-weight: 700;
	font-family: var( --e-global-typography-primary-font-family ), sans-serif;
}

#age-gate-modal .fh-age-gate__denied-message {
	font-family: var( --e-global-typography-text-font-family ), sans-serif;
}
