/* MF Reservas: botón flotante + formulario emergente. Fondo claro siempre. */

.mfr-btn{
	position:fixed;right:18px;bottom:18px;z-index:99990;
	background:#e08a2e;color:#fff;border:0;border-radius:999px;
	padding:13px 22px;font-family:inherit;font-size:15px;font-weight:600;line-height:1;
	box-shadow:0 4px 14px rgba(0,0,0,.2);cursor:pointer;
}
.mfr-btn:hover{background:#c97a24}

.mfr-modal{
	position:fixed;inset:0;z-index:99999;display:none;
	align-items:center;justify-content:center;padding:16px;
	background:rgba(30,30,30,.45);
}
.mfr-modal.is-open{display:flex}
html.mfr-lock{overflow:hidden}

.mfr-card{
	position:relative;box-sizing:border-box;width:100%;max-width:470px;
	max-height:calc(100vh - 32px);max-height:calc(100dvh - 32px);overflow:auto;
	background:#fff;color:#1a1a1a;border-radius:14px;padding:26px 24px 24px;
	font-family:inherit;font-size:15px;line-height:1.4;
}
.mfr-card *,.mfr-inline *{box-sizing:border-box}
.mfr-title{margin:0 28px 6px 0;font-size:22px;line-height:1.2;color:#1a1a1a}
.mfr-intro{margin:0 0 14px;color:#555;font-size:14px}
.mfr-close{
	position:absolute;top:10px;right:12px;width:34px;height:34px;border:0;border-radius:50%;
	background:transparent;color:#1a1a1a;font-size:26px;line-height:1;cursor:pointer;
}
.mfr-close:hover{background:#f0f0f0}

.mfr-form label,.mfr-lbl{display:block;margin:12px 0 0;font-size:13px;font-weight:600;color:#1a1a1a}
.mfr-form input[type=date],
.mfr-form input[type=text],
.mfr-form input[type=tel],
.mfr-form input[type=email],
.mfr-form select,
.mfr-form textarea{
	display:block;width:100%;margin:4px 0 0;padding:10px 11px;
	border:1px solid #cfcfcf;border-radius:8px;background:#fff;color:#1a1a1a;
	font-family:inherit;font-size:16px;font-weight:400;line-height:1.3;height:auto;
	box-shadow:none;
}
.mfr-form textarea{resize:vertical}
.mfr-form input:focus,.mfr-form select:focus,.mfr-form textarea:focus{outline:2px solid #e08a2e;outline-offset:0;border-color:#e08a2e}
.mfr-row{display:flex;gap:12px}
.mfr-row>label{flex:1;min-width:0}
.mfr-hp{position:absolute!important;left:-9999px!important;width:1px!important;height:1px!important;opacity:0}

.mfr-slots{display:flex;flex-wrap:wrap;gap:8px;margin-top:6px}
.mfr-hint{margin:0;color:#777;font-size:14px;font-weight:400}
.mfr-slot{margin:0!important;font-weight:400!important}
.mfr-slot input{position:absolute;opacity:0;pointer-events:none}
.mfr-slot span{
	display:inline-block;min-width:64px;text-align:center;padding:8px 12px;
	border:1px solid #cfcfcf;border-radius:8px;background:#fff;color:#1a1a1a;
	font-size:15px;cursor:pointer;
}
.mfr-slot input:checked+span{background:#e08a2e;border-color:#e08a2e;color:#fff}
.mfr-slot input:focus-visible+span{outline:2px solid #1a1a1a}
.mfr-slot input:disabled+span{background:#f3f3f3;color:#aaa;text-decoration:line-through;cursor:not-allowed}

.mfr-chips{display:flex;flex-wrap:wrap;gap:8px;margin-top:6px}
.mfr-ocasion{margin-top:12px}

.mfr-aviso{
	margin:12px 0 0;padding:10px 12px;border:1px solid #efd49b;border-radius:8px;
	background:#fff7e6;color:#1a1a1a;font-size:14px;
}
.mfr-error{margin-top:10px;color:#b3261e;font-size:14px;min-height:0}
.mfr-error:empty{display:none}

.mfr-form .mfr-submit{
	display:block;width:100%;margin-top:16px;padding:13px;border:0;border-radius:8px;
	background:#1a1a1a;color:#fff;font-family:inherit;font-size:16px;font-weight:600;cursor:pointer;
}
.mfr-form .mfr-submit:hover{background:#000}
.mfr-form .mfr-submit:disabled{background:#c9c9c9;cursor:not-allowed}

.mfr-ok{padding:6px 0 2px;font-size:16px}
.mfr-ok strong{display:block;margin-bottom:6px;font-size:20px}

.mfr-inline{max-width:470px;background:#fff;color:#1a1a1a;padding:20px;border:1px solid #e3e3e3;border-radius:14px}

@media (max-width:560px){
	.mfr-modal{align-items:flex-end;padding:0}
	.mfr-card{
		max-width:none;border-radius:16px 16px 0 0;
		max-height:94vh;max-height:94dvh;padding:22px 18px 20px;
		animation:mfr-up .22s ease-out;
	}
	.mfr-btn{right:14px;bottom:14px}
}
@keyframes mfr-up{from{transform:translateY(40px);opacity:.4}to{transform:none;opacity:1}}
