/*
 * WC Event Tickets: the booking button and the phone booking bar.
 * Colours come from the Elementor kit when there is one (--e-global-color-*),
 * with plain fallbacks.
 */
.wcet-book { margin: 0; }
.wcet-book__form { margin: 0; }
.wcet-book__button {
	display: inline-block;
	box-sizing: border-box;
	min-height: 48px; /* big enough to tap */
	padding: 14px 28px;
	border: 1px solid var(--e-global-color-primary, #093057);
	border-radius: 3px;
	background: var(--e-global-color-primary, #093057);
	color: #fff;
	font: 500 16px/1.2 var(--e-global-typography-accent-font-family, inherit), sans-serif;
	text-align: center;
	cursor: pointer;
	transition: background-color .2s, border-color .2s;
}
.wcet-book__button:hover,
.wcet-book__button:focus-visible {
	background: var(--e-global-color-secondary, #bda160);
	border-color: var(--e-global-color-secondary, #bda160);
	color: #fff;
}
.wcet-book__button.is-outline {
	background: transparent;
	color: var(--e-global-color-primary, #093057);
}
.wcet-book__button.is-outline:hover,
.wcet-book__button.is-outline:focus-visible { color: #fff; }
.wcet-book__button.is-wide { width: 100%; }
/* Sold out: the link to the waiting list looks like the button it replaces. */
a.wcet-book__button { text-decoration: none; }
.wcet-book__button.is-disabled {
	background: #e9e8e5;
	border-color: #e9e8e5;
	color: #555;
	cursor: default;
}

/* The bar: only on phones, fixed to the bottom of the screen. */
.wcet-bar { display: none; }
@media (max-width: 767px) {
	.wcet-bar {
		position: fixed;
		z-index: 9990;
		right: 0;
		bottom: 0;
		left: 0;
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 12px;
		padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
		background: #fff;
		box-shadow: 0 -2px 12px rgba(0, 0, 0, .12);
		font-size: 14px;
		line-height: 1.3;
	}
	.wcet-bar__seats { flex: 1 1 auto; }
	.wcet-bar .wcet-book__button { padding: 12px 18px; white-space: nowrap; }
	/* Room at the end of the page, so the bar never covers the footer. */
	body:has(.wcet-bar) { padding-bottom: 76px; }
}
