/* Hallmark · shape: photo-wall menu · genre: editorial · theme: brand
 * paper: oklch(17% 0.008 50) · accent: oklch(58% 0.22 29) · display: Archivo expanded · body: Archivo · hero: bleeding photo · nav: logo and branch switch · footer: single line · signature: the menu as an edge-to-edge wall of photographs
 * axes: charcoal/expanded-grotesk/red · posture: bleed · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H4 E4 S4 R3 V4 · weakest: R, the photographs carry the page and the rest stays quiet */
@import url("./tokens.css");
@import url("./base.css");

:root { --nav-h: 60px; --tabs-h: 60px; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + var(--tabs-h) + var(--space-md)); color-scheme: dark; }
html:has(dialog[open]) { overflow-y: hidden; }
h1, h2, h3 { font-stretch: 125%; }

.wrap { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }

/* Nav */
.nav { position: sticky; top: 0; z-index: var(--z-sticky-nav); height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; gap: var(--space-sm); padding-inline: max(var(--gutter), calc((100% - var(--container)) / 2 + var(--gutter))); background: var(--color-paper); box-shadow: 0 var(--rule-hair) 0 var(--color-rule); }
.nav-logo { display: block; width: 104px; height: 40px; overflow: hidden; flex: none; }
.nav-logo img { width: 104px; height: 104px; margin-top: calc(-1 * var(--space-xl) + var(--space-2xs) * 2); mix-blend-mode: lighten; }
.nav-suc { display: flex; gap: var(--space-md); }
.nav-suc button { min-height: 44px; padding: 0 var(--space-2xs); border: 0; background: transparent; color: var(--color-muted); font-weight: 600; font-size: var(--text-sm); cursor: pointer; transition: color var(--dur-micro), box-shadow var(--dur-micro); }
.nav-suc button:hover { color: var(--color-ink); }
.nav-suc button[aria-pressed="true"] { color: var(--color-ink); box-shadow: inset 0 -2px 0 var(--color-accent); }

/* Hero */
.hero { position: relative; display: grid; align-items: end; min-height: min(calc(100svh - var(--nav-h)), 740px); overflow: clip; }
.hero-foto { position: absolute; inset: 0 0 0 auto; width: min(64%, 920px); margin: 0; }
.hero-foto img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; -webkit-mask-image: linear-gradient(to right, transparent, var(--color-paper) 42%); mask-image: linear-gradient(to right, transparent, var(--color-paper) 42%); }
.hero-in { position: relative; width: 100%; max-width: var(--container); margin-inline: auto; padding: var(--space-2xl) var(--gutter); }
.hero h1 { font-size: clamp(2.25rem, 4.7vw, 4.5rem); line-height: 1.02; max-width: 11ch; }
.hero .lead { margin-top: var(--space-md); color: var(--color-ink-2); }
.hero-acciones { display: flex; flex-wrap: wrap; gap: var(--space-xs); margin-top: var(--space-lg); }
.btn { min-height: 54px; padding: 0 var(--space-lg); border: 0; border-radius: var(--radius-card); background: var(--color-ink); color: var(--color-on-ink); font-family: var(--font-body); font-weight: 650; font-size: var(--text-md); cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: var(--space-xs); transition: background-color var(--dur-micro), transform var(--dur-micro) var(--ease-out); }
.btn:hover { background: var(--color-ink-2); }
.btn:active { transform: scale(0.97); }

/* Menú */
.menu { padding-block: var(--space-2xl) var(--space-3xl); box-shadow: 0 calc(-1 * var(--rule-hair)) 0 var(--color-rule); }
.menu-cab { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: var(--space-2xs) var(--space-lg); }
.menu-estado { color: var(--color-ink-2); }
.menu-estado b { color: var(--color-success); font-weight: 650; }
.menu-estado b.cerrado { color: var(--color-error); }
.buscar { display: flex; align-items: center; gap: var(--space-xs); margin-top: var(--space-md); padding-inline: var(--space-md); height: 50px; border-radius: var(--radius-card); background: var(--color-paper-2); color: var(--color-muted); }
.buscar:focus-within { box-shadow: inset 0 0 0 2px var(--color-ink); }
.buscar input { flex: 1; min-width: 0; height: 100%; border: 0; background: transparent; color: var(--color-ink); outline: 0; font-size: var(--text-md); }
.buscar input::placeholder { color: var(--color-muted); }
.buscar input::-webkit-search-cancel-button { filter: invert(1); }

