/* Site push notifications panel */
html.za-push-open {
	overflow: hidden;
}

.za-push-overlay {
	position: fixed;
	inset: 0;
	/* Above sticky header / mobile nav (≈100100) so buttons stay clickable. */
	z-index: 100200;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	padding: 1rem;
	background: rgba(0, 0, 0, 0.45);
}

.za-push-overlay[hidden] {
	display: none !important;
}

.za-push {
	display: flex;
	flex-direction: column;
	width: min(28rem, 100%);
	max-height: min(88vh, 40rem);
	overflow: hidden;
	background: #fff;
	border-radius: 12px 12px 0 0;
	padding: 0;
	box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.18);
	animation: za-push-in 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.za-push__scroll {
	flex: 1 1 auto;
	overflow: auto;
	-webkit-overflow-scrolling: touch;
	padding: 1.25rem 1.25rem 0.75rem;
}

@keyframes za-push-in {
	from {
		opacity: 0;
		transform: translateY(1rem);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.za-push__close {
	float: right;
	border: 0;
	background: transparent;
	font-size: 1.5rem;
	line-height: 1;
	cursor: pointer;
	color: #5a5a5a;
	padding: 0.15rem 0.35rem;
}

.za-push__title {
	margin: 0 2rem 0.5rem 0;
	font-family: "Source Serif 4", Georgia, serif;
	font-size: 1.35rem;
	line-height: 1.25;
}

.za-push__text {
	margin: 0 0 1rem;
	color: #5a5a5a;
	font-size: 0.95rem;
}

.za-push__master {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	margin: 0 0 0.75rem;
	font-weight: 600;
}

.za-push__cats {
	list-style: none;
	margin: 0 0 1rem;
	padding: 0;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.45rem 0.75rem;
	max-height: 14rem;
	overflow: auto;
}

.za-push__cat {
	display: flex;
	align-items: flex-start;
	gap: 0.45rem;
	font-size: 0.9rem;
	cursor: pointer;
}

.za-push__status {
	margin: 0 0 0.75rem;
	font-size: 0.9rem;
}

.za-push__status--ok {
	color: #007017;
}

.za-push__status--err {
	color: #b32d2e;
}

.za-push__actions {
	flex: 0 0 auto;
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	align-items: center;
	padding: 0.85rem 1.25rem calc(1rem + env(safe-area-inset-bottom, 0px));
	border-top: 1px solid rgba(0, 0, 0, 0.08);
	background: #fff;
}

.za-push__btn {
	-webkit-appearance: none;
	appearance: none;
	border: 0;
	border-radius: 6px;
	padding: 0.7rem 1.05rem;
	font: inherit;
	font-weight: 600;
	line-height: 1.2;
	cursor: pointer;
	color: inherit;
}

.za-push__btn--primary {
	background: #dd0b0b;
	color: #fff;
}

.za-push__btn--primary:hover,
.za-push__btn--primary:focus-visible {
	background: #b80909;
}

.za-push__btn--ghost {
	background: transparent;
	color: #5a5a5a;
	text-decoration: underline;
}

.za-push__btn--danger {
	background: #f3f3f3;
	color: #b32d2e;
}

.za-push__btn:disabled {
	opacity: 0.55;
	cursor: not-allowed;
}

.za-footer__push-btn {
	border: 0;
	background: transparent;
	color: inherit;
	font: inherit;
	text-decoration: underline;
	cursor: pointer;
	padding: 0;
}

@media (min-width: 640px) {
	.za-push-overlay {
		align-items: center;
	}

	.za-push {
		border-radius: 12px;
	}
}
