.igg-motion-site {
	--igg-motion-accent: #d9e8a7;
	--igg-motion-border: #b7c8b3;
	--igg-motion-frame: #fdfefa;
}

.igg-motion-site.igg-brand-pages .igg-brand-hero-media.e-con {
	--igg-frame-inset: clamp(11px, 1.65vw, 26px);
	--padding-block-end: var(--igg-frame-inset);
	--padding-inline-end: var(--igg-frame-inset);
	position: relative;
	isolation: isolate;
}

.igg-motion-site .igg-brand-hero-media::before {
	position: absolute;
	z-index: -1;
	inset: 10% 0 0 12%;
	border: 1px solid #c6d6aa;
	border-radius: 6px;
	background: linear-gradient(145deg, #ebf1d8 10%, var(--igg-motion-accent) 100%);
	content: '';
	pointer-events: none;
}

.igg-motion-site .igg-brand-hero-media .elementor-widget-image {
	position: relative;
	width: 100%;
	min-width: 0;
	margin: 0;
	padding: clamp(5px, 0.6vw, 9px);
	border: 1px solid #d5dfd3;
	border-radius: 6px;
	background: var(--igg-motion-frame);
	box-shadow: 0 12px 30px rgb(23 47 38 / 10%), 0 2px 6px rgb(23 47 38 / 6%);
}

.igg-motion-site .igg-brand-hero-media figure.wp-caption {
	display: block;
	width: 100%;
	max-width: none;
	margin: 0;
}

.igg-motion-site .igg-brand-hero-media img {
	border-radius: 3px;
}

.igg-motion-site .igg-brand-hero-media figcaption {
	margin: 7px 4px 2px;
	color: #486452;
	font-size: 0.75rem;
	line-height: 1.35;
	text-align: end;
}

.igg-motion-site .igg-brand-tile:focus-within {
	border-color: var(--igg-motion-border);
	background-color: var(--igg-motion-frame);
}

.igg-motion-site .igg-brand-tile .elementor-heading-title a:focus-visible {
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.13em;
}

.igg-motion-site .igg-catalog :is(.igg-product-list-item, .product-wrapper):focus-within {
	border-color: var(--igg-motion-border);
}

.igg-motion-site .igg-catalog :is(.igg-product-list-title, .wd-entities-title) a:focus-visible {
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.16em;
}

.igg-motion-site :is(.igg-brand-button .elementor-button, .igg-store-button, .igg-store-text-link, .igg-brand-footer a):focus-visible,
.igg-motion-site:is(.woocommerce-account, .woocommerce-cart, .woocommerce-checkout) :is(.woocommerce, .wc-block-cart, .wc-block-checkout) :is(a, button, input, select, textarea):focus-visible {
	outline: 2px solid #234936;
	outline-offset: 3px;
}

.igg-motion-site :is(.igg-store-text-link, .igg-brand-footer a, .woocommerce-MyAccount-navigation a):focus-visible {
	text-decoration-line: underline;
	text-decoration-thickness: 2px;
	text-underline-offset: 0.22em;
}

@media (hover: hover) {
	.igg-motion-site .igg-brand-tile:hover {
		border-color: var(--igg-motion-border);
		background-color: var(--igg-motion-frame);
	}

	.igg-motion-site .igg-brand-tile .elementor-heading-title a:hover {
		text-decoration: underline;
		text-decoration-thickness: 1px;
		text-underline-offset: 0.13em;
	}

	.igg-motion-site .igg-catalog :is(.igg-product-list-item, .product-wrapper):hover {
		border-color: var(--igg-motion-border);
	}

	.igg-motion-site .igg-catalog :is(.igg-product-list-title, .wd-entities-title) a:hover {
		text-decoration: underline;
		text-decoration-thickness: 1px;
		text-underline-offset: 0.16em;
	}

	.igg-motion-site :is(.igg-store-text-link, .igg-brand-footer a, .woocommerce-MyAccount-navigation a):hover {
		text-decoration: underline;
		text-decoration-thickness: 2px;
		text-underline-offset: 0.22em;
	}

	.igg-motion-site :is(.igg-brand-button .elementor-button, .igg-store-button):not([aria-disabled='true'], .disabled):hover,
	.igg-motion-site:is(.woocommerce-account, .woocommerce-cart, .woocommerce-checkout) :is(.woocommerce-form-login__submit, .checkout-button, #place_order, .wc-block-components-checkout-place-order-button, .wc-block-cart__submit-button):not(:disabled, [aria-disabled='true'], .disabled, .loading, .is-loading):hover {
		box-shadow: 0 3px 12px rgb(23 47 38 / 14%);
	}
}

@media (prefers-reduced-motion: no-preference) {
	.igg-motion-site.igg-motion-active [data-igg-motion='hero-title'] {
		--igg-entry-offset: 20px;
		--igg-entry-time: 620ms;
	}

	.igg-motion-site.igg-motion-active [data-igg-motion='hero-copy'] {
		--igg-entry-offset: 13px;
		--igg-entry-time: 510ms;
	}

	.igg-motion-site.igg-motion-active [data-igg-motion='media'] {
		--igg-entry-offset: 18px;
		--igg-entry-time: 680ms;
	}

	.igg-motion-site.igg-motion-active :is([data-igg-motion='heading'], [data-igg-motion='callout']) {
		--igg-entry-offset: 11px;
		--igg-entry-time: 460ms;
	}

	.igg-motion-site.igg-motion-active [data-igg-visible]:is([data-igg-motion='hero-title'], [data-igg-motion='hero-copy'], [data-igg-motion='heading'], [data-igg-motion='tile'], [data-igg-motion='detail'], [data-igg-motion='callout']) {
		animation: igg-motion-arrive var(--igg-entry-time, 400ms) cubic-bezier(0.19, 0.78, 0.24, 1) clamp(0ms, var(--igg-entry-delay, 0ms), 180ms) backwards;
	}

	.igg-motion-site.igg-motion-active [data-igg-motion='media'][data-igg-visible] > .elementor-widget-image {
		animation: igg-motion-arrive var(--igg-entry-time) cubic-bezier(0.2, 0.72, 0.24, 1) clamp(0ms, var(--igg-entry-delay, 0ms), 180ms) backwards;
	}

	.igg-motion-site.igg-motion-active [data-igg-visible]:is([data-igg-motion='catalog'], [data-igg-motion='product']) {
		animation: igg-motion-fade 330ms ease-out clamp(0ms, var(--igg-entry-delay, 0ms), 120ms) backwards;
	}

	.igg-motion-site.igg-motion-active [data-igg-motion]:focus-within {
		--igg-entry-offset: 0px;
		--igg-entry-from-opacity: 1;
	}

	.igg-motion-site.igg-motion-active .igg-brand-hero-media[data-igg-motion='media'] > .elementor-widget-image {
		transform: translateY(clamp(-6px, var(--igg-media-y, 0px), 6px));
	}

	.igg-motion-site .igg-brand-tile {
		transition: background-color 170ms ease-out, border-color 170ms ease-out;
	}

	.igg-motion-site .igg-catalog .igg-product-list-item {
		transition: border-color 150ms ease-out;
	}
}

@media (min-width: 900px) and (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
	.igg-motion-site.igg-motion-active .igg-brand-hero-media[data-igg-motion='media'] {
		perspective: 1020px;
	}

	.igg-motion-site.igg-motion-active .igg-brand-hero-media[data-igg-motion='media'] > .elementor-widget-image {
		transform: translateY(clamp(-18px, var(--igg-media-y, 0px), 18px))
			rotateX(clamp(-4deg, var(--igg-media-rx, 0deg), 4deg))
			rotateY(clamp(-4deg, var(--igg-media-ry, 0deg), 4deg));
		transform-origin: center;
	}
}

@media (max-width: 767px) {
	.igg-motion-site .igg-brand-hero-media {
		--igg-frame-inset: 10px;
	}

	.igg-motion-site.igg-motion-active :is([data-igg-motion='hero-title'], [data-igg-motion='hero-copy'], [data-igg-motion='media']) {
		--igg-entry-offset: 8px;
		--igg-entry-time: 420ms;
	}
}

@keyframes igg-motion-arrive {
	from {
		opacity: var(--igg-entry-from-opacity, 0.84);
		translate: 0 var(--igg-entry-offset, 8px);
	}

	to {
		opacity: 1;
		translate: 0 0;
	}
}

@keyframes igg-motion-fade {
	from {
		opacity: var(--igg-entry-from-opacity, 0.9);
	}

	to {
		opacity: 1;
	}
}
