.vfe-frame-wrap {
	display: flex;
	width: 100%;
}

.vfe-frame {
	--vfe-aspect-ratio: 1 / 1;
	--vfe-mask-size: 100%;
	--vfe-mask-position-x: 50%;
	--vfe-mask-position-y: 50%;
	position: relative;
	width: 100%;
	aspect-ratio: var(--vfe-aspect-ratio);
	overflow: hidden;
	transition: transform 220ms ease, box-shadow 220ms ease, filter 220ms ease;
}

.vfe-frame.is-clickable {
	cursor: pointer;
}

.vfe-frame.is-clickable:focus-visible {
	outline: 3px solid rgba(17, 17, 17, 0.6);
	outline-offset: 4px;
}

body.vfe-popup-open {
	overflow: hidden;
}

.vfe-popup-host-active {
	position: relative !important;
	z-index: 2147483646 !important;
	isolation: isolate;
}

.vfe-frame.preset-square {
	--vfe-aspect-ratio: 1 / 1;
}

.vfe-frame.preset-portrait {
	--vfe-aspect-ratio: 4 / 5;
}

.vfe-frame.preset-tall {
	--vfe-aspect-ratio: 2 / 3;
}

.vfe-frame.preset-landscape {
	--vfe-aspect-ratio: 16 / 9;
}

.vfe-product-layer,
.vfe-image-overlay,
.vfe-overlay,
.vfe-frame-image,
.vfe-product-image {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.vfe-product-layer {
	z-index: 1;
}

.vfe-frame.has-mask .vfe-product-layer {
	-webkit-mask-image: var(--vfe-mask-image);
	mask-image: var(--vfe-mask-image);
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-position: var(--vfe-mask-position-x) var(--vfe-mask-position-y);
	mask-position: var(--vfe-mask-position-x) var(--vfe-mask-position-y);
	-webkit-mask-size: var(--vfe-mask-size) var(--vfe-mask-size);
	mask-size: var(--vfe-mask-size) var(--vfe-mask-size);
}

.vfe-product-image {
	--vfe-image-scale: 100;
	--vfe-image-offset-x: 0%;
	--vfe-image-offset-y: 0%;
	display: block;
	object-fit: cover;
	object-position: center center;
	transform: translate(var(--vfe-image-offset-x), var(--vfe-image-offset-y)) scale(calc(var(--vfe-image-scale) / 100));
	transform-origin: center center;
	transition: opacity 220ms ease, transform 220ms ease;
}

.vfe-product-image-hover {
	opacity: 0;
}

.vfe-image-overlay {
	--vfe-image-overlay-opacity: 0.35;
	z-index: 2;
	display: block;
	pointer-events: none;
	background-color: rgba(0, 0, 0, 0.35);
	opacity: var(--vfe-image-overlay-opacity);
	transition-property: opacity;
	transition-duration: 220ms;
	transition-timing-function: ease;
}

.vfe-image-overlay.is-hover {
	opacity: 0;
}

.vfe-frame:hover .vfe-image-overlay.is-hover {
	opacity: var(--vfe-image-overlay-opacity);
}

.vfe-frame:hover .vfe-product-image-hover {
	opacity: 1;
}

.vfe-frame:hover .vfe-product-image-primary {
	opacity: 0;
}

.vfe-frame.hover-soft-zoom:hover .vfe-product-image {
	transform: translate(var(--vfe-image-offset-x), var(--vfe-image-offset-y)) scale(calc((var(--vfe-image-scale) + 4) / 100));
}

.vfe-frame.hover-float-frame:hover {
	transform: translateY(-6px);
}

.vfe-frame.hover-lift-card:hover {
	transform: translateY(-8px) scale(1.01);
	box-shadow: 0 18px 42px rgba(0, 0, 0, 0.18);
}

.vfe-frame.hover-reveal-copy .vfe-overlay-content,
.vfe-overlay.content-hover .vfe-overlay-content,
.vfe-overlay.content-hover-desktop .vfe-overlay-content {
	opacity: 0;
	transform: translateY(12px);
	transition: opacity 220ms ease, transform 220ms ease;
}

.vfe-frame.hover-reveal-copy:hover .vfe-overlay-content,
.vfe-frame:hover .vfe-overlay.content-hover .vfe-overlay-content,
.vfe-frame:hover .vfe-overlay.content-hover-desktop .vfe-overlay-content {
	opacity: 1;
	transform: translateY(0);
}

.vfe-frame-image {
	--vfe-frame-scale: 100;
	--vfe-frame-offset-x: 0%;
	--vfe-frame-offset-y: 0%;
	z-index: 3;
	display: block;
	pointer-events: none;
	object-fit: fill;
	transform: translate(var(--vfe-frame-offset-x), var(--vfe-frame-offset-y)) scale(calc(var(--vfe-frame-scale) / 100));
	transform-origin: center center;
}

.vfe-overlay {
	z-index: 4;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: end;
	padding: 20px;
	pointer-events: none;
}

.vfe-overlay-content {
	display: flex;
	width: 100%;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	text-align: center;
}

.vfe-overlay-title {
	max-width: 100%;
	font-size: 24px;
	font-weight: 600;
	line-height: 1.2;
	color: #ffffff;
	margin: 0;
	text-wrap: balance;
}

.vfe-overlay-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	padding: 10px 18px;
	border: 0 solid transparent;
	border-radius: 6px;
	background-color: #ffffff;
	color: #111111;
	font-size: 15px;
	font-weight: 600;
	line-height: 1;
	text-decoration: none;
	pointer-events: auto;
	transition: transform 180ms ease, opacity 180ms ease;
}

