/* Menú público. Los colores y la tipografía llegan como variables desde el diseño de cada negocio.
   Cada plantilla es una clase (.t-clasico, .t-moderno…) sobre la misma estructura. */

@font-face { font-family: 'Bricolage Grotesque'; src: url('../fonts/bricolage-grotesque-latin-wght-normal.woff2') format('woff2'); font-weight: 200 800; font-display: swap; }
@font-face { font-family: 'Fraunces'; src: url('../fonts/fraunces-latin-wght-normal.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Nunito'; src: url('../fonts/nunito-latin-wght-normal.woff2') format('woff2'); font-weight: 200 1000; font-display: swap; }

:root {
  --scale: 1;
  --bg: var(--b-bg); --surface: var(--b-surface); --text: var(--b-text); --primary-text: var(--b-primary-text); --on-surface: var(--b-on-surface);
  --muted: color-mix(in oklab, var(--text) 68%, var(--bg));
  --line: color-mix(in oklab, var(--text) 16%, var(--bg));
  --focus: var(--text);
}
:root[data-mode='alt'] { --bg: var(--a-bg); --surface: var(--a-surface); --text: var(--a-text); --primary-text: var(--a-primary-text); --on-surface: var(--a-on-surface); }

/* Alto contraste: negro sobre blanco, o blanco y amarillo sobre negro */
:root[data-contrast='high'] { --bg: #FFFFFF; --surface: #FFFFFF; --text: #000000; --primary-text: #000000; --muted: #000000; --line: #000000; --primary: #000000; --on-primary: #FFFFFF; --on-surface: #000000; }
:root[data-contrast='high'][data-shade='dark'] { --bg: #000000; --surface: #000000; --text: #FFFFFF; --primary-text: #FFE600; --muted: #FFFFFF; --line: #FFFFFF; --primary: #FFE600; --on-primary: #000000; --on-surface: #FFFFFF; }

*, *::before, *::after { box-sizing: border-box; }
html { font-size: calc(100% * var(--scale)); -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 4.5rem; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 1rem/1.5 var(--font); min-height: 100vh; overflow-x: clip; }
img { max-width: 100%; display: block; }
h1, h2, h3, p, ul { margin: 0; padding: 0; }
a { color: var(--primary-text); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: .5rem; top: -4rem; background: var(--text); color: var(--bg); padding: .6rem .9rem; border-radius: 6px; z-index: 50; }
.skip:focus { top: .5rem; }
.wrap { width: min(44rem, 100% - 2rem); margin-inline: auto; }

.preview-note a { color: inherit; }
.preview-note { background: #FFE9A8; color: #3A2A00; text-align: center; padding: .5rem 1rem; font: 600 .875rem/1.4 system-ui, sans-serif; }

/* ── Barra de lectura: tamaño de texto, contraste, día/noche ── */
.tools { display: flex; justify-content: flex-end; gap: .4rem; padding: .5rem 0; }
.tools button {
  min-width: 2.75rem; min-height: 2.75rem; padding: 0 .7rem; border-radius: 99px;
  border: 1.5px solid var(--line); background: var(--surface); color: var(--text);
  font: 700 .875rem/1 system-ui, sans-serif; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: .35rem;
}
.tools button[aria-pressed='true'] { background: var(--text); color: var(--bg); border-color: var(--text); }
.tools button[disabled] { opacity: .4; cursor: default; }
.tools svg { width: 1.1rem; height: 1.1rem; }

/* ── Cabecera ── */
.head { padding: 1rem 0 1.5rem; text-align: center; }
.head .logo { width: 5.5rem; height: 5.5rem; object-fit: contain; margin: 0 auto .9rem; border-radius: 1rem; }
.head h1 { font-size: 2rem; line-height: 1.1; letter-spacing: -.02em; text-wrap: balance; }
.head .tagline { color: var(--muted); margin-top: .5rem; text-wrap: balance; }
.head .hours { color: var(--muted); font-size: .9rem; margin-top: .35rem; }

/* ── Buscador y filtros ── */
.find { display: grid; gap: .6rem; margin-bottom: 1rem; }
.find input { width: 100%; min-height: 2.9rem; padding: .5rem .9rem; font: inherit; color: var(--text); background: var(--surface); border: 1.5px solid var(--line); border-radius: .75rem; }
.filters { display: flex; gap: .4rem; list-style: none; overflow-x: auto; padding: 3px; margin: -3px; scrollbar-width: none; }
.filters::-webkit-scrollbar { display: none; }
.filters li { flex: none; }
.filters button { min-height: 2.4rem; padding: .25rem .8rem; border-radius: 99px; border: 1.5px solid var(--line); background: transparent; color: var(--text); font: 500 .875rem/1.2 var(--font); cursor: pointer; }
.filters button[aria-pressed='true'] { background: var(--primary); color: var(--on-primary); border-color: var(--primary); }
.filters button[aria-pressed='true']::before { content: '✓ '; }

/* ── Navegación por secciones ── */
.nav { position: sticky; top: 0; z-index: 10; background: color-mix(in oklab, var(--bg) 94%, transparent); backdrop-filter: blur(8px); border-block: 1px solid var(--line); }
.nav ul { display: flex; gap: .25rem; overflow-x: auto; list-style: none; padding: .45rem 1rem; scrollbar-width: none; max-width: 46rem; margin-inline: auto; }
.nav ul::-webkit-scrollbar { display: none; }
.nav a { display: inline-flex; align-items: center; min-height: 2.5rem; padding: 0 .85rem; white-space: nowrap; text-decoration: none; color: var(--text); font-weight: 600; font-size: .92rem; border-radius: 99px; }
.nav a:hover { background: var(--surface); }

/* ── Secciones y platillos: estructura común ── */
.menu { padding: 1.25rem 0 2rem; }
.sec { margin-bottom: 2.25rem; }
.sec > h2 { font-size: 1.45rem; line-height: 1.15; color: var(--primary-text); margin-bottom: .25rem; text-wrap: balance; }
.sec > .sec-note { color: var(--muted); font-size: .92rem; }
.items { display: grid; gap: 1rem; margin-top: 1rem; }
.it { display: flex; gap: .85rem; min-width: 0; }
.it[hidden], .sec[hidden] { display: none; }
.it-body { flex: 1; min-width: 0; }
.it-top { display: flex; align-items: baseline; gap: .5rem; }
.it-name { font-size: 1.05rem; font-weight: 650; line-height: 1.25; overflow-wrap: anywhere; }
.it-dots { flex: 1; min-width: 1rem; border-bottom: 2px dotted var(--line); transform: translateY(-.25em); display: none; }
.it-price { margin-left: auto; font-weight: 700; white-space: nowrap; color: var(--primary-text); font-variant-numeric: tabular-nums; }
.it-desc { color: var(--muted); font-size: .94rem; margin-top: .2rem; }
.it-note { font-size: .85rem; margin-top: .2rem; font-style: italic; color: var(--muted); }
.it-img { width: 4.5rem; height: 4.5rem; object-fit: cover; border-radius: .6rem; flex: none; background: var(--surface); }
.it-ph { display: grid; place-items: center; font-size: 2.5rem; font-weight: 700; background: color-mix(in oklab, var(--primary) 22%, var(--surface)); color: var(--primary-text); }
.it-tags { display: flex; flex-wrap: wrap; gap: .3rem; list-style: none; margin-top: .45rem; }
.it-tags li { font-size: .75rem; font-weight: 600; padding: .1rem .5rem; border-radius: 99px; border: 1px solid var(--line); color: var(--text); line-height: 1.5; }
.it-off { display: inline-block; align-self: flex-start; margin-top: .4rem; font-size: .78rem; font-weight: 700; padding: .1rem .55rem; border-radius: 4px; background: var(--text); color: var(--bg); }
.is-off .it-name, .is-off .it-desc, .is-off .it-price, .is-off .it-img { opacity: .55; }
.is-off .it-price { text-decoration: line-through; }
.none { text-align: center; color: var(--muted); padding: 2rem 0; }

.foot { border-top: 1px solid var(--line); padding: 1.5rem 0 2.5rem; text-align: center; color: var(--muted); font-size: .9rem; display: grid; gap: .3rem; }
.foot .made { font-size: .78rem; margin-top: .75rem; }
.foot .made a { color: inherit; }

/* ══ Clásico: carta centrada con líneas punteadas ══ */
.t-clasico .head { border-bottom: 3px double var(--line); margin-bottom: .5rem; }
.t-clasico .head h1 { font-size: 2.3rem; font-weight: 500; letter-spacing: .01em; }
.t-clasico .sec > h2 { text-align: center; font-weight: 500; font-size: 1.5rem; font-variant-caps: small-caps; letter-spacing: .08em; }
.t-clasico .sec > h2::after { content: ''; display: block; width: 3rem; height: 2px; background: var(--primary-text); margin: .5rem auto 0; }
.t-clasico .sec > .sec-note { text-align: center; font-style: italic; margin-top: .4rem; }
.t-clasico .it-dots { display: block; }
.t-clasico .it-price { margin-left: 0; }
.t-clasico .it-img { order: 2; width: 3.75rem; height: 3.75rem; border-radius: 50%; }
.t-clasico .it-desc { font-style: italic; }

/* ══ Moderno: tarjetas en cuadrícula ══ */
.t-moderno .wrap { width: min(60rem, 100% - 2rem); }
.t-moderno .head { text-align: left; }
.t-moderno .head.has-logo { display: grid; grid-template-columns: auto 1fr; gap: 0 1rem; align-items: center; }
.t-moderno .head .logo { margin: 0; grid-row: span 3; width: 4.5rem; height: 4.5rem; }
.t-moderno .head h1 { font-weight: 750; }
.t-moderno .sec > h2 { color: var(--text); font-weight: 750; font-size: 1.5rem; }
.t-moderno .items { grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr)); }
.t-moderno .it { flex-direction: column; gap: 0; background: var(--surface); border-radius: 1rem; overflow: hidden; border: 1px solid var(--line); }
.t-moderno .it-img { width: 100%; height: auto; aspect-ratio: 16 / 10; border-radius: 0; }
.t-moderno .it-body { padding: .9rem 1rem 1rem; display: flex; flex-direction: column; }
.t-moderno .it-top { flex-direction: column; gap: .15rem; }
.t-moderno .it-price { margin: .6rem 0 0; order: 9; background: var(--primary); color: var(--on-primary); padding: .15rem .7rem; border-radius: 99px; align-self: flex-start; }

/* ══ Bistró de noche: dos columnas, serif ══ */
.t-bistro .wrap { width: min(60rem, 100% - 2.5rem); }
.t-bistro .head h1 { font-weight: 400; font-size: 2.5rem; font-style: italic; }
.t-bistro .head .tagline { letter-spacing: .04em; }
.t-bistro .sec > h2 { font-weight: 400; font-style: italic; font-size: 1.7rem; display: flex; align-items: center; gap: 1rem; }
.t-bistro .sec > h2::after { content: ''; flex: 1; height: 1px; background: var(--primary-text); opacity: .5; }
.t-bistro .items { gap: 1.25rem 3rem; }
@media (min-width: 46rem) { .t-bistro .items { grid-template-columns: 1fr 1fr; } }
.t-bistro .it-name { font-weight: 500; font-size: 1.12rem; }
.t-bistro .it-img { border-radius: 2px; }

/* ══ Cafetería: filas redondeadas con miniatura ══ */
.t-cafe .head h1 { font-weight: 800; }
.t-cafe .head .logo { border-radius: 50%; }
.t-cafe .sec > h2 { display: inline-block; background: var(--primary); color: var(--on-primary); padding: .3rem 1rem; border-radius: 99px; font-size: 1.1rem; font-weight: 800; }
.t-cafe .sec > .sec-note { margin-top: .5rem; }
.t-cafe .items { gap: .65rem; }
.t-cafe .it { background: var(--surface); border-radius: 1.25rem; padding: .8rem; align-items: center; box-shadow: 0 1px 0 var(--line); }
.t-cafe .it-img { border-radius: 1rem; width: 5rem; height: 5rem; }
.t-cafe .it-name { font-weight: 800; }
.t-cafe .it-price { font-weight: 800; }

/* ══ Minimal: mucho aire, texto grande ══ */
.t-minimal .head { text-align: left; padding-top: 2rem; }
.t-minimal .head .logo { margin-left: 0; width: 4rem; height: 4rem; border-radius: 0; }
.t-minimal .head h1 { font-size: 2.8rem; font-weight: 700; letter-spacing: -.04em; }
.t-minimal .sec { margin-bottom: 3rem; }
.t-minimal .sec > h2 { font-size: 2rem; font-weight: 300; letter-spacing: -.03em; color: var(--text); }
.t-minimal .items { gap: 0; }
.t-minimal .it { padding: 1rem 0; border-bottom: 1px solid var(--line); }
.t-minimal .it-name { font-size: 1.15rem; font-weight: 600; }
.t-minimal .it-img { order: 2; border-radius: 0; }
.t-minimal .it-tags li { border-radius: 0; }
.t-minimal .nav a { border-radius: 0; }

/* ══ Galería: fotos grandes ══ */
.t-galeria .wrap { width: min(62rem, 100% - 2rem); }
.t-galeria .head h1 { font-weight: 750; font-size: 2.4rem; letter-spacing: -.03em; }
.t-galeria .sec > h2 { font-weight: 750; font-size: 1.6rem; }
.t-galeria .items { grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr)); gap: 1.25rem; }
.t-galeria .it { flex-direction: column; gap: 0; background: var(--surface); border-radius: 1.25rem; overflow: hidden; }
.t-galeria .it-img { width: 100%; height: auto; aspect-ratio: 4 / 3; border-radius: 0; }
.t-galeria .it-body { padding: 1rem 1.1rem 1.2rem; }
.t-galeria .it-name { font-size: 1.2rem; font-weight: 700; }
.t-galeria .it-price { font-size: 1.15rem; }

