.mobile-checkout-tools,.mobile-item-count{display:none}
body.address-modal-open{overflow:hidden}
body.address-modal-open :is(.checkout-quick,.mobile-shop-bar,.mobile-bottom-nav){visibility:hidden!important;pointer-events:none!important}
.address-dialog.address-picker[open]{display:flex!important;flex-direction:column;padding:0!important;overflow:hidden!important;max-height:85dvh}
.address-picker>header,.address-picker-footer{flex-shrink:0;padding:12px!important;background:#fff;position:static!important}
.address-picker>header h2{font-size:18px}
.address-picker-list{overflow:auto;overscroll-behavior:contain;padding:0 12px 12px;min-height:0}
.address-picker .address-card{padding:12px;margin:8px 0;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:start}
.address-choice{display:flex!important;gap:10px;min-width:0;cursor:pointer}
.address-choice>input{width:20px!important;height:20px!important;min-width:20px!important;margin:3px 0;flex-shrink:0}
.address-choice>span{min-width:0;font-size:14px;line-height:1.5}
.address-choice>span>span{display:block;margin-top:4px;overflow-wrap:anywhere;color:#526477}
.address-picker .address-card button{padding:6px!important;min-height:44px;min-width:44px;font-size:13px!important}
.address-picker-footer{border-top:1px solid #dce5e8;padding-bottom:calc(12px + env(safe-area-inset-bottom))!important}
.address-picker-footer button{width:100%;min-height:44px}
.cart-undo{padding:8px 12px;font-size:13px;background:#fff7eb}.cart-undo button{min-height:44px;margin-left:8px}
@media(max-width:767px){
 body:has(dialog[open]){overflow:hidden!important}
 body:has(dialog[open]) :is(.mobile-bottom-nav,.mobile-shop-bar,.checkout-quick){visibility:hidden!important;pointer-events:none!important}
 body :is(.mobile-checkout-tools button,.address-dialog button,#cartDrawer button){touch-action:manipulation}
 body :is(.mobile-checkout-tools button,.address-dialog button,#cartDrawer button):focus-visible{outline:3px solid #1677ff;outline-offset:2px}
 body.cart-open{overflow:hidden!important}
 body #cartDrawer .drawer-remove-corner::before,body #cartDrawer .drawer-remove-corner::after{content:none!important;display:none!important}
 body :is(#cartDrawer,#cartItems,#checkoutItems) :is(.cart-gift-line,.checkout-gift-line){display:grid!important;grid-template-columns:44px minmax(0,1fr)!important;gap:8px!important;min-width:0!important}
 body :is(#cartDrawer,#cartItems,#checkoutItems) :is(.cart-gift-line,.checkout-gift-line)>div{grid-column:2!important;min-width:0!important;width:auto!important}
 body :is(#cartDrawer,#cartItems,#checkoutItems) :is(.cart-gift-line,.checkout-gift-line)>:only-child{grid-column:1/-1!important}
 body :is(#cartDrawer,#cartItems,#checkoutItems) :is(.cart-gift-line,.checkout-gift-line)>img{width:44px!important;height:44px!important;object-fit:contain}
 body #cartDrawer{display:flex!important;flex-direction:column!important;max-height:calc(100dvh - 16px)!important;height:calc(100dvh - 16px)!important;padding:12px!important;box-sizing:border-box;overflow:hidden!important}
 body #cartDrawer .drawer-head{flex-shrink:0;padding:0 0 8px!important;margin:0!important}
 body #cartDrawer .drawer-head h2{font-size:20px!important;margin:0!important}
 body #cartDrawer .drawer-head p{font-size:12px!important;margin:4px 0!important}
 body #cartDrawer .drawer-head .eyebrow,body #cartDrawer .drawer-note{display:none!important}
 body #cartDrawer #drawerCartItems{flex:1 1 auto!important;min-height:0!important;max-height:none!important;overflow:auto!important;padding:0!important;overscroll-behavior:contain}
 body #cartDrawer .drawer-cart-line{display:grid!important;grid-template-columns:60px minmax(0,1fr) 48px!important;gap:8px!important;padding:10px!important;position:relative!important}
 body #cartDrawer .drawer-remove-corner{position:static!important;transform:none!important;grid-column:3!important;grid-row:1!important;align-self:start;width:48px!important;height:44px!important;min-width:0!important;margin:0!important;padding:0!important;border-radius:6px!important;font-size:12px!important;box-shadow:none!important}
 body #cartDrawer .drawer-image-box{grid-column:1!important;grid-row:1!important;width:60px!important;height:60px!important}
 body #cartDrawer .drawer-image-box img{width:100%!important;height:100%!important;object-fit:contain}
 body #cartDrawer .drawer-cart-info{grid-column:2!important;grid-row:1!important;min-width:0;padding:0!important}
 body #cartDrawer .drawer-cart-info b{font-size:14px!important;line-height:1.4!important}
 body #cartDrawer .drawer-cart-info :is(span,strong){font-size:12px!important;white-space:normal!important;overflow:visible!important;overflow-wrap:anywhere}
 body #cartDrawer .drawer-line-bottom{grid-column:1/-1!important;display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:6px!important;padding:0!important}
 body #cartDrawer .drawer-qty{display:flex!important;gap:4px!important;width:auto!important;justify-self:start}
 body #cartDrawer .drawer-qty :is(button,input){width:44px!important;min-width:44px!important;height:44px!important;padding:4px!important;font-size:16px!important}
 body #cartDrawer .drawer-line-total{display:block!important;position:static!important;text-align:right;font-size:16px!important;white-space:normal!important;overflow-wrap:anywhere}
 body #cartDrawer :is(.cart-gift-list,.drawer-stock-note){grid-column:1/-1!important}
 body :is(#cartDrawer,#cartItems,#checkoutItems) :is(.cart-gift-line,.checkout-gift-line) :is(b,span){white-space:normal!important;text-overflow:clip!important;overflow:visible!important;display:block!important;overflow-wrap:anywhere;font-size:12px!important;-webkit-line-clamp:unset!important}
 body #cartDrawer #drawerCartSummary{flex-shrink:0;margin:8px 0!important;padding:8px!important;gap:4px 8px!important;font-size:12px!important}
 body #cartDrawer #drawerCartSummary strong{font-size:20px!important}
 body #cartDrawer #drawerCartSummary :is(small,.drawer-summary-title){display:none!important}
 body #cartDrawer .drawer-actions{flex-shrink:0;display:flex!important;flex-wrap:wrap;gap:6px!important;padding:0!important;margin:0!important}
 body #cartDrawer #drawerCheckoutBtn{flex-basis:100%;min-height:44px!important;font-size:15px!important;padding:10px!important}
 body #cartDrawer .drawer-actions>:not(#drawerCheckoutBtn){flex:1;min-height:36px!important;padding:6px!important;font-size:12px!important;border:0!important;background:transparent!important;box-shadow:none!important}
 body #cartItems .modern-cart-line{grid-template-columns:60px minmax(0,1fr) 48px!important;padding:10px!important}
 body #cartItems .modern-cart-line .cart-line-info{grid-column:2!important;grid-row:1!important}
 body #cartItems .modern-cart-line>.remove-btn{position:static!important;transform:none!important;grid-column:3!important;grid-row:1!important;min-width:0!important;width:48px!important;min-height:44px!important;padding:4px!important;font-size:12px!important;align-self:start}
 body #cartItems .modern-cart-line>.qty{grid-column:1/-1!important}
 body #cartItems .modern-cart-line>.cart-line-total{grid-column:1/-1!important;text-align:right;font-size:16px!important}
 body #checkoutItems .checkout-order-item{grid-template-columns:56px minmax(0,1fr)!important;padding:10px!important;gap:6px 10px!important}
 body #checkoutItems .checkout-order-item>div:nth-child(2){grid-column:2!important;grid-row:1!important}
 body #checkoutItems .checkout-order-item h3{font-size:14px!important;margin:0!important;line-height:1.4!important}
 body #checkoutItems .checkout-order-item>strong{grid-column:2!important;font-size:16px!important;text-align:right;overflow-wrap:anywhere}
 body .mobile-checkout-tools{display:flex;gap:8px;margin:8px 0}
 body .mobile-checkout-tools button{min-height:44px;font-size:13px;padding:8px}
 body #checkoutItems .mobile-item-count{display:block;grid-column:2;font-size:13px}
 body #checkoutItems:not(.mobile-edit-items) .checkout-qty-control{display:none!important}
 body #checkoutItems.mobile-edit-items .mobile-item-count{display:none}
 body #checkoutItems .checkout-qty-control{grid-column:1/-1!important;justify-self:start!important;width:auto!important;display:flex!important;gap:4px!important}
 body #checkoutItems .checkout-qty-control :is(button,input){width:44px!important;height:44px!important;min-width:44px!important;padding:4px!important;font-size:16px!important}
 body #checkoutItems:not(.mobile-all-items):not(.mobile-edit-items)>.checkout-order-item:nth-child(n+3){display:none!important}
 body .mobile-checkout-tools[hidden],body .mobile-checkout-tools [hidden]{display:none!important}
 body .address-dialog{width:calc(100% - 16px)!important;max-width:calc(100% - 16px)!important;margin:auto!important;border-radius:12px!important}
 body .address-dialog :is(input,textarea){font-size:16px!important}
}
