.ms003-drawer{position:fixed;inset:0;z-index:100000;visibility:hidden;pointer-events:none}
.ms003-drawer__backdrop{position:absolute;inset:0;width:100%;border:0;background:rgba(0,0,0,.52);opacity:0;transition:opacity .22s}
.ms003-drawer__panel{position:absolute;right:0;top:0;height:100%;height:100dvh;max-width:100%;width:min(440px,100%);background:#fff;display:flex;flex-direction:column;box-shadow:-8px 0 32px #0002;transform:translateX(101%);transition:transform .24s;overflow:hidden;outline:none;color:#222}
.ms003-drawer[data-open]{visibility:visible;pointer-events:auto}
.ms003-drawer[data-open] .ms003-drawer__backdrop{opacity:1}
.ms003-drawer[data-open] .ms003-drawer__panel{transform:translateX(0)}
body.ms003-drawer-open{overflow:hidden}
body.ms003-drawer-open loft-cart{display:none}
.ms003-drawer__header{padding:21px 24px 17px;border-bottom:1px solid #e8e8e8;display:flex;justify-content:space-between;align-items:center;gap:15px}
.ms003-drawer__header h2{font-size:21px;margin:0 0 4px;line-height:1.3;font-weight:700}
.ms003-drawer__header p{font-size:12px;color:#666;margin:0}
.ms003-drawer__close{border:0;background:transparent;font-size:31px;line-height:1;cursor:pointer;padding:6px 8px;color:#222}
.ms003-drawer__items{padding:16px 22px;flex:1;overflow-y:auto;min-height:80px;overscroll-behavior:contain}
.ms003-drawer__loading,.ms003-drawer__empty{font-size:15px;text-align:center;color:#666;margin:40px 0}
.ms003-drawer__item{display:grid;grid-template-columns:88px minmax(0,1fr);gap:14px;padding:16px 0;border-bottom:1px solid #eee}
.ms003-drawer__item:first-child{padding-top:3px}
.ms003-drawer__image{width:88px;height:102px;object-fit:cover;border-radius:5px;background:#f5f5f5}
.ms003-drawer__item-main{display:flex;flex-direction:column;gap:5px;min-width:0}
.ms003-drawer__name{font-size:14px;line-height:1.4;font-weight:600;color:#222;text-decoration:none}
.ms003-drawer__variant{font-size:12px;color:#666;line-height:1.4}
.ms003-drawer__item-price{font-weight:600;font-size:15px;margin-top:2px}
.ms003-drawer__actions{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:auto}
.ms003-drawer__quantity{display:flex;align-items:center;border:1px solid #d6d6d6;border-radius:5px;height:34px}
.ms003-drawer__quantity button{width:32px;height:32px;border:0;background:transparent;cursor:pointer;font-size:20px;color:#222}
.ms003-drawer__quantity span{min-width:25px;text-align:center;font-size:13px}
.ms003-drawer__remove{font-size:12px;color:#666;background:none;border:none;text-decoration:underline;cursor:pointer}
.ms003-drawer__footer{border-top:1px solid #e7e7e7;box-shadow:0 -3px 15px #00000008;padding:18px 24px 22px;flex-shrink:0;background:#fff}
.ms003-drawer__shipping p:first-child{font-size:13px;font-weight:600;margin:0 0 10px;line-height:1.45}
.ms003-drawer__track{height:7px;border-radius:30px;overflow:hidden;background:#e5e5e5}
.ms003-drawer__track span{display:block;background:#25714a;width:0;height:100%;border-radius:30px;transition:width .25s}
.ms003-drawer__terms{color:#666;font-size:11px;line-height:1.45;margin:9px 0 16px}
.ms003-drawer__subtotal{display:flex;justify-content:space-between;font-size:17px;font-weight:600;margin:0 0 7px}
.ms003-drawer__shipping-at-checkout{font-size:11px;line-height:1.4;color:#666;margin:0 0 13px}
.ms003-drawer__checkout{display:block;border:0;border-radius:5px;width:100%;background:#191919;color:white;min-height:48px;cursor:pointer;font-size:15px;font-weight:700}
.ms003-drawer__checkout:hover{background:#333}
.ms003-drawer__continue{display:block;border:0;background:transparent;text-decoration:underline;cursor:pointer;font-size:13px;margin:12px auto 0;color:#333}
.ms003-drawer__error{padding:10px 22px;background:#fff2f2;color:#9f1818;font-size:13px;margin:0}
.ms003-drawer button:focus-visible,.ms003-drawer a:focus-visible{outline:2px solid #1565c0;outline-offset:3px}
@media(max-width:749px){.ms003-drawer__panel{width:min(390px,100%)}.ms003-drawer__header{padding:16px 20px}.ms003-drawer__items{padding:12px 18px}.ms003-drawer__footer{padding:15px 19px 17px}}
@media(prefers-reduced-motion:reduce){.ms003-drawer__panel,.ms003-drawer__backdrop,.ms003-drawer__track span{transition:none}}
