/* Shared desktop, tablet and phone safeguards. Loaded after page styles. */
.store-header .logo.has-uploaded-logo>span,.store-header .logo.has-uploaded-logo>div{display:none!important}.store-header .logo .uploaded-brand-logo~.uploaded-brand-logo{display:none!important}
@media(max-width:1100px){.store-header,.store-header .topbar,.mobile-menu-toggle,.mobile-site-menu{pointer-events:auto}.store-header{z-index:900}.mobile-site-menu{z-index:910}.mobile-menu-toggle{position:relative;z-index:920;touch-action:manipulation}}
html{width:100%;max-width:100%;overflow-x:hidden;-webkit-text-size-adjust:100%}body{width:100%;max-width:100%;overflow-wrap:anywhere}*,*::before,*::after{box-sizing:border-box}img,video,iframe{max-width:100%;height:auto}input,select,textarea,button{max-width:100%;font:inherit}dialog{max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px)}.site-shell,.store-shell,.planner-shell,.admin-main,main,section,article{min-width:0}.admin-main>*{min-width:0}.admin-main pre,.admin-main code{max-width:100%;overflow:auto}.admin-main .table-card{max-width:100%;-webkit-overflow-scrolling:touch}.admin-main label,.admin-main p,.admin-main td{overflow-wrap:anywhere}@supports(height:100dvh){.product-gallery-lightbox{height:100dvh!important}.order-cart-shell{max-height:92dvh}}
@media(max-width:920px){.ms-studio{grid-template-columns:170px minmax(0,1fr)}.ms-workspace,.ms-canvas-wrap,.ms-canvas{min-width:0}.ms-work-head{gap:10px;flex-wrap:wrap}}
@media(max-width:900px){.admin-main{padding:28px 24px 60px}.admin-main>header{gap:16px;flex-wrap:wrap}.admin-main>header>div{min-width:0}.section-head{gap:12px;flex-wrap:wrap}.stat-grid,.design-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.product-gallery-lightbox{width:100vw!important;height:100dvh!important;max-width:none!important;max-height:none!important;margin:0!important;border-radius:0!important}.gallery-lightbox-stage{padding:max(12px,env(safe-area-inset-top)) max(12px,env(safe-area-inset-right)) max(12px,env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left))}.order-cart-dialog{width:calc(100vw - 20px);max-height:calc(100dvh - 20px)}.order-cart-shell{max-height:calc(100dvh - 20px)}}
@media(max-width:760px){.ms-collection-dialog,.ms-collection-dialog .ms-dialog-card{height:100dvh;max-height:100dvh}.ms-product-admin-nav{-webkit-overflow-scrolling:touch}.ms-product-editor{padding-bottom:90px}.ms-collection-dialog .ms-dialog-card>footer{padding-bottom:calc(10px + env(safe-area-inset-bottom))}}
@media(max-width:650px){.ms-studio{display:block;min-width:0}.ms-sidebar{max-width:100vw;-webkit-overflow-scrolling:touch}.ms-workspace{width:100%;min-width:0;height:calc(100dvh - 124px);min-height:480px}.ms-work-head{align-items:flex-start}.ms-work-actions{width:100%;justify-content:flex-start;overflow-x:auto}.ms-toolbar{max-width:100%;-webkit-overflow-scrolling:touch}.ms-inspector{top:68px;bottom:0;max-width:100vw;height:auto;overflow:auto}.ms-dialog,.ms-dialog-card{max-height:100dvh}.ms-dialog-card{overflow:auto}.ms-field-grid,.ms-import-grid{grid-template-columns:1fr}.ms-import-grid .ms-check{grid-column:auto}}
@media(max-width:600px){dialog{max-width:100vw;max-height:100dvh}.admin-main{width:100%;padding:20px 12px 48px}.admin-main>header{display:grid}.admin-main>header>div:last-child{display:flex;flex-wrap:wrap;gap:8px}.admin-main>header a,.admin-main>header button{min-height:44px}.stat-grid{grid-template-columns:1fr}.section-head{display:grid;align-items:stretch}.section-head>button,.section-head>a{width:100%;justify-content:center}.table-card{border-radius:8px}.identity-form-grid{grid-template-columns:1fr}.identity-form-grid .wide{grid-column:auto}.admin-main input:not([type=checkbox]):not([type=radio]):not([type=color]),.admin-main select,.admin-main textarea,input:not([type=checkbox]):not([type=radio]):not([type=color]),select,textarea{width:100%;min-width:0;font-size:16px}.order-cart-dialog{width:100vw;max-width:none;max-height:100dvh;margin:0;border-radius:0}.order-cart-shell{height:100dvh;max-height:100dvh}.order-cart-shell>header{padding:15px 14px}.order-cart-shell>[data-cart-rows]{padding:12px}.order-cart-shell>footer{padding:12px 14px calc(12px + env(safe-area-inset-bottom))}.order-cart-row{gap:10px;padding:10px}.order-cart-row h3{font-size:13px}}
