/* Buy Now Marketplace inside the iframe. Demo only. */
:root {
  --ink: #1b2430;
  --ink-2: #4a5563;
  --ink-3: #5f6b7a;
  --line: #e3e8ee;
  --line-2: #eef1f5;
  --tile: #f4f6f8;
  --ground: #ffffff;
  --teal: #34e0c8;
  --teal-hover: #2bd3bb;
  --teal-ink: #04221e;
  --teal-text: #0f766e;
  --teal-soft: #e6fbf8;
  --teal-border: #9eeee2;
  --danger: #b42318;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(15, 23, 32, .04), 0 4px 16px rgba(15, 23, 32, .05);
  --focus: 0 0 0 3px #ffffff, 0 0 0 5px #0f766e;
  /* The live marketplace's own system stack (feed.buy-now.page), no web font. */
  --font: -apple-system, BlinkMacSystemFont, system-ui, 'Segoe UI', Inter, Roboto, Helvetica, Arial, sans-serif;
  /* Live marketplace sheet tokens, read off feed.buy-now.page 2026-10-21.
     Labels are darker than live (.45) so they pass 4.5:1. */
  --mp-ink: #05090b;
  --mp-muted: rgba(5, 9, 11, .66);
  --mp-faint: rgba(5, 9, 11, .62);
  --mp-card: rgba(5, 9, 11, .035);
  --mp-border: rgba(5, 9, 11, .12);
  --mp-link: #0a7566;
  --mp-r-card: 16px;
  --mp-r-btn: 14px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

p, h1, h2, h3, ul { margin: 0; }

button, input { font: inherit; color: inherit; }

button { cursor: pointer; }

:focus-visible { outline: none; box-shadow: var(--focus); }

.bn-sr {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Shell ---------- */

.bn-app { min-height: 100vh; display: flex; flex-direction: column; }
.is-inline .bn-app { min-height: 0; }

.bn-header {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 12px 10px 16px;
  min-height: 64px;
  background: rgba(255, 255, 255, .94);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line-2);
}
.is-overlay .bn-header { position: sticky; top: 0; z-index: 10; }
.bn-header__lead:empty, .bn-header__end:empty { display: none; }
.bn-header__lead { margin-left: -6px; }
.bn-header__text { flex: 1; min-width: 0; }
.bn-header__title { font-size: 16px; font-weight: 700; letter-spacing: -.01em; line-height: 1.25; }
.bn-header__sub { font-size: 12.5px; color: var(--ink-3); line-height: 1.35; margin-top: 2px; }

.bn-iconbtn {
  display: inline-grid; place-items: center;
  width: 44px; height: 44px; border: 0; border-radius: 999px;
  background: transparent; color: var(--ink);
  transition: background-color .15s ease;
}
.bn-iconbtn:hover { background: var(--tile); }
.bn-iconbtn svg { width: 22px; height: 22px; }

.bn-main { flex: 1; padding: 18px 16px 8px; outline: none; }
.is-inline .bn-main { padding-top: 16px; }

.bn-footer { padding: 18px 16px 22px; }
.bn-footer p { font-size: 12px; color: var(--ink-3); text-align: center; }

.bn-screen { max-width: 880px; margin: 0 auto; }

/* Screen transitions */
.bn-enter-fwd { animation: bn-in-fwd .18s ease-out both; }
.bn-enter-back { animation: bn-in-back .18s ease-out both; }
@keyframes bn-in-fwd { from { opacity: 0; transform: translateX(10px); } to { opacity: 1; transform: none; } }
@keyframes bn-in-back { from { opacity: 0; transform: translateX(-10px); } to { opacity: 1; transform: none; } }

/* ---------- Pieces ---------- */

.bn-h1 { font-size: 22px; font-weight: 700; letter-spacing: -.02em; line-height: 1.2; }
.bn-h2 { font-size: 16px; font-weight: 700; letter-spacing: -.01em; }
.bn-muted { color: var(--ink-3); }
.bn-teal { color: var(--teal-text); }

.bn-note {
  display: flex; gap: 10px; align-items: flex-start;
  background: var(--teal-soft); border: 1px solid var(--teal-border);
  color: var(--teal-ink); border-radius: var(--radius-sm);
  padding: 11px 14px; font-size: 14px; margin-bottom: 16px;
}
.bn-note svg { flex: none; width: 18px; height: 18px; margin-top: 2px; color: var(--teal-text); }

.bn-pic {
  position: relative; display: block; background: var(--tile);
  border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 1 / 1;
}
.bn-pic img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: contain; padding: 8%;
}
.bn-pic img.is-missing { visibility: hidden; }

