#age-verification-overlay.hidden,
#cookie-notice.hidden {
	display: none !important;
}

#age-verification-overlay {
	visibility: hidden;
	position: fixed;
	inset: 0;
	z-index: 10000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1rem;
	opacity: 0;
	transition: opacity 300ms cubic-bezier(0, 0, 0.2, 1), visibility 300ms cubic-bezier(0, 0, 0.2, 1);
}

#age-verification-overlay:not(.hidden) {
	visibility: visible;
	opacity: 1;
}

#age-verification-overlay .mpb-consent-backdrop {
	position: absolute;
	inset: 0;
	background-color: rgb(0 0 0 / 0.6);
	backdrop-filter: blur(4px);
}

#age-verification-overlay .mpb-consent-modal {
	position: relative;
	margin: 0 auto;
	max-height: 90vh;
	width: 100%;
	max-width: 32rem;
	overflow-y: auto;
	border-radius: 1rem;
	background-color: #fff;
	box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
	transform: scale(0.95);
	transition: transform 300ms cubic-bezier(0, 0, 0.2, 1);
}

#age-verification-overlay:not(.hidden) .mpb-consent-modal {
	transform: scale(1);
}

#age-verification-overlay .mpb-consent-header {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	border-bottom: 1px solid #f3f4f6;
	padding: 1.5rem 1.5rem 1rem;
}

#age-verification-overlay .mpb-consent-icon {
	width: 2rem;
	height: 2rem;
	color: #e28532;
	flex-shrink: 0;
}

#age-verification-overlay .mpb-consent-header h2 {
	margin: 0;
	font-size: 1.25rem;
	line-height: 1.75rem;
	font-weight: 700;
	color: #111827;
}

#age-verification-overlay .mpb-consent-body {
	padding: 1.5rem;
	color: #374151;
}

#age-verification-overlay .mpb-consent-body p {
	margin: 0 0 1rem;
	line-height: 1.625;
}

#age-verification-overlay .mpb-consent-privacy-copy {
	margin-top: 1rem;
	padding-top: 1rem;
	border-top: 1px solid #f3f4f6;
	font-size: 0.875rem;
	line-height: 1.25rem;
	color: #4b5563;
}

#age-verification-overlay .mpb-consent-actions {
	padding: 0 1.5rem 1.5rem;
	display: grid;
	gap: 0.75rem;
}

#age-verification-overlay .mpb-consent-footer {
	padding: 0 1.5rem 1.5rem;
	text-align: center;
	font-size: 0.75rem;
	line-height: 1rem;
	color: #6b7280;
}

.mpb-consent-link {
	border-radius: 0.25rem;
	font-weight: 500;
	color: #e28532;
	text-decoration: underline;
	transition: color 200ms ease;
}

.mpb-consent-link:hover {
	color: rgb(226 133 50 / 0.8);
}

.mpb-consent-link:focus,
.mpb-consent-btn-primary:focus,
.mpb-consent-btn-secondary:focus,
.mpb-cookie-btn-ok:focus {
	outline: 2px solid transparent;
	box-shadow: 0 0 0 2px #e28532;
}

.mpb-consent-btn-primary,
.mpb-cookie-btn-ok {
	border: 0;
	border-radius: 0.5rem;
	background-image: linear-gradient(to right, #e28532, #f29e4c);
	color: #fff;
	font-weight: 600;
	cursor: pointer;
	min-height: 44px;
	min-width: 44px;
	transition: transform 200ms ease, box-shadow 200ms ease, opacity 200ms ease;
}

.mpb-consent-btn-primary {
	width: 100%;
	padding: 0.75rem 1.5rem;
	box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}

.mpb-consent-btn-primary:hover,
.mpb-cookie-btn-ok:hover {
	transform: scale(1.02);
	box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

.mpb-consent-btn-primary:active,
.mpb-cookie-btn-ok:active {
	transform: scale(0.98);
}

.mpb-consent-btn-secondary {
	width: 100%;
	padding: 0.75rem 1.5rem;
	border: 0;
	border-radius: 0.5rem;
	background: #f3f4f6;
	color: #374151;
	font-weight: 500;
	cursor: pointer;
	min-height: 44px;
	min-width: 44px;
	transition: background-color 200ms ease;
}

.mpb-consent-btn-secondary:hover {
	background: #e5e7eb;
}

#cookie-notice {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 9999;
	transform: translateY(100%);
	transition: transform 500ms cubic-bezier(0, 0, 0.2, 1);
}

#cookie-notice:not(.hidden) {
	transform: translateY(0);
}

#cookie-notice .mpb-cookie-content {
	margin: 0 1rem 1rem;
	display: flex;
	align-items: flex-start;
	gap: 1rem;
	border-radius: 0.75rem;
	border: 1px solid #e5e7eb;
	background: rgb(255 255 255 / 0.95);
	padding: 1rem;
	box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
	backdrop-filter: blur(4px);
}

#cookie-notice .mpb-cookie-icon {
	width: 1.5rem;
	height: 1.5rem;
	flex-shrink: 0;
	color: #e28532;
	margin-top: 0.125rem;
}

#cookie-notice .mpb-cookie-copy {
	flex: 1 1 auto;
	min-width: 0;
}

#cookie-notice .mpb-cookie-copy p {
	margin: 0;
	color: #374151;
}

#cookie-notice .mpb-cookie-actions {
	display: flex;
	flex-shrink: 0;
}

.mpb-cookie-btn-ok {
	padding: 0.5rem 1rem;
	font-size: 0.875rem;
	line-height: 1.25rem;
}

@media (min-width: 640px) {
	#cookie-notice .mpb-cookie-content {
		margin-left: 1.5rem;
		margin-right: 1.5rem;
		padding: 1.5rem;
	}
}
