/* v1.18.94.35 - live mobile containment and component-level overflow hardening. */
html{max-width:100%;overflow-x:clip}
body.storefront-body{width:100%;max-width:100%;overflow-x:clip}
body.storefront-body *,body.storefront-body *::before,body.storefront-body *::after{box-sizing:border-box}
body.storefront-body img,body.storefront-body svg,body.storefront-body video,body.storefront-body canvas,body.storefront-body iframe{max-width:100%}
body.storefront-body img,body.storefront-body video{height:auto}
body.storefront-body :where(.shell,.header-row,.header-tools,.main-nav,.site-main,.page-main,.page-shell,.page-section,.product-page,.product-layout,.product-gallery,.product-buy,.product-grid,.collection-grid,.catalogue-grid,.category-grid,.journal-shell,.journal-layout,.journal-main,.journal-content,.journal-article,.journal-sidebar,.article-body,.article-copy,.article-content,.help-grid,.contact-grid,.cart-layout,.account-layout,.site-footer,.footer-grid,.compact-search,.catalogue-head-actions,.search-drawer,.search-field-v118562,.ds-full-banner,.product-siblings-v1189434,.size-option-v1189434){min-width:0;max-width:100%}
body.storefront-body :where(input,select,textarea,button){max-width:100%}
body.storefront-body :where(p,li,a,h1,h2,h3,h4,h5,h6,summary,label){overflow-wrap:anywhere}
body.storefront-body pre,body.storefront-body code{max-width:100%;overflow-wrap:anywhere;white-space:pre-wrap}

/* Horizontal content is allowed only inside a deliberate local scroller. */
body.storefront-body :where(.product-thumbs,.category-rail,.occasion-rail,.size-guide-table-scroll-v1189434,.table-scroll,.scroll-rail){max-width:100%;overscroll-behavior-inline:contain}
body.storefront-body .size-guide-table-scroll-v1189434{overflow-x:auto!important;-webkit-overflow-scrolling:touch}

@media(max-width:1100px){
  body.storefront-body .shell{width:min(100% - 24px,var(--shell,1500px))!important;margin-inline:auto!important}
  body.storefront-body .header-row{width:100%!important;max-width:100%!important;min-width:0!important}
  body.storefront-body .header-row .brand{min-width:0!important}
  body.storefront-body .header-tools{min-width:0!important;max-width:100%!important}
  body.storefront-body .mobile-menu.mobile-menu-v11844{left:auto!important;right:0!important;width:100%!important;max-width:440px!important;min-width:0!important;overflow-x:clip!important}
  body.storefront-body .mobile-menu.mobile-menu-v11844.open{transform:translateX(0)!important}
  body.storefront-body .mobile-menu.mobile-menu-v11844:not(.open){transform:translateX(105%)!important}
  body.storefront-body .mobile-menu.mobile-menu-v11844 :where(a,details,summary,div,form,input,button){min-width:0!important;max-width:100%!important}
  body.storefront-body .compact-search,body.storefront-body .catalogue-head-actions{flex-wrap:wrap!important;min-width:0!important;max-width:100%!important}
  body.storefront-body .compact-search input,body.storefront-body .catalogue-head-actions input{min-width:0!important;max-width:100%!important}
  body.storefront-body .product-layout,body.storefront-body .cart-layout,body.storefront-body .account-layout{min-width:0!important}
}

