.dynamic-booking-page {
	padding: 0 0 20rem;
}

.dynamic-booking-page__inner {
	margin: 0 auto;
	max-width: 136rem;
	width: calc(100% - 21.6rem);
}

.dynamic-booking-page__content {
	width: 100%;
}

.dynamic-booking-page__content > *:first-child {
	margin-top: 0;
}

.dynamic-booking-page__content > *:last-child {
	margin-bottom: 0;
}

.dynamic-booking-page__empty {
	border-top: 1px solid #000;
	font-size: 1.4rem;
	letter-spacing: 0.08em;
	line-height: 1.8;
	margin: 0;
	padding: 4rem 0 0;
}

.bogw-booking {
	color: #000;
	display: grid;
	gap: 2.4rem;
	width: 100%;
}

.bogw-booking button,
.bogw-booking input,
.bogw-booking textarea {
	font: inherit;
	letter-spacing: inherit;
}

.bogw-event-selector {
	display: grid;
	gap: 4rem;
}

.bogw-selector-group {
	display: grid;
	gap: 1.6rem;
}

.bogw-selector-group h2 {
	font-size: 1.8rem;
	font-weight: 400;
	letter-spacing: 0.08em;
	line-height: 1.5;
	margin: 0;
}

.bogw-category-list,
.bogw-event-list {
	border-left: 1px solid #000;
	border-top: 1px solid #000;
	display: grid;
	grid-template-columns: 1fr;
}

.bogw-event-link.is-category-hidden {
	display: none;
}

.bogw-category-button,
.bogw-event-link {
	background: #fff;
	border: 0;
	border-bottom: 1px solid #000;
	border-right: 1px solid #000;
	color: inherit;
	cursor: pointer;
	display: flex;
	justify-content: flex-start;
	min-height: 5.8rem;
	padding: 1.6rem 2rem;
	text-align: left;
	text-decoration: none;
	transition: background-color 0.3s ease, color 0.3s ease;
	width: 100%;
}

.bogw-category-button:hover,
.bogw-category-button.is-active,
.bogw-event-link:hover,
.bogw-event-link.is-active {
	background: #000;
	color: #fff;
}

.bogw-category-button,
.bogw-event-link strong {
	font-size: 1.5rem;
	font-weight: 400;
	letter-spacing: 0.08em;
	line-height: 1.5;
}

.bogw-js-panel:empty {
	display: none;
}

.bogw-loading {
	border: 1px solid #000;
	font-size: 1.4rem;
	letter-spacing: 0.08em;
	line-height: 1.8;
	padding: 3rem;
}

.bogw-cancel-button,
.bogw-submit {
	align-items: center;
	border: 1px solid #000;
	cursor: pointer;
	display: inline-flex;
	justify-content: center;
	min-height: 4.6rem;
	padding: 0 2.4rem;
	transition: background-color 0.3s ease, color 0.3s ease, opacity 0.3s ease;
}

.bogw-cancel-button {
	background: #fff;
	color: #000;
}

.bogw-cancel-button:hover {
	background: #000;
	color: #fff;
}

.bogw-public-layout {
	border: 1px solid #000;
	display: grid;
	grid-template-columns: minmax(30rem, 36rem) minmax(0, 1fr);
	overflow: hidden;
}

.bogw-event-summary {
	align-content: start;
	border-right: 1px solid #000;
	display: grid;
	gap: 2.2rem;
	padding: 4.2rem 3.6rem;
}

.bogw-event-summary h2 {
	font-size: 2.4rem;
	font-weight: 400;
	letter-spacing: 0.08em;
	line-height: 1.55;
	margin: 0;
}

.bogw-event-summary__details {
	align-items: flex-start;
	display: grid;
	gap: 0.8rem;
}

.bogw-event-summary__meta {
	font-size: 1.3rem;
	letter-spacing: 0.08em;
	line-height: 1.7;
	margin: 0;
}

.bogw-event-description {
	border-top: 1px solid rgba(0, 0, 0, 0.25);
	display: grid;
	font-size: 1.3rem;
	gap: 1.2rem;
	letter-spacing: 0.06em;
	line-height: 1.85;
	padding-top: 2.2rem;
	word-break: break-word;
}

.bogw-event-description p,
.bogw-event-description ul,
.bogw-event-description ol {
	margin: 0;
}

.bogw-event-description a {
	color: #000;
	text-decoration: underline;
	text-underline-offset: 0.3em;
}

