/* Warenkorb-Flyout von rechts, Werte aus design.md (Aktion #1f2123, Hover #45484b, Rahmen #d3ced2, Inter). */
.at-drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 100001; width: min(420px, 100vw); display: flex; flex-direction: column; background: #fff; color: #1f2123; box-shadow: -8px 0 32px rgba(0,0,0,.18); transform: translateX(105%); transition: transform .3s cubic-bezier(.4,0,.2,1); font-family: Inter, sans-serif; }
.at-drawer.is-open { transform: translateX(0); }
.at-drawer-overlay { position: fixed; inset: 0; z-index: 100000; background: rgba(0,0,0,.45); }
.at-drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; border-bottom: 1px solid #d3ced2; }
.at-drawer__title { font-size: 14px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; }
.at-drawer__count { display: inline-block; min-width: 22px; height: 22px; line-height: 22px; margin-left: 6px; border-radius: 11px; background: #1f2123; color: #fff; font-size: 12px; text-align: center; }
.at-drawer__close { background: none; border: 0; font-size: 28px; line-height: 1; cursor: pointer; color: #1f2123; padding: 0 4px; }
.at-drawer__nudge { padding: 14px 24px; font-size: 13px; border-bottom: 1px solid #f0eef0; }
.at-drawer__nudge:empty { display: none; }
.at-drawer__nudge p { margin: 0 0 8px; }
.at-drawer__bar { height: 4px; background: #eee; border-radius: 2px; overflow: hidden; }
.at-drawer__bar span { display: block; height: 100%; background: #1f2123; }
.at-drawer__body { flex: 1; overflow-y: auto; padding: 8px 24px; }
.at-drawer__empty { margin: 40px 0; text-align: center; color: #737373; }
.at-drawer__items { list-style: none; margin: 0; padding: 0; }
.at-drawer__item { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; align-items: start; padding: 16px 0; border-bottom: 1px solid #f0eef0; position: relative; }
.at-drawer__item.is-updating { opacity: .5; pointer-events: none; }
.at-drawer__img img { display: block; width: 72px; height: 72px; object-fit: cover; border-radius: 4px; }
.at-drawer__name { display: block; font-size: 14px; font-weight: 600; color: #1f2123; text-decoration: none; padding-right: 18px; }
.at-drawer__info .variation { font-size: 12px; color: #737373; margin: 4px 0 0; }
.at-drawer__info .variation dt, .at-drawer__info .variation dd { display: inline; margin: 0; }
.at-drawer__info .variation dd p { display: inline; margin: 0; }
.at-drawer__qty { display: inline-flex; align-items: center; margin-top: 10px; border: 1px solid #d3ced2; border-radius: 4px; }
.at-drawer__qty button { width: 32px; height: 32px; background: none; border: 0; cursor: pointer; font-size: 16px; color: #1f2123; }
.at-drawer__qty-val { min-width: 28px; text-align: center; font-size: 14px; }
.at-drawer__price { font-size: 14px; white-space: nowrap; padding-top: 2px; }
.at-drawer__remove { position: absolute; top: 12px; right: -6px; font-size: 18px; color: #737373; text-decoration: none; }
.at-drawer__foot { padding: 20px 24px calc(20px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid #d3ced2; }
.at-drawer__subtotal { display: flex; justify-content: space-between; font-size: 16px; font-weight: 700; }
.at-drawer__vat { margin: 4px 0 16px; font-size: 12px; color: #737373; }
.at-drawer__checkout { display: block; text-align: center; font: 700 12px/1 Inter, sans-serif; letter-spacing: 1px; text-transform: uppercase; padding: 16px 24px; border-radius: 4px; background: #1f2123; color: #fff !important; text-decoration: none; }
.at-drawer__checkout:hover { background: #45484b; }
.at-drawer__continue { display: block; margin-top: 12px; text-align: center; font-size: 13px; color: #1f2123; }
@media (prefers-reduced-motion: reduce) { .at-drawer { transition: none; } }
