.cart-drawer {position:fixed;inset:0 0 0 auto;margin:0;width:min(440px,100vw);max-width:100vw;height:100dvh;max-height:100dvh;padding:0;border:0;border-radius:24px 0 0 24px;background:#fff;color:#0e2433;box-shadow:-16px 0 64px #0e24332b;font:400 15px/1.5 'Instrument Sans',sans-serif;overflow:hidden;}
.cart-drawer[open] {display:flex;flex-direction:column;animation:cart-slide .25s ease-out;}
.cart-drawer::backdrop {background:#0e24337a;}
.cart-drawer * {box-sizing:border-box;}
.cart-drawer-header {display:flex;align-items:center;justify-content:space-between;gap:12px;padding:24px;background:#f3eef9;border-bottom:1px solid #e4d9f1;flex:none;}
.cart-drawer-header p {margin:0 0 4px;font-size:12px;text-transform:uppercase;letter-spacing:.08em;color:#542192;}
.cart-drawer-header h2 {margin:0;font:800 28px 'Bricolage Grotesque',sans-serif;}
#cart-drawer-count {display:inline-grid;place-items:center;min-width:28px;height:28px;padding:0 6px;border-radius:50%;background:#542192;color:#fff;font:700 14px 'Instrument Sans',sans-serif;vertical-align:middle;}
.cart-drawer button {font:inherit;cursor:pointer;}
#cart-drawer-close {display:grid;place-items:center;width:44px;height:44px;border:1px solid #d7c7e9;border-radius:50%;background:white;color:#542192;}
#cart-drawer-close svg {width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;}
#cart-drawer-status {margin:0;padding:10px 24px;font-size:13px;color:#542192;border-bottom:1px solid #edf0f3;overflow-wrap:anywhere;flex:none;}
#cart-drawer-status:empty {display:none;}
.cart-drawer-items {flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;padding:8px 24px;}
.cart-drawer-item {display:grid;grid-template-columns:76px 1fr;gap:14px;padding:18px 0;border-bottom:1px solid #e5eaf0;}
.cart-drawer-item img {width:76px;height:90px;object-fit:contain;border-radius:12px;background:#f4f7fa;}
.cart-drawer-item h3 {margin:0 0 6px;font:700 15px/1.4 'Bricolage Grotesque',sans-serif;overflow-wrap:anywhere;}
.cart-drawer-item h3 a {color:inherit;text-decoration:none;}
.cart-drawer-item p {margin:0 0 8px;color:#542192;font-weight:600;}
.cart-drawer-item .cart-item-unavailable {color:#a62d43;font-size:12px;}
.cart-item-controls {display:flex;align-items:center;flex-wrap:wrap;gap:4px;}
.cart-item-controls button {min-width:40px;min-height:40px;border:1px solid #e0d4ee;border-radius:8px;color:#542192;background:#f6f1fb;}
.cart-item-controls input {width:48px;min-height:40px;text-align:center;border:1px solid #c5d0d8;border-radius:8px;font:inherit;color:#0e2433;background:#fff;}
.cart-item-controls .cart-item-remove {padding:0 8px;margin-left:auto;border:0;background:none;text-decoration:underline;font-size:12px;}
.cart-drawer-footer {padding:20px 24px calc(20px + env(safe-area-inset-bottom,0px));flex:none;background:#fff;border-top:1px solid #e1e7ed;}
.cart-drawer-footer>div {display:flex;justify-content:space-between;gap:10px;}
.cart-drawer-footer strong {font-size:21px;}
.cart-drawer-footer p {font-size:12px;color:#526572;margin:6px 0 14px;}
#cart-drawer-checkout {display:flex;align-items:center;justify-content:space-between;min-height:50px;padding:12px 18px;background:#542192;color:#fff;border-radius:12px;text-decoration:none;font-weight:700;}
#cart-drawer-checkout[aria-disabled="true"] {opacity:.45;pointer-events:none;}
#cart-continue-shopping {display:block;margin:8px auto 0;min-height:40px;border:0;background:none;color:#542192;text-decoration:underline;}
.cart-drawer :focus-visible {outline:3px solid #9f78d0;outline-offset:2px;}
body.cart-is-open {overflow:hidden!important;}
.cart-item-controls button {min-width:44px;min-height:44px;}
.cart-item-controls input {min-height:44px;}
.cart-empty {padding:44px 4px;text-align:center;}
.cart-empty a {display:inline-flex;align-items:center;min-height:44px;color:#542192;font-weight:700;}
@keyframes cart-slide {from {transform:translateX(100%);opacity:.5;}to {transform:none;opacity:1;}}
@media(max-width:480px) {.cart-drawer {border-radius:0;width:min(390px,100vw);} .cart-drawer-header {padding:20px;} .cart-drawer-items {padding:0 18px;} .cart-drawer-footer {padding-left:18px;padding-right:18px;} .cart-drawer-item {grid-template-columns:64px 1fr;} .cart-drawer-item img {width:64px;} }
@media(prefers-reduced-motion:reduce) {.cart-drawer[open] {animation:none;}}
