/* A full-height right tray, separate from the fixed page chrome. */
.basket-tray{position:fixed;inset:0 0 0 auto;margin:0;width:min(100%,480px);max-width:100%;height:100%;height:100dvh;max-height:100%;padding:0;border:0;color:#173e26;background:#fff;box-shadow:-12px 0 48px #0003;overflow:hidden;animation:basket-enter .24s ease-out;overscroll-behavior:none}
.basket-tray::backdrop{background:#0007;backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px)}
.basket-tray-panel{height:100%;display:flex;flex-direction:column;padding:env(safe-area-inset-top) 0 env(safe-area-inset-bottom);box-sizing:border-box}
.basket-tray-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px;border-bottom:1px solid #80808030;flex-shrink:0}
.basket-tray-heading h1{margin:0;font-size:26px}.basket-tray-heading button{font:inherit;color:inherit;width:auto;padding:10px 14px}
.basket-tray-content{padding:20px;overflow-y:auto;overscroll-behavior:contain;min-height:0}.basket-layout-note{font-size:13px;opacity:.65;margin-top:32px}
.basket-item-list{padding:0;margin:0;list-style:none}.basket-item-row{display:flex;align-items:center;gap:16px;padding:20px 0;border-bottom:1px solid #80808030}.basket-item-image{width:56px;height:64px;border:1px solid #80808040;border-radius:10px;flex-shrink:0}.basket-item-lines{display:grid;gap:12px;flex:1}.basket-item-lines span,.basket-item-price{height:8px;background:currentColor;opacity:.12;border-radius:4px}.basket-item-lines span:last-child{width:60%}.basket-item-price{width:36px}
html[data-display="dark"] .basket-tray{color:#d7c7a3;background:#0d0d0d}html[data-basket-open] #app{overflow:hidden}
@keyframes basket-enter{from{transform:translateX(100%)}to{transform:translateX(0)}}
@media(prefers-reduced-motion:reduce){.basket-tray{animation:none}}

/* Match the current app header; initial modal focus is visually quiet. */
.basket-tray-heading{box-sizing:border-box;height:var(--basket-header-height,64px);min-height:64px;padding:8px 20px}
.basket-tray .basket-tray-heading button:focus{outline:none;box-shadow:none}
.basket-tray[data-keyboard-focus] .basket-tray-heading button:focus-visible{outline:2px solid currentColor;outline-offset:3px;box-shadow:none}

.basket-tray-heading button a2v-icon{width:22px;height:22px;transform:none}
.basket-tray[data-closing]{animation:basket-exit .22s ease-in forwards}
.basket-tray[data-closing]::backdrop{animation:basket-backdrop-exit .22s ease-in forwards}
@keyframes basket-exit{to{transform:translateX(100%)}}
@keyframes basket-backdrop-exit{to{background:transparent;backdrop-filter:blur(0);-webkit-backdrop-filter:blur(0)}}
@media(prefers-reduced-motion:reduce){.basket-tray[data-closing],.basket-tray[data-closing]::backdrop{animation:none}}
