/*! FIT-Z Turntable 1.2.0 */
.fitz-tt {
	--tt-h: 620px;
	--tt-ring: 66;
	--tt-size: 52;
	--tt-front: 96;
	--tt-fade: 80;
	--tt-cover: 58;
	--tt-pw: 80;
	--tt-py: 20;
	--tt-pd: 16;
	--tt-thick: 18px;
	--tt-plat: #FFFFFF;
	--tt-plat-side: #E3E3E3;
	--tt-plat-hl: rgba(255, 255, 255, .7);
	--tt-plat-shadow: rgba(18, 18, 18, .16);
	--tt-rim: #C6FF00;
	--tt-rim-w: 2px;
	--tt-mark: #121212;
	--tt-shadow: rgba(18, 18, 18, .28);
	--tt-arrow: #121212;
	--tt-arrow-bg: #FFFFFF;
	--tt-arrow-bd: #121212;
	--tt-arrow-size: 44px;
	--tt-dot: #121212;
	--tt-dot-size: 8px;
	--tt-dot-active: 22px;
	--tt-dot-gap: 12px;
	--tt-lift: 0px;
	--tt-blur: 1px;
	--tt-sh-op: 100;
	--tt-sh-w: 90;
	--tt-sh-h: 4;
	--tt-sh-soft: 100;
	--tt-sh-y: 0;
	--tt-pattern: rgba(18, 18, 18, .10);
	--tt-tick: rgba(18, 18, 18, .16);
	--tt-floor: #F4F4F4;
	--tt-floor-h: 14;
	--tt-info-space: 10px;
	position: relative;
	isolation: isolate;
	width: 100%;
}
@media (max-width: 1024px) {
	.fitz-tt { --tt-h: 560px; --tt-ring: 84; --tt-size: 48; --tt-front: 90; --tt-pw: 96; --tt-pd: 14; --tt-thick: 14px; --tt-blur: 1px; }
}
@media (max-width: 767px) {
	.fitz-tt { --tt-h: 430px; --tt-ring: 100; --tt-size: 46; --tt-front: 82; --tt-pw: 110; --tt-py: 22; --tt-pd: 12; --tt-thick: 10px; --tt-arrow-size: 40px; --tt-blur: 0px; --tt-floor-h: 12; --tt-dot-active: 20px; --tt-info-space: 8px; }
}

/* Stage */
.fitz-tt__stage {
	position: relative;
	height: var(--tt-h);
	overflow: hidden;
	touch-action: pan-y;
	-webkit-user-select: none;
	user-select: none;
	-webkit-tap-highlight-color: transparent;
	cursor: grab;
}
.fitz-tt--single .fitz-tt__stage { cursor: default; }
.fitz-tt.is-dragging .fitz-tt__stage { cursor: grabbing; }

