:root{font-family:system-ui,sans-serif;color:#17332e;background:#f7f8f5;--green:#123b35;--primary:#226c57;--line:#dce5df;--muted:#4c6159}
*,*::before,*::after{box-sizing:border-box}
body{margin:0}
button,input{font:inherit}
button{cursor:pointer}
button:disabled{cursor:default;opacity:.55}
[hidden]{display:none!important}
:focus-visible{outline:3px solid #458e77;outline-offset:3px}
.wrap{width:min(100% - 48px,1140px);margin:auto}
.bar{background:var(--green);color:white}
.bar-inner{min-height:68px;display:flex;align-items:center;justify-content:space-between;gap:12px}
.brand{display:flex;gap:13px;align-items:center;color:inherit;text-decoration:none;font-weight:650;white-space:nowrap}
.brand img{object-fit:contain;background:white;border-radius:6px;padding:3px}
.tools{display:flex;gap:10px;align-items:center}
.cart-button,.quiet,.filter-row button{border:1px solid var(--line);border-radius:8px;background:white;color:var(--green);padding:8px 12px;min-height:40px}
.cart-button{font-weight:650;white-space:nowrap}
#badge{display:inline-block;min-width:22px;border-radius:12px;background:#e4f1e9;margin-left:4px;text-align:center;font-size:.875rem}
.intro{margin:33px 0 19px}
h1,h2,p{margin:0}
h1{font-size:1.7rem;line-height:1.2;letter-spacing:-.04em}
.intro p{color:var(--muted);margin-top:5px;font-size:.9rem}
#network{font-size:.9rem;padding:8px 10px;margin-bottom:10px;border-radius:8px;background:#f7ecd8;color:#543c1b}
.search{display:block}
.search input{min-height:47px;padding:0 14px;width:min(100%,560px);border:1px solid #b6c8bd;border-radius:9px;background:white;color:inherit}
.filter-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:14px 0 17px}
.filter-row nav{display:flex;flex-wrap:wrap;gap:7px}
.filter-row button{padding:6px 11px;min-height:37px;font-size:.875rem}
.filter-row button[aria-pressed="true"]{background:var(--green);color:white;border-color:var(--green)}
#count,.pack,.product-id,.unit{color:var(--muted);font-size:.875rem}
#count{white-space:nowrap}
#feedback:not(:empty){padding:10px 0}
.products{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;padding-bottom:26px}
.product{background:white;border:1px solid var(--line);border-radius:12px;overflow:hidden;display:flex;flex-direction:column}
.product img{width:100%;height:auto;aspect-ratio:3/2;object-fit:contain;background:#e8eeea;display:block}
.product-body{display:flex;flex:1;flex-direction:column;gap:4px;padding:12px}
.product h2{font-size:1rem;line-height:1.3}
.product-id{font-size:.8rem}
.product-foot{display:flex;align-items:center;justify-content:space-between;gap:7px;margin-top:auto;padding-top:9px}
.product-foot strong{white-space:nowrap}
.add,#order{border:0;border-radius:8px;color:white;background:var(--primary);font-weight:700;min-height:42px}
.add{min-width:42px;padding:0 7px;font-size:1.25rem}
.add small{font-size:.8rem;vertical-align:2px;margin-left:3px}
dialog{width:min(100%,480px);max-width:100%;max-height:100dvh;height:100dvh;margin:0 0 0 auto;border:0;padding:20px;border-radius:12px 0 0 12px;color:inherit}
dialog[open]{display:flex;flex-direction:column}
dialog::backdrop{background:#0d251cc0}
.cart-head,.cart-total,.cart-line{display:flex;align-items:center;justify-content:space-between;gap:10px}
.cart-head h2{font-size:1.28rem}
.close{font-size:1.4rem;line-height:1}
#lines{overflow:auto}
#order-status:not(:empty){margin:14px 0;padding:10px;background:#eff6ef;border-radius:8px}
.cart-line{padding:12px 0;border-bottom:1px solid var(--line)}
.cart-line strong{display:block;font-size:.95rem}
.line-controls{display:flex;gap:5px;align-items:center}
.line-controls .quiet{padding:5px 9px}
.line-controls span{min-width:22px;text-align:center}
.cart-footer{margin-top:auto;padding-top:14px}
.cart-total{padding-bottom:10px}
#order{padding:8px 14px;display:block;margin-left:auto}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
@media(max-width:900px){.products{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:640px){.wrap{width:calc(100% - 24px)}.products{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.intro{margin-top:20px}.product-body{padding:9px}.filter-row{align-items:flex-start}.bar-inner{min-height:56px}.brand{gap:7px}.tools{gap:5px}.tools button{padding-inline:8px}}
@media(max-width:360px){.filter-row{display:block}#count{margin-top:7px}.unit{display:block}}