.bn-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 20px; border: 0; border-radius: 12px;
  background: var(--teal); color: var(--teal-ink);
  font-weight: 700; font-size: 15px; letter-spacing: -.005em;
  transition: background-color .15s ease, transform .1s ease;
  text-decoration: none;
}
.bn-btn:hover { background: var(--teal-hover); }
.bn-btn:active { transform: translateY(1px); }
.bn-btn[disabled] { cursor: progress; opacity: .85; }
.bn-btn--block { width: 100%; }
.bn-btn--lg { min-height: 54px; font-size: 16px; }
.bn-btn--ghost {
  background: #fff; color: var(--ink); border: 1px solid var(--line);
}
.bn-btn--ghost:hover { background: var(--tile); }

.bn-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* ---------- Shelf ---------- */

/* Search + category pills. Sticky under the header in overlay mode. */
.bn-tools {
  margin: 0 -16px; padding: 4px 16px 2px;
  background: rgba(255, 255, 255, .96);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  backdrop-filter: saturate(1.4) blur(10px);
  transition: box-shadow .15s ease;
}
.is-overlay .bn-tools { position: sticky; top: var(--bn-hh, 64px); z-index: 5; }
.bn-tools.is-stuck { box-shadow: 0 1px 0 var(--line-2), 0 8px 16px -12px rgba(15, 23, 32, .22); }

