/* 0.11.0: online shop (pickup) */
:root{--ink:#1c2430;--muted:#5d6878;--line:#dfe3e8;--bg:#f5f6f8;--brand:#22384f;--ok:#2f7a4c;--warn:#9a6420;--bad:#a23b32;--r:12px}
*{box-sizing:border-box}
body{margin:0;font:16px/1.45 system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;color:var(--ink);background:var(--bg);padding-bottom:84px}
a{color:var(--brand)}
.sh-wrap{max-width:980px;margin:0 auto;padding:0 16px}
.sh-top{background:var(--brand);color:#fff;padding:14px 0;position:sticky;top:0;z-index:5}
.sh-top .sh-wrap{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 14px}
.sh-brand{color:#fff;text-decoration:none;font-weight:800;font-size:1.25rem}
.sh-sub{opacity:.85;font-size:.95rem}
main.sh-wrap{padding-top:18px}
.sh-search{width:100%;font:inherit;padding:12px 14px;border:1px solid var(--line);border-radius:var(--r);background:#fff}
.sh-cats{display:flex;gap:8px;overflow-x:auto;padding:12px 0 6px;scrollbar-width:thin}
.sh-chip{flex:none;font:inherit;font-size:.92rem;border:1px solid var(--line);background:#fff;border-radius:999px;padding:6px 14px;cursor:pointer}
.sh-chip.on{background:var(--brand);border-color:var(--brand);color:#fff}
.sh-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:12px;margin-top:8px}
.sh-item{background:#fff;border:1px solid var(--line);border-radius:var(--r);padding:14px;display:flex;flex-direction:column;justify-content:space-between;gap:10px;min-height:118px}
.sh-name{font-weight:600}
.sh-size{color:var(--muted);font-weight:400}
.sh-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.sh-row>b{font-size:1.1rem}
.sh-row>:last-child{margin-left:auto}
.sh-btn{font:inherit;font-weight:700;border:0;border-radius:999px;background:var(--brand);color:#fff;padding:8px 18px;cursor:pointer}
.sh-btn:disabled{opacity:.6}
.sh-btn.ghost{background:#fff;color:var(--brand);border:1px solid var(--brand)}
.sh-btn.small{padding:4px 12px;min-width:36px}
.sh-btn.big{padding:12px 22px;font-size:1.05rem}
.sh-qty{display:inline-flex;align-items:center;gap:8px}
.sh-qty span{min-width:20px;text-align:center;font-weight:700}
.sh-more{text-align:center;margin:18px 0}
.sh-muted{color:var(--muted)}
.sh-small{font-size:.88rem}
.sh-note{background:#fff8e8;border:1px solid #f0dcae;border-radius:var(--r);padding:10px 14px}
.sh-bar{position:fixed;left:0;right:0;bottom:0;background:#fff;border-top:1px solid var(--line);box-shadow:0 -6px 20px rgba(0,0,0,.08);padding:10px 0;z-index:6}
.sh-barin{display:flex;align-items:center;justify-content:space-between;gap:12px;font-weight:700}
.sh-card{background:#fff;border:1px solid var(--line);border-radius:var(--r);padding:18px;margin:0 0 14px}
.sh-card h1,.sh-card h2{margin:0 0 12px}
.sh-line{display:flex;align-items:center;gap:12px;padding:8px 0;border-bottom:1px solid var(--line)}
.sh-grow{flex:1}
.sh-totals{margin-top:10px}
.sh-pl{display:flex;justify-content:space-between;padding:3px 0}
.sh-total{display:flex;justify-content:space-between;font-weight:800;font-size:1.2rem;border-top:2px solid var(--ink);margin-top:6px;padding-top:8px}
.sh-form label{display:block;font-weight:600;margin:0 0 12px}
.sh-form input,.sh-form textarea{display:block;width:100%;font:inherit;font-weight:400;margin-top:4px;padding:10px 12px;border:1px solid var(--line);border-radius:8px}
.sh-hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.sh-err{color:var(--bad);font-weight:600}
.sh-status{text-align:center;border-width:2px}
.sh-num{font-size:3rem;font-weight:800;margin:0;line-height:1}
.st-new{border-color:var(--warn)}.st-accepted{border-color:var(--brand)}.st-ready{border-color:var(--ok);background:#eef8f1}.st-cancelled{border-color:var(--bad)}
.sh-foot{color:var(--muted);font-size:.85rem;padding:24px 16px}
.sh-kinds{display:flex;gap:8px;margin:0 0 16px}
.sh-kinds .sh-chip{font-size:1rem;padding:8px 20px}
.sh-addr{margin:0 0 8px}
.st-out{border-color:var(--brand)}.st-delivered{border-color:var(--ok);background:#eef8f1}.st-failed{border-color:var(--bad)}
/* 0.11.2: compare prices */
.cmp-where{margin-top:10px}
.sh-postal{font:inherit;padding:8px 12px;border:1px solid var(--line);border-radius:8px;width:130px;text-transform:uppercase}
.cmp-pick{text-align:left;font:inherit;cursor:pointer;color:inherit}
.cmp-pick:hover{border-color:var(--brand)}
.cmp-best{border:2px solid var(--ok)}
.cmp-tag{font-size:.78rem;font-weight:700;border-radius:999px;padding:2px 10px;background:#eef1f5}
.cmp-tag.ok{background:var(--ok);color:#fff}
.cmp-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(110px,1fr));gap:10px;margin:12px 0}
.cmp-grid>div{display:flex;flex-direction:column;gap:2px}
.cmp-grid b{font-size:1.1rem}
.cmp-row a.sh-btn{text-decoration:none;display:inline-block}
.cmp-head{display:flex;align-items:center;flex-wrap:wrap;gap:6px 10px}
.cmp-head .cmp-tag{margin-left:auto}
.sh-postal{width:150px}
.sh-postal::placeholder{text-transform:none}
#main>div+div{margin-top:14px}
#main>div{scroll-margin-top:90px}
.cmp-grid{grid-template-columns:repeat(2,1fr)}
@media (min-width:700px){.cmp-grid{grid-template-columns:repeat(5,1fr)}}
/* 0.11.5: marketplace */
.mk-top{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 14px}
.mk-nav{margin-left:auto;display:flex;gap:16px}
.mk-nav a{color:#fff;font-weight:600;text-decoration:none;font-size:.95rem}
.mk-nav a:hover{text-decoration:underline}
.mk-h1{font-size:1.4rem}
.mk-sep{flex:none;width:1px;background:var(--line);margin:0 4px}
.mk-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(270px,1fr));gap:14px;margin:6px 0 20px}
.mk-card{background:#fff;border:1px solid var(--line);border-radius:var(--r);overflow:hidden;display:flex;flex-direction:column}
.mk-pic{display:block;aspect-ratio:16/8;background:#eef1f5;overflow:hidden}
.mk-pic img{width:100%;height:100%;object-fit:cover;display:block}
.mk-icon{display:flex;align-items:center;justify-content:center;height:100%;font-size:3rem}
.mk-icon.k-food{background:linear-gradient(135deg,#fbe3c4,#f6c48a)}.mk-icon.k-convenience{background:linear-gradient(135deg,#d6e6f7,#a9c8ec)}
.mk-icon.k-liquor{background:linear-gradient(135deg,#ead9f3,#c9a8e0)}.mk-icon.k-grocery{background:linear-gradient(135deg,#d8f0de,#a6dbb5)}.mk-icon.k-other{background:linear-gradient(135deg,#e7e9ed,#cdd2da)}
.mk-body{padding:12px 14px 14px;display:flex;flex-direction:column;gap:4px;flex:1}
.mk-head{display:flex;justify-content:space-between;align-items:baseline;gap:8px}
.mk-name{font-weight:800;font-size:1.05rem;color:var(--ink);text-decoration:none}
.mk-open{color:var(--ok);font-weight:600}.mk-closed{color:var(--muted)}
.mk-tags{display:flex;flex-wrap:wrap;gap:6px;margin:4px 0}
.mk-actions{display:flex;flex-wrap:wrap;gap:6px;margin-top:auto;padding-top:6px}
.mk-actions a{text-decoration:none}
.sh-btn.small{font-size:.9rem}
/* 0.11.7: restaurant menu online */
.fd-cat{scroll-margin-top:80px;margin-top:18px}
.fd-cat h2{margin:0 0 10px}
.fd-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:12px}
.fd-item{background:#fff;border:1px solid var(--line);border-radius:var(--r);padding:14px;display:flex;gap:12px;justify-content:space-between}
.fd-item.off{opacity:.6}
.fd-txt{display:flex;flex-direction:column;gap:6px;flex:1}
.fd-pic{width:96px;height:96px;object-fit:cover;border-radius:10px;flex:none}
.fd-overlay{position:fixed;inset:0;background:rgba(15,23,32,.55);display:flex;align-items:flex-end;justify-content:center;z-index:20;padding:12px}
@media (min-width:700px){.fd-overlay{align-items:center}}
.fd-sheet{width:100%;max-width:520px;max-height:88vh;overflow:auto;margin:0}
.fd-group{border:1px solid var(--line);border-radius:10px;padding:8px 12px;margin:0 0 12px}
.fd-group legend{font-weight:700;padding:0 4px}
.fd-opt{display:flex!important;align-items:center;gap:10px;font-weight:400!important;margin:6px 0!important}
.fd-opt input{width:auto!important;margin:0!important}
.fd-opt span:nth-child(2){flex:1}
.sh-fullw{flex-basis:100%}
.sh-line{flex-wrap:wrap}
.fd-qty{margin:0 0 12px}
.sh-photo{display:block;width:100%;height:150px;object-fit:contain;background:#fff;margin:0 0 10px;border-radius:8px}
.sh-icon{position:relative;display:flex;align-items:center;justify-content:center;font-size:64px;background:#f5f6f8;filter:grayscale(.15)}
.sh-sample{position:absolute;right:8px;bottom:6px;font-size:11px;color:#667085;background:#fff;border:1px solid var(--line);border-radius:10px;padding:1px 6px}
[hidden]{display:none !important}
