/* Restposten-Shop – Frontend. Keine externen Schriften, keine Animationen. */
:root {
  --ink: #141414; --ink2: #555; --line: #e3e0d8; --bg: #f5f3ee; --card: #fff;
  --sig: #ffd400; --hot: #d62828; --good: #1b7a3a; --warn: #a15c00; --bad: #6b6b6b;
  --r: 10px; --font: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}
* { box-sizing: border-box; }
fieldset { min-width: 0; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 16px/1.5 var(--font); color: var(--ink); background: var(--bg); }
a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .4em; }
h1 { font-size: clamp(1.5rem, 3.5vw, 2.2rem); letter-spacing: -.02em; }
h2 { font-size: 1.3rem; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 16px; }
.muted { color: var(--ink2); }
.small { font-size: .875rem; }

/* Kopf */
.top { background: var(--ink); color: #fff; position: sticky; top: 0; z-index: 10; }
.top-row { display: flex; align-items: center; gap: 16px; padding-top: 10px; padding-bottom: 10px; flex-wrap: wrap; }
.logo { display: flex; align-items: center; gap: 8px; font-weight: 800; text-decoration: none; font-size: 1.1rem; }
.logo-mark { background: var(--sig); color: var(--ink); width: 32px; height: 32px; display: grid; place-items: center; border-radius: 6px; font-weight: 900; }
.search { flex: 1 1 320px; display: flex; order: 3; }
.search input { flex: 1; min-width: 0; padding: 10px 12px; border: 0; border-radius: 8px 0 0 8px; font: inherit; }
.search button { border: 0; background: var(--sig); color: var(--ink); font-weight: 700; padding: 0 16px; border-radius: 0 8px 8px 0; cursor: pointer; font: inherit; font-weight: 700; }
.cart-link { margin-left: auto; text-decoration: none; font-weight: 600; white-space: nowrap; display: flex; align-items: center; gap: 6px; }
.cart-n { background: var(--sig); color: var(--ink); border-radius: 99px; padding: 0 8px; margin-left: 4px; }
@media (min-width: 800px) { .search { order: 0; } .cart-link { margin-left: 0; } }

.main { padding-top: 20px; padding-bottom: 48px; min-height: 60vh; }
.flash { padding: 10px 14px; border-radius: 8px; margin-bottom: 14px; font-weight: 500; }
.flash-ok { background: #e3f4e8; color: #0f5426; }
.flash-err { background: #fde7e7; color: #8a1414; }

/* Start */
.hero { background: var(--sig); border-radius: var(--r); padding: 24px; display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: end; margin-bottom: 28px; }
.hero h1 { margin: 0 0 4px; }
.hero p { margin: 0; }
.hero-links { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { display: inline-block; padding: 6px 14px; border-radius: 99px; background: var(--ink); color: #fff; text-decoration: none; font-weight: 600; font-size: .9rem; }
.hero .pill { background: var(--ink); }
.subcats { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.subcats .pill { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.sec { margin-bottom: 36px; }
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 12px; margin-bottom: 12px; }
.sec-head h2 { margin: 0; }
.sec-head p { margin: 0; }
.more { font-weight: 600; white-space: nowrap; }
.empty { background: #fff; padding: 24px; border-radius: var(--r); text-align: center; }

/* Produktkarten */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(165px, 1fr)); gap: 12px; }
@media (min-width: 700px) { .grid { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 16px; } }
.card { background: var(--card); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; border: 1px solid var(--line); }
.card:hover { border-color: #bbb; }
.card-img { position: relative; aspect-ratio: 1; background: #f0eee8; display: grid; place-items: center; }
.card-img img { width: 100%; height: 100%; object-fit: contain; }
.noimg { color: #999; font-size: .85rem; }
.noimg.big { padding: 120px 0; }
.tags { position: absolute; top: 8px; left: 8px; display: flex; flex-direction: column; gap: 4px; align-items: flex-start; }
.tag { font-size: .7rem; font-weight: 800; padding: 2px 7px; border-radius: 4px; letter-spacing: .02em; }
.tag-hot { background: var(--hot); color: #fff; }
.tag-deal { background: var(--sig); color: var(--ink); }
.tag-new { background: var(--ink); color: #fff; }
.tag-out { background: #777; color: #fff; }
.card-body { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.card-title { font-size: .95rem; font-weight: 600; margin: 0; flex: 1; }
.card-title a { text-decoration: none; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.price-row { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.price { font-size: 1.25rem; font-weight: 800; letter-spacing: -.01em; }
.price-row.big .price { font-size: 2rem; }
.was { color: var(--ink2); font-size: .9rem; }
.stock-mini { font-size: .8rem; color: var(--ink2); }
.stock-mini.low { color: var(--hot); font-weight: 700; }
.cond { align-self: flex-start; font-size: .72rem; font-weight: 700; padding: 1px 7px; border-radius: 4px; border: 1px solid; }
.cond-good { color: var(--good); }
.cond-warn { color: var(--warn); }
.cond-bad { color: var(--bad); }
.cond-lg { font-size: .85rem; padding: 3px 10px; }

/* Listen & Filter */
.crumbs { font-size: .85rem; color: var(--ink2); margin-bottom: 8px; }
.crumbs a { text-decoration: none; }
.list-head { margin-bottom: 16px; }
.list { display: grid; gap: 16px; }
.filters { background: #fff; border-radius: var(--r); border: 1px solid var(--line); }
.filters summary { padding: 12px 14px; font-weight: 700; cursor: pointer; }
.filter-form { padding: 0 14px 14px; }
.filter-form fieldset { border: 0; border-top: 1px solid var(--line); margin: 0; padding: 10px 0; }
.filter-form legend { font-weight: 700; font-size: .9rem; padding: 0; margin-bottom: 4px; }
.chk { display: flex; gap: 8px; align-items: flex-start; font-size: .9rem; padding: 2px 0; cursor: pointer; }
.chk input { margin-top: 4px; }
.range { display: flex; align-items: center; gap: 6px; }
.range input { width: 100%; padding: 6px 8px; border: 1px solid var(--line); border-radius: 6px; font: inherit; }
.reset { display: block; margin-top: 8px; font-size: .9rem; }
.results-bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; gap: 8px; flex-wrap: wrap; }
.results-bar select { padding: 6px; border-radius: 6px; border: 1px solid var(--line); font: inherit; background: #fff; }
.pager { display: flex; justify-content: center; align-items: center; gap: 16px; margin-top: 24px; }

/* Buttons & Formulare */
.btn { display: inline-block; background: var(--ink); color: #fff; border: 0; border-radius: 8px; padding: 10px 18px; font: inherit; font-weight: 700; cursor: pointer; text-decoration: none; text-align: center; }
.btn-buy { background: var(--sig); color: var(--ink); font-size: 1.05rem; padding: 14px 22px; }
.btn-buy:hover { filter: brightness(.95); }
.btn-ghost { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.btn-sm { padding: 5px 10px; font-size: .85rem; }
.btn-block { display: block; width: 100%; }
.link-btn { background: none; border: 0; color: var(--ink2); text-decoration: underline; cursor: pointer; font: inherit; font-size: .85rem; padding: 0; }
.inline { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px; }
label { display: block; font-size: .9rem; font-weight: 600; margin-bottom: 10px; }
input:not([type=checkbox]):not([type=radio]), select, textarea { display: block; width: 100%; margin-top: 4px; padding: 10px 12px; font: inherit; font-weight: 400; border: 1px solid #cfccc3; border-radius: 8px; background: #fff; }
.qty { display: inline-flex; align-items: center; gap: 8px; margin: 0; }
.qty input { width: 80px !important; display: inline-block !important; margin: 0 !important; }
.invalid, input.invalid { border-color: var(--hot) !important; }
.field-err { display: block; color: var(--hot); font-size: .82rem; font-weight: 600; margin-top: 2px; }
.radio, label.chk { font-weight: 500; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

/* Produktseite */
.pdp { display: grid; gap: 24px; margin-bottom: 28px; }
@media (min-width: 900px) { .pdp { grid-template-columns: 1.15fr 1fr; } }
.gallery-main { background: #fff; border-radius: var(--r); border: 1px solid var(--line); aspect-ratio: 1; display: grid; place-items: center; overflow: hidden; }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; }
.thumbs { display: flex; gap: 8px; margin-top: 8px; overflow-x: auto; }
.thumb { flex: 0 0 72px; border: 2px solid transparent; border-radius: 8px; overflow: hidden; background: #fff; }
.thumb.on { border-color: var(--ink); }
.buybox h1 { margin-top: 8px; }
.lead { color: var(--ink2); margin-top: 0; }
.stock { font-weight: 700; color: var(--good); margin: 12px 0; }
.stock.low { color: var(--hot); }
.buy { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 8px; }
.soldout { background: #eee; padding: 12px; border-radius: 8px; font-weight: 600; }
.condbox { margin-top: 18px; padding: 14px 16px; border-radius: var(--r); background: #fff; border-left: 5px solid; }
.condbox p { margin: 4px 0 0; }
.cond-box-good { border-color: var(--good); }
.cond-box-warn { border-color: var(--warn); background: #fff8ec; }
.cond-box-bad { border-color: var(--bad); background: #f2f2f2; }
.pdp-more { display: grid; gap: 16px; margin-bottom: 32px; }
.pdp-more section { background: #fff; border-radius: var(--r); padding: 18px; border: 1px solid var(--line); }
.specs { display: grid; grid-template-columns: max-content 1fr; gap: 6px 18px; margin: 0; }
.specs dt { color: var(--ink2); }
.specs dd { margin: 0; }

/* Warenkorb & Kasse */
.cart, .checkout { display: grid; gap: 20px; }
@media (min-width: 900px) { .cart, .checkout { grid-template-columns: 1fr 360px; align-items: start; } .summary { position: sticky; top: 120px; } }
.cart-line { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 12px; background: #fff; padding: 12px; border-radius: var(--r); border: 1px solid var(--line); margin-bottom: 10px; }
.cart-img { background: #f0eee8; border-radius: 6px; overflow: hidden; aspect-ratio: 1; }
.cart-info a { text-decoration: none; }
.cart-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 6px; }
.cart-total { font-weight: 800; }
.summary, .box { background: #fff; border-radius: var(--r); padding: 18px; border: 1px solid var(--line); }
.box { margin: 0 0 16px; }
fieldset.box legend { font-weight: 800; padding: 0 6px; font-size: 1.05rem; }
.sum-row { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px solid var(--line); }
.sum-row.total { font-size: 1.15rem; border-bottom: 0; padding-top: 10px; }
.summary .btn-block { margin: 12px 0; }
.done { max-width: 720px; }
.page { max-width: 820px; background: #fff; padding: 24px; border-radius: var(--r); }
.text { white-space: normal; }

/* Fuß */
.foot { background: var(--ink); color: #ccc; padding: 28px 0; font-size: .9rem; }
.foot a { color: #fff; }
.foot-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; margin-bottom: 14px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.foot .muted { color: #999; }

/* Aktionen, Gutscheine, Bestellstatus */
.tag-promo { background: var(--hot); color: #fff; }
.promo-note { background: var(--hot); color: #fff; display: inline-block; padding: 4px 10px; border-radius: 6px; font-size: .9rem; margin: 4px 0 8px; }
.sum-row.good { color: var(--good); }
.coupon { display: flex; gap: 6px; margin: 10px 0 0; }
.coupon input { margin: 0 !important; }
.coupon .btn { white-space: nowrap; }
.timeline { list-style: none; padding: 0; margin: 18px 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; counter-reset: s; }

.timeline li { min-width: 0; overflow-wrap: anywhere; position: relative; padding: 34px 6px 0; text-align: center; font-size: .85rem; display: flex; flex-direction: column; color: var(--ink2); }
.timeline li::before { counter-increment: s; content: counter(s); position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 26px; height: 26px; border-radius: 50%;
  background: #e2dfd6; color: var(--ink2); display: grid; place-items: center; font-weight: 800; font-size: .8rem; z-index: 1; }
.timeline li::after { content: ""; position: absolute; top: 12px; left: -50%; width: 100%; height: 3px; background: #e2dfd6; }
.timeline li:first-child::after { display: none; }
.timeline li.done { color: var(--ink); }
.timeline li.done::before { content: "✓"; background: var(--good); color: #fff; }
.timeline li.done::after { background: var(--good); }
.box.cancelled { background: #fde7e7; border-color: #f3c4c4; }
.box.good-box { background: #e3f4e8; border-color: #bfe3c9; }
.docs { list-style: none; padding: 0; margin: 0; }
.docs li { padding: 6px 0; border-bottom: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px; }
.narrowpage { max-width: 480px; }
@media (max-width: 560px) {
  .timeline { grid-template-columns: 1fr; gap: 14px; }
  .timeline li { text-align: left; padding: 2px 0 0 38px; min-height: 26px; align-items: flex-start; }
  .timeline li::before { left: 0; transform: none; }
  .timeline li::after { top: -14px; left: 12px; width: 3px; height: 16px; }
}

/* ===== Vereinfachtes Layout: Kategorie-Chips, Produktraster mit Sofortkauf ===== */
.chips { background: #fff; border-bottom: 1px solid var(--line); }
.chips-row { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-top: 10px; padding-bottom: 10px; }
.chips-row::-webkit-scrollbar { display: none; }
.chips a { white-space: nowrap; text-decoration: none; padding: 6px 14px; border-radius: 99px; border: 1px solid var(--line); background: #fff; font-size: .9rem; font-weight: 600; color: var(--ink); }
.chips a:hover { border-color: var(--ink); }
.chips a.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.top { position: sticky; top: 0; z-index: 10; }
.cart-n[hidden] { display: none; }
@media (max-width: 520px) { .cart-label { display: none; } }

.intro { margin: 0 0 14px; color: var(--ink2); }
.intro b { color: var(--ink); }
.grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 640px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; } }
@media (min-width: 980px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; } }
.card-img { background: #fff; border-bottom: 1px solid var(--line); }
.card-body { padding: 10px 12px 12px; gap: 6px; }
.card-title { font-size: 1rem; line-height: 1.3; flex: 0 0 auto; }
.card-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.card-meta .cond { align-self: center; }
.card .price { font-size: 1.35rem; }
.card-buy { margin-top: auto; padding-top: 6px; display: grid; gap: 6px; }
.buy-row { display: flex; gap: 6px; }
.stepper { flex: 1 1 0; display: flex; min-width: 0; border: 1px solid #cfccc3; border-radius: 8px; overflow: hidden; background: #fff; height: 40px; }
.stepper button { flex: 0 0 32px; border: 0; background: #f3f1ea; font-size: 1.15rem; font-weight: 700; cursor: pointer; color: var(--ink); }
.stepper button:hover { background: #e9e6dc; }
.stepper input { flex: 1 1 0; min-width: 0; width: 0 !important; height: 100%; margin: 0 !important; border: 0 !important; border-radius: 0 !important;
  padding: 0 !important; text-align: center; font-weight: 700; -moz-appearance: textfield; appearance: textfield; }
.stepper input::-webkit-inner-spin-button, .stepper input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.single { flex: 1; display: flex; align-items: center; font-size: .85rem; font-weight: 700; color: var(--hot); }
.btn-cart { flex: 0 0 44px; height: 40px; border: 1.5px solid var(--ink); background: #fff; color: var(--ink); border-radius: 8px; display: grid; place-items: center; cursor: pointer; }
.btn-cart:hover, .btn-cart.added { background: var(--ink); color: #fff; }
.btn-now { width: 100%; height: 42px; border: 0; border-radius: 8px; background: var(--sig); color: var(--ink); font: inherit; font-weight: 800; cursor: pointer; }
.btn-now:hover { filter: brightness(.95); }

.buy { display: block; }
.buy .qty { margin-bottom: 10px; }
.buy-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; max-width: 460px; }
.buy-btns .btn { padding: 14px 10px; font-size: 1.05rem; }

.toast { position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 50; background: var(--ink); color: #fff;
  padding: 12px 16px; border-radius: 10px; box-shadow: 0 6px 24px rgba(0,0,0,.25); max-width: calc(100% - 32px); display: flex; gap: 14px; align-items: center; font-weight: 600; }
.toast[hidden] { display: none; }
.toast.err { background: #8a1414; }
.toast a { color: var(--sig); white-space: nowrap; }

.filters summary { list-style: none; }
.filters summary::-webkit-details-marker { display: none; }
.filters summary::before { content: "▸ "; }
.filters[open] summary::before { content: "▾ "; }
@media (min-width: 900px) {
  .filter-form { display: flex; flex-wrap: wrap; gap: 0 24px; align-items: flex-start; }
  .filter-form fieldset { flex: 1 1 180px; max-height: 220px; overflow-y: auto; }
  .filter-form > .btn, .filter-form > .reset { align-self: center; }
}
@media (max-width: 480px) {
  .card-body { padding: 8px 9px 10px; }
  .card-title { font-size: .92rem; }
  .card .price { font-size: 1.2rem; }
  .stepper { height: 38px; }
  .stepper button { flex-basis: 26px; }
  .btn-cart { flex-basis: 38px; height: 38px; }
  .btn-now { height: 40px; font-size: .95rem; }
  .tag { font-size: .62rem; }
}
.btn-cart.wide { flex: 1 1 auto; display: flex; gap: 8px; justify-content: center; font: inherit; font-weight: 700; font-size: .9rem; }
.qty-line { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; font-weight: 600; }
.qty-line .stepper { flex: 0 0 150px; height: 44px; }
.designed { display: inline-block; margin: 2px 0; font-size: .8rem; font-weight: 700; color: #0f5426; background: #e3f4e8; padding: 1px 8px; border-radius: 99px; }
.btn-design { display: block; max-width: 460px; margin-top: 10px; background: #fff; color: var(--ink); border: 2px dashed var(--ink); padding: 12px; font-size: 1rem; }
.btn-design:hover { background: #fffbe0; }
.mk-price { font-size: 1.6rem; }
.tag-design { background: #fff; color: var(--ink); border: 1px solid var(--ink); }
.design-link { color: var(--ink); border-style: dashed; text-decoration: none; }
.sum-row > :last-child { white-space: nowrap; flex-shrink: 0; }

/* Weiterempfehlen */
.share { margin: 18px 0 6px; }
.share-h { display: block; font-weight: 700; font-size: .9rem; margin-bottom: 8px; }
.share-btns { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.sh { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 44px; height: 44px; border-radius: 999px;
  border: 0; color: #fff; background: #555; text-decoration: none; cursor: pointer; font: inherit; font-weight: 700; padding: 0 11px; }
.sh:hover, .sh:focus-visible { filter: brightness(1.1); outline: 2px solid var(--ink); outline-offset: 2px; }
.sh-whatsapp { background: #25D366; } .sh-facebook { background: #1877F2; } .sh-telegram { background: #229ED9; }
.sh-pinterest { background: #E60023; } .sh-x { background: #000; } .sh-linkedin { background: #0A66C2; }
.sh-email { background: #555; } .sh-sms { background: #2E7D32; } .sh-link, .sh-qr { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.sh-native { background: var(--sig); color: var(--ink); padding: 0 16px; }
.sh-native[hidden] { display: none; }
@media (hover: hover) and (pointer: fine) { .sh-mobile { display: none; } }
.share-compact { margin: 10px 0 0; }
.share-compact .share-h { display: inline; margin-right: 6px; font-weight: 600; color: var(--ink2); }
.share-compact .share-btns { display: inline-flex; vertical-align: middle; }
.share-compact .sh { min-width: 36px; height: 36px; padding: 0 8px; }
.foot-share { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px; border-top: 1px solid #333; padding-top: 14px; margin-bottom: 12px; }
.share-dark { margin: 0; }
.share-dark .share-h { color: #fff; }
.share-dark .sh-link, .share-dark .sh-qr { background: #2a2a2a; color: #fff; border-color: #444; }
.review-link { color: var(--sig) !important; font-weight: 700; }
.review-box { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; background: #fffbe0; border-color: #f0dc6a; }
dialog.qr-dialog { border: 0; border-radius: var(--r); padding: 20px; text-align: center; max-width: min(92vw, 340px); }
dialog.qr-dialog::backdrop { background: rgba(0,0,0,.55); }
dialog.qr-dialog img { display: block; margin: 0 auto 8px; width: 260px; height: 260px; max-width: 100%; }
dialog.qr-dialog .btn { margin: 6px 4px 0; }

/* Suchvorschläge */
form.search { position: relative; }
.suggest { position: absolute; left: 0; right: 0; top: calc(100% + 4px); background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: var(--r);
  box-shadow: 0 10px 30px rgba(0,0,0,.18); z-index: 50; overflow: hidden; max-height: 70vh; overflow-y: auto; }
.suggest a { display: flex; align-items: center; gap: 10px; padding: 8px 12px; text-decoration: none; color: inherit; border-bottom: 1px solid var(--line); }
.suggest a:hover, .suggest a.on { background: #fff8cc; }
.suggest img { width: 44px; height: 44px; object-fit: cover; border-radius: 6px; flex-shrink: 0; background: #eee; }
.suggest-t { flex: 1; min-width: 0; display: flex; flex-direction: column; font-size: .92rem; line-height: 1.25; }
.suggest-t small { color: var(--ink2); }
.suggest b { white-space: nowrap; }
.suggest-all { justify-content: center; font-weight: 700; font-size: .9rem; border-bottom: 0 !important; }
.suggest-note { margin: 0; padding: 8px 12px; font-size: .85rem; color: var(--ink2); background: #f7f6f1; }
.corrected { background: #fff8cc; border-radius: 8px; padding: 8px 12px; }

/* Versandkostenfrei-Hinweis */
.freeship { margin: 12px 0; padding: 10px 12px; border-radius: var(--r); background: #fff8e6; border: 1px solid #f0d38a; font-size: .95rem; }
.freeship.ok { background: #eaf7ee; border-color: #9fd5ad; }
.freeship p { margin: 0 0 6px; }
.freeship progress { width: 100%; height: 8px; accent-color: var(--good); }
.freeship-sugg { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 6px; }
.freeship-sugg li { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.freeship-sugg a { display: flex; align-items: center; gap: 8px; min-width: 0; color: inherit; }
.freeship-sugg a span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .9rem; }
.freeship-sugg img { border-radius: 6px; object-fit: cover; flex-shrink: 0; }
.toast-free { color: var(--sig); }

/* PLZ-Hilfe */
.plz-hint { margin: -4px 0 10px; padding: 6px 10px; border-radius: 8px; background: #f2f6fb; }
.plz-hint.warn { background: #fff4e5; }
.plz-hint[hidden] { display: none; }
.plz-hint .link-btn { font-weight: 600; }
.delivery { margin: 2px 0 0; color: var(--good); }
.delivery-note { margin: 0 0 8px; }

/* Wieder-da-Benachrichtigung */
.stock-alert { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 14px; margin: 10px 0 16px; }
.stock-alert p { margin: 4px 0; }
.stock-alert .row { display: flex; gap: 8px; flex-wrap: wrap; margin: 8px 0; }
.stock-alert input[type=email] { flex: 1 1 200px; min-width: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.narrow-page { max-width: 640px; }
.row-btns { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }

/* Feste Kaufleiste (nur Handy) */
.buybar { display: none; }
@media (max-width: 760px) {
  .buybar:not([hidden]) { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; gap: 10px; align-items: center; justify-content: space-between;
    background: #fff; border-top: 1px solid var(--line); padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); box-shadow: 0 -6px 18px rgba(0,0,0,.08); }
  .buybar-info { display: flex; flex-direction: column; min-width: 0; }
  .buybar-name { font-size: .82rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--muted, #666); }
  .buybar-info b { font-size: 1.1rem; }
  .buybar .btn { flex-shrink: 0; }
  body.has-buybar .toast { bottom: 84px; }
  body.has-buybar { padding-bottom: 72px; }
}
.price-note { margin: -4px 0 6px; }
.base-price { margin: 2px 0 6px; color: var(--muted, #555); font-size: .9rem; }
.card .base-price { margin: -2px 0 6px; }
.gpsr-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.gpsr .safety { margin-top: 12px; padding: 10px 12px; border-left: 4px solid #d29a00; background: #fff8e6; border-radius: 6px; }
.gpsr .safety p { margin: 4px 0 0; }
.withdrawal .form-text { border: 1px dashed var(--line); padding: 16px; border-radius: 8px; line-height: 1.7; }
@media print {
  .top, .foot, .chips, .noprint, .toast, .buybar { display: none !important; }
  body { background: #fff; }
  .page { box-shadow: none; padding: 0; }
}
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; margin: -1px; padding: 0; border: 0; }

/* Zahlarten in der Kasse */
.pay-opt { display: flex; gap: .55rem; align-items: flex-start; padding: .35rem 0; }
.pay-opt input { margin-top: .3rem; flex: none; }
.pay-opt small { font-weight: 400; }
.pay-opts { border: 0; padding: 0; margin: 0 0 .8rem; }
.pay-opts legend { margin-bottom: .3rem; }
.pay-opts .radio { display: block; padding: .2rem 0; }
.pay-opt[hidden], .pay-opts .radio[hidden] { display: none; }
.pay-opt small { line-height: 1.35; display: inline-block; margin-top: 2px; }
