/*
 * Clean fallbacks for imported Elementor homepage backgrounds.
 *
 * The generated Elementor stylesheet contains absolute localhost URLs. These
 * origin-relative URLs work both on development and after a production move.
 */
body.home .elementor-8754 .elementor-element.elementor-element-bcec401:not(.elementor-motion-effects-element-type-background),
body.home .elementor-8754 .elementor-element.elementor-element-bcec401 > .elementor-motion-effects-container > .elementor-motion-effects-layer {
	background-image: url("/wp-content/uploads/2026/06/3dbdc818-0d70-40bf-89d6-90a3803558f2.webp") !important;
}

body.home .elementor-8754 .elementor-element.elementor-element-71278014:not(.elementor-motion-effects-element-type-background),
body.home .elementor-8754 .elementor-element.elementor-element-71278014 > .elementor-motion-effects-container > .elementor-motion-effects-layer {
	background-image: url("/wp-content/uploads/2026/06/3dbdc818-0d70-40bf-89d6-90a3803558f2.webp") !important;
}

body.home .a13ree-written-headline {
	margin: 0;
}

/* Prevent Rife's delayed masonry pass from moving the homepage products. */
body.home .elementor-shortcode .woocommerce ul.products {
	column-gap: 0;
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	height: auto !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
	position: static !important;
	row-gap: 40px;
	width: 100% !important;
}

body.home .elementor-shortcode .woocommerce ul.products > .grid-master {
	display: none !important;
}

/* WooCommerce's clearfix pseudo-elements become real grid items. Remove them
 * so the four requested products occupy the four columns of the first row. */
body.home .elementor-shortcode .woocommerce ul.products::before,
body.home .elementor-shortcode .woocommerce ul.products::after {
	content: none !important;
	display: none !important;
}

body.home .elementor-shortcode .woocommerce ul.products > li.product {
	float: none !important;
	left: auto !important;
	margin: 0 !important;
	min-width: 0;
	position: relative !important;
	top: auto !important;
	transform: none !important;
	width: auto !important;
}

@media (max-width: 767px) {
	body.home .elementor-shortcode .woocommerce ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
