/* ZOË · tienda y panel. Colores y letras del manual de marca. */
:root {
  --crema: #f5f0e8; --arena: #e8dfd0; --arena-2: #ddd1bd; --tostado: #c4a882; --tierra: #8b6f4e;
  --carbon: #2a2420; --negro: #1a1410; --blanco: #fdfaf5; --tinta-2: #5d5148; --tinta-3: #8a7d70;
  --salvia: #4f6b62; --salvia-suave: #e3ebe5; --alerta: #a3492f; --alerta-suave: #f6e4dc;
  --oro: #b8960c; --oro-suave: #f4ecd2; --wa: #1f7a4d;
  --serif: 'Cormorant Garamond', 'Times New Roman', Georgia, serif;
  --sans: 'Jost', 'Segoe UI', system-ui, sans-serif;
  --r: 18px; --r-sm: 12px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--crema); color: var(--carbon); font-family: var(--sans); font-size: 15px; line-height: 1.45; -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
img { max-width: 100%; display: block; }
.num { font-variant-numeric: tabular-nums; }
.cargando { padding: 80px 20px; text-align: center; color: var(--tinta-3); font-family: var(--serif); font-style: italic; font-size: 22px; }

/* ---------- piezas comunes ---------- */
.etq { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--tinta-3); margin: 0 0 6px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips button { border: 1px solid var(--arena-2); background: var(--blanco); border-radius: 999px; padding: 8px 14px; font-size: 14px; }
.chips button[aria-pressed="true"] { border-color: var(--carbon); background: var(--carbon); color: var(--crema); }
.chips button:disabled { opacity: .45; text-decoration: line-through; cursor: not-allowed; }
.paso-q { display: inline-flex; align-items: center; border: 1px solid var(--arena-2); border-radius: 999px; background: var(--blanco); }
.paso-q button { border: 0; background: none; width: 40px; height: 40px; font-size: 18px; }
.paso-q button:disabled { opacity: .3; }
.paso-q span { min-width: 26px; text-align: center; font-weight: 600; }
.paso-q.chico button { width: 32px; height: 32px; font-size: 16px; }
.btn { border: 0; border-radius: 999px; padding: 14px 18px; font-size: 15px; font-weight: 500; background: var(--carbon); color: var(--crema); width: 100%; display: flex; justify-content: center; gap: 8px; align-items: center; text-decoration: none; text-align: center; }
.btn:disabled { opacity: .4; cursor: not-allowed; }
.btn.claro { background: var(--blanco); color: var(--carbon); border: 1px solid var(--arena-2); }
.btn.wa { background: var(--wa); color: #fff; }
.btn.chico { padding: 9px 14px; font-size: 14px; width: auto; }
.btn.peligro { background: var(--alerta); color: #fff; }
.link { border: 0; background: none; color: var(--tierra); text-decoration: underline; padding: 4px 0; font-size: 14px; text-align: left; }
.poco { font-size: 13px; color: var(--alerta); }
.campo { display: grid; gap: 5px; margin-bottom: 12px; }
.campo label { font-size: 13px; color: var(--tinta-2); }
.campo input, .campo textarea, .campo select { width: 100%; border: 1px solid var(--arena-2); background: var(--blanco); border-radius: 10px; padding: 11px 12px; font-size: 16px; }
.campo textarea { min-height: 76px; resize: vertical; }
.campo input:focus, .campo textarea:focus, .campo select:focus { outline: 2px solid var(--tostado); border-color: var(--tostado); }
.campo .err { color: var(--alerta); font-size: 13px; }
.campo.mal input { border-color: var(--alerta); }
.campo small { color: var(--tinta-3); font-size: 12px; }
.interruptor { display: flex; align-items: center; gap: 12px; width: 100%; border: 1px solid var(--arena-2); background: var(--blanco); border-radius: var(--r-sm); padding: 14px; text-align: left; margin-bottom: 12px; }
.sw { width: 46px; height: 28px; border-radius: 14px; background: var(--arena-2); position: relative; flex: none; transition: background .15s; }
.sw::after { content: ''; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; transition: left .15s; }
.interruptor .sw { margin-left: auto; }
[aria-pressed="true"] > .sw { background: var(--salvia); }
[aria-pressed="true"] > .sw::after { left: 21px; }
.mini-sw { display: flex; align-items: center; gap: 8px; border: 0; background: none; font-size: 13px; padding: 0; text-align: left; }
.mini-sw .sw { width: 38px; height: 22px; border-radius: 11px; }
.mini-sw .sw::after { top: 2px; left: 2px; width: 18px; height: 18px; }
.mini-sw[aria-pressed="true"] .sw::after { left: 18px; }
.nota-suave { background: var(--salvia-suave); color: #2f4a41; border-radius: var(--r-sm); padding: 11px 13px; font-size: 13px; margin-bottom: 12px; }
.nota-p { background: var(--oro-suave); color: #5c4a08; border-radius: var(--r-sm); padding: 10px 13px; font-size: 13px; margin-bottom: 14px; }
.nota-mal { background: var(--alerta-suave); color: var(--alerta); border-radius: var(--r-sm); padding: 10px 13px; font-size: 14px; margin-bottom: 12px; }
.vacio { text-align: center; padding: 50px 24px; color: var(--tinta-2); }
.vacio .grande { font-family: var(--serif); font-size: 26px; font-style: italic; color: var(--carbon); margin-bottom: 8px; }
.aviso-flota { position: fixed; left: 50%; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); background: var(--carbon); color: var(--crema); padding: 10px 18px; border-radius: 999px; font-size: 14px; z-index: 90; box-shadow: 0 10px 24px -10px rgba(26,20,16,.6); max-width: calc(100% - 32px); text-align: center; }
.aviso-flota.mal { background: var(--alerta); color: #fff; }
@keyframes subir { from { transform: translateY(40px); opacity: .4; } to { transform: none; opacity: 1; } }

/* ---------- tienda ---------- */
.t-cab { position: sticky; top: 0; z-index: 5; background: rgba(245,240,232,.94); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid var(--arena); padding-top: env(safe-area-inset-top, 0px); }
.t-cab .in { max-width: 1080px; margin: 0 auto; display: flex; align-items: center; gap: 10px; padding: 12px 16px; }
.t-cab img { width: 36px; height: 36px; border-radius: 50%; background: var(--blanco); }
.t-cab .tit { font-family: var(--serif); font-size: 22px; font-weight: 600; line-height: 1; }
.t-cab .tit small { display: block; font-family: var(--sans); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--tinta-3); margin-top: 3px; font-weight: 400; }
.t-cab .atras { border: 0; background: var(--arena); width: 38px; height: 38px; border-radius: 50%; font-size: 20px; display: grid; place-items: center; flex: none; }
.t-cab .bolsa-ic { margin-left: auto; border: 1px solid var(--arena-2); background: var(--blanco); border-radius: 999px; padding: 7px 12px; display: flex; align-items: center; gap: 6px; font-size: 14px; }
.t-cab .bolsa-ic b { background: var(--carbon); color: var(--crema); border-radius: 999px; min-width: 20px; height: 20px; display: grid; place-items: center; font-size: 12px; padding: 0 5px; }
.previa { background: var(--oro-suave); color: #5c4a08; font-size: 13px; padding: 8px 16px; text-align: center; }
.previa a { color: inherit; }
.ancho { max-width: 1080px; margin: 0 auto; }
.angosto { max-width: 560px; margin: 0 auto; }

/* fondo de la tienda: crema con luz cálida, un toque salvia y textura de papel */
body.tienda {
  background-color: var(--crema);
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .35 0 0 0 0 .27 0 0 0 0 .2 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E"),
    radial-gradient(60rem 34rem at 92% -6%, rgba(196,168,130,.42), transparent 62%),
    radial-gradient(44rem 30rem at -10% 22%, rgba(79,107,98,.13), transparent 60%),
    radial-gradient(50rem 40rem at 70% 105%, rgba(221,209,189,.7), transparent 65%);
  background-attachment: fixed;
}
body.tienda .t-cab { background: rgba(245,240,232,.82); }
body.tienda .cats { background: rgba(245,240,232,.82); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.hero { padding: 26px 16px 14px; display: grid; gap: 22px; align-items: center; }
.hero .ojo { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--tierra); margin: 0 0 10px; }
.hero h1 { font-family: var(--serif); font-weight: 500; font-style: italic; font-size: clamp(36px, 7vw, 60px); line-height: 1; margin: 0; text-wrap: balance; }
.hero h1 b { font-style: normal; font-weight: 700; text-transform: uppercase; letter-spacing: .02em; }
.hero-txt > p { margin: 12px 0 0; color: var(--tinta-2); font-size: 15.5px; max-width: 46ch; }
.pronto { margin-top: 18px; background: rgba(253,250,245,.78); border: 1px solid var(--arena-2); border-radius: var(--r); padding: 14px 16px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; max-width: 520px; }
.pronto p { margin: 0; flex: 1 1 220px; font-size: 14px; color: var(--tinta-2); }
.pronto b { color: var(--carbon); font-weight: 500; }
.hero-fotos { position: relative; height: clamp(190px, 46vw, 340px); max-width: 100%; }
.hero-fotos img { position: absolute; width: 46%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 14px; border: 6px solid var(--blanco); box-shadow: 0 18px 34px -18px rgba(42,36,32,.45); }
.hero-fotos img:nth-child(1) { left: 0; top: 10%; width: 40%; transform: rotate(-5deg); }
.hero-fotos img:nth-child(2) { left: 30%; top: 0; z-index: 2; transform: rotate(1.5deg); }
.hero-fotos img:nth-child(3) { right: 0; top: 14%; width: 38%; transform: rotate(6deg); }
.hero-fotos img { height: auto; max-height: 100%; }
@media (min-width: 760px) {
  .hero { grid-template-columns: 1.05fr .95fr; padding: 44px 16px 26px; }
  .hero-fotos { height: 360px; }
}
.a-confirmar { font-size: 12.5px; font-weight: 400; color: var(--tinta-3); font-style: italic; }
.cats { position: sticky; top: calc(61px + env(safe-area-inset-top, 0px)); z-index: 4; background: var(--crema); }
.cats .in { max-width: 1080px; margin: 0 auto; display: flex; gap: 8px; overflow-x: auto; padding: 12px 16px; scrollbar-width: none; }
.cats .in::-webkit-scrollbar { display: none; }
.cats button { flex: none; border: 1px solid var(--arena-2); background: var(--blanco); border-radius: 999px; padding: 7px 14px; font-size: 14px; letter-spacing: .02em; }
.cats button[aria-pressed="true"] { background: var(--carbon); color: var(--crema); border-color: var(--carbon); }
.grilla { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(160px, 42vw), 1fr)); gap: 16px 12px; padding: 4px 16px 110px; }
.grupo-tit { grid-column: 1 / -1; font-family: var(--serif); font-size: 24px; font-weight: 600; font-style: italic; margin: 12px 0 -4px; }
.prod { background: var(--blanco); border-radius: var(--r-sm); overflow: hidden; border: 1px solid var(--arena); display: flex; flex-direction: column; text-align: left; padding: 0; }
.prod .foto { aspect-ratio: 4 / 5; background: var(--arena); position: relative; overflow: hidden; }
.prod .foto img { width: 100%; height: 100%; object-fit: cover; }
.prod .foto .sello { position: absolute; left: 8px; top: 8px; background: rgba(253,250,245,.92); border-radius: 999px; font-size: 11px; padding: 3px 9px; letter-spacing: .04em; }
.prod .foto .sello.agot { background: var(--carbon); color: var(--crema); }
.prod .info { padding: 9px 10px 11px; display: flex; flex-direction: column; gap: 2px; flex: 1; }
.prod .info .n { font-size: 14px; font-weight: 500; line-height: 1.25; }
.prod .info .v { font-size: 12px; color: var(--tinta-3); }
.prod .info .p { margin-top: auto; padding-top: 4px; font-size: 15px; font-weight: 600; display: flex; justify-content: space-between; align-items: center; }
.prod .info .p .mas { width: 30px; height: 30px; border-radius: 50%; background: var(--carbon); color: var(--crema); display: grid; place-items: center; font-size: 18px; font-weight: 400; }
.prod.sin .foto img { filter: grayscale(.6) opacity(.7); }

.barra-bolsa { position: fixed; left: 0; right: 0; bottom: 0; z-index: 6; padding: 10px 16px calc(12px + env(safe-area-inset-bottom, 0px)); background: linear-gradient(to top, var(--crema) 70%, rgba(245,240,232,0)); }
.barra-bolsa button { max-width: 560px; margin: 0 auto; width: 100%; border: 0; background: var(--carbon); color: var(--crema); border-radius: 999px; padding: 14px 18px; display: flex; align-items: center; gap: 10px; font-size: 15px; box-shadow: 0 10px 24px -10px rgba(26,20,16,.6); }
.barra-bolsa button span:last-child { margin-left: auto; font-weight: 600; }

.velo { position: fixed; inset: 0; background: rgba(26,20,16,.45); z-index: 20; display: flex; align-items: flex-end; justify-content: center; }
.hoja { background: var(--crema); width: 100%; max-width: 560px; max-height: 92vh; overflow-y: auto; border-radius: 24px 24px 0 0; scrollbar-width: none; animation: subir .22s ease-out; }
.hoja::-webkit-scrollbar { display: none; }
@media (min-width: 760px) { .velo { align-items: center; } .hoja { border-radius: 24px; max-height: 88vh; } }
.hoja .foto-g { position: relative; aspect-ratio: 4 / 4.2; max-height: 50vh; width: 100%; overflow: hidden; background: var(--arena); }
.hoja .foto-g img { width: 100%; height: 100%; object-fit: cover; }
.hoja .ver-foto { display: block; width: 100%; height: 100%; border: 0; padding: 0; background: none; cursor: zoom-in; }
.hoja .lupa { position: absolute; left: 12px; bottom: 12px; width: 36px; height: 36px; border-radius: 50%; background: rgba(253,250,245,.92); color: var(--carbon); display: grid; place-items: center; font-size: 18px; box-shadow: 0 4px 12px -6px rgba(26,20,16,.5); }
/* foto entera: se toca la foto y se ve el artículo completo */
.zoom { position: fixed; inset: 0; z-index: 80; background: rgba(26,20,16,.94); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: calc(56px + env(safe-area-inset-top, 0px)) 12px calc(18px + env(safe-area-inset-bottom, 0px)); animation: aparecer .18s ease-out; }
.zoom > img { max-width: 100%; max-height: calc(100% - 90px); width: auto; height: auto; object-fit: contain; border-radius: 10px; cursor: zoom-out; }
.zoom .cerrar { position: absolute; top: calc(12px + env(safe-area-inset-top, 0px)); right: 12px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(253,250,245,.14); color: var(--crema); font-size: 18px; }
.pie-zoom { color: var(--crema); font-size: 14px; text-align: center; display: grid; gap: 10px; justify-items: center; }
.pie-zoom b { font-family: var(--serif); font-size: 20px; font-weight: 600; }
.miniaturas { display: flex; gap: 8px; }
.miniaturas button { width: 48px; height: 58px; padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden; background: none; opacity: .6; }
.miniaturas button[aria-pressed="true"] { border-color: var(--crema); opacity: 1; }
.miniaturas img { width: 100%; height: 100%; object-fit: cover; }
@keyframes aparecer { from { opacity: 0; } to { opacity: 1; } }
.hoja .cerrar { position: absolute; top: 12px; right: 12px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(253,250,245,.92); font-size: 18px; }
.hoja .cuerpo { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 12px; }
.hoja .acc { position: sticky; bottom: 0; background: var(--crema); padding: 8px 0 calc(4px + env(safe-area-inset-bottom, 0px)); margin-bottom: -4px; display: grid; gap: 12px; }
.hoja h3 { font-family: var(--serif); font-size: 30px; font-weight: 600; line-height: 1.05; margin: 0; }
.hoja .precio { font-size: 20px; font-weight: 600; }
.hoja .desc { color: var(--tinta-2); font-size: 15px; margin: 0; }

.sec { padding: 14px 16px; }
.sec h2 { font-family: var(--serif); font-size: 30px; font-weight: 600; font-style: italic; margin: 0 0 4px; line-height: 1.1; text-wrap: balance; }
.sec h2 b { font-style: normal; text-transform: uppercase; font-weight: 700; }
.sec .sub { color: var(--tinta-2); font-size: 14px; margin: 0 0 12px; }
.item-b { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--arena); }
.item-b img { width: 64px; height: 80px; object-fit: cover; border-radius: 10px; background: var(--arena); }
.item-b .n { font-weight: 500; font-size: 14px; line-height: 1.25; }
.item-b .v { font-size: 12px; color: var(--tinta-3); }
.item-b .der { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.item-b .der b { font-size: 14px; }
.totales { margin-top: 12px; display: grid; gap: 6px; font-size: 14px; }
.totales div { display: flex; justify-content: space-between; gap: 10px; }
.totales .tot { font-size: 18px; font-weight: 600; padding-top: 8px; border-top: 1px solid var(--arena-2); }
.pie-fijo { position: sticky; bottom: 0; background: var(--crema); padding: 10px 16px calc(14px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--arena); z-index: 6; }
.pie-fijo .in { max-width: 560px; margin: 0 auto; display: grid; gap: 8px; }
.pasos { display: flex; gap: 4px; padding: 12px 16px 0; }
.pasos span { flex: 1; height: 4px; border-radius: 2px; background: var(--arena-2); }
.pasos span.ok { background: var(--carbon); }
.pasos-txt { padding: 6px 16px 0; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--tinta-3); }
.opcion { display: grid; grid-template-columns: 40px minmax(0, 1fr) 22px; gap: 12px; align-items: center; width: 100%; text-align: left; border: 1px solid var(--arena-2); background: var(--blanco); border-radius: var(--r-sm); padding: 14px; margin-bottom: 10px; }
.opcion .ic { width: 40px; height: 40px; border-radius: 50%; background: var(--arena); display: grid; place-items: center; font-size: 19px; }
.opcion b { font-weight: 500; display: block; }
.opcion small { color: var(--tinta-2); font-size: 13px; display: block; line-height: 1.35; }
.opcion .radio { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--arena-2); }
.opcion[aria-pressed="true"] { border-color: var(--carbon); box-shadow: 0 0 0 1px var(--carbon); }
.opcion[aria-pressed="true"] .radio { border: 6px solid var(--carbon); }
.dias { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-bottom: 14px; }
.dias button { border: 1px solid var(--arena-2); background: var(--blanco); border-radius: 12px; padding: 8px 4px; text-align: center; line-height: 1.15; }
.dias button small { display: block; font-size: 11px; color: var(--tinta-3); text-transform: uppercase; letter-spacing: .08em; }
.dias button b { font-size: 17px; font-weight: 500; }
.dias button[aria-pressed="true"] { background: var(--carbon); color: var(--crema); border-color: var(--carbon); }
.dias button[aria-pressed="true"] small { color: var(--tostado); }
.resumen-b { background: var(--blanco); border: 1px solid var(--arena); border-radius: var(--r-sm); padding: 4px 14px; margin-bottom: 12px; }
.resumen-b .fila { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--arena); align-items: start; }
.resumen-b .fila:last-child { border-bottom: 0; }
.resumen-b .fila .etq { margin: 0 0 2px; }
.resumen-b .fila p { margin: 0; font-size: 14px; overflow-wrap: anywhere; }
.listo { text-align: center; padding: 30px 20px 10px; }
.listo .flor { font-size: 40px; }
.listo h2 { font-family: var(--serif); font-size: 32px; font-weight: 600; font-style: italic; margin: 6px 0; line-height: 1.1; text-wrap: balance; }
.listo h2 b { font-style: normal; text-transform: uppercase; }
.msj-wa { background: #dcf3d0; border-radius: 12px 12px 12px 2px; padding: 10px 12px; font-size: 13px; white-space: pre-wrap; text-align: left; margin: 14px 0; color: #1d2b1a; max-height: 240px; overflow-y: auto; overflow-wrap: anywhere; }
.portada { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 40px 20px; }
.portada img { width: 92px; height: 92px; margin: 0 auto 14px; border-radius: 50%; background: var(--blanco); }
.portada h1 { font-family: var(--serif); font-size: clamp(32px, 7vw, 48px); font-weight: 500; font-style: italic; margin: 0 0 8px; line-height: 1.05; text-wrap: balance; }
.portada h1 b { font-style: normal; font-weight: 700; text-transform: uppercase; }
.portada p { color: var(--tinta-2); max-width: 40ch; margin: 0 auto 6px; }
.portada a { color: var(--tierra); }
.pie-tienda { text-align: center; color: var(--tinta-3); font-size: 13px; padding: 10px 16px 120px; }
.pie-tienda a { color: inherit; }

/* ---------- panel de Julieta ---------- */
.p-top { background: var(--negro); color: var(--arena); padding: calc(10px + env(safe-area-inset-top, 0px)) 16px 10px; }
.p-top .in { max-width: 1180px; margin: 0 auto; display: flex; align-items: center; gap: 10px 16px; flex-wrap: wrap; }
.p-top img { width: 34px; height: 34px; border-radius: 50%; background: var(--crema); }
.p-top b.m { font-family: var(--serif); font-size: 22px; font-weight: 600; color: var(--blanco); }
.p-top small { display: block; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--tostado); }
.p-top .der { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.p-top .der a, .p-top .der button { border: 1px solid #4a3f37; background: transparent; color: var(--arena); border-radius: 999px; padding: 7px 13px; font-size: 13px; text-decoration: none; }
.estado-t { font-size: 12px; border-radius: 999px; padding: 4px 10px; }
.estado-t.abierta { background: var(--salvia); color: #fff; }
.estado-t.cerrada { background: var(--oro-suave); color: #5c4a08; }
.panel { max-width: 1180px; margin: 0 auto; padding: 18px 16px 60px; }
.p-cab { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px 20px; margin-bottom: 14px; }
.p-cab h1 { font-family: var(--serif); font-size: 34px; font-weight: 600; font-style: italic; margin: 0; line-height: 1; }
.p-cab h1 b { font-style: normal; text-transform: uppercase; }
.p-cab .fecha { color: var(--tinta-2); font-size: 14px; }
.cifras { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-bottom: 16px; }
.cifra { background: var(--blanco); border: 1px solid var(--arena-2); border-radius: var(--r-sm); padding: 12px 14px; text-align: left; }
.cifra b { display: block; font-size: 24px; font-weight: 500; line-height: 1.1; }
.cifra span { font-size: 13px; color: var(--tinta-2); }
.cifra.ojo { border-color: var(--alerta); background: var(--alerta-suave); }
.cifra.ojo b { color: var(--alerta); }
@media (max-width: 720px) { .cifras { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.subnav { display: flex; gap: 6px; border-bottom: 1px solid var(--arena-2); margin-bottom: 16px; overflow-x: auto; scrollbar-width: none; }
.subnav::-webkit-scrollbar { display: none; }
.subnav button { border: 0; background: none; padding: 10px 14px; font-size: 15px; color: var(--tinta-2); border-bottom: 2px solid transparent; margin-bottom: -1px; flex: none; }
.subnav button[aria-pressed="true"] { color: var(--carbon); border-bottom-color: var(--carbon); font-weight: 500; }
.dos-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 18px; align-items: start; }
@media (max-width: 900px) { .dos-col { grid-template-columns: minmax(0, 1fr); } }
.filtros { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.filtros button { border: 1px solid var(--arena-2); background: var(--blanco); border-radius: 999px; padding: 7px 13px; font-size: 13px; display: flex; gap: 6px; align-items: center; }
.filtros button b { background: var(--arena); border-radius: 999px; padding: 0 7px; font-size: 12px; font-weight: 600; }
.filtros button.ojo b { background: var(--alerta); color: #fff; }
.filtros button[aria-pressed="true"] { background: var(--carbon); color: var(--crema); border-color: var(--carbon); }
.filtros button[aria-pressed="true"] b { background: var(--crema); color: var(--carbon); }
.pedido { width: 100%; text-align: left; background: var(--blanco); border: 1px solid var(--arena-2); border-radius: var(--r-sm); padding: 12px 14px; margin-bottom: 10px; display: grid; gap: 6px; border-left: 4px solid var(--arena-2); }
.pedido.nuevo { border-left-color: var(--alerta); }
.pedido.confirmado { border-left-color: var(--oro); }
.pedido.preparado { border-left-color: var(--salvia); }
.pedido.elegido { box-shadow: 0 0 0 2px var(--carbon); }
.pedido .l1 { display: flex; gap: 8px; align-items: baseline; }
.pedido .l1 b { font-size: 16px; font-weight: 500; }
.pedido .l1 .hace { margin-left: auto; font-size: 12px; color: var(--tinta-3); white-space: nowrap; }
.pedido .l2 { font-size: 13px; color: var(--tinta-2); display: flex; flex-wrap: wrap; gap: 4px 12px; }
.marcas { display: flex; flex-wrap: wrap; gap: 6px; }
.marca-e { font-size: 12px; border-radius: 999px; padding: 2px 9px; background: var(--arena); }
.marca-e.nuevo { background: var(--alerta-suave); color: var(--alerta); font-weight: 500; }
.marca-e.confirmado { background: var(--oro-suave); color: #6b5608; }
.marca-e.preparado { background: var(--salvia-suave); color: var(--salvia); }
.marca-e.entregado { background: var(--arena); color: var(--tinta-2); }
.marca-e.cancelado { background: #eee; color: #777; text-decoration: line-through; }
.marca-e.debe { background: var(--alerta); color: #fff; }
.marca-e.pago { background: var(--salvia); color: #fff; }
.marca-e.regalo, .marca-e.ej { background: var(--oro-suave); color: #6b5608; }
.detalle { background: var(--blanco); border: 1px solid var(--arena-2); border-radius: var(--r); padding: 16px; position: sticky; top: 12px; }
.detalle h3 { font-family: var(--serif); font-size: 26px; font-weight: 600; margin: 0; line-height: 1.1; }
.linea-t { display: flex; margin: 14px 0; }
.linea-t div { flex: 1; text-align: center; font-size: 11px; color: var(--tinta-3); position: relative; padding-top: 18px; }
.linea-t div::before { content: ''; position: absolute; top: 4px; left: 50%; transform: translateX(-50%); width: 12px; height: 12px; border-radius: 50%; background: var(--arena-2); z-index: 1; }
.linea-t div::after { content: ''; position: absolute; top: 9px; left: 0; right: 0; height: 2px; background: var(--arena-2); }
.linea-t div:first-child::after { left: 50%; } .linea-t div:last-child::after { right: 50%; }
.linea-t div.ok { color: var(--carbon); font-weight: 500; }
.linea-t div.ok::before, .linea-t div.ok::after { background: var(--carbon); }
.bloque-d { border-top: 1px solid var(--arena); padding: 12px 0; display: grid; gap: 4px; font-size: 14px; }
.bloque-d .etq { margin: 0; }
.mini-it { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 4px 0; }
.mini-it img { width: 40px; height: 50px; object-fit: cover; border-radius: 6px; background: var(--arena); }
.tarjeta-txt { font-family: var(--serif); font-style: italic; font-size: 19px; background: var(--crema); border-radius: 10px; padding: 10px 12px; }
.paso-sig { background: var(--crema); border-radius: var(--r-sm); padding: 12px; display: grid; gap: 8px; margin-top: 4px; }
.paso-sig .etq { margin: 0; color: var(--tierra); }
.paso-sig textarea { width: 100%; min-height: 130px; border: 1px solid var(--arena-2); border-radius: 10px; padding: 10px; font-size: 15px; background: var(--blanco); resize: vertical; }
.fila-btn { display: flex; flex-wrap: wrap; gap: 8px; }
.fila-btn .btn { width: auto; flex: 1 1 160px; }
.dia-ag { margin-bottom: 18px; }
.dia-ag h3 { font-family: var(--serif); font-size: 22px; font-weight: 600; font-style: italic; margin: 0 0 8px; }
.dia-ag h3 span { font-family: var(--sans); font-style: normal; font-size: 13px; font-weight: 400; color: var(--tinta-3); }
.ag { display: grid; grid-template-columns: 92px minmax(0, 1fr) auto; gap: 10px; align-items: center; background: var(--blanco); border: 1px solid var(--arena-2); border-radius: var(--r-sm); padding: 10px 12px; margin-bottom: 8px; width: 100%; text-align: left; }
.ag .h { font-size: 13px; color: var(--tinta-2); }
.ag .h b { display: block; font-size: 14px; color: var(--carbon); font-weight: 500; }
.ag .q { font-size: 14px; min-width: 0; }
.ag .q small { display: block; color: var(--tinta-3); font-size: 12px; }
.prod-bar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 12px; }
.prod-bar .campo { margin: 0; flex: 1 1 220px; max-width: 360px; }
.prod-bar .btn { width: auto; }
.tabla-p { display: grid; gap: 8px; }
.fila-p { display: grid; grid-template-columns: 56px minmax(0, 1fr) 120px auto auto; gap: 12px; align-items: center; background: var(--blanco); border: 1px solid var(--arena-2); border-radius: var(--r-sm); padding: 8px 12px; text-align: left; width: 100%; }
.fila-p img { width: 56px; height: 70px; object-fit: cover; border-radius: 8px; background: var(--arena); }
.fila-p .n { font-weight: 500; font-size: 14px; line-height: 1.25; min-width: 0; }
.fila-p .n small { display: block; color: var(--tinta-3); font-weight: 400; font-size: 12px; }
.fila-p .pr { font-size: 15px; font-weight: 500; }
.fila-p .st { font-size: 13px; color: var(--tinta-2); }
.fila-p.oculto { opacity: .6; }
@media (max-width: 720px) {
  .fila-p { grid-template-columns: 56px minmax(0, 1fr) auto; }
  .fila-p img { grid-row: span 2; }
  .fila-p .st { grid-column: 2; }
}
.form-p { max-width: 640px; }
.var-ed { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 12px; background: var(--blanco); border: 1px solid var(--arena-2); border-radius: var(--r-sm); padding: 10px; margin-bottom: 10px; }
.var-ed .ph { width: 84px; height: 105px; border-radius: 10px; background: var(--arena); border: 1px dashed var(--tostado); overflow: hidden; display: grid; place-items: center; font-size: 12px; color: var(--tinta-3); text-align: center; position: relative; cursor: pointer; padding: 0; }
.var-ed .ph img { width: 100%; height: 100%; object-fit: cover; }
.var-ed .ph input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.var-ed .cols { display: grid; gap: 8px; min-width: 0; }
.var-ed .campo { margin: 0; }
.var-ed .abajo { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.ajustes { max-width: 640px; }
.ajustes h3 { font-family: var(--serif); font-size: 22px; font-style: italic; font-weight: 600; margin: 22px 0 8px; }
.guardado { font-size: 12px; color: var(--salvia); }
.velo-p { position: fixed; inset: 0; background: rgba(26,20,16,.45); z-index: 50; display: flex; align-items: flex-end; }
.velo-p .detalle { position: static; width: 100%; max-height: 90vh; overflow-y: auto; border-radius: 22px 22px 0 0; animation: subir .2s ease-out; padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px)); }
.cerrar-d { float: right; border: 0; background: var(--arena); width: 36px; height: 36px; border-radius: 50%; font-size: 16px; }
.entrar { max-width: 400px; margin: 0 auto; padding: 60px 20px; }
.entrar img { width: 72px; height: 72px; border-radius: 50%; background: var(--blanco); margin-bottom: 14px; }
.entrar h1 { font-family: var(--serif); font-size: 34px; font-style: italic; font-weight: 600; margin: 0 0 6px; line-height: 1.05; }
.entrar h1 b { font-style: normal; text-transform: uppercase; }
.entrar p { color: var(--tinta-2); margin: 0 0 16px; }
.entrar .codigo input { font-size: 26px; letter-spacing: .4em; text-align: center; font-variant-numeric: tabular-nums; }