/* ══ Fonda: bloques de color y precios grandes ══ */
.t-taqueria .wrap { width: min(56rem, 100% - 2rem); }
.t-taqueria .head { background: var(--primary); color: var(--on-primary); margin: 0 calc(50% - 50vw) 0; padding: 2rem 1rem 1.75rem; }
.t-taqueria .head h1 { font-weight: 800; font-size: 2.5rem; letter-spacing: -.03em; }
.t-taqueria .head .tagline, .t-taqueria .head .hours { color: inherit; opacity: .92; }
.t-taqueria .head .logo { background: #fff; padding: .35rem; }
.t-taqueria .sec > h2 { background: var(--text); color: var(--bg); padding: .5rem .9rem; font-weight: 800; font-size: 1.2rem; display: inline-block; transform: rotate(-1.2deg); }
.t-taqueria .sec > .sec-note { margin-top: .6rem; }
.t-taqueria .items { grid-template-columns: repeat(auto-fill, minmax(min(100%, 20rem), 1fr)); gap: .75rem; }
.t-taqueria .it { border: 2px dashed var(--line); border-radius: .5rem; padding: .8rem; background: var(--surface); }
.t-taqueria .it-name { font-weight: 800; font-size: 1.1rem; }
.t-taqueria .it-price { background: var(--primary); color: var(--on-primary); padding: .1rem .6rem; border-radius: .35rem; font-size: 1.1rem; font-weight: 800; }
.t-taqueria .tools { position: relative; z-index: 2; }
:root[data-contrast='high'] .t-taqueria .head, :root[data-contrast='high'].t-taqueria .head { border-bottom: 3px solid var(--line); }

/* En alto contraste las tarjetas llevan borde visible */
:root[data-contrast='high'] .it { border-color: var(--line); }
:root[data-contrast='high'] .t-cafe .it, :root[data-contrast='high'] .t-galeria .it, :root[data-contrast='high'] .t-moderno .it,
:root[data-contrast='high'].t-cafe .it, :root[data-contrast='high'].t-galeria .it, :root[data-contrast='high'].t-moderno .it { border: 2px solid var(--line); box-shadow: none; }

/* ════════════════════════════════════════════════════════════════════════
   PLANTILLAS TIPO CARTA IMPRESA
   El menú se dibuja como una hoja (.sheet) sobre un fondo. Aquí --bg es el
   papel y --surface lo que lo rodea (mesa, pared, barra).
   ════════════════════════════════════════════════════════════════════════ */
@font-face { font-family: 'Playfair Display'; src: url('../fonts/playfair-display-latin-wght-normal.woff2') format('woff2'); font-weight: 400 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Playfair Display'; src: url('../fonts/playfair-display-latin-wght-italic.woff2') format('woff2'); font-weight: 400 900; font-style: italic; font-display: swap; }
@font-face { font-family: 'Josefin Sans'; src: url('../fonts/josefin-sans-latin-wght-normal.woff2') format('woff2'); font-weight: 100 700; font-display: swap; }
@font-face { font-family: 'Oswald'; src: url('../fonts/oswald-latin-wght-normal.woff2') format('woff2'); font-weight: 200 700; font-display: swap; }
@font-face { font-family: 'Caveat'; src: url('../fonts/caveat-latin-wght-normal.woff2') format('woff2'); font-weight: 400 700; font-display: swap; }
@font-face { font-family: 'Pacifico'; src: url('../fonts/pacifico-latin-400-normal.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Special Elite'; src: url('../fonts/special-elite-latin-400-normal.woff2') format('woff2'); font-weight: 400; font-display: swap; }

.head h1, .sec > h2 { font-family: var(--font-display); }

.is-paper body { background: var(--surface); }
.is-paper .tools button { background: var(--bg); color: var(--text); border-color: color-mix(in srgb, var(--text) 30%, transparent); }
:root[data-contrast='high'].is-paper .tools button { border-color: var(--line); }
.is-paper .tools button[aria-pressed='true'] { background: var(--text); color: var(--bg); }
.is-paper .sheet { position: relative; width: min(44rem, 100% - 1.25rem); margin: 0 auto 2rem; background: var(--bg); box-shadow: 0 .6rem 2.2rem rgb(0 0 0 / .32); overflow: hidden; }
.is-paper .sheet::before, .is-paper .sheet::after { pointer-events: none; }
.is-paper .sheet > .wrap { width: auto; margin-inline: clamp(1.1rem, 5vw, 2.75rem); }
.is-paper .nav { position: static; background: none; backdrop-filter: none; border: 0; }
.is-paper .nav ul { flex-wrap: wrap; justify-content: center; padding: 0 clamp(1.1rem, 5vw, 2.75rem); gap: 0 .15rem; max-width: none; }
.is-paper .nav a { min-height: 2.75rem; font-weight: 500; text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: .3em; border-radius: 4px; }
.is-paper .nav a:hover { background: none; text-decoration-color: currentColor; }
.is-paper .menu { padding-top: 1.5rem; }
.is-paper .find, .is-paper .none { column-span: all; }
.is-paper .sec { break-inside: avoid; }
.is-paper .foot { border-top: 0; position: relative; }
:root[data-contrast='high'].is-paper .sheet { box-shadow: none; border: 2px solid var(--line); }

/* En pantallas anchas (tableta, computadora) estas cartas se abren a dos columnas, como una carta desplegada */
@media (min-width: 58rem) {
  :is(.t-carta, .t-deco, .t-pizarra, .t-cantina, .t-trattoria, .t-diner, .t-asador, .t-marisqueria) .sheet { width: min(64rem, 100% - 2rem); }
  :is(.t-carta, .t-deco, .t-pizarra, .t-cantina, .t-trattoria, .t-diner, .t-asador, .t-marisqueria) .menu { columns: 2; column-gap: 3.5rem; }
}

/* ══ Carta de restaurante: doble marco, todo centrado ══ */
.t-carta .sheet > .wrap, .t-deco .sheet > .wrap { margin-inline: clamp(1.6rem, 6.5vw, 3.25rem); }
.t-carta .nav ul, .t-deco .nav ul { padding-inline: clamp(1.6rem, 6.5vw, 3.25rem); }
.t-carta .sheet { padding: 1.4rem 0 1rem; }
.t-carta .sheet::before { content: ''; position: absolute; inset: .55rem; border: 3px double var(--primary-text); }
.t-carta .head { padding-top: 1.75rem; }
.t-carta .head h1 { font-weight: 500; font-size: 2rem; text-transform: uppercase; letter-spacing: .14em; margin-right: -.14em; }
.t-carta .head h1::after, .t-carta .sec > h2::after { content: ''; display: block; height: .75rem; width: 9rem; margin: .9rem auto 0; background: var(--primary-text); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 12' %3E%3Cpath d='M0 6h46M74 6h46' stroke='black' stroke-width='1' fill='none'/%3E%3Cpath d='M60 1l5 5-5 5-5-5z'/%3E%3C/svg%3E") center / 100% 100% no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 12' %3E%3Cpath d='M0 6h46M74 6h46' stroke='black' stroke-width='1' fill='none'/%3E%3Cpath d='M60 1l5 5-5 5-5-5z'/%3E%3C/svg%3E") center / 100% 100% no-repeat; }
.t-carta .head .tagline { font-style: italic; }
.t-carta .sec { text-align: center; margin-bottom: 2.6rem; }
.t-carta .sec > h2 { font-style: italic; font-weight: 500; font-size: 1.8rem; }
.t-carta .sec > h2::after { width: 6rem; margin-top: .45rem; }
.t-carta .sec > .sec-note { font-style: italic; margin-top: .5rem; }
.t-carta .items { gap: 1.4rem; margin-top: 1.4rem; }
.t-carta .it { flex-direction: column; align-items: center; gap: .45rem; }
.t-carta .it-top { flex-direction: column; align-items: center; gap: .1rem; }
.t-carta .it-name { font-variant-caps: small-caps; letter-spacing: .07em; font-weight: 600; font-size: 1.15rem; }
.t-carta .it-price { margin: 0; font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: 1.08rem; }
.t-carta .it-desc { font-style: italic; max-width: 30rem; margin-inline: auto; }
.t-carta .it-tags { justify-content: center; }
.t-carta .it-img { width: 5rem; height: 5rem; border-radius: 50%; }

/* ══ Bar Art Déco: negro, dorado y geometría ══ */
.t-deco .sheet { padding: 1.6rem 0 1rem; }
.t-deco .sheet::before, .t-deco .sheet::after { content: ''; position: absolute; inset: .5rem; border: 1px solid var(--primary-text); }
.t-deco .sheet::after { inset: .85rem; opacity: .5; }
.t-deco .head { padding-top: 2rem; }
.t-deco .head::before { content: ''; display: block; width: 7.5rem; height: 3.75rem; margin: 0 auto 1.2rem; border-radius: 7.5rem 7.5rem 0 0; background: repeating-conic-gradient(from -90deg at 50% 100%, var(--primary-text) 0 3deg, transparent 3deg 10deg); }
.t-deco .head h1 { text-transform: uppercase; letter-spacing: .26em; margin-right: -.26em; font-weight: 300; font-size: 1.85rem; line-height: 1.25; }
.t-deco .head .tagline { text-transform: uppercase; letter-spacing: .16em; font-size: .78rem; margin-top: .8rem; }
.t-deco .nav a { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; text-decoration: none; }
.t-deco .sec > h2 { text-transform: uppercase; letter-spacing: .3em; font-weight: 400; font-size: 1.1rem; display: flex; align-items: center; gap: .8rem; text-align: center; }
.t-deco .sec > h2::before, .t-deco .sec > h2::after { content: ''; flex: 1; min-width: 1.5rem; height: .45rem; border-block: 1px solid var(--primary-text); }
.t-deco .sec > .sec-note { text-align: center; margin-top: .5rem; }
.t-deco .items { gap: 1.15rem; }
.t-deco .it-name { text-transform: uppercase; letter-spacing: .12em; font-size: .95rem; font-weight: 600; }
.t-deco .it-dots { display: block; border-bottom: 1px solid var(--primary-text); opacity: .55; }
.t-deco .it-price { margin-left: 0; font-weight: 400; letter-spacing: .06em; }
.t-deco .it-img { border-radius: 0; border: 1px solid var(--primary-text); }
.t-deco .it-tags li { border-radius: 0; text-transform: uppercase; letter-spacing: .08em; font-size: .68rem; }

/* ══ Pizarra: pizarrón con marco de madera y letra de gis ══ */
.t-pizarra body { background: color-mix(in oklab, var(--surface) 42%, black); }
.t-pizarra .sheet { border: .85rem solid var(--surface); border-radius: .35rem; box-shadow: inset 0 0 3rem rgb(0 0 0 / .4), 0 .6rem 2rem rgb(0 0 0 / .5);
  background: radial-gradient(ellipse at 25% 15%, rgb(255 255 255 / .07), transparent 60%), radial-gradient(ellipse at 80% 75%, rgb(255 255 255 / .05), transparent 55%), var(--bg); }
.t-pizarra .head { padding-top: 1.5rem; }
.t-pizarra .head h1 { font-size: 3.1rem; font-weight: 700; line-height: 1; transform: rotate(-2deg); }
.t-pizarra .head h1::after, .t-marisqueria .sec > h2::after { content: ''; display: block; height: .6rem; width: 8rem; margin: .55rem auto 0; background: var(--primary-text); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 10' preserveAspectRatio='none'%3E%3Cpath d='M0 5q5-7 10 0t10 0 10 0 10 0' fill='none' stroke='black' stroke-width='2'/%3E%3C/svg%3E") 0 0 / 2.4rem 100% repeat-x; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 10' preserveAspectRatio='none'%3E%3Cpath d='M0 5q5-7 10 0t10 0 10 0 10 0' fill='none' stroke='black' stroke-width='2'/%3E%3C/svg%3E") 0 0 / 2.4rem 100% repeat-x; }
.t-pizarra .head .tagline { margin-top: .9rem; }
.t-pizarra .nav a { font-family: var(--font-display); font-size: 1.35rem; text-decoration: none; }
.t-pizarra .sec > h2 { font-size: 2.2rem; font-weight: 700; line-height: 1.1; text-decoration: underline wavy; text-decoration-thickness: 1.5px; text-underline-offset: .28em; margin-bottom: .7rem; }
.t-pizarra .items { gap: 1.1rem; }
.t-pizarra .it-name, .t-pizarra .it-price { font-family: var(--font-display); font-size: 1.55rem; font-weight: 600; line-height: 1.1; }
.t-pizarra .it-dots { display: block; border-bottom: 2px dashed var(--line); }
.t-pizarra .it-price { margin-left: 0; }
.t-pizarra .it-tags li { border-style: dashed; }

/* ══ Cantina: papel picado, listones y letras de cartel ══ */
.t-cantina .sheet { padding-top: 3.4rem; border-bottom: .6rem solid var(--primary); }
.t-cantina .sheet::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 2.9rem;
  background: repeating-linear-gradient(90deg, #E63946 0 3.6rem, #F4A300 0 7.2rem, #1B9AAA 0 10.8rem, #8338EC 0 14.4rem, #F15BB5 0 18rem, #3A9D23 0 21.6rem);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 46' preserveAspectRatio='none'%3E%3Cpath fill-rule='evenodd' d='M3 0h54v26q-9 2-9 10-9-1-9 8-9-1-9-8-9-1-9 8 0-8-9-10-0-8-9-10zM30 7l5 5-5 5-5-5zM15 8a3 3 0 1 0 .01 0zM45 8a3 3 0 1 0 .01 0zM22 22a2.5 2.5 0 1 0 .01 0zM38 22a2.5 2.5 0 1 0 .01 0z'/%3E%3C/svg%3E") 0 0 / 3.6rem 100% repeat-x; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 46' preserveAspectRatio='none'%3E%3Cpath fill-rule='evenodd' d='M3 0h54v26q-9 2-9 10-9-1-9 8-9-1-9-8-9-1-9 8 0-8-9-10-0-8-9-10zM30 7l5 5-5 5-5-5zM15 8a3 3 0 1 0 .01 0zM45 8a3 3 0 1 0 .01 0zM22 22a2.5 2.5 0 1 0 .01 0zM38 22a2.5 2.5 0 1 0 .01 0z'/%3E%3C/svg%3E") 0 0 / 3.6rem 100% repeat-x; }
.t-cantina .sheet::after { content: ''; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--text); }
.t-cantina .head h1 { text-transform: uppercase; font-weight: 700; font-size: 2.7rem; line-height: 1; letter-spacing: .01em; }
.t-cantina .head h1::after { content: ''; display: block; width: 5rem; height: .35rem; background: var(--primary); margin: .75rem auto 0; }
.t-cantina .nav a { font-family: var(--font-display); text-transform: uppercase; letter-spacing: .08em; }
.t-cantina .sec > h2 { width: fit-content; max-width: 100%; margin-inline: auto; background: var(--primary); color: var(--on-primary); text-transform: uppercase; font-weight: 600; letter-spacing: .08em; font-size: 1.25rem; padding: .35rem 2.3rem;
  clip-path: polygon(0 0, 100% 0, calc(100% - .9rem) 50%, 100% 100%, 0 100%, .9rem 50%); }
.t-cantina .sec > .sec-note { text-align: center; margin-top: .55rem; }
.t-cantina .items { gap: 0; margin-top: .5rem; }
.t-cantina .it { padding: .85rem 0; border-bottom: 2px dotted var(--line); }
.t-cantina .it:last-child { border-bottom: 0; }
.t-cantina .it-name { font-weight: 800; }
.t-cantina .it-price { font-family: var(--font-display); font-size: 1.4rem; font-weight: 600; line-height: 1.1; }

/* ══ Bar de noche: letrero de neón ══ */
.t-neon .sheet { --neon2: #6EF3FF; border: 2px solid var(--primary); border-radius: 1.4rem; padding-top: .75rem;
  box-shadow: 0 0 1.2rem color-mix(in srgb, var(--primary) 70%, transparent), inset 0 0 1.8rem color-mix(in srgb, var(--primary) 26%, transparent); }
.t-neon .head h1 { font-size: 2.7rem; font-weight: 400; line-height: 1.3; color: #fff; text-shadow: 0 0 .12em #fff, 0 0 .4em var(--primary), 0 0 .9em var(--primary); }
.t-neon .nav a { text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; text-decoration: none; }
.t-neon .sec { text-align: center; }
.t-neon .sec > h2 { display: inline-block; font-family: var(--font); text-transform: uppercase; letter-spacing: .22em; margin-right: -.22em; font-weight: 700; font-size: 1rem; color: var(--neon2);
  text-shadow: 0 0 .6em var(--neon2); border: 1.5px solid var(--neon2); border-radius: 99px; padding: .45rem 1.2rem;
  box-shadow: 0 0 .7rem color-mix(in srgb, var(--neon2) 55%, transparent), inset 0 0 .5rem color-mix(in srgb, var(--neon2) 35%, transparent); }
.t-neon .sec > .sec-note { margin-top: .6rem; }
.t-neon .items { gap: 0; margin-top: .5rem; text-align: left; }
.t-neon .it { padding: .9rem 0; border-bottom: 1px solid var(--line); }
.t-neon .it:last-child { border-bottom: 0; }
.t-neon .it-name { font-weight: 700; }
.t-neon .it-img { border-radius: .8rem; }
:root[data-shade='light'].t-neon .sheet, :root[data-contrast='high'].t-neon .sheet { box-shadow: 0 .6rem 2.2rem rgb(0 0 0 / .2); --neon2: var(--text); }
:root[data-shade='light'].t-neon .head h1, :root[data-contrast='high'].t-neon .head h1 { color: var(--primary-text); text-shadow: none; }
:root[data-shade='light'].t-neon .sec > h2, :root[data-contrast='high'].t-neon .sec > h2 { text-shadow: none; box-shadow: none; }

/* ══ Trattoria: mantel de cuadros y etiqueta al centro ══ */
.t-trattoria .sheet { border-top: .5rem solid; border-image: linear-gradient(90deg, #1E8A4C 0 33.33%, #FFFFFF 0 66.66%, #C8102E 0) 1; }
.t-trattoria .sheet > .wrap:first-child { margin: 0; padding: 1.9rem 1.1rem;
  background: linear-gradient(90deg, color-mix(in srgb, var(--primary) 36%, transparent) 50%, transparent 0) 0 0 / 1.7rem 1.7rem,
              linear-gradient(color-mix(in srgb, var(--primary) 36%, transparent) 50%, transparent 0) 0 0 / 1.7rem 1.7rem, var(--bg); }
.t-trattoria .head { background: var(--bg); border: 2px solid var(--text); outline: 1px solid var(--text); outline-offset: -.4rem; padding: 1.7rem 1.1rem; max-width: 27rem; margin: 0 auto; }
.t-trattoria .head h1 { font-style: italic; font-weight: 700; font-size: 2.2rem; }
.t-trattoria .sec > h2 { font-style: italic; font-weight: 700; font-size: 1.75rem; border-bottom: 2px solid var(--primary-text); padding-bottom: .25rem; }
.t-trattoria .sec > .sec-note { font-style: italic; margin-top: .5rem; }
.t-trattoria .it-dots { display: block; }
.t-trattoria .it-price { margin-left: 0; }
.t-trattoria .it-desc { font-style: italic; }

/* ══ Diner: tablero de ajedrez, rótulo inclinado y precios en círculo ══ */
.t-diner .sheet { padding-block: 1.5rem; }
.t-diner .sheet::before, .t-diner .sheet::after { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 1.5rem;
  background: conic-gradient(var(--text) 25%, transparent 0 50%, var(--text) 0 75%, transparent 0) 0 0 / 1.5rem 1.5rem; }
.t-diner .sheet::after { top: auto; bottom: 0; }
.t-diner .head { padding-top: 1.7rem; }
.t-diner .head h1 { color: var(--primary-text); font-weight: 400; font-size: 2.7rem; line-height: 1.35; transform: rotate(-4deg); text-shadow: .06em .06em 0 color-mix(in srgb, var(--text) 85%, transparent); margin-bottom: .5rem; }
.t-diner .head .tagline { text-transform: uppercase; letter-spacing: .14em; font-weight: 800; font-size: .8rem; color: var(--text); }
.t-diner .nav a { font-weight: 800; text-transform: uppercase; letter-spacing: .08em; font-size: .82rem; }
.t-diner .sec > h2 { font-family: var(--font); background: var(--primary); color: var(--on-primary); text-transform: uppercase; letter-spacing: .14em; font-weight: 900; font-size: 1.02rem; text-align: center; padding: .5rem 1rem; border-radius: 99px; border: 3px solid var(--text); box-shadow: .25rem .25rem 0 var(--text); margin-right: .25rem; }
.t-diner .sec > .sec-note { text-align: center; margin-top: .8rem; }
.t-diner .items { gap: .7rem; }
.t-diner .it { position: relative; align-items: center; border: 2px solid var(--text); border-radius: 1rem; padding: .75rem 4.7rem .75rem .85rem; min-height: 4.9rem; }
.t-diner .it-name { font-weight: 900; }
.t-diner .it-price { position: absolute; right: .6rem; top: 50%; transform: translateY(-50%); margin: 0; background: var(--primary); color: var(--on-primary); border: 2px solid var(--text); border-radius: 50%; width: 3.6rem; height: 3.6rem; display: grid; place-items: center; font-weight: 900; font-size: .9rem; }
.t-diner .is-off .it-price { text-decoration: none; }

/* ══ Asador: negro carbón y letras condensadas ══ */
.t-asador .sheet { border: 2px solid var(--text); outline: 1px solid var(--text); outline-offset: -.5rem; padding: .9rem 0; }
.t-asador .head { text-align: left; padding-top: 1.5rem; }
.t-asador .head .logo { margin-left: 0; }
.t-asador .head h1 { text-transform: uppercase; font-weight: 700; font-size: 3.2rem; line-height: .98; border-block: .3rem solid var(--text); padding: .55rem 0 .65rem; text-wrap: balance; }
.t-asador .head .tagline { text-transform: uppercase; letter-spacing: .18em; font-size: .8rem; font-weight: 700; color: var(--primary-text); margin-top: .85rem; }
.t-asador .nav ul { justify-content: flex-start; }
.t-asador .nav a { font-family: var(--font-display); text-transform: uppercase; letter-spacing: .08em; padding-inline: 0 1.1rem; }
.t-asador .sec > h2 { text-transform: uppercase; font-weight: 700; font-size: 2.1rem; line-height: 1; color: var(--text); }
.t-asador .sec > h2::after { content: ''; display: block; width: 3.5rem; height: .4rem; background: var(--primary); margin-top: .5rem; }
.t-asador .sec > .sec-note { margin-top: .5rem; }
.t-asador .items { gap: 0; margin-top: .4rem; }
.t-asador .it { padding: .85rem 0; border-bottom: 1px solid var(--line); }
.t-asador .it-name { font-family: var(--font-display); text-transform: uppercase; letter-spacing: .05em; font-weight: 500; font-size: 1.2rem; }
.t-asador .it-price { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; line-height: 1; }
.t-asador .it-img { border-radius: 0; }
.t-asador .it-tags li { border-radius: 0; }

/* ══ Kraft: papel estraza, sellos y máquina de escribir ══ */
:root.t-kraft:not([data-contrast]) { --muted: color-mix(in oklab, var(--text) 88%, var(--bg)); --line: color-mix(in oklab, var(--text) 40%, var(--bg)); }
.t-kraft .sheet { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .16 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); padding: .6rem 0; }
.t-kraft .head { border: 3px solid var(--text); outline: 1px solid var(--text); outline-offset: -.45rem; padding: 1.7rem 1rem; margin-top: 1.2rem; }
.t-kraft .head h1 { text-transform: uppercase; font-weight: 700; font-size: 2.4rem; letter-spacing: .06em; line-height: 1.02; }
.t-kraft .head .tagline { color: var(--text); margin-top: .7rem; }
.t-kraft .nav a { text-transform: uppercase; font-size: .88rem; }
.t-kraft .sec > h2 { display: inline-block; text-transform: uppercase; font-weight: 600; letter-spacing: .14em; font-size: 1.2rem; border: 2px solid var(--primary-text); border-radius: 3px; padding: .25rem .8rem; transform: rotate(-1.5deg); }
.t-kraft .sec > .sec-note { margin-top: .6rem; }
.t-kraft .items { gap: 0; margin-top: .4rem; }
.t-kraft .it { padding: .85rem 0; border-bottom: 1.5px dashed var(--line); }
.t-kraft .it-name { text-transform: uppercase; font-size: 1rem; letter-spacing: .03em; font-weight: 400; }
.t-kraft .it-price { color: var(--text); font-weight: 400; }
.t-kraft .it-tags li { border-color: var(--text); border-radius: 2px; }
.t-kraft .it-img { filter: grayscale(1) contrast(1.1); border-radius: 2px; }

/* ══ Sushi bar: sol rojo, franja negra y platillos numerados ══ */
.t-sushi .sheet { border-left: .8rem solid var(--text); }
.t-sushi .head { text-align: left; position: relative; isolation: isolate; padding: 3rem 0 2.2rem; }
.t-sushi .head::before { content: ''; position: absolute; z-index: -1; width: 8.5rem; aspect-ratio: 1; border-radius: 50%; background: var(--primary); right: -1.2rem; top: 1rem; }
.t-sushi .head .logo { margin-left: 0; }
.t-sushi .head h1 { text-transform: uppercase; letter-spacing: .2em; font-weight: 300; font-size: 1.8rem; line-height: 1.3; max-width: 72%; text-wrap: wrap; }
.t-sushi .head .tagline, .t-sushi .head .hours { max-width: 66%; }
.t-sushi .nav ul { justify-content: flex-start; }
.t-sushi .nav a { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; padding-inline: 0 1.2rem; text-decoration: none; }
.t-sushi .menu { counter-reset: plato; }
.t-sushi .sec > h2 { text-transform: uppercase; letter-spacing: .24em; font-weight: 600; font-size: 1rem; color: var(--text); border-left: .3rem solid var(--primary); padding-left: .7rem; }
.t-sushi .sec > .sec-note { margin-top: .5rem; }
.t-sushi .items { gap: 0; margin-top: .5rem; }
.t-sushi .it { counter-increment: plato; padding: .95rem 0; border-bottom: 1px solid var(--line); }
.t-sushi .it::before { content: counter(plato, decimal-leading-zero); order: -1; min-width: 1.9rem; font-weight: 600; color: var(--primary-text); font-variant-numeric: tabular-nums; }
.t-sushi .it-name { font-weight: 600; letter-spacing: .03em; }
.t-sushi .it-price { color: var(--text); font-weight: 400; }
.t-sushi .it-img { order: 3; border-radius: 0; }
.t-sushi .it-tags li { border-radius: 0; }

/* ══ Marisquería: rayas marineras y olas ══ */
.t-marisqueria .sheet { border-bottom: .6rem solid var(--surface); }
.t-marisqueria .sheet > .wrap:first-child { margin: 0; padding: 1.7rem 1.1rem; background: repeating-linear-gradient(180deg, var(--surface) 0 .9rem, var(--bg) 0 1.8rem); }
.t-marisqueria .head { background: var(--bg); border: 2px dashed var(--primary-text); border-radius: 1rem; padding: 1.6rem 1rem; max-width: 27rem; margin: 0 auto; box-shadow: 0 0 0 .4rem var(--bg); }
.t-marisqueria .head h1 { text-transform: uppercase; letter-spacing: .08em; font-weight: 600; font-size: 2.2rem; line-height: 1.08; }
.t-marisqueria .nav a { font-family: var(--font-display); text-transform: uppercase; letter-spacing: .1em; }
.t-marisqueria .sec > h2 { text-align: center; text-transform: uppercase; letter-spacing: .16em; margin-right: -.16em; font-weight: 500; font-size: 1.45rem; }
.t-marisqueria .sec > h2::after { width: 7.2rem; height: .55rem; margin-top: .4rem; }
.t-marisqueria .sec > .sec-note { text-align: center; margin-top: .5rem; }
.t-marisqueria .it-dots { display: block; }
.t-marisqueria .it-price { margin-left: 0; }

/* ══ Brunch: arco y bloques pastel ══ */
.t-brunch .sheet { border-radius: 50% 50% 1.5rem 1.5rem / 9rem 9rem 1.5rem 1.5rem; box-shadow: none; }
.t-brunch .head { padding-top: 4.2rem; }
.t-brunch .head h1 { font-weight: 300; font-size: 2.5rem; letter-spacing: -.02em; }
.t-brunch .nav a { text-decoration: none; border: 1.5px solid var(--line); border-radius: 99px; padding: 0 .9rem; min-height: 2.4rem; margin: .15rem; }
.t-brunch .sec { border-radius: 1.5rem; padding: 1.3rem 1.1rem 1.4rem; margin-bottom: 1rem; background: color-mix(in oklab, var(--primary) 10%, var(--bg)); }
.t-brunch .sec:nth-of-type(even) { background: color-mix(in oklab, #7FA37A 24%, var(--bg)); }
.t-brunch .sec > h2 { font-weight: 500; font-size: 1.65rem; text-align: center; }
.t-brunch .sec > .sec-note { text-align: center; }
.t-brunch .it-name { font-weight: 800; }
.t-brunch .it-price { border: 1.5px solid currentColor; border-radius: 99px; padding: 0 .6rem; font-size: .92rem; line-height: 1.6; }
.t-brunch .it-img { border-radius: 50%; }
:root[data-contrast='high'].t-brunch .sec { background: none; border: 2px solid var(--line); }

/* ════════════════════════════════════════════════════════════════════════
   PUESTOS Y COCINA DE BARRIO
   Taquería, hamburguesas, alitas, botanas, fondita, cocina económica,
   lonchería, churros, atoles, asados, bebidas y frutería.
   ════════════════════════════════════════════════════════════════════════ */
@font-face { font-family: 'Bowlby One'; src: url('../fonts/bowlby-one-latin-400-normal.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Lilita One'; src: url('../fonts/lilita-one-latin-400-normal.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Bangers'; src: url('../fonts/bangers-latin-400-normal.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Rye'; src: url('../fonts/rye-latin-400-normal.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Permanent Marker'; src: url('../fonts/permanent-marker-latin-400-normal.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Baloo 2'; src: url('../fonts/baloo-2-latin-wght-normal.woff2') format('woff2'); font-weight: 400 800; font-display: swap; }

@media (min-width: 58rem) {
  :is(.t-taquero, .t-alitas, .t-fondita, .t-churros, .t-ranchero, .t-comanda, .t-atole) .sheet { width: min(64rem, 100% - 2rem); }
  :is(.t-taquero, .t-alitas, .t-fondita, .t-churros, .t-ranchero, .t-comanda, .t-atole) .menu { columns: 2; column-gap: 3.5rem; }
  :is(.t-burger, .t-botanas, .t-bebidas, .t-fruteria, .t-cartulina) .sheet { width: min(64rem, 100% - 2rem); }
  :is(.t-burger, .t-botanas, .t-bebidas) .items { grid-template-columns: 1fr 1fr; }
  :is(.t-cartulina, .t-fruteria) .menu { columns: 2; column-gap: 2rem; }
}

/* ══ Taquería: rótulo amarillo, letras rojas con sombra azul y grecas ══ */
.t-taquero .sheet { border: .45rem solid var(--primary); padding-block: 1.5rem; }
.t-taquero .sheet::before, .t-taquero .sheet::after { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 1rem; background: conic-gradient(from 135deg at 50% 0, var(--text) 90deg, transparent 0) 0 0 / 1.4rem 100%; }
.t-taquero .sheet::after { top: auto; bottom: 0; transform: scaleY(-1); }
.t-taquero .head { padding-top: 1.4rem; }
.t-taquero .head h1 { text-transform: uppercase; font-size: 2.5rem; line-height: 1.05; color: var(--primary); text-shadow: .045em .045em 0 #fff, .1em .1em 0 var(--surface); padding-bottom: .15em; }
.t-taquero .head .tagline { display: inline-block; background: var(--text); color: var(--bg); font-weight: 800; text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; padding: .3rem .9rem; border-radius: 99px; margin-top: .8rem; }
.t-taquero .head .hours { color: var(--text); font-weight: 700; }
.t-taquero .nav a { font-weight: 800; text-transform: uppercase; font-size: .85rem; text-decoration-color: var(--text); }
.t-taquero .sec > h2 { background: var(--primary); color: var(--on-primary); text-transform: uppercase; font-size: 1.3rem; line-height: 1.15; padding: .5rem .9rem .45rem; box-shadow: .3rem .3rem 0 var(--text); margin-right: .3rem; text-align: center; }
.t-taquero .sec > .sec-note { margin-top: .8rem; font-weight: 700; color: var(--text); text-align: center; }
.t-taquero .items { gap: .95rem; }
.t-taquero .it-name { font-weight: 900; text-transform: uppercase; font-size: 1.02rem; }
.t-taquero .it-dots { display: block; border-bottom: 3px dotted var(--text); opacity: .55; }
.t-taquero .it-price { margin-left: 0; font-family: var(--font-display); font-size: 1.3rem; line-height: 1; color: var(--text); }
.t-taquero .it-desc { color: var(--text); opacity: .85; }
.t-taquero .it-tags li { border-color: var(--text); }
:root[data-contrast='high'].t-taquero .head h1 { text-shadow: none; }

/* ══ Hamburguesería: negro, mostaza y letras de cómic ══ */
.t-burger .sheet { padding-top: 1.1rem; border-radius: .6rem; }
.t-burger .sheet::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 1.1rem; background: repeating-linear-gradient(-45deg, var(--primary) 0 .9rem, var(--text) 0 1.8rem); opacity: .95; }
.t-burger .head { padding-top: 1.7rem; }
.t-burger .head h1 { font-size: 3.3rem; line-height: 1; letter-spacing: .03em; color: var(--primary-text); transform: rotate(-3deg); text-shadow: .05em .05em 0 #E4002B; padding: .1em 0 .15em; }
.t-burger .head .tagline { text-transform: uppercase; letter-spacing: .14em; font-weight: 800; font-size: .8rem; margin-top: .7rem; }
.t-burger .nav a { text-transform: uppercase; font-weight: 800; font-size: .82rem; letter-spacing: .06em; text-decoration: none; }
.t-burger .sec > h2 { display: inline-block; background: var(--primary); color: var(--on-primary); font-size: 1.9rem; line-height: 1; letter-spacing: .04em; padding: .3rem 1rem .25rem; transform: skew(-7deg) rotate(-1.5deg); border-radius: .2rem; }
.t-burger .sec > .sec-note { margin-top: .7rem; }
.t-burger .items { gap: .75rem; }
.t-burger .it { border: 2px solid var(--line); border-radius: .9rem; padding: .85rem .9rem; background: color-mix(in oklab, var(--text) 5%, var(--bg)); }
.t-burger .it-name { font-family: var(--font-display); font-weight: 400; font-size: 1.45rem; letter-spacing: .03em; line-height: 1.05; }
.t-burger .it-price { font-family: var(--font-display); font-size: 1.6rem; line-height: 1; letter-spacing: .03em; }
.t-burger .it-img { border-radius: .7rem; width: 5rem; height: 5rem; }
:root[data-contrast='high'].t-burger .head h1 { text-shadow: none; }

/* ══ Alitas y boneless: cabecera en llamas y títulos inclinados ══ */
.t-alitas .sheet > .wrap:first-child { margin: 0; padding: 2.2rem 1.25rem 2.6rem; color: var(--on-primary);
  background: linear-gradient(180deg, color-mix(in oklab, var(--primary) 55%, #FFD000), var(--primary) 55%, color-mix(in oklab, var(--primary) 60%, #7A0000));
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 12' preserveAspectRatio='none'%3E%3Cpath d='M0 0h40v4q-3 2-5 6-3-7-7-5-1 4-4 5-2-6-6-7-2 5-5 7-3-5-6-4-2 3-4 4-1-4-3-6z'/%3E%3C/svg%3E") bottom / 3rem 1.1rem repeat-x, linear-gradient(#000 0 0) top / 100% calc(100% - 1.05rem) no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 12' preserveAspectRatio='none'%3E%3Cpath d='M0 0h40v4q-3 2-5 6-3-7-7-5-1 4-4 5-2-6-6-7-2 5-5 7-3-5-6-4-2 3-4 4-1-4-3-6z'/%3E%3C/svg%3E") bottom / 3rem 1.1rem repeat-x, linear-gradient(#000 0 0) top / 100% calc(100% - 1.05rem) no-repeat; }
.t-alitas .head { padding: 0; }
.t-alitas .head h1 { text-transform: uppercase; font-size: 2.5rem; line-height: 1.02; transform: skew(-6deg); }
.t-alitas .head .tagline, .t-alitas .head .hours { color: inherit; font-weight: 700; }
.t-alitas .nav a { text-transform: uppercase; font-weight: 800; font-size: .82rem; letter-spacing: .06em; text-decoration: none; }
.t-alitas .sec > h2 { display: inline-block; background: var(--primary); color: var(--on-primary); text-transform: uppercase; font-size: 1.2rem; line-height: 1.15; padding: .4rem 1.1rem .35rem; transform: skew(-9deg); }
.t-alitas .sec > .sec-note { margin-top: .7rem; }
.t-alitas .items { gap: .6rem; }
.t-alitas .it { border-left: .35rem solid var(--primary); padding: .7rem .8rem; background: color-mix(in oklab, var(--text) 6%, var(--bg)); }
.t-alitas .it-name { font-weight: 800; text-transform: uppercase; font-size: 1rem; letter-spacing: .02em; }
.t-alitas .it-price { font-family: var(--font-display); font-size: 1.3rem; line-height: 1; }
.t-alitas .it-img { border-radius: 0; }

/* ══ Snacks y botanas: puntos de cómic y etiquetas torcidas ══ */
.t-botanas .sheet > .wrap:first-child { margin: 0; padding: 2rem 1.25rem; background: radial-gradient(circle, var(--primary) 0 .2rem, transparent .22rem) 0 0 / .95rem .95rem, #FFE600; border-bottom: 4px solid var(--text); }
.t-botanas .head { background: var(--bg); border: 4px solid var(--text); border-radius: 1rem; padding: 1.4rem 1rem; max-width: 26rem; margin: 0 auto; transform: rotate(-1.5deg); box-shadow: .4rem .4rem 0 var(--primary); }
.t-botanas .head h1 { font-size: 2.5rem; line-height: 1.05; }
.t-botanas .nav a { font-weight: 800; text-decoration: none; border: 2px solid var(--text); border-radius: 99px; padding: 0 .8rem; min-height: 2.3rem; margin: .2rem .15rem; }
.t-botanas .sec > h2 { display: inline-block; background: var(--text); color: var(--bg); font-size: 1.45rem; line-height: 1.1; padding: .35rem 1rem .3rem; border-radius: .5rem; transform: rotate(-2deg); box-shadow: .25rem .25rem 0 var(--surface); }
.t-botanas .sec > .sec-note { margin-top: .7rem; }
.t-botanas .items { gap: .8rem; }
.t-botanas .it { border: 2.5px solid var(--text); border-radius: .8rem; padding: .8rem .9rem; box-shadow: .25rem .25rem 0 var(--surface); margin-right: .25rem; }
.t-botanas .it-name { font-weight: 900; }
.t-botanas .it-price { background: #FFE600; color: #16161D; font-weight: 900; padding: 0 .5rem; transform: skew(-8deg); border: 2px solid var(--text); }
.t-botanas .it-img { border-radius: .6rem; border: 2px solid var(--text); }
:root[data-contrast='high'].t-botanas .it, :root[data-contrast='high'].t-botanas .head, :root[data-contrast='high'].t-botanas .sec > h2 { box-shadow: none; }

/* ══ Fondita: marco de azulejo de talavera ══ */
.t-fondita .sheet { border: 1.2rem solid transparent;
  background: linear-gradient(var(--bg) 0 0) padding-box,
    radial-gradient(circle at 50% 50%, var(--primary) 0 .17rem, transparent .19rem) 0 0 / 1.2rem 1.2rem border-box,
    radial-gradient(circle at 0 0, transparent 0 .3rem, var(--primary) .31rem .44rem, transparent .46rem) 0 0 / 1.2rem 1.2rem border-box,
    radial-gradient(circle at 100% 100%, transparent 0 .3rem, var(--primary) .31rem .44rem, transparent .46rem) 0 0 / 1.2rem 1.2rem border-box,
    var(--bg) border-box;
  outline: 2px solid var(--primary); outline-offset: -1.2rem; }
.t-fondita .head { padding-top: 1.6rem; }
.t-fondita .head h1 { font-weight: 650; font-size: 2.4rem; color: var(--primary-text); }
.t-fondita .head h1::after { content: ''; display: block; width: 4.2rem; height: .7rem; margin: .7rem auto 0; background: radial-gradient(circle, var(--primary-text) 0 .22rem, transparent .24rem) 0 0 / 1.4rem .7rem; }
.t-fondita .sec > h2 { text-align: center; font-weight: 600; font-size: 1.25rem; text-transform: uppercase; letter-spacing: .14em; border-block: 2px solid var(--primary-text); padding: .4rem 0 .35rem; }
.t-fondita .sec > .sec-note { text-align: center; font-style: italic; margin-top: .6rem; }
.t-fondita .it-dots { display: block; }
.t-fondita .it-price { margin-left: 0; }
.t-fondita .it-name { font-weight: 700; }

/* ══ Cocina económica: cartulinas fosforescentes y plumón ══ */
.t-cartulina .sheet { background: linear-gradient(rgb(0 0 0 / .07) 1px, transparent 1px) 0 0 / 3.2rem 3.2rem, linear-gradient(90deg, rgb(0 0 0 / .07) 1px, transparent 1px) 0 0 / 3.2rem 3.2rem, var(--bg); }
.t-cartulina .head h1 { font-size: 2.5rem; line-height: 1.1; transform: rotate(-2deg); }
.t-cartulina .head h1::after { content: ''; display: block; height: .6rem; width: 9rem; margin: .4rem auto 0; background: var(--primary-text); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 10' preserveAspectRatio='none'%3E%3Cpath d='M0 5q5-7 10 0t10 0 10 0 10 0' fill='none' stroke='black' stroke-width='2'/%3E%3C/svg%3E") 0 0 / 2.4rem 100% repeat-x; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 10' preserveAspectRatio='none'%3E%3Cpath d='M0 5q5-7 10 0t10 0 10 0 10 0' fill='none' stroke='black' stroke-width='2'/%3E%3C/svg%3E") 0 0 / 2.4rem 100% repeat-x; }
.t-cartulina .nav a { font-family: var(--font-display); font-size: 1.05rem; }
.t-cartulina .sec { --text: #111111; --muted: #2A2A2A; --line: rgb(0 0 0 / .45); --primary-text: #111111; color: #111111; background: #E6FF3F; position: relative; padding: 1.5rem 1.1rem 1.2rem; margin: 0 .2rem 1.6rem; transform: rotate(-.9deg); box-shadow: 0 .35rem .7rem rgb(0 0 0 / .22); }
.t-cartulina .sec:nth-of-type(4n + 2) { background: #FF7AB8; transform: rotate(.8deg); }
.t-cartulina .sec:nth-of-type(4n + 3) { background: #FFA53C; transform: rotate(-.4deg); }
.t-cartulina .sec:nth-of-type(4n + 4) { background: #6BF08A; transform: rotate(1deg); }
.t-cartulina .sec::before { content: ''; position: absolute; top: -.55rem; left: 50%; width: 5rem; height: 1.3rem; margin-left: -2.5rem; background: rgb(255 255 255 / .55); border-inline: 1px dashed rgb(0 0 0 / .15); transform: rotate(-3deg); }
.t-cartulina .sec > h2 { font-size: 1.75rem; line-height: 1.1; display: inline-block; border-bottom: 3px solid #111; padding-bottom: .1rem; transform: rotate(-1deg); }
.t-cartulina .items { gap: .9rem; }
.t-cartulina .it-name { font-family: var(--font-display); font-weight: 400; font-size: 1.2rem; line-height: 1.15; }
.t-cartulina .it-price { font-family: var(--font-display); font-size: 1.25rem; line-height: 1.2; border: 2px solid #111; border-radius: 50% / 60%; padding: .05rem .55rem; transform: rotate(-4deg); }
.t-cartulina .it-tags li { border-color: #111; }
.t-cartulina .it-off { background: #111; color: #fff; }
:root[data-contrast='high'].t-cartulina .sec { --text: inherit; --muted: inherit; --line: inherit; --primary-text: inherit; color: inherit; background: none; border: 2px solid var(--line); box-shadow: none; transform: none; }
:root[data-contrast='high'].t-cartulina .sec::before { display: none; }
:root[data-contrast='high'].t-cartulina .sec > h2, :root[data-contrast='high'].t-cartulina .it-price { border-color: currentColor; }
:root[data-contrast='high'].t-cartulina .it-off { background: var(--text); color: var(--bg); }

/* ══ Lonchería: hoja de comanda con renglones y margen rojo ══ */
.t-comanda .sheet { padding-top: 1.6rem;
  background: linear-gradient(90deg, transparent 2.1rem, rgb(214 69 65 / .7) 2.1rem 2.2rem, transparent 2.2rem), repeating-linear-gradient(transparent 0 1.9rem, rgb(92 153 214 / .4) 1.9rem 1.97rem), var(--bg); }
.t-comanda .sheet::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 1.5rem; background: radial-gradient(circle, var(--surface) 0 .34rem, transparent .36rem) 0 0 / 1.7rem 1.5rem, color-mix(in oklab, var(--text) 8%, var(--bg)); border-bottom: 1px dashed var(--line); }
.t-comanda .sheet > .wrap { margin-left: 3rem; }
.t-comanda .head { text-align: left; }
.t-comanda .head .logo { margin-left: 0; }
.t-comanda .head h1 { font-size: 2.3rem; line-height: 1.1; color: var(--primary-text); transform: rotate(-2deg); transform-origin: left; }
.t-comanda .nav ul { justify-content: flex-start; padding-left: 3rem; }
.t-comanda .nav a { text-transform: uppercase; font-size: .85rem; padding-inline: 0 1rem; }
.t-comanda .sec > h2 { font-size: 1.5rem; line-height: 1.2; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .2em; color: var(--text); }
.t-comanda .sec > .sec-note { margin-top: .4rem; }
.t-comanda .items { gap: 1rem; }
.t-comanda .it-name { text-transform: uppercase; font-weight: 400; font-size: 1rem; }
.t-comanda .it-dots { display: block; border-bottom-style: dashed; border-color: var(--muted); }
.t-comanda .it-price { margin-left: 0; color: var(--text); }
.t-comanda .it-tags li { border-radius: 2px; background: var(--bg); }
.t-comanda .it-img { border-radius: 2px; }

/* ══ Churrería: toldo de rayas y letrero de feria ══ */
.t-churros .sheet { padding-top: 3.3rem; border-radius: 0 0 .5rem .5rem; }
.t-churros .sheet::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 2.7rem; background: repeating-linear-gradient(90deg, var(--primary) 0 1.7rem, #FFFFFF 0 3.4rem);
  -webkit-mask: radial-gradient(.85rem at 50% calc(100% - .85rem), #000 97%, #0000) 0 0 / 1.7rem 100%, linear-gradient(#000 0 0) 0 0 / 100% calc(100% - .85rem) no-repeat;
  mask: radial-gradient(.85rem at 50% calc(100% - .85rem), #000 97%, #0000) 0 0 / 1.7rem 100%, linear-gradient(#000 0 0) 0 0 / 100% calc(100% - .85rem) no-repeat;
  filter: drop-shadow(0 .15rem .15rem rgb(0 0 0 / .25)); }
.t-churros .head h1 { font-size: 2.6rem; font-weight: 400; line-height: 1.35; color: var(--primary-text); }
.t-churros .head .tagline { text-transform: uppercase; letter-spacing: .16em; font-size: .78rem; font-weight: 800; color: var(--text); border-block: 1.5px solid var(--text); display: inline-block; padding: .3rem .2rem; margin-top: .5rem; }
.t-churros .sec > h2 { font-weight: 400; font-size: 1.75rem; line-height: 1.3; color: var(--text); display: flex; align-items: center; gap: .7rem; }
.t-churros .sec > h2::after { content: ''; flex: 1; border-bottom: .3rem dotted var(--primary-text); transform: translateY(.15rem); }
.t-churros .sec > .sec-note { margin-top: .3rem; }
.t-churros .it-name { font-weight: 800; }
.t-churros .it-price { background: var(--primary); color: var(--on-primary); border-radius: 99px; padding: .05rem .7rem; font-weight: 800; }
.t-churros .it-img { border-radius: 50%; }

/* ══ Atoles y tamales: franjas de sarape y barro ══ */
.t-atole .sheet { padding-block: 1.3rem; border-radius: .4rem; }
.t-atole .sheet::before, .t-atole .sheet::after { content: ''; position: absolute; left: 0; right: 0; top: 0; height: .95rem;
  background: repeating-linear-gradient(90deg, #D7261E 0 .55rem, #F4A300 0 1.1rem, #2A9D8F 0 1.65rem, #F15BB5 0 2.2rem, #3A2416 0 2.4rem, #FFFFFF 0 2.75rem, #1F4E9E 0 3.3rem, #FFFFFF 0 3.65rem, #3A2416 0 3.85rem); }
.t-atole .sheet::after { top: auto; bottom: 0; }
.t-atole .head { padding-top: 1.6rem; }
.t-atole .head h1 { font-weight: 800; font-size: 2.5rem; line-height: 1.05; color: var(--primary-text); letter-spacing: -.01em; }
.t-atole .sec > h2 { display: flex; align-items: center; gap: .7rem; font-weight: 700; font-size: 1.15rem; color: var(--text); }
.t-atole .sec > h2::before { content: ''; width: .9rem; height: .9rem; border-radius: 50%; background: var(--primary); flex: none; box-shadow: 0 0 0 .22rem color-mix(in oklab, var(--primary) 30%, var(--bg)); }
.t-atole .sec > h2::after { content: ''; flex: 1; border-bottom: 2px solid color-mix(in oklab, var(--primary) 45%, var(--bg)); }
.t-atole .sec > h2 { text-transform: uppercase; letter-spacing: .1em; }
.t-atole .sec > .sec-note { margin-top: .5rem; }
.t-atole .items { gap: .55rem; }
.t-atole .it { background: color-mix(in oklab, var(--primary) 9%, var(--bg)); border-radius: 1.1rem; padding: .75rem .95rem; }
.t-atole .it-name { font-weight: 800; }
.t-atole .it-price { font-weight: 800; }
.t-atole .it-img { border-radius: .8rem; }
:root[data-contrast='high'].t-atole .it { background: none; border: 2px solid var(--line); }

/* ══ Asados al carbón: tablones, costura de cuero y letra ranchera ══ */
.t-ranchero body { background: repeating-linear-gradient(90deg, rgb(0 0 0 / .22) 0 2px, transparent 2px 5.5rem), linear-gradient(180deg, rgb(255 255 255 / .05), rgb(0 0 0 / .12)), var(--surface); }
.t-ranchero .sheet { border: 3px solid var(--text); outline: 2px dashed var(--text); outline-offset: -.65rem; padding: 1.1rem 0; border-radius: .3rem; }
.t-ranchero .head { padding-top: 1.5rem; }
.t-ranchero .head h1 { font-weight: 400; font-size: 2.2rem; line-height: 1.2; }
.t-ranchero .head h1::after { content: '★ ★ ★'; display: block; font-family: system-ui, sans-serif; font-size: .9rem; letter-spacing: .5em; margin: .5rem -.5em 0 0; color: var(--primary-text); }
.t-ranchero .head .tagline { text-transform: uppercase; letter-spacing: .14em; font-size: .8rem; font-weight: 700; }
.t-ranchero .nav a { font-family: var(--font-display); font-size: .95rem; }
.t-ranchero .sec > h2 { font-weight: 400; font-size: 1.45rem; text-align: center; display: flex; align-items: center; justify-content: center; gap: .7rem; }
.t-ranchero .sec > h2::before, .t-ranchero .sec > h2::after { content: '★'; font-family: system-ui, sans-serif; font-size: .8rem; }
.t-ranchero .sec > .sec-note { text-align: center; font-style: italic; margin-top: .4rem; }
.t-ranchero .it-name { font-weight: 700; text-transform: uppercase; letter-spacing: .05em; font-size: .98rem; }
.t-ranchero .it-dots { display: block; border-bottom: 2px dotted var(--text); opacity: .5; }
.t-ranchero .it-price { margin-left: 0; font-family: var(--font-display); font-weight: 400; font-size: 1.15rem; }
.t-ranchero .it-img { border-radius: 2px; border: 2px solid var(--text); }

/* ══ Bebidas y aguas frescas: cabecera líquida con burbujas ══ */
.t-bebidas .sheet { border-radius: 1.6rem; }
.t-bebidas .sheet > .wrap:first-child { margin: 0; padding: 2.2rem 1.25rem 2.7rem; color: var(--on-surface);
  background: radial-gradient(circle at 7% 22%, rgb(255 255 255 / .2) 0 .5rem, transparent .55rem), radial-gradient(circle at 93% 14%, rgb(255 255 255 / .16) 0 .8rem, transparent .85rem),
    radial-gradient(circle at 90% 80%, rgb(255 255 255 / .2) 0 .35rem, transparent .4rem), radial-gradient(circle at 6% 84%, rgb(255 255 255 / .14) 0 .65rem, transparent .7rem), var(--surface);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 10' preserveAspectRatio='none'%3E%3Cpath d='M0 0h40v5q-5 7-10 0t-10 0-10 0-10 0z'/%3E%3C/svg%3E") bottom / 3rem 1rem repeat-x, linear-gradient(#000 0 0) top / 100% calc(100% - .95rem) no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 10' preserveAspectRatio='none'%3E%3Cpath d='M0 0h40v5q-5 7-10 0t-10 0-10 0-10 0z'/%3E%3C/svg%3E") bottom / 3rem 1rem repeat-x, linear-gradient(#000 0 0) top / 100% calc(100% - .95rem) no-repeat; }
.t-bebidas .head { padding: 0; }
.t-bebidas .head h1 { font-weight: 800; font-size: 2.6rem; line-height: 1.05; }
.t-bebidas .head .tagline, .t-bebidas .head .hours { color: inherit; font-weight: 600; }
.t-bebidas .nav a { text-decoration: none; font-weight: 700; background: color-mix(in oklab, var(--surface) 14%, var(--bg)); border-radius: 99px; padding: 0 .9rem; min-height: 2.4rem; margin: .2rem .15rem; }
.t-bebidas .sec > h2 { font-weight: 800; font-size: 1.6rem; line-height: 1.1; display: flex; align-items: center; gap: .55rem; }
.t-bebidas .sec > h2::before { content: ''; width: .95rem; height: 1.25rem; flex: none; background: var(--primary); border-radius: 50% 50% 50% 50% / 62% 62% 38% 38%; clip-path: polygon(50% 0, 100% 62%, 85% 92%, 50% 100%, 15% 92%, 0 62%); }
.t-bebidas .sec > .sec-note { margin-top: .4rem; }
.t-bebidas .items { gap: .65rem; }
.t-bebidas .it { border: 2px solid color-mix(in oklab, var(--surface) 35%, var(--bg)); border-radius: 1.2rem; padding: .75rem .95rem; }
.t-bebidas .it-name { font-weight: 800; font-size: 1.1rem; }
.t-bebidas .it-price { background: var(--surface); color: var(--on-surface); border-radius: 99px; padding: 0 .7rem; font-weight: 800; }
.t-bebidas .it-img { border-radius: 50%; }
:root[data-contrast='high'].t-bebidas .it { border-color: var(--line); }
:root[data-contrast='high'].t-bebidas .sheet > .wrap:first-child { background: none; border-bottom: 2px solid var(--line); -webkit-mask: none; mask: none; }

/* ══ Frutería y jugos: cabecera de sandía y etiquetas de colores ══ */
.t-fruteria .sheet > .wrap:first-child { margin: 0; padding: 2rem 1.25rem 2.3rem; border-bottom: .9rem solid var(--surface); box-shadow: inset 0 -.4rem 0 #F1FADF;
  background: radial-gradient(ellipse .2rem .32rem at 50% 50%, #1B1B1B 97%, transparent) 0 0 / 2.8rem 2.4rem, radial-gradient(ellipse .2rem .32rem at 50% 50%, #1B1B1B 97%, transparent) 1.4rem 1.2rem / 2.8rem 2.4rem, var(--primary); }
.t-fruteria .head { background: var(--bg); border: 3px solid var(--surface); border-radius: 1.6rem; padding: 1.4rem 1rem; max-width: 26rem; margin: 0 auto; }
.t-fruteria .head h1 { font-size: 2.4rem; line-height: 1.08; color: var(--primary-text); }
.t-fruteria .nav a { font-weight: 800; text-decoration: none; }
.t-fruteria .sec > h2 { display: inline-block; background: var(--primary); color: var(--on-primary); font-size: 1.35rem; line-height: 1.1; padding: .4rem 1.1rem .35rem; border-radius: 99px; }
.t-fruteria .sec:nth-of-type(4n + 2) > h2 { background: #D96A00; color: #fff; }
.t-fruteria .sec:nth-of-type(4n + 3) > h2 { background: #4E8A12; color: #fff; }
.t-fruteria .sec:nth-of-type(4n + 4) > h2 { background: #7B3FA0; color: #fff; }
.t-fruteria .sec > .sec-note { margin-top: .6rem; }
.t-fruteria .it-name { font-weight: 800; }
.t-fruteria .it-dots { display: block; border-bottom: 3px dotted color-mix(in oklab, var(--surface) 55%, var(--bg)); }
.t-fruteria .it-price { margin-left: 0; font-family: var(--font-display); font-size: 1.2rem; line-height: 1.1; }
.t-fruteria .it-img { border-radius: 50%; border: 3px solid var(--surface); }
:root[data-contrast='high'].t-fruteria .sec > h2 { background: var(--primary); color: var(--on-primary); }
:root[data-contrast='high'].t-fruteria .sheet > .wrap:first-child, :root[data-contrast='high'].t-botanas .sheet > .wrap:first-child { background: none; box-shadow: none; }

/* ════════════════════════════════════════════════════════════════════════
   MÁS GIROS: taquerías tradicionales, steak house, italiano fino, pastas,
   mexicano, chino, pastelería y tiendas (deportes, tenis).
   ════════════════════════════════════════════════════════════════════════ */
@media (min-width: 58rem) {
  :is(.t-trompo, .t-lona, .t-steak, .t-ristorante, .t-pastas, .t-mexicano, .t-chino) .sheet { width: min(64rem, 100% - 2rem); }
  :is(.t-trompo, .t-lona, .t-steak, .t-ristorante, .t-pastas, .t-mexicano, .t-chino) .menu { columns: 2; column-gap: 3.5rem; }
  :is(.t-pasteleria, .t-deportes, .t-sneakers) .sheet { width: min(64rem, 100% - 2rem); }
  .t-pasteleria .items { grid-template-columns: 1fr 1fr; }
  :is(.t-deportes, .t-sneakers) .items { grid-template-columns: repeat(4, 1fr); }
}

/* ══ Taquería tradicional: franjas tricolor, letras rojas con sombra y renglones alternados ══ */
.t-trompo body { background: linear-gradient(rgb(0 0 0 / .08) 1px, transparent 1px) 0 0 / 2.6rem 2.6rem, linear-gradient(90deg, rgb(0 0 0 / .08) 1px, transparent 1px) 0 0 / 2.6rem 2.6rem, var(--surface); }
.t-trompo .sheet { border: 2px solid var(--text); padding-block: 1.5rem; }
.t-trompo .sheet::before, .t-trompo .sheet::after { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 1.2rem; background: linear-gradient(180deg, #0B7A3B 0 33.3%, #FFFFFF 0 66.6%, #C4161C 0); border-bottom: 2px solid var(--text); }
.t-trompo .sheet::after { top: auto; bottom: 0; transform: scaleY(-1); }
.t-trompo .head { padding-top: 1.5rem; }
.t-trompo .head h1 { font-weight: 900; text-transform: uppercase; font-size: 2.3rem; line-height: 1.08; letter-spacing: .02em; color: var(--primary); text-shadow: .055em .055em 0 var(--text); padding-bottom: .1em; }
.t-trompo .head .tagline { font-style: italic; color: var(--text); font-size: 1.05rem; margin-top: .6rem; }
.t-trompo .nav a { font-weight: 700; text-transform: uppercase; font-size: .85rem; letter-spacing: .04em; }
.t-trompo .sec > h2 { font-weight: 900; text-transform: uppercase; text-align: center; font-size: 1.4rem; letter-spacing: .06em; color: var(--text); padding-bottom: .35rem; border-bottom: .3rem solid #0B7A3B; box-shadow: 0 .22rem 0 var(--bg), 0 .42rem 0 var(--primary); margin-bottom: .9rem; }
.t-trompo .sec > .sec-note { text-align: center; font-style: italic; }
.t-trompo .items { gap: 0; margin-top: .6rem; }
.t-trompo .it { padding: .65rem .7rem; }
.t-trompo .it:nth-child(odd) { background: color-mix(in oklab, var(--text) 6%, var(--bg)); }
.t-trompo .it-name { font-weight: 700; text-transform: uppercase; font-size: 1rem; letter-spacing: .02em; }
.t-trompo .it-price { font-family: var(--font-display); font-weight: 900; font-size: 1.25rem; line-height: 1.1; }
:root[data-contrast='high'].t-trompo .head h1 { text-shadow: none; }

/* ══ Taquería de lona: lona roja con ojillos, letras amarillas y precios en estrella ══ */
:root.t-lona:not([data-contrast]) { --muted: color-mix(in oklab, var(--text) 92%, var(--bg)); --line: color-mix(in oklab, var(--text) 45%, var(--bg)); }
.t-lona .sheet { padding: 1.9rem 0 1.2rem; outline: 3px solid var(--primary); outline-offset: -.55rem;
  background: radial-gradient(circle at 1.25rem 1.25rem, #2A2A2A 0 .2rem, #D9D9D9 .22rem .42rem, transparent .44rem), radial-gradient(circle at calc(100% - 1.25rem) 1.25rem, #2A2A2A 0 .2rem, #D9D9D9 .22rem .42rem, transparent .44rem),
    radial-gradient(circle at 1.25rem calc(100% - 1.25rem), #2A2A2A 0 .2rem, #D9D9D9 .22rem .42rem, transparent .44rem), radial-gradient(circle at calc(100% - 1.25rem) calc(100% - 1.25rem), #2A2A2A 0 .2rem, #D9D9D9 .22rem .42rem, transparent .44rem), var(--bg); }
.t-lona .head { padding-top: 1.4rem; }
.t-lona .head h1 { text-transform: uppercase; font-size: 2.5rem; line-height: 1.05; color: var(--primary-text); text-shadow: .06em .06em 0 rgb(0 0 0 / .85); padding-bottom: .12em; }
.t-lona .head .tagline { font-weight: 900; text-transform: uppercase; letter-spacing: .06em; color: var(--text); margin-top: .7rem; }
.t-lona .head .hours { color: var(--text); font-weight: 700; }
.t-lona .nav a { font-weight: 900; text-transform: uppercase; font-size: .85rem; text-decoration-color: var(--primary-text); }
.t-lona .sec { text-align: center; }
.t-lona .sec > h2 { display: inline-block; background: var(--primary); color: var(--on-primary); text-transform: uppercase; font-size: 1.35rem; line-height: 1.15; padding: .4rem 1.2rem .35rem; border-radius: .3rem; transform: rotate(-1.5deg); box-shadow: .22rem .22rem 0 rgb(0 0 0 / .6); }
.t-lona .sec > .sec-note { margin-top: .8rem; font-weight: 700; }
.t-lona .items { gap: .4rem; margin-top: .7rem; text-align: left; }
.t-lona .it { position: relative; align-items: center; min-height: 4.6rem; padding: .5rem 4.9rem .5rem 0; border-bottom: 2px dashed var(--line); }
.t-lona .it:last-child { border-bottom: 0; }
.t-lona .it-name { font-weight: 900; text-transform: uppercase; font-size: 1.05rem; }
.t-lona .it-price { position: absolute; right: 0; top: 50%; transform: translateY(-50%) rotate(8deg); margin: 0; width: 4.3rem; height: 4.3rem; display: grid; place-items: center; background: var(--primary); color: var(--on-primary); font-family: var(--font-display); font-size: .92rem;
  clip-path: polygon(50% 0%, 61% 12%, 75% 6%, 79% 21%, 94% 21%, 90% 36%, 100% 46%, 90% 57%, 96% 71%, 82% 75%, 79% 90%, 65% 86%, 54% 98%, 43% 87%, 29% 93%, 24% 79%, 9% 79%, 12% 64%, 1% 54%, 11% 43%, 4% 29%, 18% 25%, 21% 10%, 36% 14%); }
.t-lona .is-off .it-price { text-decoration: none; }
.t-lona .it-tags li { border-color: var(--text); }
:root[data-contrast='high'].t-lona .head h1 { text-shadow: none; }

/* ══ Steak house: vino oscuro, dorado y doble marco ══ */
.t-steak .sheet { padding: 1.7rem 0 1.1rem; }
.t-steak .sheet::before, .t-steak .sheet::after { content: ''; position: absolute; inset: .55rem; border: 1px solid var(--primary-text); }
.t-steak .sheet::after { inset: .95rem; opacity: .4; }
.t-steak .sheet > .wrap { margin-inline: clamp(1.7rem, 6.5vw, 3.25rem); }
.t-steak .nav ul { padding-inline: clamp(1.7rem, 6.5vw, 3.25rem); }
.t-steak .head { padding-top: 1.9rem; }
.t-steak .head h1 { font-weight: 700; text-transform: uppercase; letter-spacing: .16em; margin-right: -.16em; font-size: 1.85rem; line-height: 1.2; }
.t-steak .head h1::after, .t-mexicano .head h1::after { content: ''; display: block; height: .75rem; width: 9rem; margin: .9rem auto 0; background: var(--primary-text); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 12'%3E%3Cpath d='M0 6h46M74 6h46' stroke='black' stroke-width='1' fill='none'/%3E%3Cpath d='M60 1l5 5-5 5-5-5z'/%3E%3C/svg%3E") center / 100% 100% no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 12'%3E%3Cpath d='M0 6h46M74 6h46' stroke='black' stroke-width='1' fill='none'/%3E%3Cpath d='M60 1l5 5-5 5-5-5z'/%3E%3C/svg%3E") center / 100% 100% no-repeat; }
.t-steak .head .tagline { font-style: italic; }
.t-steak .nav a { text-transform: uppercase; letter-spacing: .14em; font-size: .76rem; text-decoration: none; }
.t-steak .sec > h2 { font-weight: 600; text-transform: uppercase; letter-spacing: .22em; font-size: 1.02rem; display: flex; align-items: center; gap: .9rem; text-align: center; }
.t-steak .sec > h2::before, .t-steak .sec > h2::after { content: ''; flex: 1; min-width: 1.2rem; height: 1px; background: var(--primary-text); opacity: .7; }
.t-steak .sec > .sec-note { text-align: center; font-style: italic; margin-top: .5rem; }
.t-steak .items { gap: 1.25rem; }
.t-steak .it-name { font-family: var(--font-display); font-weight: 600; font-size: 1.12rem; }
.t-steak .it-dots { display: block; border-bottom: 1px dotted var(--primary-text); }
.t-steak .it-price { margin-left: 0; font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: 1.08rem; }
.t-steak .it-desc { font-style: italic; }
.t-steak .it-img { border-radius: 0; border: 1px solid var(--primary-text); }
.t-steak .it-tags li { border-radius: 0; }

/* ══ Ristorante italiano: marfil, aire y tiempos en números romanos ══ */
.t-ristorante .sheet { padding: 2.1rem 0 1.4rem; }
.t-ristorante .sheet::before { content: ''; position: absolute; inset: .7rem; border: 1px solid color-mix(in oklab, var(--text) 38%, var(--bg)); }
.t-ristorante .sheet > .wrap { margin-inline: clamp(1.8rem, 7vw, 3.5rem); }
.t-ristorante .nav ul { padding-inline: clamp(1.8rem, 7vw, 3.5rem); }
.t-ristorante .head { padding-top: 1.8rem; padding-bottom: 2rem; }
.t-ristorante .head::before { content: ''; display: block; width: 3.6rem; height: 3px; margin: 0 auto 1.4rem; background: linear-gradient(90deg, #1E8A4C 0 33.3%, #D9D5C8 0 66.6%, #C8102E 0); }
.t-ristorante .head h1 { font-style: italic; font-weight: 500; font-size: 2.6rem; line-height: 1.1; }
.t-ristorante .head .tagline { text-transform: uppercase; letter-spacing: .28em; margin-right: -.28em; font-size: .7rem; margin-top: 1rem; }
.t-ristorante .head .hours { font-style: italic; margin-top: .7rem; }
.t-ristorante .nav a { text-transform: uppercase; letter-spacing: .2em; font-size: .7rem; text-decoration: none; }
.t-ristorante .menu { counter-reset: tiempo; }
.t-ristorante .sec { counter-increment: tiempo; margin-bottom: 3.2rem; }
.t-ristorante .sec > h2 { text-align: center; text-transform: uppercase; letter-spacing: .28em; margin-right: -.28em; font-family: var(--font); font-weight: 400; font-size: .95rem; color: var(--text); }
.t-ristorante .sec > h2::before { content: counter(tiempo, upper-roman); display: block; font-family: var(--font-display); font-style: italic; font-size: 1.5rem; letter-spacing: 0; text-transform: none; color: var(--primary-text); margin-bottom: .35rem; }
.t-ristorante .sec > h2::after { content: ''; display: block; width: 2.4rem; height: 1px; background: var(--primary-text); margin: .8rem auto 0; }
.t-ristorante .sec > .sec-note { text-align: center; font-style: italic; margin-top: .7rem; }
.t-ristorante .items { gap: 1.6rem; margin-top: 1.6rem; }
.t-ristorante .it-name { font-family: var(--font-display); font-weight: 500; font-size: 1.22rem; }
.t-ristorante .it-price { font-weight: 400; color: var(--text); font-size: 1rem; }
.t-ristorante .it-desc { font-style: italic; margin-top: .3rem; }
.t-ristorante .it-img { border-radius: 0; }
.t-ristorante .it-tags li { border-radius: 0; border-color: transparent; padding-left: 0; font-weight: 400; font-style: italic; color: var(--muted); }
.t-ristorante .it-tags li + li::before { content: '·'; margin-right: .5rem; }

/* ══ Casa de pastas: cabecera color jitomate y subrayados de albahaca ══ */
.t-pastas .sheet { border-radius: .6rem; }
.t-pastas .sheet > .wrap:first-child { margin: 0; padding: 2.3rem 1.25rem 2.8rem; background: var(--primary); color: var(--on-primary);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 10' preserveAspectRatio='none'%3E%3Cpath d='M0 0h40v5q-5 7-10 0t-10 0-10 0-10 0z'/%3E%3C/svg%3E") bottom / 2.6rem .9rem repeat-x, linear-gradient(#000 0 0) top / 100% calc(100% - .85rem) no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 10' preserveAspectRatio='none'%3E%3Cpath d='M0 0h40v5q-5 7-10 0t-10 0-10 0-10 0z'/%3E%3C/svg%3E") bottom / 2.6rem .9rem repeat-x, linear-gradient(#000 0 0) top / 100% calc(100% - .85rem) no-repeat; }
.t-pastas .head { padding: 0; }
.t-pastas .head h1 { font-weight: 800; font-size: 2.9rem; line-height: .98; letter-spacing: -.03em; text-transform: lowercase; }
.t-pastas .head .tagline, .t-pastas .head .hours { color: inherit; }
.t-pastas .head .tagline { font-weight: 700; margin-top: .8rem; }
.t-pastas .nav a { font-weight: 800; text-decoration: none; }
.t-pastas .sec > h2 { font-weight: 800; font-size: 1.9rem; line-height: 1.05; letter-spacing: -.02em; text-transform: lowercase; color: var(--text); }
.t-pastas .sec > h2::after { content: ''; display: block; height: .6rem; width: 6.5rem; margin-top: .3rem; background: #2F7D32; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 10' preserveAspectRatio='none'%3E%3Cpath d='M0 5q5-7 10 0t10 0 10 0 10 0' fill='none' stroke='black' stroke-width='2'/%3E%3C/svg%3E") 0 0 / 2.2rem 100% repeat-x; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 10' preserveAspectRatio='none'%3E%3Cpath d='M0 5q5-7 10 0t10 0 10 0 10 0' fill='none' stroke='black' stroke-width='2'/%3E%3C/svg%3E") 0 0 / 2.2rem 100% repeat-x; }
.t-pastas .sec > .sec-note { margin-top: .5rem; }
.t-pastas .it-name { font-weight: 800; font-size: 1.1rem; }
.t-pastas .it-dots { display: block; border-bottom: 3px dotted color-mix(in oklab, var(--primary) 55%, var(--bg)); }
.t-pastas .it-price { margin-left: 0; font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; }
.t-pastas .it-img { border-radius: 50%; }
:root[data-contrast='high'].t-pastas .sec > h2::after { background: var(--text); }

/* ══ Restaurante mexicano: grecas de barro y verde profundo ══ */
.t-mexicano .sheet { padding-block: 1.7rem; border-inline: 2px solid var(--primary); }
.t-mexicano .sheet::before, .t-mexicano .sheet::after { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 1.2rem; border-block: 2px solid var(--primary);
  background: linear-gradient(90deg, var(--primary) 0 25%, transparent 0 50%, var(--primary) 0 62.5%, transparent 0) 0 0 / 2rem 50% repeat-x,
              linear-gradient(90deg, transparent 0 12.5%, var(--primary) 0 25%, transparent 0 50%, var(--primary) 0 75%, transparent 0) 0 100% / 2rem 50% repeat-x; }
.t-mexicano .sheet::after { top: auto; bottom: 0; transform: scaleY(-1); }
.t-mexicano .head { padding-top: 1.8rem; }
.t-mexicano .head h1 { font-weight: 800; font-size: 2.3rem; line-height: 1.1; }
.t-mexicano .head .tagline { font-style: italic; }
.t-mexicano .sec > h2 { font-weight: 700; text-transform: uppercase; letter-spacing: .12em; font-size: 1.2rem; display: flex; align-items: center; justify-content: center; gap: .8rem; text-align: center; }
.t-mexicano .sec > h2::before, .t-mexicano .sec > h2::after { content: ''; width: .55rem; height: .55rem; background: var(--primary); transform: rotate(45deg); flex: none; }
.t-mexicano .sec > .sec-note { text-align: center; font-style: italic; margin-top: .5rem; }
.t-mexicano .it-name { font-weight: 700; }
.t-mexicano .it-dots { display: block; }
.t-mexicano .it-price { margin-left: 0; font-family: var(--font-display); font-weight: 700; }
.t-mexicano .it-desc { font-style: italic; }

/* ══ Restaurante chino: rojo y dorado, doble marco y platillos numerados ══ */
:root.t-chino:not([data-contrast]) { --muted: color-mix(in oklab, var(--text) 90%, var(--bg)); --line: color-mix(in oklab, var(--primary) 55%, var(--bg)); }
.t-chino .sheet { padding: 1.8rem 0 1.2rem; }
.t-chino .sheet::before { content: ''; position: absolute; inset: .5rem; border: 2px solid var(--primary-text); }
.t-chino .sheet::after { content: ''; position: absolute; inset: .9rem; border: 1px solid var(--primary-text);
  background: linear-gradient(var(--primary-text) 0 0) 0 0 / .75rem .75rem no-repeat, linear-gradient(var(--primary-text) 0 0) 100% 0 / .75rem .75rem no-repeat, linear-gradient(var(--primary-text) 0 0) 0 100% / .75rem .75rem no-repeat, linear-gradient(var(--primary-text) 0 0) 100% 100% / .75rem .75rem no-repeat; }
.t-chino .sheet > .wrap { margin-inline: clamp(1.7rem, 6.5vw, 3.25rem); }
.t-chino .nav ul { padding-inline: clamp(1.7rem, 6.5vw, 3.25rem); }
.t-chino .head { padding-top: 1.8rem; }
.t-chino .head::before { content: ''; display: block; width: 3rem; height: 3rem; margin: 0 auto 1rem; border-radius: 50%; border: 2px solid var(--primary-text); background: radial-gradient(circle, var(--primary-text) 0 .55rem, transparent .6rem); }
.t-chino .head h1 { font-weight: 700; text-transform: uppercase; letter-spacing: .1em; margin-right: -.1em; font-size: 2rem; line-height: 1.2; color: var(--primary-text); }
.t-chino .nav a { text-decoration-color: var(--primary-text); }
.t-chino .menu { counter-reset: plato; }
.t-chino .sec > h2 { text-align: center; text-transform: uppercase; letter-spacing: .2em; margin-right: -.2em; font-weight: 600; font-size: 1.1rem; border-block: 1px solid var(--primary-text); padding: .45rem 0; }
.t-chino .sec > .sec-note { text-align: center; margin-top: .6rem; }
.t-chino .it { counter-increment: plato; }
.t-chino .it::before { content: counter(plato) '.'; order: -1; min-width: 1.9rem; font-family: var(--font-display); font-weight: 700; color: var(--primary-text); font-variant-numeric: tabular-nums; }
.t-chino .it-name { font-weight: 700; }
.t-chino .it-dots { display: block; border-bottom-color: var(--primary-text); opacity: .6; }
.t-chino .it-price { margin-left: 0; font-family: var(--font-display); font-weight: 700; }
.t-chino .it-img { order: 3; border-radius: 2px; border: 1px solid var(--primary-text); }
.t-chino .it-tags li { border-color: var(--primary-text); }

/* ══ Pastelería: orilla de blonda, lunares, rosa y menta ══ */
.t-pasteleria body { background: radial-gradient(circle, rgb(255 255 255 / .6) 0 .28rem, transparent .3rem) 0 0 / 1.7rem 1.7rem, var(--surface); }
.t-pasteleria .sheet { padding: 2.2rem 0 2rem; box-shadow: none;
  -webkit-mask: radial-gradient(.78rem at 50% .78rem, #000 97%, #0000) top / 1.56rem 1.56rem repeat-x, radial-gradient(.78rem at 50% calc(100% - .78rem), #000 97%, #0000) bottom / 1.56rem 1.56rem repeat-x, linear-gradient(#000 0 0) center / 100% calc(100% - 1.5rem) no-repeat;
  mask: radial-gradient(.78rem at 50% .78rem, #000 97%, #0000) top / 1.56rem 1.56rem repeat-x, radial-gradient(.78rem at 50% calc(100% - .78rem), #000 97%, #0000) bottom / 1.56rem 1.56rem repeat-x, linear-gradient(#000 0 0) center / 100% calc(100% - 1.5rem) no-repeat; }
.t-pasteleria .head h1 { font-weight: 400; font-size: 2.6rem; line-height: 1.35; color: var(--primary-text); }
.t-pasteleria .head h1::after { content: ''; display: block; width: 4.6rem; height: .8rem; margin: .4rem auto 0; background: radial-gradient(circle at .4rem 50%, #8FD3BE 0 .34rem, transparent .36rem), radial-gradient(circle at 50% 50%, var(--primary) 0 .34rem, transparent .36rem), radial-gradient(circle at calc(100% - .4rem) 50%, #8FD3BE 0 .34rem, transparent .36rem); }
.t-pasteleria .nav a { text-decoration: none; background: color-mix(in oklab, var(--primary) 9%, var(--bg)); border-radius: 99px; padding: 0 .9rem; min-height: 2.4rem; margin: .2rem .15rem; font-weight: 700; }
.t-pasteleria .sec { text-align: center; }
.t-pasteleria .sec > h2 { display: inline-block; font-weight: 400; font-size: 1.7rem; line-height: 1.4; color: var(--text); border-bottom: .28rem dotted var(--primary-text); padding: 0 .4rem .15rem; }
.t-pasteleria .sec > .sec-note { margin-top: .6rem; }
.t-pasteleria .items { gap: .75rem; text-align: left; }
.t-pasteleria .it { border: 2px dashed color-mix(in oklab, var(--primary) 38%, var(--bg)); border-radius: 1.2rem; padding: .85rem .95rem; align-items: center; }
.t-pasteleria .it-name { font-weight: 800; }
.t-pasteleria .it-price { background: #BFE9DA; color: #173F33; border-radius: 99px; padding: .05rem .7rem; font-weight: 800; }
.t-pasteleria .it-img { border-radius: 50%; width: 5rem; height: 5rem; }
:root[data-contrast='high'].t-pasteleria .it { border: 2px solid var(--line); }
:root[data-contrast='high'].t-pasteleria .sheet { -webkit-mask: none; mask: none; }

/* ══ Tienda deportiva: azul marino, verde neón y productos en cuadrícula ══ */
.t-deportes .sheet > .wrap:first-child { margin: 0; padding: 2.1rem 1.25rem 1.8rem; border-bottom: .35rem solid var(--primary);
  background: repeating-linear-gradient(115deg, transparent 0 2.3rem, color-mix(in srgb, var(--primary) 20%, transparent) 2.3rem 2.65rem, transparent 2.65rem 3.1rem, color-mix(in srgb, var(--primary) 10%, transparent) 3.1rem 3.25rem), var(--bg); }
.t-deportes .head { padding: 0; text-align: left; }
.t-deportes .head .logo { margin-left: 0; }
.t-deportes .head h1 { font-weight: 700; text-transform: uppercase; font-size: 3rem; line-height: .95; transform: skew(-8deg); transform-origin: left bottom; }
.t-deportes .head .tagline { text-transform: uppercase; letter-spacing: .16em; font-weight: 700; font-size: .78rem; color: var(--primary-text); margin-top: .8rem; }
.t-deportes .nav ul { justify-content: flex-start; padding-top: .6rem; }
.t-deportes .nav a { font-family: var(--font-display); text-transform: uppercase; letter-spacing: .08em; text-decoration: none; border: 1.5px solid var(--line); padding: 0 .9rem; min-height: 2.3rem; margin: .2rem .3rem .2rem 0; transform: skew(-8deg); border-radius: 0; }
.t-deportes .sec > h2 { font-weight: 700; text-transform: uppercase; font-size: 1.6rem; line-height: 1; color: var(--text); border-left: .5rem solid var(--primary); padding-left: .65rem; transform: skew(-8deg); transform-origin: left bottom; }
.t-deportes .sec > .sec-note { margin-top: .6rem; }
.t-deportes .items, .t-sneakers .items { grid-template-columns: 1fr 1fr; gap: .65rem; }
.t-deportes .it, .t-sneakers .it { flex-direction: column; gap: 0; }
.t-deportes .it { background: color-mix(in oklab, var(--text) 7%, var(--bg)); border-radius: .35rem; overflow: hidden; }
.t-deportes .it-img, .t-sneakers .it-img { width: 100%; height: auto; aspect-ratio: 1; border-radius: 0; }
.t-deportes .it-body, .t-sneakers .it-body { padding: .7rem .75rem .8rem; display: flex; flex-direction: column; width: 100%; }
.t-deportes .it-top, .t-sneakers .it-top { flex-direction: column; align-items: flex-start; gap: .15rem; }
.t-deportes .it-name { font-family: var(--font-display); font-weight: 500; text-transform: uppercase; font-size: 1.02rem; letter-spacing: .03em; line-height: 1.15; }
.t-deportes .it-price { margin: .2rem 0 0; font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; line-height: 1; }
.t-deportes .it-desc, .t-sneakers .it-desc { font-size: .86rem; }
.t-deportes .it-tags li, .t-sneakers .it-tags li { border-radius: 0; font-size: .7rem; }

/* ══ Tienda de tenis: etiqueta de caja, código de barras y bloques naranjas ══ */
.t-sneakers .sheet { border-top: .9rem solid var(--primary); }
.t-sneakers .head { text-align: left; padding-top: 1.6rem; }
.t-sneakers .head .logo { margin-left: 0; border-radius: 0; }
.t-sneakers .head h1 { font-weight: 800; text-transform: uppercase; font-size: 2.7rem; line-height: .95; letter-spacing: -.045em; }
.t-sneakers .head h1::after { content: ''; display: block; height: 2.1rem; width: 11rem; max-width: 100%; margin-top: .9rem; background: repeating-linear-gradient(90deg, var(--text) 0 2px, transparent 2px 5px, var(--text) 5px 9px, transparent 9px 11px, var(--text) 11px 12px, transparent 12px 16px, var(--text) 16px 19px, transparent 19px 22px); }
.t-sneakers .head .tagline, .t-sneakers .head .hours { font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace; font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; }
.t-sneakers .nav ul { justify-content: flex-start; }
.t-sneakers .nav a { font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace; text-transform: uppercase; font-size: .78rem; letter-spacing: .06em; padding-inline: 0 1.1rem; }
.t-sneakers .sec > h2 { background: var(--primary); color: var(--on-primary); font-weight: 800; text-transform: uppercase; font-size: 1.15rem; letter-spacing: -.01em; padding: .55rem .8rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.t-sneakers .sec > h2::after { content: ''; width: 2.6rem; height: 1rem; flex: none; background: repeating-linear-gradient(90deg, currentColor 0 2px, transparent 2px 4px, currentColor 4px 7px, transparent 7px 9px); }
.t-sneakers .sec > .sec-note { margin-top: .6rem; font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace; font-size: .82rem; }
.t-sneakers .it { border: 1.5px solid var(--text); background: var(--bg); }
.t-sneakers .it-img { border-bottom: 1.5px solid var(--text); }
.t-sneakers .it-name { font-weight: 800; text-transform: uppercase; font-size: .95rem; letter-spacing: -.01em; line-height: 1.15; }
.t-sneakers .it-price { margin: .35rem 0 0; font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace; font-weight: 700; font-size: 1.15rem; color: var(--text); border-top: 1.5px dashed var(--text); padding-top: .35rem; width: 100%; order: 9; }

/* ════════════════════════════════════════════════════════════════════════
   TIENDAS Y SERVICIOS (sin relación con comida)
   Cuadrícula de productos: boutique, joyería, florería, electrónica,
   papelería, muebles, mascotas, artesanías. Lista de precios: ferretería,
   barbería, estética y tarifario.
   ════════════════════════════════════════════════════════════════════════ */
:is(.t-boutique, .t-joyeria, .t-floreria, .t-electronica, .t-papeleria, .t-muebles, .t-mascotas, .t-artesanias) .items { grid-template-columns: 1fr 1fr; gap: .8rem; }
:is(.t-boutique, .t-joyeria, .t-floreria, .t-electronica, .t-papeleria, .t-muebles, .t-mascotas, .t-artesanias) .it { flex-direction: column; gap: 0; }
:is(.t-boutique, .t-joyeria, .t-floreria, .t-electronica, .t-papeleria, .t-muebles, .t-mascotas, .t-artesanias) .it-img { width: 100%; height: auto; aspect-ratio: 1; border-radius: 0; }
:is(.t-boutique, .t-joyeria, .t-floreria, .t-electronica, .t-papeleria, .t-muebles, .t-mascotas, .t-artesanias) .it-body { padding: .65rem .1rem .3rem; display: flex; flex-direction: column; width: 100%; }
:is(.t-boutique, .t-joyeria, .t-floreria, .t-electronica, .t-papeleria, .t-muebles, .t-mascotas, .t-artesanias) .it-top { flex-direction: column; align-items: flex-start; gap: .15rem; }
:is(.t-boutique, .t-joyeria, .t-floreria, .t-electronica, .t-papeleria, .t-muebles, .t-mascotas, .t-artesanias) .it-price { margin: .15rem 0 0; }
:is(.t-boutique, .t-joyeria, .t-floreria, .t-electronica, .t-papeleria, .t-muebles, .t-mascotas, .t-artesanias) .it-desc { font-size: .86rem; }
:is(.t-boutique, .t-joyeria, .t-floreria, .t-electronica, .t-papeleria, .t-muebles, .t-mascotas, .t-artesanias, .t-deportes, .t-sneakers) .it-ph { font-size: 2.4rem; font-family: var(--font-display); background: color-mix(in oklab, var(--text) 9%, var(--bg)); color: color-mix(in oklab, var(--text) 45%, var(--bg)); }
:is(.t-boutique, .t-electronica, .t-muebles) .wrap { width: min(64rem, 100% - 2rem); }
:is(.t-boutique, .t-electronica, .t-muebles) .nav ul { max-width: 66rem; }
@media (min-width: 36rem) {
  :is(.t-boutique, .t-joyeria, .t-floreria, .t-electronica, .t-papeleria, .t-muebles, .t-mascotas, .t-artesanias) .items { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 58rem) {
  :is(.t-joyeria, .t-floreria, .t-papeleria, .t-mascotas, .t-artesanias, .t-ferreteria, .t-barberia, .t-estetica, .t-tarifario) .sheet { width: min(64rem, 100% - 2rem); }
  :is(.t-boutique, .t-joyeria, .t-floreria, .t-electronica, .t-papeleria, .t-muebles, .t-mascotas, .t-artesanias) .items { grid-template-columns: repeat(4, 1fr); }
  :is(.t-ferreteria, .t-barberia, .t-estetica, .t-tarifario) .menu { columns: 2; column-gap: 3.5rem; }
}

/* ══ Boutique: editorial de moda ══ */
.t-boutique .head { padding: 2rem 0 1.8rem; }
.t-boutique .head h1 { font-weight: 400; text-transform: uppercase; letter-spacing: .3em; margin-right: -.3em; font-size: 1.7rem; line-height: 1.3; }
.t-boutique .head .tagline { font-family: var(--font-display); font-style: italic; font-size: 1.05rem; margin-top: .7rem; }
.t-boutique .nav { border-block: 1px solid var(--line); background: var(--bg); }
.t-boutique .nav a { text-transform: uppercase; letter-spacing: .18em; font-size: .72rem; font-weight: 400; border-radius: 0; }
.t-boutique .sec { margin-bottom: 3rem; }
.t-boutique .sec > h2 { font-style: italic; font-weight: 400; font-size: 2rem; text-align: center; color: var(--text); }
.t-boutique .sec > h2::after { content: ''; display: block; width: 2.5rem; height: 1px; background: var(--text); margin: .7rem auto 0; }
.t-boutique .sec > .sec-note { text-align: center; text-transform: uppercase; letter-spacing: .16em; font-size: .7rem; margin-top: .8rem; }
.t-boutique .items { gap: 1.4rem .8rem; margin-top: 1.5rem; }
.t-boutique .it-img { aspect-ratio: 3 / 4; }
.t-boutique .it-name { text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; font-weight: 600; }
.t-boutique .it-price { font-weight: 400; color: var(--text); font-size: .95rem; }
.t-boutique .it-tags li { border-radius: 0; text-transform: uppercase; letter-spacing: .08em; font-size: .64rem; }
.t-boutique .find input { border-radius: 0; }
.t-boutique .filters button { border-radius: 0; }

/* ══ Joyería: negro y dorado ══ */
.t-joyeria .sheet { padding: 1.8rem 0 1.2rem; }
.t-joyeria .sheet::before { content: ''; position: absolute; inset: .6rem; border: 1px solid var(--primary-text); opacity: .7; }
.t-joyeria .sheet > .wrap { margin-inline: clamp(1.6rem, 6vw, 3rem); }
.t-joyeria .nav ul { padding-inline: clamp(1.6rem, 6vw, 3rem); }
.t-joyeria .head { padding-top: 1.8rem; }
.t-joyeria .head h1 { font-style: italic; font-weight: 500; font-size: 2.7rem; line-height: 1.1; color: var(--primary-text); }
.t-joyeria .head .tagline { text-transform: uppercase; letter-spacing: .26em; margin-right: -.26em; font-size: .7rem; margin-top: .9rem; }
.t-joyeria .nav a { text-transform: uppercase; letter-spacing: .2em; font-size: .7rem; text-decoration: none; }
.t-joyeria .sec > h2 { text-align: center; text-transform: uppercase; letter-spacing: .3em; margin-right: -.3em; font-family: var(--font); font-weight: 400; font-size: .95rem; display: flex; align-items: center; justify-content: center; gap: .9rem; }
.t-joyeria .sec > h2::before, .t-joyeria .sec > h2::after { content: ''; width: .4rem; height: .4rem; background: var(--primary-text); transform: rotate(45deg); flex: none; }
.t-joyeria .sec > .sec-note { text-align: center; font-style: italic; margin-top: .6rem; }
.t-joyeria .items { gap: 1.3rem .8rem; margin-top: 1.4rem; }
.t-joyeria .it { text-align: center; }
.t-joyeria .it-img { border: 1px solid color-mix(in oklab, var(--primary-text) 55%, var(--bg)); }
.t-joyeria .it-top { align-items: center; }
.t-joyeria .it-name { font-family: var(--font-display); font-weight: 500; font-size: 1.05rem; }
.t-joyeria .it-price { font-family: var(--font-display); font-style: italic; font-weight: 500; }
.t-joyeria .it-tags { justify-content: center; }
.t-joyeria .it-tags li { border-radius: 0; border-color: color-mix(in oklab, var(--primary-text) 55%, var(--bg)); }

/* ══ Florería: salvia, rosa viejo y arcos ══ */
.t-floreria .sheet { border-radius: 1.4rem; padding-top: .6rem;
  background: radial-gradient(circle at 0 0, color-mix(in srgb, var(--primary) 20%, transparent) 0 5.5rem, transparent 5.6rem), radial-gradient(circle at 100% 7rem, color-mix(in srgb, var(--surface) 55%, transparent) 0 4.2rem, transparent 4.3rem), var(--bg); }
.t-floreria .head { padding-top: 2.2rem; }
.t-floreria .head h1 { font-weight: 400; font-size: 2.6rem; line-height: 1.08; letter-spacing: -.02em; }
.t-floreria .head .tagline { font-weight: 700; color: var(--primary-text); }
.t-floreria .nav a { text-decoration: none; font-weight: 700; border: 1.5px solid color-mix(in oklab, var(--surface) 80%, var(--text)); border-radius: 99px; padding: 0 .9rem; min-height: 2.4rem; margin: .2rem .15rem; }
.t-floreria .sec > h2 { font-weight: 500; font-size: 1.8rem; text-align: center; color: var(--text); }
.t-floreria .sec > h2::after { content: ''; display: block; height: .55rem; width: 5rem; margin: .35rem auto 0; background: var(--primary-text); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 10' preserveAspectRatio='none'%3E%3Cpath d='M0 5q5-7 10 0t10 0 10 0 10 0' fill='none' stroke='black' stroke-width='2'/%3E%3C/svg%3E") 0 0 / 2.5rem 100% repeat-x; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 10' preserveAspectRatio='none'%3E%3Cpath d='M0 5q5-7 10 0t10 0 10 0 10 0' fill='none' stroke='black' stroke-width='2'/%3E%3C/svg%3E") 0 0 / 2.5rem 100% repeat-x; }
.t-floreria .sec > .sec-note { text-align: center; margin-top: .5rem; }
.t-floreria .it-img { aspect-ratio: 4 / 5; border-radius: 50% 50% .9rem .9rem / 34% 34% .9rem .9rem; }
.t-floreria .it-name { font-weight: 800; }
.t-floreria .it-price { border: 1.5px solid currentColor; border-radius: 99px; padding: 0 .6rem; font-size: .92rem; line-height: 1.6; }

/* ══ Ferretería: amarillo y negro de obra ══ */
.t-ferreteria .sheet { padding-top: 1.1rem; border-bottom: .5rem solid var(--text); }
.t-ferreteria .sheet::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 1.1rem; background: repeating-linear-gradient(-45deg, var(--primary) 0 .9rem, var(--text) 0 1.8rem); }
.t-ferreteria .head { text-align: left; padding-top: 1.6rem; }
.t-ferreteria .head .logo { margin-left: 0; border-radius: 0; }
.t-ferreteria .head h1 { font-weight: 700; text-transform: uppercase; font-size: 2.5rem; line-height: 1; }
.t-ferreteria .head .tagline { display: inline-block; background: var(--text); color: var(--bg); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; padding: .3rem .7rem; margin-top: .7rem; }
.t-ferreteria .nav ul { justify-content: flex-start; }
.t-ferreteria .nav a { font-family: var(--font-display); text-transform: uppercase; letter-spacing: .06em; padding-inline: 0 1.1rem; }
.t-ferreteria .sec > h2 { background: var(--primary); color: var(--on-primary); font-weight: 600; text-transform: uppercase; font-size: 1.25rem; letter-spacing: .04em; padding: .45rem .8rem; border-left: .6rem solid var(--text); }
.t-ferreteria .sec > .sec-note { margin-top: .5rem; font-size: .85rem; }
.t-ferreteria .items { gap: 0; margin-top: .5rem; }
.t-ferreteria .it { padding: .6rem .6rem; border-bottom: 1px solid var(--line); }
.t-ferreteria .it:nth-child(even) { background: color-mix(in oklab, var(--text) 4%, var(--bg)); }
.t-ferreteria .it-name { font-weight: 700; text-transform: uppercase; font-size: .95rem; }
.t-ferreteria .it-price { font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace; font-weight: 700; font-size: 1.05rem; color: var(--text); }
.t-ferreteria .it-img { border-radius: 0; width: 3.6rem; height: 3.6rem; }
.t-ferreteria .it-tags li { border-radius: 0; }
.t-ferreteria .find input, .t-ferreteria .filters button { border-radius: 0; }

/* ══ Electrónica: oscuro con azul eléctrico ══ */
.t-electronica .head { text-align: left; padding: 1.6rem 0 1.5rem; }
.t-electronica .head .logo { margin-left: 0; }
.t-electronica .head h1 { font-weight: 800; font-size: 2.5rem; line-height: 1; letter-spacing: -.035em; }
.t-electronica .head h1::after { content: ''; display: block; width: 4.5rem; height: .28rem; border-radius: 99px; margin-top: .9rem; background: linear-gradient(90deg, var(--primary), #9B5CFF); }
.t-electronica .nav ul { justify-content: flex-start; }
.t-electronica .nav a { background: var(--surface); border: 1px solid var(--line); margin-right: .3rem; }
.t-electronica .sec > h2 { font-weight: 750; font-size: 1.5rem; letter-spacing: -.02em; color: var(--text); display: flex; align-items: center; gap: .6rem; }
.t-electronica .sec > h2::before { content: ''; width: .7rem; height: .7rem; border-radius: .2rem; background: linear-gradient(135deg, var(--primary), #9B5CFF); flex: none; }
.t-electronica .sec > .sec-note { margin-top: .4rem; }
.t-electronica .it { background: var(--surface); border: 1px solid var(--line); border-radius: 1rem; padding: .55rem; }
.t-electronica .it-img { border-radius: .65rem; }
.t-electronica .it-body { padding: .65rem .3rem .3rem; }
.t-electronica .it-name { font-weight: 650; font-size: 1rem; }
.t-electronica .it-price { font-size: 1.3rem; font-weight: 800; letter-spacing: -.02em; }

/* ══ Papelería y regalos: hoja cuadriculada y notas de colores ══ */
.t-papeleria .sheet { background: linear-gradient(rgb(70 140 210 / .16) 1px, transparent 1px) 0 0 / 1.1rem 1.1rem, linear-gradient(90deg, rgb(70 140 210 / .16) 1px, transparent 1px) 0 0 / 1.1rem 1.1rem, var(--bg); border-radius: .5rem; }
.t-papeleria .head { position: relative; padding-top: 2.6rem; }
.t-papeleria .head::before { content: ''; position: absolute; top: .7rem; left: 50%; width: 8rem; height: 1.5rem; margin-left: -4rem; transform: rotate(-3deg); opacity: .85; background: repeating-linear-gradient(45deg, var(--primary) 0 .5rem, color-mix(in oklab, var(--primary) 55%, #fff) 0 1rem); }
.t-papeleria .head h1 { font-weight: 800; font-size: 2.5rem; line-height: 1.05; }
.t-papeleria .nav a { text-decoration: none; font-weight: 700; background: var(--bg); border: 2px solid var(--text); border-radius: .5rem; padding: 0 .8rem; min-height: 2.3rem; margin: .2rem .15rem; }
.t-papeleria .sec > h2 { display: inline-block; font-weight: 800; font-size: 1.4rem; line-height: 1.15; color: #26303B; background: #FFE27A; padding: .45rem .9rem; transform: rotate(-1.5deg); box-shadow: .15rem .2rem .35rem rgb(0 0 0 / .18); }
.t-papeleria .sec:nth-of-type(4n + 2) > h2 { background: #A8E6CF; transform: rotate(1deg); }
.t-papeleria .sec:nth-of-type(4n + 3) > h2 { background: #FFB3BA; }
.t-papeleria .sec:nth-of-type(4n + 4) > h2 { background: #BDE0FE; transform: rotate(1.5deg); }
.t-papeleria .sec > .sec-note { margin-top: .7rem; }
.t-papeleria .it { background: var(--bg); border: 2px solid var(--text); border-radius: .8rem; overflow: hidden; }
.t-papeleria .it-body { padding: .65rem .7rem .75rem; }
.t-papeleria .it-name { font-weight: 800; }
.t-papeleria .it-price { font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; }
:root[data-contrast='high'].t-papeleria .sec > h2 { background: none; color: inherit; border: 2px solid var(--line); box-shadow: none; }

/* ══ Muebles y decoración: arena, madera y aire ══ */
.t-muebles .head { text-align: left; padding: 2.4rem 0 2rem; }
.t-muebles .head .logo { margin-left: 0; border-radius: 0; }
.t-muebles .head h1 { font-weight: 400; font-size: 2.9rem; line-height: 1; letter-spacing: -.035em; }
.t-muebles .head .tagline { font-size: 1.05rem; margin-top: .8rem; }
.t-muebles .nav ul { justify-content: flex-start; }
.t-muebles .nav a { font-weight: 500; padding-inline: 0 1.3rem; border-radius: 0; }
.t-muebles .nav a:hover { background: none; text-decoration: underline; }
.t-muebles .sec { margin-bottom: 3.5rem; }
.t-muebles .sec > h2 { font-weight: 400; font-size: 2.1rem; letter-spacing: -.03em; color: var(--text); }
.t-muebles .sec > .sec-note { margin-top: .3rem; }
.t-muebles .items { gap: 1.6rem 1rem; margin-top: 1.4rem; }
.t-muebles .it-img { aspect-ratio: 4 / 5; background: var(--surface); }
.t-muebles .it-ph { background: var(--surface); }
.t-muebles .it-name { font-weight: 500; font-size: 1rem; }
.t-muebles .it-price { font-weight: 400; color: var(--muted); }
.t-muebles .it-tags li { border-radius: 0; background: var(--surface); border-color: transparent; }

/* ══ Mascotas: naranja, turquesa y lunares ══ */
.t-mascotas .sheet { border-radius: 1.6rem; }
.t-mascotas .sheet > .wrap:first-child { margin: 0; padding: 2.2rem 1.25rem 2.7rem; color: var(--on-primary);
  background: radial-gradient(circle, rgb(255 255 255 / .28) 0 .3rem, transparent .32rem) 0 0 / 1.9rem 1.9rem, radial-gradient(circle, rgb(255 255 255 / .18) 0 .2rem, transparent .22rem) .95rem .95rem / 1.9rem 1.9rem, var(--primary);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 10' preserveAspectRatio='none'%3E%3Cpath d='M0 0h40v5q-5 7-10 0t-10 0-10 0-10 0z'/%3E%3C/svg%3E") bottom / 3rem 1rem repeat-x, linear-gradient(#000 0 0) top / 100% calc(100% - .95rem) no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 10' preserveAspectRatio='none'%3E%3Cpath d='M0 0h40v5q-5 7-10 0t-10 0-10 0-10 0z'/%3E%3C/svg%3E") bottom / 3rem 1rem repeat-x, linear-gradient(#000 0 0) top / 100% calc(100% - .95rem) no-repeat; }
.t-mascotas .head { padding: 0; }
.t-mascotas .head h1 { font-size: 2.6rem; line-height: 1.05; }
.t-mascotas .head .tagline, .t-mascotas .head .hours { color: inherit; font-weight: 700; }
.t-mascotas .nav a { text-decoration: none; font-weight: 800; }
.t-mascotas .sec > h2 { display: inline-block; background: var(--surface); color: var(--on-surface); font-size: 1.4rem; line-height: 1.1; padding: .4rem 1.1rem .35rem; border-radius: 99px; }
.t-mascotas .sec > .sec-note { margin-top: .6rem; }
.t-mascotas .it { border: 2px solid color-mix(in oklab, var(--surface) 40%, var(--bg)); border-radius: 1.2rem; overflow: hidden; }
.t-mascotas .it-body { padding: .65rem .75rem .8rem; }
.t-mascotas .it-name { font-weight: 800; }
.t-mascotas .it-price { background: var(--primary); color: var(--on-primary); border-radius: 99px; padding: 0 .7rem; font-weight: 800; margin-top: .35rem; }
:root[data-contrast='high'].t-mascotas .sheet > .wrap:first-child { background: none; -webkit-mask: none; mask: none; border-bottom: 2px solid var(--line); }
:root[data-contrast='high'].t-mascotas .it { border-color: var(--line); }

/* ══ Artesanías: cenefas de telar y tonos de barro ══ */
.t-artesanias .sheet { padding-block: 2.3rem 1.6rem; }
.t-artesanias .sheet::before, .t-artesanias .sheet::after { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 1.7rem;
  background: conic-gradient(from 135deg at 50% 0, #C8321E 90deg, transparent 0) 0 0 / 1.6rem .85rem repeat-x,
              conic-gradient(from 135deg at 50% 0, #E9A823 90deg, transparent 0) .8rem .45rem / 1.6rem .85rem repeat-x,
              conic-gradient(from 135deg at 50% 0, var(--primary) 90deg, transparent 0) 0 .85rem / 1.6rem .85rem repeat-x; }
.t-artesanias .sheet::after { top: auto; bottom: 0; transform: scaleY(-1); }
.t-artesanias .head h1 { font-weight: 700; font-size: 2.4rem; line-height: 1.08; }
.t-artesanias .head .tagline { font-style: italic; }
.t-artesanias .sec > h2 { font-weight: 650; text-transform: uppercase; letter-spacing: .14em; font-size: 1.15rem; display: flex; align-items: center; justify-content: center; gap: .7rem; text-align: center; }
.t-artesanias .sec > h2::before, .t-artesanias .sec > h2::after { content: ''; width: 0; height: 0; border-inline: .4rem solid transparent; border-bottom: .65rem solid var(--primary); flex: none; }
.t-artesanias .sec > .sec-note { text-align: center; font-style: italic; margin-top: .5rem; }
.t-artesanias .it { border-bottom: 2px dotted var(--line); padding-bottom: .5rem; }
.t-artesanias .it-img { border-radius: .4rem; }
.t-artesanias .it-name { font-weight: 700; }
.t-artesanias .it-price { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; }

/* ══ Barbería: franjas de poste y serif clásica ══ */
.t-barberia .sheet { padding-block: 2rem 1.6rem; }
.t-barberia .sheet::before, .t-barberia .sheet::after { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 1.1rem; background: repeating-linear-gradient(45deg, #B22234 0 .9rem, #FFFFFF 0 1.8rem, #1C2B4A 0 2.7rem, #FFFFFF 0 3.6rem); border-bottom: 2px solid var(--text); }
.t-barberia .sheet::after { top: auto; bottom: 0; border-bottom: 0; border-top: 2px solid var(--text); }
.t-barberia .head { padding-top: 1.2rem; }
.t-barberia .head h1 { font-weight: 900; text-transform: uppercase; letter-spacing: .06em; font-size: 2.1rem; line-height: 1.12; border-block: 3px double var(--text); padding: .7rem 0 .75rem; }
.t-barberia .head .tagline { font-style: italic; font-size: 1.05rem; margin-top: .9rem; }
.t-barberia .nav a { text-transform: uppercase; letter-spacing: .1em; font-size: .78rem; font-weight: 700; }
.t-barberia .sec > h2 { font-weight: 800; text-transform: uppercase; letter-spacing: .14em; font-size: 1.15rem; text-align: center; display: flex; align-items: center; gap: .9rem; color: var(--text); }
.t-barberia .sec > h2::before, .t-barberia .sec > h2::after { content: ''; flex: 1; min-width: 1.2rem; height: .4rem; border-block: 1px solid var(--primary-text); }
.t-barberia .sec > .sec-note { text-align: center; font-style: italic; margin-top: .5rem; }
.t-barberia .it-name { font-weight: 700; font-size: 1.08rem; }
.t-barberia .it-dots { display: block; border-bottom-color: var(--text); opacity: .45; }
.t-barberia .it-price { margin-left: 0; font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; }
.t-barberia .it-desc { font-style: italic; }
.t-barberia .it-tags li { border-radius: 0; }

/* ══ Estética y uñas: lila, rosa y formas redondas ══ */
.t-estetica .sheet { border-radius: 2rem; }
.t-estetica .head { position: relative; isolation: isolate; padding: 2.6rem 0 2.2rem; }
.t-estetica .head::before { content: ''; position: absolute; z-index: -1; left: 50%; top: .9rem; width: 9rem; height: 9rem; margin-left: -4.5rem; border-radius: 50%; border: 1.5px solid color-mix(in oklab, var(--primary) 45%, var(--bg)); background: color-mix(in oklab, var(--primary) 7%, var(--bg)); }
.t-estetica .head h1 { font-style: italic; font-weight: 500; font-size: 2.5rem; line-height: 1.12; }
.t-estetica .head .tagline { text-transform: uppercase; letter-spacing: .2em; margin-right: -.2em; font-size: .72rem; font-weight: 700; margin-top: .9rem; }
.t-estetica .nav a { text-decoration: none; font-weight: 700; background: color-mix(in oklab, var(--primary) 9%, var(--bg)); border-radius: 99px; padding: 0 .9rem; min-height: 2.4rem; margin: .2rem .15rem; }
.t-estetica .sec > h2 { font-style: italic; font-weight: 500; font-size: 1.75rem; display: flex; align-items: center; gap: .6rem; }
.t-estetica .sec > h2::before { content: ''; width: .7rem; height: .7rem; border-radius: 50%; border: 2px solid var(--primary-text); flex: none; }
.t-estetica .sec > .sec-note { margin-top: .4rem; }
.t-estetica .items { gap: .55rem; }
.t-estetica .it { background: color-mix(in oklab, var(--primary) 7%, var(--bg)); border-radius: 1.1rem; padding: .75rem .95rem; }
.t-estetica .it-name { font-weight: 800; }
.t-estetica .it-price { font-weight: 800; }
.t-estetica .it-note { font-style: normal; font-weight: 700; }
.t-estetica .it-img { border-radius: 50%; }
:root[data-contrast='high'].t-estetica .it { background: none; border: 2px solid var(--line); }

/* ══ Lista de precios: hoja limpia tipo documento ══ */
.t-tarifario .sheet { border-radius: .8rem; border-top: .5rem solid var(--primary); box-shadow: 0 .3rem 1.2rem rgb(0 0 0 / .12); }
.t-tarifario .head { text-align: left; padding: 1.8rem 0 1.4rem; border-bottom: 1px solid var(--line); }
.t-tarifario .head .logo { margin-left: 0; width: 4rem; height: 4rem; border-radius: .6rem; }
.t-tarifario .head h1 { font-weight: 750; font-size: 2rem; line-height: 1.1; letter-spacing: -.025em; }
.t-tarifario .nav ul { justify-content: flex-start; padding-top: .5rem; }
.t-tarifario .nav a { padding-inline: 0 1.1rem; font-weight: 600; }
.t-tarifario .sec > h2 { font-family: var(--font); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: .85rem; border-bottom: 2px solid var(--primary-text); padding-bottom: .4rem; }
.t-tarifario .sec > .sec-note { margin-top: .5rem; font-size: .88rem; }
.t-tarifario .items { gap: 0; margin-top: .3rem; }
.t-tarifario .it { padding: .8rem 0; border-bottom: 1px solid var(--line); }
.t-tarifario .it-name { font-weight: 650; }
.t-tarifario .it-price { color: var(--text); font-weight: 700; }
.t-tarifario .it-note { font-style: normal; }
.t-tarifario .it-img { border-radius: .5rem; }
.t-tarifario .it-tags li { border-radius: .35rem; }

@media (min-width: 58rem) { .t-deportes .items, .t-sneakers .items { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 36rem) and (max-width: 57.99rem) { .t-deportes .items, .t-sneakers .items { grid-template-columns: repeat(3, 1fr); } }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media print {
  .tools, .nav, .find, .preview-note a { color: inherit; }
.preview-note { display: none !important; }
  body { background: #fff; color: #000; }
}

/* ── Pedidos: botón Agregar, barra del pedido y ventana del carrito ──
   Usa solo las variables comunes, así se ve bien en todas las plantillas y en alto contraste. */
.it-add {
  display: inline-flex; align-items: center; gap: .4rem; margin-top: .55rem; min-height: 2.6rem; padding: 0 1rem;
  border-radius: 99px; border: 1.5px solid var(--primary); background: transparent; color: var(--primary-text);
  font: 700 .9rem/1 var(--font); cursor: pointer;
}
.it-add:hover, .it-add.in-cart { background: var(--primary); color: var(--on-primary); }
.it-add::before { content: '+'; font-size: 1.15rem; line-height: 0; }
.it-qty { min-width: 1.4rem; height: 1.4rem; padding: 0 .35rem; border-radius: 99px; background: var(--on-primary); color: var(--primary); font-size: .8rem; display: inline-grid; place-items: center; }
.it-qty[hidden] { display: none; }
:root.has-cart body { padding-bottom: 5.5rem; }

.cartbar { position: fixed; inset: auto 0 0; z-index: 30; padding: .75rem 1rem calc(.75rem + env(safe-area-inset-bottom)); pointer-events: none; }
.cartbar[hidden] { display: none; }
.cartbar-btn {
  pointer-events: auto; display: flex; align-items: center; gap: .75rem; width: min(30rem, 100%); margin-inline: auto; min-height: 3.4rem;
  padding: 0 .75rem 0 .6rem; border: 0; border-radius: 99px; background: var(--primary); color: var(--on-primary);
  font: 700 1rem/1 var(--font); cursor: pointer; box-shadow: 0 10px 28px -8px rgb(0 0 0 / .45);
}
.cartbar-count { min-width: 2.2rem; height: 2.2rem; border-radius: 99px; display: grid; place-items: center; background: var(--on-primary); color: var(--primary); }
.cartbar-total { margin-left: auto; font-variant-numeric: tabular-nums; }

.cart {
  width: min(32rem, 100%); max-height: min(92vh, 100dvh); margin: auto auto 0; padding: 0; border: 0; border-radius: 1.25rem 1.25rem 0 0;
  background: var(--bg); color: var(--text); font: 400 1rem/1.45 var(--font); overflow: auto; overscroll-behavior: contain;
}
.cart::backdrop { background: rgb(0 0 0 / .55); }
@media (min-width: 40rem) { .cart { margin: auto; border-radius: 1.25rem; } }
.cart-head { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.1rem .75rem; background: var(--bg); border-bottom: 1px solid var(--line); }
.cart-head h2 { font-size: 1.25rem; }
.cart-x { width: 2.75rem; height: 2.75rem; display: grid; place-items: center; border-radius: 99px; border: 1.5px solid var(--line); background: transparent; color: inherit; cursor: pointer; }
.cart-x svg { width: 1.2rem; height: 1.2rem; }
.cart-body { padding: .9rem 1.1rem 1.25rem; }
.cart-body[hidden] { display: none; }
.cart-lines { list-style: none; display: grid; gap: .7rem; }
.cart-line { display: grid; grid-template-columns: 1fr auto; grid-template-areas: 'name price' 'qty qty'; gap: .35rem .75rem; padding-bottom: .7rem; border-bottom: 1px solid var(--line); }
.cl-name { grid-area: name; font-weight: 600; overflow-wrap: anywhere; }
.cl-price { grid-area: price; font-variant-numeric: tabular-nums; font-weight: 600; }
.cl-qty { grid-area: qty; display: inline-flex; align-items: center; gap: .25rem; }
.cl-qty button { width: 2.5rem; height: 2.5rem; border-radius: 99px; border: 1.5px solid var(--line); background: transparent; color: inherit; font: 700 1.15rem/1 var(--font); cursor: pointer; }
.cl-qty output { min-width: 2rem; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }
.cart-empty { color: var(--muted); padding: .5rem 0 1rem; }
.cart-empty[hidden], .cart-sum[hidden], .cart-form[hidden] { display: none; }
.cart-sum { margin: .8rem 0 .4rem; display: grid; gap: .25rem; }
.cart-sum div { display: flex; justify-content: space-between; }
.cart-sum div[hidden] { display: none; }
.cart-sum dd { margin: 0; font-variant-numeric: tabular-nums; }
.cart-total { font-weight: 800; font-size: 1.15rem; }
.cart-msg { font-size: .9rem; color: var(--muted); margin-top: .35rem; }
.cart-form { display: grid; gap: .85rem; margin-top: 1rem; }
.cf { display: grid; gap: .3rem; border: 0; padding: 0; margin: 0; min-width: 0; }
.cf[hidden] { display: none; }
.cf label, .cf legend { font-weight: 600; font-size: .95rem; padding: 0; }
.cf-opt { font-weight: 400; color: var(--muted); }
.cf input:not([type=radio]), .cf textarea {
  width: 100%; min-height: 2.9rem; padding: .55rem .8rem; font: inherit; color: var(--text);
  background: color-mix(in oklab, var(--bg) 92%, var(--text)); border: 1.5px solid color-mix(in oklab, var(--text) 32%, var(--bg)); border-radius: .7rem;
}
.cf textarea { resize: vertical; }
.cf [aria-invalid='true'] { border-color: #C62828; box-shadow: 0 0 0 2px rgb(198 40 40 / .25); }
.cf-options { display: flex; flex-wrap: wrap; gap: .5rem; }
.cf-options label { display: inline-flex; align-items: center; gap: .45rem; min-height: 2.75rem; padding: 0 .9rem; border: 1.5px solid var(--line); border-radius: 99px; font-weight: 500; cursor: pointer; }
.cf-options label:has(input:checked) { border-color: var(--primary); box-shadow: inset 0 0 0 1px var(--primary); }
.cf-options input { accent-color: var(--primary); width: 1.1rem; height: 1.1rem; }
.cf-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cart-error { background: #FDECEA; color: #8A1C1C; border-radius: .6rem; padding: .6rem .8rem; font-weight: 600; font-size: .92rem; }
.cart-error[hidden] { display: none; }
.cart-send {
  display: flex; align-items: center; justify-content: center; width: 100%; min-height: 3.2rem; padding: 0 1rem; border: 0; border-radius: 99px;
  background: #1F8F4E; color: #FFFFFF; font: 800 1.02rem/1.1 var(--font); text-decoration: none; cursor: pointer; text-align: center;
}
.cart-send:hover { background: #18773F; }
.cart-send[disabled] { opacity: .65; cursor: progress; }
.cart-fine { font-size: .82rem; color: var(--muted); text-align: center; }
.cart-done { text-align: center; display: grid; gap: .8rem; justify-items: center; padding-top: 1.5rem; }
.cart-done h3 { font-size: 1.35rem; outline: none; }
.cart-done-mark { width: 3.5rem; height: 3.5rem; border-radius: 99px; display: grid; place-items: center; background: #1F8F4E; color: #FFF; font-size: 1.8rem; font-weight: 800; }
.cart-link { background: none; border: 0; color: inherit; text-decoration: underline; font: 600 .95rem var(--font); padding: .6rem; cursor: pointer; min-height: 2.75rem; }
:root[data-contrast='high'] .cart-send, :root[data-contrast='high'] .cart-done-mark { background: var(--primary); color: var(--on-primary); }
@media (prefers-reduced-motion: no-preference) {
  .cart[open] { animation: cart-in .22s ease-out; }
  @keyframes cart-in { from { transform: translateY(1.5rem); opacity: 0; } }
}
@media print { .cartbar, .it-add, .cart { display: none !important; } }