.tabs { position: sticky; top: var(--nav-h); z-index: var(--z-sticky); margin-top: var(--space-xs); background: var(--color-paper); }
.tabs .wrap { padding-inline: 0; }
.tabs-pista { position: relative; display: flex; gap: var(--space-2xs); padding: var(--space-sm) var(--gutter); overflow-x: auto; scrollbar-width: none; }
.tabs-pista::-webkit-scrollbar { display: none; }
.tab { flex: none; min-height: 36px; padding: 0 var(--space-md); border: 0; border-radius: var(--radius-pill); background: transparent; color: var(--color-muted); font-weight: 600; font-size: var(--text-sm); cursor: pointer; transition: color var(--dur-micro); }
.tab:hover { color: var(--color-ink); }
.tabs-capa { position: absolute; top: var(--space-sm); left: 0; width: max-content; display: flex; gap: var(--space-2xs); padding-inline: var(--gutter); background: var(--color-paper-3); pointer-events: none; transition: clip-path var(--dur-short) var(--ease-out); }
.tabs-capa span { flex: none; display: flex; align-items: center; min-height: 36px; padding: 0 var(--space-md); color: var(--color-ink); font-weight: 600; font-size: var(--text-sm); }

.cat { padding-top: var(--space-xl); }
.cat h3 { font-size: var(--text-section); max-width: none; }
.cat-nota { margin-top: var(--space-2xs); color: var(--color-muted); }
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-3xs); margin-top: var(--space-md); }

.card { position: relative; display: flex; flex-direction: column; background: var(--color-paper-2); }
.card-abrir { display: flex; flex-direction: column; flex: 1; padding: 0; border: 0; background: none; color: inherit; text-align: left; cursor: pointer; }
.foto { display: block; aspect-ratio: 1; overflow: hidden; background: var(--color-paper-3); }
.foto img { width: 100%; height: 100%; object-fit: cover; }
.foto.sin { display: grid; place-items: center; padding: var(--space-md); color: var(--color-ink-2); font-weight: 700; font-stretch: 125%; font-size: var(--text-lg); line-height: 1.1; text-align: center; }
.card-nombre { display: block; margin: var(--space-sm) var(--space-sm) 0; font-weight: 700; font-stretch: 112%; font-size: var(--text-md); line-height: 1.2; overflow-wrap: break-word; transition: color var(--dur-micro); }
.card-abrir:hover .card-nombre { color: var(--color-ink-2); }
.card-desc { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; margin: var(--space-2xs) var(--space-sm) calc(var(--space-2xl) - var(--space-2xs)); font-size: var(--text-sm); line-height: 1.32; color: var(--color-muted); }
.card-pie { position: absolute; left: var(--space-sm); right: var(--space-xs); bottom: var(--space-xs); display: flex; align-items: center; justify-content: space-between; pointer-events: none; }
.precio { font-weight: 650; font-size: var(--text-md); }
.mas { pointer-events: auto; width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: var(--radius-card); background: var(--color-accent); color: var(--color-accent-ink); cursor: pointer; transition: background-color var(--dur-micro), transform var(--dur-micro) var(--ease-out); }
.mas:hover { background: var(--color-accent-deep); }
.mas:active { transform: scale(0.92); }
.sin-resultados { padding-block: var(--space-xl); color: var(--color-ink-2); }

