/* Saino Platform Pro v15.7.4
 * Buying-mode center-layout guard.
 * Loaded last to neutralize legacy left-alignment rules.
 */
body.saino-mode-buying{
  --saino-buying-max:1400px;
  --saino-buying-gutter:32px;
}

body.saino-mode-buying .fmp-wrap.saino-main,
body.saino-mode-buying main.fmp-main.saino-main{
  display:block!important;
  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;
}

/* Buying home shown after Switch to Buying. */
body.saino-mode-buying .saino-v107-home,
body.saino-mode-buying .saino-v107-buying-home{
  display:block!important;
  width:min(var(--saino-buying-max),calc(100% - (var(--saino-buying-gutter) * 2)))!important;
  max-width:var(--saino-buying-max)!important;
  margin-left:auto!important;
  margin-right:auto!important;
  box-sizing:border-box!important;
  float:none!important;
  clear:both!important;
  position:relative!important;
  left:auto!important;
  right:auto!important;
  transform:none!important;
}

/* Buyer Dashboard and other buyer-facing application shells. */
body.saino-mode-buying .saino-buyer-shell,
body.saino-mode-buying [data-saino-buyer-dashboard],
body.saino-mode-buying .saino-buyer-dashboard,
body.saino-mode-buying .saino-buyer-center,
body.saino-mode-buying .saino-client-page,
body.saino-mode-buying .saino-subpage-shell,
body.saino-mode-buying .saino-v157-subpage,
body.saino-mode-buying .saino-v1572-subpage{
  width:min(var(--saino-buying-max),calc(100% - (var(--saino-buying-gutter) * 2)))!important;
  max-width:var(--saino-buying-max)!important;
  margin-left:auto!important;
  margin-right:auto!important;
  box-sizing:border-box!important;
  float:none!important;
  clear:both!important;
}

/* Keep ordinary public page containers aligned with the header and footer. */
body.saino-mode-buying .fmp-main > .fmp-page,
body.saino-mode-buying .fmp-main > .fmp-card,
body.saino-mode-buying .fmp-main > article:not(.alignfull),
body.saino-mode-buying .fmp-main > .saino-section{
  width:min(var(--saino-buying-max),calc(100% - (var(--saino-buying-gutter) * 2)))!important;
  max-width:var(--saino-buying-max)!important;
  margin-left:auto!important;
  margin-right:auto!important;
  box-sizing:border-box!important;
  float:none!important;
}

body.saino-mode-buying .saino-v107-recommendations,
body.saino-mode-buying .saino-v107-pickup,
body.saino-mode-buying .saino-v107-home-section{
  width:100%!important;
  max-width:100%!important;
  margin-left:auto!important;
  margin-right:auto!important;
  box-sizing:border-box!important;
}

@media (max-width:782px){
  body.saino-mode-buying{--saino-buying-gutter:16px}
  body.saino-mode-buying .saino-v107-home,
  body.saino-mode-buying .saino-v107-buying-home,
  body.saino-mode-buying .saino-buyer-shell,
  body.saino-mode-buying [data-saino-buyer-dashboard],
  body.saino-mode-buying .saino-buyer-dashboard,
  body.saino-mode-buying .saino-buyer-center,
  body.saino-mode-buying .saino-client-page,
  body.saino-mode-buying .saino-subpage-shell,
  body.saino-mode-buying .saino-v157-subpage,
  body.saino-mode-buying .saino-v1572-subpage,
  body.saino-mode-buying .fmp-main > .fmp-page,
  body.saino-mode-buying .fmp-main > .fmp-card,
  body.saino-mode-buying .fmp-main > article:not(.alignfull),
  body.saino-mode-buying .fmp-main > .saino-section{
    width:calc(100% - 32px)!important;
    max-width:none!important;
    margin-left:16px!important;
    margin-right:16px!important;
  }

  body.saino-mode-buying .saino-v107-home,
  body.saino-mode-buying .saino-v107-buying-home{
    padding-left:0!important;
    padding-right:0!important;
  }
}