.bogw-booking-column {
	display: grid;
	gap: 3rem;
	min-width: 0;
	padding: 4.2rem 3.8rem 4.6rem;
}

.bogw-picker {
	display: grid;
	gap: 2.6rem;
}

.bogw-picker-host {
	min-width: 0;
	position: relative;
}

.bogw-picker-host.is-loading .bogw-picker {
	pointer-events: none;
}

.bogw-schedule-loading {
	align-items: center;
	background: rgba(255, 255, 255, 0.82);
	display: flex;
	font-size: 1.3rem;
	inset: 0;
	justify-content: center;
	letter-spacing: 0.08em;
	position: absolute;
	z-index: 7;
}

.bogw-picker__header h2 {
	font-size: 1.8rem;
	font-weight: 400;
	letter-spacing: 0.08em;
	line-height: 1.5;
	margin: 0 0 0.8rem;
}

.bogw-picker__body {
	align-items: start;
	display: block;
	position: relative;
}

.bogw-calendar {
	background: #fff;
	border: 1px solid #000;
	box-shadow: 0 1.2rem 3rem rgba(0, 0, 0, 0.12);
	display: grid;
	gap: 1.3rem;
	max-width: 32rem;
	min-width: 0;
	opacity: 0;
	padding: 2rem;
	pointer-events: none;
	position: absolute;
	right: 0;
	top: 4.4rem;
	transform: translateY(-0.8rem);
	transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
	visibility: hidden;
	width: min(32rem, 100%);
	z-index: 5;
}

.bogw-calendar.is-open {
	opacity: 1;
	pointer-events: auto;
	transform: translateY(0);
	visibility: visible;
}

.bogw-calendar__header,
.bogw-time-nav {
	align-items: center;
	display: flex;
	justify-content: space-between;
}

.bogw-calendar__header strong {
	font-size: 1.3rem;
	font-weight: 500;
	letter-spacing: 0.08em;
	line-height: 1;
}

.bogw-calendar__nav {
	display: flex;
	gap: 0.4rem;
}

.bogw-icon-nav {
	align-items: center;
	background: #fff;
	border: 1px solid transparent;
	color: #000;
	cursor: pointer;
	display: inline-flex;
	font-size: 2rem;
	height: 3.4rem;
	justify-content: center;
	line-height: 1;
	text-decoration: none;
	transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
	width: 3.4rem;
}

.bogw-icon-nav:hover {
	background: #000;
	border-color: #000;
	color: #fff;
}

.bogw-icon-nav.is-disabled {
	color: rgba(0, 0, 0, 0.25);
	pointer-events: none;
}

.bogw-calendar-toggle {
	align-items: center;
	background: #fff;
	border: 1px solid #000;
	color: #000;
	cursor: pointer;
	display: inline-flex;
	height: 3.4rem;
	justify-content: center;
	position: relative;
	transition: background-color 0.3s ease, color 0.3s ease;
	width: 3.4rem;
}

.bogw-calendar-toggle:before {
	background: linear-gradient(currentColor, currentColor) 0 0.45rem / 100% 1px no-repeat;
	border: 1px solid currentColor;
	border-radius: 2px;
	box-sizing: border-box;
	content: "";
	height: 1.6rem;
	width: 1.8rem;
}

.bogw-calendar-toggle:after {
	border-left: 2px solid currentColor;
	border-right: 2px solid currentColor;
	box-sizing: border-box;
	content: "";
	height: 0.4rem;
	left: 50%;
	position: absolute;
	top: 0.7rem;
	transform: translateX(-50%);
	width: 1.05rem;
}

.bogw-calendar-toggle:hover,
.bogw-calendar-toggle[aria-expanded="true"] {
	background: #000;
	color: #fff;
}

.bogw-calendar-weekdays,
.bogw-calendar-grid {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
}

.bogw-calendar-weekdays span {
	font-size: 1.1rem;
	font-weight: 400;
	letter-spacing: 0.08em;
	line-height: 1;
	opacity: 0.7;
	padding: 0 0 0.8rem;
	text-align: center;
}

.bogw-calendar-grid {
	border-left: 1px solid rgba(0, 0, 0, 0.18);
	border-top: 1px solid rgba(0, 0, 0, 0.18);
}