/* Sucursales */
.sucs { padding-block: var(--space-2xl); box-shadow: 0 calc(-1 * var(--rule-hair)) 0 var(--color-rule); }
.sucs-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-xl); margin-top: var(--space-lg); }
.suc h3 { font-size: var(--text-2xl); }
.suc p { margin-top: var(--space-xs); color: var(--color-ink-2); }
.suc-links { display: flex; flex-wrap: wrap; gap: var(--space-xs); margin-top: var(--space-md); }
.link { display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--space-md); border-radius: var(--radius-card); box-shadow: inset 0 0 0 var(--rule-hair) var(--color-muted); color: var(--color-ink); font-weight: 600; text-decoration: none; transition: background-color var(--dur-micro), transform var(--dur-micro) var(--ease-out); }
.link:hover { background: var(--color-paper-3); }
.link:active { transform: scale(0.97); }

/* Quiénes somos */
.somos { padding-block: var(--space-2xl); background: var(--color-paper-2); }
.somos-in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; gap: var(--space-xl); }
.somos-foto { margin: 0; aspect-ratio: 1; overflow: hidden; border-radius: var(--radius-card); }
.somos-foto img { width: 100%; height: 100%; object-fit: cover; }
.somos h2 { font-size: clamp(1.5rem, 2.8vw, 2.5rem); line-height: 1.1; }
.somos .lead { margin-top: var(--space-md); color: var(--color-ink-2); }

.pie { padding-block: var(--space-lg) calc(var(--space-3xl) + env(safe-area-inset-bottom)); color: var(--color-muted); box-shadow: 0 calc(-1 * var(--rule-hair)) 0 var(--color-rule); }
.pie-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-xs) var(--space-lg); }

/* Barra del pedido */
.barra { position: fixed; z-index: var(--z-sticky-nav); left: 50%; bottom: calc(var(--space-md) + env(safe-area-inset-bottom)); translate: -50% 0; width: min(calc(100% - 2 * var(--space-md)), 420px); min-height: 58px; display: flex; align-items: center; gap: var(--space-sm); padding: 0 var(--space-md); border: 0; border-radius: var(--radius-card); background: var(--color-ink); color: var(--color-on-ink); font-family: var(--font-body); font-weight: 650; font-size: var(--text-md); cursor: pointer; animation: subir var(--dur-long) var(--ease-out); outline-offset: 3px; }
.barra-n { min-width: 28px; height: 28px; padding-inline: var(--space-2xs); display: grid; place-items: center; border-radius: 7px; background: var(--color-accent); color: var(--color-accent-ink); font-size: var(--text-sm); }
.barra-n.golpe { animation: golpe var(--dur-short) var(--ease-out); }
.barra-t { margin-left: auto; }
.barra:active { scale: 0.98; }

/* Hojas */
.hoja { width: min(100%, 500px); max-width: none; max-height: 92dvh; margin: auto auto 0; padding: 0; border: 0; border-radius: 18px 18px 0 0; background: var(--color-paper-2); color: var(--color-ink); overflow-y: auto; overscroll-behavior: contain; }
.hoja[open] { animation: subir var(--dur-long) var(--ease-out); }
.hoja.saliendo { animation: bajar var(--dur-short) var(--ease-in) forwards; }
.hoja::backdrop { background: var(--color-shade); animation: aparecer var(--dur-short) var(--ease-out); }
.hoja.saliendo::backdrop { animation: desaparecer var(--dur-short) forwards; }
.asa { position: relative; z-index: var(--z-raised); height: 24px; display: grid; place-items: center; cursor: grab; touch-action: none; }
.asa::before { content: ""; width: 40px; height: 4px; border-radius: var(--radius-pill); background: var(--color-muted); }
.cerrar { position: absolute; top: var(--space-sm); right: var(--space-sm); z-index: var(--z-raised); width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: var(--radius-card); background: var(--color-paper); color: var(--color-ink); cursor: pointer; transition: transform var(--dur-micro) var(--ease-out); }
.cerrar:active { transform: scale(0.92); }