@media(max-width:760px){
  body.storefront-body .shell{width:calc(100% - 20px)!important}
  body.storefront-body main,body.storefront-body section,body.storefront-body article,body.storefront-body aside,body.storefront-body form{min-width:0;max-width:100%}
  body.storefront-body .mobile-menu.mobile-menu-v11844{inset:0!important;width:100%!important;max-width:100%!important;padding-left:max(14px,env(safe-area-inset-left))!important;padding-right:max(14px,env(safe-area-inset-right))!important}
  body.storefront-body .mobile-menu.mobile-menu-v11844>div:first-child{max-width:100%!important}
  body.storefront-body .mobile-menu-search-v1189434>div{grid-template-columns:minmax(0,1fr) auto!important;min-width:0!important}
  body.storefront-body .mobile-menu-search-v1189434 button{min-width:74px!important;max-width:90px!important}
  body.storefront-body .size-guide-dialog-v1189434{inset:0!important;width:100%!important;max-width:100%!important;height:100dvh!important;max-height:100dvh!important;margin:0!important}
  body.storefront-body .size-guide-shell-v1189434{width:100%!important;max-width:100%!important;overflow-x:hidden!important}
  body.storefront-body .size-guide-table-v1189434{max-width:100%!important}
  /* Legacy full-bleed Journal rules used 100vw and negative 50vw margins. Keep mobile articles inside the actual viewport. */
  body.storefront-body .article-breaker-v11864{left:auto!important;width:100%!important;max-width:100%!important;margin:32px 0 38px!important}
  body.storefront-body .journal-article :where(img,figure,picture){max-width:100%!important}
  body.storefront-body .product-siblings-v1189434>div{grid-template-columns:minmax(0,1fr)!important}
  body.storefront-body .product-siblings-v1189434 a small{max-width:100%!important;white-space:normal!important}
  body.storefront-body .benefit-strip .shell{width:100%!important;max-width:100%!important;padding-inline:12px!important}
  body.storefront-body .site-footer form{width:100%;max-width:100%;min-width:0}
}

@media(max-width:420px){
  body.storefront-body .shell{width:calc(100% - 16px)!important}
  body.storefront-body .header-row{padding-inline:8px!important}
  body.storefront-body .header-row .brand{max-width:136px!important}
  body.storefront-body .header-row .brand img{max-width:132px!important}
  body.storefront-body .header-tools>.bag-link,body.storefront-body .header-tools>.mobile-trigger{width:44px!important;min-width:44px!important;max-width:44px!important;height:44px!important}
  body.storefront-body .size-guide-open-v1189434{display:grid!important;grid-template-columns:1fr!important;gap:2px!important;justify-items:start!important}
}

/* Admin/Product Studio containment - local rails/tables may scroll, the page itself may not. */
body.admin-body{max-width:100%;overflow-x:clip}
body.admin-body *,body.admin-body *::before,body.admin-body *::after{box-sizing:border-box}
body.admin-body :where(.admin-shell,.admin-main,.admin-content,.admin-card,.product-studio-v11865,.ps-workspace-v11865,.ps-placement-grid-v11865,.ps-finish-grid-v11865,.ps-create-final-v11865){min-width:0;max-width:100%}
body.admin-body :where(img,svg,video,canvas,iframe){max-width:100%}
body.admin-body :where(.table-card,.admin-table-wrap,.ps-selection-list-v11865){max-width:100%;overflow-x:auto;overscroll-behavior-inline:contain}
@media(max-width:760px){
  body.admin-body .admin-content{padding-inline:10px!important;max-width:100%!important}
  body.admin-body .ps-selection-dock-v11865{left:8px!important;right:8px!important;width:auto!important;max-width:calc(100% - 16px)!important}
  body.admin-body .ps-selected-art-strip-v11865,body.admin-body .ps-batch-hero-v11865,body.admin-body .ps-create-final-v11865{min-width:0!important;max-width:100%!important}
  body.admin-body input,body.admin-body select,body.admin-body textarea,body.admin-body button{max-width:100%}
}

/* Customer Build Your Own - override late legacy wide-shell rules on phones/tablets. */
@media(max-width:900px){
  body.storefront-body :where(.byo-v2-top-v11836.shell,.byo-v2-studio-v11844.shell,.byo-v2-trust-v11836.shell){width:calc(100% - 16px)!important;max-width:100%!important;margin-inline:auto!important}
  body.storefront-body :where(.byo-v2-workspace-v11836,.byo-v2-studio-v11854 .byo-v2-workspace-v11836){grid-template-columns:minmax(0,1fr)!important;width:100%!important;max-width:100%!important;min-width:0!important}
  body.storefront-body :where(.byo-v2-controls-v11836,.byo-v2-studio-v11854 .byo-v2-controls-v11836){width:100%!important;max-width:100%!important;min-width:0!important}
  body.storefront-body :where(.byo-v2-editor-card,.byo-v2-proof,.byo-v2-panel-tabs-v11854,.byo-v2-control-deck-v11844,.byo-v2-product-editor-v11846,.byo-v2-live-stage-v11836){min-width:0!important;max-width:100%!important}
  body.storefront-body .byo-family-grid-v11848{min-width:0!important;max-width:100%!important}
  body.storefront-body .byo-region-change-v11848 form{max-width:calc(100% - 24px)!important}
}
