/* Shared live-cart controls for the desktop panel and the mobile bar. */
.lmp-mobile-cart-ui{display:none}
.lmp-template .lmp-purchase-actions:has(>button:only-child){grid-template-columns:1fr}
 .lmp-template .lmp-panel-form.lmp-cart-ready>:is(.lmp-purchase-total,.lmp-quantity,.lmp-purchase-actions,.lmp-cart-status){display:none!important}
 .lmp-template .lmp-cart-ready .lmp-mobile-cart-ui{display:grid;grid-template-columns:1fr;gap:12px;align-items:center;min-height:48px}
 .lmp-mobile-price{min-width:0;display:none;flex-direction:column;gap:3px;line-height:1.1;color:#fff}
 .lmp-mobile-price del{font:500 12px/1.2 'Barlow Condensed',sans-serif;color:#aeb6c1;text-decoration:line-through}
 .lmp-mobile-price strong{font:800 clamp(19px,5.5vw,24px)/1.1 'Barlow Condensed',sans-serif!important;letter-spacing:-.02em;white-space:nowrap}
 body .lmp-template :is(.lmp-mobile-add,.lmp-mobile-go-cart){display:flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:48px;padding:10px 12px!important;margin:0;border:1px solid transparent;border-radius:9px;background:var(--ui-accent,#F13B43)!important;color:var(--ui-accent-ink,#fff)!important;font:800 17px/1.2 'Barlow Condensed',sans-serif!important;text-decoration:none!important;text-align:center;box-shadow:none;cursor:pointer}
 body .lmp-template :is(.lmp-mobile-add,.lmp-mobile-go-cart):hover{filter:brightness(1.07)}
 .lmp-mobile-add:disabled{opacity:.65;cursor:wait!important}
 .lmp-mobile-in-cart{display:grid;grid-template-columns:116px minmax(0,1fr);gap:10px;min-width:0;align-items:center}
 .lmp-mobile-stepper{display:grid;grid-template-columns:44px 1fr 44px;align-items:center;border:1px solid #647080;border-radius:9px;min-height:48px;color:#fff;overflow:hidden}
 body .lmp-template .lmp-mobile-stepper button{display:grid;place-items:center;min-width:0;min-height:46px;padding:0!important;margin:0;border:0;border-radius:0;background:transparent!important;color:inherit;font:500 23px/1 'DM Sans',sans-serif!important;box-shadow:none;cursor:pointer;touch-action:manipulation}
 .lmp-mobile-stepper output{font:700 16px/1 'DM Sans',sans-serif!important;text-align:center;color:inherit}
 .lmp-mobile-stepper button:disabled{opacity:.35;cursor:default!important}
 .lmp-mobile-toast{position:relative;display:flex;align-items:center;gap:9px;min-height:74px;padding:10px 6px 10px 12px;border:1px solid #368d61;border-radius:12px;background:#161d27;color:#f7f8fa;box-shadow:0 5px 18px #0003;z-index:1}
 .lmp-desktop-cart-feedback:has(.lmp-mobile-toast:not([hidden])){margin-top:12px}
 .lmp-mobile-toast-icon{flex:0 0 30px;height:30px;border-radius:50%;background:#179956;color:#fff;display:grid;place-items:center;font:800 18px 'DM Sans',sans-serif!important}
 .lmp-mobile-toast-photo{width:38px!important;height:44px!important;object-fit:contain;border-radius:4px;background:#f3f5f7;padding:2px;margin:0!important;flex-shrink:0}
 .lmp-mobile-toast-copy{display:flex;flex-direction:column;gap:4px;flex:1;min-width:0}
 .lmp-mobile-toast-copy strong{font:800 17px/1.15 'Barlow Condensed',sans-serif!important;color:#fff}
 .lmp-mobile-toast-copy>span{font:400 11px/1.45 'DM Sans',sans-serif!important;color:#c5cdd8;overflow-wrap:anywhere}
 body .lmp-template .lmp-mobile-toast-close{flex:0 0 36px;min-height:44px;padding:0!important;background:transparent!important;color:#c5cdd8;border:0;font:400 24px/1 'DM Sans',sans-serif!important;box-shadow:none;cursor:pointer}
 .lmp-mobile-toast.is-error{border-color:#F13B43}.lmp-mobile-toast.is-error .lmp-mobile-toast-icon{background:#b02e3d}.lmp-mobile-toast.is-error .lmp-mobile-toast-photo{display:none}
 body .lmp-template .lmp-mobile-floating-cart{position:fixed;top:auto;bottom:calc(clamp(148px,23dvh,210px) + env(safe-area-inset-bottom,0px));right:12px;z-index:9998;display:grid;place-items:center;width:48px;height:48px;border:1px solid #7d8898;border-radius:50%;background:#161d27;color:#fff;text-decoration:none;box-shadow:0 3px 12px #0003}
 .lmp-mobile-floating-cart svg{width:24px;height:24px}.lmp-mobile-floating-cart>span{position:absolute;top:-5px;right:-3px;display:grid;place-items:center;min-width:20px;height:20px;padding:0 4px;border-radius:12px;background:var(--ui-accent,#F13B43);color:var(--ui-accent-ink,#fff);font:800 11px/1 'DM Sans',sans-serif!important}
 .lmp-mobile-cart-ui :is(button,a):focus-visible,.lmp-desktop-cart-feedback button:focus-visible{outline:2px solid #fff;outline-offset:3px}
@media(max-width:1024px){
 body .lmp-template .lmp-panel-form.lmp-mobile-ready{display:block;padding:10px max(12px,env(safe-area-inset-right)) calc(10px + env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left));border-radius:0;background:var(--lm-basic-surface,#161d27);box-shadow:none;backdrop-filter:none}
 .lmp-template .lmp-cart-ready .lmp-mobile-cart-ui{grid-template-columns:minmax(88px,29%) minmax(0,1fr)}
 .lmp-mobile-price{display:flex}
 .lmp-mobile-in-cart{grid-template-columns:104px minmax(0,1fr);gap:8px}
 .lmp-mobile-stepper{grid-template-columns:36px 1fr 36px}
 .lmp-mobile-toast{position:absolute;left:12px;right:12px;bottom:calc(100% + 8px)}
 body:has(.lmp-panel-form.lmp-mobile-ready){padding-bottom:calc(84px + env(safe-area-inset-bottom))}
}
@media(max-width:359px){.lmp-template .lmp-cart-ready .lmp-mobile-cart-ui{gap:8px;grid-template-columns:88px minmax(0,1fr)}.lmp-mobile-in-cart{grid-template-columns:90px minmax(0,1fr);gap:6px}.lmp-mobile-stepper{grid-template-columns:30px 1fr 30px}body .lmp-template .lmp-mobile-go-cart{font-size:15px!important;padding-inline:7px!important}.lmp-mobile-go-cart>span{display:none}}
