/**
 * Let the Elementor Shop template own its horizontal layout.
 *
 * WooCommerce theme wrappers commonly apply a site-wide max-width around archive
 * content. The selectors below are limited to the ancestor chain containing the
 * active BizOpt Shop template, so headers, footers and every other page keep their
 * theme layout. Elementor containers may still use their own boxed widths.
 */
body.bizopt-shop-template-active .bizopt-shop-template,
body.bizopt-shop-template-active .bizopt-shop-template-host,
body.bizopt-shop-template-active :where(
	.site-content,
	#content,
	.ast-container,
	#primary,
	.content-area,
	#main,
	.site-main,
	.ast-woocommerce-container
):has(.bizopt-shop-template) {
	box-sizing: border-box;
	float: none !important;
	width: 100% !important;
	min-width: 0 !important;
	max-width: none !important;
	margin-top: 0 !important;
	margin-right: 0 !important;
	margin-bottom: 0 !important;
	margin-left: 0 !important;
	padding-top: 0 !important;
	padding-right: 0 !important;
	padding-bottom: 0 !important;
	padding-left: 0 !important;
}

/* The assigned Elementor Shop template owns breadcrumb placement. This also
 * catches themes that print their trail outside WooCommerce's standard hook. */
body.bizopt-shop-template-active .woocommerce-breadcrumb {
	display: none !important;
}

body.bizopt-shop-template-active .bizopt-shop-template .woocommerce-breadcrumb {
	display: block !important;
}
