.funrent-shop-look-slider-block {
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	max-width: 100vw;
	padding: 80px 0 90px;
	width: 100vw;
}

.funrent-shop-look-slider-block .funrent-container {
	max-width: var(--medium, 1400px);
}

.funrent-shop-look-header {
	display: flex;
	flex-wrap: wrap;
	gap: 24px;
	justify-content: space-between;
	align-items: flex-start;
	margin-bottom: 36px;
}

.funrent-shop-look-heading {
	max-width: 760px;
}

.funrent-shop-look-title {
	color: #1b1b1b;
	font-family: var(--font-family-jakarta);
	font-size: var(--font-size-h2);
	font-weight: var(--font-weight-bold);
	margin: 0 0 14px;
}

.funrent-shop-look-subtitle {
	color: #404040;
	font-family: var(--font-family-manrope);
	font-size: var(--font-size-p-normal);
	margin: 0;
}

.funrent-shop-look-button {
	align-items: center;
	background: var(--color-yellow-dark, #ffd632);
	border-radius: 999px;
	color: #000000;
	display: inline-flex;
	font-family: var(--font-family-manrope);
	font-size: var(--font-size-p-small);
	font-weight: var(--font-weight-medium);
	padding: 12px 26px;
	text-decoration: none;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
	white-space: nowrap;
}

.funrent-shop-look-slider-block .funrent-shop-look-button,
.funrent-shop-look-slider-block .funrent-shop-look-button:link,
.funrent-shop-look-slider-block .funrent-shop-look-button:visited,
.funrent-shop-look-slider-block .funrent-shop-look-button:hover,
.funrent-shop-look-slider-block .funrent-shop-look-button:focus {
	color: #000000;
}

.funrent-shop-look-button:hover,
.funrent-shop-look-button:focus {
	box-shadow: 0 10px 18px rgba(0, 0, 0, 0.18);
	transform: translateY(-2px);
}

.funrent-shop-look-slider {
	position: relative;
}

.funrent-shop-look-rail {
	--funrent-shop-look-shadow: 20px;
	cursor: grab;
	overflow: visible;
	margin-bottom: calc(var(--funrent-shop-look-shadow) * -1);
	margin-top: calc(var(--funrent-shop-look-shadow) * -1);
	padding-bottom: var(--funrent-shop-look-shadow);
	padding-top: var(--funrent-shop-look-shadow);
	touch-action: pan-y;
	margin-left: calc(50% - 50vw);
	padding-left: calc(50vw - 50%);
	padding-right: calc(50vw - 50%);
	width: 100vw;
}

.funrent-shop-look-rail.is-dragging {
	cursor: grabbing;
}

.funrent-shop-look-track {
	display: flex;
	gap: 24px;
	padding-bottom: 8px;
	will-change: transform;
}

.funrent-shop-look-slide {
	flex: 0 0 clamp(520px, 72vw, 940px);
	position: relative;
}

.funrent-shop-look-media {
	aspect-ratio: 13 / 6;
	position: relative;
	overflow: visible;
}

.funrent-shop-look-image {
	display: block;
	height: 100%;
	object-fit: cover;
	width: 100%;
	border-radius: 0;
}

.funrent-shop-look-image--mobile,
.funrent-shop-look-hotspots--mobile {
	display: none;
}

.funrent-shop-look-hotspots {
	inset: 0;
	pointer-events: none;
	position: absolute;
}

.funrent-shop-look-hotspot-group {
	left: 0;
	position: absolute;
	top: 0;
	transform: translate(0, 0);
	pointer-events: none;
	--card-shift-x: 16px;
	--card-shift-y: -50%;
}

.funrent-shop-look-hotspot-group.is-left {
	--card-shift-x: calc(-100% - 16px);
}

.funrent-shop-look-hotspot-group.is-right {
	--card-shift-x: 16px;
}

.funrent-shop-look-hotspot-toggle {
	align-items: center;
	background: var(--color-yellow-dark, #ffd632);
	border: 0;
	border-radius: 999px;
	box-shadow: 0 8px 12px rgba(0, 0, 0, 0.22);
	cursor: pointer;
	display: inline-flex;
	height: 32px;
	justify-content: center;
	left: 0;
	position: absolute;
	top: 0;
	transform: translate(-50%, -50%);
	width: 32px;
	pointer-events: auto;
}

.funrent-shop-look-hotspot-toggle::before,
.funrent-shop-look-hotspot-toggle::after {
    background: #000000;
    content: '';
    height: 1px;
    margin-top: -3px;
    position: absolute;
    width: 16px;
}

.funrent-shop-look-hotspot-toggle::after {
	transform: rotate(90deg);
}

.funrent-shop-look-hotspot-group.is-active .funrent-shop-look-hotspot-toggle::after {
	opacity: 0;
}

.funrent-shop-look-card {
	left: 0;
	opacity: 0;
	pointer-events: none;
	position: absolute;
	top: 0;
	transform: translate(var(--card-shift-x), var(--card-shift-y)) scale(0.98);
	transform-origin: left center;
	transition: opacity 0.2s ease, transform 0.2s ease;
	/* slightly wider default to improve readability */
	width: clamp(240px, 32vw, 340px);
	z-index: 4;
}

/* Portal container that holds moved cards so ancestors cannot clip them */
.funrent-shop-look-portal {
	position: fixed;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
	z-index: 100000;
}
.funrent-shop-look-card-portal {
	pointer-events: auto;
}

.funrent-shop-look-card-portal > .funrent-shop-look-card {
	position: relative;
	/* when moved into the portal, ensure the card is visible and interactive */
	opacity: 1 !important;
	pointer-events: auto !important;
	transform: none !important;
	width: 100%;
	box-sizing: border-box;
	padding: 10px;
}

/* small close button in the top-right corner of the portal */
.funrent-shop-look-card-close {
	position: absolute;
	top: 12px;
	right: 12px;
	font-size: 12px;
	background: rgba(255,255,255,0.92);
	border: 1px solid rgba(0,0,0,0.06);
	color: rgba(0,0,0,0.7);
	cursor: pointer;
	z-index: 100001;
	padding: 8px 10px;
	border-radius: 6px;
	box-shadow: 0 2px 6px rgba(0,0,0,0.06);
	-webkit-appearance: none;
	-webkit-tap-highlight-color: transparent;
	transition: box-shadow 120ms ease, transform 120ms ease, background-color 120ms ease;
}

.funrent-shop-look-card-close:hover {
	background: rgba(255,255,255,1);
	box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.funrent-shop-look-card-close:active {
	/* remove click-time drop shadow and provide a subtle pressed effect */
	box-shadow: none;
	transform: translateY(1px);
}

.funrent-shop-look-card-close:focus {
	outline: 2px solid rgba(0,0,0,0.08);
}


/* Portal card sizing handled by portal wrapper */

/* Make sure the product card inner is visually distinct in the portal */
.funrent-shop-look-card .funrent-product-card__inner {
	background: #ffffff;
	border-radius: 8px;
	overflow: visible;
}

/* Portal wrapper should size to card and not introduce extra padding */
.funrent-shop-look-card-portal {
	display: block;
}

/* Ensure the portal wrapper positions using left/top and doesn't inherit transforms */
.funrent-shop-look-card-portal {
	transform: none !important;
}

.funrent-shop-look-hotspot-group.is-left .funrent-shop-look-card {
	transform-origin: right center;
}

.funrent-shop-look-hotspot-group.is-active .funrent-shop-look-card {
	opacity: 1;
	pointer-events: auto;
	transform: translate(var(--card-shift-x), var(--card-shift-y)) scale(1);
}

.funrent-shop-look-card .funrent-product-card__inner {
	height: auto;
}

.funrent-shop-look-progress {
	background: rgba(52, 131, 110, 0.18);
	border-radius: 999px;
	height: 3px;
	margin-top: 26px;
	overflow: hidden;
	position: relative;
	width: 100%;
}

.funrent-shop-look-progress__bar {
	background: var(--color-green-normal);
	border-radius: 999px;
	height: 100%;
	left: 0;
	position: absolute;
	top: 0;
	transform: translateX(var(--progress-position, 0%));
	transition: transform 0.2s ease;
	width: var(--progress-width, 32%);
}

.funrent-shop-look-slider.is-single .funrent-shop-look-progress {
	display: none;
}

@media (max-width: 960px) {
	.funrent-shop-look-slider-block {
		padding: 60px 0 70px;
	}

	.funrent-shop-look-title {
		font-size: var(--font-size-h3);
	}

	.funrent-shop-look-track {
		gap: 18px;
	}

	.funrent-shop-look-slide {
		flex-basis: clamp(420px, 85vw, 700px);
	}
}

@media (max-width: 700px) {
	.funrent-shop-look-image--desktop,
	.funrent-shop-look-hotspots--desktop {
		display: none;
	}

	.funrent-shop-look-image--mobile,
	.funrent-shop-look-hotspots--mobile {
		display: block;
	}

	.funrent-shop-look-media {
		aspect-ratio: 2 / 3;
	}

	.funrent-shop-look-hotspot-group {
		--card-shift-x: -50%;
		--card-shift-y: 16px;
	}

	.funrent-shop-look-card {
		transform-origin: top center;
		width: min(280px, 85vw);
	}
}

@media (max-width: 640px) {
	.funrent-shop-look-slider-block {
		padding: 46px 0 56px;
	}

	.funrent-shop-look-header {
		gap: 16px;
		margin-bottom: 24px;
	}

	.funrent-shop-look-button {
		padding: 10px 20px;
	}

	.funrent-shop-look-slide {
		flex-basis: clamp(260px, 88vw, 360px);
	}
}

/* Front-end: when only one look is shown, make it span full width */
.funrent-shop-look-slider.is-single .funrent-shop-look-track {
	justify-content: center;
}
.funrent-shop-look-slider.is-single .funrent-shop-look-slide {
	flex: 0 0 100% !important;
	max-width: 100% !important;
	width: 100% !important;
}

/* Ensure hotspot cards appear above surrounding layout and are not clipped */
.funrent-shop-look-media,
.funrent-shop-look-hotspot-group {
	overflow: visible;
}
.funrent-shop-look-card {
	z-index: 99999;
}
.funrent-shop-look-card .funrent-product-card__inner {
	position: relative;
	z-index: 100000;
}

/* Only apply the drop shadow to the card when it's portalled to avoid double shadows */
.funrent-shop-look-card-portal > .funrent-shop-look-card .funrent-product-card__inner {
	box-shadow: 0 12px 30px rgba(0,0,0,0.25);
}

/* Adjust product card positioning to ensure visibility */
.funrent-shop-look-hotspot-group {
    position: absolute;
    overflow: visible;
}

.funrent-shop-look-card {
    position: absolute;
    z-index: 99999;
    transform: translate(var(--card-shift-x), var(--card-shift-y));
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.funrent-shop-look-hotspot-group.is-active .funrent-shop-look-card {
    opacity: 1;
    pointer-events: auto;
    transform: translate(var(--card-shift-x), var(--card-shift-y)) scale(1);
}



/* Ensure cards stay within the viewport */
.funrent-shop-look-card {
    max-width: 90vw;
    left: auto;
    right: auto;
}

.funrent-shop-look-hotspot-group.is-left .funrent-shop-look-card {
    transform-origin: right center;
    left: 0;
}

.funrent-shop-look-hotspot-group.is-right .funrent-shop-look-card {
    transform-origin: left center;
    right: 0;
}
