body.jc-products-page.jc-layout-runtime-elementor
#main-content.jc-page--products
.jc-hero--products.e-con {
	isolation: isolate;
}

body.jc-products-page.jc-layout-runtime-elementor
#main-content.jc-page--products
.jc-hero--products.e-con > .elementor-widget-jc_managed_hero_media {
	position: absolute;
	inset: 0;
	z-index: 0;
	display: block;
	width: 100%;
	max-width: none;
	height: 100%;
	margin: 0;
	pointer-events: none;
}

body.jc-products-page.jc-layout-runtime-elementor
#main-content.jc-page--products
.jc-managed-hero-media__anchor {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	--jc-managed-hero-media-approved-crop: center 46%;
	background-position: var(--jc-managed-hero-media-crop-position, var(--jc-managed-hero-media-approved-crop));
	background-repeat: no-repeat;
	background-size: cover;
}

body.jc-products-page.jc-layout-runtime-elementor
#main-content.jc-page--products
.jc-hero--products.e-con::before {
	z-index: 1;
}

body.jc-products-page.jc-layout-runtime-elementor
#main-content.jc-page--products
.jc-hero--products.e-con > .jc-section-inner.e-con {
	position: relative;
	z-index: 2;
}

body.jc-products-page.jc-layout-runtime-elementor
#main-content.jc-page--products
.jc-hero--products .jc-native-column.e-con,
body.jc-products-page.jc-layout-runtime-elementor
#main-content.jc-page--products
.jc-products-intro .jc-native-column.e-con {
	display: grid;
}

body.jc-products-page.jc-layout-runtime-elementor
#main-content.jc-page--products
.elementor-widget-text-editor {
	color: inherit;
	font-family: inherit;
}

body.jc-products-page.jc-layout-runtime-elementor
#main-content.jc-page--products
.jc-products-intro .jc-native-heading.jc-type-body-base.elementor-widget-heading > .elementor-heading-title {
	margin: 1em 0;
}

@media (min-width: 981px) {
	body.jc-products-page.jc-layout-runtime-elementor
	#main-content.jc-page--products
	.jc-products-intro .jc-native-heading.jc-type-body-base.elementor-widget-heading > .elementor-heading-title {
		margin: 1rem auto 0;
	}
}

body.jc-products-page.jc-layout-runtime-elementor
#main-content.jc-page--products
.jc-products-detail-section .jc-section-heading > .elementor-widget-text-editor:last-child p:last-child {
	margin-bottom: 0;
}

body.jc-products-page.jc-layout-runtime-elementor
#main-content.jc-page--products
.jc-hero--products .jc-scroll-marker-module.elementor-widget {
	position: static;
}

body.jc-products-page.jc-layout-runtime-elementor:not(.elementor-editor-active)
#main-content.jc-page--products
.elementor-widget-jc_product_grid,
body.jc-products-page.jc-layout-runtime-elementor:not(.elementor-editor-active)
#main-content.jc-page--products
.elementor-widget-jc_product_grid > .elementor-widget-container {
	display: contents;
}

body.jc-products-page.jc-layout-runtime-elementor
#main-content.jc-page--products
.elementor-widget-jc_product_grid .jc-attribute-list {
	box-sizing: content-box;
}

body.jc-products-page.jc-layout-runtime-elementor
#main-content.jc-page--products
.elementor-editor-active .elementor-widget-jc_product_grid,
body.jc-products-page.jc-layout-runtime-elementor
#main-content.jc-page--products
.jc-products-grid-widget.elementor-widget {
	width: 100%;
	max-width: none;
}

/*
 * Elementor places its Loop collection one wrapper below the responsive grid
 * widget. Preserve the widget's approved responsive tracks and gaps by
 * carrying those values through that wrapper, then spanning the collection
 * across the widget before it lays out the reusable cards.
 */
body.jc-products-page.jc-layout-runtime-elementor:not(.elementor-editor-active)
#main-content.jc-page--products
.jc-products-grid-widget > .elementor-widget-container {
	display: contents;
	grid-template-columns: inherit;
	gap: inherit;
}

body.jc-products-page.jc-layout-runtime-elementor:not(.elementor-editor-active)
#main-content.jc-page--products
.jc-products-grid-widget .elementor-loop-container {
	display: grid;
	grid-column: 1 / -1;
	grid-template-columns: inherit;
	gap: inherit;
}