.vfe-overlay-button:hover {
	transform: translateY(-1px);
}

.vfe-frame.vfe-click-active.click-pulse {
	animation: vfeClickPulse 240ms ease both;
}

.vfe-frame.vfe-click-active.click-press {
	animation: vfeClickPress 220ms ease both;
}

.vfe-frame.vfe-click-active.click-glow {
	animation: vfeClickGlow 260ms ease both;
}

.vfe-popup {
	position: fixed;
	inset: 0;
	z-index: 2147483647;
	display: grid;
	place-items: center;
	padding: 28px;
	background-color: rgba(10, 10, 10, 0.78);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 260ms ease, visibility 260ms ease;
}

.vfe-popup.align-center {
	place-items: center;
}

.vfe-popup.align-top {
	place-items: start center;
}

.vfe-popup.align-bottom {
	place-items: end center;
}

.vfe-popup.is-open {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

.vfe-popup-dialog {
	--vfe-popup-offset-y: 0px;
	position: relative;
	width: min(100%, 1240px);
	max-height: calc(100vh - 56px);
	transform: translateY(calc(18px + var(--vfe-popup-offset-y))) scale(0.97);
	opacity: 0;
	transition: transform 300ms ease, opacity 300ms ease;
}

.vfe-popup.is-open .vfe-popup-dialog {
	transform: translateY(var(--vfe-popup-offset-y)) scale(1);
	opacity: 1;
}

.vfe-popup-panel {
	display: grid;
	width: 100%;
	max-width: 1120px;
	margin: 0 auto;
	grid-template-columns: minmax(280px, 0.95fr) minmax(320px, 1.05fr);
	gap: 28px;
	align-items: center;
	max-height: calc(100vh - 56px);
	overflow: auto;
	padding: 28px;
	border-radius: 18px;
	background: #ffffff;
	box-shadow: 0 28px 90px rgba(0, 0, 0, 0.34);
}

.vfe-popup.no-content .vfe-popup-panel {
	grid-template-columns: 1fr;
	width: auto;
	max-width: min(100%, 760px);
	justify-items: center;
}

.vfe-popup.no-content .vfe-popup-media {
	width: min(100%, 760px);
}

.vfe-popup.is-floating .vfe-popup-dialog {
	width: min(100%, 1360px);
}

.vfe-popup.is-floating .vfe-popup-panel {
	width: min(100%, 1320px);
	max-width: none;
	padding: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	overflow: visible;
}

.vfe-popup.is-floating.content-side .vfe-popup-panel {
	grid-template-columns: minmax(320px, 0.95fr) minmax(280px, 0.7fr);
	gap: 40px;
}

.vfe-popup.is-floating.content-bottom .vfe-popup-panel {
	grid-template-columns: 1fr;
	justify-items: center;
	gap: 22px;
}

.vfe-popup.is-floating.no-content .vfe-popup-panel {
	width: auto;
	max-width: min(100%, 860px);
	grid-template-columns: 1fr;
	justify-items: center;
}

.vfe-popup.is-floating .vfe-popup-media,
.vfe-popup.is-floating .vfe-popup-content {
	width: 100%;
}

.vfe-popup.is-floating.content-bottom .vfe-popup-content {
	max-width: 760px;
}

.vfe-popup.is-floating .vfe-popup-content {
	align-self: center;
	padding: 0;
}

.vfe-popup.is-floating .vfe-popup-frame {
	filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.34));
}