.bn-search { position: relative; margin: 0; }
.bn-search__icon {
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  width: 20px; height: 20px; color: var(--ink-3); pointer-events: none; display: flex;
}
.bn-search__icon svg { width: 20px; height: 20px; }
.bn-search input {
  width: 100%; height: 48px; padding: 0 48px 0 44px; margin: 0;
  border: 1px solid #cfd6de; border-radius: var(--radius); background: #fff;
  font-size: 16px; /* 16 px or more: iOS does not zoom into the field */
  -webkit-appearance: none; appearance: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.bn-search input::placeholder { color: var(--ink-3); opacity: 1; }
.bn-search input:hover { border-color: #b3bcc7; }
.bn-search input:focus { outline: none; border-color: var(--teal-text); box-shadow: 0 0 0 3px rgba(52, 224, 200, .35); }
.bn-search input::-webkit-search-cancel-button,
.bn-search input::-webkit-search-decoration { -webkit-appearance: none; appearance: none; }
.bn-search__clear {
  position: absolute; right: 2px; top: 2px; width: 44px; height: 44px;
  display: grid; place-items: center; border: 0; border-radius: 12px; background: transparent; color: var(--ink-2);
}
.bn-search__clear[hidden] { display: none; }
.bn-search__clear-face {
  width: 24px; height: 24px; border-radius: 999px; background: var(--line-2);
  display: grid; place-items: center; transition: background-color .15s ease;
}
.bn-search__clear:hover .bn-search__clear-face { background: var(--line); }
.bn-search__clear svg { width: 14px; height: 14px; }

.bn-pills { position: relative; margin: 4px -16px 0; }
.bn-pills::before, .bn-pills::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 36px; z-index: 1;
  pointer-events: none; opacity: 0; transition: opacity .15s ease;
}
.bn-pills::before { left: 0; background: linear-gradient(to right, #fff 15%, rgba(255, 255, 255, 0)); }
.bn-pills::after { right: 0; background: linear-gradient(to left, #fff 15%, rgba(255, 255, 255, 0)); }
.bn-pills.has-l::before, .bn-pills.has-r::after { opacity: 1; }
.bn-pills__row {
  position: relative; display: flex; gap: 8px;
  overflow-x: auto; overflow-y: hidden; padding: 0 16px;
  scroll-snap-type: x proximity; scroll-padding-inline: 28px;
  overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.bn-pills__row::-webkit-scrollbar { display: none; }
.bn-pills__row.is-wheeling { scroll-snap-type: none; }
/* 44 px hit area around a 36 px pill */
.bn-pill {
  flex: none; height: 44px; padding: 4px 0; border: 0; background: none;
  scroll-snap-align: start; border-radius: 999px;
}
.bn-pill__face {
  display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px;
  border: 1px solid #d5dde4; border-radius: 999px; background: #fff;
  font-size: 14px; font-weight: 600; color: var(--ink); white-space: nowrap; letter-spacing: -.005em;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.bn-pill:hover .bn-pill__face { border-color: #b3bcc7; }
.bn-pill__n { font-size: 13px; font-weight: 500; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.bn-pill.is-zero .bn-pill__face { color: var(--ink-3); }
.bn-pill[aria-pressed="true"] .bn-pill__face { background: var(--ink); border-color: var(--ink); color: #fff; }
.bn-pill[aria-pressed="true"] .bn-pill__n { color: rgba(255, 255, 255, .75); }
.bn-pill:focus-visible { box-shadow: none; }
.bn-pill:focus-visible .bn-pill__face { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--teal-text); }

.bn-count { font-size: 13px; color: var(--ink-3); margin: 10px 0 10px; font-variant-numeric: tabular-nums; }

.bn-noresult { padding: 28px 8px 20px; text-align: center; display: grid; justify-items: center; gap: 6px; }
.bn-noresult__icon {
  width: 52px; height: 52px; border-radius: 999px; background: var(--tile); color: var(--ink-3);
  display: grid; place-items: center; margin-bottom: 6px;
}
.bn-noresult__icon svg { width: 24px; height: 24px; }
.bn-noresult__h { font-size: 16px; font-weight: 700; letter-spacing: -.01em; overflow-wrap: anywhere; }
.bn-noresult .bn-muted { font-size: 14px; }
.bn-noresult__acts { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 4px 12px; margin-top: 12px; }
.bn-linkbtn {
  min-height: 44px; padding: 0 8px; border: 0; background: none; border-radius: 10px;
  color: var(--teal-text); font-weight: 600; font-size: 14px; text-decoration: underline; text-underline-offset: 3px;
}

.bn-grid { list-style: none; padding: 0; margin: 0; }
.bn-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 840px) { .bn-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }

.bn-tile {
  display: flex; flex-direction: column; gap: 10px; width: 100%;
  text-align: left; padding: 10px 10px 14px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.bn-tile:hover { border-color: var(--teal-border); box-shadow: 0 2px 4px rgba(15,23,32,.04), 0 10px 24px rgba(15,23,32,.07); }
.bn-tile__body { padding: 0 4px; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.bn-tile__name { font-weight: 700; font-size: 15px; line-height: 1.3; letter-spacing: -.01em; }
.bn-tile__sub { font-size: 13px; color: var(--ink-3); line-height: 1.35; }
.bn-tile__price { margin-top: 8px; font-size: 17px; font-weight: 700; letter-spacing: -.01em; }
.bn-tile__price small { font-size: 13px; font-weight: 500; color: var(--ink-3); margin-right: 3px; }
.bn-tile__meta { font-size: 12.5px; color: var(--teal-text); font-weight: 500; }

@media (max-width: 519px) {
  .bn-grid { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .bn-tile { flex-direction: row; align-items: center; gap: 12px; padding: 10px; }
  .bn-tile .bn-pic { width: 104px; flex: none; }
  .bn-tile__body { padding: 0; flex: 1; }
  .bn-tile__price { margin-top: 6px; }
}

.bn-empty { padding: 32px 8px; text-align: center; color: var(--ink-3); }

/* ---------- Product ---------- */

.bn-prod { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 520px) { .bn-prod { grid-template-columns: 200px minmax(0, 1fr); align-items: start; gap: 20px; } }
.bn-prod__info { display: flex; flex-direction: column; gap: 6px; }
.bn-prod .bn-pic { max-width: 280px; width: 100%; margin: 0 auto; }
.bn-bullets { list-style: none; padding: 0; margin-top: 8px; display: grid; gap: 6px; }
.bn-bullets li { display: flex; gap: 8px; font-size: 14px; color: var(--ink-2); }
.bn-bullets svg { flex: none; width: 16px; height: 16px; margin-top: 3px; color: var(--teal-text); }

.bn-offers-h { margin: 26px 0 12px; }
.bn-offers { display: grid; gap: 10px; }

.bn-offer { padding: 14px 16px; display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
.bn-offer.is-pinned { border-color: var(--teal-border); box-shadow: 0 0 0 1px var(--teal-border), var(--shadow); }
.bn-offer__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 6px; }
.bn-tag {
  display: inline-flex; align-items: center; min-height: 22px; padding: 0 8px;
  border-radius: 999px; font-size: 12px; font-weight: 600;
  background: var(--teal-soft); color: var(--teal-text); border: 1px solid var(--teal-border);
}
.bn-tag--plain { background: var(--tile); color: var(--ink-2); border-color: var(--line); }
.bn-offer__name { font-weight: 700; font-size: 15.5px; letter-spacing: -.01em; }
.bn-offer__meta { font-size: 13px; color: var(--ink-3); }
.bn-offer__deliv { font-size: 13px; color: var(--teal-text); font-weight: 500; display: flex; align-items: center; gap: 6px; margin-top: 2px; }
.bn-offer__deliv svg { width: 15px; height: 15px; }
.bn-offer__price { text-align: right; }
.bn-offer__total { font-size: 21px; font-weight: 700; letter-spacing: -.02em; line-height: 1.15; white-space: nowrap; }
.bn-offer__incl { font-size: 12px; color: var(--ink-3); white-space: nowrap; }
.bn-offer__cta { grid-column: 1 / -1; }
.bn-offer__cta .bn-btn { width: 100%; }
@media (min-width: 640px) {
  .bn-offer { grid-template-columns: minmax(0, 1fr) auto auto; gap: 16px; }
  .bn-offer__cta { grid-column: auto; }
  .bn-offer__cta .bn-btn { width: auto; }
}

.bn-plain { margin-top: 14px; font-size: 13px; color: var(--ink-3); }

/* ---------- Kasse ---------- */

.bn-kasse { display: grid; gap: 14px; }
@media (min-width: 840px) { .bn-kasse { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); align-items: start; gap: 20px; } .bn-kasse__summary { position: sticky; top: 16px; order: 2; } }

.bn-section { padding: 16px; }
.bn-section + .bn-section { margin-top: 0; }
.bn-section__h { font-size: 14px; font-weight: 700; margin-bottom: 12px; letter-spacing: -.005em; }

.bn-sum { display: flex; gap: 12px; align-items: center; }
.bn-sum .bn-pic { width: 64px; flex: none; }
.bn-sum__name { font-weight: 700; line-height: 1.3; }
.bn-sum__meta { font-size: 13px; color: var(--ink-3); }
.bn-sum__deliv { font-size: 13px; color: var(--teal-text); font-weight: 500; }

.bn-rows { margin-top: 14px; border-top: 1px solid var(--line-2); padding-top: 12px; display: grid; gap: 10px; }
.bn-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.bn-row__label { font-size: 14px; color: var(--ink-2); }
.bn-total { font-size: 20px; font-weight: 700; letter-spacing: -.02em; white-space: nowrap; }

.bn-stepper { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 12px; }
.bn-stepper button {
  width: 44px; height: 44px; border: 0; background: transparent; border-radius: 11px;
  display: grid; place-items: center;
}
.bn-stepper button:hover:not([disabled]) { background: var(--tile); }
.bn-stepper button[disabled] { color: #b6bec8; cursor: not-allowed; }
.bn-stepper svg { width: 18px; height: 18px; }
.bn-stepper output { min-width: 32px; text-align: center; font-weight: 700; }

.bn-fields { display: grid; gap: 12px; }
@media (min-width: 520px) { .bn-fields { grid-template-columns: 1fr 1fr; } .bn-field--wide { grid-column: 1 / -1; } }
.bn-field label { display: block; font-size: 13px; font-weight: 600; color: var(--ink-2); margin-bottom: 5px; }
.bn-field input {
  scroll-margin-top: 88px;
  width: 100%; min-height: 46px; padding: 0 13px;
  border: 1px solid #cfd6de; border-radius: var(--radius-sm); background: #fff;
  font-size: 16px; transition: border-color .15s ease, box-shadow .15s ease;
}
.bn-field input:hover { border-color: #b3bcc7; }
.bn-field input:focus { outline: none; border-color: var(--teal-text); box-shadow: 0 0 0 3px rgba(52, 224, 200, .35); }
.bn-field input[aria-invalid="true"] { border-color: var(--danger); }
.bn-err { font-size: 13px; color: var(--danger); margin-top: 5px; }
.bn-err:empty { display: none; }

.bn-pay { display: grid; gap: 8px; border: 0; padding: 0; margin: 0; }
.bn-pay legend { padding: 0; }
.bn-payopt { position: relative; display: block; }
.bn-payopt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.bn-payopt label {
  display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 10px 14px;
  border: 1px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer;
  transition: border-color .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.bn-payopt label:hover { border-color: #c5cdd6; }
.bn-payopt input:checked + label { border-color: var(--teal-text); background: var(--teal-soft); box-shadow: 0 0 0 1px var(--teal-text); }
.bn-payopt input:focus-visible + label { box-shadow: var(--focus); }
.bn-radio {
  flex: none; width: 20px; height: 20px; border-radius: 999px; border: 2px solid #9aa5b1;
  display: grid; place-items: center; background: #fff;
}
.bn-payopt input:checked + label .bn-radio { border-color: var(--teal-text); }
.bn-payopt input:checked + label .bn-radio::after { content: ''; width: 10px; height: 10px; border-radius: 999px; background: var(--teal-text); }
.bn-payopt__text { flex: 1; min-width: 0; }
.bn-payopt__name { font-weight: 600; font-size: 15px; display: block; }
.bn-payopt__sub { font-size: 12.5px; color: var(--ink-3); display: block; }
.bn-payopt__icon { flex: none; width: 24px; height: 24px; color: var(--ink-2); }

.bn-buy { display: grid; gap: 10px; }
.bn-legal { font-size: 12.5px; color: var(--ink-3); line-height: 1.45; }
.bn-formerr { font-size: 14px; color: var(--danger); }
.bn-formerr:empty { display: none; }

.bn-spin {
  width: 18px; height: 18px; border-radius: 999px;
  border: 2px solid rgba(4, 34, 30, .25); border-top-color: var(--teal-ink);
  animation: bn-spin .7s linear infinite;
}
@keyframes bn-spin { to { transform: rotate(360deg); } }

/* ---------- Danke ---------- */

.bn-thanks { max-width: 480px; margin: 12px auto 0; text-align: center; display: grid; gap: 12px; justify-items: center; }
.bn-check {
  width: 64px; height: 64px; border-radius: 999px; background: var(--teal-soft);
  border: 1px solid var(--teal-border); display: grid; place-items: center; color: var(--teal-text);
  margin-bottom: 4px;
}
.bn-check svg { width: 30px; height: 30px; }
.bn-thanks .bn-h1 { font-size: 24px; }
.bn-thanks__lead { font-size: 15.5px; color: var(--ink-2); }
.bn-code {
  display: inline-flex; flex-direction: column; gap: 2px; padding: 12px 22px;
  border-radius: 12px; background: var(--tile); margin: 6px 0;
}
.bn-code span { font-size: 12px; color: var(--ink-3); }
.bn-code strong { font-size: 18px; letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.bn-thanks .bn-btn { margin-top: 10px; min-width: 240px; }

/* ---------- Offer card: Händlerinfo ---------- */

.bn-offer__info {
  display: inline-flex; align-items: center; min-height: 44px; margin: 0 0 -10px -2px; padding: 0 2px;
  border: 0; background: none; border-radius: 8px;
  color: var(--mp-link); font-size: 13.5px; font-weight: 600;
  text-decoration: none; text-underline-offset: 2px;
}
.bn-offer__info:hover { text-decoration: underline; }

/* ---------- Sheets (Händlerinfo, Kasse) ---------- */
/* A bottom sheet up to 520 px wide; a centred dialog from 1024 px, like live. */

html.mp-lock { overflow: hidden; }

.mp-sheet {
  position: fixed; inset: auto 0 0 0; margin: 0 auto;
  width: 100%; max-width: 520px; max-height: 88vh; max-height: 88dvh;
  padding: 0; border: 0; border-top: 1px solid var(--mp-border);
  border-radius: 24px 24px 0 0; background: #fff; color: var(--mp-ink);
  font-family: var(--font); font-size: 16px;
  display: none; flex-direction: column; overflow: hidden;
  box-shadow: 0 -8px 40px rgba(0, 0, 0, .16);
}
.mp-sheet[open] { display: flex; animation: mp-up .22s ease-out both; }
.mp-sheet::backdrop { background: rgba(0, 0, 0, .55); }
@keyframes mp-up { from { transform: translateY(24px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (min-width: 1024px) {
  .mp-sheet { inset: 0; margin: auto; max-width: 600px; max-height: 90vh; height: fit-content; border: 1px solid var(--mp-border); border-radius: 24px; box-shadow: 0 24px 60px rgba(0, 0, 0, .25); }
}
/* Inline (iframe-only variant): opens next to its button, grows the frame. */
.is-inline .mp-sheet { position: absolute; inset: auto 0 auto 0; max-height: none; border: 1px solid var(--mp-border); border-radius: 24px; width: calc(100% - 24px); }

.mp-sheet__head { position: relative; display: flex; align-items: center; justify-content: space-between; padding: 16px 12px 8px 20px; flex: none; }
.mp-sheet__grip { position: absolute; left: 50%; top: 8px; width: 40px; height: 4px; margin-left: -20px; border-radius: 99px; background: rgba(0, 0, 0, .15); }
@media (min-width: 1024px) { .mp-sheet__grip { display: none; } }
.mp-sheet__title { padding-top: 8px; font-size: 19px; font-weight: 600; letter-spacing: -.01em; }
.mp-sheet__x {
  width: 44px; height: 44px; margin-top: 4px; display: grid; place-items: center;
  border: 0; border-radius: 999px; background: transparent; color: var(--mp-muted);
}
.mp-sheet__x:hover { background: rgba(0, 0, 0, .05); }
.mp-sheet__x svg { width: 20px; height: 20px; }
.mp-sheet__body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 4px 20px 20px; scrollbar-width: none; }
.mp-sheet__body::-webkit-scrollbar { display: none; }
.is-inline .mp-sheet__body { overflow: visible; }

.mp-block { display: block; }
.mp-link { color: var(--mp-link); text-decoration: none; overflow-wrap: anywhere; border-radius: 4px; }
.mp-link:hover { text-decoration: underline; }

/* Händlerinfo */
.mp-di { display: grid; gap: 12px; padding-bottom: 4px; }
.mp-di__head { display: grid; justify-items: start; gap: 8px; }
.mp-di__name { font-size: 19px; font-weight: 600; letter-spacing: -.01em; }
.mp-chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px;
  border: 1px solid var(--mp-border); border-radius: var(--mp-r-btn); background: var(--mp-card);
  font-size: 13.5px; color: var(--mp-ink);
}
.mp-chip__icon { display: flex; color: var(--mp-link); }
.mp-chip__icon svg { width: 16px; height: 16px; }
.mp-di__rows { display: grid; gap: 8px; }
.mp-info {
  display: grid; gap: 2px; padding: 12px 14px;
  border: 1px solid var(--mp-border); border-radius: var(--mp-r-card); background: var(--mp-card);
}
.mp-info__label { font-size: 12.5px; color: var(--mp-faint); }
.mp-info__value { font-size: 15px; color: var(--mp-ink); }
.mp-di__muted { font-size: 13.5px; line-height: 1.6; color: var(--mp-muted); padding: 0 2px; }
.mp-di__legal { display: grid; gap: 8px; }
.mp-di__btns { display: flex; gap: 8px; }
.mp-outbtn {
  flex: 1 1 0; min-width: 0; min-height: 48px; padding: 12px 10px;
  border: 1px solid rgba(52, 224, 200, .55); border-radius: var(--mp-r-btn); background: var(--mp-card);
  font-size: 15px; font-weight: 500; color: var(--mp-ink); text-align: center;
  transition: background-color .15s ease, transform .1s ease;
}
.mp-outbtn:hover { background: rgba(52, 224, 200, .12); }
.mp-outbtn:active { transform: scale(.985); }
.mp-di__status { font-size: 13.5px; font-weight: 600; color: var(--mp-link); overflow-wrap: anywhere; padding: 0 2px; }
.mp-di__status:empty { display: none; }
.mp-di__seller {
  padding: 12px 14px; border: 1px solid var(--mp-border); border-radius: var(--mp-r-card); background: var(--mp-card);
  font-size: 13.5px; line-height: 1.6; color: var(--mp-muted);
}

/* Kasse */
.mp-kasse { display: grid; gap: 0; }
.mp-kasse__ctl { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 16px; }
.mp-f { min-width: 0; }
.mp-f label { display: block; margin-bottom: 4px; font-size: 14px; color: var(--mp-ink); }
@media (max-width: 419px) {
  .mp-grid .mp-f label { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .mp-f--narrow-wide { grid-column: 1 / -1; }
}
.mp-f label.mp-f__small { font-size: 12.5px; color: var(--mp-muted); }
.mp-f__opt { color: var(--mp-muted); font-size: 12.5px; }
.mp-f input, .mp-sel {
  width: 100%; min-height: 48px; padding: 0 14px; margin: 0;
  border: 1px solid var(--mp-border); border-radius: 12px; background: #fff;
  font: inherit; font-size: 16px; color: var(--mp-ink);
  -webkit-appearance: none; appearance: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.mp-f input:hover, .mp-sel:hover:not(:disabled) { border-color: rgba(5, 9, 11, .3); }
.mp-f input:focus, .mp-sel:focus { outline: none; border-color: #0f766e; box-shadow: 0 0 0 3px rgba(52, 224, 200, .35); }
.mp-f input[aria-invalid="true"] { border-color: var(--danger); }
.mp-f input:disabled { background: var(--mp-card); }
.mp-f__err { font-size: 13px; color: var(--danger); margin-top: 4px; }
.mp-f__err:empty { display: none; }
.mp-sel__wrap { position: relative; display: block; }
.mp-sel { padding-right: 36px; cursor: pointer; }
.mp-sel:disabled { cursor: default; opacity: 1; color: var(--mp-ink); background: rgba(5, 9, 11, .02); }
.mp-sel__chev { position: absolute; right: 12px; top: 50%; width: 16px; height: 16px; margin-top: -8px; color: var(--mp-muted); pointer-events: none; }
.mp-sel__wrap--flag .mp-sel { padding-left: 42px; }
.mp-sel__flag { position: absolute; left: 14px; top: 50%; width: 20px; height: 12px; margin-top: -6px; border-radius: 2px; pointer-events: none; }

.mp-sum { padding: 12px; border: 1px solid var(--mp-border); border-radius: var(--mp-r-card); background: var(--mp-card); }
.mp-sum__head { display: flex; align-items: center; gap: 12px; }
.mp-sum__pic { position: relative; flex: none; width: 56px; height: 56px; border-radius: 10px; background: #fff; overflow: hidden; }
.mp-sum__pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 6px; }
.mp-sum__text { min-width: 0; flex: 1; }
.mp-sum__name { font-size: 14.5px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mp-sum__seller { font-size: 12px; color: var(--mp-muted); }
.mp-sum__rows { margin: 12px 0 0; padding-top: 12px; border-top: 1px solid var(--mp-border); display: grid; gap: 6px; font-size: 14px; }
.mp-sum__row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.mp-sum__row dt, .mp-sum__row dd { margin: 0; }
.mp-sum__row dd { font-variant-numeric: tabular-nums; white-space: nowrap; }
.mp-sum__row.is-muted { color: var(--mp-muted); }
.mp-sum__row.is-total { margin-top: 6px; padding-top: 10px; border-top: 1px solid var(--mp-border); font-weight: 600; }
.mp-sum__row.is-total dd { font-size: 17px; }

.mp-wallets { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 16px; }
.mp-wallet {
  min-height: 48px; padding: 0 12px; border: 0; border-radius: 12px;
  background: #000; color: #fff; font-size: 16px; font-weight: 600; letter-spacing: -.01em;
}
.mp-wallet:hover { background: #1f1f1f; }
.mp-wallet:disabled { opacity: .5; cursor: progress; }

.mp-divider { display: flex; align-items: center; gap: 8px; margin: 16px 0 12px; font-size: 12.5px; color: var(--mp-muted); }
.mp-divider span { flex: 1; height: 1px; background: #e5e5e5; }

.mp-methods { display: grid; gap: 10px; margin: 0; padding: 0; border: 0; min-width: 0; }
.mp-method { position: relative; border: 1px solid var(--mp-border); border-radius: 12px; background: #fff; transition: border-color .15s ease, background-color .15s ease; }
.mp-method:hover { border-color: rgba(5, 9, 11, .3); }
.mp-method.is-on { border: 2px solid #0f766e; background: #f4fbfa; }
.mp-method > input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.mp-method label { display: flex; align-items: center; gap: 14px; min-height: 52px; padding: 0 14px; cursor: pointer; border-radius: 11px; }
.mp-method.is-on label { padding: 0 13px; min-height: 50px; }
.mp-method > input:focus-visible + label { box-shadow: var(--focus); }
.mp-method__icon { flex: none; width: 26px; height: 22px; display: flex; align-items: center; justify-content: center; }
.mp-method__icon svg { width: 26px; height: 22px; }
.mp-method__name { font-size: 15px; font-weight: 600; color: #3f464c; }
.mp-method.is-on .mp-method__name { color: #0f766e; }
.mp-method__panel { padding: 2px 13px 14px; }
.mp-method__note { font-size: 13.5px; color: var(--mp-muted); line-height: 1.5; }

.mp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 10px; align-items: end; }
.mp-method__panel.mp-grid { align-items: start; }
.mp-f--wide { grid-column: 1 / -1; }
.mp-address { margin-top: 18px; padding-top: 18px; border-top: 1px solid #e5e5e5; }

.mp-alt { margin-top: 14px; border: 1px dashed rgba(5, 9, 11, .2); border-radius: 12px; }
.mp-alt.is-open { padding-bottom: 14px; }
.mp-alt__btn {
  display: flex; align-items: center; gap: 12px; width: 100%; min-height: 48px; padding: 0 12px;
  border: 0; border-radius: 11px; background: none; font-size: 16px; color: var(--mp-ink); text-align: left;
}
.mp-alt__icon { width: 22px; height: 22px; display: grid; place-items: center; border: 1px solid var(--mp-border); border-radius: 6px; }
.mp-alt__icon svg { width: 14px; height: 14px; }
.mp-alt__fields { padding: 4px 12px 0; }

.mp-orderrow {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 12px;
  margin: 18px 0 12px; padding: 12px; border: 1px solid #e5e5e5; border-radius: 12px; background: #fafafa;
}
.mp-orderrow__dealer { font-size: 14px; font-weight: 600; }
.mp-orderrow__deliv { margin-top: 2px; font-size: 12.5px; color: #525252; }
.mp-orderrow__end { text-align: right; flex: none; }
.mp-orderrow__total { font-size: 20px; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.mp-orderrow__incl { margin-top: 2px; font-size: 11.5px; color: #525252; }

.mp-formerr { font-size: 14px; color: var(--danger); margin: 0 0 10px; }
.mp-formerr:empty { display: none; }

.mp-cta {
  display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 52px; padding: 0 16px;
  border: 1px solid var(--teal); border-radius: 12px; background: var(--teal); color: var(--teal-ink);
  font-size: 16px; font-weight: 700; letter-spacing: -.005em; font-variant-numeric: tabular-nums;
  transition: opacity .15s ease, background-color .15s ease;
}
.mp-cta:hover { background: var(--teal-hover); }
.mp-cta[aria-disabled="true"] { opacity: .5; cursor: not-allowed; }
.mp-cta[disabled] { cursor: progress; opacity: .85; }
.mp-terms { margin-top: 12px; font-size: 12px; line-height: 1.55; color: #525252; }
.mp-terms a { color: var(--mp-link); text-decoration: underline; border-radius: 3px; }

/* ---------- Motion preferences ---------- */

@media (prefers-reduced-motion: reduce) {
  .bn-enter-fwd, .bn-enter-back { animation: none; }
  .bn-spin { animation-duration: 2.4s; }
  .mp-sheet[open] { animation: none; }
  * { transition-duration: 0s !important; }
}
