.global-selection-overlay{position:fixed;z-index:90;inset:0;background:rgba(18,20,18,.48);backdrop-filter:blur(3px);opacity:0;visibility:hidden;transition:opacity .24s ease,visibility .24s ease}
.global-selection-overlay.is-open{opacity:1;visibility:visible}
.global-selection-drawer{position:fixed;z-index:91;inset:0 0 0 auto;width:min(520px,100%);padding:clamp(22px,4vw,40px);display:flex;flex-direction:column;background:#fffefa;color:#262923;box-shadow:-16px 0 54px rgba(20,24,20,.16);transform:translateX(102%);transition:transform .3s cubic-bezier(.2,.75,.25,1);visibility:hidden}
.global-selection-drawer.is-open{transform:translateX(0);visibility:visible}
.global-selection-head{display:flex;align-items:center;justify-content:space-between;padding-bottom:20px;border-bottom:2px solid #282a25}
.global-selection-head h2{margin:0;font-size:20px;font-weight:700;letter-spacing:.01em}
.global-selection-close{padding:10px 0 10px 14px;border:0;background:none;color:inherit;font:inherit;cursor:pointer}
.global-selection-items{flex:1;overflow:auto;padding:10px 0}
.global-selection-empty{padding:36px 0;color:#73756d;line-height:1.7}
.global-selection-row{display:grid;grid-template-columns:82px minmax(0,1fr) auto;align-items:center;gap:16px;padding:18px 0;border-bottom:1px solid #e6e3dc}
.global-selection-thumb{width:82px;height:82px;object-fit:contain;background:#f4f2eb}
.global-selection-details h3,.global-selection-details p{margin:0;font-size:14px;line-height:1.55}
.global-selection-details p{color:#73756d}
.global-selection-quantity{display:flex;align-items:center;gap:12px;margin-top:9px;font-size:14px;font-weight:700}
.global-selection-quantity button{width:30px;height:30px;border:1px solid #343630;border-radius:50%;background:transparent;color:inherit;font-size:18px;cursor:pointer}
.global-selection-remove{border:0;background:none;color:#73756d;font-size:12px;cursor:pointer}
.global-selection-bottom{padding-top:18px;border-top:2px solid #282a25}
.global-selection-clear{display:block;margin:0 auto 14px;padding:8px 12px;border:0;background:transparent;color:#73756d;font:inherit;font-size:12px;text-decoration:underline;cursor:pointer}
.global-selection-clear:disabled{visibility:hidden}
.global-selection-total{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px;font-size:14px}
.global-selection-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:0 0 8px}
.global-selection-actions button{min-height:42px;padding:9px 12px;border:1px solid #c9c5bc;border-radius:4px;background:transparent;color:#35362f;font:inherit;font-size:13px;font-weight:650;cursor:pointer}
.global-selection-actions button:hover:not(:disabled){border-color:#35362f;background:#f4f2eb}
.global-selection-actions button:disabled{opacity:.45;cursor:not-allowed}
.global-selection-status{min-height:20px;margin:0 0 8px;color:#625f57;font-size:12px;line-height:1.5}
.global-selection-actions button:focus-visible,.global-selection-clear:focus-visible,.global-selection-continue:focus-visible,.global-selection-close:focus-visible{outline:3px solid #796b50;outline-offset:3px}
.global-selection-continue{display:flex;min-height:50px;align-items:center;justify-content:center;background:#d96836;color:white;text-decoration:none;font-size:14px;font-weight:700}
body.has-global-selection{overflow:hidden}
@media(max-width:520px){.global-selection-row{grid-template-columns:66px minmax(0,1fr) auto;gap:12px}.global-selection-thumb{width:66px;height:66px}.global-selection-remove{max-width:42px}}
@media(prefers-reduced-motion:reduce){.global-selection-overlay,.global-selection-drawer{transition:none}}
