/**
 * Catalog product archive (/catalog/) layout for Elementor template 29381.
 *
 * It shares the same 1440px frame, full-width Hero, sidebar proportions and
 * single-column product Loop as the product-category archive. The actual Hero
 * image remains editable in Elementor.
 */

:where(body.post-type-archive-catalog_product, body.elementor-page-29381) {
	--eg-catalog-ink: #172b35;
	--eg-catalog-muted: #61727b;
	--eg-catalog-soft: #f3f7f8;
	--eg-catalog-primary: #1286a3;
}

/* Same site frame used by the category archive and catalog-product template. */
body.post-type-archive-catalog_product main#main-content.wd-content-layout.container,
body.elementor-page-29381 main#main-content.wd-content-layout.container {
	width: 100%;
	max-width: 1480px;
	padding-right: 20px;
	padding-bottom: 72px;
	padding-left: 20px;
}

/* Full viewport Hero with text aligned to the inner 1440px content line. */
:where(body.post-type-archive-catalog_product, body.elementor-page-29381) .elementor-element-1c12c63 {
	width: 100vw !important;
	max-width: 100vw !important;
	margin-right: calc(50% - 50vw) !important;
	margin-left: calc(50% - 50vw) !important;
	padding-right: max(20px, calc((100vw - 1440px) / 2)) !important;
	padding-left: max(20px, calc((100vw - 1440px) / 2)) !important;
	background-position: center center !important;
	background-repeat: no-repeat !important;
	background-size: cover !important;
}

:where(body.post-type-archive-catalog_product, body.elementor-page-29381) .elementor-element-d04d82b .elementor-heading-title {
	margin: 0;
	color: #fff !important;
	font-size: clamp(28px, 4vw, 46px);
	font-weight: 600;
	line-height: 1.15;
}

/* Products first on phones, sidebar first on desktop. */
:where(body.post-type-archive-catalog_product, body.elementor-page-29381) .elementor-element-f826b31 {
	--width: 100%;
	--display: flex;
	--flex-direction: column-reverse;
	--align-items: stretch;
	--gap: 32px;
	display: flex !important;
	flex-direction: column-reverse !important;
	align-items: stretch !important;
	gap: 32px !important;
	width: 100%;
	max-width: 1440px;
	margin-inline: auto;
	padding: 28px 0 56px;
}

:where(body.post-type-archive-catalog_product, body.elementor-page-29381) .elementor-element-f347e9b,
:where(body.post-type-archive-catalog_product, body.elementor-page-29381) .elementor-element-fef969d {
	--width: 100%;
	width: 100% !important;
	min-width: 0;
}

:where(body.post-type-archive-catalog_product, body.elementor-page-29381) .elementor-element-fef969d {
	padding: 0 !important;
	background: transparent;
	border: 0 !important;
	box-shadow: none !important;
}

/* The primary product Loop stays one column on every breakpoint. */
:where(body.post-type-archive-catalog_product, body.elementor-page-29381) .elementor-element-eb8a3b5,
:where(body.post-type-archive-catalog_product, body.elementor-page-29381) .elementor-element-eb8a3b5 .elementor-loop-container {
	width: 100%;
}

:where(body.post-type-archive-catalog_product, body.elementor-page-29381) .elementor-element-eb8a3b5 .elementor-loop-container {
	display: grid;
	grid-template-columns: minmax(0, 1fr) !important;
	column-gap: 0 !important;
	row-gap: 28px !important;
}

/* Existing Loop Item 29373: vertical on phones, horizontal from 700px. */
:where(body.post-type-archive-catalog_product, body.elementor-page-29381) .elementor-element-eb8a3b5 .elementor-element-6f6c07d {
	--width: 100%;
	--display: flex;
	--flex-direction: column;
	--align-items: stretch;
	--gap: 18px;
	display: flex !important;
	flex-direction: column !important;
	align-items: stretch !important;
	gap: 18px !important;
	width: 100% !important;
	min-width: 0;
	padding: 0 !important;
	background: #fff;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
}

:where(body.post-type-archive-catalog_product, body.elementor-page-29381) .elementor-element-eb8a3b5 .elementor-element-af78835 {
	--width: 100%;
	width: 100% !important;
	min-width: 0;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: var(--eg-catalog-soft);
	border: 0 !important;
	box-shadow: none !important;
}

:where(body.post-type-archive-catalog_product, body.elementor-page-29381) .elementor-element-eb8a3b5 .elementor-element-9abbc56,
:where(body.post-type-archive-catalog_product, body.elementor-page-29381) .elementor-element-eb8a3b5 .elementor-element-9abbc56 .elementor-widget-container,
:where(body.post-type-archive-catalog_product, body.elementor-page-29381) .elementor-element-eb8a3b5 .elementor-element-9abbc56 a {
	display: block;
	width: 100%;
	height: 100%;
}

:where(body.post-type-archive-catalog_product, body.elementor-page-29381) .elementor-element-eb8a3b5 .elementor-element-9abbc56 img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: center;
	transition: transform 220ms ease;
}

:where(body.post-type-archive-catalog_product, body.elementor-page-29381) .elementor-element-eb8a3b5 .elementor-element-6f6c07d:hover .elementor-element-9abbc56 img {
	transform: scale(1.025);
}