.p-foto { aspect-ratio: 16 / 11; overflow: hidden; margin-top: calc(-1 * var(--space-lg)); background: var(--color-paper-3); }
.p-foto img { width: 100%; height: 100%; object-fit: cover; }
.p-foto.sin { display: grid; place-items: center; color: var(--color-ink-2); font-weight: 700; font-stretch: 125%; font-size: var(--text-2xl); }
.p-cuerpo { padding: var(--space-md) var(--space-md) var(--space-lg); }
.p-cuerpo h2 { font-size: var(--text-2xl); max-width: none; }
.p-lineas { margin: var(--space-xs) 0 0; padding: 0; list-style: none; color: var(--color-ink-2); }
.p-lineas li { display: inline; }
.p-lineas li:not(:last-child)::after { content: ", "; }
.op { margin: var(--space-md) 0 0; padding: 0; border: 0; }
.op legend { padding: 0; font-weight: 650; }
.fila { display: flex; align-items: center; gap: var(--space-sm); min-height: 52px; margin-top: var(--space-2xs); padding: var(--space-xs) var(--space-md); border-radius: var(--radius-card); box-shadow: inset 0 0 0 var(--rule-hair) var(--color-rule); font-weight: 550; cursor: pointer; transition: box-shadow var(--dur-micro), background-color var(--dur-micro), color var(--dur-micro); }
.fila.p-papas { margin-top: var(--space-md); }
.fila:hover { box-shadow: inset 0 0 0 var(--rule-hair) var(--color-muted); }
.fila:has(input:checked) { background: var(--color-ink); color: var(--color-on-ink); box-shadow: none; }
.fila:has(input:focus-visible) { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.fila input { width: 20px; height: 20px; margin: 0; accent-color: var(--color-accent); }
.fila .der { margin-left: auto; font-variant-numeric: tabular-nums; }
.campo { display: block; margin-top: var(--space-sm); font-weight: 600; font-size: var(--text-sm); }
.campo input, .campo textarea, .campo select { display: block; width: 100%; min-height: 50px; margin-top: var(--space-2xs); padding: var(--space-sm); border: 0; border-radius: var(--radius-card); background: var(--color-paper); color: var(--color-ink); font-weight: 400; font-size: var(--text-md); box-shadow: inset 0 0 0 var(--rule-hair) var(--color-rule); resize: vertical; }
.campo input::placeholder { color: var(--color-muted); }
.campo input:focus-visible, .campo textarea:focus-visible, .campo select:focus-visible { outline: 0; box-shadow: inset 0 0 0 2px var(--color-ink); }
.campo [aria-invalid="true"] { box-shadow: inset 0 0 0 2px var(--color-error); }
.error { margin-top: var(--space-2xs); color: var(--color-error); font-size: var(--text-sm); font-weight: 600; }
.p-pie { position: sticky; bottom: 0; display: flex; align-items: center; gap: var(--space-sm); padding: var(--space-sm) var(--space-md) calc(var(--space-sm) + env(safe-area-inset-bottom)); background: var(--color-paper-2); box-shadow: 0 calc(-1 * var(--rule-hair)) 0 var(--color-rule); }
.p-pie .btn { flex: 1; padding-inline: var(--space-sm); }
.cant { display: flex; align-items: center; flex: none; border-radius: var(--radius-card); box-shadow: inset 0 0 0 var(--rule-hair) var(--color-rule); }
.cant button { width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: var(--radius-card); background: none; color: var(--color-ink); font-size: var(--text-lg); cursor: pointer; transition: transform var(--dur-micro) var(--ease-out); }
.cant button:active { transform: scale(0.88); }
.cant output { min-width: 22px; text-align: center; font-weight: 650; font-variant-numeric: tabular-nums; }
.suc-pide { padding: var(--space-xs) var(--space-md) var(--space-xl); }
.suc-pide h2 { font-size: var(--text-xl); }
.suc-pide .btn { flex: 1; }

/* El pedido */
.t-cuadros { display: none; }
.t-cab { padding: var(--space-xs) var(--space-md) var(--space-md); }
.t-cab h2 { font-size: var(--text-2xl); max-width: none; }
.t-cab p { margin-top: var(--space-2xs); color: var(--color-muted); }
.t-sec { margin-inline: var(--space-md); padding-block: var(--space-sm) var(--space-md); border-top: var(--rule-hair) solid var(--color-rule); }
.t-lineas { margin: 0; padding: 0; list-style: none; }
.t-linea { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--space-xs) var(--space-sm); align-items: center; padding-block: var(--space-xs); }
.t-linea b { font-weight: 650; }
.t-mod { display: block; color: var(--color-muted); font-size: var(--text-sm); }
.t-linea .cant { grid-column: 1; justify-self: start; }
.t-linea .cant button { width: 44px; height: 36px; font-size: var(--text-md); }
.t-linea .num { grid-column: 2; grid-row: 1; align-self: start; font-weight: 600; }
.seg { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-2xs); }
.seg .fila { position: relative; justify-content: center; margin: 0; padding-inline: var(--space-xs); }
.seg.tres { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.seg input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.t-tot { font-variant-numeric: tabular-nums; }
.t-tot div { display: flex; justify-content: space-between; gap: var(--space-sm); padding-block: var(--space-3xs); color: var(--color-ink-2); }
.t-tot .total { align-items: baseline; margin-top: var(--space-2xs); color: var(--color-ink); font-weight: 700; font-stretch: 112%; font-size: var(--text-xl); }
.t-tot .bs { color: var(--color-muted); font-size: var(--text-sm); }
.t-aviso { margin-top: var(--space-xs); font-size: var(--text-sm); font-weight: 600; color: var(--color-error); }
.t-pie { position: sticky; bottom: 0; padding: var(--space-sm) var(--space-md) calc(var(--space-sm) + env(safe-area-inset-bottom)); background: var(--color-paper-2); box-shadow: 0 calc(-1 * var(--rule-hair)) 0 var(--color-rule); }
.t-pie .btn { width: 100%; }
.t-pie small { display: block; margin-top: var(--space-2xs); text-align: center; font-size: var(--text-xs); color: var(--color-muted); }
.t-listo { padding: var(--space-xl) var(--space-md); text-align: center; }
.t-listo h2 { font-size: var(--text-2xl); max-width: none; }
.t-listo p { margin: var(--space-xs) auto var(--space-lg); color: var(--color-ink-2); }

.aviso { position: fixed; z-index: var(--z-toast); left: 50%; top: calc(var(--nav-h) + var(--space-sm)); translate: -50% 0; max-width: calc(100% - 2 * var(--space-md)); padding: var(--space-xs) var(--space-md); border-radius: var(--radius-card); background: var(--color-ink); color: var(--color-on-ink); font-weight: 600; pointer-events: none; transition: opacity var(--dur-short), transform var(--dur-short) var(--ease-out); }
.aviso:empty { display: none; }
.js .aviso { opacity: 0; transform: translateY(-8px); }
.js .aviso.ver { opacity: 1; transform: none; }

.vuelo { position: fixed; z-index: var(--z-toast); border-radius: var(--radius-card); object-fit: cover; pointer-events: none; }

@keyframes subir { from { transform: translateY(100%); } }
@keyframes bajar { to { transform: translateY(100%); } }
@keyframes aparecer { from { opacity: 0; } }
@keyframes desaparecer { to { opacity: 0; } }
@keyframes golpe { 50% { transform: scale(1.2); } }
@keyframes subir-poco { from { transform: translateY(20px); opacity: 0; } }
@keyframes bajar-poco { to { transform: translateY(20px); opacity: 0; } }

@media (min-width: 45rem) {
  .hoja { margin: auto; border-radius: 18px; max-height: 88dvh; }
  .hoja[open] { animation-name: subir-poco; }
  .hoja.saliendo { animation-name: bajar-poco; }
  .asa { display: none; }
  .p-foto { margin-top: 0; }
  .t-cab { padding-top: var(--space-lg); }
}

@media (max-width: 60rem) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 45rem) {
  .hero { display: block; min-height: 0; }
  .hero-foto { position: relative; inset: auto; width: 100%; aspect-ratio: 1 / 0.9; }
  .hero-foto img { -webkit-mask-image: linear-gradient(to bottom, var(--color-paper) 60%, transparent); mask-image: linear-gradient(to bottom, var(--color-paper) 60%, transparent); }
  .hero-in { margin-top: calc(-1 * var(--space-2xl)); padding: 0 var(--gutter) var(--space-xl); }
  .hero h1 { font-size: clamp(1.75rem, 9.2vw, 3rem); max-width: none; }
  .hero-acciones .btn { flex: 1; padding-inline: var(--space-sm); }
  .carta { padding-inline: 0; }
  .cat h3, .cat-nota { padding-inline: var(--gutter); }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sucs-grid, .somos-in { grid-template-columns: minmax(0, 1fr); }
  .nav-logo { width: 92px; }
  .nav-logo img { width: 92px; height: 92px; margin-top: calc(-1 * var(--space-lg)); }
}

