/* Famplas 1.8 — alinhamento sem modificar a estrutura original do cabeçalho.
   O header (logo, topbar, menu e sticky) permanece sob controle do tema. */
body.fpm-layout-aligned{--fpm-gutter:24px}
body.fpm-layout-aligned .fp-home .fp-shell{
 width:calc(100% - 2*var(--fpm-gutter))!important;
 max-width:var(--fpm-container,1280px)!important;
 margin-left:auto!important;margin-right:auto!important;
}
/* Ajustamos só a largura das containers diretas, nunca de linhas internas ou flex-col. */
body.fpm-layout-aligned #main > .container,
body.fpm-layout-aligned #main .page-wrapper > .container,
body.fpm-layout-aligned #main .cart-container{
 max-width:var(--fpm-container,1280px)!important;
}
/* Cabecalho: o layout de logo e suas alturas continuam nativos. */
body.fpm-layout-aligned #header .header-main .header-inner,
body.fpm-layout-aligned #header .header-top .header-inner,
body.fpm-layout-aligned #header .header-bottom .header-inner{
 max-width:var(--fpm-container,1280px)!important;
 margin-left:auto!important;margin-right:auto!important;
}
@media(max-width:849px){body.fpm-layout-aligned{--fpm-gutter:14px}}
