.tm-cookie-banner {
	position: fixed;
	left: 16px;
	right: 16px;
	bottom: 16px;
	z-index: 9999;
	max-width: 560px;
	margin: 0 auto;
	background: #16302a;
	color: #f5f7f5;
	border-radius: 12px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
	padding: 18px 20px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px;
	opacity: 0;
	transform: translateY(16px);
	transition: opacity 0.2s ease, transform 0.2s ease;
}

.tm-cookie-banner.is-visible {
	opacity: 1;
	transform: translateY(0);
}

.tm-cookie-text {
	flex: 1 1 260px;
	margin: 0;
	font-size: 0.92rem;
	line-height: 1.5;
}

.tm-cookie-text a {
	color: #9fe6c7;
	text-decoration: underline;
}

.tm-cookie-actions {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}

.tm-cookie-btn {
	border: none;
	border-radius: 8px;
	padding: 10px 16px;
	font-size: 0.9rem;
	font-weight: 600;
	cursor: pointer;
}

.tm-cookie-btn-primary {
	background: #2fae70;
	color: #0b1f17;
}

.tm-cookie-btn-primary:hover,
.tm-cookie-btn-primary:focus-visible {
	background: #39c17d;
}

.tm-cookie-btn-secondary {
	background: transparent;
	color: #f5f7f5;
	border: 1px solid rgba(245, 247, 245, 0.4);
}

.tm-cookie-btn-secondary:hover,
.tm-cookie-btn-secondary:focus-visible {
	background: rgba(245, 247, 245, 0.1);
}

@media (max-width: 480px) {
	/*
	 * Previously stacked the text above two full-width buttons here,
	 * which could grow the fixed-position banner to roughly a third of
	 * a phone's viewport height -- directly over the booking widget's
	 * own buttons below it on /book/, so a tap there hit the banner
	 * instead. Keep it compact and scrollable instead of letting it
	 * grow to fit its content.
	 */
	.tm-cookie-banner {
		left: 10px;
		right: 10px;
		bottom: 10px;
		max-height: 40vh;
		overflow-y: auto;
		padding: 14px 16px;
		gap: 10px;
	}
	.tm-cookie-text {
		flex-basis: 100%;
		font-size: 0.85rem;
	}
	.tm-cookie-actions {
		flex-basis: 100%;
		justify-content: stretch;
	}
	.tm-cookie-btn {
		flex: 1 1 auto;
		padding: 9px 14px;
	}
}