.nav-ciudad { font-weight: 600; font-size: var(--text-sm); }

/* Movimiento */
.hero { background: radial-gradient(60% 72% at 80% 100%, color-mix(in oklab, var(--color-accent) 34%, transparent), transparent 72%); }
.hero-foto img { transform-origin: 60% 55%; animation: foto-entra 1100ms var(--ease-out) both; }
.hero-in > * { animation: sube 700ms var(--ease-out) both; }
.hero-in > :nth-child(2) { animation-delay: 90ms; }
.hero-in > :nth-child(3) { animation-delay: 180ms; }
.hero .btn { background: var(--color-accent); color: var(--color-accent-ink); min-width: 200px; }
.hero .btn:hover { background: var(--color-accent-deep); }

.cinta { overflow: clip; padding-block: var(--space-sm); background: var(--color-accent); color: var(--color-accent-ink); }
.cinta-pista { display: flex; width: max-content; animation: cinta 40s linear infinite; }
.cinta-g { display: flex; flex: none; gap: var(--space-xl); margin: 0; padding: 0 var(--space-xl) 0 0; list-style: none; }
.cinta-g li { font-weight: 800; font-stretch: 125%; font-size: clamp(1.25rem, 2.6vw, 2.25rem); line-height: 1.1; text-transform: uppercase; white-space: nowrap; }
.cinta-g li:nth-child(even) { color: transparent; -webkit-text-stroke: 1.5px var(--color-accent-ink); }

