.yamilka-reservas {
	width: 100%;
	color: #28241f;
}

body.yamilka-reservas-modal-open {
	overflow: hidden;
}

.yamilka-reservas-modal[hidden] {
	display: none;
}

.yamilka-reservas-modal {
	position: fixed;
	z-index: 9999;
	inset: 0;
	display: grid;
	place-items: center;
	padding: 20px;
}

.yamilka-reservas-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(17, 23, 25, 0.72);
	backdrop-filter: blur(8px);
}

.yamilka-reservas-modal__dialog {
	position: relative;
	width: min(1100px, 92vw);
	max-height: min(92vh, 860px);
	overflow: auto;
	border-radius: 8px;
	box-shadow: 0 30px 90px rgba(0, 0, 0, 0.34);
}

.yamilka-reservas-modal__body {
	background: #fbfaf6;
}

.yamilka-reservas-modal__close {
	position: absolute;
	z-index: 2;
	top: 12px;
	right: 12px;
	display: grid;
	width: 42px;
	height: 42px;
	place-items: center;
	border: 1px solid rgba(20, 38, 62, 0.12);
	border-radius: 50%;
	background: #fbfaf6;
	color: #14263e;
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
}

.yamilka-reservas-modal__close:hover,
.yamilka-reservas-modal__close:focus-visible {
	background: #333f48;
	color: #fbfaf6;
	outline: none;
}

.yamilka-reservas__form {
	display: grid;
	grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.95fr);
	gap: clamp(18px, 3vw, 30px);
	padding: clamp(20px, 4vw, 30px);
	border: 1px solid rgba(205, 187, 153, 0.42);
	border-radius: 8px;
	background: #fbfaf6;
	box-shadow: 0 24px 62px rgba(0, 0, 0, 0.2);
}

.yamilka-reservas__panel {
	display: grid;
	align-content: start;
	gap: 16px;
	min-width: 0;
}

.yamilka-reservas__panel--form {
	gap: 14px;
	padding-left: clamp(0px, 2vw, 24px);
	border-left: 1px solid rgba(20, 38, 62, 0.1);
}

.yamilka-reservas__header h3 {
	margin: 0;
	color: #14263e;
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(28px, 4vw, 38px);
	font-weight: 500;
	line-height: 1.1;
}

.yamilka-reservas__eyebrow {
	margin: 0 0 6px;
	color: #6f675c;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.yamilka-reservas__field {
	display: grid;
	gap: 7px;
}

.yamilka-reservas__calendar {
	display: grid;
	gap: 10px;
}

.yamilka-reservas__calendar-head {
	display: grid;
	grid-template-columns: 40px 1fr 40px;
	align-items: center;
	gap: 8px;
	color: #14263e;
	text-align: center;
	text-transform: capitalize;
}

.yamilka-reservas__calendar-head strong {
	font-size: 16px;
	line-height: 1.2;
}

.yamilka-reservas__calendar-nav {
	display: grid;
	width: 40px;
	height: 40px;
	place-items: center;
	border: 1px solid rgba(20, 38, 62, 0.16);
	border-radius: 50%;
	background: #f0e8d8;
	color: #14263e;
	font-size: 24px;
	line-height: 1;
	cursor: pointer;
}

.yamilka-reservas__calendar-nav:disabled {
	opacity: 0.35;
	cursor: not-allowed;
}

.yamilka-reservas__weekdays,
.yamilka-reservas__days {
	display: grid;
	grid-template-columns: repeat(7, minmax(0, 1fr));
	gap: 6px;
}

.yamilka-reservas__weekdays span {
	color: #6f675c;
	font-size: 12px;
	font-weight: 800;
	text-align: center;
}

.yamilka-reservas__day {
	display: grid;
	aspect-ratio: 1;
	min-width: 0;
	place-items: center;
	border: 1px solid rgba(20, 38, 62, 0.14);
	border-radius: 8px;
	background: #fff;
	color: #14263e;
	font-weight: 800;
	cursor: pointer;
}

.yamilka-reservas__day:hover,
.yamilka-reservas__day:focus-visible,
.yamilka-reservas__day.is-selected {
	border-color: #333f48;
	background: #333f48;
	color: #fbfaf6;
	outline: none;
}

.yamilka-reservas__day:disabled {
	border-color: rgba(20, 38, 62, 0.08);
	background: #eee8dc;
	color: rgba(40, 36, 31, 0.36);
	cursor: not-allowed;
}

.yamilka-reservas__day.is-empty {
	border: 0;
	background: transparent;
}

