:root{--c-bg: #FFF8EE;--c-green: #1F8A4C;--c-green-strong: #187A41;--c-green-soft: #E3F5EA;--c-orange: #F5A623;--c-orange-soft: #FFF1D6;--c-orange-ink: #8A5600;--c-ink: #2B2B2B;--c-card: #FFFFFF}*{box-sizing:border-box}body{font-family:system-ui,sans-serif;background:var(--c-bg);color:var(--c-ink);max-width:480px;margin:0 auto;padding:1rem 1rem 6rem}h1,h2,h3,.price{font-weight:900}footer{margin-top:2rem;font-size:.8rem;color:#666}footer p{margin:.2rem 0}footer a{color:inherit}.btn{display:inline-flex;align-items:center;justify-content:center;gap:.4rem;min-height:44px;padding:0 1.2rem;border:0;border-radius:12px;background:var(--c-green-strong);color:#fff;font:inherit;font-weight:900;cursor:pointer}.btn.secondary{background:var(--c-card);color:var(--c-ink);border:2px solid var(--c-ink)}.chip,.tab{min-height:44px;border:2px solid var(--c-ink);background:var(--c-card);color:var(--c-ink);border-radius:999px;padding:0 .9rem;font:inherit;cursor:pointer}.chip.on,.tab.on{background:var(--c-ink);color:#fff}.card{background:var(--c-card);border-radius:14px;padding:.8rem;box-shadow:0 1px 4px #0000001f}.badge{display:inline-block;border-radius:6px;padding:.1rem .5rem;font-size:.8rem;font-weight:700}.badge.green{background:var(--c-green-soft);color:var(--c-green-strong)}.badge.orange{background:var(--c-orange-soft);color:var(--c-orange-ink)}.search-box,input[type=search]{width:100%;min-height:44px;padding:.6rem .8rem;font:inherit;background:var(--c-card);border:2px solid #2B2B2B;border-radius:12px;box-shadow:3px 3px #2b2b2b}.ticket-wrap{filter:drop-shadow(3px 3px 0 #2B2B2B)}.ticket,.ticket-body{font-family:Courier New,monospace}.ticket{background:#2b2b2b;padding:2px 2px 0;clip-path:polygon(0 0,100% 0,100% calc(100% - 8px),95% 100%,90% calc(100% - 8px),85% 100%,80% calc(100% - 8px),75% 100%,70% calc(100% - 8px),65% 100%,60% calc(100% - 8px),55% 100%,50% calc(100% - 8px),45% 100%,40% calc(100% - 8px),35% 100%,30% calc(100% - 8px),25% 100%,20% calc(100% - 8px),15% 100%,10% calc(100% - 8px),5% 100%,0 calc(100% - 8px))}.ticket-body{background:var(--c-card);padding:1rem 1rem 1.8rem;clip-path:polygon(0 0,100% 0,100% calc(100% - 10px),95% calc(100% - 2px),90% calc(100% - 10px),85% calc(100% - 2px),80% calc(100% - 10px),75% calc(100% - 2px),70% calc(100% - 10px),65% calc(100% - 2px),60% calc(100% - 10px),55% calc(100% - 2px),50% calc(100% - 10px),45% calc(100% - 2px),40% calc(100% - 10px),35% calc(100% - 2px),30% calc(100% - 10px),25% calc(100% - 2px),20% calc(100% - 10px),15% calc(100% - 2px),10% calc(100% - 10px),5% calc(100% - 2px),0 calc(100% - 10px))}.skeleton{background:linear-gradient(90deg,#eee 25%,#f8f8f8,#eee 75%);background-size:200% 100%;border-radius:8px;min-height:1rem;animation:shimmer 1.2s linear infinite}@keyframes shimmer{0%{background-position:200% 0}to{background-position:-200% 0}}.bump{animation:bump .3s ease-out}@keyframes bump{0%,to{transform:scale(1)}40%{transform:scale(1.25)}}.logo{display:inline-flex;align-items:center;gap:.3rem;min-height:44px;background:none;border:0;padding:0;font:inherit;cursor:pointer}.logo-text{color:var(--c-green);font-weight:900;font-size:1.4rem}.logo-bang{color:var(--c-orange);font-weight:900;font-size:1.4rem}.controls,.tabs{display:flex;gap:.5rem;align-items:center;margin:.75rem 0;flex-wrap:wrap}.results{list-style:none;padding:0;display:grid;gap:.6rem}.chain{margin-left:.5rem;color:#666}.tag{display:inline-block;background:var(--c-orange-soft);color:var(--c-orange-ink);border-radius:4px;padding:0 .4rem;margin:.2rem 0}.tag.same{background:var(--c-green-soft);color:var(--c-green-strong)}.error{color:#b00020}@media(prefers-reduced-motion:reduce){.bump,.skeleton{animation:none}}.bottom-bar{position:fixed;bottom:0;left:50%;transform:translate(-50%);width:100%;max-width:480px;display:flex;background:var(--c-card);border-top:2px solid var(--c-green-soft);z-index:10}.bar-btn{flex:1;min-height:56px;min-width:44px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;border:0;background:transparent;color:var(--c-ink);font:inherit;font-size:.75rem;font-weight:700;cursor:pointer}.bar-btn.on{color:var(--c-green-strong);background:var(--c-green-soft)}.bar-emoji{font-size:24px;line-height:24px}.cart-wrap{position:relative;display:inline-flex}.badge-count{position:absolute;top:-6px;right:-10px;min-width:18px;height:18px;padding:0 4px;border-radius:9px;background:var(--c-orange);color:var(--c-ink);font-size:.7rem;font-weight:900;line-height:18px;text-align:center}.sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}.product-card{position:relative;display:flex;gap:.75rem;justify-content:space-between}.product-main{display:flex;flex-direction:column;gap:.2rem;min-width:0;flex:1}.product-badges{display:flex;flex-wrap:wrap;gap:.3rem}.product-side{display:flex;flex-direction:column;align-items:flex-end;justify-content:space-between;gap:.4rem;text-align:right}.chain-line{color:#555;font-size:.85rem}.price{font-size:1.6rem;font-weight:900}.unit{font-size:.85rem;color:#333}.store-link{color:var(--c-green-strong);font-size:.85rem}.rank{position:absolute;top:-8px;left:-8px;min-width:24px;height:24px;border-radius:12px;background:var(--c-card);border:2px solid var(--c-ink);font-size:.8rem;font-weight:900;line-height:20px;text-align:center}.rank.top{background:var(--c-orange);color:var(--c-ink)}.product-card.skeleton{min-height:96px}.producto-img{flex:none;display:inline-flex;align-items:center;justify-content:center;overflow:hidden;background:#fff;border:1px solid rgba(0,0,0,.08);border-radius:10px;line-height:1}.producto-img img{width:100%;height:100%;object-fit:contain}.producto-img.emoji{background:var(--c-orange-soft);border-color:transparent}.empty-msg{text-align:center;color:#555;padding:1rem 0}.product-head{display:flex;justify-content:space-between;align-items:flex-start;gap:.5rem}.chain-top{font-size:.75rem;white-space:nowrap}.compra{display:grid;gap:.8rem}.compra-title{margin:.5rem 0 0;font-size:1.3rem;font-weight:900}.compra-line{display:grid;gap:.4rem}.compra-line-head{display:flex;align-items:center;gap:.6rem;justify-content:space-between}.compra-line-name{display:flex;flex-direction:column;flex:1;min-width:0}.compra-cp{font-size:.9rem}.compra-actions{display:flex;gap:.8rem}.qty{display:inline-flex;align-items:center;gap:.3rem}.qty-btn{min-width:44px;min-height:44px;border:2px solid var(--c-ink);border-radius:12px;background:var(--c-card);color:var(--c-ink);font:inherit;font-size:1.2rem;font-weight:900;cursor:pointer}.qty-val{min-width:3.5rem;text-align:center;font-weight:700}.link-btn{min-height:44px;border:0;background:none;padding:0;font:inherit;font-weight:700;color:var(--c-green-strong);text-decoration:underline;cursor:pointer}.candidates{list-style:none;padding:0;margin:0;display:grid}.proteina{background:var(--c-orange-soft);color:var(--c-orange-ink);margin:0}.cart-empty{display:flex;flex-direction:column;align-items:center;gap:.8rem;padding:2rem 0;text-align:center}.cart-empty-title{margin:0;font-size:1.2rem;font-weight:900}.ticket-wrap.clickable{cursor:pointer}.ticket-wrap.clickable:focus-visible{outline:3px solid var(--c-green-strong);outline-offset:4px}.ticket-title{font-weight:900;text-align:center;margin-bottom:.6rem;letter-spacing:.05em}.ticket-line{display:flex;justify-content:space-between;gap:.5rem;padding:.15rem 0}.ticket-sep{border-top:2px dashed var(--c-ink);margin:.4rem 0}.ticket-savings{margin-top:.5rem;font-weight:900;font-size:1.15rem;color:var(--c-green-strong)}.ticket-counts{margin-top:.4rem;font-size:.9rem}.ticket-empty{margin:0;text-align:center}.sello{display:block;width:fit-content;margin:.7rem auto 0;transform:rotate(-6deg);border:3px solid var(--c-orange-ink);border-radius:8px;padding:.15rem .5rem;color:var(--c-orange-ink);background:var(--c-orange-soft);font-weight:900;font-size:.85rem}.inicio{display:grid;gap:1rem;padding:1rem}.inicio-head{display:flex;justify-content:space-between;align-items:center}.inicio-loc{font-size:.9rem;font-weight:700;background:var(--c-orange-soft);color:var(--c-orange-ink);border-radius:999px;padding:.2rem .7rem}.inicio-title{margin:0;font-size:1.9rem;line-height:1.1}.inicio-sub{margin:0;color:var(--c-green-strong);font-weight:600}.inicio-search{position:relative;display:flex;align-items:center}.inicio-search svg{position:absolute;left:.8rem;pointer-events:none}.inicio-search .search-box{padding-left:2.6rem}.inicio-chips{display:flex;flex-wrap:wrap;gap:.5rem}.precio-card{display:grid;gap:.25rem;text-align:left;width:100%;border:2px solid var(--c-orange);background:var(--c-orange-soft);color:var(--c-orange-ink);font:inherit;cursor:pointer;min-height:44px}.app-head{padding:.6rem 1rem 0}.screen-title{margin:.5rem 0 0;font-size:1.5rem}.screen-sub{margin:.25rem 0 0;color:#555}
