/* LWVlife Grocery Basket add-on (Karl 2026-11-04): category buttons, one-tap add box, print/share/copy, stores, senior meals */
#s-shop .sc-cats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:6px 0 4px}
#s-shop .sc-catb{min-height:52px;display:flex;align-items:center;gap:8px;padding:6px 10px;border-radius:14px;border:2px solid #1B3A6B;background:#fff;color:#1B3A6B;font:inherit;font-weight:800;font-size:1rem;text-align:left;cursor:pointer;touch-action:manipulation;line-height:1.15}
#s-shop .sc-catb .sc-ci{font-size:1.45rem;flex:none}
#s-shop .sc-catb .sc-cn{min-width:0;overflow-wrap:break-word}
/* b109: icon above the word, so a whole word always fits and fit41.js never has to shrink it after a redraw (that caused a 0.5 s jump) */
#s-shop .sc-catb{flex-direction:column;justify-content:center;text-align:center;gap:2px;padding:6px 6px}
#s-shop .sc-catb.on{background:#1B3A6B;color:#fff}
#s-shop .sc-catb:focus-visible{outline:3px solid #f28c1b;outline-offset:2px}
#s-shop .sc-adj{border-color:#2f9e44}
#s-shop .sc-adj .sc-ph b{color:#1e7a33}
#s-shop .sc-adj .sc-n{min-width:48px;text-align:center;font-size:1.35rem;font-weight:900;color:#1B3A6B;display:inline-block}
#s-shop .sc-adj .pk-pm[disabled]{opacity:.35;cursor:default}
#s-shop .sc-rm{min-height:48px}
/* print / share / copy */
#s-shop .gb-tools{margin:12px 0 8px;padding:12px}
#s-shop .gb-tb{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
#s-shop .gb-b{min-height:52px;font-weight:800;padding:6px 4px;white-space:normal;line-height:1.15}
#s-shop .gb-msg{min-height:1.2em;margin:6px 0 0;color:#1e7a33;font-weight:700}
/* stores + meals */
#s-shop .gb-sec{margin:10px 0;padding:0}
#s-shop .gb-sec>summary{min-height:52px;display:flex;align-items:center;padding:10px 14px;font-weight:900;font-size:1.08rem;color:#1B3A6B;cursor:pointer;list-style:none}
#s-shop .gb-sec>summary::-webkit-details-marker{display:none}
#s-shop .gb-sec>summary::after{content:"\25BE";margin-left:auto;font-size:1.2rem}
#s-shop .gb-sec[open]>summary::after{content:"\25B4"}
#s-shop .gb-sec>p{margin:0 14px 8px}
#s-shop .gb-list{list-style:none;margin:0;padding:0 10px 10px}
#s-shop .gb-store{border-top:1px solid #dfe6f0;padding:10px 4px}
#s-shop .gb-nm b{font-size:1.06rem;color:#1B3A6B}
#s-shop .gb-tags{display:flex;flex-wrap:wrap;gap:6px;margin:6px 0}
#s-shop .gb-tag{font-size:.88rem;font-weight:800;padding:3px 8px;border-radius:999px;background:#eef2f8;color:#1B3A6B}
#s-shop .gb-tag.ok{background:#e3f4e7;color:#1e6b2f}
#s-shop .gb-t{margin:4px 0;line-height:1.4}
#s-shop .gb-acts{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}
#s-shop .gb-acts .btn{min-height:48px;display:inline-flex;align-items:center;justify-content:center;text-decoration:none;font-weight:800}
#s-shop .gb-chk{margin:6px 0 0;font-size:.85rem;color:#5a6577}
/* print view: only the list */
#gb-print{display:none}
@media print{
  html.gb-printing body>*:not(#gb-print){display:none!important}
  html.gb-printing #gb-print{display:block!important;font:20px/1.5 Arial,sans-serif;color:#000;padding:0 8px}
  #gb-print h1{font-size:28px;margin:0 0 4px}
  #gb-print .gbp-d{margin:0 0 14px;font-size:16px}
  #gb-print ul{list-style:none;margin:0;padding:0}
  #gb-print li{display:flex;align-items:center;gap:12px;padding:8px 0;border-bottom:1px solid #999}
  #gb-print .gbp-b{width:22px;height:22px;border:2px solid #000;flex:none}
  #gb-print .gbp-f{margin-top:18px;font-size:14px}
}
/* item buttons: fixed grid so a chip never changes size or jumps when it goes on the list */
#s-shop .sc-items{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
@media (min-width:600px){#s-shop .sc-items{grid-template-columns:repeat(4,minmax(0,1fr))}}
#s-shop .sc-items>.sc-panel{grid-column:1/-1}
#s-shop .sc-items>.sc-chip{position:relative;justify-content:center;text-align:center;min-height:52px;padding:6px 26px 6px 10px;overflow-wrap:anywhere;line-height:1.15}
#s-shop .sc-items>.sc-chip small{display:none}
#s-shop .sc-items>.sc-chip.on{background:#e3f4e7;border-color:#2f9e44;color:#14532d}
#s-shop .sc-items>.sc-chip.on::after{content:"\2714";position:absolute;top:4px;right:6px;width:20px;height:20px;border-radius:50%;background:#2f9e44;color:#fff;font-size:.75rem;line-height:20px;text-align:center}
#s-shop .sc-items>.sc-chip.sel{box-shadow:0 0 0 3px #f2b84b}
#s-shop .sc-items>.sc-oth{display:none}
