/* ════════════════════════════════════════════════════════════════════════════
   Nordic Bakery — layout: cards, mode: light, tools: inline-nav, sound: footer
   A Scandinavian bakery-café: pale birch, oat and chalk white, charcoal ink
   and one muted fjord blue. Calm, with room to breathe, but warm.
   Type: Quicksand (rounded display: names, titles, prices) + Outfit (soft
   geometric text).
   Signature: every card is a baking tray with a raised rim. A dish without a
   photograph gets an oat panel with a thin line drawing — a cinnamon knot, a
   rye loaf, a coffee cup — and the price hangs on a small linen tag.
   Tools: a birch bread-peel button ends the category row and slides down a
   linen panel with the search field and the filters.
   Motion: slow, soft fade-up, like steam.
   The restaurant brand colour is deliberately not used.
   ════════════════════════════════════════════════════════════════════════════ */

.theme-nordic-bakery {
  --bg: #f7f3ea;
  --surface: #fffdf8;
  --surface-2: #fffdf8;
  --ink: #2b2c2f;
  --muted: #5c5a54;
  --line: rgba(43, 44, 47, .12);
  --line-strong: rgba(43, 44, 47, .42);
  --accent: #3f5d7a;
  --accent-ink: #ffffff;
  --accent-text: #36536f;
  --focus: #36536f;
  --scrim: rgba(43, 44, 47, .46);
  --mark-bg: #d6e2ee;
  --mark-ink: #2b2c2f;
  --warn-bg: #f8e9e1;
  --warn-ink: #8a2f1c;
  --warn-line: #e6c2b3;
  --ok: #35674c;
  --diet-veg: #35774a;
  --diet-nonveg: #ab3626;
  --diet-egg: #8a6100;
  --soldout-ink: #5c5a54;
  --soldout-line: rgba(43, 44, 47, .38);
  --soldout-fade: .5;

  --oat: #efe6d2;
  --oat-deep: #e2d6bb;
  --birch: #e3d2ae;
  --birch-deep: #b39a6b;
  --rim: #f6f0e3;
  --linen:
    repeating-linear-gradient(0deg, rgba(120, 100, 60, .075) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(90deg, rgba(120, 100, 60, .075) 0 1px, transparent 1px 3px);
  --knot: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none' stroke='%232b2c2f' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M32 32A3 3 0 0 1 38 32A6 6 0 0 1 26 32A9 9 0 0 1 44 32A12 12 0 0 1 20 32A15 15 0 0 1 50 32A18 18 0 0 1 14 32A21 21 0 0 1 56 32A21 21 0 0 1 14 32'/%3E%3Cpath d='M24 16.5V17M45 19.5V20M29 47.5V48M47.5 44V44.5M19 40V40.5' stroke-width='2.4'/%3E%3C/svg%3E");
  --loaf: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none' stroke='%232b2c2f' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 43Q6 23 32 23T58 43Q58 47 54 47H10Q6 47 6 43Z'/%3E%3Cpath d='M20 29L16 39M30 26.5L26 38M40 26.5L36 38M49.5 30L46 39'/%3E%3Cpath d='M3 54H61'/%3E%3C/svg%3E");
  --cup: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none' stroke='%232b2c2f' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 26H44V38A12 12 0 0 1 32 50H26A12 12 0 0 1 14 38Z'/%3E%3Cpath d='M44 30H47A5.5 5.5 0 0 1 47 41H43.5'/%3E%3Cpath d='M9 56H50'/%3E%3Cpath d='M24 19Q21 15.5 24 12T24 5M34 19Q31 15.5 34 12T34 5'/%3E%3C/svg%3E");
  --peel: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232b2c2f' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 2.5H16A2.5 2.5 0 0 1 18.5 5V10A4.5 4.5 0 0 1 14 14.5H10A4.5 4.5 0 0 1 5.5 10V5A2.5 2.5 0 0 1 8 2.5Z'/%3E%3Cpath d='M12 14.5V22'/%3E%3C/svg%3E");
  --peel-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 2.5H16A2.5 2.5 0 0 1 18.5 5V10A4.5 4.5 0 0 1 14 14.5H10A4.5 4.5 0 0 1 5.5 10V5A2.5 2.5 0 0 1 8 2.5Z'/%3E%3Cpath d='M12 14.5V22'/%3E%3C/svg%3E");

  --font-display: 'Quicksand', 'Nunito', 'Avenir Next Rounded', 'Avenir Next', system-ui, sans-serif;
  --font-body: 'Outfit', 'Avenir Next', 'Segoe UI', system-ui, sans-serif;
  --fs-base: 1rem;
  --lh-base: 1.55;
  --fs-name: 1.1875rem;
  --fs-title: clamp(1.5rem, 1.2rem + 1.6vw, 2.125rem);

  --radius: 1.5rem;
  --radius-sm: .875rem;
  --radius-lg: 1.75rem;
  --btn-radius: 999px;
  --shadow: 0 1px 0 rgba(43, 44, 47, .04), 0 16px 30px -22px rgba(90, 72, 40, .55);
  --shadow-lg: 0 26px 60px -24px rgba(43, 44, 47, .5);
  --page-max: 74rem;
  --gutter: clamp(1rem, 5vw, 3.5rem);
  --section-gap: clamp(3rem, 7vw, 4.75rem);
  --card-min: 16rem;
  --rail-card: min(76vw, 17rem);
  --media-ratio: 4 / 3;
  --ctl-h: 2.75rem;
  --ease: cubic-bezier(.22, .8, .3, 1);
}

/* ── Masthead: chalk wall, a line-drawn cinnamon knot, a birch shelf ── */
.theme-nordic-bakery .dwm-masthead {
  position: relative; overflow: hidden;
  padding-top: calc(clamp(2.75rem, 10vw, 5rem) + env(safe-area-inset-top, 0px));
  padding-bottom: clamp(2.25rem, 6vw, 3.5rem);
}
.theme-nordic-bakery .dwm-masthead::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: .5rem;
  background: repeating-linear-gradient(90deg, rgba(120, 95, 50, .14) 0 1px, transparent 1px 17px), linear-gradient(180deg, #ebdcbb, #d9c69d);
}
.theme-nordic-bakery .dwm-masthead::after {
  content: ""; position: absolute; top: calc(.875rem + env(safe-area-inset-top, 0px)); right: max(.875rem, env(safe-area-inset-right, 0px));
  width: clamp(4.5rem, 20vw, 11rem); aspect-ratio: 1; background: var(--knot) center / contain no-repeat; opacity: .9;
}
.theme-nordic-bakery .dwm-masthead__inner { position: relative; z-index: 1; gap: .75rem; }
.theme-nordic-bakery .dwm-logo { border-radius: 1.25rem; border: 1.5px solid var(--oat-deep); box-shadow: 0 0 0 4px var(--rim); margin-bottom: .25rem; }
.theme-nordic-bakery .dwm-masthead__name { font-weight: 600; font-size: clamp(2.125rem, 1.25rem + 5vw, 4.25rem); line-height: 1.06; letter-spacing: -.02em; max-width: calc(14ch + 19vw); padding-right: clamp(4.25rem, 19vw, 10rem); }
.theme-nordic-bakery .dwm-masthead__tagline { color: var(--ink); font-weight: 300; font-size: clamp(1.0625rem, 1rem + .5vw, 1.3125rem); line-height: 1.45; max-width: 36ch; }
.theme-nordic-bakery .dwm-masthead__hours {
  align-self: flex-start; margin-top: .25rem; padding: .3125rem .875rem .3125rem 2.25rem; color: var(--ink); font-weight: 500; font-size: .875rem;
  border-radius: .625rem; background: var(--cup) .625rem center / 1.25rem no-repeat, var(--linen), var(--oat);
}

/* ── Section navigation, and the bread peel that opens the search ── */
.theme-nordic-bakery .dwm-nav {
  background: rgba(247, 243, 234, .94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom-color: var(--line);
}
.theme-nordic-bakery .dwm-nav__list { gap: .25rem; padding-top: .5rem; padding-bottom: .5rem; align-items: center; }
.theme-nordic-bakery .dwm-nav__link { min-height: 2.5rem; padding: 0 .9375rem; border-radius: .75rem; color: var(--muted); font-weight: 500; }
.theme-nordic-bakery .dwm-nav__link[aria-current="true"] { background: var(--oat-deep); color: var(--ink); font-weight: 600; }
.theme-nordic-bakery .dwm-nav__count { opacity: .85; }
.theme-nordic-bakery .dwm-search-toggle {
  min-width: 2.75rem; height: 2.75rem; padding: 0 .625rem; gap: .375rem; margin-left: .25rem;
  color: var(--ink); border: 1.5px solid var(--birch-deep); border-radius: 1rem; font-weight: 500;
  background: repeating-linear-gradient(94deg, rgba(120, 95, 50, .13) 0 1px, transparent 1px 7px), linear-gradient(180deg, #ecdcb9, #dcc89e);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), 0 6px 10px -8px rgba(90, 72, 40, .8);
}
.theme-nordic-bakery .dwm-search-toggle .dwm-icon { display: none; }
.theme-nordic-bakery .dwm-search-toggle::before { content: ""; flex: none; width: 1.5rem; height: 1.5rem; background: var(--peel) center / contain no-repeat; rotate: -45deg; }
.theme-nordic-bakery .dwm-search-toggle[aria-expanded="true"] { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); box-shadow: none; }
.theme-nordic-bakery .dwm-search-toggle[aria-expanded="true"]::before { background-image: var(--peel-light); rotate: 0deg; }
.theme-nordic-bakery.is-searching .dwm-nav { border-bottom-color: transparent; }

/* ── Tools (tools: inline-nav): a linen cloth pulled down under the nav ── */
.theme-nordic-bakery .dwm-tools {
  max-width: none; gap: .625rem; border-top: 0; border-bottom: 1.5px dashed rgba(120, 100, 60, .5);
  padding: .875rem max(var(--gutter), calc((100% - var(--page-max)) / 2 + var(--gutter))) 1rem;
  background: var(--linen), var(--oat); box-shadow: 0 14px 20px -18px rgba(90, 72, 40, .7);
}
.theme-nordic-bakery .dwm-search { height: 3rem; padding: 0 1.125rem; background: var(--surface); border: 1.5px solid var(--birch-deep); border-radius: 1rem; color: var(--accent-text); }
.theme-nordic-bakery .dwm-search:focus-within { border-color: var(--accent); color: var(--ink); }
.theme-nordic-bakery .dwm-search__input::placeholder { color: var(--muted); }
.theme-nordic-bakery .dwm-filter { padding: 0 1.125rem; background: var(--surface); border: 1.5px solid var(--birch-deep); border-radius: .875rem; font-weight: 500; }
.theme-nordic-bakery .dwm-filter[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.theme-nordic-bakery .dwm-filter[aria-pressed="true"] .dwm-diet { background: var(--surface); --diet-c: var(--diet-veg); }
.theme-nordic-bakery .dwm-tools__status { font-weight: 500; color: var(--ink); }
.theme-nordic-bakery .dwm-sound { background: var(--surface); color: var(--ink); border: 1.5px solid var(--birch-deep); border-radius: 1rem; }
.theme-nordic-bakery .dwm-sound[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }

/* ── Closed banner ── */
.theme-nordic-bakery .dwm-closed { padding: 1rem 1.25rem; border-radius: 1.25rem; }
.theme-nordic-bakery .dwm-closed__title { font-family: var(--font-display); font-weight: 700; font-size: 1.125rem; }

/* ── Section head: a small line drawing, a rounded title, a stitched rule ── */
.theme-nordic-bakery .dwm-section__head { align-items: center; gap: .5rem .875rem; margin-bottom: 1.5rem; }
.theme-nordic-bakery .dwm-section__head::before { content: ""; flex: none; width: 2.5rem; height: 2.5rem; background: var(--knot) center / contain no-repeat; }
.theme-nordic-bakery .dwm-section:nth-of-type(3n + 2) .dwm-section__head::before { background-image: var(--loaf); }
.theme-nordic-bakery .dwm-section:nth-of-type(3n) .dwm-section__head::before { background-image: var(--cup); }
.theme-nordic-bakery .dwm-section__num { display: none; }
.theme-nordic-bakery .dwm-section__title { flex: 1 1 0; font-weight: 600; letter-spacing: -.01em; line-height: 1.15; -webkit-hyphens: auto; hyphens: auto; }
.theme-nordic-bakery .dwm-section__count { padding: .125rem .75rem; background: var(--oat); color: var(--ink); border-radius: .5rem; font-size: .8125rem; font-weight: 500; }
.theme-nordic-bakery .dwm-section__rule { height: 0; margin-top: .5rem; background: none; border-top: 1.5px dashed rgba(120, 100, 60, .45); }
.theme-nordic-bakery .dwm-section__empty { padding: 1.25rem 1.5rem; background: var(--linen), var(--oat); border-radius: var(--radius); }
.theme-nordic-bakery .dwm-menu__none { background: none; }
.theme-nordic-bakery .dwm-empty::before { content: ""; width: 4.5rem; height: 4.5rem; background: var(--cup) center / contain no-repeat; }
.theme-nordic-bakery .dwm-empty__text { font-family: var(--font-display); font-weight: 600; font-size: 1.3125rem; line-height: 1.3; color: var(--ink); }

/* ── Cards: baking trays with a raised rim ── */
.theme-nordic-bakery .dwm-items { gap: 1.125rem; }
.theme-nordic-bakery .dwm-item {
  border: 1.5px solid var(--oat-deep); border-radius: var(--radius);
  box-shadow: inset 0 0 0 5px var(--rim), inset 0 0 0 6px rgba(120, 100, 60, .12), var(--shadow);
}
.theme-nordic-bakery .dwm-item__media { margin: .75rem .75rem 0; border-radius: 1rem; background: var(--oat); }
/* No photograph: an oat panel with a line drawing, never an empty box. */
.theme-nordic-bakery .dwm-item__media.is-empty {
  display: block; aspect-ratio: auto; height: 6.25rem; padding: 0;
  background: var(--knot) right 1.5rem center / 4.25rem no-repeat, var(--linen), var(--oat);
}
.theme-nordic-bakery .dwm-item:nth-child(3n + 2) .dwm-item__media.is-empty { background: var(--loaf) right 1.5rem center / 4.5rem no-repeat, var(--linen), var(--oat); }
.theme-nordic-bakery .dwm-item:nth-child(3n) .dwm-item__media.is-empty { background: var(--cup) right 1.5rem center / 4.25rem no-repeat, var(--linen), var(--oat); }
.theme-nordic-bakery .dwm-item__mono { display: none; }
.theme-nordic-bakery .dwm-item__media .dwm-badge {
  left: .625rem; top: .625rem; max-width: calc(100% - 1.25rem); min-height: 1.625rem; padding: 0 .6875rem;
  background: var(--surface); color: var(--accent-text); border: 0; border-radius: .5rem;
  font-weight: 600; font-size: .75rem; box-shadow: 0 1px 2px rgba(43, 44, 47, .18);
}
.theme-nordic-bakery .dwm-item__media.is-empty .dwm-badge { position: absolute; left: .75rem; top: .75rem; max-width: calc(100% - 7.5rem); border: 0; }

.theme-nordic-bakery .dwm-item__body { padding: 1rem 1.375rem 1.375rem; gap: .5rem; }
.theme-nordic-bakery .dwm-item__head { align-items: flex-start; gap: .625rem; }
.theme-nordic-bakery .dwm-item__name { font-weight: 600; line-height: 1.22; letter-spacing: -.005em; }
.theme-nordic-bakery .dwm-item .dwm-diet { margin-top: .3125rem; align-self: flex-start; background: var(--surface); border-radius: 4px; }
.theme-nordic-bakery .dwm-item__desc { line-height: 1.5; }
.theme-nordic-bakery .dwm-item__foot { padding-top: .875rem; }
/* the price hangs on a small linen tag */
.theme-nordic-bakery .dwm-item__price {
  padding: .25rem .75rem .25rem 1.375rem; border-radius: .5rem; color: var(--ink);
  font-family: var(--font-display); font-weight: 700; font-size: 1.0625rem; line-height: 1.4;
  background:
    radial-gradient(circle, var(--surface) 0 2.25px, rgba(43, 44, 47, .35) 2.25px 3px, transparent 3.5px) left .4375rem center / 8px 8px no-repeat,
    var(--linen), var(--oat);
}
.theme-nordic-bakery .dwm-cur { font-size: max(.75rem, .8em); margin-right: .12em; color: var(--muted); }
.theme-nordic-bakery .dwm-soldout { border-radius: .5rem; }

/* Add / stepper */
.theme-nordic-bakery .dwm-add__btn { min-width: 5rem; background: var(--surface); border: 1.5px solid var(--accent); color: var(--accent-text); font-weight: 600; }
.theme-nordic-bakery .dwm-step { font-weight: 500; }
.theme-nordic-bakery .dwm-item.in-cart { border-color: var(--accent); box-shadow: inset 0 0 0 5px var(--rim), 0 0 0 1.5px var(--accent), var(--shadow); }
.theme-nordic-bakery.is-closed .dwm-add__btn { opacity: 1; border-color: var(--line-strong); color: var(--muted); }
@media (hover: hover) {
  .theme-nordic-bakery .dwm-item:hover { translate: 0 -3px; }
  .theme-nordic-bakery .dwm-add__btn:hover { background: var(--accent); color: var(--accent-ink); }
  .theme-nordic-bakery .dwm-nav__link:hover { color: var(--ink); }
  .theme-nordic-bakery .dwm-filter:hover { border-color: var(--accent); }
}
.theme-nordic-bakery .dwm-add__btn:active,
.theme-nordic-bakery .dwm-step:active,
.theme-nordic-bakery .dwm-search-toggle:active { scale: .96; }

/* ── Footer ── */
.theme-nordic-bakery .dwm-footer { margin-top: clamp(3.5rem, 9vw, 5.5rem); padding-top: 1rem; }
.theme-nordic-bakery .dwm-footer::before { content: ""; width: 3.5rem; height: 3.5rem; background: var(--cup) center / contain no-repeat; }
.theme-nordic-bakery .dwm-footer__name { font-weight: 600; font-size: 1.5rem; letter-spacing: -.01em; }
.theme-nordic-bakery .dwm-footer__qr { padding: .5rem; border: 1.5px solid var(--oat-deep); border-radius: 1rem; box-shadow: 0 0 0 4px var(--rim); }
.theme-nordic-bakery .dwm-footer .dwm-sound { margin-top: .875rem; }

/* ── Dialogs, cart, order ── */
.theme-nordic-bakery .dwm-dialog__head { border-bottom: 0; padding: 1.125rem 1rem .5rem 1.5rem; }
.theme-nordic-bakery .dwm-dialog__body { padding: .75rem 1.5rem 1.75rem; }
.theme-nordic-bakery .dwm-dialog__title { font-weight: 700; font-size: 1.4375rem; letter-spacing: -.01em; }
.theme-nordic-bakery .dwm-close { background: var(--oat); border-radius: 1rem; }
.theme-nordic-bakery .dwm-sheet .dwm-close { background: var(--surface); box-shadow: 0 1px 2px rgba(43, 44, 47, .25); top: 1.125rem; right: 1.125rem; }
.theme-nordic-bakery .dwm-sheet__media { margin: .75rem .75rem 0; border-radius: 1.25rem; overflow: hidden; background: var(--oat); }
.theme-nordic-bakery .dwm-sheet__body { padding: 1.5rem; }
.theme-nordic-bakery .dwm-sheet__cat { color: var(--accent-text); font-weight: 500; padding-right: 3.5rem; }
.theme-nordic-bakery .dwm-sheet__name { font-weight: 700; letter-spacing: -.015em; padding-right: 3rem; line-height: 1.15; }
.theme-nordic-bakery .dwm-sheet__diet { flex-wrap: wrap; gap: .625rem; font-weight: 500; }
.theme-nordic-bakery .dwm-sheet__diet .dwm-badge { background: var(--oat); border: 0; border-radius: .5rem; color: var(--accent-text); font-weight: 600; padding: 0 .6875rem; }
.theme-nordic-bakery .dwm-sheet__price { font-size: 1.3125rem; }
.theme-nordic-bakery .dwm-sheet .dwm-add__btn { font-weight: 600; }

.theme-nordic-bakery .dwm-line__name { font-family: var(--font-display); font-weight: 600; font-size: 1.0625rem; line-height: 1.25; }
.theme-nordic-bakery .dwm-line__notes { background: var(--bg); border: 1px solid var(--line); border-radius: .75rem; padding: 0 1rem; }
.theme-nordic-bakery .dwm-cart__sum { padding: .875rem 1.125rem; background: var(--linen), var(--oat); border-radius: var(--radius-sm); font-weight: 500; }
.theme-nordic-bakery .dwm-cart__sum strong { font-family: var(--font-display); font-weight: 700; font-size: 1.375rem; }
.theme-nordic-bakery .dwm-form__title { font-weight: 700; font-size: 1.1875rem; }
.theme-nordic-bakery .dwm-field > label { font-weight: 500; }
.theme-nordic-bakery .dwm-field :where(input, select) { background: var(--bg); border: 1.5px solid var(--oat-deep); border-radius: .875rem; padding: 0 1.125rem; }
.theme-nordic-bakery .dwm-field :where(input, select):focus-visible { outline: none; border-color: var(--accent); background: var(--surface); box-shadow: 0 0 0 3px var(--mark-bg); }
.theme-nordic-bakery .dwm-field :where(input, select)[aria-invalid="true"] { border-color: var(--warn-ink); }
.theme-nordic-bakery .dwm-btn { min-height: 3.25rem; font-weight: 600; }
.theme-nordic-bakery .dwm-btn--ghost { border: 1.5px solid var(--birch-deep); color: var(--ink); }
.theme-nordic-bakery .dwm-tracker__lede { color: var(--ink); }
.theme-nordic-bakery .dwm-steps__step { border-top-width: 5px; border-top-color: var(--oat-deep); border-radius: 3px 3px 0 0; }
.theme-nordic-bakery .dwm-steps__step.is-done,
.theme-nordic-bakery .dwm-steps__step.is-current { border-top-color: var(--accent); color: var(--ink); }
.theme-nordic-bakery .dwm-steps__step.is-current { font-weight: 600; }
.theme-nordic-bakery .dwm-steps.is-cancelled .dwm-steps__step { border-top-color: var(--warn-line); }
.theme-nordic-bakery .dwm-summary { padding: 1rem 1.25rem; background: var(--bg); border-radius: var(--radius-sm); }
.theme-nordic-bakery .dwm-summary__total dd { font-family: var(--font-display); font-weight: 700; }
.theme-nordic-bakery .dwm-status { background: var(--surface); border-radius: .5rem; font-weight: 500; }

.theme-nordic-bakery .dwm-cartbar__btn { background: var(--ink); color: #fffdf8; border-radius: 1.25rem; padding: 0 1.25rem; box-shadow: 0 20px 34px -16px rgba(43, 44, 47, .8); }
.theme-nordic-bakery .dwm-cartbar__count { padding: .125rem .6875rem; background: var(--oat); color: var(--ink); border-radius: .5rem; font-size: .875rem; white-space: nowrap; }
.theme-nordic-bakery .dwm-cartbar__total { border-left: 0; padding-left: 0; font-family: var(--font-display); font-weight: 700; font-size: 1.125rem; }
.theme-nordic-bakery .dwm-cartbar__cta { white-space: nowrap; }
.theme-nordic-bakery .dwm-toast { background: var(--ink); color: #fffdf8; border-radius: 1rem; padding: .75rem 1.25rem; font-weight: 500; }

/* ── Wider screens ── */
@media (min-width: 36rem) {
  .theme-nordic-bakery .dwm-section__title { flex: 0 1 auto; }
  .theme-nordic-bakery .dwm-search { flex: 1 1 16rem; }
  .theme-nordic-bakery .dwm-search-toggle { padding: 0 .9375rem 0 .75rem; }
  .theme-nordic-bakery .dwm-search-toggle__label { display: inline; }
  .theme-nordic-bakery .dwm-items { gap: 1.375rem; }
}
@media (min-width: 64rem) {
  .theme-nordic-bakery { --card-min: 17.5rem; }
  .theme-nordic-bakery .dwm-masthead::after { top: 50%; translate: 0 -50%; right: max(var(--gutter), calc((100% - var(--page-max)) / 2 + var(--gutter))); width: 13rem; }
  .theme-nordic-bakery .dwm-masthead__inner { gap: 1rem; }
  .theme-nordic-bakery .dwm-masthead__name { max-width: 16ch; padding-right: 0; }
  .theme-nordic-bakery .dwm-search { flex: 0 1 26rem; margin-right: auto; }
  .theme-nordic-bakery .dwm-items { gap: 2rem; }
  .theme-nordic-bakery .dwm-section__head { margin-bottom: 2rem; }
  .theme-nordic-bakery .dwm-section__head::before { width: 3.25rem; height: 3.25rem; }
  .theme-nordic-bakery .dwm-item__body { padding: 1.125rem 1.625rem 1.625rem; }
  .theme-nordic-bakery .dwm-item__media.is-empty { height: 7rem; }
}

/* ── Motion: a slow, soft fade-up, like steam ── */
@media (prefers-reduced-motion: no-preference) {
  .dwm-motion .theme-nordic-bakery .dwm-reveal:not(.is-in) { opacity: 0; }
  .dwm-motion .theme-nordic-bakery .dwm-reveal.is-in {
    animation: nordic-bakery-steam 1.1s var(--ease) backwards; animation-delay: calc(var(--i, 0) * 70ms);
  }
  .dwm-motion .theme-nordic-bakery.is-searching .dwm-tools { animation: nordic-bakery-linen .45s var(--ease) both; }
  .theme-nordic-bakery .dwm-stepper { animation: nordic-bakery-rise .35s var(--ease) both; }
  .theme-nordic-bakery .dwm-item { transition: translate .5s var(--ease), border-color .3s ease; }
  .theme-nordic-bakery .dwm-search-toggle::before { transition: rotate .5s var(--ease); }
  .theme-nordic-bakery .dwm-add__btn,
  .theme-nordic-bakery .dwm-step,
  .theme-nordic-bakery .dwm-filter,
  .theme-nordic-bakery .dwm-sound,
  .theme-nordic-bakery .dwm-search-toggle,
  .theme-nordic-bakery .dwm-nav__link { transition: scale .15s ease-out, background-color .3s ease, color .3s ease, border-color .3s ease; }
}
@keyframes nordic-bakery-steam { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@keyframes nordic-bakery-linen { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes nordic-bakery-rise { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }
