/**
 * Menutín — estilos públicos del menú interactivo.
 * Diseño original (no reutiliza assets ni CSS de terceros).
 *
 * @package Menutin
 */

/* ============================================================
   1. Variables y base
   ============================================================ */
.mt-app,
.mt-resbox {
	--mt-accent: #e0a458;
	--mt-bg: #0f1115;
	--mt-surface: #171b23;
	--mt-surface-2: #1e232d;
	--mt-text: #f4f1ea;
	--mt-muted: #98a1b3;
	--mt-border: rgba(255, 255, 255, 0.08);
	--mt-radius: 16px;
	--mt-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
	--mt-serif: "Libre Baskerville", Georgia, "Times New Roman", serif;
	--mt-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.mt-app {
	position: relative;
	max-width: 1120px;
	margin: 0 auto;
	padding: 24px 16px 120px;
	background: var(--mt-bg);
	color: var(--mt-text);
	font-family: var(--mt-sans);
	font-size: 16px;
	line-height: 1.5;
	border-radius: 20px;
	-webkit-font-smoothing: antialiased;
}

.mt-app *,
.mt-app *::before,
.mt-app *::after {
	box-sizing: border-box;
}

.mt-app img {
	max-width: 100%;
	display: block;
}

.mt-app button {
	font-family: inherit;
	cursor: pointer;
}

/* IMPORTANTE: el atributo [hidden] debe ganar siempre a los display
   de las clases (si no, el modal y el carrito quedan visibles y su
   fondo oscuro tapa todo el menú). */
.mt-modal[hidden],
.mt-cart[hidden],
.mt-overlay[hidden],
.mt-fs[hidden] {
	display: none !important;
}

/* ============================================================
   2. Cabecera / hero
   ============================================================ */
.mt-hero {
	text-align: center;
	padding: 26px 12px 22px;
}

.mt-hero__logo {
	width: 72px;
	height: 72px;
	object-fit: contain;
	margin: 0 auto 12px;
	border-radius: 50%;
	background: var(--mt-surface);
	padding: 8px;
}

.mt-hero__name {
	font-family: var(--mt-serif);
	font-size: clamp(30px, 6vw, 46px);
	font-weight: 700;
	letter-spacing: 0.01em;
	margin: 0 0 8px;
	color: var(--mt-text);
}

.mt-hero__tagline {
	margin: 0 auto;
	max-width: 46ch;
	color: var(--mt-muted);
	font-size: 15px;
	letter-spacing: 0.02em;
}

.mt-hero__meta {
	margin: 10px 0 0;
	color: var(--mt-accent);
	font-size: 13px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

/* ============================================================
   3. Buscador y pestañas (sticky)
   ============================================================ */
.mt-toolbar {
	position: sticky;
	top: 0;
	z-index: 30;
	padding: 12px 0 8px;
	background: linear-gradient(var(--mt-bg) 70%, rgba(15, 17, 21, 0));
}

.mt-search {
	display: flex;
	align-items: center;
	gap: 10px;
	background: var(--mt-surface);
	border: 1px solid var(--mt-border);
	border-radius: 999px;
	padding: 10px 16px;
	color: var(--mt-muted);
}

.mt-search__input {
	flex: 1;
	border: 0;
	background: transparent;
	color: var(--mt-text);
	font-size: 15px;
	outline: none;
}

.mt-search__input::placeholder {
	color: var(--mt-muted);
}

.mt-tabs {
	position: sticky;
	top: 62px;
	z-index: 29;
	display: flex;
	gap: 8px;
	overflow-x: auto;
	padding: 8px 0 12px;
	scrollbar-width: none;
	background: linear-gradient(var(--mt-bg) 72%, rgba(15, 17, 21, 0));
}

.mt-tabs::-webkit-scrollbar {
	display: none;
}

.mt-tab {
	flex: 0 0 auto;
	border: 1px solid rgba(255, 255, 255, 0.14);
	background: var(--mt-surface-2);
	color: #cfd6e2;
	padding: 9px 17px;
	border-radius: 999px;
	font-size: 14px;
	font-weight: 600;
	white-space: nowrap;
	transition: all 0.18s ease;
}

.mt-tab:hover {
	color: var(--mt-text);
	border-color: var(--mt-accent);
}

.mt-tab.is-active {
	background: var(--mt-accent);
	border-color: var(--mt-accent);
	color: #14161b;
}

/* ============================================================
   4. Secciones y rejilla
   ============================================================ */
.mt-section {
	margin: 30px 0 10px;
	scroll-margin-top: 130px;
}

.mt-section__title {
	font-family: var(--mt-serif);
	font-size: 24px;
	margin: 0 0 16px;
	padding-bottom: 8px;
	border-bottom: 1px solid var(--mt-border);
}

.mt-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: 16px;
}

/* ============================================================
   5. Tarjeta de plato
   ============================================================ */
.mt-card {
	display: flex;
	flex-direction: column;
	background: var(--mt-surface);
	border: 1px solid var(--mt-border);
	border-radius: var(--mt-radius);
	overflow: hidden;
	transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.mt-card:hover {
	transform: translateY(-3px);
	border-color: rgba(224, 164, 88, 0.45);
	box-shadow: var(--mt-shadow);
}

.mt-card__media {
	position: relative;
	aspect-ratio: 4 / 3;
	background: linear-gradient(135deg, #232833, #171b23);
	overflow: hidden;
}

.mt-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.35s ease;
}

.mt-card:hover .mt-card__media img {
	transform: scale(1.05);
}

.mt-card__noimg {
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	font-size: 40px;
	opacity: 0.35;
}

.mt-badge {
	position: absolute;
	top: 10px;
	left: 10px;
	font-size: 12px;
	font-weight: 700;
	padding: 4px 9px;
	border-radius: 999px;
	backdrop-filter: blur(6px);
}

.mt-badge--star {
	background: rgba(224, 164, 88, 0.92);
	color: #14161b;
	left: auto;
	right: 10px;
}

.mt-badge--out {
	background: rgba(20, 22, 27, 0.85);
	color: #ff8f8f;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	font-size: 13px;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.mt-card__body {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 14px 16px 16px;
}

.mt-card__name {
	font-size: 17px;
	font-weight: 700;
	margin: 0 0 6px;
	line-height: 1.25;
}

.mt-card__desc {
	flex: 1;
	margin: 0 0 12px;
	color: var(--mt-muted);
	font-size: 13.5px;
	line-height: 1.45;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.mt-card__foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
}

.mt-card__price {
	font-family: var(--mt-serif);
	font-size: 18px;
	font-weight: 700;
	color: var(--mt-accent);
}

.mt-card__price::before {
	content: attr(data-moneda);
}

.mt-add {
	width: 38px;
	height: 38px;
	border-radius: 50%;
	border: 0;
	background: var(--mt-accent);
	color: #14161b;
	font-size: 22px;
	font-weight: 700;
	line-height: 1;
	display: grid;
	place-items: center;
	transition: transform 0.15s ease, filter 0.15s ease;
}

.mt-add:hover {
	filter: brightness(1.08);
	transform: scale(1.08);
}

.mt-add:active {
	transform: scale(0.94);
}

.mt-card--soldout {
	opacity: 0.62;
}

/* ============================================================
   6. Botón de carrito + panel lateral
   ============================================================ */
.mt-cartbtn {
	position: fixed;
	right: 22px;
	bottom: 22px;
	z-index: 60;
	width: 58px;
	height: 58px;
	border-radius: 50%;
	border: 0;
	background: var(--mt-accent);
	color: #14161b;
	display: grid;
	place-items: center;
	box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
	transition: transform 0.15s ease;
}

.mt-cartbtn:hover {
	transform: scale(1.06);
}

.mt-cartbtn__count {
	position: absolute;
	top: -4px;
	right: -4px;
	min-width: 22px;
	height: 22px;
	padding: 0 5px;
	border-radius: 999px;
	background: #14161b;
	color: var(--mt-accent);
	font-size: 12px;
	font-weight: 700;
	display: grid;
	place-items: center;
	border: 2px solid var(--mt-bg);
}

.mt-cartbtn__count[data-empty="1"] {
	display: none;
}

.mt-cart {
	position: fixed;
	top: 0;
	right: 0;
	z-index: 70;
	width: min(400px, 100%);
	height: 100%;
	background: var(--mt-surface-2);
	border-left: 1px solid var(--mt-border);
	display: flex;
	flex-direction: column;
	transform: translateX(100%);
	transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

.mt-cart.is-open {
	transform: translateX(0);
}

.mt-cart__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 18px 20px;
	border-bottom: 1px solid var(--mt-border);
}

.mt-cart__head h3 {
	font-family: var(--mt-serif);
	margin: 0;
	font-size: 20px;
}

.mt-cart__close {
	background: transparent;
	border: 0;
	color: var(--mt-muted);
	font-size: 26px;
	line-height: 1;
}

.mt-cart__items {
	flex: 1;
	overflow-y: auto;
	padding: 12px 16px;
}

.mt-cart__empty {
	color: var(--mt-muted);
	text-align: center;
	padding: 40px 10px;
}

.mt-line {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 0;
	border-bottom: 1px solid var(--mt-border);
}

.mt-line__img {
	width: 52px;
	height: 52px;
	border-radius: 10px;
	object-fit: cover;
	background: var(--mt-surface);
	flex: 0 0 auto;
}

.mt-line__info {
	flex: 1;
	min-width: 0;
}

.mt-line__name {
	font-size: 14px;
	font-weight: 600;
	margin: 0 0 2px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.mt-line__price {
	color: var(--mt-accent);
	font-size: 13px;
}

.mt-qty {
	display: flex;
	align-items: center;
	gap: 6px;
}

.mt-qty button {
	width: 28px;
	height: 28px;
	border-radius: 8px;
	border: 1px solid var(--mt-border);
	background: var(--mt-surface);
	color: var(--mt-text);
	font-size: 16px;
	line-height: 1;
	display: grid;
	place-items: center;
}

.mt-qty span {
	min-width: 20px;
	text-align: center;
	font-weight: 600;
	font-size: 14px;
}

.mt-cart__foot {
	padding: 16px 20px 22px;
	border-top: 1px solid var(--mt-border);
}

.mt-cart__total {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	margin-bottom: 12px;
	font-size: 15px;
	color: var(--mt-muted);
}

.mt-cart__total strong {
	font-family: var(--mt-serif);
	font-size: 24px;
	color: var(--mt-text);
}

.mt-btn {
	width: 100%;
	border: 0;
	border-radius: 12px;
	padding: 14px;
	font-size: 15px;
	font-weight: 700;
	transition: filter 0.15s ease;
}

.mt-btn--primary {
	background: var(--mt-accent);
	color: #14161b;
}

.mt-btn--primary:hover {
	filter: brightness(1.08);
}

.mt-btn:disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

/* --- Formulario del pedido --- */
.mt-cart__form {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-bottom: 14px;
}

.mt-cart__tipos {
	display: flex;
	gap: 6px;
}

.mt-tipo {
	flex: 1;
	border: 1px solid var(--mt-border);
	background: var(--mt-surface);
	color: var(--mt-muted);
	border-radius: 10px;
	padding: 9px 4px;
	font-size: 12.5px;
	font-weight: 600;
	transition: all 0.15s ease;
}

.mt-tipo:hover {
	color: var(--mt-text);
}

.mt-tipo.is-on {
	background: var(--mt-accent);
	border-color: var(--mt-accent);
	color: #14161b;
}

.mt-input {
	width: 100%;
	border: 1px solid var(--mt-border);
	background: var(--mt-surface);
	color: var(--mt-text);
	border-radius: 10px;
	padding: 10px 12px;
	font-family: inherit;
	font-size: 14px;
	resize: vertical;
	outline: none;
}

.mt-input:focus {
	border-color: var(--mt-accent);
}

.mt-input::placeholder {
	color: var(--mt-muted);
}

.mt-cart__msg {
	margin: 10px 0 0;
	font-size: 13px;
	text-align: center;
	line-height: 1.4;
}

.mt-cart__msg.is-ok {
	color: #4ade80;
}

.mt-cart__msg.is-err {
	color: #f87171;
}

.mt-overlay {
	position: fixed;
	inset: 0;
	z-index: 65;
	background: rgba(0, 0, 0, 0.55);
	backdrop-filter: blur(2px);
}

/* ============================================================
   7. Modal de plato
   ============================================================ */
.mt-modal {
	position: fixed;
	inset: 0;
	z-index: 80;
	display: grid;
	place-items: center;
	padding: 20px;
	background: rgba(0, 0, 0, 0.65);
	backdrop-filter: blur(3px);
}

.mt-modal__box {
	width: min(520px, 100%);
	max-height: 90vh;
	overflow-y: auto;
	background: var(--mt-surface-2);
	border: 1px solid var(--mt-border);
	border-radius: 20px;
	overflow: hidden;
	animation: mt-pop 0.22s ease;
}

@keyframes mt-pop {
	from { opacity: 0; transform: translateY(14px) scale(0.98); }
	to   { opacity: 1; transform: none; }
}

.mt-detail__media {
	aspect-ratio: 16 / 10;
	background: #232833;
}

.mt-detail__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.mt-detail__body {
	padding: 20px 22px 24px;
}

.mt-detail__name {
	font-family: var(--mt-serif);
	font-size: 26px;
	margin: 0 0 8px;
}

.mt-detail__desc {
	color: var(--mt-muted);
	margin: 0 0 18px;
}

.mt-detail__row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
}

.mt-detail__price {
	font-family: var(--mt-serif);
	font-size: 26px;
	font-weight: 700;
	color: var(--mt-accent);
}

.mt-detail__qty {
	display: flex;
	align-items: center;
	gap: 10px;
}

.mt-detail__qty button {
	width: 38px;
	height: 38px;
	border-radius: 10px;
	border: 1px solid var(--mt-border);
	background: var(--mt-surface);
	color: var(--mt-text);
	font-size: 20px;
	display: grid;
	place-items: center;
}

.mt-detail__qty span {
	min-width: 28px;
	text-align: center;
	font-weight: 700;
	font-size: 18px;
}

.mt-detail__add {
	margin-top: 18px;
}

/* ============================================================
   8. Estados
   ============================================================ */
.mt-empty {
	text-align: center;
	color: var(--mt-muted);
	padding: 40px 12px;
}

.mt-app.is-searching .mt-section__title {
	display: none;
}

/* ============================================================
   9. Responsive
   ============================================================ */
@media (max-width: 640px) {
	.mt-app {
		padding: 16px 12px 110px;
		border-radius: 0;
	}

	.mt-grid {
		grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
		gap: 12px;
	}

	.mt-card__body {
		padding: 10px 12px 12px;
	}

	.mt-card__name {
		font-size: 15px;
	}

	.mt-card__desc {
		-webkit-line-clamp: 2;
		font-size: 12.5px;
	}

	.mt-card__price {
		font-size: 16px;
	}

	.mt-tabs {
		top: 58px;
	}
}

/* ============================================================
   10. CONSTRUCTOR POR CAPAS (.mtb)
   Diseño inspirado en un configurador tipo "build your burger":
   barra superior, título, selector de grupo, escenario, pista,
   rejilla de ingredientes y barra de pedido a ancho completo.
   ============================================================ */
.mtb {
	--mt-accent: #ff6a00;
	--mt-bg: #131925;
	--mt-surface: #1b2230;
	--mt-surface-2: #222a3a;
	--mt-text: #f4f1ea;
	--mt-muted: #8f9aad;
	--mt-border: rgba(255, 255, 255, 0.08);
	--mt-serif: "Libre Baskerville", Georgia, "Times New Roman", serif;
	--mt-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

	position: relative;
	display: flex;
	flex-direction: column;
	max-width: 760px;
	margin: 0 auto;
	height: 100vh;
	min-height: 620px;
	padding: 0;
	background: var(--mt-bg);
	color: var(--mt-text);
	font-family: var(--mt-sans);
	overflow: hidden;
}

.mtb__topbar,
.mtb__titleblock,
.mtb__segments,
.mtb__hint,
.mtb__chips {
	flex-shrink: 0;
}

.mtb *,
.mtb *::before,
.mtb *::after {
	box-sizing: border-box;
}

/* --- Barra superior --- */
.mtb__topbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 14px 18px 0;
}

.mtb__icon {
	width: 38px;
	height: 38px;
	border-radius: 50%;
	border: 0;
	background: transparent;
	color: var(--mt-text);
	display: grid;
	place-items: center;
	opacity: 0.85;
}

.mtb__icon:hover {
	opacity: 1;
	background: var(--mt-surface);
}

.mtb__brand {
	font-family: var(--mt-serif);
	font-size: 15px;
	letter-spacing: 0.04em;
	opacity: 0.9;
}

.mtb__topbar-right {
	display: flex;
	gap: 4px;
}

.mtb__cart {
	position: relative;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	border: 0;
	background: transparent;
	color: var(--mt-text);
	display: grid;
	place-items: center;
	opacity: 0.85;
}

.mtb__cart:hover {
	opacity: 1;
	background: var(--mt-surface);
}

.mtb__cart .mt-cartbtn__count {
	position: absolute;
	top: -2px;
	right: -2px;
	min-width: 18px;
	height: 18px;
	padding: 0 4px;
	border-radius: 999px;
	background: var(--mt-accent);
	color: #fff;
	font-size: 10px;
	font-weight: 700;
	display: grid;
	place-items: center;
	border: 2px solid var(--mt-bg);
}

.mtb__cart .mt-cartbtn__count[data-empty="1"] {
	display: none;
}

/* --- Título --- */
.mtb__titleblock {
	padding: 6px 20px 0;
}

.mtb__title {
	font-family: var(--mt-serif);
	font-size: clamp(24px, 6.5vw, 34px);
	font-weight: 700;
	margin: 0;
	line-height: 1.15;
}

.mtb__title em {
	font-style: italic;
	color: var(--mt-accent);
}

.mtb__sub {
	margin: 4px 0 0;
	color: var(--mt-muted);
	font-size: 13px;
}

/* --- Selector de grupo (excluyente) --- */
.mtb__segments {
	display: flex;
	justify-content: center;
	margin: 16px auto 0;
}

.mtb__segment-wrap {
	display: inline-flex;
	background: var(--mt-surface);
	border-radius: 999px;
	padding: 4px;
	gap: 2px;
}

.mtb__segment {
	border: 0;
	background: transparent;
	color: var(--mt-muted);
	font-size: 14px;
	font-weight: 600;
	padding: 8px 20px;
	border-radius: 999px;
	transition: all 0.18s ease;
}

.mtb__segment.is-on {
	background: #ffffff;
	color: #12161f;
}

/* --- Escenario --- */
.mtb__stage {
	position: relative;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	flex: 1 1 0;
	min-height: 0;
	overflow: visible;
	padding: 10px 16px 0;
}

.mtb__stack {
	position: relative;
	z-index: 2;
	width: min(430px, 82vw);
	height: 140px;
	overflow: visible;
	transition: height 0.3s ease;
}

/* La losa va dentro del escenario de la pila: más ancha y por debajo. */
.mtb__plate {
	position: absolute;
	left: 50%;
	bottom: 0;
	transform: translateX(-50%);
	width: 170%;
	height: auto;
	max-width: none;
	pointer-events: none;
	z-index: 0;
	user-select: none;
}

.mtb-layer {
	position: absolute;
	left: 0;
	width: 100%;
	height: auto;
	transition: bottom 0.34s cubic-bezier(0.34, 1.4, 0.64, 1), opacity 0.2s ease, filter 0.2s ease;
	will-change: bottom;
}

.mtb-layer:not(.mtb-layer--base) {
	cursor: pointer;
}

/* Sombra de contacto entre la hamburguesa y la losa. */
.mtb__shadow {
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	border-radius: 50%;
	background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0) 72%);
	z-index: 4;
	pointer-events: none;
	filter: blur(2px);
}

