/* KittApp — Plantillas de carta "NT" (11-13). Solo presentación: tokens + layout sobre las mismas
   clases del motor (prod-card, prod-img, prod-body…). Cada plantilla: paleta natural + su modo opuesto
   (.cdk = oscuro para las claras · .clt = claro para las oscuras). Iconos de línea, sin emojis. */
body.nt { background:var(--bg); color:var(--dark); }
body.nt .nti { width:22px; height:22px; stroke:currentColor; fill:none; stroke-width:1.5; stroke-linecap:round; stroke-linejoin:round; }
body.nt .prod-line { background:var(--c-rule); }
body.nt .prod-emoji { font-size:0; background:var(--c-tile); }
body.nt .prod-emoji::after { content:''; width:34%; height:34%; background:var(--c-soft); opacity:.55;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m16 2-2.3 2.3a3 3 0 0 0 0 4.2l1.8 1.8a3 3 0 0 0 4.2 0L22 8'/%3E%3Cpath d='M15 15 3.3 3.3a4.2 4.2 0 0 0 0 6l7.3 7.3c.7.7 2 .7 2.8 0L15 15Zm0 0 7 7'/%3E%3Cpath d='m2.1 21.8 6.4-6.3'/%3E%3Cpath d='m19 5-7 7'/%3E%3C/svg%3E") center/contain no-repeat;
          mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m16 2-2.3 2.3a3 3 0 0 0 0 4.2l1.8 1.8a3 3 0 0 0 4.2 0L22 8'/%3E%3Cpath d='M15 15 3.3 3.3a4.2 4.2 0 0 0 0 6l7.3 7.3c.7.7 2 .7 2.8 0L15 15Zm0 0 7 7'/%3E%3Cpath d='m2.1 21.8 6.4-6.3'/%3E%3Cpath d='m19 5-7 7'/%3E%3C/svg%3E") center/contain no-repeat; }
body.nt .prod-desc { -webkit-line-clamp:3; }

/* ── Bloque destacado (Zona Estrella, máx. 4) ── */
.nt-feat { padding:18px 16px 4px; }
.nt-feat-k { font-size:10.5px; font-weight:800; letter-spacing:2.6px; text-transform:uppercase; color:var(--accent); margin:0 4px 10px; font-family:var(--c-head); }
.nt-feat-row { display:flex; gap:10px; overflow-x:auto; scrollbar-width:none; padding-bottom:4px; }
.nt-feat-row::-webkit-scrollbar { display:none; }
.nt-fcard { flex:0 0 72%; max-width:300px; position:relative; border:1px solid var(--c-rule); background:var(--c-card); border-radius:var(--c-radius); overflow:hidden; text-align:left; cursor:pointer; padding:0; color:var(--dark); font:inherit; }
.nt-fcard img { width:100%; aspect-ratio:16/10; object-fit:cover; display:block; }
.nt-fbody { display:flex; flex-direction:column; gap:3px; padding:12px 14px 14px; }
.nt-fname { font-weight:800; font-size:15px; font-family:var(--c-head); }
.nt-fdesc { font-size:12px; color:var(--c-soft); line-height:1.4; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.nt-fprice { font-weight:800; color:var(--accent); margin-top:4px; }
.nt-k { font-size:11px; font-weight:800; letter-spacing:3px; text-transform:uppercase; color:var(--c-soft); text-align:center; margin:22px 0 4px; font-family:var(--c-head); }

/* ── Navegación de categorías ── */
.nt-tabs { position:sticky; top:0; z-index:60; background:var(--bg); border-bottom:1px solid var(--c-rule); margin-top:12px; }
.nt-tabs-row { display:flex; gap:6px; overflow-x:auto; padding:10px 14px; scrollbar-width:none; }
.nt-tabs-row::-webkit-scrollbar { display:none; }
.nt-tabs .nt-tab { flex:none; border:1px solid var(--c-rule); background:transparent; color:var(--c-soft); border-radius:var(--c-pill); padding:8px 14px; font-weight:700; font-size:13px; line-height:1; font-family:inherit; cursor:pointer; white-space:nowrap; }
.nt-tabs .nt-tab.on { background:var(--dark); color:var(--bg); border-color:var(--dark); }
.nt-stories { display:flex; gap:14px; overflow-x:auto; padding:16px 16px 6px; scrollbar-width:none; }
.nt-stories::-webkit-scrollbar { display:none; }
.nt-story { flex:none; display:flex; flex-direction:column; align-items:center; gap:6px; border:none; background:none; cursor:pointer; color:var(--dark); width:70px; font-family:inherit; }
.nt-ring { width:64px; height:64px; border-radius:50%; padding:3px; background:conic-gradient(var(--accent), #f7d26b, #9fd3b4, var(--accent)); display:grid; place-items:center; }
.nt-ring img { width:100%; height:100%; border-radius:50%; object-fit:cover; border:3px solid var(--bg); }
.nt-ring .nti { width:100%; height:100%; border-radius:50%; background:var(--c-card); border:3px solid var(--bg); padding:14px; box-sizing:border-box; }
.nt-story.on .nt-ring { background:var(--dark); }
.nt-sname { font-size:11px; font-weight:700; text-align:center; line-height:1.2; }
.nt-index { display:grid; grid-template-columns:1fr 1fr; gap:10px; padding:10px 16px 6px; }
.nt-ix { display:flex; flex-direction:column; align-items:center; gap:10px; padding:20px 10px 14px; border:1px solid var(--c-rule); background:var(--c-card); border-radius:var(--c-radius); cursor:pointer; color:var(--dark); position:relative; font-family:inherit; }
.nt-ix .nt-ixic { width:46px; height:46px; stroke-width:1.2; color:var(--accent); }
.nt-ixname { font-family:var(--c-head); font-weight:700; font-size:15px; text-align:center; }
.nt-ixn { position:absolute; top:8px; right:10px; font-size:10.5px; font-weight:700; color:var(--c-soft); }
.nt-ix.on { border-color:var(--accent); box-shadow:0 0 0 1px var(--accent) inset; }
.nt-side { position:fixed; left:max(0px, calc(50% - 240px)); top:0; bottom:0; width:48px; z-index:55; background:var(--c-tile); border-right:1px solid var(--c-rule); }
.nt-side .nt-tabs-row { flex-direction:column; align-items:center; justify-content:center; gap:22px; height:100%; overflow-y:auto; padding:0; }
.nt-side .nt-tab { writing-mode:vertical-rl; transform:rotate(180deg); border:none; background:none; color:var(--c-soft); font-weight:700; font-size:11.5px; line-height:1; font-family:inherit; letter-spacing:2px; text-transform:uppercase; cursor:pointer; padding:6px 0; }
.nt-side .nt-tab.on { color:var(--accent); }
.nt-side .nt-tab.on::before { content:''; display:block; width:2px; height:20px; background:var(--accent); margin:0 auto 8px; }
body.nt-omakase #menu-container, body.nt-omakase .header { padding-left:48px; }

/* ── Cabecera de categoría (foto o banner) ── */
.nt-hero { display:none; position:relative; margin:14px 16px 0; border-radius:var(--c-radius); overflow:hidden; }
.nt-hero img { width:100%; aspect-ratio:16/8; object-fit:cover; display:block; filter:brightness(.62); }
.nt-hero span { position:absolute; left:16px; bottom:12px; color:#fff; font-family:var(--c-head); font-size:40px; line-height:.95; text-transform:uppercase; letter-spacing:1px; }
.nt-hero:not(:has(img)) { background:var(--accent); min-height:110px; }

/* ── Buscar flotante ── */
#nt-fab { position:fixed; z-index:180; left:max(16px, calc(50% - 224px)); bottom:96px; display:flex; flex-direction:row-reverse; align-items:center; gap:8px; }
.nt-fbtn { width:44px !important; height:44px !important; }
.nt-fbtn { width:46px; height:46px; border-radius:50%; border:1px solid var(--c-rule); background:var(--c-card); color:var(--dark); display:grid; place-items:center; box-shadow:0 8px 22px rgba(0,0,0,.18); cursor:pointer; }
.nt-search { width:0; overflow:hidden; transition:width .25s ease; }
.nt-search.on { width:min(64vw, 280px); }
.nt-search input { width:100%; border:1px solid var(--c-rule); background:var(--c-card); color:var(--dark); border-radius:99px; padding:12px 16px; font-weight:600; font-size:14px; font-family:inherit; outline:none; box-shadow:0 8px 22px rgba(0,0,0,.14); }
.nt-empty { text-align:center; color:var(--c-soft); padding:30px 10px; font-size:14px; }

/* ═════════════ 1 · MAÎTRE — alta cocina (claro hueso/borgoña · oscuro carbón/champaña) ═════════════ */
body.nt-maitre { --bg:#f6f1e7; --dark:#221c17; --c-card:#f6f1e7; --c-rule:#d6cab6; --c-soft:#7a6c5b; --accent:var(--pg-accent-ov,#7a2632);
  --c-head:'Cormorant Garamond',Georgia,serif; --c-radius:0px; --c-radius-sm:0px; --c-pill:0px; --c-shadow:none; --c-card-border:0px;
  --white:#f6f1e7; --border:#d6cab6; --c-tile:#efe7d8; --c-header:#f6f1e7; --c-btn-bg:#221c17; --c-btn-fg:#f6f1e7; --c-sheet:#f8f4ec; --light:#efe7d8; --c-fade0:rgba(246,241,231,0); --c-fade1:rgba(246,241,231,.98); }
body.nt-maitre.cdk { --bg:#141210; --dark:#efe6d6; --c-card:#141210; --c-rule:#3a332b; --c-soft:#ab9f8c; --accent:var(--pg-accent-ov,#d6b87a);
  --white:#141210; --border:#3a332b; --c-tile:#1c1915; --c-header:#141210; --c-btn-bg:#d6b87a; --c-btn-fg:#141210; --c-sheet:#1a1714; --light:#1c1915; --c-fade0:rgba(20,18,16,0); --c-fade1:rgba(20,18,16,.98); }
body.nt-maitre .restaurant-name { font-weight:600; text-transform:none; font-size:34px; letter-spacing:.3px; }
body.nt-maitre .nt-tabs .nt-tab { border:none; text-transform:uppercase; letter-spacing:2px; font-size:11px; font-family:Inter,system-ui,sans-serif; padding:8px 10px; }
body.nt-maitre .nt-tabs .nt-tab.on { background:none; color:var(--accent); box-shadow:inset 0 -1.5px 0 var(--accent); border-radius:0; }
body.nt-maitre .nt-feat-row { flex-direction:column; border:1px solid var(--accent); padding:16px 16px 6px; overflow:visible; }
body.nt-maitre .nt-feat-k { text-align:center; font-family:Inter,system-ui,sans-serif; }
body.nt-maitre .nt-fcard { flex:none; max-width:none; border:none; background:none; display:block; }
body.nt-maitre .nt-fcard img { display:none; }
body.nt-maitre .nt-fbody { display:grid; grid-template-columns:auto 1fr auto; grid-template-areas:"n dots p" "d d d"; padding:0 0 12px; column-gap:6px; }
body.nt-maitre .nt-fbody::before { content:''; grid-area:dots; border-bottom:1px dotted var(--c-soft); transform:translateY(-6px); align-self:end; }
body.nt-maitre .nt-fname { grid-area:n; font-size:19px; font-weight:600; } body.nt-maitre .nt-fprice { grid-area:p; color:var(--dark); font-family:var(--c-head); font-size:18px; margin:0; }
body.nt-maitre .nt-fdesc { grid-area:d; font-style:italic; font-family:var(--c-head); font-size:14.5px; }
body.nt-maitre .prod-list { padding:0 26px; }
body.nt-maitre .prod-card { background:none; padding:12px 0; margin:0; border-bottom:1px solid var(--c-rule); }
body.nt-maitre .prod-card .prod-img, body.nt-maitre .prod-card .prod-emoji, body.nt-maitre .prod-btn { display:none; }
body.nt-maitre .prod-body { display:grid; grid-template-columns:auto 1fr auto; grid-template-areas:"b b b" "n dots p" "d d d"; column-gap:6px; }
body.nt-maitre .prod-body::before { content:''; grid-area:dots; border-bottom:1px dotted var(--c-soft); transform:translateY(-7px); align-self:end; }
body.nt-maitre .prod-foot { display:contents; }
body.nt-maitre .prod-badge { grid-area:b; justify-self:start; background:none; border:none; padding:0; color:var(--accent); letter-spacing:2px; font-family:Inter,system-ui,sans-serif; }
body.nt-maitre .prod-name { grid-area:n; font-size:20px; font-weight:600; margin:0; }
body.nt-maitre .prod-price { grid-area:p; color:var(--dark); font-family:var(--c-head); font-size:19px; font-weight:600; }
body.nt-maitre .prod-desc { grid-area:d; font-family:var(--c-head); font-style:italic; font-size:15px; margin:2px 0 0; -webkit-line-clamp:4; }
body.nt-maitre .prod-title { font-family:Inter,system-ui,sans-serif; letter-spacing:3px; font-size:11px; color:var(--c-soft); }

/* ═════════════ 2 · OMAKASE — sushi / nikkei (washi + bermellón) ═════════════ */
body.nt-omakase { --bg:#f3f0ea; --dark:#1d1d1f; --c-card:#fff; --c-rule:#e2dccf; --c-soft:#8b857a; --accent:var(--pg-accent-ov,#c8372d);
  --c-head:'Noto Serif JP',Georgia,serif; --c-radius:14px; --c-radius-sm:12px; --c-shadow:none; --c-card-border:0px; --white:#fff; --border:#e2dccf;
  --c-tile:#e9e3d6; --c-header:#f3f0ea; --c-btn-bg:#1d1d1f; --c-btn-fg:#fff; --c-sheet:#fbf9f5; --light:#ebe6dc; --c-fade0:rgba(243,240,234,0); --c-fade1:rgba(243,240,234,.98); }
body.nt-omakase.cdk { --bg:#0e1114; --dark:#ebe8e1; --c-card:#161a1f; --c-rule:#262c33; --c-soft:#98a0a9; --accent:var(--pg-accent-ov,#e0574b);
  --white:#161a1f; --border:#262c33; --c-tile:#1a1f25; --c-header:#0e1114; --c-btn-bg:#e0574b; --c-btn-fg:#fff; --c-sheet:#13171b; --light:#13171b; --c-fade0:rgba(14,17,20,0); --c-fade1:rgba(14,17,20,.98); }
body.nt-omakase .restaurant-name { letter-spacing:3px; }
body.nt-omakase .prod-list { display:grid; grid-template-columns:1fr 1fr; gap:14px 12px; }
body.nt-omakase .prod-card { flex-direction:column; padding:0; margin:0; background:none; gap:8px; }
body.nt-omakase .prod-img, body.nt-omakase .prod-emoji { width:100%; height:auto; aspect-ratio:1; border-radius:12px; }
body.nt-omakase .prod-emoji { background:var(--c-tile) repeating-linear-gradient(45deg,transparent 0 9px,color-mix(in srgb,var(--accent) 10%,transparent) 9px 10px); }
body.nt-omakase .prod-name { font-size:14px; } body.nt-omakase .prod-desc { font-size:11.5px; -webkit-line-clamp:3; }
body.nt-omakase .prod-price { font-size:14px; color:var(--dark); } body.nt-omakase .prod-btn { display:none; }
body.nt-omakase .subcat-divider { grid-column:1/-1; }

/* ═════════════ 3 · MIXOLOGÍA — bar de cócteles (botella + latón · claro crema) ═════════════ */
body.nt-mixologia { --bg:#0f1a16; --dark:#ece6d6; --c-card:#16241f; --c-rule:#253730; --c-soft:#8fa197; --accent:var(--pg-accent-ov,#d4b46a);
  --c-head:'Playfair Display',Georgia,serif; --c-radius:18px; --c-radius-sm:12px; --c-shadow:none; --c-card-border:1px; --white:#16241f; --border:#253730;
  --c-tile:#0f1a16; --c-header:#0f1a16; --c-btn-bg:#d4b46a; --c-btn-fg:#0f1a16; --c-sheet:#13201b; --light:#13201b; --c-fade0:rgba(15,26,22,0); --c-fade1:rgba(15,26,22,.98); }
body.nt-mixologia.clt { --bg:#f6f1e6; --dark:#16241f; --c-card:#fff; --c-rule:#e2d8c4; --c-soft:#5f7268; --accent:var(--pg-accent-ov,#1f5a45);
  --white:#fff; --border:#e2d8c4; --c-tile:#eee6d4; --c-header:#f6f1e6; --c-btn-bg:#16241f; --c-btn-fg:#f6f1e6; --c-sheet:#fff; --light:#eee6d4; --c-fade0:rgba(246,241,230,0); --c-fade1:rgba(246,241,230,.98); }
body.nt-mixologia .prod-card { border-color:var(--c-rule); }
body.nt-mixologia .prod-card.prod-featured { border-color:var(--accent); box-shadow:0 0 0 1px color-mix(in srgb,var(--accent) 30%,transparent), 0 10px 30px color-mix(in srgb,var(--accent) 12%,transparent); }
body.nt-mixologia .prod-emoji::after { opacity:.9; background:var(--accent);
  -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 22h8'/%3E%3Cpath d='M12 11v11'/%3E%3Cpath d='m19 3-7 8-7-8Z'/%3E%3C/svg%3E");
          mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 22h8'/%3E%3Cpath d='M12 11v11'/%3E%3Cpath d='m19 3-7 8-7-8Z'/%3E%3C/svg%3E"); width:42%; height:42%; }
body.nt-mixologia .nt-tabs .nt-tab.on { background:var(--accent); color:var(--bg); border-color:var(--accent); }
body.nt-mixologia .prod-name { font-size:17px; }

/* ═════════════ 4 · BRASA — parrilla (carbón + cobre · claro arena) ═════════════ */
body.nt-brasa { --bg:#121010; --dark:#efe7df; --c-card:#1c1817; --c-rule:#2e2724; --c-soft:#9a8f88; --accent:var(--pg-accent-ov,#c2643a);
  --c-head:'Bebas Neue',Impact,sans-serif; --c-radius:12px; --c-radius-sm:10px; --c-pill:8px; --c-shadow:none; --c-card-border:0px; --white:#1c1817; --border:#2e2724;
  --c-tile:#1c1817; --c-header:#121010; --c-btn-bg:#c2643a; --c-btn-fg:#fff; --c-sheet:#181414; --light:#181414; --c-fade0:rgba(18,16,16,0); --c-fade1:rgba(18,16,16,.98); }
body.nt-brasa.clt { --bg:#f2ece4; --dark:#1b1513; --c-card:#fbf7f1; --c-rule:#ddd2c5; --c-soft:#7d6e64; --accent:var(--pg-accent-ov,#a94e25);
  --white:#fbf7f1; --border:#ddd2c5; --c-tile:#eae1d5; --c-header:#f2ece4; --c-btn-bg:#1b1513; --c-btn-fg:#fff; --c-sheet:#fbf7f1; --light:#eae1d5; --c-fade0:rgba(242,236,228,0); --c-fade1:rgba(242,236,228,.98); }
body.nt-brasa .restaurant-name { font-size:40px; font-weight:400; letter-spacing:2px; }
body.nt-brasa .nt-tabs .nt-tab { border:none; font-family:'Bebas Neue',Impact,sans-serif; font-size:18px; font-weight:400; letter-spacing:1.5px; padding:6px 8px; }
body.nt-brasa .nt-tabs .nt-tab.on { background:none; color:var(--accent); box-shadow:inset 0 -2px 0 var(--accent); border-radius:0; }
body.nt-brasa .nt-fname { font-size:22px; font-weight:400; letter-spacing:1px; }
body.nt-brasa .prod-list { padding:0; }
body.nt-brasa .prod-card { background:none; border-radius:0; margin:0; padding:14px 18px; border-bottom:1px solid var(--c-rule); }
body.nt-brasa .prod-img, body.nt-brasa .prod-emoji, body.nt-brasa .prod-btn { display:none; }
body.nt-brasa .prod-name { font-family:Inter,system-ui,sans-serif; font-weight:700; font-size:15px; }
body.nt-brasa .prod-body { display:grid; grid-template-columns:1fr auto; grid-template-areas:"b p" "n p" "d p"; column-gap:14px; }
body.nt-brasa .prod-foot { display:contents; } body.nt-brasa .prod-badge { grid-area:b; justify-self:start; } body.nt-brasa .prod-name { grid-area:n; }
body.nt-brasa .prod-desc { grid-area:d; margin:0; } body.nt-brasa .prod-price { grid-area:p; align-self:center; color:var(--dark); font-size:15px; }
body.nt-brasa .prod-header { display:none; }

/* ═════════════ 5 · PANADERÍA — vitrina cálida (crema + caramelo · oscuro espresso) ═════════════ */
body.nt-panaderia { --bg:#fbf6ee; --dark:#3a2a1e; --c-card:#fff; --c-rule:#efe2cd; --c-soft:#9a8470; --accent:var(--pg-accent-ov,#c67c2e);
  --c-head:'Fraunces',Georgia,serif; --c-radius:20px; --c-radius-sm:14px; --c-shadow:0 4px 14px rgba(120,80,40,.08); --c-card-border:0px; --white:#fff; --border:#efe2cd;
  --c-tile:#f3e6d2; --c-header:#fbf6ee; --c-btn-bg:#3a2a1e; --c-btn-fg:#fbf6ee; --c-sheet:#fffdf9; --light:#f6ecdd; --c-fade0:rgba(251,246,238,0); --c-fade1:rgba(251,246,238,.98); }
body.nt-panaderia.cdk { --bg:#1b1512; --dark:#f4e9db; --c-card:#251d18; --c-rule:#3a2e26; --c-soft:#b9a28c; --accent:var(--pg-accent-ov,#e0a15e);
  --white:#251d18; --border:#3a2e26; --c-tile:#2c231d; --c-header:#1b1512; --c-btn-bg:#e0a15e; --c-btn-fg:#1b1512; --c-sheet:#211a16; --light:#211a16; --c-shadow:none; --c-fade0:rgba(27,21,18,0); --c-fade1:rgba(27,21,18,.98); }
body.nt-panaderia .prod-list { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
body.nt-panaderia .prod-card { flex-direction:column; padding:8px; margin:0; gap:8px; }
body.nt-panaderia .prod-img, body.nt-panaderia .prod-emoji { width:100%; height:auto; aspect-ratio:4/5; border-radius:14px; }
body.nt-panaderia .prod-body { padding:0 4px 4px; } body.nt-panaderia .prod-name { font-size:15px; font-weight:700; }
body.nt-panaderia .prod-desc { font-size:11.5px; } body.nt-panaderia .prod-price { font-size:15px; }
body.nt-panaderia .prod-btn { padding:6px 12px; font-size:11px; }
body.nt-panaderia .nt-feat-row { padding:2px; } body.nt-panaderia .nt-fcard { background:var(--c-tile); border:none; }
body.nt-panaderia .nt-tabs .nt-tab.on { background:var(--dark); color:var(--bg); }
body.nt-panaderia .subcat-divider { grid-column:1/-1; }

/* ═════════════ 6 · BRUNCH CLUB — historias y pasteles ═════════════ */
body.nt-brunch { --bg:#ffffff; --dark:#22223a; --c-card:#f6f7fb; --c-rule:#ececf3; --c-soft:#7a7a92; --accent:var(--pg-accent-ov,#e98a63);
  --c-head:Inter,system-ui,sans-serif; --c-radius:20px; --c-radius-sm:16px; --c-shadow:none; --c-card-border:0px; --white:#fff; --border:#ececf3;
  --c-tile:#eef6f0; --c-header:#fff; --c-btn-bg:#22223a; --c-btn-fg:#fff; --c-sheet:#fff; --light:#f6f7fb; --c-fade0:rgba(255,255,255,0); --c-fade1:rgba(255,255,255,.98); }
body.nt-brunch.cdk { --bg:#17171f; --dark:#f1f1f6; --c-card:#20202b; --c-rule:#2c2c39; --c-soft:#a5a5b8; --accent:var(--pg-accent-ov,#f0a383);
  --white:#20202b; --border:#2c2c39; --c-tile:#22312a; --c-header:#17171f; --c-btn-bg:#f1f1f6; --c-btn-fg:#17171f; --c-sheet:#1c1c26; --light:#1c1c26; --c-fade0:rgba(23,23,31,0); --c-fade1:rgba(23,23,31,.98); }
body.nt-brunch .restaurant-name { text-transform:none; letter-spacing:-.6px; font-size:28px; }
body.nt-brunch .nt-fcard { flex-basis:86%; max-width:340px; }
body.nt-brunch .nt-fcard img { aspect-ratio:4/3; }
body.nt-brunch .prod-list { background:color-mix(in srgb,var(--accent) 9%, var(--bg)); margin:10px 16px 0; padding:6px 14px; border-radius:20px; }
body.nt-brunch .prod-card { background:none; border-radius:0; margin:0; padding:12px 0; border-bottom:1px solid var(--c-rule); }
body.nt-brunch .prod-card:last-child { border-bottom:none; }
body.nt-brunch .prod-img, body.nt-brunch .prod-emoji { width:64px; height:64px; border-radius:16px; }
body.nt-brunch .prod-btn { display:none; } body.nt-brunch .prod-price { font-size:15px; color:var(--dark); }

/* ═════════════ 7 · GALERÍA — platos fotogénicos ═════════════ */
body.nt-galeria { --bg:#0b0b0d; --dark:#fafafa; --c-card:#141417; --c-rule:#24242a; --c-soft:#a8a8b0; --accent:var(--pg-accent-ov,#e07a5f);
  --c-head:'Playfair Display',Georgia,serif; --c-radius:22px; --c-radius-sm:16px; --c-shadow:none; --c-card-border:0px; --white:#141417; --border:#24242a;
  --c-tile:#18181c; --c-header:#0b0b0d; --c-btn-bg:#fafafa; --c-btn-fg:#0b0b0d; --c-sheet:#121215; --light:#121215; --c-fade0:rgba(11,11,13,0); --c-fade1:rgba(11,11,13,.98); }
body.nt-galeria.clt { --bg:#ffffff; --dark:#111113; --c-card:#f4f4f6; --c-rule:#e6e6ea; --c-soft:#6b6b75; --accent:var(--pg-accent-ov,#c75a3f);
  --white:#fff; --border:#e6e6ea; --c-tile:#efeff2; --c-header:#fff; --c-btn-bg:#111113; --c-btn-fg:#fff; --c-sheet:#fff; --light:#f4f4f6; --c-fade0:rgba(255,255,255,0); --c-fade1:rgba(255,255,255,.98); }
body.nt-galeria .prod-card:has(img.prod-img) { position:relative; display:block; padding:0; overflow:hidden; aspect-ratio:4/5; border-radius:22px; margin-bottom:14px; }
body.nt-galeria .prod-card:has(img.prod-img) .prod-img { position:absolute; inset:0; width:100%; height:100%; border-radius:0; }
body.nt-galeria .prod-card:has(img.prod-img)::after { content:''; position:absolute; inset:0; background:linear-gradient(180deg,transparent 45%,rgba(0,0,0,.85)); }
body.nt-galeria .prod-card:has(img.prod-img) .prod-body { position:absolute; z-index:2; left:18px; right:18px; bottom:18px; color:#fff; }
body.nt-galeria .prod-card:has(img.prod-img) .prod-name { font-size:24px; font-weight:700; color:#fff; }
body.nt-galeria .prod-card:has(img.prod-img) .prod-desc { color:rgba(255,255,255,.85); }
body.nt-galeria .prod-card:has(img.prod-img) .prod-price { color:#fff; font-size:19px; }
body.nt-galeria .prod-card:has(img.prod-img) .prod-btn { background:#fff; color:#111; }
body.nt-galeria .prod-card:has(img.prod-img) .prod-badge { background:var(--accent); color:#fff; border:none; }

/* ═════════════ 8 · PIZARRA — bistró / gastrobar tipográfico ═════════════ */
body.nt-pizarra { --bg:#1e2421; --dark:#f1efe6; --c-card:#1e2421; --c-rule:rgba(241,239,230,.22); --c-soft:rgba(241,239,230,.72); --accent:var(--pg-accent-ov,#f2c94c);
  --c-head:'Bebas Neue',Impact,sans-serif; --c-radius:6px; --c-radius-sm:4px; --c-pill:4px; --c-shadow:none; --c-card-border:0px; --white:#252c28; --border:rgba(241,239,230,.2);
  --c-tile:#252c28; --c-header:#1e2421; --c-btn-bg:#f1efe6; --c-btn-fg:#1e2421; --c-sheet:#232a26; --light:#232a26; --c-fade0:rgba(30,36,33,0); --c-fade1:rgba(30,36,33,.98); }
body.nt-pizarra.clt { --bg:#f3ecd9; --dark:#1b1b18; --c-card:#f3ecd9; --c-rule:rgba(27,27,24,.25); --c-soft:#5b574c; --accent:var(--pg-accent-ov,#b23a2a);
  --white:#fbf6e8; --border:rgba(27,27,24,.2); --c-tile:#ebe2ca; --c-header:#f3ecd9; --c-btn-bg:#1b1b18; --c-btn-fg:#f3ecd9; --c-sheet:#fbf6e8; --light:#ebe2ca; --c-fade0:rgba(243,236,217,0); --c-fade1:rgba(243,236,217,.98); }
body.nt-pizarra .restaurant-name { font-size:46px; font-weight:400; letter-spacing:1px; }
body.nt-pizarra .nt-feat-row { flex-direction:column; border:3px solid var(--accent); border-radius:6px; padding:14px; transform:rotate(-1.2deg); margin:4px 4px 10px; overflow:visible; }
body.nt-pizarra .nt-fcard { flex:none; max-width:none; border:none; background:none; } body.nt-pizarra .nt-fcard img { display:none; }
body.nt-pizarra .nt-fbody { padding:0 0 8px; } body.nt-pizarra .nt-fname { font-size:26px; font-weight:400; letter-spacing:1px; }
body.nt-pizarra .nt-tabs .nt-tab { font-family:'Bebas Neue',Impact,sans-serif; font-size:18px; font-weight:400; letter-spacing:1.5px; border-color:var(--c-rule); }
body.nt-pizarra .nt-tabs .nt-tab.on { background:var(--accent); color:#1b1b18; border-color:var(--accent); }
body.nt-pizarra .prod-title { font-size:30px; font-weight:400; letter-spacing:2px; }
body.nt-pizarra .prod-header .prod-line { display:none; } body.nt-pizarra .prod-header { border-bottom:4px solid var(--dark); margin:0 18px; padding:16px 0 4px; }
body.nt-pizarra .prod-list { padding:0 18px; }
body.nt-pizarra .prod-card { background:none; padding:12px 0; margin:0; border-radius:0; border-bottom:1px dashed var(--c-rule); }
body.nt-pizarra .prod-img, body.nt-pizarra .prod-emoji, body.nt-pizarra .prod-btn { display:none; }
body.nt-pizarra .prod-body { display:grid; grid-template-columns:1fr auto; grid-template-areas:"b p" "n p" "d p"; column-gap:12px; }
body.nt-pizarra .prod-foot { display:contents; } body.nt-pizarra .prod-badge { grid-area:b; justify-self:start; }
body.nt-pizarra .prod-name { grid-area:n; font-size:23px; font-weight:400; letter-spacing:1px; margin:0; }
body.nt-pizarra .prod-desc { grid-area:d; font-family:'Space Grotesk',system-ui,sans-serif; margin:0; }
body.nt-pizarra .prod-price { grid-area:p; align-self:start; background:var(--dark); color:var(--bg); padding:3px 8px; border-radius:4px; font-family:'Space Grotesk',system-ui,sans-serif; font-size:14px; }

/* ═════════════ 9 · PORTADA — índice ilustrado (estilo Rocoto / Brusco) ═════════════ */
body.nt-portada { --bg:#fbf7ec; --dark:#1f1a12; --c-card:#fffdf7; --c-rule:#eadfc6; --c-soft:#7c7059; --accent:var(--pg-accent-ov,#e0a100);
  --c-head:'Fraunces',Georgia,serif; --c-radius:18px; --c-radius-sm:14px; --c-shadow:none; --c-card-border:1px; --white:#fffdf7; --border:#eadfc6;
  --c-tile:#f5ecd6; --c-header:#fbf7ec; --c-btn-bg:#1f1a12; --c-btn-fg:#fbf7ec; --c-sheet:#fffdf7; --light:#f5ecd6; --c-fade0:rgba(251,247,236,0); --c-fade1:rgba(251,247,236,.98); }
body.nt-portada.cdk { --bg:#16140f; --dark:#f3ecdb; --c-card:#1f1c15; --c-rule:#3a3426; --c-soft:#b3a78d; --accent:var(--pg-accent-ov,#f2c230);
  --white:#1f1c15; --border:#3a3426; --c-tile:#262219; --c-header:#16140f; --c-btn-bg:#f2c230; --c-btn-fg:#16140f; --c-sheet:#1c1913; --light:#1c1913; --c-fade0:rgba(22,20,15,0); --c-fade1:rgba(22,20,15,.98); }
body.nt-portada .nt-ix { background:var(--c-card); }
body.nt-portada .nt-ix:nth-child(4n+1) .nt-ixic, body.nt-portada .nt-ix:nth-child(4n+4) .nt-ixic { color:var(--dark); }
body.nt-portada .nt-hero { display:none !important; }

/* ═════════════ 10 · POP — banners de color (estilo Yacky Chan), descripciones completas ═════════════ */
body.nt-pop { --bg:#fff7ef; --dark:#1d1410; --c-card:#ffffff; --c-rule:#f1dfcf; --c-soft:#7d685b; --accent:var(--pg-accent-ov,#d7261e);
  --c-head:'Archivo Black',Inter,sans-serif; --c-radius:16px; --c-radius-sm:12px; --c-shadow:0 2px 10px rgba(80,30,10,.06); --c-card-border:0px; --white:#fff; --border:#f1dfcf;
  --c-tile:#fde9dc; --c-header:#fff7ef; --c-btn-bg:var(--accent); --c-btn-fg:#fff; --c-sheet:#fff; --light:#fdf0e5; --c-fade0:rgba(255,247,239,0); --c-fade1:rgba(255,247,239,.98); }
body.nt-pop.cdk { --bg:#140f0d; --dark:#fbefe8; --c-card:#1e1714; --c-rule:#33261f; --c-soft:#c0a99a; --accent:var(--pg-accent-ov,#ff4a3d);
  --white:#1e1714; --border:#33261f; --c-tile:#2a1e19; --c-header:#140f0d; --c-sheet:#1a1411; --light:#1a1411; --c-shadow:none; --c-fade0:rgba(20,15,13,0); --c-fade1:rgba(20,15,13,.98); }
body.nt-pop .nt-tabs .nt-tab.on { background:var(--accent); color:#fff; border-color:var(--accent); }
body.nt-pop .nt-hero { background:var(--accent); margin:14px 0 0; border-radius:0; min-height:118px; display:grid !important; place-items:center; }
body.nt-pop .nt-hero span { position:static; color:#fff; font-size:42px; text-align:center; padding:18px 14px; line-height:.95; }
body.nt-pop .prod-header { display:none; }
body.nt-pop .prod-list { display:grid; grid-template-columns:1fr 1fr; gap:12px; padding-top:14px; }
body.nt-pop .prod-card { flex-direction:column; padding:0; margin:0; overflow:hidden; gap:0; }
body.nt-pop .prod-img, body.nt-pop .prod-emoji { width:100%; height:auto; aspect-ratio:1; border-radius:0; }
body.nt-pop .prod-body { padding:10px 12px 12px; }
body.nt-pop .prod-name { color:var(--accent); font-size:15px; }
body.nt-pop .prod-desc { -webkit-line-clamp:unset; display:block; overflow:visible; font-size:12px; }
body.nt-pop .prod-price { color:var(--dark); font-size:15px; }
body.nt-pop .prod-btn { display:none; }
body.nt-pop .subcat-divider { grid-column:1/-1; }

/* El plato destacado conserva su sello; sin la barra lateral en las plantillas de carta impresa/editorial */
body.nt-maitre .prod-card.prod-featured, body.nt-brasa .prod-card.prod-featured, body.nt-pizarra .prod-card.prod-featured,
body.nt-galeria .prod-card.prod-featured, body.nt-omakase .prod-card.prod-featured, body.nt-panaderia .prod-card.prod-featured,
body.nt-pop .prod-card.prod-featured { border-left:none !important; box-shadow:none; }
body.nt-galeria .prod-card.prod-featured, body.nt-omakase .prod-card.prod-featured, body.nt-pop .prod-card.prod-featured { box-shadow:0 0 0 2px var(--accent); }
body.nt-maitre .prod-card.prod-featured, body.nt-pizarra .prod-card.prod-featured { padding-left:0; }
body.nt-brasa .prod-card.prod-featured { padding-left:18px; }

/* ═════════════ INMERSIVA en modo CLARO (generado desde las reglas oscuras: blancos↔tinta, negros↔marfil;
   se excluyen los textos sobre fotos, que siguen claros sobre su degradado) ═════════════ */
body.cim.clt { --accent:var(--pg-accent-ov,#a47a12); background:#faf7f1; color:#1c1812; }
body.cim.clt .ze-title { color:#1c1812; }
body.cim.clt .reco-card { background:rgba(28,24,18,0.09); }
body.cim.clt .reco-name { color:#1c1812; }
body.cim.clt .rsvw-sub { color:rgba(28,24,18,.55); }
body.cim.clt .rsvw-dot { background:rgba(28,24,18,.08); color:rgba(28,24,18,.45); }
body.cim.clt .rsvw-step { background:rgba(28,24,18,.035); }
body.cim.clt .rsvw-step.active { background:rgba(28,24,18,.06); border-color:color-mix(in srgb,var(--accent) 40%,rgba(28,24,18,.14)); }
body.cim.clt .rsvw-step-label { color:#1c1812; }
body.cim.clt .rsvw-step-badge { background:rgba(28,24,18,.12); color:rgba(28,24,18,.6); }
body.cim.clt .rsvw-edit-link { color:rgba(28,24,18,.45); }
body.cim.clt .rsvw-pill, body.cim.clt .rsvw-day, body.cim.clt .rsvw-time, body.cim.clt .rsvw-field, body.cim.clt .rsvw-month-btn, body.cim.clt .rsvw-recap-chip { background:rgba(28,24,18,.05); border-color:rgba(28,24,18,.14); color:#1c1812; }
body.cim.clt .rsvw-day-wd, body.cim.clt .rsvw-recap-label { color:rgba(28,24,18,.45); }
body.cim.clt .rsvw-day-num, body.cim.clt .rsvw-recap-val, body.cim.clt .rsvw-month-label { color:#1c1812; }
body.cim.clt .rsvw-legend-dot.avail { background:rgba(28,24,18,.05); border-color:rgba(28,24,18,.15); }
body.cim.clt .rsvw-legend-dot.past { background:rgba(28,24,18,.15); }
body.cim.clt .rsvw-field::placeholder { color:rgba(28,24,18,.35); }
body.cim.clt .rsvw-dot.on, body.cim.clt .rsvw-step.active .rsvw-step-badge, body.cim.clt .rsvw-pill.sel, body.cim.clt .rsvw-mini-btn, body.cim.clt .rsvw-day.sel .rsvw-day-wd, body.cim.clt .rsvw-day.sel .rsvw-day-num, body.cim.clt .rsvw-time.sel, body.cim.clt .rsvw-submit-btn { color:#faf7f1; }
body.cim.clt .subcat-pill { background:rgba(28,24,18,.1); color:rgba(28,24,18,.65); border:1px solid rgba(28,24,18,.12); }
body.cim.clt .subcat-pill:active { background:rgba(28,24,18,.16); }
body.cim.clt .subcat-divider { color:rgba(28,24,18,.28); }
body.cim.clt .subcat-divider::before, body.cim.clt .subcat-divider::after { background:rgba(28,24,18,.08); }
body.cim.clt .pd-share-top { color:#1c1812; border:1px solid rgba(28,24,18,.2); }
body.cim.clt .ck-loy { background:rgba(28,24,18,.06); border-color:rgba(28,24,18,.14); color:#1c1812; }
body.cim.clt .ck-cpn-chip { background:rgba(28,24,18,.08); }
body.cim.clt .ck-cta { background:#1c1812; color:#faf7f1; }
body.cim.clt .pd-qty-ctrl { background:rgba(28,24,18,.15); }
body.cim.clt .pd-qty-btn { color:#1c1812; }
body.cim.clt .pd-qty-btn:active { background:rgba(28,24,18,.1); }
body.cim.clt .pd-qty-val { color:#1c1812; }
body.cim.clt { background:#faf7f1; color:#1c1812; }
body.cim.clt::before { background:radial-gradient(135% 85% at 50% -8%, #1d1611 0%, #0e0d10 48%, #faf7f1 100%); }
body.cim.clt .header { background:#faf7f1; }
body.cim.clt .btn-back-profile { background:rgba(28,24,18,.1); color:#1c1812; border:1px solid rgba(28,24,18,.15); }
body.cim.clt .header-body { background:radial-gradient(120% 55% at 50% 0%, rgba(214,176,92,.07), transparent 62%), #faf7f1; }
body.cim.clt .restaurant-logo { border:3px solid rgba(28,24,18,.55); background:#f1ece2; }
body.cim.clt .restaurant-name { color:#1c1812; }
body.cim.clt .header-info span, body.cim.clt .header-info a { background:rgba(28,24,18,.07); border:1px solid rgba(28,24,18,.15); color:rgba(28,24,18,.78); }
body.cim.clt .social-btn { background:rgba(28,24,18,.08); border:1px solid rgba(28,24,18,.18); color:#1c1812; }
body.cim.clt .sec-label { color:rgba(28,24,18,.9); }
body.cim.clt .sec-label::after { background:rgba(28,24,18,.08); }
body.cim.clt .reco-card { background:#f1ece2; border:1px solid rgba(28,24,18,.07); }
body.cim.clt .reco-name { color:#1c1812; }
body.cim.clt .reco-emoji { background:#ffffff; }
body.cim.clt .cim-mhead { color:rgba(28,24,18,.3); }
body.cim.clt .prod-card { background:linear-gradient(138deg,#1e1c22,#f1ece2); border:1px solid rgba(28,24,18,.07); }
body.cim.clt .prod-name { color:#1c1812; }
body.cim.clt .prod-desc { color:rgba(28,24,18,.45); }
body.cim.clt .prod-emoji { background:#ffffff; }
body.cim.clt .cat-tabs { background:rgba(250,247,241,.95); border-bottom:1px solid rgba(28,24,18,.09); }
body.cim.clt .cat-tab { background:rgba(28,24,18,.08); color:rgba(28,24,18,.6); }
body.cim.clt .cat-tab.on { color:#1c1812; }
body.cim.clt .wa-footer-bar { background:linear-gradient(to bottom,rgba(250,247,241,0),rgba(250,247,241,.98) 24%); }
body.cim.clt .footer-review-pill { background:rgba(28,24,18,.08); border:1.5px solid rgba(28,24,18,.15); color:#1c1812; }
body.cim.clt .footer-wa-label { color:rgba(28,24,18,.6); }
body.cim.clt .footer-action-btn { background:#f1ece2; border:1.5px solid rgba(28,24,18,.1); color:#1c1812; }
body.cim.clt .cta-nav-inner { background:rgba(250,247,241,.96); }
body.cim.clt .cta-nav-item { color:rgba(28,24,18,.4); }
body.cim.clt .cta-nav-item:hover { background:rgba(28,24,18,.04); color:rgba(28,24,18,.7); }
body.cim.clt #powered-by { color:rgba(28,24,18,.5); }
body.cim.clt .footer-powered, body.cim.clt .cta-nav-powered { color:rgba(28,24,18,.4); }
body.cim.clt .cta-nav-powered { background:rgba(250,247,241,.96); }
body.cim.clt .cat-tab.on { color:#faf7f1; }
body.cim.clt .fab-circle:not(:disabled) { color:#faf7f1; }
body.cim.clt .carta-sheet { color:#1c1812; }
body.cim.clt .sheet-handle { background:rgba(28,24,18,.2); }
body.cim.clt .sheet-title { color:#1c1812; }
body.cim.clt .sheet-sub, body.cim.clt .pd-desc { color:rgba(28,24,18,.6); }
body.cim.clt .pd-name, body.cim.clt .pd-badge { color:#1c1812; }
body.cim.clt .sheet-close { background:rgba(28,24,18,.1); color:#1c1812; }
body.cim.clt .pd-emoji { background:#ffffff; }
body.cim.clt .pd-price { color:#faf7f1; }
body.cim.clt .filt-btn { background:rgba(28,24,18,.08); color:rgba(28,24,18,.7); border-color:rgba(28,24,18,.14); }
body.cim.clt .filt-btn:hover { background:rgba(28,24,18,.12); }
body.cim.clt .filt-badge { color:#faf7f1; }
body.cim.clt .fs-title { color:#1c1812; }
body.cim.clt .fs-clear { color:rgba(28,24,18,.35); }
body.cim.clt .fs-section-title { color:rgba(28,24,18,.3); }
body.cim.clt .fs-list-row { border-bottom-color:rgba(28,24,18,.07); }
body.cim.clt .fs-list-ic { color:rgba(28,24,18,.6); }
body.cim.clt .fs-list-label { color:rgba(28,24,18,.85); }
body.cim.clt .fs-radio { border-color:rgba(28,24,18,.25); }
body.cim.clt .fs-chip { background:rgba(28,24,18,.06); border-color:rgba(28,24,18,.1); color:rgba(28,24,18,.6); }
body.cim.clt .fs-apply { color:#faf7f1; }
body.cim.clt .cat-tabs-actions { background:rgba(250,247,241,.95); }
body.cim.clt .cat-tabs-actions::after { background:linear-gradient(to right,rgba(250,247,241,.95) 35%,transparent); }
body.cim.clt .cat-mini { background:rgba(28,24,18,.08); color:rgba(28,24,18,.7); border-color:rgba(28,24,18,.14); }
body.cim.clt::before { background:radial-gradient(135% 85% at 50% -8%, #f3eadb 0%, #faf7f1 48%, #f7f2ea 100%); }
body.cim.clt .prod-card { background:linear-gradient(138deg,#ffffff,#f6f1e8); border-color:rgba(28,24,18,.08); }
body.cim.clt .prod-card:hover { border-color:color-mix(in srgb,var(--accent) 35%,transparent); }
body.cim.clt .cat-block:not(.active) .cat-bname { color:#1c1812; }
body.cim.clt .cat-block:not(.active) .cat-bcount { color:rgba(28,24,18,.5); }
body.cim.clt .cat-block:not(.active) { border-bottom-color:rgba(28,24,18,.08); }

/* ═══════════════════════════════════════════════════════════════════════════════════════════════
   TEMAS ANTIGUOS CON ESTRUCTURA PROPIA (11-14) — antes solo cambiaban color/tipografía sobre Clásica.
   Mismo motor; cambian la navegación de categorías y la forma de la tarjeta de plato.
   ═══════════════════════════════════════════════════════════════════════════════════════════════ */

/* ── VITRINA · escaparate: categorías en mosaico 3×n cuadrado, platos en tarjeta grande con foto arriba ── */
body.cvt .cat-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:8px; }
body.cvt .cat-card { height:auto; aspect-ratio:1; border-radius:18px; }
body.cvt .cat-overlay { background:linear-gradient(180deg,transparent 35%,rgba(0,0,0,.72)); }
body.cvt .cat-card.active .cat-overlay { background:linear-gradient(180deg,transparent 25%,color-mix(in srgb,var(--accent) 85%,transparent)); }
body.cvt .cat-label { left:10px; right:10px; bottom:9px; top:auto; transform:none; font-size:13px; line-height:1.15; text-align:left; }
body.cvt .cat-count { display:none; }
body.cvt .prod-card { flex-direction:column; padding:0; overflow:hidden; gap:0; }
body.cvt .prod-card.prod-featured { border-left:none; padding-left:0; box-shadow:0 0 0 2px var(--accent), var(--c-shadow); }
body.cvt .prod-img, body.cvt .prod-emoji { width:100%; height:auto; aspect-ratio:16/9; border-radius:0; }
body.cvt .prod-body { padding:14px 16px 16px; }
body.cvt .prod-name { font-size:18px; }
body.cvt .prod-desc { -webkit-line-clamp:3; }

/* ── TARJETA · retícula suiza: índice numerado de categorías, fichas 2 columnas numeradas sin foto ── */
body.ctj .cat-grid { counter-reset:ctjc; gap:0; border-top:2px solid var(--dark); padding-bottom:6px; }
body.ctj .cat-card { counter-increment:ctjc; height:auto; background:none !important; border-radius:0; border-bottom:1px solid var(--c-rule); padding:14px 4px; display:flex; align-items:baseline; gap:14px; }
body.ctj .cat-card::before { content:counter(ctjc, decimal-leading-zero); font:700 12px/1 'JetBrains Mono',ui-monospace,monospace; color:var(--accent); }
body.ctj .cat-img, body.ctj .cat-overlay { display:none; }
body.ctj .cat-label { position:static; transform:none; color:var(--dark); font-size:17px; font-weight:800; text-shadow:none; flex:1; }
body.ctj .cat-count { position:static; transform:none; background:none; color:var(--c-soft); font:600 11px/1 'JetBrains Mono',ui-monospace,monospace; padding:0; backdrop-filter:none; }
body.ctj .cat-card.active .cat-label { color:var(--accent); }
body.ctj .cat-card.active::after { content:''; position:absolute; left:0; right:0; bottom:-1px; height:2px; background:var(--accent); }
body.ctj .prod-list { display:grid; grid-template-columns:1fr 1fr; gap:0; counter-reset:ctjp; border-top:2px solid var(--dark); padding:0; margin:0 16px; }
body.ctj .prod-card { counter-increment:ctjp; flex-direction:column; margin:0; padding:14px 12px 12px; border:none; border-bottom:1px solid var(--c-rule); border-radius:0; box-shadow:none; gap:4px; }
body.ctj .prod-card:nth-child(odd) { border-right:1px solid var(--c-rule); }
body.ctj .prod-card.prod-featured { border-left:none; padding-left:12px; background:color-mix(in srgb,var(--accent) 7%,var(--c-card)); }
body.ctj .prod-card::before { content:counter(ctjp, decimal-leading-zero); font:700 11px/1 'JetBrains Mono',ui-monospace,monospace; color:var(--accent); }
body.ctj .prod-img, body.ctj .prod-emoji, body.ctj .prod-btn { display:none; }
body.ctj .prod-name { font-size:14px; } body.ctj .prod-desc { font-size:11.5px; -webkit-line-clamp:4; }
body.ctj .prod-price { font:700 14px/1 'JetBrains Mono',ui-monospace,monospace; color:var(--dark); }
body.ctj .subcat-divider { grid-column:1/-1; }

/* ── NOCTURNA · vidrio sobre la portada: fondo con la portada difuminada, categorías en píldoras de vidrio,
      platos con foto redonda a la derecha y brillo de acento ── */
body.cnc::before { content:''; position:fixed; inset:-30px; z-index:-1; background:var(--ek-cover) center/cover no-repeat; filter:blur(28px) saturate(1.3); opacity:.55; }
body.cnc::after { content:''; position:fixed; inset:0; z-index:-1; background:linear-gradient(180deg,rgba(6,5,10,.55),rgba(6,5,10,.92)); pointer-events:none; }
body.cnc.clt::before { opacity:.35; } body.cnc.clt::after { background:linear-gradient(180deg,rgba(245,243,251,.6),rgba(245,243,251,.94)); }
body.cnc #app, body.cnc .header, body.cnc main, body.cnc #menu-container { background:transparent; }
body.cnc:not(.clt), body.cnc.clt { background:transparent; }
html:has(body.cnc) { background:var(--bg,#06050a); }
html:has(body.cnc.clt) { background:#f5f3fb; }
body.cnc .cat-grid { flex-direction:row; overflow-x:auto; gap:8px; padding:0 16px 16px; scrollbar-width:none; }
body.cnc .cat-grid::-webkit-scrollbar { display:none; }
body.cnc .cat-card { flex:none; height:auto; display:flex; align-items:center; gap:8px; padding:6px 16px 6px 6px; border-radius:99px; background:var(--c-card) !important; border:1px solid var(--c-rule); backdrop-filter:blur(14px); -webkit-backdrop-filter:blur(14px); }
body.cnc .cat-img { width:34px; height:34px; border-radius:50%; animation:none; flex:none; }
body.cnc .cat-overlay { display:none; }
body.cnc .cat-label { position:static; transform:none; font-size:13.5px; color:var(--dark); text-shadow:none; white-space:nowrap; }
body.cnc .cat-count { position:static; transform:none; background:none; color:var(--c-soft); padding:0; font-size:11px; }
body.cnc .cat-card.active { border-color:var(--accent); box-shadow:0 0 18px color-mix(in srgb,var(--accent) 45%,transparent); }
body.cnc .prod-card { flex-direction:row-reverse; align-items:center; }
body.cnc .prod-img, body.cnc .prod-emoji { width:76px; height:76px; border-radius:50%; box-shadow:0 0 0 2px color-mix(in srgb,var(--accent) 50%,transparent), 0 0 22px color-mix(in srgb,var(--accent) 30%,transparent); }
body.cnc .prod-card.prod-featured { border-left:1px solid var(--accent); padding-left:14px; box-shadow:0 0 24px color-mix(in srgb,var(--accent) 22%,transparent); }

/* ── ESTUDIO · editorial brutalista: categorías como lista tipográfica gigante con flecha,
      platos en zig-zag (foto alterna izquierda/derecha) con número grande ── */
body.ces .cat-grid { gap:0; border-top:1px solid var(--c-rule); }
body.ces .cat-card { height:auto; background:none !important; border-radius:0; border-bottom:1px solid var(--c-rule); padding:16px 4px; display:flex; align-items:center; }
body.ces .cat-img, body.ces .cat-overlay { display:none; }
body.ces .cat-label { position:static; transform:none; flex:1; font:800 30px/1 Archivo,Inter,sans-serif; text-transform:uppercase; letter-spacing:-1px; color:var(--dark); text-shadow:none; }
body.ces .cat-count { position:static; transform:none; background:none; padding:0; color:var(--c-soft); font-size:11px; }
body.ces .cat-card::after { content:'→'; font:700 22px/1 Archivo,Inter,sans-serif; color:var(--c-soft); margin-left:12px; }
body.ces .cat-card.active .cat-label, body.ces .cat-card.active::after { color:var(--accent); }
body.ces .prod-list { counter-reset:cesp; }
body.ces .prod-card { counter-increment:cesp; position:relative; align-items:stretch; }
body.ces .prod-card:nth-child(even) { flex-direction:row-reverse; }
body.ces .prod-img, body.ces .prod-emoji { width:128px; height:128px; border-radius:4px; }
body.ces .prod-card::after { content:counter(cesp, decimal-leading-zero); position:absolute; left:20px; bottom:18px; font:800 28px/1 Archivo,Inter,sans-serif; color:var(--accent); text-shadow:0 2px 10px rgba(0,0,0,.55); }
body.ces .prod-card:nth-child(even)::after { left:auto; right:20px; }
body.ces .prod-card.prod-featured { border-left:none; padding-left:14px; box-shadow:inset 0 0 0 2px var(--accent); }
body.ces .prod-body { display:flex; flex-direction:column; justify-content:flex-end; }

/* ═════════════ INMERSIVA · HOJAS (detalle de plato, carrito, checkout) — lógica de color claro/oscuro ═════════════
   Antes la hoja quedaba SIEMPRE oscura (#161619) mientras en modo claro el texto pasaba a tinta → ilegible.
   Ahora la hoja sigue el modo y redefine los tokens dentro de sí misma, así todo lo que usa var(--dark/--c-soft/--c-rule/--c-tile) se lee. */
body.cim .carta-sheet { --dark:#f3efe6; --gray:rgba(243,239,230,.6); --c-soft:rgba(243,239,230,.6); --c-rule:rgba(255,255,255,.14); --c-tile:rgba(255,255,255,.06); --c-btn-bg:#e0b64a; --c-btn-fg:#09090b; }
body.cim.clt .carta-sheet { background:#faf7f1; color:#1c1812; --dark:#1c1812; --gray:rgba(28,24,18,.6); --c-soft:rgba(28,24,18,.6); --c-rule:rgba(28,24,18,.14); --c-tile:rgba(28,24,18,.05); --c-btn-bg:#1c1812; --c-btn-fg:#faf7f1; }
body.cim.clt #pd-media::after { background:linear-gradient(to bottom,transparent,#faf7f1); }
body.cim.clt .pd-img { background-image:linear-gradient(90deg,#efe9dd 0%,#e4dccd 50%,#efe9dd 100%); }
body.cim.clt #carta-prod-modal .pd-badge { background:rgba(164,122,18,.12); color:#8a6510; border-color:rgba(164,122,18,.35); }
body.cim.clt .pd-price { background:#a47a12; color:#fff; }
body.cim.clt .pd-share-top { background:rgba(250,247,241,.9); color:#1c1812; border:1px solid rgba(28,24,18,.2); }

/* Carrito: textos que estaban fijos en azul-gris (#0f172a/#94a3b8) */
body.cim .cart-item { border-bottom-color:var(--c-rule); }
body.cim .cart-item-name, body.cim .cart-item-price, body.cim .cart-qty-n, body.cim .ck-total-amount { color:var(--dark); }
body.cim .cart-item-sub, body.cim .ck-total-label, body.cim .cart-togo, body.cim #checkout-sub, body.cim .ck-label { color:var(--c-soft) !important; }
body.cim .cart-togo.on { color:var(--accent) !important; }
body.cim .cart-qty-btn { color:var(--dark); background:var(--c-tile); border-color:var(--c-rule); }
body.cim .ck-total { background:var(--c-tile); }
body.cim .ck-field, body.cim .ck-f .ck-field, body.cim .ck-cpn-row input { background:var(--c-tile); color:var(--dark); border-color:var(--c-rule); }
body.cim .ck-field:focus { border-color:var(--accent); }
body.cim .ck-chip { background:var(--c-tile); color:var(--dark); }
body.cim .ck-bar { border-top-color:var(--c-rule); }

/* Botones primarios: dorado en oscuro, tinta en claro (antes azul marino invisible sobre la hoja) */
body.cim button[onclick="goToCheckoutForm()"] { background:#e0b64a !important; color:#09090b !important; }
body.cim.clt button[onclick="goToCheckoutForm()"] { background:#1c1812 !important; color:#faf7f1 !important; }
body.cim .var-btn.sel, body.cim .ot-tab.sel { background:#e0b64a; border-color:#e0b64a; color:#09090b; }
body.cim.clt .var-btn.sel, body.cim.clt .ot-tab.sel { background:#1c1812; border-color:#1c1812; color:#faf7f1; }
body.cim.clt .sheet-close { background:rgba(28,24,18,.08); }

/* Inmersiva claro: textos dorados/grises que quedaban casi del mismo tono que el fondo marfil (contraste < 3:1) */
body.cim.clt .prod-title { color:#8a6510; }
body.cim.clt .subcat-divider { color:rgba(28,24,18,.55); }
body.cim.clt .ze-sub { color:rgba(28,24,18,.62); }
body.cim.clt .cim-mhead { color:rgba(28,24,18,.5); }
