/* PANILO — public bakery shop (/<slug>) and order tracking (/<slug>/suivi/<token>).
   Loaded after panilo.css. The bakery's brand comes first: its photo, name and accent colour.
   Flat surfaces, no gradients, no glow. Accent = the bakery's chosen colour. */

body.shop { --acc: #163e78; --acc-dark: #0f2d59; --acc-soft: #e6ecf5; background: var(--cream); position: relative; }
body.shop[data-accent="crust"] { --acc: #a75b36; --acc-dark: #8a4a2b; --acc-soft: #f5e7de; }
body.shop[data-accent="green"] { --acc: #2f6a48; --acc-dark: #24543a; --acc-soft: #e4f0e7; }
body.shop[data-accent="charcoal"] { --acc: #252423; --acc-dark: #000000; --acc-soft: #ecebe8; }

.shop a { color: var(--acc); }
.shop .btn { color: var(--acc); }
.shop .btn:hover { border-color: var(--acc); }
.shop .btn-primary, .shop a.btn-primary { background: var(--acc); border-color: var(--acc); color: #fff; }
.shop .btn-primary:hover { background: var(--acc-dark); border-color: var(--acc-dark); }
.shop .btn-ghost:hover { background: var(--acc-soft); }
.shop .check input { accent-color: var(--acc); }
.shop .input:focus, .shop .select:focus, .shop .textarea:focus { border-color: var(--acc); }
.shop .select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23252423' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); }
.shop .stepper button { color: var(--acc); }
.shop .stepper button:hover { background: var(--acc-soft); }
.shop .stepper button[disabled] { color: var(--line-strong); cursor: not-allowed; background: transparent; }
.linkbtn { background: none; border: 0; padding: 6px 0; min-height: 40px; color: var(--acc); font-weight: 600; text-decoration: underline; text-underline-offset: 0.18em; display: inline-flex; align-items: center; gap: 6px; }
.linkbtn:hover { text-decoration-thickness: 2px; }
.shop .check { font-weight: 400; }
a[href^="tel:"] { white-space: nowrap; }

/* ---------- Language switch (top right) ---------- */
.sh-lang { position: absolute; top: max(12px, env(safe-area-inset-top)); right: 12px; z-index: 40; display: inline-flex; gap: 2px; padding: 3px; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; }
.sh-lang button { min-width: 40px; min-height: 34px; padding: 0 10px; border: 0; border-radius: 999px; background: transparent; color: var(--muted); font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.04em; }
.sh-lang button[aria-pressed="true"] { background: var(--charcoal); color: #fff; }

/* ---------- Bakery header ---------- */
.sh-wrap { max-width: 1120px; margin: 0 auto; }
.sh-cover { width: 100%; aspect-ratio: 16 / 9; max-height: 420px; overflow: hidden; background: var(--paper-2); }
.sh-cover img { width: 100%; height: 100%; object-fit: cover; }
.sh-band { position: relative; overflow: hidden; min-height: 168px; padding: 112px 20px 24px; background: #ebe3d3; display: flex; align-items: flex-end; }
.sh-band-in { position: relative; display: flex; align-items: center; gap: 16px; min-width: 0; }
.sh-band .sh-name { margin: 0; font-size: clamp(2.25rem, 9vw, 4rem); line-height: 1; }
.sh-motif { position: absolute; left: 20px; top: 20px; width: 120px; height: auto; pointer-events: none; }
.sh-motif .m1 { fill: var(--acc); }
.sh-motif .m2 { fill: var(--yellow); }
.sh-motif .m3 { fill: var(--charcoal); }
.sh-motif .m4 { fill: var(--paper); }
.sh-id { display: flex; align-items: flex-end; gap: 14px; padding: 0 20px; }
.sh-logo { width: 88px; height: 88px; flex: 0 0 auto; border-radius: 50%; overflow: hidden; background: var(--paper); border: 4px solid var(--cream); }
.sh-logo img { width: 100%; height: 100%; object-fit: cover; }
.sh-cover + .sh-id .sh-logo { margin-top: -44px; }
.sh-band .sh-logo { border-color: var(--paper); width: 72px; height: 72px; }
.sh-name { font-family: var(--sign); font-stretch: 108%; font-weight: 800; font-size: clamp(2rem, 7vw, 3rem); line-height: 1.02; letter-spacing: -0.02em; color: var(--acc); margin: 14px 0 0; overflow-wrap: anywhere; text-wrap: balance; }
.sh-about { padding: 14px 20px 4px; }
.sh-status { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 12px; color: #1f4a32; font-weight: 700; font-size: 1rem; line-height: 1.35; }
.sh-name + .sh-status, .sh-about > .sh-status:first-child { margin-top: 12px; }
.sh-status-dot { width: 10px; height: 10px; flex: 0 0 auto; margin-top: 0.45em; border-radius: 50%; background: var(--ok); }
.sh-desc { max-width: 62ch; color: var(--charcoal); font-size: 1.0625rem; margin: 0 0 10px; }
.sh-info { display: flex; flex-wrap: wrap; gap: 0 22px; list-style: none; margin: 0; padding: 0; color: var(--muted); font-size: 1rem; }
.sh-info li { display: flex; align-items: center; gap: 10px; min-height: 40px; text-wrap: pretty; }
.sh-info .ic { color: var(--acc); }
.sh-info a { color: var(--charcoal); text-decoration-color: var(--line-strong); }
.sh-info a:hover { text-decoration-color: currentColor; }

/* Compact header (checkout, confirmation, tracking) */
.sh-mini { display: flex; align-items: center; gap: 12px; padding: 14px 112px 14px 16px; padding-top: max(14px, env(safe-area-inset-top)); max-width: 1120px; margin: 0 auto; }
.sh-mini .sh-logo { width: 48px; height: 48px; border-width: 0; }
.sh-mini-name { font-family: var(--sign); font-stretch: 108%; font-weight: 800; font-size: 1.25rem; line-height: 1.15; color: var(--acc); text-decoration: none; overflow-wrap: anywhere; }
a.sh-mini-name:hover { text-decoration: underline; }

@media (min-width: 720px) {
  .sh-wrap { padding: 16px 16px 0; }
  .sh-cover { border-radius: var(--r-lg); }
  .sh-band { border-radius: var(--r-lg); padding: 32px 28px; min-height: 160px; }
  .sh-id, .sh-about { padding-left: 28px; padding-right: 28px; }
  .sh-band { padding: 40px 32px; min-height: 220px; }
  .sh-motif { left: auto; top: auto; right: 24px; bottom: -4px; width: 320px; }
  .sh-logo { width: 120px; height: 120px; }
  .sh-cover + .sh-id .sh-logo { margin-top: -60px; }
  .sh-band .sh-logo { width: 96px; height: 96px; }
  .sh-lang { top: 28px; right: 28px; }
}

/* ---------- Layout ---------- */
.sh-layout { max-width: 1120px; margin: 0 auto; padding: 8px 16px 128px; }
.sh-aside { display: none; }
.sh-single { max-width: 680px; margin: 0 auto; padding: 8px 16px 48px; }
@media (min-width: 720px) { .sh-layout { padding: 16px 28px 128px; } }
@media (min-width: 960px) {
  .sh-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; align-items: start; padding-bottom: 64px; }
  .sh-aside { display: block; position: sticky; top: 16px; }
  .sh-bar { display: none !important; }
}

.sh-notice { margin: 8px 0 4px; }

/* ---------- Holiday orders (Noël, galettes, Pâques…) ---------- */
.sh-camp { margin: 16px 0 4px; padding: 18px 20px; background: var(--yellow-soft); border-radius: var(--r-lg); display: grid; gap: 6px; justify-items: start; }
.sh-camp-h { margin: 0; font-family: var(--sign); font-stretch: 108%; font-weight: 800; font-size: 1.5rem; letter-spacing: -0.015em; color: var(--charcoal); }
.sh-camp-t, .sh-camp-msg { margin: 0; font-size: 1.0625rem; }
.sh-camp .btn { margin-top: 8px; }
.sh-sec-camp .sh-sec-h { color: var(--acc); }
.sh-step { padding-top: 24px; }
.sh-step-h { display: flex; align-items: center; gap: 12px; font-family: var(--sign); font-stretch: 108%; font-weight: 800; font-size: 1.5rem; letter-spacing: -0.015em; margin: 0 0 14px; }
.sh-step-n { display: inline-grid; place-items: center; width: 32px; height: 32px; flex: 0 0 auto; border-radius: 50%; background: var(--acc); color: #fff; font-family: var(--font); font-size: 1rem; font-weight: 700; letter-spacing: 0; }

/* ---------- Step 1: days and time ---------- */
.sh-days { display: flex; gap: 10px; overflow-x: auto; margin: 0 -16px; padding: 4px 16px 12px; scroll-snap-type: x proximity; scroll-padding-inline: 16px; scrollbar-width: none; }
.sh-days::-webkit-scrollbar { display: none; }
.sh-day { flex: 0 0 auto; scroll-snap-align: start; display: grid; align-content: center; gap: 2px; min-width: 112px; min-height: 76px; padding: 10px 16px; text-align: left; background: var(--paper); border: 2px solid var(--line-strong); border-radius: var(--r); color: var(--charcoal); }
.sh-day:hover { border-color: var(--acc); }
.sh-day b { font-weight: 700; font-size: 1.0625rem; line-height: 1.2; }
.sh-day span { font-size: 0.9375rem; color: var(--muted); line-height: 1.2; }
.sh-day[aria-pressed="true"] { background: var(--acc); border-color: var(--acc); color: #fff; }
.sh-day[aria-pressed="true"] span { color: #fff; }
.sh-day:disabled { background: transparent; border-style: dashed; border-color: var(--line-strong); color: var(--muted); cursor: not-allowed; }
.sh-day:disabled span { color: var(--muted); }
.sh-day small { font-size: 0.75rem; color: var(--muted); }
@media (min-width: 720px) { .sh-days { margin: 0 -28px; padding-left: 28px; padding-right: 28px; } }
@media (min-width: 960px) { .sh-days { display: grid; grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); overflow: visible; margin: 0 -6px; padding: 6px 6px 12px; } }

.sh-time { display: grid; gap: 6px; margin-top: 8px; }
.sh-time-line { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 0.9375rem; margin: 0; }
.sh-time-line .ic { color: var(--acc); }
.sh-time .select { max-width: 280px; }
.sh-time-row { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; }

/* ---------- Step 2: categories and products ---------- */
.sh-cats { position: sticky; top: 0; z-index: 15; margin: 0 -16px 8px; padding: 8px 16px; background: var(--cream); border-bottom: 1px solid var(--line); display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.sh-cats::-webkit-scrollbar { display: none; }
.sh-cats button { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border: 0; border-radius: 999px; background: var(--paper); box-shadow: 0 1px 2px rgba(37, 36, 35, 0.08); color: var(--charcoal); font-weight: 600; font-size: 1rem; }
.sh-cats button[aria-current="true"] { background: var(--charcoal); color: #fff; box-shadow: none; }
/* Holiday orders are new on the page for a few weeks: a small "Nouveau" on their tab and their heading */
.sh-new { display: inline-flex; align-items: center; min-height: 22px; padding: 0 8px; border-radius: 999px; background: var(--yellow); color: var(--charcoal); font-family: var(--font); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.01em; line-height: 1; }
.sh-sec-h .sh-new { vertical-align: 0.35em; margin-left: 10px; }
@media (min-width: 720px) { .sh-cats { margin: 0 -28px 8px; padding: 10px 28px; } }
@media (min-width: 960px) { .sh-cats { margin: 0 0 8px; padding: 10px 0; } }

.sh-sec { scroll-margin-top: 68px; padding-top: 20px; }
.sh-sec-h { font-family: var(--sign); font-stretch: 108%; font-weight: 800; font-size: clamp(1.5rem, 4vw, 1.875rem); letter-spacing: -0.015em; margin: 8px 0 14px; }
.sh-grid { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 720px) { .sh-grid { gap: 16px; } }
@media (min-width: 1200px) { .sh-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.sh-card { display: flex; flex-direction: column; min-width: 0; background: var(--paper); border-radius: var(--r-lg); overflow: hidden;
  box-shadow: 0 1px 2px rgba(37, 36, 35, 0.06), 0 8px 20px -12px rgba(37, 36, 35, 0.22); transition: box-shadow 0.2s ease-out; }
.sh-card.is-in { box-shadow: 0 0 0 2px var(--acc), 0 8px 20px -12px rgba(22, 62, 120, 0.35); }
.sh-pic { aspect-ratio: 4 / 3; width: 100%; overflow: hidden; background: #f3ead7; }
.sh-pic img { width: 100%; height: 100%; object-fit: cover; }
.sh-card-txt { flex: 1 1 auto; min-width: 0; padding: 12px 12px 0; }
.sh-card-name { font-size: 1.0625rem; font-weight: 700; line-height: 1.25; margin: 0 0 4px; overflow-wrap: anywhere; }
.sh-card-desc { font-size: 0.9375rem; color: var(--muted); line-height: 1.35; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sh-card-foot { display: grid; gap: 10px; padding: 10px 12px 12px; }
.sh-price { font-family: var(--sign); font-weight: 800; font-size: 1.375rem; line-height: 1.1; font-variant-numeric: tabular-nums; }
.sh-price small { font-weight: 500; color: var(--muted); font-size: 0.875rem; }
.sh-price.is-none { font-family: var(--font); font-weight: 500; color: var(--muted); font-size: 0.9375rem; }
.sh-act { min-width: 0; }
.sh-add { width: 100%; min-height: 48px; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 0 12px; border: 0; border-radius: var(--r); background: var(--acc); color: #fff; font-weight: 700; font-size: 1rem; }
.sh-add:hover { background: var(--acc-dark); }
.sh-add .ic { width: 22px; height: 22px; stroke-width: 2.6; }
.sh-card .stepper { display: flex; width: 100%; justify-content: space-between; align-items: center; gap: 6px; border: 0; padding: 0; background: none; }
.shop .sh-card .stepper button, .shop .sh-line .stepper button { width: 48px; height: 48px; border-radius: var(--r); border: 2px solid var(--acc); background: var(--paper); color: var(--acc); }
.shop .sh-card .stepper button:last-child, .shop .sh-line .stepper button:last-child { background: var(--acc); color: #fff; }
.shop .sh-card .stepper button:last-child:hover, .shop .sh-line .stepper button:last-child:hover { background: var(--acc-dark); border-color: var(--acc-dark); }
.shop .sh-card .stepper button[disabled], .shop .sh-line .stepper button[disabled] { border-color: var(--line-strong); background: var(--paper-2); color: var(--faint); }
.sh-card .stepper button .ic, .sh-line .stepper button .ic { width: 22px; height: 22px; stroke-width: 2.8; }
.sh-qty { min-width: 44px; text-align: center; font-family: var(--sign); font-weight: 800; font-size: 1.375rem; font-variant-numeric: tabular-nums; color: var(--acc); }
.sh-card-max { margin: 0; padding: 0 12px 10px; font-size: 0.8125rem; color: var(--muted); }
.sh-off { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: var(--r); background: var(--paper-2); border: 1px dashed var(--line-strong); color: var(--muted); font-size: 0.9375rem; font-weight: 600; }
.sh-card.is-off { background: var(--paper-2); }
.sh-card.is-off .sh-card-txt, .sh-card.is-off .sh-price { opacity: 0.65; }
.sh-card.is-off .sh-pic { opacity: 0.45; filter: grayscale(0.7); }
.sh-empty { padding: 24px 0; color: var(--muted); }

/* ---------- Basket ---------- */
.sh-basket { padding: 20px; border-radius: var(--r-lg); }
.sh-basket-h { font-family: var(--sign); font-stretch: 108%; font-weight: 800; font-size: 1.25rem; margin: 0 0 10px; }
.sh-basket-h:focus { outline: none; }
.sh-basket-when { display: flex; gap: 8px; align-items: flex-start; font-size: 0.9375rem; color: var(--muted); margin: 0 0 12px; }
.sh-basket-when .ic { color: var(--acc); margin-top: 2px; }
.sh-basket-empty { color: var(--muted); font-size: 0.9375rem; margin: 6px 0 4px; }
.sh-lines { list-style: none; margin: 0; padding: 0; }
.sh-line { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 10px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); }
.sh-line:first-child { border-top: 0; }
.sh-line-name { font-weight: 600; overflow-wrap: anywhere; }
.sh-line-sub { display: block; font-size: 0.9375rem; color: var(--muted); font-weight: 400; }
.sh-line-warn { display: block; font-size: 0.9375rem; color: var(--danger); font-weight: 600; }
.sh-line-sum { font-weight: 700; text-align: right; }
.sh-line-ctrl { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.sh-line .stepper { display: flex; align-items: center; gap: 6px; border: 0; padding: 0; background: none; }
.sh-line .sh-qty { min-width: 44px; font-size: 1rem; }
.sh-remove { min-height: 44px; padding: 0 8px; background: none; border: 0; color: var(--muted); font-size: 0.875rem; font-weight: 600; text-decoration: underline; text-underline-offset: 0.18em; display: inline-flex; align-items: center; gap: 4px; }
.sh-remove:hover { color: var(--danger); }
.sh-total { font-variant-numeric: tabular-nums; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-top: 12px; margin-top: 4px; border-top: 1.5px solid var(--charcoal); font-weight: 700; font-size: 1.125rem; }
.sh-pay { font-size: 0.9375rem; color: var(--charcoal); font-weight: 500; margin: 6px 0 0; }
.sh-basket .notice { margin-top: 12px; }
.sh-basket .btn-block { margin-top: 16px; }

/* Mobile bottom bar */
.sh-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; padding: 10px 12px; padding-bottom: max(10px, env(safe-area-inset-bottom)); background: var(--paper); border-top: 2px solid var(--line); }
.sh-bar[hidden] { display: none; }
.sh-bar .btn { width: 100%; justify-content: space-between; min-height: 60px; padding: 0 20px; font-size: 1.125rem; }
.sh-bar-sum { font-weight: 700; font-variant-numeric: tabular-nums; }
.sh-bar-go { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; }

/* ---------- Checkout ---------- */
.sh-back { margin: 4px 0 8px -4px; }
.sh-title { font-family: var(--sign); font-stretch: 108%; font-weight: 800; font-size: clamp(1.625rem, 4vw, 2rem); letter-spacing: -0.015em; margin: 0 0 16px; }
.sh-box { background: var(--paper); border-radius: var(--r-lg); padding: 18px; margin-bottom: 12px; }
.sh-box-h { font-family: var(--sign); font-stretch: 108%; font-weight: 800; font-size: 1.25rem; margin: 0 0 12px; }
.sh-when { display: flex; align-items: center; justify-content: space-between; gap: 0 12px; flex-wrap: wrap; }
.sh-when-txt { display: flex; gap: 10px; align-items: center; font-weight: 600; }
.sh-when-txt .ic { color: var(--acc); }
.sh-me { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; padding: 10px 14px; margin-bottom: 16px; background: var(--acc-soft); border-radius: var(--r); font-size: 0.9375rem; }
.sh-me .linkbtn { min-height: 32px; padding: 0; }
.opt { font-weight: 400; color: var(--muted); }
.sh-hp { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.sh-remember { font-size: 0.8125rem; color: var(--muted); margin: 0 0 16px; }
.sh-submit-note { font-size: 0.875rem; color: var(--muted); text-align: center; margin: 10px 0 0; }
.sh-form-err { margin-bottom: 14px; }

/* ---------- Confirmation ---------- */
.sh-done { background: var(--paper); border-radius: var(--r-lg); padding: 28px 20px; text-align: center; }
.sh-done:focus { outline: none; }
.sh-status-ic { width: 64px; height: 64px; margin: 0 auto 14px; border-radius: 50%; display: grid; place-items: center; }
.sh-status-ic .ic { width: 32px; height: 32px; stroke-width: 2.4; }
.sh-status-ic.is-ok { background: var(--ok-soft); color: var(--ok); }
.sh-status-ic.is-wait { background: var(--acc-soft); color: var(--acc); }
.sh-done h1 { font-family: var(--sign); font-stretch: 108%; font-weight: 800; font-size: clamp(1.75rem, 5vw, 2.25rem); letter-spacing: -0.02em; margin: 0 0 8px; }
.sh-done-text { font-size: 1.0625rem; max-width: 46ch; margin: 0 auto 8px; }
.sh-num { display: inline-block; margin: 6px 0 4px; padding: 6px 14px; border-radius: 999px; background: var(--paper-2); font-weight: 700; }
.sh-recap { text-align: left; margin: 20px 0 0; padding: 0; }
.sh-recap > div { padding: 12px 0; border-top: 1px solid var(--line); }
.sh-recap dt { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.sh-recap dd { margin: 0; }
.sh-recap-line { display: flex; justify-content: space-between; gap: 12px; padding: 2px 0; }
.sh-recap-line span:last-child { white-space: nowrap; }
.sh-actions { display: grid; gap: 10px; margin-top: 20px; }
.sh-hint { font-size: 0.875rem; color: var(--muted); margin: 0; }
/* Celebration: the icon pops, a ring spreads out, the rest rises in one after the other. Flat shapes only. */
@keyframes pn-pop { 0% { transform: scale(0.3); opacity: 0; } 55% { transform: scale(1.18); opacity: 1; } 100% { transform: scale(1); } }
@keyframes pn-ring { 0% { transform: scale(1); opacity: 0.55; } 100% { transform: scale(2.1); opacity: 0; } }
@keyframes pn-rise { 0% { transform: translateY(14px); opacity: 0; } 100% { transform: none; opacity: 1; } }
@keyframes pn-wiggle { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-6deg); } 75% { transform: rotate(6deg); } }
.sh-done.is-new .sh-status-ic { position: relative; animation: pn-pop 0.65s cubic-bezier(0.16, 1, 0.3, 1) both; }
.sh-done.is-new .sh-status-ic::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 3px solid currentColor; animation: pn-ring 0.9s 0.25s ease-out both; }
.sh-done.is-new > :not(.sh-status-ic) { animation: pn-rise 0.5s ease-out both; }
.sh-done.is-new > :nth-child(2) { animation-delay: 0.25s; }
.sh-done.is-new > :nth-child(3) { animation-delay: 0.32s; }
.sh-done.is-new > :nth-child(4) { animation-delay: 0.42s; }
.sh-done.is-new > :nth-child(5) { animation-delay: 0.5s; }
.sh-done.is-new > :nth-child(6) { animation-delay: 0.58s; }
.sh-done.is-new > :nth-child(7) { animation-delay: 0.66s; }
.sh-done.is-new .sh-num { animation: pn-pop 0.5s 0.45s cubic-bezier(0.16, 1, 0.3, 1) both; }
.tk-card.is-new .tk-status { animation: pn-rise 0.5s ease-out both; }
.tk-step.is-new .tk-dot { animation: pn-pop 0.6s 0.2s cubic-bezier(0.16, 1, 0.3, 1) both; }
.tk-stamp.is-new { animation: pn-pop 0.6s 0.5s cubic-bezier(0.16, 1, 0.3, 1) both; }
.tk-loyalty.is-due.is-new .tk-loyalty-h .ic { animation: pn-wiggle 0.6s 0.6s ease-in-out 2; }
@media (prefers-reduced-motion: reduce) {
  .sh-done.is-new *, .sh-done.is-new, .tk-card.is-new *, .tk-stamp.is-new, .tk-step.is-new .tk-dot, .tk-loyalty.is-new * { animation: none !important; }
  .sh-done.is-new .sh-status-ic::after { display: none; }
}
.sh-call { text-align: center; margin: 18px 0 0; font-size: 0.9375rem; }
.sh-call .ic { display: inline-block; vertical-align: -4px; margin-right: 4px; }

/* ---------- Tracking ---------- */
.tk-card { background: var(--paper); border-radius: var(--r-lg); padding: 28px 20px; margin-bottom: 16px; }
.tk-num { font-size: 0.875rem; font-weight: 700; color: var(--muted); letter-spacing: 0.04em; margin: 0 0 6px; }
.tk-status { font-family: var(--sign); font-stretch: 108%; font-weight: 800; font-size: clamp(2rem, 7vw, 2.75rem); text-wrap: balance; letter-spacing: -0.02em; line-height: 1.1; margin: 0 0 8px; }
.tk-text { font-size: 1.0625rem; margin: 0 0 4px; max-width: 48ch; }
.tk-steps { list-style: none; margin: 28px 0 10px; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.tk-step { position: relative; display: grid; justify-items: center; gap: 8px; text-align: center; font-size: 0.9375rem; font-weight: 700; color: var(--muted); padding: 0 2px; }
.tk-step::before { content: ""; position: absolute; top: 19px; left: -50%; width: 100%; height: 4px; background: var(--line); z-index: 0; }
.tk-step:first-child::before { display: none; }
.tk-step.is-done::before, .tk-step.is-current::before { background: var(--acc); }
.tk-dot { position: relative; z-index: 1; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--paper); border: 3px solid var(--line-strong); }
.tk-dot .ic { width: 20px; height: 20px; stroke-width: 3; }
.tk-step.is-done { color: var(--charcoal); }
.tk-step.is-done .tk-dot { background: var(--acc); border-color: var(--acc); color: #fff; }
.tk-step.is-current { color: var(--acc); }
.tk-step.is-current .tk-dot { border-color: var(--acc); background: var(--paper); }
.tk-step.is-current .tk-dot::after { content: ""; width: 14px; height: 14px; border-radius: 50%; background: var(--acc); }
.tk-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px 16px; flex-wrap: wrap; font-size: 0.8125rem; color: var(--muted); margin: 0 0 16px; }

/* ---------- Simple pages (not found, closed, error) ---------- */
.sh-msg { text-align: center; padding: 40px 20px; max-width: 480px; margin: 0 auto; }
.sh-msg img { width: 150px; height: auto; margin: 0 auto 18px; }
.sh-msg h1, .sh-msg h2 { font-family: var(--sign); font-stretch: 108%; font-weight: 800; font-size: 1.5rem; margin: 0 0 8px; }
.sh-msg p { color: var(--muted); }
.sh-msg .btn { margin-top: 8px; }
.sh-closed { background: var(--paper); border-radius: var(--r-lg); padding: 28px 24px; margin-top: 16px; max-width: 640px; }
.sh-closed-ic { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 14px; border-radius: 50%; background: var(--acc-soft); color: var(--acc); }
.sh-closed-ic .ic { width: 28px; height: 28px; }
.sh-closed h2 { font-family: var(--sign); font-stretch: 108%; font-weight: 800; font-size: clamp(1.5rem, 4vw, 2rem); line-height: 1.15; margin: 0 0 10px; text-wrap: balance; }
.sh-closed-msg { font-size: 1.0625rem; }
.sh-closed-hours { margin: 8px 0 14px; }
.sh-closed .btn { margin-top: 8px; width: 100%; white-space: normal; text-align: center; justify-content: center; padding-top: 10px; padding-bottom: 10px; }
@media (min-width: 560px) { .sh-closed .btn { width: auto; } }

/* ---------- Footer ---------- */
.sh-foot { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 12px; padding: 20px 16px 28px; font-size: 0.8125rem; color: var(--faint); }
.sh-foot a { color: var(--muted); text-decoration-color: var(--line-strong); }
body.has-bar .sh-foot { padding-bottom: 104px; }
@media (min-width: 960px) { body.has-bar .sh-foot { padding-bottom: 28px; } }

/* ---------- Loading skeleton ---------- */
.sk-cover { aspect-ratio: 16 / 9; max-height: 400px; border-radius: 0; }
.sk-id { display: flex; align-items: flex-end; gap: 14px; padding: 0 16px; margin-top: -40px; }
.sk-id-mini { margin: 14px 0 20px; padding: 0; }
.sk-logo { width: 80px; height: 80px; border-radius: 50%; border: 4px solid var(--cream); }
.sk-id-mini .sk-logo { width: 48px; height: 48px; border: 0; }
.sk-lines { flex: 1; display: grid; gap: 8px; padding-bottom: 6px; }
.sk-w60 { width: 60%; height: 24px; }
.sk-w40 { width: 40%; }
.sk-h { width: 200px; height: 26px; margin: 28px 0 14px; }
.sk-chips { display: flex; gap: 8px; overflow: hidden; }
.sk-chips .skeleton { flex: 0 0 104px; height: 68px; border-radius: var(--r); }
.sk-card { height: 128px; border-radius: var(--r-lg); margin-bottom: 12px; }
.sk-tall { height: 240px; }
@media (min-width: 720px) { .sk-cover { border-radius: var(--r-lg); } .sk-id { padding: 0 28px; } }

@media print {
  .sh-lang, .sh-bar, .sh-actions, .sh-foot, .sh-cats { display: none !important; }
}

/* V1.2 */
.sh-card-alg { margin: 6px 0 0; font-size: .8125rem; color: var(--muted); line-height: 1.3; }
.tk-pickup { display: grid; justify-items: center; gap: 6px; margin: 24px 0; padding: 24px 16px; border-radius: var(--r-lg); background: var(--acc-soft); text-align: center; }
.tk-pickup-qr { width: min(240px, 100%); height: auto; aspect-ratio: 1; background: #fff; padding: 12px; border-radius: var(--r); }
.tk-pickup-title { margin: 8px 0 0; font-weight: 700; font-size: 1.0625rem; }
.tk-pickup-code { margin: 0; font-size: 2.25rem; font-weight: 700; letter-spacing: .18em; font-variant-numeric: tabular-nums; color: var(--acc); }
.tk-pickup-text { margin: 0; color: var(--charcoal); font-size: .9375rem; max-width: 40ch; }

/* V1.7 — choices per product, promo price, stamp loyalty card */
.sh-price.is-promo { color: var(--charcoal); }
.sh-was { font-family: var(--font); font-weight: 500; font-size: 1rem; color: var(--muted); text-decoration-thickness: 1.5px; margin-right: 2px; }
.sh-card-promo { margin: -6px 0 0; font-size: .9375rem; font-weight: 600; line-height: 1.3; color: #8a4a2b; }
.sh-card-foot:has(+ .sh-opts) { padding-bottom: 10px; }
.sh-opts { list-style: none; margin: 0; padding: 0 12px 12px; display: grid; gap: 8px; }
.sh-opt { min-width: 0; }
.sh-opt-add { width: 100%; min-height: 48px; display: flex; align-items: center; justify-content: space-between; gap: 4px; padding: 0 8px 0 10px; border: 2px solid var(--acc); border-radius: var(--r); background: var(--paper); color: var(--acc); font-weight: 700; font-size: 1rem; line-height: 1.15; text-align: left; }
.sh-opt-add:hover { background: var(--acc-soft); }
.sh-opt-add .ic { width: 22px; height: 22px; stroke-width: 2.8; }
.sh-opt-add[disabled] { border-color: var(--line-strong); background: var(--paper-2); color: var(--faint); cursor: not-allowed; }
.sh-opt-in { display: grid; gap: 4px; }
.sh-opt-name { font-weight: 700; font-size: 1rem; line-height: 1.2; overflow-wrap: anywhere; color: var(--acc); }
.sh-opt .stepper { gap: 4px; }
.sh-opt .sh-qty { min-width: 0; flex: 1 1 auto; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }
.tk-loyalty { margin: 0; padding: 16px 0 4px; border-top: 1px solid var(--line); }
.tk-loyalty.is-due { margin: 12px 0 0; padding: 16px; border: 0; border-radius: var(--r); background: var(--yellow-soft); }
.tk-loyalty-h { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; font-size: 1.0625rem; font-weight: 700; }
.tk-loyalty-h .ic { width: 22px; height: 22px; color: var(--crust); }
.tk-stamps { list-style: none; margin: 0 0 12px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tk-stamp { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; border: 2px dashed var(--line-strong); background: var(--paper); }
.tk-stamp.is-on { border: 2px solid var(--acc); background: var(--acc); color: #fff; }
.tk-stamp .ic { width: 18px; height: 18px; stroke-width: 3; }
.tk-loyalty-t { margin: 0; font-size: 1rem; line-height: 1.4; }

/* Customer cancels from the tracking page */
.tk-cancel-box { margin-top: 12px; text-align: center; }
.tk-cancel-box .sh-actions { margin-top: 10px; }
.tk-cancel-q { margin: 0; font-weight: 600; }

/* V1.12: the bakery changed the order (no outlines: two flat blocks) */
.tk-notice { margin: 16px 0 4px; display: grid; gap: 10px; text-align: left; }
.tk-notice p { margin: 0; }
.tk-notice-h { font-weight: 700; margin-bottom: 4px !important; }
.tk-notice-msg { background: #163e78; color: #fff; border-radius: 12px; padding: 14px 16px; overflow-wrap: anywhere; }
.tk-notice-chg { background: #fbf1d6; color: #252423; border-radius: 12px; padding: 14px 16px; }
.tk-notice-list { margin: 0; padding-left: 20px; display: grid; gap: 4px; }

/* V1.13: change request from the tracking page */
.tk-change { margin-top: 12px; text-align: center; }
.tk-change .sh-actions { margin-top: 10px; }
.tk-chg-l { display: block; text-align: left; font-weight: 600; margin: 4px 0 8px; }
.tk-chg-in { width: 100%; min-height: 96px; resize: vertical; font: inherit; }
.tk-asked { margin-top: 16px; padding-top: 14px; border-top: 1px solid rgba(0,0,0,.1); text-align: left; }
.tk-asked-h { margin: 0 0 4px; font-weight: 700; }
.tk-asked-q { margin: 0; font-style: italic; overflow-wrap: anywhere; }

/* Shop preview of a prospecting e-mail (/apercu, /voorbeeld): the bakery sees its page, and keeps it or not. */
.pv-bar { background: #163e78; color: #fff; }
.pv-bar-in { max-width: 1100px; margin: 0 auto; padding: 16px 20px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.pv-bar-txt { flex: 1 1 320px; min-width: 0; }
.pv-bar-h { margin: 0; font-weight: 700; font-size: 1.125rem; line-height: 1.3; }
.pv-bar-sub { margin: 4px 0 0; opacity: .9; font-size: .9375rem; line-height: 1.4; }
.pv-keep { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.pv-bar .btn-primary { background: #f2c94c; color: #0f2c56; border-color: #f2c94c; min-height: 52px; padding: 0 24px; font-size: 1.0625rem; font-weight: 700; }
.pv-bar .btn-primary:hover { filter: brightness(1.05); }
.pv-keep-note { margin: 0; font-size: .8125rem; opacity: .85; }
.pv-err { margin: 0; font-size: .875rem; color: #fff; background: #b42318; padding: 4px 8px; border-radius: 6px; }
.pv-box .pv-keep { align-items: stretch; margin-top: 16px; }
.pv-box .pv-keep-note { text-align: center; color: var(--muted, #6b665e); opacity: 1; }
.pv-box .pv-err { color: #b42318; background: none; padding: 0; }
@media (max-width: 640px) { .pv-bar-in { padding: 14px 16px; } .pv-keep, .pv-bar .btn-primary { width: 100%; } }
