/* Phase 45.47.85 — global SourceFlora front-end edge-to-edge authority */
html:has(body.lfp454785-edge-all),
body.lfp454785-edge-all{
  width:100%!important;
  max-width:100%!important;
  margin:0!important;
  padding:0!important;
  overflow-x:clip!important;
}

/* Remove WordPress/theme reading rails and the leftover blank template band. */
body.lfp454785-edge-all :is(
  #page,.site,.site-content,#content,.content-area,#primary,main.site-main,main#primary,
  article.hentry,.entry-content,.wp-block-post-content,.wp-site-blocks,
  .is-layout-constrained,.is-layout-flow
){
  width:100%!important;
  max-width:none!important;
  margin-left:0!important;
  margin-right:0!important;
  padding-left:0!important;
  padding-right:0!important;
  box-sizing:border-box!important;
}
body.lfp454785-edge-all :is(.entry-header,.page-header,.wp-block-post-title){display:none!important}
body.lfp454785-edge-all :is(.site-main,main,#primary,.entry-content,.wp-block-post-content){
  margin-top:0!important;
  padding-top:0!important;
}
body.lfp454785-edge-all.lfp45441-hide-theme-chrome > .wp-site-blocks > :is(header,.wp-block-template-part:first-child),
body.lfp454785-edge-all.lfp45441-hide-theme-chrome .wp-site-blocks > header.wp-block-template-part,
body.lfp454785-edge-all.lfp45441-hide-theme-chrome :is(header.site-header,#masthead,.site-header){
  display:none!important;
  height:0!important;
  min-height:0!important;
  margin:0!important;
  padding:0!important;
}

/* Break the complete SourceFlora render out of any theme/page-builder parent. */
body.lfp454785-edge-all .lfp-phase4516-page-chrome{
  position:relative!important;
  left:50%!important;
  right:auto!important;
  transform:translateX(-50%)!important;
  width:100vw!important;
  width:100dvw!important;
  max-width:100vw!important;
  max-width:100dvw!important;
  margin:0!important;
  padding:0!important;
  border-left:0!important;
  border-right:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  box-sizing:border-box!important;
  overflow:visible!important;
}
body.lfp454785-edge-all :is(.lfp-front-wrap,.lfp-front-wrap.lfp-modern-ui){
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding:0!important;
  border-left:0!important;
  border-right:0!important;
  border-radius:0!important;
  transform:none!important;
  box-sizing:border-box!important;
}

/* Main page canvas: same edge-to-edge behaviour as Home, with a small readable inner gutter. */
body.lfp454785-edge-all .lfp-front-inner{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding:clamp(10px,1.25vw,22px)!important;
  box-sizing:border-box!important;
}
body.lfp454785-edge-all .lfp-front-inner > *{
  max-width:none!important;
  box-sizing:border-box!important;
}
body.lfp454785-edge-all .lfp-front-inner > :is(
  .lfp-box,.lfp-hero,.lfp-note,.lfp-alert,.lfp-table-wrap,.lfp-order-card,
  .lfp-catalogue-shell,.lfp-marketplace-shell,.lfp-public-shell,.lfp-page-shell,
  section,main,form
){
  width:100%!important;
  max-width:none!important;
  margin-left:0!important;
  margin-right:0!important;
}

/* Public branded header/footer are true viewport bands. */
body.lfp454785-edge-all .lfp45441-header,
body.lfp454785-edge-all .lfp45441-footer{
  position:relative!important;
  left:50%!important;
  right:auto!important;
  transform:translateX(-50%)!important;
  width:100vw!important;
  width:100dvw!important;
  max-width:100vw!important;
  max-width:100dvw!important;
  margin-left:0!important;
  margin-right:0!important;
  border-left:0!important;
  border-right:0!important;
  border-radius:0!important;
  box-sizing:border-box!important;
}
body.lfp454785-edge-all .lfp45441-header{top:0!important}
body.admin-bar.lfp454785-edge-all .lfp45441-header{top:32px!important}
body.lfp454785-edge-all .lfp45441-header-inner,
body.lfp454785-edge-all .lfp45441-footer-inner,
body.lfp454785-edge-all .lfp45441-footer-bottom{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  box-sizing:border-box!important;
}
body.lfp454785-edge-all .lfp45441-header-inner{
  padding-left:clamp(12px,2vw,36px)!important;
  padding-right:clamp(12px,2vw,36px)!important;
}
body.lfp454785-edge-all .lfp45441-footer-inner,
body.lfp454785-edge-all .lfp45441-footer-bottom{
  padding-left:clamp(16px,3vw,52px)!important;
  padding-right:clamp(16px,3vw,52px)!important;
}

