/* Scoped exclusively to the chosen TRAFFY Products page. No post/database writes. */
body.traffy-layout-fix-active{overflow-x:clip}
/* Restore the original Flatsome header and footer; previous TRAFFY injected hide-css is removed in PHP. */
body.traffy-layout-fix-active.tlf-theme-header #header,
body.traffy-layout-fix-active.tlf-theme-header #header-wrap,
body.traffy-layout-fix-active.tlf-theme-header .header-wrapper{display:block!important;visibility:visible!important}
body.traffy-layout-fix-active:not(.tlf-theme-header) #header,
body.traffy-layout-fix-active:not(.tlf-theme-header) #header-wrap,
body.traffy-layout-fix-active:not(.tlf-theme-header) .header-wrapper{display:none!important}
body.traffy-layout-fix-active.tlf-theme-footer #footer,
body.traffy-layout-fix-active.tlf-theme-footer .footer-wrapper{display:block!important;visibility:visible!important}
body.traffy-layout-fix-active:not(.tlf-theme-footer) #footer,
body.traffy-layout-fix-active:not(.tlf-theme-footer) .footer-wrapper,
body.traffy-layout-fix-active:not(.tlf-theme-footer) .absolute-footer{display:none!important}
/* Hide any duplicate menu generated inside the TRAFFY Products v3 shortcode. */
body.traffy-layout-fix-active.tlf-hide-custom-nav .traffy-shop .traffy-custom-nav{display:none!important}
/* Keep the page's banner, hide only the theme's duplicate page heading. */
body.traffy-layout-fix-active.tlf-hide-title .page-title,
body.traffy-layout-fix-active.tlf-hide-title .page-header,
body.traffy-layout-fix-active.tlf-hide-title .entry-header,
body.traffy-layout-fix-active.tlf-hide-title .page-title-inner{display:none!important}
/* Remove blog-style widget columns on the Products page alone. */
body.traffy-layout-fix-active.tlf-hide-sidebar #secondary,
body.traffy-layout-fix-active.tlf-hide-sidebar .page-sidebar,
body.traffy-layout-fix-active.tlf-hide-sidebar #main > .widget-area,
body.traffy-layout-fix-active.tlf-hide-sidebar #main .sidebar-inner{display:none!important}
body.traffy-layout-fix-active.tlf-hide-sidebar #content > .row > .large-9,
body.traffy-layout-fix-active.tlf-hide-sidebar .page-wrapper > .row > .large-9,
body.traffy-layout-fix-active.tlf-hide-sidebar #content .traffy-shop:first-child{min-width:0}
body.traffy-layout-fix-active.tlf-hide-sidebar .page-wrapper > .row > .large-9,
body.traffy-layout-fix-active.tlf-hide-sidebar #content > .row > .large-9{flex-basis:100%!important;max-width:100%!important;width:100%!important}
/* Full-bleed product layout, using a standard breakout from a centered Flatsome column. */
body.traffy-layout-fix-active.tlf-full-width #main .page-wrapper,
body.traffy-layout-fix-active.tlf-full-width #main .entry-content,
body.traffy-layout-fix-active.tlf-full-width #main .col-inner{overflow:visible!important}
body.traffy-layout-fix-active.tlf-full-width #main .page-wrapper{padding-top:0!important;padding-bottom:0!important}
body.traffy-layout-fix-active.tlf-full-width .traffy-shop{
    position:relative!important;
    left:50%!important;
    transform:translateX(-50%)!important;
    width:100vw!important;
    max-width:none!important;
    margin-left:0!important;
    margin-right:0!important;
}
/* Preserve the full-bleed banner while allowing breathing room in the product grid. */
body.traffy-layout-fix-active.tlf-full-width .traffy-shop .traffy-content{
    width:100%;max-width:1440px;margin-inline:auto;
}
@media(max-width:640px){
    body.traffy-layout-fix-active.tlf-full-width .traffy-shop .traffy-content{
       padding-left:14px;padding-right:14px
    }
}
