/* The existing tablet/mobile layout and nested component widths stay authoritative. */
@media (min-width: 1366px) {
  body.wgroup-ui--pergolaris {
    --pg-desktop-content-width: min(1600px, calc(100vw - 96px));
  }
  body.wgroup-ui--pergolaris .elementor[data-elementor-type] > .e-con.e-con-boxed {
    --content-width: var(--pg-desktop-content-width) !important;
  }
  body.wgroup-ui--pergolaris .elementor[data-elementor-type] > .elementor-section.elementor-section-boxed > .elementor-container {
    max-width: var(--pg-desktop-content-width);
  }
  /* Elementor archive backgrounds belong to the full viewport; only native archives need this outer limit. */
  body.wgroup-ui--pergolaris.woocommerce.archive:not(.elementor-template-full-width) #content > .ast-container {
    max-width: calc(var(--pg-desktop-content-width) + 48px);
    padding-inline: 24px;
  }
  body.wgroup-ui--pergolaris .woocommerce-Tabs-panel--description p,
  body.wgroup-ui--pergolaris .elementor-widget-theme-post-content p {
    max-width: 78ch;
  }
  body.wgroup-ui--pergolaris .woocommerce-product-details__short-description {
    max-width: 68ch;
  }
}
@media (min-width: 2200px) {
  body.wgroup-ui--pergolaris { --pg-desktop-content-width: min(1760px, calc(100vw - 128px)); }
}
