/* Semac v0.12.86 — desktop page alignment.
 * A single 24px side gutter matches the approved home grids / footer.
 * Only outer containers and previously capped content cards are expanded.
 * No shared --semac-max override: header, navigation, popups and mobile stay as-is.
 */
@media screen and (min-width:1024px) {
  body.semac-theme #semac-info-main > .semac-container,
  body.semac-theme #semac-commerce-main > .semac-container,
  body.semac-theme #semac-shop-main > .semac-container,
  body.semac-theme #semac-product-main > .semac-container {
    width:calc(100% - 48px)!important;
    max-width:none!important;
    min-width:0!important;
    margin-left:auto!important;
    margin-right:auto!important;
    padding-left:0!important;
    padding-right:0!important;
    box-sizing:border-box!important;
  }

  /* Institutional pages: headers and the full set of cards share both edges.
   * Reset width as well as max-width (Policies previously used width:min()). */
  body.semac-theme #semac-info-main .semac-info-hero,
  body.semac-theme #semac-info-main .semac-info-content,
  body.semac-theme #semac-info-main .semac-conditions,
  body.semac-theme #semac-info-main .semac-company-intro,
  body.semac-theme #semac-info-main .semac-company-trust-grid,
  body.semac-theme #semac-info-main .semac-company-categories,
  body.semac-theme #semac-info-main .semac-company-gallery-section,
  body.semac-theme #semac-info-main .semac-company-process,
  body.semac-theme #semac-info-main .semac-company-cta,
  body.semac-theme #semac-info-main .semac-contact-layout,
  body.semac-theme #semac-info-main .semac-contact-map-card,
  body.semac-theme #semac-info-main .semac-offers-page {
    width:100%!important;
    max-width:none!important;
    min-width:0!important;
    margin-left:0!important;
    margin-right:0!important;
    box-sizing:border-box!important;
  }

  /* Delivery search uses the width of its own card; no change to autocomplete,
   * input IDs, validation, map, routes or popup placement. */
  body.semac-theme #semac-info-main .semac-delivery-finder-box {
    width:100%!important;
    max-width:none!important;
    min-width:0!important;
    box-sizing:border-box!important;
  }

  /* Commerce/account wrappers, not individual navigation or payment controls.
   * The original column counts, forms and checkout steps are retained. */
  body.semac-theme #semac-commerce-main .semac-commerce-content,
  body.semac-theme #semac-commerce-main .semac-commerce-content > .woocommerce,
  body.semac-theme #semac-commerce-main .semac-password-account,
  body.semac-theme #semac-commerce-main .semac-thankyou-page,
  body.semac-theme #semac-commerce-main .semac-thankyou-failed {
    width:100%!important;
    max-width:none!important;
    min-width:0!important;
    margin-left:0!important;
    margin-right:0!important;
    box-sizing:border-box!important;
  }

  /* Shop and product layouts grow with their outer container. Gallery images
   * retain the original max-height/object-fit rules instead of being stretched. */
  body.semac-theme #semac-shop-main .semac-shop-layout,
  body.semac-theme #semac-product-main .semac-single-shell,
  body.semac-theme #semac-product-main .semac-single-extra {
    width:100%!important;
    max-width:none!important;
    min-width:0!important;
    box-sizing:border-box!important;
  }

  /* Below the brand rails two borders used to meet (3px + 2px). Keep only one
   * 1px divider, on the footer. Autoplay and the rail's upper border are unchanged. */
  body.semac-theme #semac-main .semac-brands-strip {
    border-bottom-width:0!important;
  }
  body.semac-theme .semac-site-footer.semac-footer-v124.semac-footer--home {
    border-top-width:1px!important;
  }
}