/* Common public page/grid shells must consume available width rather than preserve old reading widths. */
body.lfp454785-edge-all :is(
  .lfp-grid-cards,.lfp-link-grid,.lfp-market-grid,.lfp-product-grid,.lfp-store-grid,
  .lfp-catalogue-live-grid,.lfp-catalogue-grid,.lfp-marketplace-grid,.lfp-category-grid,
  .lfp-seller-grid,.lfp-public-grid,.lfp-checkout-grid,.lfp-subscription-grid,
  .lfp779-product-grid,.lfp779-category-grid,.lfp779-seller-grid,.lfp779-article-grid
){
  width:100%!important;
  max-width:none!important;
  margin-left:0!important;
  margin-right:0!important;
  box-sizing:border-box!important;
}
body.lfp454785-edge-all :is(
  .lfp-box,.lfp-card,.lfp-market-card,.lfp-product-card,.lfp-store-card,.lfp-order-card,
  .lfp-category-card,.lfp-seller-card,.lfp-subscription-card,.lfp-checkout-card
){
  min-width:0!important;
  max-width:100%!important;
  box-sizing:border-box!important;
}

/* Catalogue and marketplace get a broad desktop canvas. */
@media (min-width:1180px){
  body.lfp454785-edge-all :is(.lfp-catalogue-live-grid,.lfp-catalogue-grid){
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:clamp(14px,1.25vw,24px)!important;
  }
  body.lfp454785-edge-all :is(.lfp-market-grid,.lfp-marketplace-grid,.lfp-product-grid){
    gap:clamp(14px,1.25vw,24px)!important;
  }
}
@media (min-width:1700px){
  body.lfp454785-edge-all :is(.lfp-catalogue-live-grid,.lfp-catalogue-grid){
    grid-template-columns:repeat(5,minmax(0,1fr))!important;
  }
}

/* Role workspaces still go edge-to-edge externally, but keep their own sidebar/content layout. */
body.lfp454785-role-workspace .lfp-front-inner{
  padding:10px 12px!important;
}
body.lfp454785-role-workspace :is(.lfp-role-shell,.lfp-dashboard-shell,.lfp-workspace-shell){
  width:100%!important;
  max-width:none!important;
  margin:0!important;
}

@media (max-width:980px){
  body.lfp454785-edge-all .lfp-front-inner{padding:10px!important}
  body.lfp454785-edge-all .lfp45441-header-inner{padding:8px 12px!important}
  body.lfp454785-edge-all .lfp45441-footer-inner,
  body.lfp454785-edge-all .lfp45441-footer-bottom{padding-left:14px!important;padding-right:14px!important}
}

/* Mobile: one minimal gutter only; no nested shrinking. */
@media (max-width:760px){
  body.lfp454785-edge-all :is(
    #page,.site,.site-content,#content,.content-area,#primary,main.site-main,main#primary,
    article,.entry-content,.wp-block-post-content,.wp-site-blocks,
    .lfp-phase4516-page-chrome,.lfp-front-wrap,.lfp-front-inner
  ){
    width:100%!important;
    max-width:100%!important;
    margin-left:0!important;
    margin-right:0!important;
    padding-left:0!important;
    padding-right:0!important;
  }
  body.lfp454785-edge-all .lfp-phase4516-page-chrome{
    left:auto!important;
    transform:none!important;
    width:100%!important;
    max-width:100%!important;
  }
  body.lfp454785-edge-all .lfp-front-inner{
    padding:6px!important;
  }
  body.lfp454785-edge-all .lfp-front-inner > :is(
    .lfp-box,.lfp-hero,.lfp-note,.lfp-alert,.lfp-table-wrap,.lfp-order-card,
    .lfp-catalogue-shell,.lfp-marketplace-shell,.lfp-public-shell,.lfp-page-shell,section,main,form
  ){
    width:100%!important;
    max-width:100%!important;
    margin-left:0!important;
    margin-right:0!important;
  }
  body.lfp454785-edge-all :is(
    .lfp-grid-cards,.lfp-link-grid,.lfp-market-grid,.lfp-product-grid,.lfp-store-grid,
    .lfp-catalogue-live-grid,.lfp-catalogue-grid,.lfp-marketplace-grid,.lfp-category-grid,
    .lfp-seller-grid,.lfp-public-grid,.lfp-checkout-grid,.lfp-subscription-grid
  ){
    width:100%!important;
    max-width:100%!important;
    margin:0!important;
    padding-left:0!important;
    padding-right:0!important;
    gap:10px!important;
  }
  body.lfp454785-edge-all .lfp45441-header,
  body.lfp454785-edge-all .lfp45441-footer{
    left:auto!important;
    transform:none!important;
    width:100%!important;
    max-width:100%!important;
  }
  body.lfp454785-edge-all .lfp45441-header-inner{padding:7px 8px!important}
  body.lfp454785-edge-all .lfp45441-footer-inner,
  body.lfp454785-edge-all .lfp45441-footer-bottom{padding-left:10px!important;padding-right:10px!important}
  body.lfp454785-edge-all :is(img,video,iframe,svg){max-width:100%!important}
  body.lfp454785-edge-all input,
  body.lfp454785-edge-all select,
  body.lfp454785-edge-all textarea,
  body.lfp454785-edge-all button{max-width:100%!important;box-sizing:border-box!important}
}

@media (max-width:430px){
  body.lfp454785-edge-all .lfp-front-inner{padding:4px!important}
  body.lfp454785-edge-all .lfp45441-header-inner{padding-left:6px!important;padding-right:6px!important}
}
