/* Desktop content width contract. Keep the section backgrounds full bleed. */
@media (min-width: 1025px) {
  body.saad-performance-theme {
    --saad-desktop-content: 1280px;
    --saad-desktop-gutter: clamp(32px, 4vw, 64px);
    --saad-desktop-inset: max(var(--saad-desktop-gutter), calc((100% - var(--saad-desktop-content)) / 2));
  }
  /* Override the generic v2.7 descendant max-width, only at section roots. */
  body.saad-performance-theme :is(.saad-section:not(.saad-hero-slider-section), .saad-editor-header, .saad-editor-footer, .saad-product-topbar) > .e-con-inner {
    box-sizing: border-box !important;
    width: min(var(--saad-desktop-content), calc(100% - 2 * var(--saad-desktop-gutter))) !important;
    max-width: var(--saad-desktop-content) !important;
    --content-width: var(--saad-desktop-content);
    margin-inline: auto !important;
    padding-inline: 0 !important;
    min-width: 0;
  }
  /* Full Elementor containers have no .e-con-inner wrapper. */
  body.saad-performance-theme :is(.saad-section:not(.saad-hero-slider-section), .saad-editor-header, .saad-editor-footer, .saad-product-topbar).e-con-full:not(:has(> .e-con-inner)) {
    box-sizing: border-box !important;
    padding-inline: var(--saad-desktop-inset) !important;
  }
  body.saad-performance-theme .saad-hero-slide__content,
  body.saad-performance-theme .saad-wrap {
    box-sizing: border-box;
    width: min(var(--saad-desktop-content), calc(100% - 2 * var(--saad-desktop-gutter))) !important;
    max-width: var(--saad-desktop-content) !important;
    padding-inline: 0 !important;
    margin-inline: auto !important;
  }
  body.saad-performance-theme .saad-hero-slider__controls {
    left: var(--saad-desktop-inset);
    right: var(--saad-desktop-inset);
  }
}