.yamilka-reservas label {
	color: #333f48;
	font-size: 14px;
	font-weight: 800;
	line-height: 1.2;
}

.yamilka-reservas input {
	width: 100%;
	min-height: 48px;
	padding: 11px 13px;
	border: 1px solid rgba(20, 38, 62, 0.18);
	border-radius: 8px;
	background: #fff;
	color: #28241f;
	font: inherit;
}

.yamilka-reservas input:focus {
	border-color: #333f48;
	outline: 2px solid rgba(51, 63, 72, 0.14);
}

.yamilka-reservas__slots {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 8px;
	min-height: 52px;
}

.yamilka-reservas__slots-block {
	display: grid;
	gap: 9px;
}

.yamilka-reservas__slots-title {
	margin: 0;
	color: #333f48;
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.06em;
	line-height: 1.2;
	text-transform: uppercase;
}

.yamilka-reservas__slots p {
	grid-column: 1 / -1;
	margin: 0;
	color: #6f675c;
	font-size: 14px;
	line-height: 1.5;
}

.yamilka-reservas__slot {
	min-height: 44px;
	border: 1px solid rgba(20, 38, 62, 0.16);
	border-radius: 8px;
	background: #f0e8d8;
	color: #14263e;
	font-weight: 800;
	cursor: pointer;
	transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}

.yamilka-reservas__slot:hover,
.yamilka-reservas__slot:focus-visible,
.yamilka-reservas__slot.is-selected {
	border-color: #333f48;
	background: #333f48;
	color: #fbfaf6;
	outline: none;
}

.yamilka-reservas__submit,
.yamilka-reservas__whatsapp {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 50px;
	padding: 12px 18px;
	border: 0;
	border-radius: 999px;
	background: #151b20;
	color: #fbfaf6;
	font-size: 15px;
	font-weight: 800;
	line-height: 1.2;
	text-align: center;
	cursor: pointer;
}

.yamilka-reservas__submit:disabled {
	opacity: 0.64;
	cursor: progress;
}

.yamilka-reservas__summary {
	display: grid;
	gap: 10px;
	padding: 16px;
	border: 1px solid rgba(205, 187, 153, 0.42);
	border-radius: 8px;
	background: linear-gradient(145deg, #f7f1e5, #fbfaf6);
	color: #28241f;
}

.yamilka-reservas__summary p {
	margin: 0;
	color: #6f675c;
	font-size: 14px;
	line-height: 1.5;
}

.yamilka-reservas__summary-title {
	margin: 0;
	color: #6f675c;
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.06em;
	line-height: 1.2;
	text-transform: uppercase;
}

.yamilka-reservas__summary dl {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	margin: 0;
}

.yamilka-reservas__summary dl div {
	display: grid;
	gap: 3px;
}

.yamilka-reservas__summary dt {
	color: #6f675c;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0;
	line-height: 1.2;
}

.yamilka-reservas__summary dd {
	margin: 0;
	color: #14263e;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 18px;
	line-height: 1.25;
}

.yamilka-reservas__whatsapp {
	width: fit-content;
	margin-top: 8px;
	background: #1f7a4d;
	text-decoration: none;
}

.yamilka-reservas__message {
	display: none;
	padding: 12px 14px;
	border-radius: 8px;
	font-size: 14px;
	line-height: 1.45;
}

.yamilka-reservas__message p {
	margin: 0;
}

.yamilka-reservas__message p + p {
	margin-top: 8px;
}

.yamilka-reservas__message.is-success,
.yamilka-reservas__message.is-error,
.yamilka-reservas__message.is-info {
	display: block;
}

.yamilka-reservas__message.is-success {
	border: 1px solid rgba(31, 122, 77, 0.28);
	background: #e8f4ed;
	color: #0f5132;
}

.yamilka-reservas__message.is-error {
	border: 1px solid rgba(148, 36, 36, 0.24);
	background: #f8e8e8;
	color: #842029;
}

.yamilka-reservas__message.is-info {
	background: transparent;
}

@media (max-width: 760px) {
	.yamilka-reservas-modal {
		align-items: end;
		padding: 12px;
	}

	.yamilka-reservas-modal__dialog {
		width: 100%;
		max-height: 92vh;
	}

	.yamilka-reservas__form {
		grid-template-columns: 1fr;
	}

	.yamilka-reservas__panel--form {
		padding-left: 0;
		border-left: 0;
	}

	.yamilka-reservas__slots {
		grid-template-columns: 1fr;
	}

	.yamilka-reservas__summary dl {
		grid-template-columns: 1fr;
	}
}
