/* WhatsApp hand-off overlay + floating button. WhatsApp brand green (#25D366). */

.twq-overlay {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
}

.twq-overlay__scrim {
	position: absolute;
	inset: 0;
	background: rgba(16, 18, 15, 0.6);
	backdrop-filter: blur(3px);
	animation: twq-fade 0.2s ease;
}

.twq-dialog {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 440px;
	padding: 34px 30px 26px;
	background: #fff;
	border-radius: 18px;
	text-align: center;
	box-shadow: 0 30px 80px rgba(16, 18, 15, 0.35);
	animation: twq-in 0.28s cubic-bezier(0.34, 1.3, 0.5, 1);
}

.twq-dialog__close {
	position: absolute;
	top: 12px;
	right: 14px;
	width: 34px;
	height: 34px;
	border: 0;
	border-radius: 8px;
	background: transparent;
	font-size: 1.5rem;
	line-height: 1;
	color: #6c736e;
	cursor: pointer;
}

.twq-dialog__close:hover { background: rgba(16, 18, 15, 0.06); }

.twq-dialog__dismiss {
	display: block;
	margin: 14px auto 0;
	border: 0;
	background: none;
	font: inherit;
	font-size: 0.85rem;
	color: #6c736e;
	cursor: pointer;
	text-decoration: underline;
}

@keyframes twq-fade { from { opacity: 0; } to { opacity: 1; } }

@keyframes twq-in {
	from { opacity: 0; transform: translateY(14px) scale(0.97); }
	to { opacity: 1; transform: none; }
}

.twq-panel__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	margin-bottom: 10px;
	border-radius: 50%;
	background: #25d366;
	color: #fff;
}

.twq-panel__icon svg { width: 26px; height: 26px; }

.twq-panel__heading {
	margin: 0 0 6px;
	font-size: 1.2rem;
	color: var(--tf-ink, #10120f);
}

.twq-panel__text {
	margin: 0 0 16px;
	font-size: 0.95rem;
	color: var(--tf-body, #4a5250);
	max-width: 46ch;
	margin-left: auto;
	margin-right: auto;
}

.twq-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 13px 26px;
	border-radius: 50px;
	background: #25d366;
	color: #fff;
	font-weight: 700;
	font-size: 0.95rem;
	text-decoration: none;
	transition: background 0.2s ease, transform 0.2s ease;
}

.twq-btn:hover,
.twq-btn:focus { background: #1da851; color: #fff; transform: translateY(-2px); }
.twq-btn svg { width: 20px; height: 20px; }

/* Floating site-wide button */

.twq-float {
	position: fixed;
	right: 18px;
	bottom: max(18px, env(safe-area-inset-bottom));
	z-index: 980;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: #25d366;
	color: #fff;
	box-shadow: 0 10px 26px rgba(37, 211, 102, 0.45);
	transition: transform 0.2s ease;
}

.twq-float:hover,
.twq-float:focus { transform: scale(1.06); color: #fff; }
.twq-float svg { width: 30px; height: 30px; }

/*
 * On phones the food-menu quote bubble sits bottom-left, so the WhatsApp
 * float on the right does not collide. Nudge it up a touch above the nav bar.
 */
@media (max-width: 991px) {
	.twq-float { width: 52px; height: 52px; }
	.twq-float svg { width: 27px; height: 27px; }
}

@media (prefers-reduced-motion: reduce) {
	.twq-panel { animation: none; }
	.twq-btn:hover, .twq-float:hover { transform: none; }
}
