/* GoJD final mobile stability layer. Desktop intentionally untouched. */
@media(max-width:768px){
 html,body{width:100%!important;max-width:100%!important;overflow-x:hidden!important;-webkit-text-size-adjust:100%}
 body,#root,.public-app-wrapper,.main-content,.page-transition{min-width:0!important;max-width:100%!important;box-sizing:border-box!important}
 #root,.public-app-wrapper,.main-content,.page-transition{width:100%!important}
 main,main *{box-sizing:border-box}
 main img,main video,main canvas,main svg{max-width:100%}
 input,select,textarea{font-size:16px!important;max-width:100%;box-sizing:border-box}
 button,a,input,select,textarea{touch-action:manipulation}
 .container,.catalog-container,.product-container,.cart-page .container,.success-container{max-width:100%!important;min-width:0!important}
 .main-header,.main-header .header-container{max-width:100vw!important;overflow:visible!important}
 .main-header .header-actions{min-width:0!important}.main-header .action-item{min-width:44px!important}
 .mobile-bottom-nav{max-width:100vw!important;padding-left:max(8px,env(safe-area-inset-left,0px))!important;padding-right:max(8px,env(safe-area-inset-right,0px))!important}
 .mobile-bottom-nav-item{min-height:44px!important;overflow:visible!important}
 .cart-sidebar,.gojd-favorites-page,.gojd-purchase-panel,.gojd-client-account-shell{max-width:100vw!important}
 .cart-sidebar{width:min(100vw,430px)!important}
 .modal-overlay,.cart-overlay,.gojd-favorites-overlay,.gojd-purchase-backdrop,[class*="modal-overlay"]{max-width:100vw!important}
 .modal-content,[role="dialog"],.gojd-pay-sheet,.gojd-ship-sheet{max-width:calc(100vw - 16px)!important;max-height:calc(100dvh - 16px)!important}
 #gojd-payment-methods-sheet,#gojd-shipping-receiving-sheet{z-index:2500!important}
 #gojd-payment-methods-sheet .gojd-pay-sheet,#gojd-shipping-receiving-sheet .gojd-pay-sheet{max-width:100vw!important;width:100vw!important;left:0!important;right:0!important;overflow:hidden!important}
 #gojd-payment-methods-sheet .gojd-pay-sheet-scroll,#gojd-shipping-receiving-sheet .gojd-pay-sheet-scroll,.gojd-purchase-body{overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
 body:has(#gojd-mobile-purchase-flow) .main-footer,body:has(.gojd-mobile-purchase) .main-footer,body:has(.gojd-favorites-page.open) .main-footer,body:has(.login-page) .main-footer,body:has(.success-page) .main-footer{display:none!important}
 body:has(#gojd-mobile-purchase-flow) .breadcrumb-nav,body:has(.product-page) .breadcrumb-nav,body:has(.gojd-favorites-page.open) .breadcrumb-nav{display:none!important}
 body:has(.product-page) .main-header,body:has(.product-page) .category-nav{display:none!important}
 body:has(.product-page) .main-content{padding-top:0!important}
 .product-page{width:100%!important;max-width:100%!important;overflow-x:hidden!important;margin:0!important}
 .product-page .gallery-main,.smartphone-product-hero .gallery-main{display:grid!important;place-items:center!important;overflow:hidden!important;max-width:100%!important}
 .product-page .gallery-main img,.smartphone-product-hero .gallery-main img{object-fit:contain!important;object-position:center!important;max-height:100%!important;margin:auto!important}
 .smartphone-product-hero,.product-page .product-container,.product-details,.product-info{min-width:0!important;max-width:100%!important}
 .gallery-thumbnails{max-width:100%!important;overflow-x:auto!important;overscroll-behavior-inline:contain!important;-webkit-overflow-scrolling:touch}
 #gojd-mobile-product-buybar{max-width:100vw!important}
 .gojd-favorites-page.open{width:100vw!important;left:0!important;right:0!important;overflow-x:hidden!important}
 .gojd-favorite-card,.cart-item-premium{max-width:100%!important;min-width:0!important}
 .gojd-favorite-card h3,.item-title-row h3,.gojd-favorite-meta,.item-meta-premium{overflow-wrap:anywhere!important}
 .gojd-mobile-purchase{width:100vw!important;max-width:100vw!important;overflow:hidden!important}
 .gojd-purchase-header,.gojd-purchase-progress-six,.gojd-purchase-body,.gojd-purchase-footer{max-width:100vw!important}
 .gojd-purchase-progress-six{overflow:hidden!important}.gojd-step-six{min-width:0!important}.gojd-step-six small{font-size:clamp(8px,2.3vw,10px)!important}
 .gojd-payment-choice{grid-template-columns:minmax(88px,34%) minmax(0,1fr) 26px!important;max-width:100%!important}
 .gojd-payment-choice>span:nth-child(2){min-width:0!important}.gojd-payment-choice>span:nth-child(2) b,.gojd-payment-choice>span:nth-child(2) small{overflow-wrap:anywhere!important}
 .gojd-address-form .two{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important}
 .gojd-cart-upsell-grid{grid-template-columns:minmax(0,1fr)!important}.gojd-cart-upsell-grid article{grid-template-columns:70px minmax(0,1fr) 38px!important}
 .gojd-how-steps,.gojd-how-benefits{grid-template-columns:minmax(0,1fr)!important}
 .gojd-how-hero{grid-template-columns:minmax(0,1fr)!important}.gojd-how-hero-art{display:none!important}
 .client-account-modal,.gojd-client-modal,.gojd-address-modal,.gojd-payment-modal{z-index:3000!important;max-width:100vw!important}
 #gojd-client-account-pro [role="dialog"],#gojd-client-account-pro .gojd-modal{max-width:calc(100vw - 20px)!important;max-height:calc(100dvh - 20px)!important;overflow:auto!important}
 #gojd-site-chat,.gojd-site-chat,.gojd-chat-panel,[data-gojd-chat-panel]{max-width:calc(100vw - 16px)!important;max-height:calc(100dvh - 92px)!important;right:8px!important;left:auto!important;bottom:calc(74px + env(safe-area-inset-bottom,0px))!important}
 button:has(> img[src="/moseis.png"]){right:12px!important;bottom:calc(76px + env(safe-area-inset-bottom,0px))!important}
 .search-overlay-panel{position:fixed!important;left:8px!important;right:8px!important;top:76px!important;width:auto!important;max-width:none!important;max-height:calc(100dvh - 150px)!important;overflow:auto!important;z-index:2200!important}
}
@media(max-width:390px){
 .gojd-address-form .two{grid-template-columns:1fr!important}
 .gojd-company-identity-mobile dl,.gojd-company-identity-card dl{grid-template-columns:1fr!important}
 .gojd-step-six small{font-size:8px!important}
}
