:root {
  --negro: #17130F;
  --negro-2: #241E18;
  --crema: #F6EFE6;
  --papel: #FFFBF5;
  --cobre: #B8713F;
  --cobre-claro: #E2A876;
  --cobre-grad: linear-gradient(135deg, #E9B184 0%, #C27A45 50%, #874420 100%);
  --amarillo: #FFC93C;
  --tinta-2: #6B6158;
  --linea: #E8DED2;
  --ok: #3F7D5A;
  font-family: 'Inter Tight', system-ui, sans-serif;
  color: var(--negro);
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--negro); }
body { background: var(--crema); min-height: 100vh; max-width: 560px; margin: 0 auto; position: relative; overflow-x: hidden; padding-bottom: 110px; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, select { font: inherit; }
.disp { font-family: 'Archivo', sans-serif; font-stretch: 122%; font-weight: 900; letter-spacing: -.01em; text-transform: uppercase; }
.num { font-variant-numeric: tabular-nums; }

/* cabecera */
.cab { position: sticky; top: 0; z-index: 20; background: var(--negro); color: #fff; display: flex; align-items: center; gap: 10px; padding: 12px 16px; padding-top: max(12px, env(safe-area-inset-top)); --logo-ojo: var(--negro); }
.cab-marca { display: flex; align-items: center; gap: 10px; }
.cab-marca b { font-size: 20px; display: block; line-height: 1; }
.cab-marca small { font-size: 10.5px; color: rgba(255, 255, 255, .55); }
.cab-suc { margin-left: auto; text-align: right; background: rgba(255, 255, 255, .08); border-radius: 14px; padding: 6px 12px; color: #fff; }
.cab-suc small { display: block; font-size: 10px; color: rgba(255, 255, 255, .55); }
.cab-suc b { font-size: 13px; }

.pant { display: none; padding: 16px; animation: entra .35s cubic-bezier(.2, .8, .2, 1); }
.pant.activa { display: block; }
@keyframes entra { from { opacity: 0; transform: translateY(8px); } }

/* inicio */
.saludo { display: flex; align-items: flex-end; justify-content: space-between; margin: 4px 2px 14px; }
.saludo h1 { font-size: 26px; line-height: .95; }
.saludo small { color: var(--tinta-2); font-size: 13px; }
.abierto { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; background: #fff; border-radius: 99px; padding: 6px 10px; }
.abierto i { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); }
.riel { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -16px; padding: 6px 16px 14px; scrollbar-width: none; }
.riel::-webkit-scrollbar { display: none; }
.placa { flex: none; width: 84%; scroll-snap-align: center; background: var(--negro); color: #fff; border-radius: 26px; padding: 20px; position: relative; overflow: hidden; min-height: 250px; display: flex; flex-direction: column; box-shadow: 0 14px 30px -16px rgba(23, 19, 15, .6); }
.placa::before { content: ''; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(194, 122, 69, .55), transparent 68%); }
.placa .rubro { font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--cobre-claro); position: relative; }
.placa h3 { font-size: 30px; line-height: .95; margin: 10px 0 0; position: relative; max-width: 80%; }
.placa .kgs { position: absolute; right: 18px; top: 18px; width: 74px; height: 74px; border-radius: 50%; background: var(--cobre-grad); display: grid; place-items: center; text-align: center; font-family: 'Archivo', sans-serif; font-stretch: 120%; font-weight: 900; line-height: .9; font-size: 22px; transform: rotate(8deg); box-shadow: 0 8px 18px -8px rgba(0, 0, 0, .6); }
.placa .kgs small { display: block; font-size: 10px; letter-spacing: .08em; }
.placa .precio { margin-top: auto; font-size: 44px; color: var(--amarillo); position: relative; line-height: 1; }
.placa .precio small { font-size: 13px; color: rgba(255, 255, 255, .6); font-family: 'Inter Tight', sans-serif; font-weight: 600; text-transform: none; letter-spacing: 0; display: block; margin-bottom: 4px; font-stretch: 100%; }
.placa .sumar { margin-top: 14px; align-self: flex-start; background: #fff; color: var(--negro); border-radius: 99px; padding: 12px 18px; font-weight: 800; position: relative; box-shadow: 0 4px 0 var(--cobre); transition: transform .12s, box-shadow .12s; }
.placa .sumar:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--cobre); }
.puntos { display: flex; justify-content: center; gap: 6px; margin-bottom: 18px; align-items: center; color: var(--tinta-2); font-size: 12px; font-weight: 600; }
.puntos i { width: 6px; height: 6px; border-radius: 50%; background: var(--linea); transition: width .25s, background .25s; }
.puntos i.on { width: 18px; border-radius: 9px; background: var(--negro); }

.tarjeta { background: #fff; border-radius: 24px; padding: 18px; margin-bottom: 14px; box-shadow: 0 1px 0 var(--linea); }
.tarjeta h2 { font-size: 18px; line-height: 1; }
.fila { display: flex; align-items: center; gap: 12px; }

.club-mini { background: var(--cobre-grad); color: #fff; display: grid; grid-template-columns: 1fr 104px; gap: 10px; align-items: center; cursor: pointer; }
.club-mini small { color: rgba(255, 255, 255, .8); font-weight: 600; }
.club-mini h2 { font-size: 22px; margin: 6px 0; }
.club-mini p { font-size: 13.5px; }

.dni { background: #fff; display: flex; gap: 14px; align-items: center; }
.dni .pct { font-size: 34px; color: var(--ok); line-height: 1; }
.dni p { font-size: 13.5px; color: var(--tinta-2); }
.dni b { color: var(--negro); }

.seguimiento { background: var(--negro); color: #fff; }
.seguimiento .pasos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 14px; }
.seguimiento .paso { height: 6px; border-radius: 9px; background: rgba(255, 255, 255, .15); }
.seguimiento .paso.on { background: var(--cobre-claro); }
.seguimiento .paso.ahora { background: var(--amarillo); animation: titila 1.4s infinite; }
@keyframes titila { 50% { opacity: .45; } }
.seguimiento .estado { font-size: 26px; margin-top: 8px; }
.seguimiento small { color: rgba(255, 255, 255, .6); }

.sucs .suc { padding: 12px 0; border-top: 1px solid var(--linea); display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; font-size: 13.5px; }
.sucs .suc:first-of-type { border-top: 0; }
.sucs .suc small { color: var(--tinta-2); grid-column: 1; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 18px; border-radius: 99px; background: var(--negro); color: #fff; font-weight: 800; box-shadow: 0 4px 0 var(--cobre); transition: transform .12s, box-shadow .12s; }
.btn:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--cobre); }
.btn.claro { background: #fff; color: var(--negro); box-shadow: inset 0 0 0 1.5px var(--linea); }
.btn.ancho { width: 100%; }
.chip { display: inline-flex; padding: 4px 10px; border-radius: 99px; font-size: 11.5px; font-weight: 800; background: var(--amarillo); color: var(--negro); }

/* pedir */
.cats { display: flex; gap: 8px; overflow-x: auto; margin: 0 -16px 12px; padding: 0 16px 4px; scrollbar-width: none; position: sticky; top: 62px; z-index: 5; background: var(--crema); padding-top: 8px; }
.cats button { flex: none; padding: 10px 16px; border-radius: 99px; background: #fff; font-weight: 800; font-size: 14px; }
.cats button[aria-pressed="true"] { background: var(--negro); color: #fff; }
.prod { background: #fff; border-radius: 20px; padding: 14px 16px; margin-bottom: 10px; display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; align-items: center; }
.prod h4 { font-size: 16px; }
.prod .p { font-size: 13px; color: var(--tinta-2); }
.prod .promo { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 8px; background: var(--negro); color: #fff; border-radius: 14px; padding: 8px 8px 8px 12px; font-size: 13px; }
.prod .promo b { color: var(--amarillo); }
.paso-kg { display: flex; align-items: center; gap: 4px; background: var(--crema); border-radius: 99px; padding: 4px; }
.paso-kg button { width: 34px; height: 34px; border-radius: 50%; background: #fff; font-size: 18px; font-weight: 800; display: grid; place-items: center; }
.paso-kg span { min-width: 58px; text-align: center; font-weight: 800; font-size: 14px; }
.agregar { background: var(--negro); color: #fff; border-radius: 99px; padding: 9px 14px; font-weight: 800; font-size: 13px; }
.promo .agregar { background: var(--amarillo); color: var(--negro); }

.flotante { position: fixed; left: 50%; transform: translateX(-50%); bottom: 92px; width: min(528px, calc(100% - 32px)); z-index: 25; background: var(--amarillo); color: var(--negro); border-radius: 22px; padding: 14px 18px; display: flex; align-items: center; justify-content: space-between; font-weight: 800; box-shadow: 0 12px 24px -10px rgba(0, 0, 0, .45); animation: sube .3s cubic-bezier(.2, 1.3, .4, 1); cursor: pointer; }
.flotante[hidden] { display: none; }
@keyframes sube { from { transform: translate(-50%, 20px); opacity: 0; } }

/* club */
.credencial { background: var(--negro); color: #fff; border-radius: 26px; padding: 20px; position: relative; overflow: hidden; --logo-ojo: var(--negro); }
.credencial::after { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(115deg, transparent 0 22px, rgba(226, 168, 118, .05) 22px 23px); pointer-events: none; }
.credencial .qr { width: 104px; height: 104px; background: #fff; border-radius: 14px; padding: 8px; }
.credencial h2 { font-size: 26px; margin: 12px 0 2px; }
.heladera { width: 100%; max-width: 230px; margin: 0 auto; display: block; }
.heladera .estante { transition: opacity .4s; }
.lleno { animation: cae .6s cubic-bezier(.2, 1.4, .4, 1) both; }
@keyframes cae { from { transform: translateY(-14px); opacity: 0; } }
.beneficio { display: grid; grid-template-columns: 44px 1fr; gap: 12px; align-items: center; padding: 12px 0; border-top: 1px solid var(--linea); }
.beneficio:first-of-type { border-top: 0; }
.beneficio .ico { width: 44px; height: 44px; border-radius: 14px; background: var(--crema); display: grid; place-items: center; font-size: 20px; }
.beneficio small { color: var(--tinta-2); display: block; font-size: 12.5px; }

/* barra */
.barra { position: fixed; left: 50%; transform: translateX(-50%); bottom: 14px; width: min(528px, calc(100% - 32px)); background: var(--negro); border-radius: 26px; padding: 8px; display: grid; grid-template-columns: 1fr 84px 1fr; align-items: center; z-index: 26; box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .55); --logo-ojo: var(--negro); margin-bottom: env(safe-area-inset-bottom); }
.barra button { display: flex; flex-direction: column; align-items: center; gap: 3px; color: rgba(255, 255, 255, .55); font-size: 11px; font-weight: 700; padding: 6px; border-radius: 18px; }
.barra button svg { width: 22px; height: 22px; }
.barra button[aria-current="true"] { color: #fff; }
.barra .medio { width: 66px; height: 66px; margin: -26px auto 0; border-radius: 50%; background: var(--negro); box-shadow: 0 0 0 4px var(--crema), 0 8px 18px -6px rgba(0, 0, 0, .5); display: grid; place-items: center; padding: 0; }
.barra .medio[aria-current="true"] { box-shadow: 0 0 0 4px var(--cobre-claro), 0 8px 18px -6px rgba(0, 0, 0, .5); }

/* hoja de abajo */
.velo { position: fixed; inset: 0; background: rgba(23, 19, 15, .4); opacity: 0; pointer-events: none; transition: opacity .25s; z-index: 40; }
.velo.abierta { opacity: 1; pointer-events: auto; }
.hoja { position: fixed; left: 50%; bottom: 0; width: min(560px, 100%); transform: translate(-50%, 105%); background: var(--papel); border-radius: 28px 28px 0 0; z-index: 41; max-height: 88vh; overflow-y: auto; padding: 10px 18px 24px; padding-bottom: max(24px, env(safe-area-inset-bottom)); transition: transform .35s cubic-bezier(.2, .9, .2, 1); }
.hoja.abierta { transform: translate(-50%, 0); }
.hoja-asa { width: 42px; height: 5px; border-radius: 9px; background: var(--linea); margin: 0 auto 14px; }
.hoja h3 { font-size: 24px; margin-bottom: 12px; }
.hoja .renglon { display: flex; justify-content: space-between; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--linea); font-size: 14px; }
.hoja label { display: block; font-size: 12.5px; font-weight: 700; color: var(--tinta-2); margin: 16px 0 8px; }
.hoja input { width: 100%; padding: 13px 14px; border-radius: 14px; border: 1.5px solid var(--linea); background: #fff; outline: 0; }
.opciones { display: flex; gap: 8px; flex-wrap: wrap; }
.opciones button { padding: 10px 14px; border-radius: 14px; background: #fff; font-weight: 700; font-size: 13.5px; box-shadow: inset 0 0 0 1.5px var(--linea); }
.opciones button[aria-pressed="true"] { background: var(--negro); color: #fff; box-shadow: none; }
.avisos { position: fixed; left: 50%; transform: translateX(-50%); top: 76px; z-index: 60; display: flex; flex-direction: column; gap: 8px; align-items: center; pointer-events: none; width: max-content; max-width: calc(100% - 32px); }
.aviso { background: var(--negro); color: #fff; padding: 11px 16px; border-radius: 99px; font-weight: 700; font-size: 13.5px; animation: baja .3s cubic-bezier(.2, 1.3, .4, 1); box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .5); text-align: center; }
@keyframes baja { from { transform: translateY(-14px); opacity: 0; } }

@media (min-width: 700px) {
  body { box-shadow: 0 0 0 1px rgba(255, 255, 255, .04); }
  .placa { width: 70%; }
}

/* =================== ronda 2: fotos reales de producto =================== */
.pant#p-inicio { padding-top: 14px; }
/* tapa: la promo de la semana a todo color */
.tapa { position: relative; margin: 0 -16px; padding: 22px 20px 22px; background: #A8461F; background: radial-gradient(120% 90% at 85% 30%, #D9703A 0%, #A8461F 45%, #6E2412 100%); color: #fff; overflow: hidden; min-height: 400px; display: flex; flex-direction: column; cursor: pointer; }
.tapa::before { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(-12deg, transparent 0 26px, rgba(255, 255, 255, .045) 26px 27px); pointer-events: none; }
.tapa-txt { position: relative; z-index: 2; max-width: 64%; }
.tapa-et { display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; background: var(--negro); color: var(--amarillo); padding: 6px 10px; border-radius: 8px; transform: rotate(-2deg); }
.tapa h1 { font-size: 46px; line-height: .86; margin: 14px 0 8px; text-shadow: 0 3px 0 rgba(0, 0, 0, .18); }
.tapa p { font-size: 14px; color: rgba(255, 255, 255, .85); font-weight: 600; }
.tapa-foto { position: absolute; right: -40px; bottom: 54px; width: 82%; z-index: 1; filter: drop-shadow(0 26px 28px rgba(40, 8, 0, .55)); animation: flota 5s ease-in-out infinite; }
.tapa-foto img { width: 100%; display: block; }
@keyframes flota { 50% { transform: translateY(-8px) rotate(-1.5deg); } }
.sello { position: absolute; z-index: 3; left: 18px; bottom: 84px; width: 118px; height: 118px; border-radius: 50%; background: var(--amarillo); color: var(--negro); display: grid; place-content: center; text-align: center; font-size: 26px; line-height: .9; white-space: nowrap; transform: rotate(-10deg); box-shadow: 0 10px 0 -2px rgba(0, 0, 0, .25); animation: sello-entra .7s .2s cubic-bezier(.2, 1.6, .4, 1) both; }
.sello::before { content: ''; position: absolute; inset: 6px; border-radius: 50%; border: 2px dashed rgba(23, 19, 15, .35); }
.sello small { font-size: 12px; letter-spacing: .1em; display: block; margin-bottom: 4px; }
.sello i { font-style: normal; font-size: 15px; vertical-align: 7px; margin-right: 1px; }
@keyframes sello-entra { from { transform: rotate(-40deg) scale(.3); opacity: 0; } }
.tapa .btn { margin-top: auto; position: relative; z-index: 3; align-self: flex-end; }
.btn.canto { background: #fff; color: var(--negro); box-shadow: 0 5px 0 var(--negro); }
.btn.canto:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--negro); }
.btn.chico { padding: 8px 14px; font-size: 13px; box-shadow: 0 3px 0 var(--cobre); }

/* cinta que corre */
.cinta { margin: 0 -16px 22px; background: var(--negro); color: var(--amarillo); overflow: hidden; transform: rotate(-1.6deg) translateY(-12px); position: relative; z-index: 4; padding: 10px 0; box-shadow: 0 8px 18px -10px rgba(0, 0, 0, .5); }
.cinta div { white-space: nowrap; font-family: 'Archivo', sans-serif; font-stretch: 120%; font-weight: 900; font-size: 13px; letter-spacing: .06em; animation: corre 26s linear infinite; display: inline-block; }
@keyframes corre { to { transform: translateX(-50%); } }

.titulo-sec { display: flex; align-items: baseline; justify-content: space-between; margin: 4px 2px 10px; }
.titulo-sec h2 { font-size: 24px; line-height: 1; }
.titulo-sec span { font-size: 12.5px; color: var(--tinta-2); font-weight: 600; }
.ver-todo { font-weight: 800; font-size: 13px; text-decoration: underline; text-underline-offset: 3px; }

/* promos con foto */
.placa { background: #fff; color: var(--negro); padding: 0 16px 16px; min-height: 0; width: 76%; box-shadow: 0 1px 0 var(--linea), 0 18px 30px -22px rgba(23, 19, 15, .5); cursor: pointer; }
.placa::before { display: none; }
.placa-foto { margin: 0 -16px 6px; height: 190px; background: radial-gradient(70% 70% at 50% 60%, #F7E6D6, #EFE2D3 60%, #E9DACA); display: grid; place-items: center; overflow: hidden; border-radius: 26px 26px 0 0; }
.placa-foto img { width: 92%; height: 92%; object-fit: contain; filter: drop-shadow(0 14px 14px rgba(60, 20, 0, .28)); transition: transform .4s cubic-bezier(.2, .8, .2, 1); }
.placa:active .placa-foto img { transform: scale(.96); }
.placa .rubro { color: var(--cobre); }
.placa h3 { font-size: 24px; margin: 4px 0 0; max-width: none; }
.placa-pie { display: flex; align-items: flex-end; justify-content: space-between; margin-top: 10px; }
.placa .precio { margin: 0; font-size: 30px; color: var(--negro); }
.placa .precio small { color: var(--tinta-2); }
.mas { width: 46px; height: 46px; border-radius: 50%; background: var(--negro); color: #fff; font-size: 26px; font-weight: 700; line-height: 1; display: grid; place-items: center; box-shadow: 0 4px 0 var(--cobre); flex: none; transition: transform .12s, box-shadow .12s; }
.mas:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--cobre); }
.late { animation: late .45s cubic-bezier(.2, 1.6, .4, 1); }
@keyframes late { 40% { transform: scale(1.25); background: var(--cobre); } }

/* grilla de productos con foto */
.grilla { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 18px; }
.prod-c { background: #fff; border-radius: 22px; overflow: hidden; position: relative; cursor: pointer; box-shadow: 0 1px 0 var(--linea); display: flex; flex-direction: column; }
.prod-foto { aspect-ratio: 5 / 4; background: radial-gradient(70% 70% at 50% 62%, #F8EADD, #F1E5D8 70%); display: grid; place-items: center; position: relative; }
.prod-foto img { width: 94%; height: 94%; object-fit: contain; filter: drop-shadow(0 10px 10px rgba(60, 20, 0, .25)); }
.cinta-promo { position: absolute; top: 10px; left: -4px; background: var(--amarillo); font-size: 10.5px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; padding: 4px 10px 4px 12px; border-radius: 0 8px 8px 0; box-shadow: 0 3px 0 rgba(0, 0, 0, .15); }
.prod-txt { padding: 10px 12px 14px; padding-right: 54px; }
.prod-txt h4 { font-size: 14.5px; line-height: 1.15; }
.prod-txt .p { font-size: 12.5px; color: var(--tinta-2); margin-top: 3px; }
.prod-txt .p b { color: var(--negro); }
.prod-c .mas { position: absolute; right: 10px; bottom: 12px; width: 38px; height: 38px; font-size: 22px; box-shadow: 0 3px 0 var(--cobre); }

/* ficha */
.ficha-foto { margin: -4px -18px 8px; height: 240px; background: radial-gradient(70% 70% at 50% 62%, #F8EADD, #EEDFCF 70%); display: grid; place-items: center; }
.ficha-foto img { width: 86%; height: 92%; object-fit: contain; filter: drop-shadow(0 18px 18px rgba(60, 20, 0, .3)); animation: entra .4s cubic-bezier(.2, .8, .2, 1); }
.rubro-f { font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--cobre); }
.hoja .ficha-precio { font-size: 14px; color: var(--tinta-2); margin: -4px 0 10px; }
.ficha-precio b { font-size: 26px; color: var(--negro); margin-right: 4px; }
.promo-f { width: 100%; display: flex; justify-content: space-between; align-items: center; background: var(--negro); color: #fff; border-radius: 18px; padding: 12px 12px 12px 16px; text-align: left; }
.promo-f small { display: block; font-size: 11px; color: var(--amarillo); font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.promo-f .btn { background: var(--amarillo); color: var(--negro); box-shadow: none; }
.paso-kg.grande button { width: 42px; height: 42px; }
.paso-kg.grande span { min-width: 64px; font-size: 15px; }
.nota-f { font-size: 12.5px; color: var(--tinta-2); margin-top: 14px; }
.hoja .renglon.con-foto { align-items: center; }
.rf { display: flex; align-items: center; gap: 10px; }
.rf img { width: 52px; height: 42px; object-fit: contain; background: #F3E8DC; border-radius: 12px; }
.rf small { display: block; color: var(--tinta-2); font-size: 12px; }
.cats { top: 64px; }

@media (min-width: 700px) {
  .placa { width: 58%; }
  .tapa { min-height: 440px; }
  .tapa-foto { width: 70%; }
  .grilla { grid-template-columns: repeat(3, 1fr); }
}
