/* Oct 26, 2026: "Shop from home" (week-basket.js), the weekly basket that opens from Supermarket. Same membrane look as
   Supermarket and Move: see-through dark glass, the soft blue rim, pill rows, mint for the one main action. Sits one layer
   above Supermarket (400) so closing it lands back there. */
.wb-ov {
  position: fixed; inset: 0; z-index: 410; display: flex; align-items: center; justify-content: center;
  padding: max(12px, env(safe-area-inset-top)) 10px max(12px, env(safe-area-inset-bottom));
  background: rgba(6, 10, 34, .4); opacity: 0; transition: opacity .22s ease;
}
.wb-ov.in { opacity: 1; }
.wb-card {
  position: relative; z-index: 1; width: min(560px, 100%); height: min(860px, 100%); display: flex; flex-direction: column; overflow: hidden;
  color: var(--mb-ink, #fff); border-radius: var(--mb-r, 34px); border: 1.5px solid var(--mb-rim, rgba(143, 231, 255, .55));
  background: var(--mb-surface, rgba(20, 24, 60, .78)); background-color: rgba(16, 20, 52, .78);
  box-shadow: var(--mb-glow, 0 0 30px 3px rgba(143, 231, 255, .24), 0 20px 50px rgba(0, 6, 30, .42));
  -webkit-backdrop-filter: var(--mb-blur, blur(18px) saturate(1.4)); backdrop-filter: var(--mb-blur, blur(18px) saturate(1.4));
  transform: translateY(18px) scale(.94); transition: transform .32s cubic-bezier(.3, 1.4, .5, 1);
}
.wb-ov.in .wb-card { transform: none; }
.wb-ov.closing .wb-card { transform: scale(.94); transition-duration: .2s; }
@media (prefers-reduced-motion: reduce) { .wb-ov, .wb-card, .wb-bar i, .wb-toast { transition: none !important; transform: none !important; } }
.wb-card button { font: inherit; color: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.wb-head { display: flex; align-items: flex-start; gap: 10px; padding: 18px 16px 10px 18px; flex: 0 0 auto; }
.wb-head > div { flex: 1 1 auto; min-width: 0; }
.wb-head h3 { margin: 0; font-size: 21px; font-weight: 800; line-height: 1.2; outline: none; }
.wb-head p { margin: 4px 0 0; font-size: 13.5px; opacity: .86; line-height: 1.35; }
.wb-x {
  flex: 0 0 auto; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--mb-pill-rim, rgba(143, 231, 255, .42));
  background: var(--mb-orb, rgba(30, 70, 140, .5)); box-shadow: var(--mb-orb-sh, none); font-size: 24px; line-height: 1;
}
.wb-scroll { flex: 1 1 auto; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; padding: 4px 16px 24px; }
.wb-scroll section { margin: 0 0 16px; }
.wb-scroll h4 { margin: 0 0 8px; font-size: 15px; font-weight: 800; }
.wb-scroll h5 { margin: 12px 0 6px; font-size: 12.5px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; opacity: .78; }
.wb-h4 { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.wb-h4 h4 { margin: 0; }
.wb-setup { padding: 12px; border-radius: 24px; background: var(--mb-pill, rgba(40, 92, 172, .3)); border: 1px solid var(--mb-pill-rim, rgba(143, 231, 255, .42)); }
.wb-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.wb-row + .wb-row { margin-top: 10px; }
.wb-lb { flex: 0 0 104px; font-size: 13.5px; font-weight: 700; opacity: .92; }
.wb-chips { display: flex; gap: 6px; flex-wrap: wrap; flex: 1 1 180px; }
.wb-chip {
  min-width: 44px; min-height: 44px; padding: 6px 12px; border-radius: 22px; border: 1px solid var(--mb-pill-rim, rgba(143, 231, 255, .42));
  background: rgba(255, 255, 255, .06); font-weight: 700; font-size: 14.5px; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.15;
}
.wb-chip.on { background: var(--mb-chosen, rgba(30, 170, 140, .82)); border-color: rgba(190, 255, 230, .8); color: #fff; }
.wb-chip em { font-style: normal; font-weight: 800; font-size: 13px; opacity: .92; }
.wb-chip small { font-size: 10.5px; font-weight: 800; color: #b9ffd9; text-transform: uppercase; letter-spacing: .03em; }
.wb-chip.on small { color: #fff; }
.wb-bud { display: flex; align-items: center; gap: 6px; flex: 1 1 180px; }
.wb-step { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--mb-pill-rim, rgba(143, 231, 255, .42)); background: var(--mb-orb, rgba(30, 70, 140, .5)); font-size: 20px; font-weight: 800; }
.wb-eur { font-weight: 800; font-size: 17px; }
.wb-bud input {
  width: 84px; height: 44px; border-radius: 14px; border: 1px solid var(--mb-pill-rim, rgba(143, 231, 255, .42)); background: rgba(0, 10, 40, .35);
  color: #fff; font: inherit; font-size: 17px; font-weight: 800; text-align: center; -moz-appearance: textfield;
}
.wb-bud input::-webkit-outer-spin-button, .wb-bud input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.wb-total { padding: 14px; border-radius: 24px; background: radial-gradient(120% 140% at 10% 0%, rgba(150, 255, 210, .2), rgba(143, 231, 255, .05)); border: 1px solid rgba(160, 255, 220, .45); }
.wb-total.over { background: radial-gradient(120% 140% at 10% 0%, rgba(255, 196, 120, .22), rgba(255, 160, 100, .05)); border-color: rgba(255, 200, 140, .55); }
.wb-tl { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.wb-tl span { flex: 1 0 100%; font-size: 13px; opacity: .88; }
.wb-tl b { font-size: 30px; font-weight: 900; letter-spacing: -.01em; }
.wb-tl small { font-size: 14px; opacity: .85; }
.wb-bar { height: 10px; margin: 10px 0 8px; border-radius: 6px; background: rgba(255, 255, 255, .12); overflow: hidden; }
.wb-bar i { display: block; height: 100%; border-radius: 6px; background: linear-gradient(90deg, #7dffc4, #3cc79c); transition: width .4s ease; }
.wb-total.over .wb-bar i { background: linear-gradient(90deg, #ffd48a, #ff9d5c); }
.wb-bst { margin: 0; font-size: 14px; font-weight: 700; }
.wb-bst.over { color: #ffd9a8; }
.wb-fit { margin-top: 10px; width: 100%; min-height: 46px; border-radius: 23px; border: 1px solid rgba(255, 210, 160, .7); background: rgba(255, 180, 110, .2); font-weight: 800; }
.wb-stores { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.wb-stores::-webkit-scrollbar { display: none; }
.wb-stores .wb-chip { flex: 0 0 auto; padding: 6px 14px; }
.wb-dins, .wb-items { list-style: none; margin: 0; padding: 0; }
.wb-din {
  display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 8px; margin-bottom: 8px; border-radius: 22px;
  background: var(--mb-pill, rgba(40, 92, 172, .3)); border: 1px solid var(--mb-pill-rim, rgba(143, 231, 255, .42)); box-shadow: var(--mb-pill-sh, none);
}
.wb-dpic { flex: 0 0 auto; width: 56px; height: 56px; border-radius: 16px; background: rgba(255, 255, 255, .08) center / cover no-repeat; display: flex; align-items: center; justify-content: center; font-size: 28px; }
.wb-dn { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
.wb-dn small { font-size: 11.5px; opacity: .75; font-weight: 700; }
.wb-dn b { font-size: 15px; font-weight: 800; overflow-wrap: anywhere; }
.wb-dn em { font-style: normal; font-size: 13px; opacity: .88; }
.wb-dact { flex: 0 0 auto; display: flex; flex-direction: column; gap: 4px; }
.wb-mini { min-height: 44px; min-width: 44px; padding: 4px 12px; border-radius: 18px; border: 1px solid var(--mb-pill-rim, rgba(143, 231, 255, .42)); background: rgba(255, 255, 255, .07); font-size: 13px; font-weight: 800; white-space: nowrap; }
.wb-hint { margin: -2px 0 6px; font-size: 12.5px; opacity: .8; }
.wb-it { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 4px 6px; border-bottom: 1px solid rgba(143, 231, 255, .14); }
.wb-tick {
  flex: 0 0 auto; width: 44px; height: 44px; margin: 0 -7px; border: 0; background: transparent; padding: 0; position: relative;
  display: flex; align-items: center; justify-content: center; font-size: 16px; font-weight: 900; line-height: 1; z-index: 0;
}
.wb-tick::before { content: ""; position: absolute; left: 7px; top: 7px; width: 30px; height: 30px; box-sizing: border-box; border-radius: 50%; border: 2px solid rgba(143, 231, 255, .7); z-index: -1; }
.wb-it.home .wb-tick::before { background: var(--mb-chosen, rgba(30, 170, 140, .82)); border-color: rgba(190, 255, 230, .8); }
.wb-ie { flex: 0 0 auto; font-size: 20px; }
.wb-in { flex: 1 1 auto; min-width: 0; font-size: 14.5px; line-height: 1.25; overflow-wrap: anywhere; }
.wb-in small { display: block; font-size: 11.5px; opacity: .72; }
.wb-ip { flex: 0 0 auto; font-size: 14px; font-weight: 800; }
.wb-it.home .wb-in, .wb-it.home .wb-ip { opacity: .6; }
.wb-it.home .wb-in { text-decoration: line-through; text-decoration-thickness: 1px; }
.wb-go { display: flex; flex-direction: column; gap: 8px; }
.wb-cta { min-height: 52px; border-radius: 26px; border: 1px solid rgba(190, 255, 230, .7); background: var(--mb-go, linear-gradient(180deg, rgba(52, 196, 158, .92), rgba(12, 124, 104, .96))); font-size: 16px; font-weight: 900; }
.wb-cta[disabled] { opacity: .5; cursor: default; }
.wb-sec { min-height: 46px; border-radius: 23px; border: 1px solid var(--mb-pill-rim, rgba(143, 231, 255, .42)); background: rgba(255, 255, 255, .06); font-weight: 800; }
.wb-go h5 { margin: 8px 0 0; }
.wb-dls { display: flex; gap: 6px; flex-wrap: wrap; }
.wb-dl { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 22px; border: 1px solid var(--mb-pill-rim, rgba(143, 231, 255, .42)); background: rgba(255, 255, 255, .07); color: inherit; text-decoration: none; font-weight: 800; font-size: 14px; }
.wb-fine { margin: 6px 2px 0; font-size: 11.5px; line-height: 1.45; opacity: .74; }
.wb-toast {
  position: absolute; left: 50%; bottom: 16px; transform: translate(-50%, 20px); max-width: calc(100% - 32px); padding: 10px 16px; border-radius: 20px;
  background: rgba(10, 30, 60, .94); border: 1px solid rgba(143, 231, 255, .5); font-size: 14px; font-weight: 700; text-align: center;
  opacity: 0; pointer-events: none; transition: opacity .2s ease, transform .2s ease;
}
.wb-toast.show { opacity: 1; transform: translate(-50%, 0); }
:focus-visible.wb-chip, .wb-card button:focus-visible, .wb-dl:focus-visible, .wb-bud input:focus-visible { outline: 2px solid #c9f5ff; outline-offset: 2px; }
/* the door on Supermarket (store-picks.js); Oct 26: 18px side margin like .stp-head, so it lines up with the store row (it was edge to edge) */
.stp-wb {
  display: flex; flex: 0 0 auto; box-sizing: border-box; align-items: center; gap: 12px; width: auto; min-height: 64px; margin: 0 18px 10px; padding: 14px; border-radius: 24px; text-align: left;
  border: 1px solid rgba(160, 255, 220, .55); background: radial-gradient(120% 140% at 10% 0%, rgba(150, 255, 210, .26), rgba(143, 231, 255, .06));
  box-shadow: 0 0 18px rgba(120, 255, 200, .16); font: inherit; color: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; touch-action: manipulation;
}
.stp-wb > span:first-child { flex: 0 0 auto; font-size: 30px; }
.stp-wb-t { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
.stp-wb-t b { font-size: 16.5px; font-weight: 900; }
.stp-wb-t small { font-size: 13px; opacity: .86; margin-top: 2px; }
.stp-wb-go { flex: 0 0 auto; font-size: 22px; font-weight: 900; opacity: .9; }
/* ---- Oct 27 2026: the guided week. One question per screen, big calm tiles, then the week as day cards (learned from a viral
   @herbi.app TikTok Emmanuel sent: "so you don't even have to think"). Same glass tokens as the rest of Shop. ---- */
.wb-q { display: flex; flex-direction: column; gap: 14px; min-height: 100%; }
.wb-qtop { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 44px; }
.wb-back, .wb-back-sp { flex: 0 0 auto; width: 44px; height: 44px; }
.wb-back { border-radius: 50%; border: 1px solid var(--mb-pill-rim, rgba(143, 231, 255, .42)); background: rgba(255, 255, 255, .06); font-size: 26px; line-height: 1; padding-bottom: 3px; }
.wb-dots { display: flex; gap: 6px; align-items: center; }
.wb-dots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, .22); transition: width .25s ease, background .25s ease; }
.wb-dots i.done { background: rgba(190, 255, 230, .7); }
.wb-dots i.now { width: 20px; border-radius: 4px; background: #fff; }
.wb-qn, .wb-qx { flex: 0 0 auto; min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: flex-end; font-size: 13px; font-weight: 700; opacity: .7; }
.wb-qx { border: 0; background: transparent; padding: 0 2px; }
.wb-scroll .wb-qh { margin: 6px 0 0; font-size: 26px; line-height: 1.18; font-weight: 800; letter-spacing: -.01em; outline: none; }
.wb-qs { margin: -6px 0 0; font-size: 14.5px; opacity: .78; }
.wb-tiles { display: grid; gap: 10px; grid-template-columns: 1fr 1fr; }
.wb-tiles.three { grid-template-columns: 1fr 1fr 1fr; }
.wb-tile {
  position: relative; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 6px; min-height: 76px; padding: 14px; border-radius: 22px; text-align: left;
  border: 1px solid var(--mb-pill-rim, rgba(143, 231, 255, .42)); background: rgba(255, 255, 255, .06); font-size: 16px; font-weight: 800; line-height: 1.2;
  transition: background .18s ease, border-color .18s ease, transform .12s ease;
}
.wb-tiles.three .wb-tile { align-items: center; text-align: center; min-height: 64px; font-size: 18px; }
.wb-tile:active { transform: scale(.97); }
.wb-tile.on { background: var(--mb-chosen, rgba(30, 170, 140, .82)); border-color: rgba(190, 255, 230, .85); color: #fff; }
.wb-te { font-size: 26px; line-height: 1; }
.wb-tl2 { overflow-wrap: anywhere; hyphens: auto; }
.wb-tck { position: absolute; right: 10px; top: 10px; width: 22px; height: 22px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .45); display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 900; }
.wb-tile.on .wb-tck { border-color: #fff; background: rgba(255, 255, 255, .22); }
.wb-qnext { margin-top: auto; }
.wb-bigbud { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 18px 4px 6px; }
.wb-bigbud output { font-size: 48px; font-weight: 800; letter-spacing: -.02em; line-height: 1; font-variant-numeric: tabular-nums; }
.wb-range { width: 100%; height: 44px; accent-color: #5fe0b8; background: transparent; }
.wb-qlb { margin: 6px 0 -4px; font-size: 13.5px; font-weight: 700; opacity: .8; text-align: center; }
.wb-chips.c { justify-content: center; flex: 0 0 auto; }
/* "Leave it with ..." */
.wb-make { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; min-height: 300px; text-align: center; }
.wb-make h4 { margin: 8px 0 0 !important; font-size: 22px !important; }
.wb-make p { margin: 0; font-size: 14.5px; opacity: .8; }
.wb-orb { display: flex; gap: 8px; }
.wb-orb i { width: 12px; height: 12px; border-radius: 50%; background: #bff6ff; box-shadow: 0 0 14px rgba(143, 231, 255, .8); animation: wbPulse 1.1s ease-in-out infinite; }
.wb-orb i:nth-child(2) { animation-delay: .18s; } .wb-orb i:nth-child(3) { animation-delay: .36s; }
@keyframes wbPulse { 0%, 100% { opacity: .35; transform: scale(.8); } 50% { opacity: 1; transform: scale(1.1); } }
@media (prefers-reduced-motion: reduce) { .wb-orb i { animation: none; opacity: .8; } .wb-tile, .wb-dots i { transition: none; } }
/* the week */
.wb-scroll .wb-wh { margin: 2px 0 4px; font-size: 24px; font-weight: 800; outline: none; }
.wb-wl { margin: 0 0 12px; font-size: 14px; opacity: .86; font-variant-numeric: tabular-nums; }
.wb-wl.over { color: #ffd59a; opacity: 1; }
.wb-note { margin: -4px 0 10px; font-size: 13px; opacity: .78; }
/* Nov 5 2026 (owner: €40 for 7 dinners gave a plan for €83.77): the budget can't cover the week, said plainly with the two ways out */
.wb-over { margin: 0 0 12px; padding: 12px 14px; border-radius: 16px; border: 1px solid rgba(255, 213, 154, .45); background: rgba(255, 213, 154, .08); }
.wb-over p { margin: 0 0 10px; font-size: 14px; line-height: 1.4; }
.wb-over b { color: #ffd59a; }
.wb-over-acts { display: flex; gap: 8px; flex-wrap: wrap; }
.wb-over-acts .wb-cta { flex: 1 1 140px; min-height: 44px; font-size: 15px; }
.wb-over-acts .wb-cta.ghost { background: transparent; border-color: rgba(255, 255, 255, .45); }
.wb-days { list-style: none; margin: 0 0 14px; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.wb-day { display: flex; align-items: center; gap: 4px; border-radius: 22px; background: rgba(255, 255, 255, .06); border: 1px solid var(--mb-pill-rim, rgba(143, 231, 255, .3)); }
.wb-day.now { border-color: rgba(190, 255, 230, .75); background: rgba(95, 224, 184, .12); }
.wb-dopen { flex: 1 1 auto; min-width: 0; display: flex; align-items: center; gap: 12px; min-height: 72px; padding: 8px 4px 8px 8px; border: 0; background: transparent; text-align: left; border-radius: 22px; }
.wb-dpic { flex: 0 0 auto; width: 56px; height: 56px; border-radius: 16px; background: rgba(255, 255, 255, .08) center / cover no-repeat; display: flex; align-items: center; justify-content: center; font-size: 28px; }
.wb-dn { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; line-height: 1.25; }
.wb-dn small { font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; opacity: .7; }
.wb-dn b { font-size: 15.5px; font-weight: 800; overflow-wrap: anywhere; }
.wb-dn em { font-style: normal; font-size: 12.5px; opacity: .72; font-variant-numeric: tabular-nums; }
.wb-swap { flex: 0 0 auto; width: 44px; height: 44px; margin-right: 6px; border-radius: 50%; border: 0; background: transparent; font-size: 20px; opacity: .7; }
.wb-swap:active { opacity: 1; }
.wb-links { display: flex; align-items: center; justify-content: center; gap: 4px; margin-top: 8px; font-size: 14px; opacity: .85; }
.wb-link { min-height: 44px; padding: 0 8px; border: 0; background: transparent; font-weight: 700; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .35); text-underline-offset: 3px; }
.wb-wl .wb-link { min-height: 32px; padding: 0 2px; color: inherit; }
.wb-week > .wb-cta { width: 100%; }
.wb-week .wb-fine { text-align: center; }
.wb-backl { min-height: 44px; padding: 0 4px; margin: -6px 0 2px -4px; border: 0; background: transparent; font-size: 15px; font-weight: 700; opacity: .85; }
.wb-deliv summary { min-height: 44px; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700; opacity: .85; cursor: pointer; list-style: none; }
.wb-deliv summary::-webkit-details-marker { display: none; }
.wb-deliv .wb-dls { justify-content: center; padding-top: 4px; }
@media (min-width: 700px) { .wb-tiles { grid-template-columns: repeat(4, 1fr); } .wb-tiles.three { grid-template-columns: repeat(6, 1fr); } .wb-scroll .wb-qh { font-size: 30px; } }
/* Nov 7 2026: with the round back / close button at the bottom (bottom-close.js), the card's own buttons (Weiter, Einkaufsliste) end
   above it; it sat on Weiter in "Meine Woche planen" */
html.lw-bx-on .wb-ov .wb-card { padding-bottom: 68px; }
/* Nov 7 2026 (design pass): each question is one screen; its full height plus the 16 px section margin made it scroll 16 px */
.wb-scroll .wb-q { margin-bottom: 0; }
