/* Shared desktop content shell. Tablet/mobile keep their existing layout. */
@media (min-width:1024px) {
  #f-theme {
    --sw-page-shell:1440px;
    --sw-page-content:1380px;
    --sw-page-gutter:30px;
  }

  #f-theme :is(.container,.container-fluid) {
    width:100%;
    max-width:var(--sw-page-shell);
    padding-inline:var(--sw-page-gutter);
    margin-inline:auto;
  }

  #f-theme .f-header__desktop {
    max-width:var(--sw-page-shell);
    margin-inline:auto;
  }

  /* Keep the rightmost header tooltip inside a narrow desktop window. */
  #f-theme .f-header__desktop .f-tooltip--bottom .f-tooltip__content {
    left:auto;
    right:0;
    transform:none;
  }

  #f-theme .f-header__desktop .f-tooltip--bottom .f-tooltip__content:after {
    left:auto;
    right:5px;
  }

  #f-theme.sw-ref-layout .sw-reference-content {
    width:100%;
    max-width:none;
  }

  #f-theme.sw-ref-layout :is(.sw-ref-hero,.sw-collection-hero.f-collection-page-header) {
    width:calc(100% - 2 * var(--sw-page-gutter));
    max-width:var(--sw-page-content);
    margin-inline:auto;
  }

  /* A banner's inner container already sits inside the content shell. */
  #f-theme.sw-ref-layout .sw-collection-hero f-collection-header > .container-fluid,
  #f-theme.sw-ref-layout .f-collection-page-header .container-fluid {
    width:100%;
    max-width:none;
    padding-inline:0!important;
  }

  #f-theme .sw-contact-container,
  #f-theme .sw-contact-layout .sw-contact-hero {
    width:calc(100% - 2 * var(--sw-page-gutter));
    max-width:var(--sw-page-content);
    margin-inline:auto;
  }

  #f-theme .sw-contact-layout .sw-contact-hero-inner {
    max-width:var(--sw-page-content);
  }

  #f-theme .main-content [data-sw-catalog] :is(.w12,.wrap,.mf-wrap,.mf-fullwidth-inner,.sw-catalog-overview,.sw-catalog-breadcrumb,.sw-accessories-page,.sw-robot-catalog,.band__cap) {
    width:100%!important;
    max-width:var(--sw-page-shell)!important;
    margin-inline:auto!important;
    padding-inline:var(--sw-page-gutter)!important;
  }

  /* Catalog tabs own the outer gutter; their content must not add it twice. */
  #f-theme .main-content [data-sw-catalog] .dlinfo .wrap {
    max-width:none!important;
    padding-inline:0!important;
  }

  #f-theme [data-section-id="sanwzb-why-choose"] .sw-why-content {
    max-width:var(--sw-page-shell);
    padding-inline:var(--sw-page-gutter);
  }

  #f-theme [data-section-id="sanwzb-services"] .f-section-py {
    width:100%;
    max-width:none;
    padding-inline:max(var(--sw-page-gutter),calc((100% - var(--sw-page-content)) / 2));
  }
}
