/* Casa Olmo · carta del móvil (TuCartaQR) · estilo «Brasa»: noche verde, brasa viva y fotos grandes.
   Restaurante de ejemplo de la web de venta de TuCartaQR. Sin fondos crema. */
:root {
	--ol-noche: #0D1210; --ol-carbon: #151B17; --ol-carbon-2: #1D2520; --ol-bosque: #183024;
	--ol-brasa: #E8572A; --ol-brasa-osc: #C9431B; --ol-brasa-clara: #FF8A5B; --ol-hoja: #A9C46C;
	--ol-humo: #A7B1AA;
	--ol-titulo: "Fraunces", Georgia, serif; --ol-texto: "Figtree", system-ui, sans-serif;
	--cv-accent: #E8572A; --cv-on-accent: #fff; --cv-accent-text: #FF8A5B; --cv-accent-soft: rgba(232, 87, 42, .14);
	--cv-accent-deep: #3B1609; --cv-accent-chalk: #FFB08F;
	--cv-font-head: var(--ol-titulo); --cv-font-body: var(--ol-texto);
}
body.tcqr-page, body.tcqr-page--oscuro { background: var(--ol-noche); }
body .tcqr {
	--cv-bg: #0D1210; --cv-surface: #151B17; --cv-text: #F5F7F4; --cv-muted: #A7B1AA;
	--cv-line: rgba(255, 255, 255, .09); --cv-dots: rgba(255, 255, 255, .2); --cv-radius: 18px;
	--cv-board: #183024; --cv-chalk: #fff; --cv-chalk-muted: rgba(255, 255, 255, .72); --cv-chalk-line: rgba(255, 255, 255, .14);
	background: transparent; color: var(--cv-text);
}

