/* VIP Age Gate — designed for the VIP Peptides navy / blue / Inter visual style */
html.vip-age-gate-required,
html.vip-age-gate-required body {
	overflow: hidden !important;
}

.vip-age-gate,
.vip-age-gate * {
	box-sizing: border-box;
}

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

html.vip-age-gate-required .vip-age-gate {
	position: fixed;
	inset: 0;
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow-y: auto;
	padding: 24px;
	font-family: Inter, Arial, sans-serif;
	color: #0a192f;
}

.vip-age-gate__backdrop {
	position: fixed;
	inset: 0;
	background: rgba(7, 18, 37, 0.76);
	-webkit-backdrop-filter: blur(7px);
	backdrop-filter: blur(7px);
}

.vip-age-gate__panel {
	position: relative;
	z-index: 1;
	width: min(100%, 540px);
	max-height: calc(100vh - 48px);
	overflow-y: auto;
	padding: 42px 42px 30px;
	border: 1px solid rgba(255, 255, 255, 0.85);
	border-radius: 22px;
	background: linear-gradient(145deg, #ffffff 0%, #f6f8fc 100%);
	box-shadow: 0 28px 90px rgba(0, 0, 0, 0.28);
	text-align: center;
	animation: vip-age-gate-enter 0.32s ease-out both;
}

.vip-age-gate__accent {
	position: absolute;
	top: 0;
	left: 12%;
	width: 76%;
	height: 4px;
	border-radius: 0 0 8px 8px;
	background: linear-gradient(90deg, #9bbce0, #0a192f, #9bbce0);
}

.vip-age-gate__brand {
	display: flex;
	justify-content: center;
	align-items: center;
	min-height: 44px;
	margin: 0 auto 23px;
}

.vip-age-gate__logo {
	display: block;
	width: auto;
	max-width: min(220px, 70%);
	max-height: 72px;
	object-fit: contain;
}

.vip-age-gate__eyebrow {
	margin: 0 0 11px !important;
	color: #6e84a0;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 1.8px;
	line-height: 1.4;
	text-transform: uppercase;
}

.vip-age-gate__panel h2 {
	margin: 0 auto 10px !important;
	color: #0a192f;
	font-family: Inter, Arial, sans-serif;
	font-size: clamp(24px, 5vw, 32px);
	font-weight: 650;
	line-height: 1.25;
}

.vip-age-gate__description {
	max-width: 390px;
	margin: 0 auto 23px !important;
	color: #607087;
	font-size: 15px;
	line-height: 1.65;
}

.vip-age-gate__actions {
	display: flex;
	justify-content: center;
	gap: 12px;
	margin: 0 0 22px;
}

.vip-age-gate__button {
	min-width: 118px;
	min-height: 48px;
	padding: 12px 22px;
	border: 1px solid transparent;
	border-radius: 12px;
	font-family: Inter, Arial, sans-serif;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.2;
	cursor: pointer;
	transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}

.vip-age-gate__button:hover:not(:disabled) {
	transform: translateY(-2px);
}

.vip-age-gate__button:focus-visible,
.vip-age-gate__consent input:focus-visible,
.vip-age-gate__consent a:focus-visible {
	outline: 3px solid #83b5ec;
	outline-offset: 3px;
}


/* Keep the site's global button hover rules from leaking into the modal. */
.vip-age-gate .vip-age-gate__button--no,
.vip-age-gate .vip-age-gate__button--no:focus,
.vip-age-gate .vip-age-gate__button--no:active {
	border-color: #d4deeb !important;
	background: #fff !important;
	color: #263952 !important;
	box-shadow: none !important;
}

/* High-specificity override for theme button hover rules. Keep white text on navy. */
html body .vip-age-gate .vip-age-gate__actions > button#vip-age-gate-no:hover,
html body .vip-age-gate .vip-age-gate__actions > button#vip-age-gate-no:focus,
html body .vip-age-gate .vip-age-gate__actions > button#vip-age-gate-no:active {
	border-color: #17345b !important;
	background-color: #17345b !important;
	background-image: none !important;
	color: #ffffff !important;
	-webkit-text-fill-color: #ffffff !important;
	text-shadow: none !important;
	filter: none !important;
	opacity: 1 !important;
}

.vip-age-gate .vip-age-gate__button--no:focus-visible {
	outline: 3px solid #83b5ec !important;
	outline-offset: 3px !important;
}

.vip-age-gate .vip-age-gate__button--yes,
.vip-age-gate .vip-age-gate__button--yes:focus,
.vip-age-gate .vip-age-gate__button--yes:active {
	border-color: #0a192f !important;
	background: #0a192f !important;
	color: #fff !important;
	box-shadow: 0 8px 18px rgba(10, 25, 47, 0.18) !important;
}

.vip-age-gate .vip-age-gate__button--yes:hover:not(:disabled) {
	border-color: #17345b !important;
	background: #17345b !important;
	color: #fff !important;
	box-shadow: 0 12px 22px rgba(10, 25, 47, 0.22) !important;
}

.vip-age-gate .vip-age-gate__button--yes:disabled {
	opacity: 0.42;
	cursor: not-allowed;
	box-shadow: none !important;
}

.vip-age-gate__consent {
	display: flex;
	align-items: flex-start;
	gap: 11px;
	padding: 16px 17px;
	border: 1px solid #dfe6ef;
	border-radius: 13px;
	background: rgba(255, 255, 255, 0.82);
	color: #44536a;
	font-size: 13px;
	line-height: 1.65;
	text-align: left;
	cursor: pointer;
}

.vip-age-gate__consent input {
	flex: 0 0 auto;
	width: 17px;
	height: 17px;
	margin: 3px 0 0;
	accent-color: #0a192f;
	cursor: pointer;
}

.vip-age-gate__consent span {
	min-width: 0;
}

.vip-age-gate__consent a {
	color: #1761a8;
	font-weight: 650;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.vip-age-gate__message {
	min-height: 0;
	margin: 0 !important;
	color: #a02727;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.5;
}

.vip-age-gate__message:not(:empty) {
	margin-top: 12px !important;
}

.vip-age-gate__footer {
	margin: 15px 0 0 !important;
	color: #8793a4;
	font-size: 11px;
	line-height: 1.5;
}

@keyframes vip-age-gate-enter {
	from { opacity: 0; transform: translateY(12px) scale(0.985); }
	to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 600px) {
	html.vip-age-gate-required .vip-age-gate {
		align-items: center;
		padding: 16px;
	}

	.vip-age-gate__panel {
		max-height: calc(100vh - 32px);
		padding: 34px 22px 23px;
		border-radius: 18px;
	}

	.vip-age-gate__description {
		font-size: 14px;
	}

	.vip-age-gate__actions {
		gap: 9px;
	}

	.vip-age-gate__button {
		min-width: 0;
		flex: 1 1 50%;
		padding: 12px 10px;
	}

	.vip-age-gate__consent {
		padding: 14px;
		font-size: 12px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.vip-age-gate__panel,
	.vip-age-gate__button {
		animation: none !important;
		transition: none !important;
	}
}