.mtb-layer:not(.mtb-layer--base):hover {
	filter: brightness(1.12) drop-shadow(0 0 10px rgba(255, 106, 0, 0.5));
}

.mtb-layer.is-drop {
	animation: mtb-drop 0.46s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes mtb-drop {
	0% { transform: translateY(-120px) rotate(-7deg) scale(1.06); opacity: 0; }
	55% { transform: translateY(5px) rotate(1.5deg) scale(0.99); opacity: 1; }
	100% { transform: translateY(0) rotate(0) scale(1); }
}

/* --- Pista --- */
.mtb__hint {
	text-align: center;
	color: var(--mt-muted);
	font-size: 13px;
	margin: 6px 0 14px;
	min-height: 18px;
}

/* --- Rejilla de ingredientes --- */
.mtb__chips {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px 6px;
	padding: 0 16px 18px;
	max-height: 44vh;
	overflow-y: auto;
	scrollbar-width: none;
}

.mtb__chips::-webkit-scrollbar {
	display: none;
}

.mtb-chip {
	position: relative;
	border: 0;
	background: transparent;
	color: var(--mt-text);
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 7px;
	padding: 0;
	transition: transform 0.16s ease;
}

.mtb-chip:hover {
	transform: translateY(-2px);
}

.mtb-chip:active {
	transform: scale(0.94);
}

.mtb-chip__img {
	width: 60px;
	height: 60px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid var(--mt-border);
	display: grid;
	place-items: center;
	overflow: hidden;
	transition: border-color 0.16s ease, background 0.16s ease;
}

.mtb-chip img {
	width: 42px;
	height: 42px;
	object-fit: contain;
	pointer-events: none;
}

.mtb-chip span {
	font-size: 12px;
	font-weight: 600;
	text-align: center;
	line-height: 1.2;
}

.mtb-chip.is-used .mtb-chip__img {
	border-color: var(--mt-accent);
	background: rgba(255, 106, 0, 0.16);
}

.mtb-chip__n {
	position: absolute;
	top: -2px;
	right: calc(50% - 38px);
	min-width: 20px;
	height: 20px;
	border-radius: 999px;
	background: var(--mt-accent);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	font-style: normal;
	display: grid;
	place-items: center;
	padding: 0 5px;
}

/* --- Barra de pedido --- */
.mtb__bar {
	position: relative;
	z-index: 40;
	flex-shrink: 0;
	padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
	background: var(--mt-bg);
}

.mtb__add {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	border: 0;
	border-radius: 12px;
	padding: 16px 20px;
	background: var(--mt-accent);
	color: #fff;
	font-size: 16px;
	font-weight: 700;
	transition: filter 0.15s ease;
}

.mtb__add:hover {
	filter: brightness(1.08);
}

.mtb__add:disabled {
	opacity: 0.45;
	cursor: not-allowed;
}

.mtb__add b {
	font-family: var(--mt-serif);
	font-size: 18px;
	font-weight: 700;
}

@media (max-width: 480px) {
	.mtb-chip__img {
		width: 54px;
		height: 54px;
	}

	.mtb-chip img {
		width: 38px;
		height: 38px;
	}

	.mtb-chip span {
		font-size: 11px;
	}
}

/* ============================================================
   11. PANTALLA COMPLETA (a prueba de cualquier tema)
   El shortcode puede envolver la app en .mt-fs: un contenedor
   fijo que cubre toda la ventana y tapa cabecera, pie y barras
   del tema, sin depender de la plantilla.
   ============================================================ */

/* Base: neutraliza lo que el tema ponga encima. */
html.menutin-fs {
	margin-top: 0 !important;
	overflow: hidden !important;
	height: 100% !important;
}

html.menutin-fs #wpadminbar,
html.menutin-fs #wpadminbar * {
	display: none !important;
}

