/* Warenkorb: Karten-, Badge- und Akkordeon-Muster im Stil von shadcn/ui, mit den vorhandenen Shop-Farben. */
:root{--cx-line:var(--fb-line,#d9dfe3);--cx-ink:var(--fb-brand-ink,#17394c);--cx-mut:var(--fb-muted,#5d6b76);--cx-card:#fff;--cx-soft:#f0f4f7}
body:has(#main.cartview) .config-brands{display:none!important}
body:has(#checkout-form) .fb-notice-toast{display:none}
.cart-preview-unavailable{font-size:12px;color:#465866}
html body #main.cartview .cart-thumb:has([data-mf24-position-art]){background:transparent;border-color:transparent}
.cart-thumb>svg{width:100%;height:100%;max-height:140px}
html body #main.cartview{max-width:1296px;margin-inline:auto;padding-inline:24px}
.cx-trust{list-style:none;margin:20px 0 28px;padding:0;display:grid;grid-template-columns:repeat(4,1fr);gap:12px}
.cx-trust li{display:flex;gap:12px;align-items:flex-start;padding:14px 16px;background:var(--cx-card);border:1px solid var(--cx-line);border-radius:14px;box-shadow:0 1px 2px rgba(20,35,50,.04)}
.cx-trust svg{flex:none;width:22px;height:22px;margin-top:2px;color:var(--cx-ink)}
.cx-trust b{display:block;font-size:14px;color:var(--cx-ink)}
.cx-trust small{display:block;margin-top:2px;font-size:12.5px;line-height:1.4;color:var(--cx-mut)}
/* Positionskarte */
html body #main.cartview .cart-line{border:1px solid var(--cx-line);border-radius:16px;background:var(--cx-card);box-shadow:0 1px 3px rgba(20,35,50,.06),0 8px 24px rgba(20,35,50,.04)}
/* The total has its own row: long labels and six-digit amounts must never compete for one narrow cell. */
html body #main.cartview .cart-grid{grid-template-columns:minmax(0,1fr) 360px;gap:28px}
html body #main.cartview .cart-totals{min-width:0;padding:24px;border:1px solid var(--cx-line);border-radius:0;background:var(--cx-card);box-shadow:none;position:static}
html body #main.cartview .cart-totals h2{margin:0 0 22px;font-size:24px;line-height:1.2;letter-spacing:normal}
html body #main.cartview .cart-totals dl{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);gap:12px 16px;margin:0;padding:0;border:0;align-items:start}
html body #main.cartview .cart-totals dl>*{min-width:0;margin:0;line-height:1.45;overflow-wrap:anywhere}
html body #main.cartview .cart-totals dt{font-size:14px;font-weight:500;color:var(--cx-mut)}
html body #main.cartview .cart-totals dd{font-size:15px;font-weight:650;text-align:right;font-variant-numeric:tabular-nums}
html body #main.cartview .cart-totals dd.muted{font-size:13px;font-weight:500;line-height:1.5}
html body #main.cartview .cart-totals dt.sum{grid-column:1/-1;display:block;white-space:normal;margin:6px 0 0;padding:18px 0 0;border-top:1px solid var(--cx-line);font-size:14px;font-weight:600;line-height:1.4;color:var(--cx-ink)}
html body #main.cartview .cart-totals dd.sum{grid-column:1/-1;display:block;margin:-6px 0 0;padding:0;border:0;text-align:left;font-size:32px;font-weight:600;line-height:1.2;letter-spacing:normal;color:var(--cx-ink);white-space:nowrap}
html body #main.cartview .cart-totals .vat{grid-column:1/-1;margin:-6px 0 0;font-size:12px;line-height:1.5}
html body #main.cartview .cart-totals .totals-note{margin:18px 0;padding:0;border:0;font-size:13px;line-height:1.6;color:var(--cx-mut)}
/* Calm, stable actions in checkout; the global expanding-dot effect changes their text width. */
html body #main.cartview :is(.cart-empty,.cart-totals,.ck-sticky) button.cart-summary-action{display:flex;align-items:center;justify-content:center;width:100%;min-width:0;min-height:48px;margin:0;padding:12px 16px;gap:0;font-family:inherit;font-size:var(--fb-type-body,16px);font-weight:600;line-height:1.4;white-space:normal;text-align:center;cursor:pointer;box-shadow:none;transform:none;transition:background-color .18s ease,border-color .18s ease}
html body #main.cartview :is(.cart-empty,.cart-totals,.ck-sticky) button.cart-summary-action::before,
html body #main.cartview :is(.cart-empty,.cart-totals,.ck-sticky) button.cart-summary-action::after{display:none!important;content:none!important}
html body #main.cartview :is(.cart-empty,.cart-totals,.ck-sticky) button.cart-summary-primary{display:flex;background:var(--fb-action-solid,#146848)!important;border:1px solid var(--fb-action-solid,#146848)!important;color:#fff!important}
html body #main.cartview :is(.cart-empty,.cart-totals,.ck-sticky) button.cart-summary-primary:hover{background:var(--fb-action-hover,#0e5139)!important;border-color:var(--fb-action-hover,#0e5139)!important}
html body #main.cartview .cart-totals button.cart-summary-secondary{margin-top:10px;background:#fff!important;border:1px solid var(--cx-line)!important;color:var(--cx-ink)!important}
html body #main.cartview .cart-totals button.cart-summary-secondary:hover{background:var(--cx-soft)!important;border-color:var(--cx-ink)!important}
html body #main.cartview :is(.cart-empty,.cart-totals,.ck-sticky) button.cart-summary-action:focus-visible{outline:2px solid var(--fb-ring,#bb5105);outline-offset:2px}
html body #main.cartview :is(.cart-empty,.cart-totals,.ck-sticky) button.cart-summary-action:disabled{background:var(--cx-soft)!important;border-color:var(--cx-line)!important;color:var(--cx-mut)!important;cursor:not-allowed}
html body #main.cartview .cart-totals .cart-next{margin:20px 0 0;padding:18px 0 0;border-top:1px solid var(--cx-line);font-size:12.5px;line-height:1.5;color:var(--cx-mut)}
html body #main.cartview .cart-totals .cart-next p{margin:0 0 8px}
html body #main.cartview .cart-totals .cart-next b{font-weight:650;color:var(--cx-ink)}
html body #main.cartview .cart-totals .cart-next ol{margin:0;padding-left:18px}
html body #main.cartview .cart-totals .cart-next li{padding-left:2px;margin:0 0 5px}
html body #main.cartview .cart-totals .cart-next .cart-help{margin:14px 0 0}
html body #main.cartview .cart-side{min-width:0}
html body #main.cartview .cart-side .cart-price strong{font-variant-numeric:tabular-nums;white-space:nowrap}
html body #main.cartview .cart-side .cart-price span{display:block;max-width:28ch;font-size:12px;font-weight:500;line-height:1.55;overflow-wrap:anywhere}
html body #main.cartview .cart-side .qty{display:grid;grid-template-columns:44px 52px 44px;gap:0;flex:none;width:142px;max-width:100%;min-width:0}
html body #main.cartview .cart-side .qty :is(button,input){width:100%;min-width:0;height:44px;margin:0;padding:0}
@media(min-width:1101px) and (min-height:900px){html body #main.cartview .cart-totals{position:sticky;top:24px}}
@media(max-width:1200px){
 html body #main.cartview .cart-grid{grid-template-columns:minmax(0,1fr);gap:24px}
 html body #main.cartview .cart-totals{width:100%;max-width:none}
 html body #main.cartview .cart-side{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px}
 html body #main.cartview .cart-side .cart-price{flex:1 1 130px;min-width:0}
}
@media(max-width:700px){
 html body #main.cartview .cart-totals{padding:20px}
 html body #main.cartview .cart-totals h2{font-size:20px;margin-bottom:20px}
 html body #main.cartview .cart-totals dd.sum{font-size:30px}
 html body #main.cartview .cart-totals dd.muted{grid-column:1/-1;text-align:left;margin-top:-6px}
 html body #main.cartview .cart-side .cart-price{max-width:100%}
 html body #main.cartview .cart-line{min-width:0}
 html body #main.cartview{padding-bottom:calc(136px + env(safe-area-inset-bottom))}
 /* Reserve the second action column for the existing support launcher, so it cannot cover a price. */
 html body #main.cartview .ck-sticky{display:grid!important;grid-template-columns:minmax(0,1fr) 64px;align-items:center;gap:12px;position:fixed;inset:auto 0 0;margin:0;width:auto;padding:12px 16px calc(12px + env(safe-area-inset-bottom));border-top:1px solid var(--cx-line);background:#fff;box-shadow:none;z-index:40}
 html body #main.cartview .ck-sticky>span{grid-column:1/-1;min-width:0;display:flex;align-items:baseline;justify-content:space-between;gap:8px}
 html body #main.cartview .ck-sticky small{font-size:11px;line-height:1.35;color:var(--cx-mut)}
 html body #main.cartview .ck-sticky b{font-size:clamp(16px,4vw,18px);line-height:1.25;letter-spacing:-.025em;white-space:nowrap}
 html body #main.cartview .ck-sticky button.cart-summary-action{grid-column:1;width:100%;max-width:none}
}
#main.cartview #checkout-form input[aria-invalid="true"] { border-color: #a22925; }
#checkout-form .ck-field-error { display: block; color: #8e2421; font-size: 0.875rem; font-weight: 600; }
@media (max-width: 760px) {
  body:has(#main.cartview .ck-sticky)::after { content: ""; display: block; height: var(--fb-cart-bar-height, 110px); }
}
@media(prefers-reduced-motion:reduce){html body #main.cartview :is(.cart-empty,.cart-totals,.ck-sticky) button.cart-summary-action{transition:none}}
html body #main.cartview .cart-thumb{background:var(--cx-soft);border:1px solid var(--cx-line);border-radius:12px}
html body #main.cartview .cart-thumb:has(img[src$="-isolated.webp"]){background:transparent;border-color:transparent}
.cart-sub .cx-badge,.cx-badge{display:inline-flex;align-items:center;margin:2px 6px 2px 0;padding:3px 10px;border:1px solid var(--cx-line);border-radius:999px;background:var(--cx-soft);color:var(--cx-ink);font:550 12.5px/1.4 Manrope,sans-serif;font-style:normal}
.cart-specs dd.cx-open{display:inline-flex;align-items:center;padding:2px 10px;border:1px dashed #c4a35a;border-radius:999px;background:#fbf5e6;color:#7a5b10;font-size:12.5px;font-weight:600}
.cx-todo{margin:10px 0 4px;padding:10px 12px;border-radius:10px;background:#fbf5e6;color:#6e520f;font-size:13.5px}
.cx-link{border:0;background:none;padding:0;font:inherit;font-weight:650;color:var(--cx-ink);text-decoration:underline;text-underline-offset:3px;cursor:pointer;min-height:24px}
/* Leerer Warenkorb */
.cx-empty .cx-empty-card{border:1px solid var(--cx-line)!important;border-style:solid!important;border-radius:16px;background:var(--cx-card);box-shadow:0 1px 3px rgba(20,35,50,.06);padding:28px 24px}
html body #main.cartview .cart-empty button.cart-summary-action {width:auto;max-width:100%;margin:0}
html body #main.cartview .cart-info .cart-specs dt,html body #main.cartview .cart-head .ck-progress {
  text-transform:none;letter-spacing:normal;font-size:var(--fb-type-label,14px);color:var(--cx-mut);
}
html body #main.cartview :is(.cart-head,.cart-empty,.cart-next,.totals-note,.cx-faq) p {font-size:var(--fb-type-body,16px);line-height:1.5}
html body #main.cartview .cart-empty {display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:14px 24px;padding:clamp(18px,2vw,28px);text-align:left}
html body #main.cartview .cart-empty p {max-width:55ch;margin:0}
@media(max-width:600px){html body #main.cartview .cart-empty{grid-template-columns:1fr}html body #main.cartview .cart-empty button.cart-summary-action{width:100%}}
html body #main.cartview .cart-line .cart-act {text-transform:none;letter-spacing:normal}
html body #main.cartview :is(.cart-empty,.cart-totals,.ck-sticky) button.cart-summary-action {border-radius:var(--fb-action-radius,2px)}
/* Weiterstöbern */
.cx-below{margin-top:40px;display:grid;gap:40px}
.cx-below h2{margin:0 0 16px;font-size:22px;color:var(--cx-ink)}
.cx-cards{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.cx-card{display:flex;flex-direction:column;width:100%;height:100%;padding:0;text-align:left;border:1px solid var(--cx-line);border-radius:16px;overflow:hidden;background:var(--cx-card);cursor:pointer;box-shadow:0 1px 3px rgba(20,35,50,.06);transition:box-shadow .3s,transform .3s,border-color .3s;font:inherit;color:inherit}
.cx-card:hover{box-shadow:0 10px 30px rgba(20,35,50,.12);transform:translateY(-2px);border-color:#b4c0c9}
.cx-card:focus-visible{outline:2px solid var(--cx-ink);outline-offset:3px}
.cx-card-img{display:block;aspect-ratio:3/2;overflow:hidden;background:var(--cx-soft)}
.cx-card-img img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .6s}
.cx-card:hover .cx-card-img img{transform:scale(1.04)}
.cx-card-body{display:grid;gap:4px;padding:14px 16px 16px}
.cx-card-body b{font-size:17px;color:var(--cx-ink)}
.cx-card-body small{font-size:13.5px;line-height:1.45;color:var(--cx-mut)}
.cx-card-go{display:inline-flex;align-items:center;gap:6px;margin-top:6px;font-weight:650;font-size:14px;color:var(--cx-ink)}
.cx-card-go svg{width:16px;height:16px}
/* FAQ */
.cx-faq{max-width:820px}
.cx-faq details{border-bottom:1px solid var(--cx-line)}
.cx-faq summary{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:16px 0;cursor:pointer;font-weight:600;color:var(--cx-ink);list-style:none;min-height:44px}
.cx-faq summary::-webkit-details-marker{display:none}
.cx-faq summary::after{content:"+";flex:none;font-size:22px;line-height:1;color:var(--cx-mut);transition:transform .25s}
.cx-faq details[open] summary::after{transform:rotate(45deg)}
.cx-faq details p{margin:0 0 16px;max-width:68ch;color:var(--cx-mut);line-height:1.6}
.cx-faq summary:focus-visible{outline:2px solid var(--cx-ink);outline-offset:2px}
.cx-links{display:flex;flex-wrap:wrap;gap:8px 20px;margin:16px 0 0;font-size:14px}
.cx-links a{color:var(--cx-ink)}
@media (max-width:1000px){.cx-trust{grid-template-columns:repeat(2,1fr)}}
@media (max-width:700px){.cx-cards{grid-template-columns:1fr}.cx-trust{grid-template-columns:1fr}html body #main.cartview{padding-inline:16px}}
@media (prefers-reduced-motion:reduce){.cx-card,.cx-card-img img,.cx-faq summary::after{transition:none}.cx-card:hover{transform:none}.cx-card:hover .cx-card-img img{transform:none}}

/* Einheitliches Hauptdesign: eckig, flach, ohne Symbole, gleiche Schrift wie der übrige Shop. */
.cx-trust li,html body #main.cartview .cart-line,html body #main.cartview .cart-totals,html body #main.cartview .cart-thumb,.cx-empty .cx-empty-card,.cx-card,.cx-todo{border-radius:0!important;box-shadow:none!important}
.cx-badge,.cart-sub .cx-badge,.cart-specs dd.cx-open{border-radius:0!important}
.cx-card:hover{transform:none;box-shadow:none!important;border-color:var(--cx-ink)}
.cx-card:hover .cx-card-img img{transform:none}
.cx-trust li{padding:14px 16px;border-width:1px 0 0 0;border-top:2px solid var(--cx-ink);background:transparent}
.cx-trust b,.cx-card-body b{font-family:var(--fb-font,system-ui);letter-spacing:normal}
html body #main.cartview :is(.cart-head h1,.cart-info h2,.cx-below h2,.cart-totals h2) {letter-spacing:normal;text-transform:none}
html body #main.cartview .checkout legend {font-family:var(--fb-font-heading,var(--fb-font,system-ui));font-weight:600;line-height:1.22;letter-spacing:normal}
html body #main.cartview :is(.cart-dims,.qty,.cart-price,.cart-totals dd,.ck-sticky b) {font-variant-numeric:tabular-nums}
html body #main.cartview :is(.cart-act,.cart-dims,.cx-badge,.ck-progress,.checkout .field>span) {font-family:var(--fb-font,system-ui);letter-spacing:normal;text-transform:none}
.cx-card-go::after{content:"→";font-weight:600}
html body #main.cartview :is(.btn,button){border-radius:var(--fb-action-radius,2px)}
html body #main.cartview :is(input,select){border-radius:2px}
html body #main.cartview span:empty{border-radius:0}
html body #main.cartview :is(.ck-steps,.cart-steps,.checkout-steps,.flow-steps,[class*="steps"]) span{border-radius:0!important}

/* Mobile cart puts products first; existing detailed disclosures keep every option reachable. */
@media(max-width:700px){
 html body #main.cartview{padding-top:16px;padding-inline:12px}
 html body #main.cartview .picker-head{margin-bottom:18px}
 html body #main.cartview .picker-head h1{font-size:26px;line-height:1.2;margin:8px 0}
 html body #main.cartview .picker-head>p{font-size:14px;line-height:1.5}
 html body #main.cartview .cart-line{padding:12px;gap:10px;grid-template-columns:72px minmax(0,1fr)}
 html body #main.cartview .cart-thumb{width:72px;height:86px}
 html body #main.cartview .cart-info h2{font-size:17px;line-height:1.3}
 html body #main.cartview .cart-sub{font-size:13px}
 html body #main.cartview .cart-info .cart-specs{display:none}
 html body #main.cartview .cart-info .cart-all{font-size:14px;margin:0}
 html body #main.cartview .cart-side{gap:10px;padding-top:10px}
 html body #main.cartview .cart-side .cart-price{flex:1 1 100px}
 html body #main.cartview .cart-side .cart-price strong{font-size:20px}
 html body #main.cartview .cart-side .cart-price span{font-size:11px}
 html body #main.cartview .cart-actions{display:flex;gap:6px;flex-wrap:wrap}
 html body #main.cartview .cart-act{font-size:12px;min-height:44px;padding:8px}
 html body #main.cartview .cart-totals{padding:16px}
 html body #main.cartview .cx-trust{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:24px 0}
 html body #main.cartview .cx-trust li{padding:10px 0}.cx-trust b{font-size:13px}.cx-trust small{font-size:12px}
 .cx-below{gap:28px;margin-top:24px}.cx-below h2{font-size:20px}
 .cx-cards{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.cx-card-img{width:100%;aspect-ratio:1.3}.cx-card-body{padding:10px 7px;gap:4px}.cx-card-body b{font-size:13px;overflow-wrap:anywhere}.cx-card-body small{display:none}.cx-card-go{font-size:11px;overflow-wrap:anywhere}
 html body #main.cartview .ck-progress{gap:8px;font-size:var(--fb-type-small,12px);flex-wrap:wrap}
 html body #main.cartview .checkout{min-width:0}
 html body #main.cartview .checkout fieldset{padding:14px;margin:0 0 14px;border-radius:2px}
 html body #main.cartview .checkout legend{font-size:18px;padding:0 4px}
 html body #main.cartview .checkout .dims{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
 html body #main.cartview .checkout .field:has(#ck-mail),html body #main.cartview .checkout .field:has(#ck-phone){grid-column:1/-1}
 html body #main.cartview .checkout :is(input:not([type=radio]):not([type=checkbox]),textarea){font-size:16px;min-height:44px;padding:10px;width:100%;min-width:0}
 html body #main.cartview .checkout textarea{height:88px}
 html body #main.cartview .checkout .field>span{font-size:13px;margin-bottom:5px}
 html body #main.cartview .checkout .choices{gap:8px}.checkout .choice.radio{min-height:52px;padding:10px}
 html body #main.cartview .ck-mini{margin:0 0 16px;font-size:14px}
}

.done-print-order {
  display: none;
}
@media print {
  body:has(.done-print-order) :is(.testbar, .top, .steps-wrap, .logo-rail, .site-foot, #fb-chat),
  .done-page :is(.done-ico, .done-steps, .done-actions, .done-more) {
    display: none !important;
  }
  .done-page .done-print-order {
    display: block;
    margin: 1em 0;
    padding: 0;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    color: #172b38;
    font: 10pt/1.4 system-ui, sans-serif;
    text-align: left;
  }
}
