
/* Gemeinsamer Warenkorb auf den bestehenden Buchseiten */
.empa-sitebar .empa-cart-open{position:relative;flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;width:42px;height:40px;border:1px solid var(--sb-border);background:var(--sb-hover);border-radius:11px;color:var(--sb-ink);cursor:pointer;margin-left:2px}
.empa-sitebar .empa-cart-open:hover{background:var(--sb-selected)}
.empa-sitebar .empa-cart-open svg{width:21px;height:21px}
.empa-sitebar .empa-cart-count{position:absolute;top:-7px;right:-7px;min-width:19px;height:19px;border-radius:14px;padding:2px 4px;background:#a55270;color:#fff;font-size:10px;font-weight:800;line-height:15px;text-align:center;box-sizing:border-box}
.empa-sitebar[data-brand="games"] .empa-cart-count{background:#e8c17a;color:#261b18}
.empa-cart-count[hidden]{display:none!important}
.empa-add-to-cart{appearance:none;border:0;border-radius:10px;min-height:43px;padding:10px 15px;color:#fff;background:#855070;font:760 .84rem/1.2 Inter,system-ui,-apple-system,'Segoe UI',sans-serif;cursor:pointer;white-space:nowrap;box-shadow:0 4px 12px rgba(40,16,28,.08)}
.empa-add-to-cart:hover{filter:brightness(1.12)}
.empa-add-to-cart:focus-visible,.empa-sitebar .empa-cart-open:focus-visible{outline:3px solid #b47a98;outline-offset:3px}
.empa-product-order{display:flex;gap:14px;align-items:center;justify-content:center;flex-wrap:wrap;margin:13px auto 0;width:100%}
.empa-product-order .empa-price{font:800 1.2rem/1.3 Inter,system-ui,sans-serif;color:#62364c;white-space:nowrap}
.book-section .empa-product-order{justify-content:center;max-width:460px;margin-top:14px}
.book-section .empa-product-order .empa-price{color:#fff0d4}
.book-section .empa-add-to-cart{background:#eed3a8;color:#211714}
.book-section .empa-add-to-cart:hover{background:#ffe1af}
@media(min-width:620px){.book-section .empa-product-order{justify-content:flex-start;margin-left:0}}
.empa-cart-backdrop[hidden]{display:none!important}
.empa-cart-backdrop{position:fixed;inset:0;z-index:10000;background:rgba(19,12,18,.58);display:flex;justify-content:flex-end;align-items:stretch}
.empa-cart-dialog{display:flex;flex-direction:column;width:min(435px,100vw);min-width:0;max-height:100dvh;background:#fff;color:#332d31;box-shadow:-15px 0 55px rgba(10,5,10,.26);font-family:Inter,system-ui,-apple-system,'Segoe UI',sans-serif;line-height:1.45}
.empa-cart-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:22px 22px 18px;border-bottom:1px solid #eadfe4}
.empa-cart-header h2{font:700 1.55rem/1.2 Georgia,'Times New Roman',serif;margin:0;color:#493243}
.empa-cart-close{border:1px solid #e4d7de;background:#fff;width:38px;height:38px;border-radius:50%;font-size:25px;line-height:1;cursor:pointer;color:#543d4b}
.empa-cart-products{flex:1;overflow:auto;padding:11px 22px 26px}
.empa-cart-empty{margin:20px 0;color:#6c5e67;font-size:.95rem}
.empa-cart-item{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center;padding:17px 0;border-bottom:1px solid #ede5e9}
.empa-cart-name{font-weight:750;font-size:.92rem;line-height:1.36;color:#483340}
.empa-cart-line-total{margin-top:5px;font-weight:800;color:#825270;font-size:.87rem}
.empa-cart-controls{display:flex;align-items:center;gap:7px}
.empa-cart-controls button{width:32px;height:32px;border:1px solid #e1d3dc;border-radius:8px;background:#fff;cursor:pointer;font-weight:750;font-size:18px;color:#543a4d}
.empa-cart-controls output{min-width:20px;text-align:center;font-variant-numeric:tabular-nums;font-size:.92rem;font-weight:700}
.empa-cart-footer{border-top:1px solid #eadfe4;padding:19px 22px 24px;background:#fff;display:flex;justify-content:space-between;gap:20px;align-items:center}
.empa-cart-footer strong{font-size:1.13rem;color:#493243;white-space:nowrap}
.empa-cart-footer span{font-size:.92rem;color:#5e5058}
body.empa-cart-opened{overflow:hidden}
@media(max-width:420px){.empa-sitebar .empa-nav-inner{gap:7px}.empa-sitebar .empa-cart-open{height:38px;width:39px}.empa-cart-header{padding:18px 17px 15px}.empa-cart-products{padding-inline:17px}.empa-cart-footer{padding:18px 17px}}

/* EmPa Books · V53: product quantities, quiet notification, visual cart */
.empa-product-order{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:11px;width:min(100%,460px);max-width:460px;margin:19px auto 0;box-sizing:border-box}
.empa-order-pricing{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:clamp(7px,2vw,17px);align-items:center;width:100%;box-sizing:border-box}
.empa-order-price-cell,.empa-order-qty-cell,.empa-order-total-cell{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-width:0}
.empa-order-label{font:600 .72rem/1.25 Inter,system-ui,sans-serif;letter-spacing:.015em;color:#846f7b}
.empa-product-order .empa-price,.empa-order-total-cell strong{font:800 clamp(.86rem,2.5vw,1.05rem)/1.25 Inter,system-ui,sans-serif;white-space:nowrap;font-variant-numeric:tabular-nums;color:#663d54}
.empa-order-total-cell strong{color:#9a426b}
.empa-order-quantity{display:flex;align-items:center;justify-content:center;gap:0;height:38px;border:1px solid #dccdd5;background:#fff;border-radius:10px;overflow:hidden;box-shadow:0 2px 7px rgba(36,15,29,.04)}
.empa-order-quantity button{appearance:none;border:0;background:transparent;color:#674252;font:700 1.24rem/1 Inter,system-ui,sans-serif;cursor:pointer;width:34px;height:38px;display:grid;place-items:center}
.empa-order-quantity button:hover:not(:disabled){background:#f7eaf0}
.empa-order-quantity button:disabled{opacity:.33;cursor:default}
.empa-order-quantity output{min-width:26px;text-align:center;font:750 .94rem/1 Inter,system-ui,sans-serif;color:#442c3d;font-variant-numeric:tabular-nums}
.empa-order-quantity button:focus-visible,.empa-cart-controls button:focus-visible,.empa-cart-remove:focus-visible{outline:2px solid #b17c96;outline-offset:-2px}
.empa-product-order>.empa-add-to-cart{width:min(100%,250px);min-height:43px;text-align:center;margin:0;justify-content:center}
.book-section .empa-product-order{margin:20px auto 0;max-width:460px;justify-content:center}
.book-section .empa-order-label{color:#bfb0b6}
.book-section .empa-product-order .empa-price,.book-section .empa-order-total-cell strong{color:#fcebd0}
.book-section .empa-order-total-cell strong{color:#f0cd8f}
.book-section .empa-order-quantity{background:#30262a;border-color:#6d585c}
.book-section .empa-order-quantity button{color:#f8e6ce}
.book-section .empa-order-quantity button:hover:not(:disabled){background:#47343b}
.book-section .empa-order-quantity output{color:#fff}
@media(max-width:380px){.empa-order-pricing{gap:6px}.empa-order-quantity button{width:31px}.empa-order-quantity output{min-width:22px}.empa-order-label{font-size:.68rem}.empa-product-order .empa-price,.empa-order-total-cell strong{font-size:.84rem}}
/* Drawer */
.empa-cart-backdrop{backdrop-filter:blur(3px);background:rgba(23,16,22,.57)}
.empa-cart-dialog{width:min(460px,100vw);background:#fdfafb}
.empa-cart-header{padding:23px 24px 20px;background:linear-gradient(125deg,#fff,#faf1f6)}
.empa-cart-header h2{letter-spacing:-.02em}
.empa-cart-products{padding:16px 19px 24px;display:flex;flex-direction:column;gap:13px}
.empa-cart-item{border:1px solid #eee4e9;border-radius:16px;background:white;box-shadow:0 5px 18px rgba(49,21,38,.045);padding:12px;display:grid;grid-template-columns:74px minmax(0,1fr);gap:13px;align-items:start}
.empa-cart-thumb{width:74px;height:86px;object-fit:contain;background:#f7f0f3;border-radius:10px;border:1px solid #f0e7ea;box-sizing:border-box;display:block}
.empa-cart-item-info{min-width:0;display:flex;flex-direction:column;gap:5px}
.empa-cart-item-heading{display:flex;align-items:start;gap:4px;justify-content:space-between}
.empa-cart-name{font-size:.95rem;font-weight:760;line-height:1.28;color:#3f2d39;min-width:0}
.empa-cart-unit{font-size:.77rem;color:#87747f}
.empa-cart-item-bottom{display:flex;justify-content:space-between;align-items:center;gap:6px;flex-wrap:wrap;margin-top:4px}
.empa-cart-line-total{font-weight:800;color:#7a405f;font-size:.93rem;margin:0;white-space:nowrap;font-variant-numeric:tabular-nums}
.empa-cart-controls{gap:0;background:#fff;border:1px solid #e4d9df;border-radius:9px;overflow:hidden}
.empa-cart-controls button{width:29px;height:29px;border:0;border-radius:0;font-size:17px;background:transparent}
.empa-cart-controls button:hover{background:#f7edf2}
.empa-cart-controls output{min-width:26px;font-size:.87rem}
.empa-cart-remove{width:28px;height:28px;border:0;border-radius:8px;background:transparent;color:#a18695;font-size:17px;cursor:pointer;display:grid;place-items:center;flex:0 0 auto}
.empa-cart-remove:hover{background:#f9edf2;color:#8e365e}
.empa-cart-empty{padding:22px 10px;margin:0;text-align:center}
.empa-cart-footer{background:#fff;box-shadow:0 -7px 25px rgba(37,16,33,.045);padding:22px 24px;flex-shrink:0}
.empa-cart-footer strong{font-variant-numeric:tabular-nums}
/* Brief and nonblocking confirmation */
.empa-cart-toast[hidden]{display:none!important}
.empa-cart-toast{position:fixed;z-index:11000;top:76px;right:clamp(12px,4vw,36px);max-width:min(370px,calc(100vw - 24px));padding:13px 17px;background:#32202d;color:#fff;border:1px solid rgba(255,255,255,.14);border-radius:13px;font:650 .9rem/1.35 Inter,system-ui,sans-serif;box-shadow:0 12px 30px rgba(21,13,20,.22);pointer-events:none;animation:empaToastIn .18s ease-out both}
.empa-cart-toast:before{content:'✓';display:inline-grid;place-items:center;margin-right:9px;width:22px;height:22px;border-radius:50%;background:#dbebdc;color:#246637;font-size:13px;font-weight:900;vertical-align:middle}
@keyframes empaToastIn{from{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:420px){.empa-cart-header{padding:18px 17px 15px}.empa-cart-products{padding:13px 12px 22px}.empa-cart-item{grid-template-columns:64px minmax(0,1fr);padding:10px;gap:10px}.empa-cart-thumb{width:64px;height:77px}.empa-cart-footer{padding:17px}.empa-cart-toast{top:65px;left:12px;right:12px;max-width:none;text-align:center}}
