/* LG-COMPACT222 (14 november 2026): compactere mobiele bediening. Alleen presentatie; geladen na style.css en mobile-app.css. */
.visually-hidden{position:absolute!important;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}

/* Samen | Voor mij: één tik, op elk scherm waar de lijst of de week wisselt. */
.scope-switch{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:0 0 8px}
.scope-switch button{min-height:44px;margin:0;font-size:15px}
.scope-note{margin:0 0 8px;font-size:13px}

/* Boodschappen: bovenbalk met toevoegen, zoeken en afdelingen. */
#shop-compact.simple .shop-top{padding:10px 12px;margin-bottom:8px}
#shop-compact.simple .shop-top #plan-status{min-height:0;margin:2px 0 6px;font-size:13px}
#shop-compact.simple .shop-top #plan-status:empty{display:none}
#shop-compact .shop-quick-add{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:stretch}
#shop-compact .shop-quick-name{display:block;margin:0}
#shop-compact .shop-quick-name input,#shop-compact .shop-find input{display:block;width:100%;min-height:46px;margin:0;padding:8px 12px;border:1px solid #d9cbc3;border-radius:10px;background:#fff;font:500 16px/1.3 'Avenir Next',system-ui,sans-serif;color:var(--ink)}
#shop-compact .shop-quick-add button{min-height:46px;margin:0;padding:0 12px;font-size:15px}
#shop-compact .shop-add-more{border:0;margin:2px 0 0;padding:0}
#shop-compact .shop-add-more>summary{min-height:32px;display:flex;align-items:center;font-size:13px;font-weight:600;color:var(--muted);cursor:pointer}
#shop-compact .shop-add-status{min-height:0;margin:4px 0 2px;font-size:14px}
#shop-compact .shop-add-status:empty{display:none}
#shop-compact .shop-add-status button{min-height:36px;margin:4px 0 0;padding:0 12px;font-size:13px}
#shop-compact .shop-find{display:block;margin:4px 0 0}
#shop-compact .shop-filter{display:flex;flex-wrap:wrap;gap:5px;margin:8px 0 2px}
.pick-chip{display:inline-flex;align-items:center;gap:5px;min-height:34px;margin:0;padding:3px 10px;border:1px solid #d9cbc3;border-radius:18px;background:#fff;color:var(--ink);font-size:13px;line-height:1.1;font-weight:600}
.pick-chip b{font-weight:700;color:#7a6a70}
.pick-chip small{font-size:12px;font-weight:500;color:#7a6a70}
.pick-chip[aria-pressed=true]{background:var(--navy);border-color:var(--navy);color:#fff}
.pick-chip[aria-pressed=true] b{color:#fff}
#shop-compact.simple [data-shop-count]{margin:12px 0 0;font-size:13px}
#shop-compact .shop-view-options{margin:4px 0 12px}
#shop-compact .shop-view-options>summary{min-height:44px;display:flex;align-items:center;font-size:14px;font-weight:600;color:var(--muted);cursor:pointer}
#shop-compact .shop-add-line{position:relative}
#shop-compact .shop-add-line .shop-add-more>summary{padding-right:128px}
#shop-compact #shop-check-open{position:absolute;top:0;right:0;min-height:32px;margin:0;padding:0 12px;font-size:13px}
#shop-compact #shop-check-open[hidden]{display:none}

/* Vaak gekocht uit je eigen bonnen. */
#shop-compact .frequent{margin:8px 0 0}
#shop-compact .frequent h2{margin:0 0 4px;font-size:14px;font-family:inherit;font-weight:700}
#shop-compact .frequent ul{display:flex;flex-wrap:nowrap;gap:6px;margin:0;padding:0 0 4px;list-style:none;overflow-x:auto;scrollbar-width:none}
#shop-compact .frequent ul::-webkit-scrollbar{display:none}
#shop-compact .frequent li{flex:none}
#shop-compact .frequent .note{margin:2px 0 0;font-size:12px;line-height:1.35}

/* Regels: de hele rij is aantikbaar; aantal en verpakking zitten achter één ⋯ rechts. */
#shop-compact.simple .shopping>li{position:relative;padding:0;overflow:hidden}
#shop-compact.simple .shopping>li>label{width:100%;min-height:56px;padding:6px 56px 6px 12px;margin:0;cursor:pointer}
#shop-compact.simple .shopping>li[data-done-row]>label,#shop-compact.simple .shopping>li:not(:has(.shop-more))>label{padding-right:12px}
#shop-compact.simple .shopping>li>.note,#shop-compact.simple .shopping>li>[data-shop-row-status]{margin:0 12px 6px;font-size:13px}
#shop-compact .shop-department.shop-solo>summary{display:none}
#shop-compact .shop-more{border:0;margin:0;padding:0}
#shop-compact .shop-more>summary{position:absolute;top:6px;right:4px;width:48px;height:44px;display:flex;align-items:center;justify-content:center;list-style:none;font-size:24px;line-height:1;color:var(--muted);cursor:pointer;min-height:0;padding:0}
#shop-compact .shop-more>summary::-webkit-details-marker{display:none}
#shop-compact .shop-more[open]>summary{color:var(--navy)}
#shop-compact .shop-more>:not(summary){margin-left:12px;margin-right:12px}
#shop-compact .shop-more>p.note{margin-top:0;margin-bottom:8px;font-size:13px}
#shop-compact .shop-more .shop-amount{margin:0 12px 10px}
.shop-flash{animation:shop-flash 3.2s ease-out}
@keyframes shop-flash{0%,60%{background:#fff3c4;box-shadow:0 0 0 3px #ffd45e}100%{background:#fff;box-shadow:0 0 0 0 transparent}}

/* Ongedaan maken direct na het afvinken, boven de tabbalk. */
#shop-undo{position:fixed;left:12px;right:12px;bottom:calc(84px + env(safe-area-inset-bottom,0px));z-index:70;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 8px 8px 14px;border-radius:12px;background:#342631;color:#fff;font-size:15px;box-shadow:0 6px 20px rgba(0,0,0,.28)}
#shop-undo button{flex:none;min-height:44px;margin:0;padding:0 16px;border:0;border-radius:10px;background:var(--gold,#FFD45E);color:#342631;font-weight:700}

/* Snelle voorraadcheck: dezelfde keuzeknoppen als Even de voorraad langs. */
#shop-check .stock-review-choices{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:14px 0}
#shop-check .stock-review-choices button{min-height:56px;margin:0}

/* Dagbalk in Deze week: zeven dagen, één tik per dag (alleen waar de weekkaarten naast elkaar scrollen). */
.day-strip{display:none}
@media(max-width:700px){
 body[data-route=home] .day-strip{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px;margin:0 0 8px}
 body[data-route=home] .day-chip{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;min-height:46px;margin:0;padding:3px 0;border:1px solid #d9cbc3;border-radius:10px;background:#fff;color:var(--ink);font-size:12px;line-height:1.1;font-weight:600}
 body[data-route=home] .day-chip b{font-size:16px;font-weight:700}
 body[data-route=home] .day-chip.is-today{box-shadow:inset 0 -3px 0 var(--gold,#FFD45E)}
 body[data-route=home] .day-chip[aria-pressed=true]{background:var(--navy);border-color:var(--navy);color:#fff}
 /* de dagbalk vervangt de veegtip: één regel minder boven de kaart */
 body[data-route=home] section:has(.day-strip) .week-swipe-hint{display:none}
}