/* ---------- Franja de arriba ---------- */
.tcqrc-top {
	position: relative; z-index: 5; display: flex; justify-content: space-between; align-items: center; gap: 10px;
	padding: max(6px, env(safe-area-inset-top)) 14px 6px; background: #070A08;
	font: 600 13.5px/1.2 var(--ol-texto); letter-spacing: .02em; border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.tcqrc-top a { color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 4px; }
.tcqrc-top__tel { color: var(--ol-brasa-clara) !important; }
.tcqrc-top a:focus-visible { outline: 2px solid var(--ol-brasa-clara); outline-offset: 2px; border-radius: 6px; }

/* ---------- Cabecera: foto del patio a sangre que se funde con la noche ---------- */
.tcqr .tcqr-head {
	position: relative; overflow: hidden; margin-bottom: 0; color: #fff;
	min-height: min(78svh, 640px); display: flex; flex-direction: column; justify-content: flex-end; align-items: center;
	padding: 70px 20px 34px;
	background:
		linear-gradient(180deg, rgba(13, 18, 16, .35) 0, rgba(13, 18, 16, .1) 28%, rgba(13, 18, 16, .65) 66%, #0D1210 100%),
		url("../img/olmo-patio.webp") center 38%/cover;
}
.tcqr .tcqr-head::after { display: none; }
.tcqr .tcqr-langs { position: absolute; top: 16px; right: 16px; background: rgba(13, 18, 16, .55); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border: 1px solid rgba(255, 255, 255, .14); }
.tcqr .tcqr-langs a { color: #fff; }
.tcqr .tcqr-langs a[aria-current] { background: #fff; color: var(--ol-noche); }
.tcqr .tcqr-head__logo { content: url("../img/olmo-logo-claro.png"); width: 84%; max-width: 360px; max-height: none; margin: 0 auto 2px; filter: drop-shadow(0 6px 24px rgba(0, 0, 0, .55)); }
.tcqr .tcqr-head__name { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.tcqr .tcqr-head__sub {
	font: italic 400 21px/1.35 var(--ol-titulo); letter-spacing: 0; text-transform: none; color: #fff; opacity: 1;
	margin-top: 14px; max-width: 19em; text-shadow: 0 2px 16px rgba(0, 0, 0, .6);
}
.tcqr .tcqr-head__book {
	background: var(--ol-brasa); color: #fff; font: 700 16px/1 var(--ol-texto); letter-spacing: .01em;
	min-height: 52px; padding: 0 26px; border-radius: 999px; margin-top: 22px;
	box-shadow: 0 12px 30px -8px rgba(232, 87, 42, .7);
}
.tcqr .tcqr-head__book:hover { background: var(--ol-brasa-osc); }
.tcqr .tcqr-head--book { min-height: 300px; }

/* Aviso de idioma */
.tcqr .tcqr-suggest { background: #fff; color: var(--ol-noche); margin-top: 14px; }

/* ---------- Menú del día: pizarra verde bosque con sello de brasa ---------- */
.tcqr .tcqr-menus { padding-top: 26px; }
.tcqr .tcqr-mday {
	background: radial-gradient(120% 90% at 50% 0, #21402F 0, var(--ol-bosque) 55%, #12251B 100%);
	border-radius: 22px; color: #fff;
	box-shadow: inset 0 0 0 1px rgba(169, 196, 108, .28), 0 30px 60px -30px rgba(0, 0, 0, .9);
}
.tcqr .tcqr-mday--especial { background: radial-gradient(120% 90% at 50% 0, #5A2412 0, #3B1609 60%, #2A0F06 100%); }
.tcqr .tcqr-mday__kicker { color: var(--ol-hoja); letter-spacing: .24em; }
.tcqr .tcqr-mday__title { font-family: var(--ol-titulo); font-weight: 600; font-size: clamp(30px, 8.4vw, 40px); color: #fff; }
.tcqr .tcqr-mday__when { color: rgba(255, 255, 255, .78); font-size: 14px; }
.tcqr .tcqr-mday__price { background: var(--ol-brasa); box-shadow: 0 0 0 4px #12251B, 0 12px 24px -8px rgba(0, 0, 0, .7); }
.tcqr .tcqr-mday__toggle { background: rgba(255, 255, 255, .12); }
.tcqr .tcqr-mday__group h3 { color: var(--ol-hoja); font-size: 12px; }
.tcqr .tcqr-mitem { border-bottom-color: rgba(255, 255, 255, .12); }
.tcqr .tcqr-mitem__name { font-family: var(--ol-titulo); font-size: 18.5px; color: #fff; }
.tcqr .tcqr-mitem__extra { color: var(--ol-brasa-clara); }
.tcqr .tcqr-mday__inc { color: rgba(255, 255, 255, .75); }
.tcqr .tcqr-mday .tcqr-al { background: #fff; border-radius: 50%; }

/* ---------- Barra fija ---------- */
.tcqr .tcqr-bar { background: rgba(13, 18, 16, .9); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(255, 255, 255, .08); }
.tcqr .tcqr-tab {
	background: transparent; border: 1px solid rgba(255, 255, 255, .18); border-radius: 999px;
	font: 700 13px/1 var(--ol-texto); letter-spacing: .14em; color: rgba(255, 255, 255, .72);
}
.tcqr .tcqr-tab[aria-selected="true"] { background: var(--ol-brasa); border-color: var(--ol-brasa); color: #fff; }
.tcqr .tcqr-chips { -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
.tcqr .tcqr-chip { font: 600 14.5px/1 var(--ol-texto); color: rgba(255, 255, 255, .7); min-height: 38px; }
.tcqr .tcqr-chip.is-active { background: #fff; color: var(--ol-noche); }
.tcqr .tcqr-filter-btn { border: 1.5px solid rgba(255, 255, 255, .3); background: transparent; color: #fff; }
.tcqr .tcqr-filter-btn.is-on { background: #fff; color: var(--ol-noche); border-color: #fff; }
.tcqr .tcqr-filter-btn__n { background: var(--ol-brasa); color: #fff; }
.tcqr .tcqr-notice { background: rgba(232, 87, 42, .14); color: #fff; }

/* ---------- Secciones ---------- */
.tcqr .tcqr-main { padding-bottom: 40px; }
.tcqr .tcqr-carta__desc { font-family: var(--ol-titulo); font-style: italic; color: var(--ol-humo); }
.tcqr .tcqr-sec { padding-top: 44px; scroll-margin-top: 140px; }
.tcqr .tcqr-sec__title {
	justify-content: flex-start; gap: 12px; text-align: left;
	font: 600 clamp(30px, 8.6vw, 40px)/1.05 var(--ol-titulo); letter-spacing: -.015em; text-transform: none; color: #fff;
}
.tcqr .tcqr-sec__title::before {
	flex: 0 0 26px; height: 26px; background: var(--ol-brasa);
	-webkit-mask: url("../img/hoja.svg") center/contain no-repeat; mask: url("../img/hoja.svg") center/contain no-repeat;
}
.tcqr .tcqr-sec__title::after { flex: 1 1 20px; height: 1px; background: linear-gradient(90deg, rgba(255, 255, 255, .25), transparent); }
.tcqr .tcqr-sec__desc { text-align: left; font: italic 400 17px/1.45 var(--ol-titulo); color: var(--ol-humo); margin-top: 8px; }
.tcqr .tcqr-sec__img { border-radius: 18px; }

/* ---------- Platos: tarjetas oscuras; los recomendados con la foto en grande ---------- */
.tcqr .tcqr-list { margin-top: 18px; gap: 12px; }
.tcqr .tcqr-dish {
	background: var(--ol-carbon); border: 1px solid rgba(255, 255, 255, .06); border-radius: 20px;
	padding: 14px; gap: 14px; transition: border-color .2s, background .2s;
}
.tcqr .tcqr-list > .tcqr-dish:last-child { border-bottom: 1px solid rgba(255, 255, 255, .06); }
.tcqr .tcqr-dish:hover { border-color: rgba(232, 87, 42, .45); background: #18201B; }
.tcqr .tcqr-dish__img { width: 92px; height: 92px; flex-basis: 92px; border-radius: 14px; background: var(--ol-carbon-2); box-shadow: none; }
.tcqr .tcqr-dish__name { font-family: var(--ol-titulo); font-weight: 600; font-size: 20px; line-height: 1.18; color: #fff; }
.tcqr .tcqr-dish__top::after { border-bottom-color: rgba(255, 255, 255, .18); }
.tcqr .tcqr-price { font: 800 17px/1.2 var(--ol-texto); color: var(--ol-brasa-clara); }
.tcqr .tcqr-dish__desc { color: var(--ol-humo); font-size: 14.5px; }
.tcqr .tcqr-prices li { background: var(--ol-carbon-2); border: 1px solid rgba(255, 255, 255, .08); color: #fff; }
.tcqr .tcqr-prices span { color: var(--ol-humo); }
.tcqr .tcqr-prices strong { color: var(--ol-brasa-clara); }
.tcqr .tcqr-flag { background: var(--ol-brasa); color: #fff; font: 800 10.5px/1 var(--ol-texto); letter-spacing: .1em; border-radius: 999px; padding: 6px 10px 5px; }
.tcqr .tcqr-flag--out { background: #fff; color: var(--ol-noche); }
.tcqr .tcqr-dish__hint { font: 700 13px/1.2 var(--ol-texto); color: var(--ol-hoja); }
.tcqr .tcqr-dish__open:focus-visible { outline: 2px solid var(--ol-brasa-clara); outline-offset: 3px; border-radius: 6px; }
.tcqr .tcqr-tag { border-color: rgba(255, 255, 255, .16); color: var(--ol-humo); }
.tcqr .tcqr-tag--vegano, .tcqr .tcqr-tag--vegetariano { color: #B9DB8A; border-color: #36502A; background: transparent; }
.tcqr .tcqr-tag--picante { color: #FF9C7A; border-color: #5C2A1C; background: transparent; }
.tcqr .tcqr-tag--sin_gluten { color: #E8CB7E; border-color: #54472A; background: transparent; }
.tcqr .tcqr-dish__tr { color: var(--ol-humo); }
.tcqr .tcqr-al { background: #fff; border-radius: 50%; }

/* Recomendado con foto: la foto arriba, grande */
.tcqr .tcqr-dish.is-featured {
	position: relative; margin: 0; padding: 0; overflow: hidden; border-radius: 22px; border-color: rgba(232, 87, 42, .35);
	background: linear-gradient(180deg, #1A221D, var(--ol-carbon));
}
.tcqr .tcqr-dish.is-featured:not(.has-img) { padding: 16px; }
.tcqr .tcqr-dish.is-featured.has-img { flex-direction: column; gap: 0; }
.tcqr .tcqr-dish.is-featured.has-img .tcqr-dish__img { width: 100%; height: auto; flex: none; aspect-ratio: 16 / 10; border-radius: 0; }
.tcqr .tcqr-dish.is-featured.has-img .tcqr-dish__body { padding: 16px 16px 18px; width: 100%; }
.tcqr .tcqr-dish.is-featured.has-img .tcqr-dish__flags { position: absolute; top: 14px; left: 14px; margin: 0; }
.tcqr .tcqr-dish.is-featured .tcqr-dish__name { font-size: 24px; }
.tcqr .tcqr-dish.is-featured .tcqr-price { font-size: 19px; }
.tcqr .tcqr-dish.is-soldout { background: #111612; }

/* ---------- Pie y alérgenos ---------- */
.tcqr .tcqr-foot { color: var(--ol-humo); }
.tcqr .tcqr-legend { background: var(--ol-carbon); border: 1px solid rgba(255, 255, 255, .07); border-radius: 20px; }
.tcqr .tcqr-legend__title { font: 800 12px/1 var(--ol-texto); letter-spacing: .2em; color: var(--ol-brasa-clara); }
.tcqr .tcqr-legend__list { color: #fff; }
.tcqr .tcqr-foot a { color: var(--ol-brasa-clara); }

/* ---------- Hojas (filtro y ficha del plato) ---------- */
.tcqr .tcqr-sheet, .tcqr .tcqr-dlg { background: var(--ol-carbon); color: #fff; }
.tcqr .tcqr-sheet::backdrop, .tcqr .tcqr-dlg::backdrop { background: rgba(5, 8, 6, .72); }
.tcqr .tcqr-sheet__head h2, .tcqr .tcqr-sheet h2 { font-family: var(--ol-titulo); font-weight: 600; color: #fff; }
.tcqr .tcqr-sheet__x { background: var(--ol-carbon-2); color: #fff; }
.tcqr .tcqr-check { border-color: rgba(255, 255, 255, .14); }
.tcqr .tcqr-check:has(input:checked) { border-color: var(--ol-brasa); background: rgba(232, 87, 42, .12); }
.tcqr .tcqr-btn:not(.tcqr-btn--ghost) { background: var(--ol-brasa); color: #fff; font-family: var(--ol-texto); font-weight: 700; border-radius: 999px; }
.tcqr .tcqr-btn--ghost { border-radius: 999px; border-color: rgba(255, 255, 255, .25); color: #fff; }
.tcqr .tcqr-dlg__x { background: rgba(13, 18, 16, .75); color: #fff; border: 1px solid rgba(255, 255, 255, .2); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.tcqr .tcqr-dlg__img { aspect-ratio: 1 / 1; }
.tcqr .tcqr-dlg .tcqr-dish { background: transparent; border: 0; padding: 0; }
.tcqr .tcqr-dlg .tcqr-dish__name { font-size: 30px; }
.tcqr .tcqr-dlg .tcqr-price { font-size: 21px; }
.tcqr .tcqr-dlg .tcqr-dish__more { border-top-color: rgba(255, 255, 255, .1); color: rgba(255, 255, 255, .88); font-size: 16px; line-height: 1.65; }
.tcqr .tcqr-dlg__al { color: #fff; }

/* ---------- Escritorio ---------- */
@media (min-width: 960px) {
	.tcqr .tcqr-head { min-height: 620px; padding-bottom: 60px; }
	.tcqr .tcqr-head__logo { width: 440px; max-width: 440px; }
	.tcqr .tcqr-head__sub { font-size: 24px; }
	.tcqr .tcqr-list { grid-template-columns: 1fr 1fr; gap: 16px; }
	.tcqr .tcqr-list > .tcqr-dish:nth-last-child(2):nth-child(odd) { border-bottom: 1px solid rgba(255, 255, 255, .06); }
	.tcqr .tcqr-list { align-items: start; }
	.tcqr .tcqr-dish.is-featured { margin: 0; }
	.tcqr .tcqr-dish.is-featured.has-img { grid-column: 1 / -1; flex-direction: row; align-items: stretch; }
	.tcqr .tcqr-dish.is-featured.has-img .tcqr-dish__img { width: 52%; aspect-ratio: 16 / 10; }
	.tcqr .tcqr-dish.is-featured.has-img .tcqr-dish__body { padding: 30px 32px; align-self: center; }
	.tcqr .tcqr-dish.is-featured .tcqr-dish__name { font-size: 30px; }
	.tcqr .tcqr-dish__img { width: 104px; height: 104px; flex-basis: 104px; }
	.tcqr .tcqr-sec__title { font-size: 44px; }
}
@media print { .tcqrc-top { display: none; } }
