.cart-overlay{position:fixed;inset:0;z-index:69;background:#0006;opacity:0;pointer-events:none;transition:opacity .25s}
.cart-overlay.open{opacity:1;pointer-events:auto}
.cart-overlay[hidden]{display:none}
.cart-panel{position:fixed!important;inset:0 0 0 auto!important;width:min(470px,100vw)!important;height:100vh!important;max-height:100vh!important;display:flex;flex-direction:column;overflow:hidden;background:#f8f7f3!important;z-index:71!important;padding:82px 32px 24px!important;transform:translateX(105%);transition:transform .32s cubic-bezier(.2,.8,.2,1)}
.cart-panel.open{transform:translateX(0)!important}
.cart-panel h2{display:flex;align-items:center;gap:10px;margin:0 0 20px!important;font-size:36px!important;line-height:1.1}
.cart-count,.bag-trigger em{display:inline-flex!important;align-items:center!important;justify-content:center!important;flex:0 0 22px!important;width:22px!important;height:22px!important;min-width:22px!important;max-width:22px!important;padding:0!important;margin:0 0 0 4px!important;border-radius:50%!important;background:#df3d33!important;color:#fff!important;font-size:10px!important;font-weight:600!important;font-style:normal!important;line-height:1!important;letter-spacing:0!important;text-align:center!important;font-variant-numeric:tabular-nums;white-space:nowrap;overflow:hidden}
.bag-trigger em{flex-basis:20px!important;width:20px!important;height:20px!important;min-width:20px!important;max-width:20px!important;margin-left:4px!important;font-size:10px!important}
.cart-items{flex:1;min-height:64px;overflow:auto;overscroll-behavior:contain;border-top:1px solid var(--line)}
.cart-items>p{font-size:13px;color:#777;line-height:1.5}
.cart-item{display:grid;grid-template-columns:72px minmax(0,1fr) auto;align-items:center;gap:12px;padding:14px 0;border-bottom:1px solid var(--line)}
.cart-item-photo,.cart-item-photo-empty{display:block;width:72px;height:72px;object-fit:contain;background:#fff}
.cart-item-info{display:grid;min-width:0;gap:4px}
.cart-item-info b,.cart-item-info small,.cart-item-info strong{overflow-wrap:anywhere}
.cart-item-info b{font-size:13px;line-height:1.3}
.cart-item-info small{font-size:11px;color:#696861}
.cart-item-info strong{font-size:12px;font-weight:600}
.cart-item button{font-size:10px;white-space:nowrap;padding:5px 0}
.cart-total{display:flex;justify-content:space-between;align-items:center;flex:0 0 auto;margin:15px 0 8px;padding-top:14px;border-top:1px solid var(--line);font-size:13px}
.cart-total b{font-size:15px;font-variant-numeric:tabular-nums}
.cart-panel .checkout{width:100%;flex:0 0 auto;margin-top:8px;padding:15px;border:0;background:#1c1c1b;color:#fff;font-size:12px;font-weight:600;cursor:pointer}
.cart-panel .checkout:disabled{opacity:.4;cursor:not-allowed}
.cart-panel .panel-close{position:absolute;z-index:2;top:17px;right:17px;border:0;border-radius:99px;padding:9px 13px;background:#171716;color:#fff;font-size:11px;cursor:pointer}
.site-header{background:var(--paper)!important}
.device-stage.tablet .cart-panel{right:max(0px,calc((100vw - 840px)/2))!important}
.device-stage.mobile .cart-panel{right:max(0px,calc((100vw - 440px)/2))!important;width:min(440px,100vw)!important}
@supports(height:100dvh){.cart-panel{height:100dvh!important;max-height:100dvh!important}}
@media(max-width:700px){.cart-panel{width:100vw!important;padding:82px 25px 22px!important}.cart-item{grid-template-columns:60px minmax(0,1fr);gap:10px}.cart-item-photo,.cart-item-photo-empty{width:60px;height:60px}.cart-item button{grid-column:2;justify-self:start}.cart-panel h2{margin-bottom:16px!important}}

/* One shared, clearly labeled demo checkout across every page with the cart. */
.checkout-panel{position:fixed!important;z-index:80!important;inset:50% auto auto 50%!important;display:block!important;width:min(500px,calc(100vw - 32px));max-width:none!important;max-height:calc(100vh - 32px);overflow:auto;padding:44px 38px 34px!important;background:#f8f7f3!important;box-shadow:0 18px 60px #17171630;transform:translate(-50%,-46%);visibility:hidden;pointer-events:none;opacity:0;transition:opacity .22s ease,transform .22s ease}
.checkout-panel.open{visibility:visible;pointer-events:auto;opacity:1;transform:translate(-50%,-50%)}
.checkout-panel .eyebrow{margin:0 0 14px}
.checkout-panel h2{margin:0 0 12px!important;font-size:34px!important;letter-spacing:-.055em;line-height:1.05}
.checkout-panel>p:not(.eyebrow){margin:0 0 24px;font-size:13px;line-height:1.55;color:#686762}
.checkout-panel label{display:block;margin:16px 0 0;font-size:11px;font-weight:600}
.checkout-panel input{display:block;width:100%;margin-top:6px;padding:11px 0;border:0;border-bottom:1px solid #c9c7c0;background:transparent;color:var(--ink);font:15px Onest,Arial,sans-serif;outline:none}
.checkout-panel input:focus{border-color:var(--ink)}
.checkout-panel .checkout-close{position:absolute;top:14px;right:14px;width:36px;height:36px;border:0;border-radius:50%;background:#e8e7e1;color:var(--ink);font-size:22px;cursor:pointer}
.checkout-panel .submit-order{margin-top:25px;padding:14px;border:0;background:#1c1c1b;color:#fff;font:600 12px Onest,Arial,sans-serif;cursor:pointer}
@supports(height:100dvh){.checkout-panel{max-height:calc(100dvh - 32px)}}
@media(max-width:700px){.checkout-panel{width:calc(100vw - 24px);max-height:calc(100vh - 24px);padding:52px 24px 26px!important}.checkout-panel h2{font-size:30px!important}}