body.jc-products-page.jc-layout-runtime-elementor:not(.elementor-editor-active)
#main-content.jc-page--products
.jc-products-grid-widget .elementor-loop-container > .e-loop-item {
	display: contents;
}

/*
 * Loop Items add editor handles around the Product-only widgets. Flatten those
 * runtime wrappers so the signed-off Product-card grid receives the same
 * direct children as the native renderer. The editor retains its wrappers.
 */
body.jc-products-page.jc-layout-runtime-elementor:not(.elementor-editor-active)
#main-content.jc-page--products
.jc-product-card > .elementor-widget-jc_product_anchor,
body.jc-products-page.jc-layout-runtime-elementor:not(.elementor-editor-active)
#main-content.jc-page--products
.jc-product-card > .elementor-widget-jc_product_gallery,
body.jc-products-page.jc-layout-runtime-elementor:not(.elementor-editor-active)
#main-content.jc-page--products
.jc-product-card__body > .elementor-widget-jc_product_badge,
body.jc-products-page.jc-layout-runtime-elementor:not(.elementor-editor-active)
#main-content.jc-page--products
.jc-product-card__body > .elementor-widget-heading,
body.jc-products-page.jc-layout-runtime-elementor:not(.elementor-editor-active)
#main-content.jc-page--products
.jc-product-card__body > .elementor-widget-jc_product_description,
body.jc-products-page.jc-layout-runtime-elementor:not(.elementor-editor-active)
#main-content.jc-page--products
.jc-product-card__body > .elementor-widget-jc_product_attributes {
	display: contents;
}

/*
 * Elementor's Loop Grid owns the inner collection, rather than the widget
 * root. Keep its mobile row rhythm aligned with the approved native cards.
 * The selectors below only normalize Elementor's dynamic text wrappers; the
 * product copy itself remains authored through the Product fields.
 */
body.jc-products-page.jc-layout-runtime-elementor:not(.elementor-editor-active)
#main-content.jc-page--products
.jc-product-tile-grid .elementor-loop-container {
	grid-auto-rows: auto;
	row-gap: inherit;
}

/* The existing summary copy is the same-page details link. Keep its typography
 * and colour, with a visible keyboard focus ring and hover affordance. */
.elementor-widget-jc_product_summary .jc-product-tile__link {
	display: block;
	color: inherit;
	text-decoration: none;
}

.elementor-widget-jc_product_summary .jc-product-tile__link:hover,
.elementor-widget-jc_product_summary .jc-product-tile__link:focus-visible {
	color: inherit;
	text-decoration: underline;
	text-underline-offset: 0.15em;
}

.elementor-widget-jc_product_summary .jc-product-tile__link:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 4px;
}

body.jc-products-page.jc-layout-runtime-elementor:not(.elementor-editor-active)
#main-content.jc-page--products
.jc-product-card__body > .elementor-widget-jc_product_description p {
	max-width: 31rem;
	margin-right: auto;
	margin-left: auto;
	color: var(--jc-color-white);
	font-family: "Libre Franklin", system-ui, -apple-system, "Segoe UI", sans-serif;
	font-size: 14px;
	line-height: 21px;
	align-self: start;
}

body.jc-products-page.jc-layout-runtime-elementor:not(.elementor-editor-active)
#main-content.jc-page--products
.jc-product-card__body .elementor-widget-jc_product_attributes :is(.jc-attribute-list, .jc-attribute-list li) {
	box-sizing: content-box;
}

body.jc-products-page.jc-layout-runtime-elementor:not(.elementor-editor-active)
#main-content.jc-page--products
.jc-product-card__body > .elementor-widget-heading h3 {
	font-weight: 400;
}

