/* Count only product rows, so headings and other homepage sections do not change parity.
 * Position belongs to the list, never to an individual product or its saved HTML order.
 * Elementor keeps these rows as sibling containers in each translated homepage.
 */
@media (min-width: 768px) {
  body.home .elementor > .e-con:nth-child(odd of .e-con:has(.als-featured-product)) .als-featured-product__inner {
    grid-template-columns: minmax(0, 580fr) minmax(0, 650fr) !important;
  }
  body.home .elementor > .e-con:nth-child(odd of .e-con:has(.als-featured-product)) .als-featured-product__image-wrap { grid-column: 1 !important; grid-row: 1 !important; }
  body.home .elementor > .e-con:nth-child(odd of .e-con:has(.als-featured-product)) .als-featured-product__content { grid-column: 2 !important; grid-row: 1 !important; }
  body.home .elementor > .e-con:nth-child(even of .e-con:has(.als-featured-product)) .als-featured-product__inner {
    grid-template-columns: minmax(0, 650fr) minmax(0, 580fr) !important;
  }
  body.home .elementor > .e-con:nth-child(even of .e-con:has(.als-featured-product)) .als-featured-product__image-wrap { grid-column: 2 !important; grid-row: 1 !important; }
  body.home .elementor > .e-con:nth-child(even of .e-con:has(.als-featured-product)) .als-featured-product__content { grid-column: 1 !important; grid-row: 1 !important; }
  body.home .elementor > .e-con:has(.als-featured-product) .als-featured-product__image-wrap { width: 100%; min-width: 0; }
  body.home .elementor > .e-con:has(.als-featured-product) .als-featured-product__content { min-width: 0; }
}
@media (max-width: 767px) {
  body.home .elementor > .e-con:has(.als-featured-product) .als-featured-product__image-wrap { grid-column: 1 !important; grid-row: 1 !important; }
  body.home .elementor > .e-con:has(.als-featured-product) .als-featured-product__content { grid-column: 1 !important; grid-row: 2 !important; }
}
