/* The public web store (phase 7): phone first, the business's own colours. */
.shop{min-height:100vh;background:var(--bg);color:var(--fg);font-size:16px}
.shop .muted{color:var(--muted)}.shop .small{font-size:13px}
.sh-top{position:sticky;top:0;z-index:5;display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:12px 16px;background:var(--accent);color:#fff}
.sh-top>div:first-child{display:flex;flex-direction:column;min-width:0}
.sh-biz{font-size:20px;font-weight:700;line-height:1.15}
.sh-store{font-size:13px;opacity:.9}
.sh-langs{display:flex;gap:4px;flex-wrap:wrap}
.sh-langs button{background:transparent;color:#fff;border:1px solid color-mix(in oklab,#fff 45%,transparent);padding:4px 9px;font-size:13px;border-radius:99px}
.sh-langs button[aria-pressed=true]{background:#fff;color:var(--accent)}
.sh-error{margin:12px 16px;padding:10px 12px;border-radius:8px;background:var(--warn-soft);color:var(--warn);font-weight:600}
.sh-wait{padding:40px 16px;text-align:center;color:var(--muted)}
.sh-pick{max-width:520px;margin:0 auto;padding:24px 16px;display:flex;flex-direction:column;gap:10px}
.sh-storebtn{display:flex;flex-direction:column;align-items:flex-start;gap:2px;padding:14px 16px;text-align:left;border-radius:10px}
.sh-storebtn span{font-size:13px;color:var(--muted)}
.sh-body{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:20px;max-width:1180px;margin:0 auto;padding:16px}
.sh-body main{min-width:0}
.sh-search input{width:100%;padding:12px 14px;font-size:16px;border-radius:10px;background:var(--surface)}
.sh-cats{display:flex;gap:6px;overflow-x:auto;padding:12px 0;scrollbar-width:none}
.sh-cats button{white-space:nowrap;border-radius:99px;padding:6px 12px;font-size:14px}
.sh-cats button[aria-pressed=true]{background:var(--accent);border-color:var(--accent);color:#fff}
.sh-body h2{font-size:18px;margin:14px 0 10px}
.sh-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:10px}
.sh-item{display:flex;flex-direction:column;gap:6px;padding:10px;border:1px solid var(--line);border-radius:12px;background:var(--surface)}
.sh-img{aspect-ratio:4/3;border-radius:8px;overflow:hidden;background:var(--accent-soft);display:grid;place-items:center;color:var(--accent);font-size:28px;font-weight:700}
.sh-img img{width:100%;height:100%;object-fit:cover}
.sh-name{display:flex;flex-direction:column;line-height:1.25;min-height:3.2em}
.sh-name b{font-size:14.5px}.sh-name span{font-size:13px;color:var(--muted)}.sh-name small{font-size:12px;color:var(--muted)}
.sh-price{display:flex;align-items:baseline;gap:6px;flex-wrap:wrap;font-variant-numeric:tabular-nums}
.sh-price b{font-size:16px}.sh-price b.sale{color:var(--warn)}.sh-price s{font-size:13px;color:var(--muted)}
.sh-price .left{font-size:12px;color:var(--warn);font-weight:600}
.sh-add{background:var(--accent);border-color:var(--accent);color:#fff;font-weight:600;min-height:40px}
.sh-step{display:flex;align-items:center;justify-content:space-between;border:1px solid var(--accent);border-radius:8px;min-height:40px}
.sh-step button{border:0;background:transparent;font-size:20px;font-weight:700;color:var(--accent);padding:4px 14px}
.sh-cart{position:sticky;top:76px;align-self:start;display:flex;flex-direction:column;gap:8px;padding:16px;border:1px solid var(--line);border-radius:12px;background:var(--surface)}
.sh-cart h2{margin:0}
.sh-line{display:flex;justify-content:space-between;gap:12px;padding:6px 0;border-bottom:1px solid var(--line);font-variant-numeric:tabular-nums}
.sh-line.total{border-bottom:0;font-size:17px;font-weight:600}
.sh-go{background:var(--accent);border-color:var(--accent);color:#fff;font-weight:700;font-size:16px;min-height:48px;border-radius:10px;width:100%}
.sh-form{max-width:560px;margin:0 auto;padding:18px 16px 40px;display:flex;flex-direction:column;gap:12px}
.sh-form label{font-size:14px}
.sh-form input,.sh-form select,.sh-form textarea{font-size:16px;padding:11px 12px;background:var(--surface)}
.sh-back{align-self:flex-start;border:0;background:transparent;color:var(--accent);padding:0;font-weight:600}
.sh-seg{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:8px}
.sh-seg button{display:flex;flex-direction:column;align-items:flex-start;gap:2px;padding:12px;border-radius:10px;text-align:left}
.sh-seg button span{font-size:13px;color:var(--muted)}
.sh-seg button[aria-pressed=true]{border:2px solid var(--accent);background:var(--accent-soft)}
.sh-ref{display:flex;flex-direction:column;align-items:center;gap:2px;padding:16px;border-radius:12px;background:var(--accent);color:#fff;text-align:center}
.sh-ref b{font:700 40px/1.1 "JetBrains Mono",ui-monospace,monospace}
.sh-ref span{font-size:13px;opacity:.9}
.sh-steps{display:grid;grid-template-columns:repeat(4,1fr);gap:4px;list-style:none;margin:0;padding:0}
.sh-steps li{padding:8px 4px;text-align:center;font-size:12.5px;border-top:4px solid var(--line);color:var(--muted)}
.sh-steps li.done{border-color:var(--accent);color:var(--fg)}
.sh-steps li.now{border-color:var(--warn);color:var(--fg);font-weight:700}
.sh-say{font-size:17px;font-weight:600;margin:0}
.sh-here{display:flex;flex-direction:column;gap:10px;padding:14px;border:2px solid var(--warn);border-radius:12px;background:var(--warn-soft)}
.sh-here.done{display:block;border-color:var(--accent);background:var(--accent-soft)}
.sh-order h2{font-size:17px;margin:8px 0 0}
@media (max-width:820px){
  .sh-body{grid-template-columns:1fr;padding:12px 12px 120px}
  .sh-cart{position:fixed;left:0;right:0;bottom:0;top:auto;border-radius:14px 14px 0 0;max-height:45vh;overflow:auto;box-shadow:0 -6px 20px rgb(0 0 0/.12);z-index:6}
  .sh-cart:not(.has){display:none}
  .sh-cart .sh-line:not(.total){display:none}
  .sh-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