@media (max-width: 767px) {
	body.jc-products-page.jc-layout-runtime-elementor:not(.elementor-editor-active)
	#main-content.jc-page--products
	.jc-product-card-grid .elementor-loop-container {
		row-gap: 28px;
	}

	body.jc-products-page.jc-layout-runtime-elementor:not(.elementor-editor-active)
	#main-content.jc-page--products
	.jc-product-tile > .elementor-widget-text-editor.jc-type-body-medium {
		max-width: 244px;
		margin: 0 auto;
		color: var(--jc-color-brand-gold-light);
		font-family: "Libre Franklin", system-ui, -apple-system, "Segoe UI", sans-serif;
		font-size: 15px;
		line-height: 1.5;
		text-align: center;
	}

	body.jc-products-page.jc-layout-runtime-elementor:not(.elementor-editor-active)
	#main-content.jc-page--products
	.jc-product-tile > .elementor-widget-text-editor.jc-structured-fragment {
		max-width: 244px;
		margin: 8.8px auto 0;
		color: #332e28;
		font-family: "Libre Franklin", system-ui, -apple-system, "Segoe UI", sans-serif;
		font-size: 14px;
		line-height: 19.88px;
		text-align: center;
	}

}

body.jc-products-page.jc-layout-runtime-elementor
#main-content.jc-page--products
.elementor-widget-jc_managed_hero_media:has(> .jc-managed-hero-media__anchor.jc-managed-hero-media--content-position-desktop-approved) ~ .jc-section-inner > .jc-native-column > :not(.jc-scroll-marker-module) {
	transform: none;
}

body.jc-products-page.jc-layout-runtime-elementor
#main-content.jc-page--products
.elementor-widget-jc_managed_hero_media:has(> .jc-managed-hero-media__anchor.jc-managed-hero-media--content-position-desktop-higher) ~ .jc-section-inner > .jc-native-column > :not(.jc-scroll-marker-module) {
	transform: translateY(-2rem);
}

body.jc-products-page.jc-layout-runtime-elementor
#main-content.jc-page--products
.elementor-widget-jc_managed_hero_media:has(> .jc-managed-hero-media__anchor.jc-managed-hero-media--content-position-desktop-lower) ~ .jc-section-inner > .jc-native-column > :not(.jc-scroll-marker-module) {
	transform: translateY(2rem);
}

@media (max-width: 980px) {
	body.jc-products-page.jc-layout-runtime-elementor
	#main-content.jc-page--products
	.elementor-widget-jc_managed_hero_media:has(> .jc-managed-hero-media__anchor.jc-managed-hero-media--content-position-tablet-approved) ~ .jc-section-inner > .jc-native-column > :not(.jc-scroll-marker-module) {
		transform: none;
	}

	body.jc-products-page.jc-layout-runtime-elementor
	#main-content.jc-page--products
	.elementor-widget-jc_managed_hero_media:has(> .jc-managed-hero-media__anchor.jc-managed-hero-media--content-position-tablet-higher) ~ .jc-section-inner > .jc-native-column > :not(.jc-scroll-marker-module) {
		transform: translateY(-1.5rem);
	}

	body.jc-products-page.jc-layout-runtime-elementor
	#main-content.jc-page--products
	.elementor-widget-jc_managed_hero_media:has(> .jc-managed-hero-media__anchor.jc-managed-hero-media--content-position-tablet-lower) ~ .jc-section-inner > .jc-native-column > :not(.jc-scroll-marker-module) {
		transform: translateY(1.5rem);
	}
}

@media (max-width: 767px) {
	body.jc-products-page.jc-layout-runtime-elementor
	#main-content.jc-page--products
	.elementor-widget-jc_managed_hero_media:has(> .jc-managed-hero-media__anchor.jc-managed-hero-media--content-position-mobile-approved) ~ .jc-section-inner > .jc-native-column > :not(.jc-scroll-marker-module) {
		transform: none;
	}

	body.jc-products-page.jc-layout-runtime-elementor
	#main-content.jc-page--products
	.elementor-widget-jc_managed_hero_media:has(> .jc-managed-hero-media__anchor.jc-managed-hero-media--content-position-mobile-higher) ~ .jc-section-inner > .jc-native-column > :not(.jc-scroll-marker-module) {
		transform: translateY(-1rem);
	}

	body.jc-products-page.jc-layout-runtime-elementor
	#main-content.jc-page--products
	.elementor-widget-jc_managed_hero_media:has(> .jc-managed-hero-media__anchor.jc-managed-hero-media--content-position-mobile-lower) ~ .jc-section-inner > .jc-native-column > :not(.jc-scroll-marker-module) {
		transform: translateY(1rem);
	}
}
