/* "Before you go" checklist offer (inc/funnel.php, assets/js/exit-offer.js). */
.gt-offer {
	position: fixed;
	left: 20px;
	bottom: 20px;
	z-index: 9990;
	width: min(380px, calc(100vw - 32px));
	box-sizing: border-box;
	padding: 1.25rem 1.25rem 1rem;
	background: #fff;
	color: var(--wp--preset--color--navy, #0b1220);
	border: 1px solid var(--wp--preset--color--border, #e2e8f0);
	border-top: 4px solid var(--wp--preset--color--primary, #2563eb);
	border-radius: 14px;
	box-shadow: 0 18px 50px rgba(11, 18, 32, .18);
	opacity: 0;
	transform: translateY(16px);
	transition: opacity .25s ease, transform .25s ease;
}
.gt-offer[hidden] { display: none; }
.gt-offer.is-in { opacity: 1; transform: none; }
.gt-offer p { margin: 0; }
.gt-offer__close {
	position: absolute; top: 6px; right: 6px;
	width: 40px; height: 40px; padding: 0;
	border: 0; border-radius: 10px; background: transparent;
	font-size: 26px; line-height: 1; color: #64748b; cursor: pointer;
}
.gt-offer__close:hover, .gt-offer__close:focus-visible { background: #f1f5f9; color: #0b1220; }
.gt-offer__eyebrow { font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--wp--preset--color--primary, #2563eb); padding-right: 2.5rem; }
.gt-offer__title { margin-top: .3rem !important; font-size: 1.125rem; font-weight: 700; line-height: 1.3; padding-right: 1.5rem; }
.gt-offer__text { margin: .45rem 0 .85rem !important; font-size: .875rem; line-height: 1.5; color: #334155; }
.gt-offer .gts-checklist { display: grid; gap: .6rem; }
.gt-offer .gts-checklist__hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.gt-offer .gts-checklist__field label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.gt-offer .gts-checklist__field input { width: 100%; box-sizing: border-box; font: inherit; font-size: 16px; min-height: 46px; padding: .6rem .85rem; border: 1.5px solid #cbd5e1; border-radius: 10px; background: #fff; }
.gt-offer .gts-checklist__field input:focus { outline: none; border-color: var(--wp--preset--color--primary, #2563eb); box-shadow: 0 0 0 3px rgba(37, 99, 235, .2); }
.gt-offer .gts-checklist__consent label { display: flex; gap: .5rem; align-items: flex-start; font-size: .75rem; line-height: 1.45; color: #475569; }
.gt-offer .gts-checklist__consent input { width: 18px; height: 18px; margin: .05rem 0 0; flex: none; accent-color: var(--wp--preset--color--primary, #2563eb); }
.gt-offer .gts-checklist__submit button { width: 100%; min-height: 46px; cursor: pointer; }
.gt-offer__alt { margin-top: .7rem !important; font-size: .8125rem; text-align: center; }
.gt-offer__alt a { color: var(--wp--preset--color--primary, #2563eb); font-weight: 600; text-decoration: none; }
.gt-offer__alt a:hover { text-decoration: underline; }

@media (max-width: 600px) {
	.gt-offer { left: 16px; right: 16px; bottom: 16px; width: auto; max-height: calc(100vh - 32px); overflow-y: auto; }
	/* The card replaces the WhatsApp button while it is open; it comes back on close. */
	.gt-offer-open #gt-wa { display: none; }
}
@media (prefers-reduced-motion: reduce) {
	.gt-offer { transition: none; transform: none; }
}
