/* Divine Recipes — cookie consent + push opt-in */

.divine-consent {
	position: fixed;
	left: 16px;
	right: 16px;
	bottom: 16px;
	z-index: 99999;
	max-width: 520px;
	margin: 0 auto;
	padding: 20px 20px 16px;
	border-radius: 18px;
	border: 1px solid rgba(255, 255, 255, 0.12);
	background: #1c1c1c;
	color: #f5f5f5;
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
	font-family: "DM Sans", system-ui, sans-serif;
	transform: translateY(120%);
	opacity: 0;
	pointer-events: none;
	transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.35s ease;
}

.divine-consent.is-visible {
	transform: translateY(0);
	opacity: 1;
	pointer-events: auto;
}

.divine-consent__title {
	margin: 0 0 8px;
	font-size: 1.05rem;
	font-weight: 700;
	letter-spacing: -0.01em;
}

.divine-consent__text {
	margin: 0 0 16px;
	font-size: 13.5px;
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.78);
}

.divine-consent__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.divine-consent__btn {
	appearance: none;
	border: 0;
	border-radius: 999px;
	padding: 10px 14px;
	font: inherit;
	font-size: 13px;
	font-weight: 700;
	cursor: pointer;
	transition: transform 0.15s ease, background 0.15s ease;
}

.divine-consent__btn:hover {
	transform: translateY(-1px);
}

.divine-consent__btn--primary {
	background: #e8342d;
	color: #fff;
}

.divine-consent__btn--primary:hover {
	background: #c92a24;
}

.divine-consent__btn--secondary {
	background: rgba(255, 255, 255, 0.12);
	color: #fff;
}

.divine-consent__btn--ghost {
	background: transparent;
	color: rgba(255, 255, 255, 0.7);
	border: 1px solid rgba(255, 255, 255, 0.18);
}

.divine-consent__toast {
	position: fixed;
	left: 50%;
	bottom: 24px;
	z-index: 100000;
	transform: translateX(-50%) translateY(20px);
	opacity: 0;
	padding: 12px 16px;
	border-radius: 12px;
	background: #0f172a;
	color: #fff;
	font-size: 13px;
	font-weight: 600;
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
	pointer-events: none;
	transition: opacity 0.25s ease, transform 0.25s ease;
	max-width: min(90vw, 360px);
	text-align: center;
}

.divine-consent__toast.is-visible {
	opacity: 1;
	transform: translateX(-50%) translateY(0);
}

/* On-site publish alert (works on HTTP too) */
.divine-push-card {
	position: fixed;
	right: 16px;
	bottom: 16px;
	z-index: 99998;
	width: min(100% - 32px, 360px);
	padding: 16px;
	border-radius: 16px;
	background: #fff;
	border: 1px solid #ececec;
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
	font-family: "DM Sans", system-ui, sans-serif;
	display: flex;
	gap: 12px;
	align-items: flex-start;
	opacity: 0;
	transform: translateY(16px);
	transition: opacity 0.3s ease, transform 0.3s ease;
}

.divine-push-card.is-visible {
	opacity: 1;
	transform: translateY(0);
}

.divine-push-card__copy {
	flex: 1;
	min-width: 0;
}

.divine-push-card__eyebrow {
	margin: 0 0 4px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #e8342d;
}

.divine-push-card__title {
	margin: 0 0 4px;
	font-size: 15px;
	font-weight: 700;
	color: #1a1a1a;
	line-height: 1.3;
}

.divine-push-card__body {
	margin: 0;
	font-size: 13px;
	color: #6b6b6b;
	line-height: 1.45;
}

.divine-push-card__actions {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 8px;
}

.divine-push-card__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 8px 12px;
	border-radius: 999px;
	background: #e8342d;
	color: #fff !important;
	font-size: 12.5px;
	font-weight: 700;
	text-decoration: none !important;
}

.divine-push-card__close {
	appearance: none;
	border: 0;
	background: transparent;
	color: #999;
	font-size: 20px;
	line-height: 1;
	cursor: pointer;
	padding: 0 2px;
}

@media (min-width: 640px) {
	.divine-consent {
		left: 24px;
		right: auto;
		bottom: 24px;
		margin: 0;
	}

	.divine-push-card {
		right: 24px;
		bottom: 24px;
	}
}