:where(body.post-type-archive-catalog_product, body.elementor-page-29381) .elementor-element-eb8a3b5 .elementor-element-aa8ba96 {
	--width: 100%;
	--gap: 10px;
	width: 100% !important;
	min-width: 0;
	padding: 2px 0 !important;
	gap: 10px !important;
	background: transparent;
	border: 0 !important;
	box-shadow: none !important;
}

:where(body.post-type-archive-catalog_product, body.elementor-page-29381) .elementor-element-fca57c1 :is(h1, h2, h3, h4, .e-heading-title, .elementor-heading-title),
:where(body.post-type-archive-catalog_product, body.elementor-page-29381) .elementor-element-fca57c1 :is(h1, h2, h3, h4, .e-heading-title, .elementor-heading-title) a {
	margin: 0;
	color: var(--eg-catalog-ink);
	font-size: clamp(20px, 4.8vw, 27px);
	font-weight: 600;
	line-height: 1.3;
	text-decoration: none;
}

:where(body.post-type-archive-catalog_product, body.elementor-page-29381) .elementor-element-fca57c1 a:hover {
	color: var(--eg-catalog-primary);
}

:where(body.post-type-archive-catalog_product, body.elementor-page-29381) .elementor-element-a17de90,
:where(body.post-type-archive-catalog_product, body.elementor-page-29381) .elementor-element-a17de90 p {
	margin: 0;
	color: var(--eg-catalog-muted);
	font-size: 14px;
	line-height: 1.65;
}

/* Pagination follows the same quiet visual language as the category archive. */
:where(body.post-type-archive-catalog_product, body.elementor-page-29381) .elementor-pagination {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 40px;
}

:where(body.post-type-archive-catalog_product, body.elementor-page-29381) .elementor-pagination .page-numbers {
	display: inline-grid;
	min-width: 38px;
	min-height: 38px;
	place-items: center;
	margin: 0;
	color: var(--eg-catalog-ink);
	background: var(--eg-catalog-soft);
	border: 0;
	box-shadow: none;
}

:where(body.post-type-archive-catalog_product, body.elementor-page-29381) .elementor-pagination :is(.page-numbers.current, .page-numbers:hover) {
	color: #fff;
	background: var(--eg-catalog-primary);
}

@media (min-width: 700px) {
	:where(body.post-type-archive-catalog_product, body.elementor-page-29381) .elementor-element-eb8a3b5 .elementor-element-6f6c07d {
		--flex-direction: row;
		--align-items: center;
		--gap: 24px;
		flex-direction: row !important;
		align-items: center !important;
		gap: 24px !important;
	}

	:where(body.post-type-archive-catalog_product, body.elementor-page-29381) .elementor-element-eb8a3b5 .elementor-element-af78835 {
		--width: 36%;
		flex: 0 0 36%;
		width: 36% !important;
	}

	:where(body.post-type-archive-catalog_product, body.elementor-page-29381) .elementor-element-eb8a3b5 .elementor-element-aa8ba96 {
		--width: auto;
		flex: 1 1 auto;
		width: auto !important;
		padding-block: 10px !important;
	}
}

@media (min-width: 992px) {
	:where(body.post-type-archive-catalog_product, body.elementor-page-29381) .elementor-element-f826b31 {
		--flex-direction: row;
		--align-items: flex-start;
		--gap: clamp(28px, 3vw, 44px);
		flex-direction: row !important;
		align-items: flex-start !important;
		gap: clamp(28px, 3vw, 44px) !important;
		padding-top: 40px;
	}

	:where(body.post-type-archive-catalog_product, body.elementor-page-29381) .elementor-element-f347e9b {
		--width: clamp(240px, 23%, 290px);
		position: sticky;
		top: 92px;
		flex: 0 0 clamp(240px, 23%, 290px);
		width: clamp(240px, 23%, 290px) !important;
	}

	:where(body.post-type-archive-catalog_product, body.elementor-page-29381) .elementor-element-fef969d {
		--width: auto;
		flex: 1 1 0;
		width: auto !important;
	}

	:where(body.post-type-archive-catalog_product, body.elementor-page-29381) .elementor-element-eb8a3b5 .elementor-element-af78835 {
		--width: 34%;
		flex-basis: 34%;
		width: 34% !important;
	}
}

@media (max-width: 479px) {
	body.post-type-archive-catalog_product main#main-content.wd-content-layout.container,
	body.elementor-page-29381 main#main-content.wd-content-layout.container {
		padding-right: 16px;
		padding-left: 16px;
	}

	:where(body.post-type-archive-catalog_product, body.elementor-page-29381) .elementor-element-1c12c63 {
		padding-right: 20px !important;
		padding-left: 20px !important;
	}

	:where(body.post-type-archive-catalog_product, body.elementor-page-29381) .elementor-element-f826b31 {
		padding-top: 22px;
	}
}

@supports (width: 100dvw) {
	:where(body.post-type-archive-catalog_product, body.elementor-page-29381) .elementor-element-1c12c63 {
		width: 100dvw !important;
		max-width: 100dvw !important;
		margin-right: calc(50% - 50dvw) !important;
		margin-left: calc(50% - 50dvw) !important;
	}
}

@media (prefers-reduced-motion: reduce) {
	:where(body.post-type-archive-catalog_product, body.elementor-page-29381) .elementor-element-eb8a3b5 .elementor-element-9abbc56 img {
		transition: none;
	}
}