.bogw-calendar-day {
	align-items: center;
	aspect-ratio: 1 / 1;
	background: #fff;
	border-bottom: 1px solid rgba(0, 0, 0, 0.18);
	border-right: 1px solid rgba(0, 0, 0, 0.18);
	color: #000;
	cursor: pointer;
	display: inline-grid;
	font: inherit;
	font-size: 1.2rem;
	justify-items: center;
	line-height: 1;
	min-height: 3.2rem;
	position: relative;
	transition: background-color 0.3s ease, color 0.3s ease;
	width: 100%;
}

.bogw-calendar-day i {
	background: #000;
	bottom: 0.45rem;
	height: 0.4rem;
	position: absolute;
	width: 0.4rem;
}

.bogw-calendar-day:hover:not(:disabled) {
	background: #000;
	color: #fff;
}

.bogw-calendar-day:hover:not(:disabled) i {
	background: #fff;
}

.bogw-calendar-day.is-outside-month {
	color: rgba(0, 0, 0, 0.28);
}

.bogw-calendar-day.is-today {
	box-shadow: inset 0 0 0 1px #000;
}

.bogw-calendar-day.is-selected {
	background: #000;
	color: #fff;
}

.bogw-calendar-day.is-selected i {
	background: #fff;
}

.bogw-calendar-day:disabled {
	background: #f7f7f7;
	color: rgba(0, 0, 0, 0.18);
	cursor: default;
}

.bogw-calendar-day:disabled i {
	background: rgba(0, 0, 0, 0.18);
}

.bogw-time-panel {
	display: grid;
	gap: 1.3rem;
	min-width: 0;
	position: relative;
}

.bogw-time-nav {
	gap: 0.4rem;
	justify-content: space-between;
}

.bogw-time-nav__range {
	font-size: 1.3rem;
	letter-spacing: 0.08em;
	line-height: 1.4;
}

.bogw-time-nav__buttons {
	align-items: center;
	display: flex;
	gap: 0.4rem;
}

.bogw-time-days {
	display: grid;
	gap: 0.8rem;
	grid-template-columns: repeat(7, minmax(7.8rem, 1fr));
	min-width: 0;
}

.bogw-time-day {
	min-width: 0;
}

.bogw-time-day h3 {
	border-bottom: 1px solid #000;
	font-size: 1.2rem;
	font-weight: 400;
	letter-spacing: 0.06em;
	line-height: 1.4;
	margin: 0 0 1rem;
	padding-bottom: 0.8rem;
	text-align: center;
	white-space: nowrap;
}

.bogw-time-day__slots {
	display: grid;
	gap: 0.7rem;
}

.bogw-time-day__empty {
	color: rgba(0, 0, 0, 0.38);
	font-size: 1.1rem;
	letter-spacing: 0.05em;
	line-height: 1.6;
	margin: 0;
	padding: 1rem 0;
	text-align: center;
}

.bogw-slot-button {
	align-items: center;
	background: #fff;
	border: 1px solid rgba(0, 0, 0, 0.38);
	color: #000;
	cursor: pointer;
	display: flex;
	font: inherit;
	font-size: 1.1rem;
	gap: 0.5rem;
	justify-content: space-between;
	min-height: 3.5rem;
	padding: 0.6rem 0.8rem;
	text-decoration: none;
	transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
	width: 100%;
}

.bogw-slot-button:hover,
.bogw-slot-button.is-selected {
	background: #000;
	border-color: #000;
	color: #fff;
}

.bogw-slot-button.is-phone-only {
	cursor: default;
	opacity: 1;
}

.bogw-slot-button.is-phone-only[href] {
	cursor: pointer;
}

.bogw-slot-button.is-phone-only:hover {
	background: #fff;
	border-color: rgba(0, 0, 0, 0.38);
	color: #000;
}

.bogw-slot-button span {
	font-weight: 400;
	line-height: 1;
	white-space: nowrap;
}

.bogw-slot-button small {
	background: #f6f1e4;
	color: #000;
	font-size: 1rem;
	line-height: 1;
	padding: 0.35rem 0.45rem;
	white-space: nowrap;
}

.bogw-slot-button:hover small,
.bogw-slot-button.is-selected small {
	background: #fff;
}

.bogw-form {
	border-top: 1px solid #000;
	display: grid;
	gap: 1.8rem;
	padding-top: 3rem;
}

.bogw-form-heading {
	font-size: 1.8rem;
	font-weight: 400;
	letter-spacing: 0.08em;
	line-height: 1.5;
	margin: 0 0 1.8rem;
}

