:root{--ink:#18221d;--muted:#66716b;--paper:#f5f2ea;--card:#fffdfa;--green:#1f6b4d;--lime:#cde85b;--line:#dedfd8;--red:#c24c3d;--shadow:0 16px 50px rgba(26,41,32,.09)}
*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif}.hero{background:var(--green);color:#fff;padding:20px max(24px,calc((100vw - 1180px)/2)) 72px;position:relative;overflow:hidden}.hero:after{content:"";position:absolute;width:430px;height:430px;border:100px solid rgba(205,232,91,.13);border-radius:50%;right:-100px;top:-180px}.hero nav{display:flex;justify-content:space-between;align-items:center;position:relative;z-index:1}.logo{font-size:22px;font-weight:800;letter-spacing:-.03em}.logo i{display:inline-block;width:13px;height:13px;border-radius:50%;background:var(--lime);margin-right:8px;box-shadow:16px 0 0 rgba(205,232,91,.45)}button{font:inherit;cursor:pointer}.ghost{border:1px solid rgba(255,255,255,.35);color:#fff;background:transparent;border-radius:999px;padding:10px 16px}.ghost:hover{background:rgba(255,255,255,.1)}.hero-copy{max-width:820px;margin-top:68px;position:relative;z-index:1}.eyebrow{font-size:12px;font-weight:800;letter-spacing:.15em;color:#8bb7a2;margin:0 0 8px}.hero .eyebrow{color:var(--lime)}h1{font-size:clamp(38px,6vw,72px);line-height:.98;letter-spacing:-.055em;margin:0;max-width:750px}.hero-copy>p:not(.eyebrow){color:#d8e3dd;font-size:18px}.search{display:flex;max-width:720px;background:white;border-radius:15px;padding:7px;margin-top:28px;box-shadow:0 20px 50px rgba(0,0,0,.17)}.search input{flex:1;border:0;outline:0;font-size:17px;padding:13px 15px;min-width:0;color:var(--ink)}.search button{border:0;background:var(--lime);color:var(--ink);font-weight:800;border-radius:10px;padding:0 24px}main{max-width:1180px;margin:-28px auto 70px;padding:0 24px;position:relative}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.stat{background:var(--card);border:1px solid rgba(255,255,255,.8);border-radius:15px;padding:20px;box-shadow:var(--shadow)}.stat strong{display:block;font-size:30px;letter-spacing:-.04em}.stat span{color:var(--muted);font-size:13px}.section-head{display:flex;align-items:end;justify-content:space-between;margin:50px 0 17px}.section-head.compact{margin-top:0}.section-head h2{font-size:30px;letter-spacing:-.035em;margin:0}.toggle{font-size:14px;color:var(--muted);display:flex;align-items:center;gap:9px;cursor:pointer}.toggle input{display:none}.toggle span{width:38px;height:22px;background:#c8cbc5;border-radius:20px;position:relative}.toggle span:after{content:"";position:absolute;width:16px;height:16px;background:white;border-radius:50%;left:3px;top:3px;transition:.2s}.toggle input:checked+span{background:var(--green)}.toggle input:checked+span:after{left:19px}.results{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.card{background:var(--card);border:1px solid var(--line);border-radius:16px;padding:19px;min-height:190px;display:flex;flex-direction:column;transition:.2s}.card:hover{transform:translateY(-2px);box-shadow:var(--shadow)}.source{font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.07em;color:var(--green)}.card h3{font-size:17px;line-height:1.25;margin:11px 0 18px}.price-row{display:flex;align-items:flex-end;justify-content:space-between;margin-top:auto}.price{font-size:27px;font-weight:850;letter-spacing:-.04em}.old-price{display:block;color:#929a95;text-decoration:line-through;font-size:13px}.badge{background:#e3efbd;color:#37501e;border-radius:999px;font-weight:800;font-size:12px;padding:6px 9px;white-space:nowrap}.badge.drop{background:#f5d8d2;color:#843226}.offer-copy{font-size:12px;color:var(--muted);margin:11px 0 0;line-height:1.4}.card a{color:inherit;text-decoration:none}.empty,.loading{grid-column:1/-1;text-align:center;padding:55px;color:var(--muted);background:rgba(255,255,255,.35);border-radius:16px}.promos-panel,.sources-panel{margin-top:50px}.promo-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.promo{padding:18px;border:1px solid var(--line);border-radius:14px;background:#eeeee5}.promo strong{display:block;margin-bottom:5px}.promo span{font-size:13px;color:var(--muted)}.sources{background:var(--card);border:1px solid var(--line);border-radius:16px;overflow:hidden}.source-row{display:grid;grid-template-columns:1.6fr .8fr .8fr;gap:12px;padding:14px 18px;border-bottom:1px solid var(--line);align-items:center}.source-row:last-child{border:0}.source-row small{color:var(--muted)}.status{justify-self:start;border-radius:99px;padding:4px 8px;font-size:11px;font-weight:800;background:#e1e4df}.status.ok{background:#dcebdc;color:#27603c}.status.error{background:#f4ddd8;color:#8b3b30}.status.running{background:#fff0b8;color:#6d5813}#toast{position:fixed;right:20px;bottom:20px;max-width:360px;background:var(--ink);color:#fff;padding:13px 17px;border-radius:11px;opacity:0;transform:translateY(10px);pointer-events:none;transition:.2s;z-index:10}#toast.show{opacity:1;transform:none}
@media(max-width:850px){.stats{grid-template-columns:repeat(2,1fr)}.results{grid-template-columns:repeat(2,1fr)}.hero-copy{margin-top:50px}.source-row{grid-template-columns:1fr auto}.source-row small:last-child{display:none}}
@media(max-width:560px){.hero{padding-bottom:56px}.hero-copy{margin-top:42px}.search button{padding:0 15px}.results,.promo-grid{grid-template-columns:1fr}.section-head{align-items:center}.section-head h2{font-size:25px}.card{min-height:165px}.ghost{padding:8px 11px;font-size:13px}}

.catalog-nav{margin:30px 0 0}.tabs,.subtabs{display:flex;gap:8px;overflow-x:auto;scrollbar-width:thin;padding:3px 1px}.tab,.subtab{border:1px solid var(--line);background:var(--card);color:var(--muted);border-radius:999px;padding:10px 16px;white-space:nowrap;font-weight:750}.tab.active{background:var(--ink);border-color:var(--ink);color:white}.subtabs{margin-top:9px}.subtab{padding:7px 13px;font-size:13px}.subtab.active{background:var(--lime);border-color:#b4cc4f;color:var(--ink)}.subtabs.hidden{display:none}
.card{padding:0;overflow:hidden;min-height:365px}.product-image{height:165px;background:#f0f1eb;display:flex;align-items:center;justify-content:center;border-bottom:1px solid var(--line);position:relative;overflow:hidden}.product-image img{width:100%;height:100%;object-fit:contain;background:white;padding:8px}.product-image span{display:none;font-size:11px;letter-spacing:.18em;font-weight:850;color:#9aa39e}.product-image.placeholder span{display:block}.product-image.placeholder:before{content:"";position:absolute;width:62px;height:62px;border:14px solid rgba(31,107,77,.08);border-radius:50%}.card-copy{padding:18px;display:flex;flex-direction:column;flex:1}.card h3{min-height:42px}.payments-panel{margin-top:50px}.payment-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.payment{display:flex;gap:13px;align-items:flex-start;padding:17px;background:var(--card);border:1px solid var(--line);border-radius:14px}.payment-mark{display:flex;flex:0 0 39px;height:39px;align-items:center;justify-content:center;border-radius:11px;background:var(--lime);font-size:11px;font-weight:900}.payment strong{display:block}.payment p{font-size:13px;color:var(--green);font-weight:700;margin:4px 0}.payment small{display:block;color:var(--muted);line-height:1.35}
@media(max-width:850px){.payment-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:560px){.payment-grid{grid-template-columns:1fr}.product-image{height:180px}.card{min-height:355px}.catalog-nav{margin-top:24px}}

.nav-actions{display:flex;gap:8px;align-items:center}.nav-actions b{display:inline-flex;min-width:20px;height:20px;align-items:center;justify-content:center;margin-left:4px;border-radius:99px;background:var(--lime);color:#18221d;font-size:11px}.add-cart{width:100%;margin-top:auto;border:1px solid var(--green);background:transparent;color:var(--green);border-radius:10px;padding:9px;font-weight:800}.add-cart:hover{background:var(--green);color:white}.cart-backdrop{position:fixed;inset:0;background:rgba(5,10,7,.48);opacity:0;pointer-events:none;transition:.2s;z-index:20}.cart-backdrop.open{opacity:1;pointer-events:auto}.cart-drawer{position:fixed;right:0;top:0;width:min(520px,100%);height:100dvh;background:var(--card);color:var(--ink);z-index:21;box-shadow:-25px 0 60px rgba(0,0,0,.22);transform:translateX(102%);transition:.25s;display:flex;flex-direction:column;padding:24px}.cart-drawer.open{transform:none}.cart-drawer header{display:flex;justify-content:space-between;align-items:flex-start;border-bottom:1px solid var(--line);padding-bottom:17px}.cart-drawer h2{margin:0;font-size:29px}.icon-button{border:0;background:transparent;color:var(--ink);font-size:34px;line-height:1}.cart-items{overflow-y:auto;flex:1;padding:12px 2px}.cart-item{display:grid;grid-template-columns:54px 1fr auto;gap:11px;align-items:center;padding:12px 0;border-bottom:1px solid var(--line)}.cart-item img,.cart-placeholder{width:54px;height:54px;object-fit:contain;background:white;border:1px solid var(--line);border-radius:9px}.cart-placeholder{display:flex;align-items:center;justify-content:center;color:var(--green);font-weight:900}.cart-item strong{font-size:13px;line-height:1.25;display:block}.cart-item small{display:block;color:var(--muted);margin-top:3px}.quantity{display:flex;align-items:center;gap:7px;margin-top:8px}.quantity button{border:1px solid var(--line);border-radius:7px;background:var(--paper);color:var(--ink);min-width:25px;height:25px}.quantity .remove{border:0;color:var(--red);background:transparent;width:auto;font-size:11px}.cart-item>span{font-size:13px;font-weight:850}.cart-empty{text-align:center;color:var(--muted);padding:60px 20px}.cart-summary{border-top:1px solid var(--line);padding-top:15px}.cart-summary h3{margin:0 0 8px;font-size:14px}.cart-summary p,.grand-total{display:flex;justify-content:space-between;margin:7px 0;font-size:13px}.grand-total{font-size:17px;border-top:1px solid var(--line);padding-top:12px;margin-top:12px}.cart-summary>small{display:block;color:var(--muted);margin-top:8px}.clear-cart{margin-top:13px;border:0;background:var(--paper);color:var(--muted);padding:10px;border-radius:9px}.clear-cart:hover{color:var(--red)}
:root[data-theme="dark"]{color-scheme:dark;--ink:#edf4f0;--muted:#9ba9a1;--paper:#0c110e;--card:#141b17;--green:#54b183;--lime:#cde85b;--line:#2b3730;--red:#ef8c7e;--shadow:0 16px 50px rgba(0,0,0,.28)}:root[data-theme="dark"] .hero{background:#173d2c}:root[data-theme="dark"] .search{background:#18221d}:root[data-theme="dark"] .search input{background:#18221d;color:#edf4f0}:root[data-theme="dark"] .promo{background:#18211c}:root[data-theme="dark"] .product-image{background:#101612}:root[data-theme="dark"] .product-image img{background:#fff}:root[data-theme="dark"] .stat{border-color:var(--line)}:root[data-theme="dark"] .tab.active{background:var(--lime);border-color:var(--lime);color:#18221d}:root[data-theme="dark"] .subtab.active{color:#18221d}:root[data-theme="dark"] .status{background:#26302b}:root[data-theme="dark"] .status.ok{background:#173d2c;color:#8ed5ad}:root[data-theme="dark"] .empty,:root[data-theme="dark"] .loading{background:rgba(255,255,255,.035)}
@media(max-width:700px){.hero nav{align-items:flex-start}.nav-actions{flex-wrap:wrap;justify-content:flex-end}.nav-actions .ghost{font-size:11px;padding:7px 9px}.hero-copy{margin-top:42px}}

.result-controls{display:flex;align-items:center;gap:16px}.view-toggle{display:flex;border:1px solid var(--line);background:var(--card);border-radius:10px;padding:3px}.view-toggle button{border:0;background:transparent;color:var(--muted);font-size:12px;font-weight:800;padding:6px 9px;border-radius:7px}.view-toggle button.active{background:var(--green);color:white}.source-line{display:flex;align-items:center;gap:9px;min-height:30px}.source-mark{width:30px;height:30px;flex:0 0 30px;border:1px solid var(--line);background:white;border-radius:9px;display:flex;align-items:center;justify-content:center;overflow:hidden}.source-mark img{width:24px;height:24px;object-fit:contain}.source-mark b{display:none;color:#183d2c;font-size:9px;letter-spacing:-.02em}.source-mark.fallback{background:var(--lime);border-color:#b4cc4f}.source-mark.fallback b{display:block}.results.list-view{display:flex;flex-direction:column}.results.list-view .card{display:grid;grid-template-columns:190px 1fr;min-height:190px}.results.list-view .product-image{width:190px;height:100%;min-height:190px;border-bottom:0;border-right:1px solid var(--line)}.results.list-view .card-copy{min-width:0}.results.list-view .card h3{min-height:0;margin:8px 0 12px}.results.list-view .add-cart{width:180px;align-self:flex-end}.results.list-view .offer-copy{margin-bottom:10px}
.source-mark.source-coto-semanal{width:48px;flex-basis:48px}.source-mark.source-coto-semanal img{width:42px;height:25px}.source{min-width:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.card h3{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.offer-copy{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:34px}.card.no-image .product-image{height:92px}.card.no-image{min-height:292px}.results.list-view .card.no-image{grid-template-columns:110px 1fr;min-height:170px}.results.list-view .card.no-image .product-image{width:110px;min-height:170px}.results.list-view .card h3{-webkit-line-clamp:2}.results.list-view .offer-copy{min-height:0}
:root[data-theme="dark"] .view-toggle{background:var(--card)}:root[data-theme="dark"] .source-mark{border-color:#48534d}:root[data-theme="dark"] .view-toggle button.active{background:var(--lime);color:#18221d}
@media(max-width:700px){.section-head{align-items:flex-start;gap:16px}.result-controls{align-items:flex-end;flex-direction:column-reverse;gap:10px}.results.list-view .card{grid-template-columns:105px 1fr;min-height:200px}.results.list-view .product-image{width:105px;min-height:200px}.results.list-view .card-copy{padding:13px}.results.list-view .source-line{align-items:flex-start}.results.list-view .source{font-size:10px}.results.list-view .source-mark{width:25px;height:25px;flex-basis:25px}.results.list-view .source-mark img{width:20px;height:20px}.results.list-view .price{font-size:22px}.results.list-view .add-cart{width:100%;align-self:auto}.results.list-view .badge{font-size:10px}}
