.dining-grid {
	align-items: stretch;
	grid-auto-rows: 1fr;
}

.dining-panel {
	grid-template-rows: auto auto 1fr auto;
}

.dining-grid > .dining-panel {
	height: 100%;
	margin-block-start: 0;
}

.dining-panel-link a,
.dining-panel-link button {
	background: transparent;
	border: 0;
	color: inherit;
	cursor: pointer;
	font: inherit;
	padding: 0;
	text-decoration: none;
	text-transform: inherit;
}

.reservation-modal {
	background: transparent;
	border: 0;
	height: min(900px, calc(100dvh - 2rem));
	max-height: none;
	max-width: 920px;
	padding: 0;
	width: calc(100% - 2rem);
}

.reservation-modal::backdrop {
	backdrop-filter: blur(6px);
	background: rgba(8, 8, 13, 0.82);
}

.reservation-modal__panel {
	background: var(--white);
	border-radius: 6px;
	box-shadow: var(--shadow);
	display: grid;
	grid-template-rows: auto 1fr;
	height: 100%;
	overflow: hidden;
}

.reservation-modal__header {
	align-items: flex-start;
	border-bottom: 1px solid rgba(8, 8, 13, 0.12);
	display: flex;
	justify-content: space-between;
	padding: 1.5rem;
}

.reservation-modal__header .section-label {
	margin-bottom: 0.65rem;
}

.reservation-modal__header h2 {
	color: var(--blue);
	font-size: clamp(2rem, 5vw, 3.5rem);
	margin: 0;
	text-transform: uppercase;
}

.reservation-modal__close {
	align-items: center;
	background: var(--off-white);
	border: 1px solid rgba(8, 8, 13, 0.12);
	border-radius: 50%;
	color: var(--black);
	cursor: pointer;
	display: inline-flex;
	flex: 0 0 44px;
	font-size: 1.75rem;
	height: 44px;
	justify-content: center;
	line-height: 1;
}

.reservation-modal__frame {
	border: 0;
	height: 100%;
	min-height: 0;
	width: 100%;
}

body.has-open-modal {
	overflow: hidden;
}

@media (max-width: 599px) {
	.reservation-modal {
		height: calc(100dvh - 1rem);
		width: calc(100% - 1rem);
	}

	.reservation-modal__header {
		padding: 1rem;
	}
}
