.cart-drawer[open]{display:flex;flex-direction:column;overflow:hidden;width:min(480px,100%);padding:24px;gap:0;background:#fff}
.cart-drawer .drawer-heading{flex-shrink:0}.cart-drawer .drawer-heading h2{font-size:22px}.cart-drawer [data-cart-count]{font-size:14px;color:var(--muted);margin-left:8px}
.cart-status{font-size:14px;line-height:1.5;margin:14px 0;flex-shrink:0}.cart-status:empty{margin:0}.cart-status.is-error,.product-form-error{color:#a12d20}.product-form-error{font-size:14px;line-height:1.5}
.cart-drawer-items{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain}.cart-drawer .cart-item{grid-template-columns:85px minmax(0,1fr);gap:16px}.cart-drawer .cart-item>img{width:85px;height:100px;object-fit:cover}.cart-drawer .cart-item h3{font-size:16px;font-weight:500;line-height:1.45;padding:0;color:var(--blue);overflow-wrap:anywhere}.cart-drawer .cart-item p{font-size:14px;overflow-wrap:anywhere}.cart-line-price{display:block;margin:8px 0;font-size:16px;color:var(--blue)}.cart-line-price del{color:var(--muted);font-size:13px;margin-right:8px}
.cart-drawer .quantity-control button{width:40px;height:40px}.cart-drawer .quantity-control span{width:32px;font-size:14px}.cart-remove{font-size:13px;text-decoration:underline;min-height:44px;padding:0 8px}.cart-drawer .cart-summary{flex-shrink:0;border-top:1px solid var(--line);padding-top:18px;margin-top:0}.cart-drawer .cart-summary>p{font-size:13px;margin:10px 0 16px}.cart-drawer .cart-summary[hidden]{display:none}.cart-page-link{display:block;text-align:center;text-decoration:underline;font-size:14px;padding:14px 0 0;flex-shrink:0}.cart-drawer button:disabled{opacity:.5;cursor:wait}.cart-drawer .cart-empty{padding:60px 12px}.cart-drawer .cart-empty p{font-size:16px}.cart-drawer :focus-visible{outline:2px solid var(--blue);outline-offset:3px}
@media(max-width:480px){.cart-drawer[open]{padding:20px 18px;padding-bottom:max(20px,env(safe-area-inset-bottom))}.cart-drawer .cart-item h3{font-size:15px}}
