/* The online grocery shop (src/Grocery.tsx). Neutral greys + the shop's own accent (--brand); no other colour. */
.grocery{max-width:1100px;margin:0 auto;padding:12px 16px calc(96px + var(--safe-b))}
.gr-top{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:6px 0 12px}
.gr-brand{display:flex;align-items:center;gap:10px}.gr-brand img{width:40px;height:40px;border-radius:10px;object-fit:cover}
.gr-brand b{display:block;font-size:20px}.gr-brand span{display:block;color:var(--muted);font-size:14px}
.gr-top select{border:1px solid var(--line);border-radius:10px;padding:8px;background:#fff;font:inherit}
.gr-off{background:var(--fill);border-radius:var(--r);padding:14px 16px;margin:0 0 12px;color:var(--text)}
.gr-search input{width:100%;font:inherit;font-size:17px;padding:14px 16px;border:1px solid var(--line);border-radius:var(--r);background:var(--fill)}
.gr-cats{display:flex;gap:8px;overflow-x:auto;padding:12px 0;scrollbar-width:none}
.gr-cats button{flex:none;border:1px solid var(--line);background:#fff;border-radius:999px;padding:9px 14px;font:inherit;font-size:15px;cursor:pointer;white-space:nowrap}
.gr-cats button.on{background:var(--brand);color:var(--brand-on);border-color:var(--brand)}
.gr-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:12px}
.gr-count{grid-column:1/-1;color:var(--muted);font-size:14px}
.gr-card{border:1px solid var(--line);border-radius:var(--r);padding:10px;display:flex;flex-direction:column;gap:6px;background:#fff}
.gr-card.out{opacity:.55}
.gr-pic{aspect-ratio:1/1;border-radius:10px;background:var(--fill);display:flex;align-items:center;justify-content:center;overflow:hidden}
.gr-pic img{width:100%;height:100%;object-fit:cover}.gr-pic span{font-size:34px;font-weight:700;color:var(--faint)}
.gr-name{font-weight:600;font-size:15px;line-height:1.3;min-height:2.6em}
.gr-card select{font:inherit;font-size:14px;padding:6px;border:1px solid var(--line);border-radius:8px}
.gr-price{display:flex;align-items:baseline;gap:6px;flex-wrap:wrap}.gr-price b{font-size:17px}.gr-price span,.gr-price em{color:var(--muted);font-size:13px;font-style:normal}
.gr-out{color:var(--muted);font-size:14px;font-weight:600}.gr-left{color:var(--muted);font-size:13px}.gr-age{color:var(--muted);font-size:12px}
.gr-add{margin-top:auto;min-height:56px;border:0;border-radius:12px;background:var(--brand);color:var(--brand-on);font:inherit;font-weight:700;cursor:pointer}
.gr-step{margin-top:auto;display:flex;align-items:center;justify-content:space-between;border:1px solid var(--line);border-radius:12px;min-height:56px}
.gr-step button{width:56px;height:56px;border:0;background:none;font-size:22px;cursor:pointer}.gr-step button:disabled{opacity:.3}
.gr-step span{font-weight:700;font-variant-numeric:tabular-nums}.gr-step.sm{min-height:56px;width:160px}.gr-step.sm button{width:56px;height:56px}
.gr-more,.gr-loading{grid-column:1/-1;justify-self:center}.gr-more{min-height:56px;padding:0 22px;border:1px solid var(--line);background:#fff;border-radius:12px;font:inherit;cursor:pointer}
.gr-bar{position:fixed;left:16px;right:16px;bottom:calc(14px + var(--safe-b));max-width:640px;margin:0 auto;display:flex;justify-content:space-between;align-items:center;min-height:56px;padding:0 20px;border:0;border-radius:16px;background:var(--brand);color:var(--brand-on);font:inherit;font-size:17px;box-shadow:var(--shadow-pop);cursor:pointer}
.gr-panel{max-width:640px;margin:0 auto}.gr-ph{display:flex;align-items:center;gap:12px}.gr-ph h2{margin:8px 0}
.gr-lines{list-style:none;margin:0;padding:0}.gr-lines li{display:flex;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid var(--line)}
.gr-lines li.bad{background:var(--err-soft)}.gr-ln{flex:1;min-width:0;display:flex;flex-direction:column;gap:4px}.gr-ln span{color:var(--muted);font-size:14px}
.gr-lp{font-variant-numeric:tabular-nums;min-width:70px;text-align:end}
.gr-sub{display:flex;align-items:center;gap:6px;font-size:14px;color:var(--muted)}
.gr-tot{display:flex;justify-content:space-between;font-size:19px;padding:14px 0}
.gr-muted{color:var(--muted);font-size:14px}.gr-err{color:var(--err);font-size:14px}
.gr-seg{display:flex;gap:8px;margin:10px 0}.gr-seg button{flex:1;min-height:56px;border:1px solid var(--line);border-radius:12px;background:#fff;font:inherit;font-weight:600;cursor:pointer}
.gr-seg button.on{background:var(--brand);color:var(--brand-on);border-color:var(--brand)}
.gr-form{display:flex;flex-direction:column;gap:10px;margin:10px 0}.gr-row{display:flex;gap:10px}.gr-row .field{flex:1}
.gr-slots{display:flex;flex-wrap:wrap;gap:8px}
.gr-sum{border-top:1px solid var(--line);margin-top:14px;padding-top:8px}.gr-sum>div{display:flex;justify-content:space-between;padding:4px 0}
.gr-panel .btn.primary{width:100%;min-height:56px;margin-top:8px}
.gr-order{max-width:640px}.gr-hero{text-align:center;padding:18px 0}.gr-kick{color:var(--muted)}.gr-hero h1{margin:6px 0}
.gr-status{font-size:20px;font-weight:700}.gr-when{color:var(--muted);margin-top:6px}
.gr-flow{list-style:none;display:flex;gap:6px;padding:0;margin:12px 0;flex-wrap:wrap}.gr-flow li{flex:1;min-width:90px;font-size:13px;color:var(--faint);border-top:4px solid var(--fill-2);padding-top:6px}
.gr-flow li.done{color:var(--text);border-color:var(--brand)}
.gr-changes{background:var(--fill);border-radius:var(--r);padding:12px 16px 12px 32px}
