/**
 * Shared catalog Hero treatment.
 *
 * The same rule is available to catalog_product singles, product_category
 * archives and the main catalog_product archive. It targets the shared Hero
 * element ID copied between the archive templates; pages without that element
 * are unaffected.
 */

:where(
	body.single-catalog_product,
	body.tax-product_category,
	body.post-type-archive-catalog_product,
	body.elementor-page-29306,
	body.elementor-page-29369,
	body.elementor-page-29381,
	body.elementor-page-4439
) .elementor-element-1c12c63 {
	position: relative;
	isolation: isolate;
	height: 200px !important;
	min-height: 200px !important;
	max-height: 200px !important;
	overflow: hidden;
	background-position: center center !important;
	background-repeat: no-repeat !important;
	background-size: cover !important;
}

/* Dark overlay improves contrast without changing or duplicating the image. */
:where(
	body.single-catalog_product,
	body.tax-product_category,
	body.post-type-archive-catalog_product,
	body.elementor-page-29306,
	body.elementor-page-29369,
	body.elementor-page-29381,
	body.elementor-page-4439
) .elementor-element-1c12c63::before {
	position: absolute;
	z-index: 0;
	inset: 0;
	content: "";
	pointer-events: none;
	background: rgba(8, 25, 32, 0.44);
}

/* Keep every existing Hero widget above the overlay. */
:where(
	body.single-catalog_product,
	body.tax-product_category,
	body.post-type-archive-catalog_product,
	body.elementor-page-29306,
	body.elementor-page-29369,
	body.elementor-page-29381,
	body.elementor-page-4439
) .elementor-element-1c12c63 > * {
	position: relative;
	z-index: 1;
}

:where(
	body.single-catalog_product,
	body.tax-product_category,
	body.post-type-archive-catalog_product,
	body.elementor-page-29306,
	body.elementor-page-29369,
	body.elementor-page-29381,
	body.elementor-page-4439
) .elementor-element-1c12c63 .elementor-heading-title,
:where(
	body.single-catalog_product,
	body.tax-product_category,
	body.post-type-archive-catalog_product,
	body.elementor-page-29306,
	body.elementor-page-29369,
	body.elementor-page-29381,
	body.elementor-page-4439
) .elementor-element-1c12c63 .elementor-heading-title a {
	color: #fff !important;
	font-size: clamp(28px, 4vw, 46px) !important;
	font-weight: 600;
	line-height: 1.15;
	text-shadow: 0 1px 3px rgba(0, 0, 0, 0.38);
}

/* Contact reuses the Catalog Hero image directly via a relative URL. */
body.elementor-page-4439 .elementor-element-1c12c63 {
	background-image: url('/wp-content/uploads/2026/07/shop.jpg');
}

body.elementor-page-4439 main#main-content.wd-content-layout.container {
	width: 100%;
	max-width: 1480px;
	padding: 0 20px 72px;
}

body.elementor-page-4439 .elementor-element-1c12c63 :is(.elphguard-contact-hero-copy, .elementor-element-9b3ff3e) {
	max-width: 720px;
	margin-bottom: 0;
	color: #fff;
}

body.elementor-page-4439 .elementor-element-1c12c63 :is(.elphguard-contact-hero-copy, .elementor-element-9b3ff3e) p {
	margin-bottom: 0;
}

@media (max-width: 479px) {
	body.elementor-page-4439 main#main-content.wd-content-layout.container {
		padding-right: 16px;
		padding-left: 16px;
	}
}