.vfe-popup.is-floating .vfe-popup-close {
	top: 0;
	right: 0;
	transform: translate(calc(28% + var(--vfe-close-offset-x)), calc(-28% + var(--vfe-close-offset-y)));
}

.vfe-popup-media {
	min-width: 0;
}

.vfe-popup-frame {
	cursor: default;
}

.vfe-popup-content {
	min-width: 0;
}

.vfe-popup-close {
	--vfe-close-offset-x: 0px;
	--vfe-close-offset-y: 0px;
	position: absolute;
	top: 12px;
	right: 12px;
	z-index: 3;
	display: inline-flex;
	width: 44px;
	height: 44px;
	align-items: center;
	justify-content: center;
	border: 0;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.96);
	color: #111111;
	font-size: 30px;
	line-height: 1;
	cursor: pointer;
	box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
	transform: translate(var(--vfe-close-offset-x), var(--vfe-close-offset-y));
}

.vfe-popup-close:hover {
	transform: translate(var(--vfe-close-offset-x), calc(var(--vfe-close-offset-y) - 1px));
}

.vfe-popup-close:focus-visible {
	outline: 3px solid rgba(17, 17, 17, 0.6);
	outline-offset: 3px;
}

.vfe-popup-fallback {
	display: grid;
	gap: 14px;
}

.vfe-popup-title {
	margin: 0;
	font-size: 34px;
	line-height: 1.15;
}

.vfe-popup-text {
	color: #303030;
	font-size: 17px;
	line-height: 1.65;
}

.vfe-popup-text > :last-child {
	margin-bottom: 0;
}

@media (hover: none) {
	.vfe-overlay.content-hover-desktop .vfe-overlay-content,
	.vfe-frame.hover-reveal-copy .vfe-overlay-content {
		opacity: 1;
		transform: translateY(0);
	}
}

@media (max-width: 767px) {
	.vfe-popup {
		padding: 14px;
	}

	.vfe-popup-dialog {
		max-height: calc(100vh - 28px);
	}

	.vfe-popup-panel {
		grid-template-columns: 1fr;
		gap: 18px;
		max-height: calc(100vh - 28px);
		padding: 18px;
		border-radius: 14px;
	}

	.vfe-popup.is-floating .vfe-popup-panel,
	.vfe-popup.is-floating.content-side .vfe-popup-panel,
	.vfe-popup.is-floating.content-bottom .vfe-popup-panel {
		grid-template-columns: 1fr;
		gap: 18px;
	}

	.vfe-popup.is-floating .vfe-popup-close {
		top: 0;
		right: 0;
		transform: translate(calc(8% + var(--vfe-close-offset-x)), calc(-8% + var(--vfe-close-offset-y)));
	}

	.vfe-popup-close {
		top: 8px;
		right: 8px;
		width: 40px;
		height: 40px;
		font-size: 28px;
	}

	.vfe-popup-title {
		font-size: 28px;
	}
}

@keyframes vfeClickPulse {
	0% {
		transform: scale(1);
	}

	45% {
		transform: scale(0.98);
	}

	100% {
		transform: scale(1.01);
	}
}

@keyframes vfeClickPress {
	0% {
		transform: scale(1);
	}

	100% {
		transform: scale(0.97);
	}
}

@keyframes vfeClickGlow {
	0% {
		filter: brightness(1);
	}

	45% {
		filter: brightness(1.12);
	}

	100% {
		filter: brightness(1);
	}
}
