/* MPT Toolkit — Check Availability buttons (see modules/class-check-availability.php) */
.mpt-avail-after-reviews { margin-top: 24px; }
.mpt-avail-btn { min-height: 48px; justify-content: center; text-decoration: none; }
.mpt-avail-btn:hover { color: #fff; }

#book-now { scroll-margin-top: 90px; }
#book-now.mpt-avail-flash { animation: mpt-avail-flash 1.2s ease-out; border-radius: 16px; }
@keyframes mpt-avail-flash {
	0%   { box-shadow: 0 0 0 0 rgba(224, 101, 60, .55); }
	100% { box-shadow: 0 0 0 16px rgba(224, 101, 60, 0); }
}

/* Mobile bar: below the theme's WhatsApp button (bottom: 100px on tour pages)
   and under the cookie banner / mobile menu, which sit higher in the stack. */
.mpt-avail-bar { display: none; }
@media (max-width: 767px) {
	.mpt-avail-bar {
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 70;
		display: block;
		padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
		background: #fff;
		border-top: 1px solid var(--mpt-cream, #efe7da);
		box-shadow: 0 -8px 24px rgba(0, 0, 0, .08);
		transform: translateY(0);
		transition: transform .25s ease, visibility .25s;
	}
	.mpt-avail-bar[hidden] { display: block; visibility: hidden; transform: translateY(110%); }
	.mpt-avail-bar .mpt-avail-btn { display: flex; width: 100%; box-sizing: border-box; box-shadow: none; }
	/* Keep the end of the page clear of the bar. */
	body.mpt-has-avail-bar { padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px)); }
}
@media (prefers-reduced-motion: reduce) {
	.mpt-avail-bar { transition: none; }
	#book-now.mpt-avail-flash { animation: none; }
}
