/* Progressive drawer for the existing shop-section cart; dedicated cart pages stay inline. */
body.shop-cart-open { overflow: hidden; }
.shop-cart-drawer { box-sizing: border-box; position: fixed; inset: 0 0 0 auto; width: min(460px, 100%); height: 100dvh; max-height: 100dvh; max-width: 100%; margin: 0; padding: 24px; border: 0; background: #fff; color: #171717; overflow-y: auto; box-shadow: -12px 0 48px #0002; }
.shop-cart-drawer::backdrop { background: #0006; }
.shop-cart-drawer [data-shop-cart-content] { margin: 0; padding: 0; border: 0; }
.shop-cart-drawer h2 { margin: 24px 0; font-size: 24px; letter-spacing: 0; text-transform: none; }
.shop-cart-close { display: block; margin-left: auto; padding: 10px; }
.shop-cart-line { display: grid; grid-template-columns: 1fr auto; gap: 12px; padding: 20px 0; border-bottom: 1px solid #e5e5e5; overflow-wrap: anywhere; }
.shop-cart-line > span { grid-column: 1 / -1; }
.shop-cart-quantity { display: flex; align-items: center; gap: 16px; }
.shop-cart-quantity button { min-width: 44px; min-height: 44px; border: 1px solid #d4d4d4; border-radius: 6px; background: #fff; color: #171717; }
.shop-cart-line strong { align-self: center; font-variant-numeric: tabular-nums; }
.shop-cart-drawer [data-cart-total] { margin: 24px 0; font-size: 22px; font-weight: 600; }
.shop-cart-drawer button[type=submit] { width: 100%; justify-content: center; min-height: 48px; }
.shop-cart-drawer button:disabled { opacity: .5; cursor: not-allowed; }
[data-open-shop-cart] { margin-top: 24px; padding: 12px 20px; border: 1px solid #d4d4d4; border-radius: 24px; }
.shop-cart-drawer :focus-visible { outline: 2px solid #171717; outline-offset: 3px; }
@media (max-width: 480px) { .shop-cart-drawer { padding: 20px; } }