html.menutin-fs body {
	overflow: hidden !important;
	background: #0f1115 !important;
	height: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
}

html.menutin-fs body::before,
html.menutin-fs body::after {
	display: none !important;
}

/* Contenedor fijo que cubre la pantalla. */
.mt-fs {
	position: fixed !important;
	top: 0 !important;
	right: 0 !important;
	bottom: 0 !important;
	left: 0 !important;
	inset: 0 !important;
	z-index: 2147483000 !important;
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	max-height: none !important;
	margin: 0 !important;
	transform: none !important;
	filter: none !important;
	isolation: isolate;
	background: #0f1115;
	overflow-y: auto;
	overflow-x: hidden;
	overscroll-behavior: contain;
	-webkit-overflow-scrolling: touch;
}

.mt-fs .mt-app {
	max-width: 1400px;
	margin: 0 auto;
	border-radius: 0;
	min-height: 100%;
	padding-left: clamp(14px, 4vw, 56px);
	padding-right: clamp(14px, 4vw, 56px);
}

.mt-fs .mtb {
	height: 100%;
	max-width: 900px;
	margin: 0 auto;
}

/* Botón de salida, solo para quien puede editar. */
.mt-fs-exit {
	position: fixed;
	left: 10px;
	bottom: 10px;
	z-index: 2147483001;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	background: rgba(255, 255, 255, 0.08);
	color: #98a1b3;
	text-decoration: none;
	font-size: 15px;
	opacity: 0.3;
	transition: opacity 0.2s ease;
}

