/* Recetario y Menú y compra (Comidas). Solo tokens; estilo punk como el resto: placa negra, borde plata, amarillo de acento. */
.receta-buscador { width: 100%; min-height: var(--tap, 48px); }
.receta-lista { display: grid; gap: var(--s1, 8px); grid-template-columns: 1fr; }
@media (min-width: 700px) { .receta-lista { grid-template-columns: 1fr 1fr; } }
.receta-card { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; text-align: left; width: 100%; cursor: pointer; color: var(--tinta); font: inherit; min-height: var(--tap, 48px); }
.receta-titulo { font-family: var(--f-texto); font-size: 1.05rem; color: var(--tinta); }
.receta-meta { color: var(--tinta-2); font-size: .9rem; }
.receta-etiquetas { display: flex; flex-wrap: wrap; gap: 6px; }
.etiqueta-receta { font-family: var(--f-mono); font-size: .75rem; text-transform: uppercase; letter-spacing: .04em; padding: 2px 8px; border: 2px solid var(--linea-fuerte); border-radius: var(--r-s, 2px); color: var(--tinta); background: var(--hoja); }
.etiqueta-receta.nueva { background: var(--amarillo); color: #000; border-color: #000; font-weight: 700; }
.etiqueta-receta.prot { border-color: var(--ok); color: var(--ok); }
.etiqueta-receta.fav { border-color: var(--amarillo); color: var(--amarillo); }
.receta-ficha h2 { margin: 0; }
.receta-ingredientes, .receta-pasos { margin: 0; padding-left: 1.3rem; display: grid; gap: 8px; line-height: 1.45; }
.receta-ingredientes { list-style: square; }
.receta-ficha button.volver { background: none; border: 0; color: var(--amarillo); font: inherit; text-align: left; padding: 8px 0; cursor: pointer; }
.menu-dia.es-hoy { border-color: var(--amarillo); }
.fila-menu { display: grid; grid-template-columns: auto 1fr; gap: 6px 10px; align-items: center; padding: 6px 0; border-top: 1px dashed var(--linea-fuerte); }
.fila-menu-titulo { color: var(--tinta); font-weight: 600; }
.fila-menu-acciones { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.fila-menu-acciones .btn { width: auto; }
.fila-menu-raciones { display: inline-flex; gap: 8px; align-items: center; }
.menu-selector { padding-top: 8px; }
.receta-opcion { text-align: left; justify-content: flex-start; }
.receta-total { font-size: 1.2rem; margin: 0; }
.compra-lista { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.compra-linea { display: flex; flex-direction: column; gap: 2px; padding-bottom: 8px; border-bottom: 1px dashed var(--linea-fuerte); }
.compra-nombre { display: block; font-weight: 600; }
.compra-nombre::first-letter { text-transform: uppercase; }
.compra-coste { color: var(--amarillo); font-family: var(--f-mono); font-size: .9rem; }
.compra-super h3 { display: flex; justify-content: space-between; gap: 12px; }
.compra-total { color: var(--amarillo); font-family: var(--f-mono); }

/* ===== Táctil (10/10/2026): todo lo que se toca mide al menos --tap; lo hecho se tacha y se apaga ===== */
.btn.toque { width: var(--tap, 48px); min-width: var(--tap, 48px); height: var(--tap, 48px); padding: 0; font-size: 1.4rem; line-height: 1; display: inline-grid; place-items: center; }
.btn.toque.hecho { color: var(--ok); border-color: var(--ok); }
.menu-acciones { display: flex; flex-wrap: wrap; gap: 10px; }
.menu-acciones:empty { display: none; }
.menu-acciones .btn { flex: 1 1 220px; width: auto; min-height: var(--tap, 48px); }
.menu-siguiente { display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.menu-anadir { width: 100%; min-height: var(--tap, 48px); border-style: dashed; }
.fila-menu { padding: 10px 0; }
.fila-menu-titulo { font-size: 1.05rem; text-decoration: none; }
.fila-menu-etiquetas { grid-column: 1 / -1; }
.fila-menu-acciones { flex-wrap: wrap; }
.fila-menu-raciones b { min-width: 4.2em; text-align: center; font-family: var(--f-mono); }
.fila-menu-botones { display: inline-flex; gap: 8px; }
.fila-menu-botones .btn { min-height: 40px; }
.etiqueta-receta.comida-cena { border-color: var(--amarillo); color: var(--amarillo); }
.receta-opcion { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; min-height: var(--tap, 48px); padding: 8px 12px; width: 100%; }

/* Lista de la compra: se tacha con el dedo */
.compra-resumen { gap: 8px; }
.compra-avance { display: grid; gap: 6px; }
.compra-barra { display: block; height: 10px; border: 2px solid var(--linea-fuerte); background: var(--hoja); overflow: hidden; }
.compra-barra > span { display: block; height: 100%; width: 0; background: var(--amarillo); transition: width .25s ease; }
.compra-progreso { font-family: var(--f-mono); font-size: .9rem; color: var(--tinta-2); }
.compra-check { padding-bottom: 0; }
.compra-check label { display: flex; gap: 12px; align-items: flex-start; min-height: var(--tap, 48px); padding: 8px 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.compra-check input[type="checkbox"] { flex: 0 0 auto; width: 26px; height: 26px; margin: 2px 0 0; accent-color: var(--amarillo); cursor: pointer; }
.compra-texto { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.compra-check.hecho .compra-texto { opacity: .45; }
.compra-check.hecho .compra-nombre { text-decoration: line-through; text-decoration-thickness: 2px; }

/* Se te acaba */
.habitual { flex-direction: row; align-items: center; gap: 12px; padding: 8px 0; }
.habitual.estado-toca .compra-nombre::after { content: 'toca ya'; color: #000; background: var(--amarillo); font-family: var(--f-mono); font-size: .7rem; font-weight: 700; padding: 1px 6px; margin-left: 8px; vertical-align: middle; text-transform: uppercase; }
.despensa-ok { color: var(--ok); margin: 0; }

/* Recetario: buscador + sorpréndeme, ficha con raciones y modo cocina */
.receta-busqueda { display: flex; gap: 8px; }
.receta-busqueda .receta-buscador { flex: 1; min-width: 0; }
.receta-sorpresa { width: auto; flex: 0 0 auto; min-height: var(--tap, 48px); white-space: nowrap; }
.ficha-arriba { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.ficha-arriba .btn { width: auto; }
.ficha-cabecera { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.ficha-cabecera h3 { margin: 0; }
.modo-cocina { min-height: var(--tap, 48px); }
.modo-cocina[aria-pressed="true"] { background: var(--amarillo); color: #000; border-color: #000; }
.tachable > li { cursor: pointer; padding: 6px 4px; min-height: 36px; -webkit-tap-highlight-color: transparent; transition: opacity .15s ease; }
.tachable > li:active { background: var(--hoja); }
.tachable > li[aria-checked="true"] { opacity: .4; text-decoration: line-through; }
.receta-pasos.tachable > li { padding: 8px 4px; line-height: 1.55; }
@media (min-width: 700px) { .receta-pasos.tachable > li { font-size: 1.05rem; } }

/* ---------- Comidas › Nevera: lo que hay en casa (nevera.js) ---------- */
.nevera-resumen { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; }
.nevera-resumen b { font-size: 1.25rem; }
.nevera-alerta { color: #000; background: var(--amarillo); font-family: var(--f-mono); font-size: .8rem; font-weight: 700; padding: 2px 8px; text-transform: uppercase; }
.nevera-resumen .nota:last-child { flex-basis: 100%; }
.nevera-zona h2 { display: flex; align-items: center; gap: 10px; margin: 0; }
.nevera-cuenta { font-family: var(--f-mono); font-size: .8rem; border: 1px solid var(--linea-fuerte); padding: 0 7px; }
.nevera-zona.urgente { border-color: var(--amarillo); }
.nevera-zona.zona-nevera h2::before { content: ''; width: 10px; height: 10px; background: #5ec8ff; }
.nevera-zona.zona-congelador h2::before { content: ''; width: 10px; height: 10px; background: #c9ecff; }
.nevera-zona.zona-despensa h2::before { content: ''; width: 10px; height: 10px; background: var(--ambar); }
.nevera-lista { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
@media (min-width: 760px) { .nevera-lista { grid-template-columns: 1fr 1fr; column-gap: 20px; } }
.nevera-cosa { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--linea-fuerte);
  transition: opacity .3s, transform .3s; }
.nevera-cosa.nevera-fuera { opacity: 0; transform: translateX(40px); }
.nevera-info { flex: 1; min-width: 0; display: grid; gap: 3px; }
.nevera-nombre { font-weight: 700; font-size: 1.05rem; overflow-wrap: anywhere; }
.nevera-meta { font-size: .8rem; opacity: .75; }
.nevera-vida { display: block; height: 6px; background: var(--linea-fuerte); opacity: .9; }
.nevera-vida > span { display: block; height: 100%; background: var(--ok); }
.nevera-dias { font-family: var(--f-mono); font-size: .78rem; text-transform: uppercase; }
.nivel-justo .nevera-vida > span { background: var(--amarillo); }
.nivel-justo .nevera-dias { color: var(--amarillo); }
.nivel-mal .nevera-vida > span { background: var(--rojo); }
.nivel-mal .nevera-dias { color: var(--rojo-suave); font-weight: 700; }
.nevera-acabo { min-height: 48px; min-width: 96px; flex-shrink: 0; }
@media (prefers-reduced-motion: reduce) { .nevera-cosa { transition: none; } }
.nevera-cocina h2, .nevera-gasto h2 { margin: 0; }
.cocina-lista, .gasto-supers { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
@media (min-width: 760px) { .cocina-lista { grid-template-columns: 1fr 1fr; } }
.cocina-receta { display: grid; gap: 4px; padding: 12px; border: 1px solid var(--linea-fuerte); color: inherit; text-decoration: none; min-height: 48px; }
.cocina-receta:hover, .cocina-receta:focus-visible { border-color: var(--ambar); }
.cocina-titulo { font-weight: 700; font-size: 1.05rem; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.cocina-chip { font-family: var(--f-mono); font-size: .7rem; text-transform: uppercase; border: 1px solid var(--ok); color: var(--ok); padding: 0 6px; }
.cocina-chip.ya { border-color: var(--amarillo); color: #000; background: var(--amarillo); }
.cocina-tengo { font-size: .85rem; }
.cocina-falta { font-size: .8rem; opacity: .7; }
.gasto-cifras { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; }
.gasto-cifras b { font-size: 1.6rem; font-family: var(--f-mono); }
.gasto-supers li { display: grid; grid-template-columns: minmax(0, 9rem) 1fr auto; align-items: center; gap: 10px; font-size: .9rem; }
.gasto-barra { height: 8px; background: linear-gradient(90deg, var(--ambar) var(--p), var(--linea-fuerte) var(--p)); }

/* ---------- 11/10/2026: Comidas con pestañas-pegatina de PixelLab (como Yo · Casa · Sara) ---------- */
.pestanas-comida { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 4px 0 8px; }
.pestana-comida {
  --pc: var(--amarillo); position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  min-height: 104px; padding: 10px 4px 8px; border: 3px solid #000; border-radius: 10px; border-top: 8px solid var(--pc);
  background: #15151a; color: var(--tinta-2); text-decoration: none; text-align: center;
  box-shadow: 4px 4px 0 #000; transition: transform .12s ease, box-shadow .12s ease;
}
.pc-recetario { --pc: var(--rojo); }
.pc-menu { --pc: var(--ok); }
.pc-nevera { --pc: #5ec8ff; }
.pestana-comida .px { width: 48px; height: 48px; image-rendering: pixelated; filter: grayscale(.5) brightness(.8); transition: filter .12s ease, transform .12s ease; }
.pc-nombre { font: 400 var(--p-l, 1.3rem)/1 var(--f-display); letter-spacing: .05em; text-transform: uppercase; }
.pc-lema { font-size: .72rem; line-height: 1.2; opacity: .75; }
.pestana-comida:hover .px { filter: none; transform: rotate(-4deg) scale(1.06); }
.pestana-comida[aria-current="page"] { background: var(--pc); color: #000; transform: translateY(-4px) rotate(-1deg); box-shadow: 6px 8px 0 #000, 0 0 0 3px #fff inset; }
.pc-recetario[aria-current="page"] { color: #fff; }
.pestana-comida[aria-current="page"] .px { filter: drop-shadow(2px 2px 0 rgba(0,0,0,.45)); transform: scale(1.1); }
.pestana-comida[aria-current="page"] .pc-lema { opacity: .9; font-weight: 700; }
.pestana-comida[aria-current="page"]::after {
  content: ""; position: absolute; top: -14px; right: 10px; width: 26px; height: 12px; background: #d9d9d0; opacity: .85;
  transform: rotate(8deg); box-shadow: 1px 1px 0 #000;   /* trozo de cinta americana */
}
.pestana-comida:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
@media (max-width: 520px) {
  .pestanas-comida { gap: 6px; }
  .pestana-comida { min-height: 84px; padding: 6px 2px; border-width: 2px; border-top-width: 6px; }
  .pestana-comida .px { width: 36px; height: 36px; }
  .pc-nombre { font-size: var(--p-m, 1.1rem); }
  .pc-lema { display: none; }
}
@media (prefers-reduced-motion: reduce) { .pestana-comida, .pestana-comida .px { transition: none; } }

/* Nevera: resumen con cifra grande y recetas como fichas con tira de color */
.nevera-resumen { align-items: center; border-left: 6px solid #5ec8ff; }
.nevera-resumen > .px { width: 56px; height: 56px; image-rendering: pixelated; }
.nevera-cifra { display: flex; align-items: baseline; gap: 8px; }
.nevera-cifra b { font: 400 var(--p-cifra, 2.8rem)/1 var(--f-display); color: var(--tinta); }
.nevera-cifra span { font: 400 var(--p-m, 1.2rem)/1 var(--f-display); text-transform: uppercase; color: var(--tinta-2); }
.nevera-alerta { padding: 4px 10px; box-shadow: 3px 3px 0 #000; }
.nevera-tranqui { font-family: var(--f-mono); font-size: .8rem; font-weight: 700; text-transform: uppercase; color: var(--ok); border: 2px solid var(--ok); padding: 3px 8px; }
.nevera-cocina h2, .nevera-gasto h2, .nevera-zona h2 { display: flex; align-items: center; gap: 10px; color: var(--amarillo); }
.nevera-cocina h2 .px, .nevera-gasto h2 .px { width: 32px; height: 32px; image-rendering: pixelated; }
.cocina-receta { position: relative; gap: 6px; padding: 14px 14px 14px 18px; background: #101012; border: 2px solid #000; border-left: 6px solid var(--ok); box-shadow: 3px 3px 0 #000; transition: transform .12s ease, box-shadow .12s ease; }
.cocina-receta.gasta { border-left-color: var(--amarillo); }
.cocina-receta:hover, .cocina-receta:focus-visible { border-color: #000; border-left-color: var(--rojo); transform: translate(-2px, -2px); box-shadow: 5px 5px 0 #000; }
.cocina-titulo { font-size: 1.1rem; color: var(--tinta); }
.cocina-chip { font-weight: 700; padding: 1px 7px; box-shadow: 2px 2px 0 #000; background: #000; }
.cocina-chip.ya { border-color: #000; }
.cocina-tengo, .cocina-falta { font-size: .9rem; line-height: 1.4; color: var(--tinta-2); opacity: 1; }
.cocina-tengo b { color: var(--ok); font-family: var(--f-mono); font-size: .8rem; text-transform: uppercase; }
.cocina-falta b { color: var(--aviso, #ff9f1c); font-family: var(--f-mono); font-size: .8rem; text-transform: uppercase; }
.cocina-falta.nada b { color: var(--ok); }
@media (prefers-reduced-motion: reduce) { .cocina-receta { transition: none; } }

/* ===== 11/10/2026 (2): dibujos de PixelLab por tipo de plato (alimentos.js), tablero del menú y nevera dibujada ===== */
/* Color de cada tipo: tira y placa del dibujo. */
.tipo-pollo { --tc: #ffb347; } .tipo-carne { --tc: #e8323f; } .tipo-pescado { --tc: #5ec8ff; } .tipo-marisco { --tc: #ff7f50; }
.tipo-huevo { --tc: #ffd23f; } .tipo-legumbre { --tc: #c08a4e; } .tipo-arroz { --tc: #f2c14e; } .tipo-pasta { --tc: #ff9f1c; }
.tipo-verdura { --tc: #46d36f; } .tipo-sopa { --tc: #a3d977; } .tipo-salsa { --tc: #c3c6cc; } .tipo-postre { --tc: #ff8fc7; }
.tipo-conserva { --tc: #8a8d94; }
.px[class*="px-ali_"], .nevera-hero-dibujo { image-rendering: pixelated; }

/* Recetario: lema y tira de tipos */
.recetario-lema { margin: 0; color: var(--tinta-2); font-size: var(--t-s); }
.tira-tipos { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 10px; scroll-snap-type: x proximity; scrollbar-width: thin; }
.tipo-boton { flex: 0 0 auto; scroll-snap-align: start; display: grid; justify-items: center; gap: 2px; min-width: 72px; min-height: 72px; padding: 6px 6px 4px;
  background: #15151a; color: var(--tinta-2); border: 2px solid #000; border-bottom: 5px solid var(--tc); border-radius: 8px; box-shadow: 3px 3px 0 #000;
  font: 700 .72rem/1.1 var(--f-mono); text-transform: uppercase; cursor: pointer; transition: transform .12s ease; }
.tipo-boton .px { width: 40px; height: 40px; }
.tipo-boton[aria-pressed="true"] { background: var(--tc); color: #000; transform: translateY(-3px) rotate(-2deg); box-shadow: 4px 6px 0 #000; }
.tipo-boton:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }

/* Ficha de receta en la lista */
.receta-lista { gap: 12px; }
.receta-card { flex-direction: row; align-items: stretch; gap: 0; padding: 0; overflow: hidden; background: #121215; border: 3px solid #000; border-radius: 10px;
  box-shadow: 4px 4px 0 #000; transition: transform .12s ease, box-shadow .12s ease; }
.receta-card:hover, .receta-card:focus-visible { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 #000; outline: none; }
.receta-card:focus-visible { border-color: #fff; }
.receta-dibujo { flex: 0 0 88px; display: grid; place-items: center; background: var(--tc);
  background-image: radial-gradient(rgb(0 0 0 / .14) 1px, transparent 1.5px); background-size: 8px 8px; border-right: 3px solid #000; }
.receta-dibujo .px { width: 64px; height: 64px; filter: drop-shadow(3px 3px 0 rgb(0 0 0 / .45)); transition: transform .15s ease; }
.receta-card:hover .receta-dibujo .px { transform: rotate(-6deg) scale(1.08); }
.receta-cuerpo { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; padding: 12px 14px; }
.receta-titulo { font-size: 1.12rem; line-height: 1.25; font-weight: 700; }
.etiqueta-tipo { font: 700 .72rem/1 var(--f-mono); text-transform: uppercase; letter-spacing: .05em; color: #000; background: var(--tc); padding: 3px 7px; border: 2px solid #000; }
.receta-cifras { display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: baseline; font: 700 .8rem/1 var(--f-mono); text-transform: uppercase; color: var(--tinta-2); }
.receta-cifras b { font: 400 1.6rem/1 var(--f-cifra); color: var(--tinta); margin-right: 2px; }
.rc-prot.alta b { color: var(--ok); }
.receta-cifras.grande b { font-size: 2.4rem; }

/* Portada de la ficha */
.ficha-portada { display: flex; gap: 16px; align-items: center; padding: 16px; border: 3px solid #000; border-radius: 12px; box-shadow: 5px 5px 0 #000;
  background: linear-gradient(135deg, color-mix(in srgb, var(--tc) 30%, #121215) 0 40%, #121215 40%); }
.ficha-dibujo { flex: 0 0 auto; display: grid; place-items: center; width: 120px; height: 120px; background: var(--tc); border: 3px solid #000; border-radius: 10px;
  background-image: radial-gradient(rgb(0 0 0 / .14) 1px, transparent 1.5px); background-size: 8px 8px; transform: rotate(-3deg); box-shadow: 3px 3px 0 #000; }
.ficha-dibujo .px { width: 96px; height: 96px; filter: drop-shadow(3px 3px 0 rgb(0 0 0 / .45)); }
.ficha-texto { min-width: 0; display: grid; gap: 8px; justify-items: start; }
.ficha-texto h2 { margin: 0; font-size: var(--t-xl); line-height: 1.15; }
@media (max-width: 480px) { .ficha-portada { flex-direction: column; align-items: flex-start; } }

/* Menú: tablero de la semana */
.menu-tablero { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.tablero-dia { display: grid; justify-items: center; align-content: start; gap: 2px; min-height: 104px; padding: 6px 2px; cursor: pointer;
  background: #15151a; color: var(--tinta); border: 2px solid #000; border-top: 6px solid var(--ok); border-radius: 8px; box-shadow: 3px 3px 0 #000; font: inherit; }
.td-nombre { font: 700 .7rem/1 var(--f-mono); text-transform: uppercase; color: var(--tinta-2); }
.td-num { font: 400 1.5rem/1 var(--f-cifra); }
.td-platos { display: flex; flex-direction: column; align-items: center; gap: 0; }
.td-platos .px { width: 32px; height: 32px; }
.td-mas { display: grid; place-items: center; width: 30px; height: 30px; border: 2px dashed var(--linea-fuerte); color: var(--tinta-2); font-weight: 700; margin-top: 4px; }
.tablero-dia.es-hoy { background: var(--amarillo); color: #000; border-top-color: #000; transform: translateY(-4px) rotate(-1.5deg); box-shadow: 4px 7px 0 #000; }
.tablero-dia.es-hoy .td-nombre { color: #000; }
.tablero-dia.pasado { opacity: .5; }
.tablero-dia.vacio:not(.pasado) { border-top-color: var(--linea-fuerte); }
.tablero-dia:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
@media (max-width: 400px) { .td-platos .px:nth-child(2) { display: none; } .tablero-dia { min-height: 84px; } }
.menu-dia { scroll-margin-top: 80px; }
.menu-dia-titulo { display: flex; align-items: baseline; gap: 10px; margin: 0; font: 400 var(--p-l) / 1 var(--f-display); text-transform: uppercase; letter-spacing: .04em; }
.chip-hoy { font: 700 .72rem/1 var(--f-mono); color: #000; background: var(--amarillo); padding: 3px 7px; border: 2px solid #000; align-self: center; }
.fila-menu { grid-template-columns: 1fr; border-top: 0; padding: 0; }
.fila-menu-plato { display: flex; gap: 12px; align-items: center; color: inherit; text-decoration: none; padding: 8px; background: #101012;
  border: 2px solid #000; border-left: 6px solid var(--tc); box-shadow: 3px 3px 0 #000; }
.fila-menu-dibujo { flex: 0 0 64px; display: grid; place-items: center; width: 64px; height: 64px; background: var(--tc); border: 2px solid #000; }
.fila-menu-dibujo .px { width: 56px; height: 56px; }
.fila-menu-texto { min-width: 0; display: grid; gap: 6px; }
.fila-menu-titulo { font-weight: 700; font-size: 1.08rem; line-height: 1.25; }
.fila-menu-acciones { padding: 4px 0 12px; }

/* Nevera dibujada */
.nevera-hero { display: flex; align-items: center; gap: 16px; padding: 14px 16px; background: #121215; border: 3px solid #000; border-left: 8px solid #5ec8ff;
  border-radius: 10px; box-shadow: 4px 4px 0 #000; }
.nevera-hero-dibujo { flex: 0 0 auto; width: 96px; height: 128px; filter: drop-shadow(4px 4px 0 #000); transform: rotate(-3deg); }
.nevera-hero-texto { display: grid; gap: 8px; justify-items: start; min-width: 0; }
.nevera-mueble { display: grid; gap: 16px; }
@media (min-width: 760px) { .nevera-mueble { grid-template-columns: 3fr 2fr; align-items: start; } }
.nevera-frigo { position: relative; display: grid; gap: 0; padding: 10px 10px 18px; background: linear-gradient(90deg, #e9ecef, #cfd4da);
  border: 4px solid #000; border-radius: 18px 18px 10px 10px; box-shadow: 6px 6px 0 #000; }
.frigo-tirador { position: absolute; right: -12px; top: 70px; width: 10px; height: 80px; background: #8a8d94; border: 3px solid #000; border-radius: 4px; }
.nevera-armario { padding: 10px; background: repeating-linear-gradient(180deg, #7a4a24 0 22px, #6a3f1e 22px 24px); border: 4px solid #000; border-radius: 8px; box-shadow: 6px 6px 0 #000; }
.nevera-hueco { padding: 8px 8px 4px; border: 3px solid #000; background: #1b2a33; }
.hueco-congelador { background: linear-gradient(180deg, #d6f1ff, #a8dcf5); border-radius: 10px 10px 0 0; margin-bottom: 8px; }
.hueco-nevera { background: #20313b; border-radius: 0 0 6px 6px; }
.hueco-despensa { background: #2a1a0e; }
.hueco-rotulo { display: flex; align-items: center; gap: 8px; margin: 0 0 6px; font: 400 var(--p-m) / 1 var(--f-display); text-transform: uppercase; letter-spacing: .05em; color: #fff; }
.hueco-congelador .hueco-rotulo { color: #04324a; }
.hueco-rotulo .nevera-cuenta { background: #000; color: #fff; border: 0; padding: 2px 7px; }
.hueco-vacio { margin: 4px 0 8px; color: rgb(255 255 255 / .6); font-size: var(--t-s); }
.hueco-congelador .hueco-vacio { color: #04324a; }
/* Cada balda: los botes en fila sobre un listón */
.nevera-balda { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 14px 8px; }
.nevera-balda > .bote { position: relative; display: block; padding: 0 0 8px; border: 0; transition: opacity .3s, transform .3s; }
.nevera-balda > .bote::after { content: ''; position: absolute; left: -4px; right: -4px; bottom: 0; height: 6px; background: rgb(255 255 255 / .35); border-top: 2px solid rgb(0 0 0 / .5); }
.hueco-despensa .nevera-balda > .bote::after { background: #8b5a2b; }
.bote-frente { width: 100%; display: grid; justify-items: center; gap: 4px; padding: 6px 4px; min-height: 120px; cursor: pointer;
  background: rgb(0 0 0 / .35); color: #fff; border: 2px solid #000; border-radius: 8px; font: inherit; }
.hueco-congelador .bote-frente { background: rgb(255 255 255 / .55); color: #04324a; }
.bote-dibujo .px { width: 48px; height: 48px; filter: drop-shadow(2px 2px 0 rgb(0 0 0 / .5)); }
.bote .nevera-nombre { font-size: .9rem; line-height: 1.15; text-align: center; }
.bote .nevera-vida { width: 100%; height: 6px; background: rgb(0 0 0 / .4); }
.bote .nevera-dias { font-size: .68rem; font-weight: 700; text-align: center; }
.bote.nivel-mal .bote-frente { border-color: var(--rojo); box-shadow: 0 0 0 2px var(--rojo); animation: bote-latido 1.2s ease-in-out infinite; }
.bote.nivel-mal .nevera-dias { color: #000; background: var(--rojo-suave); padding: 2px 4px; }
.bote.nivel-justo .nevera-dias { color: #000; background: var(--amarillo); padding: 2px 4px; }
@keyframes bote-latido { 50% { box-shadow: 0 0 0 5px var(--rojo); transform: rotate(-2deg); } }
.bote-detras { display: none; }
.bote.abierto .bote-frente { display: none; }
.bote.abierto .bote-detras { position: relative; display: grid; gap: 6px; padding: 8px 6px; min-height: 120px; align-content: start; background: #000; color: #fff; border: 2px solid var(--amarillo); border-radius: 8px; }
.bote-detras .nevera-meta { font-size: .78rem; line-height: 1.25; opacity: .9; padding-right: 22px; }
.bote-detras .nevera-acabo { min-width: 0; width: 100%; min-height: 48px; padding: 0 6px; }
.nevera-cerrar { position: absolute; top: 2px; right: 2px; width: 32px; height: 32px; background: none; border: 0; color: #fff; font-size: 1.3rem; cursor: pointer; }
.nevera-balda > .bote.nevera-fuera { opacity: 0; transform: translateY(-30px) scale(.6); }
@media (prefers-reduced-motion: reduce) { .bote.nivel-mal .bote-frente { animation: none; } .nevera-balda > .bote, .tipo-boton, .receta-card { transition: none; } }
