/**
 * Rezervasyon çubuğu — Latibule + WhatsApp yeşili
 */

.reservation-bar-wrap {
	--res-border: var(--latibule-border, #d0d0d0);
	--res-icon: #6b6b7a;
	--res-text: var(--latibule-text, #1a1a1a);
	--res-muted: var(--latibule-text-muted, #4a4a4a);
	--res-whatsapp: #25d366;
	--res-whatsapp-hover: #20bd5a;
	background: #fff;
	padding: 0 0 2.5rem;
}

.reservation-bar__container {
	max-width: 1140px;
}

.reservation-bar {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	background: #fff;
	border: 1px solid var(--res-border);
	border-radius: 4px;
	box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
	overflow: hidden;
}

.reservation-bar__cell {
	display: flex;
	align-items: center;
	gap: 0.65rem;
	padding: 0.85rem 1rem;
	flex: 1 1 160px;
	min-width: 0;
	border-right: 1px solid var(--res-border);
}

.reservation-bar__cell:last-of-type {
	border-right: none;
}

.reservation-bar__cell--action {
	flex: 0 0 auto;
	padding: 0.5rem;
	align-items: stretch;
	border-right: none;
	background: #fff;
}

.reservation-bar__icon {
	flex-shrink: 0;
	color: var(--res-icon);
	display: flex;
	align-items: center;
	justify-content: center;
}

.reservation-bar__field {
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
	min-width: 0;
	flex: 1;
}

.reservation-bar__label {
	font-size: 0.6875rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--res-muted);
}

.reservation-bar__input {
	border: 0;
	padding: 0;
	margin: 0;
	font: inherit;
	color: var(--res-text);
	background: transparent;
	width: 100%;
	min-width: 0;
}

.reservation-bar__input--date {
	font-size: 0.9375rem;
	font-weight: 600;
	line-height: 1.3;
}

.reservation-bar__input--date::-webkit-calendar-picker-indicator {
	opacity: 0.65;
	cursor: pointer;
}

.reservation-bar__guests {
	display: flex;
	align-items: flex-end;
	gap: 1rem;
	flex-wrap: wrap;
}

.reservation-bar__guest-block {
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
	min-width: 4rem;
}

.reservation-bar__input--num {
	font-size: 1rem;
	font-weight: 700;
	width: 3.25rem;
	-moz-appearance: textfield;
}

.reservation-bar__input--num::-webkit-outer-spin-button,
.reservation-bar__input--num::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.reservation-bar__submit {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 100%;
	min-width: 10rem;
	padding: 0.85rem 1.25rem;
	margin: 0;
	border: none;
	border-radius: 3px;
	background: var(--res-whatsapp);
	color: #fff;
	font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	cursor: pointer;
	transition: background 0.15s ease, transform 0.1s ease;
}

.reservation-bar__submit:hover,
.reservation-bar__submit:focus {
	background: var(--res-whatsapp-hover);
	color: #fff;
}

.reservation-bar__submit:focus {
	outline: 2px solid var(--latibule-gold, #b8956a);
	outline-offset: 2px;
}

@media (max-width: 900px) {
	.reservation-bar__cell {
		flex: 1 1 45%;
		border-right: 1px solid var(--res-border);
		border-bottom: 1px solid var(--res-border);
	}

	.reservation-bar__cell:nth-child(2n) {
		border-right: none;
	}

	.reservation-bar__cell--action {
		flex: 1 1 100%;
		border-bottom: none;
	}

	.reservation-bar__submit {
		width: 100%;
		min-height: 3rem;
	}
}

@media (max-width: 520px) {
	.reservation-bar__cell {
		flex: 1 1 100%;
		border-right: none;
	}
}