.bogw-form label {
	display: grid;
	font-size: 1.3rem;
	gap: 0.8rem;
	letter-spacing: 0.08em;
	line-height: 1.5;
}

.bogw-form input,
.bogw-form textarea {
	border: 1px solid rgba(0, 0, 0, 0.6);
	box-sizing: border-box;
	color: #000;
	font-size: 1.4rem;
	line-height: 1.7;
	max-width: 100%;
	padding: 1rem 1.4rem;
	width: 100%;
}

.bogw-form textarea {
	min-height: 12rem;
	resize: vertical;
}

.bogw-form input:focus,
.bogw-form textarea:focus {
	border-color: #000;
}

.bogw-form label > span.is-required::after {
	color: #a40000;
	content: "*";
	margin-left: 0.4em;
}

.bogw-selected-slot {
	background: #f6f1e4;
	font-size: 1.4rem;
	letter-spacing: 0.08em;
	line-height: 1.7;
	margin: 0;
	padding: 1.2rem 1.4rem;
}

.bogw-submit {
	background: #000;
	color: #fff;
	justify-self: start;
}

.bogw-submit:hover {
	background: #fff;
	color: #000;
}

.bogw-submit:disabled {
	cursor: wait;
	opacity: 0.55;
}

.bogw-form-actions {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
}

.bogw-notice {
	border: 1px solid #000;
	font-size: 1.4rem;
	letter-spacing: 0.08em;
	line-height: 1.7;
	padding: 1.6rem 1.8rem;
}

.bogw-notice-error {
	border-color: #bf6060;
	color: #bf6060;
}

.bogw-completion {
	border: 1px solid #000;
	display: grid;
	gap: 2rem;
	padding: 4rem;
}

.bogw-completion h2 {
	font-size: 2.4rem;
	font-weight: 400;
	letter-spacing: 0.08em;
	line-height: 1.5;
	margin: 0;
}

.bogw-completion dl {
	display: grid;
	gap: 1.2rem 2rem;
	grid-template-columns: max-content minmax(0, 1fr);
	margin: 0;
}

.bogw-completion dt {
	font-weight: 400;
	letter-spacing: 0.08em;
	opacity: 0.64;
}

.bogw-completion dd {
	margin: 0;
	min-width: 0;
	word-break: break-word;
}

.bogw-completion p {
	margin: 0;
}

@media (max-width: 1200px) {
	.bogw-public-layout {
		grid-template-columns: 1fr;
	}

	.bogw-event-summary {
		border-bottom: 1px solid #000;
		border-right: 0;
	}
}

@media (max-width: 1100px) {
	.bogw-calendar {
		max-width: 32rem;
	}

	.bogw-time-days {
		grid-auto-columns: minmax(10.4rem, 1fr);
		grid-auto-flow: column;
		grid-template-columns: none;
		overflow-x: auto;
		padding-bottom: 0.8rem;
	}
}

@media screen and (max-width: 834px) {
	.dynamic-booking-page {
		padding-bottom: 10rem;
	}

	.dynamic-booking-page__inner {
		max-width: none;
		width: calc(100% - 5rem);
	}

	.dynamic-booking-page__empty {
		font-size: 1.2rem;
		padding-top: 3rem;
	}

	.bogw-booking {
		gap: 2rem;
	}

	.bogw-category-button,
	.bogw-event-link {
		min-height: 0;
		padding: 1.5rem 1.8rem;
	}

	.bogw-selector-group h2,
	.bogw-category-button,
	.bogw-event-link strong,
	.bogw-picker__header h2,
	.bogw-form-heading {
		font-size: 1.6rem;
	}

	.bogw-cancel-button,
	.bogw-submit {
		min-height: 4.2rem;
		padding: 0 1.8rem;
	}

	.bogw-event-summary,
	.bogw-booking-column,
	.bogw-completion {
		padding: 2.4rem 2.2rem;
	}

	.bogw-event-summary h2,
	.bogw-completion h2 {
		font-size: 2rem;
	}

	.bogw-event-description {
		font-size: 1.2rem;
	}

	.bogw-time-nav {
		align-items: flex-start;
		flex-direction: column;
	}

	.bogw-calendar {
		left: 0;
		max-width: none;
		right: auto;
		width: 100%;
	}

	.bogw-time-days {
		grid-auto-columns: minmax(11.2rem, 42%);
	}

	.bogw-completion dl {
		grid-template-columns: 1fr;
	}
}