/* Platform: a round podium (top + side + floor shadow), or an outline ring */
.fitz-tt--plat-dark {
	--tt-plat: #1E1E1E;
	--tt-plat-side: #0C0C0C;
	--tt-plat-hl: rgba(255, 255, 255, .08);
	--tt-plat-shadow: rgba(0, 0, 0, .28);
	--tt-mark: #C6FF00;
	--tt-pattern: rgba(255, 255, 255, .10);
	--tt-tick: rgba(198, 255, 0, .55);
}
.fitz-tt--surface-dashes { --tt-pattern: #C6FF00; }
.fitz-tt__platform {
	position: absolute;
	z-index: 1;
	left: 50%;
	bottom: calc((var(--tt-py) - var(--tt-pd) / 2) * 1%);
	width: calc(var(--tt-pw) * 1%);
	height: calc(var(--tt-pd) * 1%);
	transform: translateX(-50%);
	pointer-events: none;
}
.fitz-tt__platform > span { position: absolute; left: 0; right: 0; display: block; }
.fitz-tt__plat-floor {
	left: -8% !important;
	right: -8% !important;
	top: calc(var(--tt-thick) + 25%);
	height: 115%;
	border-radius: 50%;
	background: radial-gradient(closest-side, var(--tt-plat-shadow), rgba(0, 0, 0, 0));
}
.fitz-tt__plat-base,
.fitz-tt__plat-wall {
	background:
		linear-gradient(90deg, rgba(0, 0, 0, .16) 0%, rgba(0, 0, 0, 0) 24%, rgba(255, 255, 255, .10) 50%, rgba(0, 0, 0, 0) 76%, rgba(0, 0, 0, .16) 100%),
		var(--tt-plat-side);
}
.fitz-tt__plat-base { top: var(--tt-thick); height: 100%; border-radius: 50%; }
.fitz-tt__plat-wall { top: 50%; height: var(--tt-thick); }
.fitz-tt__plat-top {
	top: 0;
	height: 100%;
	border-radius: 50%;
	background: radial-gradient(ellipse 60% 70% at 50% 38%, var(--tt-plat-hl), rgba(255, 255, 255, 0)), var(--tt-plat);
	box-shadow: inset 0 0 0 var(--tt-rim-w) var(--tt-rim), inset 0 -10px 18px rgba(0, 0, 0, .05);
}
.fitz-tt--plat-ring .fitz-tt__plat-floor,
.fitz-tt--plat-ring .fitz-tt__plat-base,
.fitz-tt--plat-ring .fitz-tt__plat-wall { display: none; }
.fitz-tt--plat-ring .fitz-tt__plat-top { background: none; box-shadow: inset 0 0 0 var(--tt-rim-w) var(--tt-rim); }

/* Pattern on the podium top: a circle squashed into the ellipse and rotated with the models */
.fitz-tt__platform > .fitz-tt__plat-disc {
	display: none;
	top: 50%;
	width: 100%;
	height: auto;
	aspect-ratio: 1 / 1;
	border-radius: 50%;
	transform: translateY(-50%) scaleY(.2);
	transform-origin: 50% 50%;
	will-change: transform;
}
.fitz-tt--surface-spokes .fitz-tt__plat-disc,
.fitz-tt--surface-dashes .fitz-tt__plat-disc { display: block; }
.fitz-tt--surface-spokes .fitz-tt__plat-disc {
	background: repeating-conic-gradient(from 0deg, var(--tt-pattern) 0deg .45deg, rgba(0, 0, 0, 0) .45deg 15deg);
	-webkit-mask-image: radial-gradient(circle closest-side, rgba(0, 0, 0, 0) 52%, #000 72%, #000 96%, rgba(0, 0, 0, 0) 99%);
	mask-image: radial-gradient(circle closest-side, rgba(0, 0, 0, 0) 52%, #000 72%, #000 96%, rgba(0, 0, 0, 0) 99%);
}
.fitz-tt--surface-dashes .fitz-tt__plat-disc {
	background: repeating-conic-gradient(from 0deg, var(--tt-pattern) 0deg 5deg, rgba(0, 0, 0, 0) 5deg 12deg);
	-webkit-mask-image: radial-gradient(circle closest-side, rgba(0, 0, 0, 0) 84%, #000 85%, #000 90%, rgba(0, 0, 0, 0) 91%);
	mask-image: radial-gradient(circle closest-side, rgba(0, 0, 0, 0) 84%, #000 85%, #000 90%, rgba(0, 0, 0, 0) 91%);
}
/* Lines on the podium side, placed by JS so they slide with the turn */
.fitz-tt__platform > .fitz-tt__tick {
	left: 0;
	right: auto;
	top: 0;
	width: 2px;
	height: var(--tt-thick);
	margin-left: -1px;
	background: var(--tt-tick);
	will-change: transform, opacity;
}
.fitz-tt__mark {
	position: absolute;
	z-index: 5;
	left: 50%;
	bottom: 0;
	width: 12px;
	height: 4px;
	margin: 0 0 -2px -6px;
	border-radius: 50%;
	background: var(--tt-mark);
	pointer-events: none;
	will-change: transform, opacity;
}
.fitz-tt--plat-none .fitz-tt__platform,
.fitz-tt--plat-none .fitz-tt__mark { display: none; }

/* Models */
.fitz-tt__model {
	position: absolute;
	left: 50%;
	bottom: 0;
	display: block;
	transform-origin: 50% 100%;
	will-change: transform, opacity;
	text-decoration: none;
	outline: none;
	-webkit-user-drag: none;
}
.fitz-tt:not(.is-ready) .fitz-tt__model { opacity: 0; }
.fitz-tt__model:focus-visible .fitz-tt__body {
	outline: 2px dashed var(--tt-arrow);
	outline-offset: 4px;
}
.fitz-tt__body {
	position: absolute;
	inset: 0;
	transform-origin: 50% calc(var(--tt-cover) * 1%);
}
.fitz-tt .fitz-tt__img {
	position: absolute;
	display: block;
	max-width: none;
	max-height: none;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	pointer-events: none;
	-webkit-user-drag: none;
	user-select: none;
}
.fitz-tt .fitz-tt__img--full {
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: 50% 100%;
}
.fitz-tt .fitz-tt__img--front,
.fitz-tt .fitz-tt__img--pose {
	left: 50%;
	top: 0;
	width: auto;
	height: calc(var(--tt-cover) * 1%);
	transform: translateX(-50%);
	opacity: 0;
}
.fitz-tt .fitz-tt__model--nofront .fitz-tt__img--pose {
	left: 0;
	width: 100%;
	height: 100%;
	transform: none;
	object-fit: contain;
	object-position: 50% 100%;
}
.fitz-tt__img--front:not(.is-loaded),
.fitz-tt__img--pose:not(.is-loaded) { visibility: hidden; }

/* Floor fade: a band in the background colour over the bottom edge (nothing shows through the model) */
.fitz-tt__floor {
	display: none;
	position: absolute;
	z-index: 250;
	left: 0;
	right: 0;
	bottom: 0;
	height: calc(var(--tt-floor-h) * 1%);
	background: linear-gradient(to bottom, transparent, var(--tt-floor) 92%);
	pointer-events: none;
}
.fitz-tt--floor .fitz-tt__floor { display: block; }

/* Depth: models at the back are slightly soft (JS sets --tt-bl to match each model's scale) */
.fitz-tt__body { transition: filter .45s ease; }
.fitz-tt__model.is-back .fitz-tt__body { filter: blur(var(--tt-bl, 0px)); }

/* Desktop hover */
@media (hover: hover) and (pointer: fine) {
	.fitz-tt__model { cursor: pointer; }
	.fitz-tt__body { transition: filter .45s ease, transform .35s cubic-bezier(.3, .7, .3, 1); }
	.fitz-tt__model.is-front:hover .fitz-tt__body:not(.is-sway) { transform: translateY(-1%); }
	.fitz-tt__model:not(.is-front):hover { filter: brightness(1.06); }
}

.fitz-tt__shadow {
	position: absolute;
	left: calc((100 - var(--tt-sh-w)) / 2 * 1%);
	right: calc((100 - var(--tt-sh-w)) / 2 * 1%);
	bottom: calc(var(--tt-sh-y) * 1%);
	height: calc(var(--tt-sh-h) * 1%);
	transform: translateY(50%);
	border-radius: 50%;
	background: radial-gradient(closest-side, var(--tt-shadow) calc((100 - var(--tt-sh-soft)) * 1%), rgba(0, 0, 0, 0) 100%);
	pointer-events: none;
}

/* Little settle motion when a model lands in front */
.fitz-tt__body.is-sway { animation: fitz-tt-sway .95s cubic-bezier(.3, .7, .3, 1) both; }
@keyframes fitz-tt-sway {
	0% { transform: none; }
	35% { transform: rotate(-1.4deg) translateY(-.4%); }
	70% { transform: rotate(.7deg); }
	100% { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
	.fitz-tt__body.is-sway { animation: none; }
}

/* Arrows and dots */
.fitz-tt__nav {
	position: relative;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	margin-top: 14px;
}
.fitz-tt .fitz-tt__arrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: var(--tt-arrow-size);
	height: var(--tt-arrow-size);
	min-height: 0;
	padding: 0;
	margin: 0;
	border: 1px solid var(--tt-arrow-bd);
	border-radius: 50%;
	background: var(--tt-arrow-bg);
	color: var(--tt-arrow);
	line-height: 1;
	box-shadow: none;
	cursor: pointer;
	transition: transform .15s ease;
}
.fitz-tt .fitz-tt__arrow:hover,
.fitz-tt .fitz-tt__arrow:focus {
	background: var(--tt-arrow-bg);
	color: var(--tt-arrow);
	border-color: var(--tt-arrow-bd);
}
.fitz-tt .fitz-tt__arrow:active { transform: scale(.94); }
.fitz-tt .fitz-tt__arrow:focus,
.fitz-tt .fitz-tt__dot:focus { outline: none; box-shadow: none; }
.fitz-tt .fitz-tt__arrow:focus-visible { outline: 2px solid var(--tt-arrow); outline-offset: 2px; }
.fitz-tt .fitz-tt__arrow svg { display: block; width: 46%; height: 46%; }

.fitz-tt__dots { display: flex; align-items: center; gap: 0; }
.fitz-tt .fitz-tt__dot {
	position: relative;
	width: calc(var(--tt-dot-size) + var(--tt-dot-gap));
	height: max(28px, calc(var(--tt-dot-size) + 16px));
	min-height: 0;
	padding: 0;
	margin: 0;
	border: 0;
	background: transparent;
	box-shadow: none;
	cursor: pointer;
	transition: width .25s ease;
}
.fitz-tt .fitz-tt__dot:hover,
.fitz-tt .fitz-tt__dot:focus { background: transparent; }
.fitz-tt .fitz-tt__dot::before {
	content: "";
	position: absolute;
	left: 50%;
	top: 50%;
	width: var(--tt-dot-size);
	height: var(--tt-dot-size);
	transform: translate(-50%, -50%);
	border-radius: calc(var(--tt-dot-size) / 2);
	background: var(--tt-dot);
	opacity: .25;
	transition: width .25s ease, opacity .25s ease;
}
.fitz-tt .fitz-tt__dot.is-active { width: calc(var(--tt-dot-active) + var(--tt-dot-gap)); }
.fitz-tt .fitz-tt__dot.is-active::before { width: var(--tt-dot-active); opacity: 1; }
.fitz-tt .fitz-tt__dot:focus-visible { outline: 2px solid var(--tt-dot); outline-offset: 0; }

.fitz-tt--arrows-sides .fitz-tt__nav { position: static; }
.fitz-tt--arrows-sides .fitz-tt__arrow {
	position: absolute;
	z-index: 300;
	top: calc(var(--tt-h) / 2);
	transform: translateY(-50%);
}
.fitz-tt--arrows-sides .fitz-tt__arrow:active { transform: translateY(-50%) scale(.94); }
.fitz-tt--arrows-sides .fitz-tt__arrow--prev { left: 12px; }
.fitz-tt--arrows-sides .fitz-tt__arrow--next { right: 12px; }

.fitz-tt__sr {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}
.fitz-tt-empty {
	padding: 40px 20px;
	border: 1px dashed #BDBDBD;
	color: #555;
	text-align: center;
}

/* Shop this look: one line per model, stacked in the same grid cell so the height never jumps */
.fitz-tt__infos {
	display: grid;
	justify-items: center;
	margin-top: var(--tt-info-space);
}
.fitz-tt .fitz-tt__info {
	grid-area: 1 / 1;
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: center;
	gap: 2px 10px;
	max-width: 100%;
	padding: 0 12px;
	color: #121212;
	text-align: center;
	text-decoration: none;
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity .25s ease, transform .25s ease, visibility 0s linear .25s;
}
.fitz-tt .fitz-tt__info.is-active {
	opacity: 1;
	visibility: visible;
	transform: none;
	transition: opacity .4s ease .15s, transform .4s ease .15s, visibility 0s;
}
.fitz-tt__info-name { font-size: 15px; font-weight: 600; line-height: 1.3; }
.fitz-tt__info-price { font-size: 15px; line-height: 1.3; }
.fitz-tt__info-price del { opacity: .5; margin-right: 4px; }
.fitz-tt__info-price ins { text-decoration: none; }
.fitz-tt__info-cta {
	flex-basis: 100%;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.6;
	text-decoration: underline;
	text-underline-offset: 3px;
}
.fitz-tt .fitz-tt__info:focus-visible { outline: 2px solid var(--tt-arrow); outline-offset: 3px; }

.fitz-tt-editor-note {
	margin: 0 0 8px;
	padding: 8px 12px;
	border: 1px solid #F0A6A6;
	border-radius: 6px;
	background: #FFF1F1;
	color: #8A1F1F;
	font-size: 13px;
	line-height: 1.4;
}