.cat h3::after { content: ""; display: block; width: 56px; height: 4px; margin-top: var(--space-xs); background: var(--color-accent); transform-origin: left; transition: transform var(--dur-long) var(--ease-out); }
.jj .cat:not(.vista) h3::after { transform: scaleX(0); }
.jj .card .foto img { transform: scale(1.12); transition: transform 800ms var(--ease-out) var(--d, 0ms); }
.jj .card.vista .foto img { transform: none; }
@media (hover: hover) { .jj .card.vista:hover .foto img { transform: scale(1.05); transition-delay: 0ms; transition-duration: var(--dur-long); } }

.en-pedido { position: absolute; top: var(--space-xs); left: var(--space-xs); min-width: 30px; height: 30px; padding-inline: var(--space-2xs); display: grid; place-items: center; border-radius: 7px; background: var(--color-accent); color: var(--color-accent-ink); font-weight: 700; font-size: var(--text-sm); pointer-events: none; }
.mas.ok svg { display: none; }
.mas.ok::after { content: ""; width: 18px; height: 10px; margin-top: -3px; border-left: 3px solid currentColor; border-bottom: 3px solid currentColor; transform: rotate(-45deg); animation: entra-check 260ms var(--ease-out); }

.hoja[open] .p-foto img { animation: foto-entra 640ms var(--ease-out); }
.fila.p-papas:has(input:checked)::after { content: ""; order: 1; width: 40px; height: 40px; margin-left: auto; border-radius: 8px; background: url("img/p/8d4b444b-81d2-49f5-97cc-4b3e79935699.webp") center / cover; animation: pop 320ms var(--ease-out); }
.fila.p-papas:has(input:checked) .der { order: 2; margin-left: 0; }

@keyframes foto-entra { from { transform: scale(1.12); } }
@keyframes sube { from { transform: translateY(18px); opacity: 0; } }
@keyframes cinta { to { transform: translateX(-50%); } }
@keyframes pop { 0% { transform: scale(0.4); } 60% { transform: scale(1.15); } 100% { transform: scale(1); } }
@keyframes entra-check { from { transform: rotate(-45deg) scale(0.3); } }