.mt-fs-exit:hover {
	opacity: 1;
	background: rgba(255, 255, 255, 0.16);
}

/* ============================================================
   11b. RESERVAS (diseño fiel al flujo de reserva)
   ============================================================ */

.mtr,
.mtr--page,
.mtr--pop {
	--mtr-bg: #131925;
	--mtr-deep: #0b0f17;
	--mtr-cream: #f9f5f1;
	--mtr-accent: #df4d0c;
	--mtr-accent2: #fd992f;
	--mtr-ink2: rgba(249, 245, 241, 0.62);
	--mtr-ink3: rgba(249, 245, 241, 0.38);
	--mtr-well: rgba(249, 245, 241, 0.055);
	--mtr-hair: rgba(249, 245, 241, 0.09);
	--mtr-gut: 22px;
	--mtr-serif: "Libre Baskerville", Georgia, "Times New Roman", serif;
	--mtr-sans: Geist, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.mtr {
	background: var(--mtr-bg);
	color: var(--mtr-cream);
	font-family: var(--mtr-sans);
	-webkit-font-smoothing: antialiased;
}

/* --- Modo página (shortcode [reservas]) --- */
.mtr--page {
	min-height: 100vh;
}

/* --- Modo flotante (botón dentro del menú) --- */
.mtr--pop {
	position: fixed;
	inset: 0;
	z-index: 95;
	overflow-y: auto;
	overscroll-behavior: contain;
	-webkit-overflow-scrolling: touch;
	padding-top: env(safe-area-inset-top);
	padding-bottom: env(safe-area-inset-bottom);
}

.mtr__cols {
	max-width: 1080px;
	margin: 0 auto;
	padding: calc(env(safe-area-inset-top) + 10px) var(--mtr-gut) calc(env(safe-area-inset-bottom) + 110px);
}

.mtr__main {
	max-width: 560px;
	margin: 0 auto;
}

.mtr__top {
	display: flex;
	align-items: center;
	gap: 6px;
	height: 52px;
	margin: 0 -10px;
}

.mtr__back {
	width: 44px;
	height: 44px;
	color: var(--mtr-ink2);
	border-radius: 50%;
	border: 0;
	background: none;
	display: grid;
	place-items: center;
	cursor: pointer;
	flex: 0 0 auto;
}

.mtr__back:active {
	background: var(--mtr-well);
}

.mtr__h1 {
	font-family: var(--mtr-serif);
	letter-spacing: -0.02em;
	font-size: 26px;
	font-weight: 400;
	margin: 0;
}

.mtr__h1 em {
	color: var(--mtr-accent2);
	font-style: italic;
}

.mtr__lede {
	font-family: var(--mtr-serif);
	color: var(--mtr-ink2);
	margin: 4px 0 0;
	font-size: 16px;
	font-style: italic;
}

.mtr__block {
	margin-top: 28px;
}

.mtr__h2 {
	color: var(--mtr-ink2);
	letter-spacing: 0.01em;
	margin: 0 0 10px;
	font-size: 13px;
	font-weight: 600;
}

.mtr__hint {
	color: var(--mtr-ink3);
	margin: 10px 0 0;
	font-size: 13px;
	line-height: 1.4;
}

/* Comensales */
.mtr__party {
	display: grid;
	grid-template-columns: repeat(8, 1fr);
	gap: 6px;
}

.mtr__pBtn {
	aspect-ratio: 1;
	max-height: 52px;
	font-variant-numeric: tabular-nums;
	color: var(--mtr-cream);
	background: var(--mtr-well);
	box-shadow: inset 0 0 0 1px var(--mtr-hair);
	touch-action: manipulation;
	border: 0;
	border-radius: 50%;
	font-size: 17px;
	font-weight: 600;
	font-family: inherit;
	cursor: pointer;
	transition: background 0.2s, color 0.2s, transform 0.12s;
}

.mtr__pBtn[aria-checked="true"] {
	background: var(--mtr-cream);
	color: #131925;
	box-shadow: none;
}

.mtr__pBtn:active {
	transform: scale(0.94);
}

/* Días */
.mtr__days {
	scrollbar-width: none;
	margin: 0 calc(-1 * var(--mtr-gut));
	padding: 2px var(--mtr-gut) 4px;
	scroll-snap-type: x proximity;
	gap: 8px;
	display: flex;
	overflow-x: auto;
}

.mtr__days::-webkit-scrollbar {
	display: none;
}

.mtr__dayBtn {
	scroll-snap-align: start;
	background: var(--mtr-well);
	width: 62px;
	box-shadow: inset 0 0 0 1px var(--mtr-hair);
	color: var(--mtr-ink2);
	touch-action: manipulation;
	border: 0;
	border-radius: 16px;
	flex-direction: column;
	flex: none;
	align-items: center;
	gap: 2px;
	padding: 9px 2px 8px;
	font-size: 12px;
	font-weight: 600;
	font-family: inherit;
	cursor: pointer;
	display: flex;
	transition: background 0.2s, color 0.2s;
}

.mtr__dayBtn b {
	font-family: var(--mtr-serif);
	color: var(--mtr-cream);
	font-size: 22px;
	font-weight: 400;
	line-height: 1.15;
}

.mtr__dayBtn span:last-child {
	min-height: 14px;
	font-size: 11px;
	font-weight: 500;
}

.mtr__dayBtn[aria-checked="true"] {
	background: var(--mtr-cream);
	color: rgba(19, 25, 37, 0.62);
	box-shadow: none;
}

.mtr__dayBtn[aria-checked="true"] b {
	color: #131925;
}

.mtr__dayBtn:disabled,
.mtr__slot:disabled {
	opacity: 0.4;
}

/* Horas */
.mtr__times {
	display: grid;
	gap: 16px;
}

.mtr__service {
	color: var(--mtr-ink3);
	letter-spacing: 0.04em;
	text-transform: uppercase;
	margin: 0 2px 8px;
	font-size: 12px;
	font-weight: 600;
	display: block;
}

.mtr__slots {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 6px;
}

.mtr__slot {
	font-variant-numeric: tabular-nums;
	height: 44px;
	color: var(--mtr-cream);
	background: var(--mtr-well);
	box-shadow: inset 0 0 0 1px var(--mtr-hair);
	touch-action: manipulation;
	border: 0;
	border-radius: 12px;
	font-size: 15px;
	font-weight: 600;
	font-family: inherit;
	cursor: pointer;
	transition: background 0.15s, color 0.15s, transform 0.12s;
}

.mtr__slot:active:not(:disabled) {
	transform: scale(0.95);
}

.mtr__slot:disabled {
	color: var(--mtr-ink3);
	background: none;
	text-decoration: line-through;
}

.mtr__slot[aria-pressed="true"] {
	background: var(--mtr-accent);
	color: #fff8f2;
	box-shadow: 0 10px 22px -12px var(--mtr-accent);
}

.mtr__empty {
	background: var(--mtr-well);
	box-shadow: inset 0 0 0 1px var(--mtr-hair);
	color: var(--mtr-ink2);
	border-radius: 16px;
	padding: 18px;
	font-size: 14.5px;
	line-height: 1.45;
}

.mtr__loading {
	background: linear-gradient(90deg, var(--mtr-well) 0%, rgba(249, 245, 241, 0.09) 50%, var(--mtr-well) 100%);
	background-size: 200% 100%;
	border-radius: 16px;
	height: 120px;
	animation: mtr-shimmer 1.4s ease-in-out infinite;
}

@keyframes mtr-shimmer {
	0% { background-position: 100% 0; }
	to { background-position: -100% 0; }
}

/* Datos */
.mtr__field {
	flex-direction: column;
	gap: 6px;
	margin-top: 12px;
	display: flex;
}

.mtr__field:first-of-type {
	margin-top: 0;
}

.mtr__field span {
	color: var(--mtr-ink3);
	font-size: 12.5px;
}

.mtr__field input {
	background: var(--mtr-well);
	width: 100%;
	box-sizing: border-box;
	box-shadow: inset 0 0 0 1px var(--mtr-hair);
	border: 0;
	border-radius: 14px;
	outline: none;
	padding: 14px 16px;
	font-size: 16px;
	font-family: inherit;
	color: var(--mtr-cream);
}

.mtr__field input::placeholder {
	color: var(--mtr-ink3);
}

.mtr__field input:focus {
	box-shadow: inset 0 0 0 1.5px var(--mtr-accent);
}

.mtr__occasions {
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 14px;
	display: flex;
}

.mtr__occasion {
	height: 38px;
	color: var(--mtr-ink2);
	background: var(--mtr-well);
	box-shadow: inset 0 0 0 1px var(--mtr-hair);
	touch-action: manipulation;
	border: 0;
	border-radius: 99px;
	padding: 0 14px;
	font-size: 14px;
	font-weight: 500;
	font-family: inherit;
	cursor: pointer;
	transition: background 0.2s, color 0.2s;
}

.mtr__occasion[aria-pressed="true"] {
	background: var(--mtr-cream);
	color: #131925;
	box-shadow: none;
}

.mtr__msg {
	color: #ffb39a;
	margin: 18px 0 0;
	font-size: 14px;
}

.mtr__msg[data-ok] {
	color: #bff0d2;
}

.mtr__spacer {
	height: 12px;
}

/* Botón fijo */
.mtr__cta {
	z-index: 5;
	left: 50%;
	bottom: calc(env(safe-area-inset-bottom) + 18px);
	width: min(calc(100% - 2 * var(--mtr-gut)), 516px);
	background: var(--mtr-accent);
	color: #fff8f2;
	height: 58px;
	box-shadow: 0 18px 34px -18px var(--mtr-accent), inset 0 1px 0 rgba(255, 255, 255, 0.2);
	border: 0;
	border-radius: 99px;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	padding: 0 26px;
	font-size: 17px;
	font-weight: 600;
	font-family: inherit;
	display: flex;
	position: fixed;
	transform: translateX(-50%);
	cursor: pointer;
	transition: opacity 0.2s, transform 0.15s;
}

.mtr__cta:active:not(:disabled) {
	transform: translateX(-50%) scale(0.98);
}

.mtr__cta:disabled {
	opacity: 0.45;
}

.mtr__ctaWhat {
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
	text-overflow: ellipsis;
	font-size: 15px;
	font-weight: 500;
	overflow: hidden;
}

/* Panel lateral (solo PC ancho) */
.mtr__side {
	display: none;
}

.mtr__card {
	background: var(--mtr-well);
	box-shadow: inset 0 0 0 1px var(--mtr-hair);
	border-radius: 16px;
	padding: 14px 16px;
	margin-bottom: 10px;
}

.mtr__cardK {
	display: block;
	color: var(--mtr-ink3);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	margin-bottom: 3px;
}

.mtr__cardV {
	display: block;
	font-family: var(--mtr-serif);
	font-size: 18px;
	font-weight: 400;
}

/* Botón disparador dentro del menú */
.mt-resbtn {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	border: 1px solid var(--mt-border);
	background: var(--mt-surface);
	color: var(--mt-text);
	border-radius: 999px;
	padding: 9px 15px;
	font-size: 13.5px;
	font-weight: 600;
	white-space: nowrap;
	font-family: inherit;
	cursor: pointer;
	transition: all 0.15s ease;
}

.mt-resbtn:hover {
	border-color: var(--mt-accent);
	color: var(--mt-accent);
}

.mt-resoff {
	color: var(--mt-muted);
	font-size: 13px;
	margin: 8px 0 0;
}

/* --- Responsive --- */
.mtr--page .mtr__cols {
	max-width: 560px;
}

/* Pantallas anchas: wizard + panel de información */
@media (min-width: 1060px) {
	.mtr--page .mtr__cols {
		max-width: 1010px;
		display: grid;
		grid-template-columns: minmax(0, 620px) 320px;
		gap: 56px;
		justify-content: center;
		align-items: start;
	}

	.mtr__side {
		display: block;
		position: sticky;
		top: 48px;
	}

	.mtr__slot {
		height: 48px;
		font-size: 16px;
	}
}

/* Tablet */
@media (min-width: 620px) and (max-width: 1059px) {
	.mtr__cols {
		padding-left: 32px;
		padding-right: 32px;
	}
}

/* Móvil: menos columnas de horas para que quepan */
@media (max-width: 420px) {
	.mtr__party {
		grid-template-columns: repeat(6, 1fr);
	}

	.mtr__slots {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

/* ============================================================
   12. RESPONSIVE (PC · tablet · móvil)
   ============================================================ */

/* Móvil: 2 columnas */
.mt-grid {
	grid-template-columns: repeat(2, 1fr);
}

/* Tablet: 3 columnas */
@media (min-width: 620px) {
	.mt-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

/* Portátil: 4 columnas */
@media (min-width: 900px) {
	.mt-grid {
		grid-template-columns: repeat(4, 1fr);
		gap: 20px;
	}
}

/* PC grande: 5 columnas */
@media (min-width: 1300px) {
	.mt-grid {
		grid-template-columns: repeat(5, 1fr);
	}

	.mt-hero {
		padding: 40px 12px 26px;
	}
}

/* PC muy grande: 6 columnas */
@media (min-width: 1650px) {
	.mt-grid {
		grid-template-columns: repeat(6, 1fr);
	}
}

/* El menú siempre aprovecha el ancho disponible. */
.mt-app {
	max-width: 1400px;
}

.mt-app .mt-menu,
.mt-app .mt-tabs,
.mt-app .mt-toolbar {
	width: 100%;
}

/* En móvil el app no lleva bordes redondeados (va a sangre). */
@media (max-width: 640px) {
	.mt-app {
		border-radius: 0;
		padding: 16px 12px 110px;
	}

	.mt-card__desc {
		-webkit-line-clamp: 2;
	}
}

/* El constructor también se adapta. */
@media (min-width: 900px) {
	.mtb {
		max-width: 900px;
	}

	.mtb__stack {
		width: min(520px, 70vw);
	}
}
