/* Reservation */
.reservation-card {
	flex: 0 1 608px;
	min-width: 0;
	padding: 48px;
	border: 1px solid var(--color-line-light);
	border-radius: var(--radius-8);
	background-color: var(--color-card-dark);
	transition: border-color var(--transition);
}

.reservation-card:focus-within {
	border-color: rgba(195, 157, 98, 0.45);
}

.reservation-title {
	line-height: 1.35;
	color: var(--color-white);
}

.reservation-field label {
	font-size: var(--font-size-12);
	font-weight: var(--fw-600);
	line-height: 1.08;
	color: var(--color-muted);
	transition: color var(--transition);
}

.reservation-field:focus-within label {
	color: var(--color-gold);
}

.reservation-card .reservation-input {
	height: 39px;
	padding: 11px 12px;
	border: 1px solid var(--color-line-light);
	border-radius: var(--radius-4);
	background-color: var(--color-dark);
	color: var(--color-white);
	color-scheme: dark;
	font-size: var(--font-size-14);
	line-height: 1.07;
	cursor: pointer;
}

.reservation-card .reservation-input:hover {
	border-color: rgba(255, 255, 255, 0.35);
}

.reservation-card .reservation-input:focus {
	border-color: var(--color-gold);
}

.reservation-card select.reservation-input {
	padding-right: 36px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='m3 4.5 3 3 3-3' stroke='%23A39F95' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-position: right 12px center;
	background-repeat: no-repeat;
	appearance: none;
}

.reservation-date {
	position: relative;
}

.reservation-date-input::-webkit-calendar-picker-indicator {
	opacity: 0.6;
	cursor: pointer;
}

.reservation-date-placeholder {
	position: absolute;
	top: 50%;
	left: 13px;
	font-size: var(--font-size-14);
	line-height: 1.07;
	color: var(--color-white);
	pointer-events: none;
	transform: translateY(-50%);
}

.reservation-date:not(.has-value) .reservation-date-input:not(:focus) {
	color: transparent;
}

.reservation-date:not(.has-value) .reservation-date-input:focus + .reservation-date-placeholder,
.reservation-date.has-value .reservation-date-placeholder {
	display: none;
}

.reservation-message {
	font-size: var(--font-size-14);
	line-height: 1.4;
	color: var(--color-gold);
}

.reservation-message:empty {
	display: none;
}

/* Pulls the validation line up against the field it belongs to. */
.reservation-form .reservation-message {
	margin-top: -16px;
}

/*
 * OpenTable widget: OpenTable injects an <oc-component> wrapper and a fixed-size
 * iframe (224x301 for the standard theme) next to the inline loader script. The
 * iframe is cross-origin, so only its box can be styled from here.
 */
.reservation-widget oc-component,
.reservation-widget #ot-reservation-widget {
	display: block;
}

.reservation-widget iframe {
	display: block;
	max-width: 100%;
	margin-inline: auto;
}

.reservation-aside {
	flex: 1 1 768px;
	min-width: 0;
}

.reservation-media {
	border-radius: var(--radius-8);
}

.reservation-image {
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 7;
	object-fit: cover;
}

.reservation-media:hover .reservation-image {
	transform: scale(1.04);
}

.reservation-side-title {
	line-height: 1.35;
	color: var(--color-white);
}

.reservation-content {
	font-size: var(--font-size-15);
	line-height: 1.7;
	color: var(--color-muted);
}

.reservation-note {
	font-family: var(--font-mono);
	font-size: var(--font-size-13);
	line-height: 1.31;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: var(--color-gold);
}

@media (max-width: 1024px) {
	.reservation-row {
		gap: 32px;
	}

	.reservation-card,
	.reservation-aside {
		flex: 0 0 calc(50% - 16px);
	}

	.reservation-image {
		aspect-ratio: 448 / 320;
	}
}

@media (max-width: 991px) {
	.reservation-card {
		gap: 24px;
		padding: 32px 24px;
	}

	.reservation-form {
		gap: 24px;
	}

	.reservation-aside {
		gap: 24px;
	}
}

@media (max-width: 767px) {
	.reservation-row {
		flex-direction: column;
		align-items: stretch;
		gap: 24px;
	}

	.reservation-card,
	.reservation-aside {
		flex: 0 0 auto;
	}

	.reservation-card {
		gap: 24px;
		padding: 32px 24px;
	}

	.reservation-form,
	.reservation-aside {
		gap: 24px;
	}

	.reservation-image {
		aspect-ratio: 342 / 220;
	}

	.reservation-text {
		gap: 12px;
	}

	.reservation-content {
		font-size: var(--font-size-14);
	}
}

/* iOS Safari zooms the page when a focused field's text is < 16px: use 16px on touch devices. */
@media (pointer: coarse) {
	.reservation-card .reservation-input,
	.reservation-date-placeholder {
		font-size: var(--font-size-16);
	}
}
