.elementor-widget-fm_spf_stone_finder,
.elementor-widget-fm_spf_stone_finder > .elementor-widget-container {
	width: 100%;
	max-width: 100%;
}

.fm-stone-finder {
	--fm-stone-accent: #a77a2d;
	--fm-stone-text: #161411;
	--fm-stone-muted: #6f655a;
	--fm-stone-panel: #fffaf3;
	--fm-stone-button: #090909;
	--fm-stone-button-text: #ffffff;
	--fm-stone-content-width: 720px;
	--fm-stone-widget-height: 720px;
	--fm-stone-viewport-offset: 24px;
	--fm-stone-panel-pad-y: 44px;
	--fm-stone-panel-pad-x: 48px;
	--fm-stone-gap: 16px;
	--fm-stone-selection-bg: #f7efe1;
	display: flex;
	flex-direction: column;
	width: 100%;
	max-width: 100%;
	height: min(var(--fm-stone-widget-height), calc(100svh - var(--fm-stone-viewport-offset)));
	min-height: min(360px, calc(100svh - var(--fm-stone-viewport-offset)));
	overflow: hidden;
	color: var(--fm-stone-text);
	background: var(--fm-stone-panel);
	border: 1px solid rgba(167, 122, 45, 0.22);
	border-radius: 0;
}

.fm-stone-finder *,
.fm-stone-finder *::before,
.fm-stone-finder *::after {
	box-sizing: border-box;
}

.fm-stone-finder__stagebar {
	display: flex;
	flex: 0 0 auto;
	flex-wrap: wrap;
	gap: 10px;
	width: 100%;
	padding: 14px 18px;
	border-bottom: 1px solid rgba(167, 122, 45, 0.18);
}

.fm-stone-finder__phase-label {
	display: inline-flex;
	align-items: center;
	min-height: 28px;
	padding: 4px 10px;
	color: var(--fm-stone-muted);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	border: 1px solid rgba(167, 122, 45, 0.18);
	border-radius: 0;
}

.fm-stone-finder__phase-label.is-active {
	color: #fff;
	background: var(--fm-stone-accent);
	border-color: var(--fm-stone-accent);
}

.fm-stone-finder__flow {
	flex: 1 1 auto;
	width: 100%;
	min-height: 0;
}

.fm-stone-finder__stage {
	display: none;
}

.fm-stone-finder__stage.is-active {
	display: flex;
	height: 100%;
	min-height: 0;
}

.fm-stone-finder__stage.is-active.fm-stone-finder__panel {
	display: grid;
	grid-template-columns: minmax(0, var(--fm-stone-content-width));
	align-content: stretch;
	justify-content: flex-start;
}

.fm-stone-finder__panel {
	align-items: flex-start;
	justify-content: flex-start;
	width: 100%;
	min-width: 0;
	height: 100%;
	min-height: 0;
	overflow: hidden;
	padding: var(--fm-stone-panel-pad-y) var(--fm-stone-panel-pad-x);
	background: transparent;
	gap: var(--fm-stone-gap);
}

.fm-stone-finder__panel > :not(.fm-stone-finder__icon-template) {
	width: 100%;
	max-width: var(--fm-stone-content-width);
}

.fm-stone-finder__quiz {
	grid-template-rows: auto auto auto minmax(0, 1fr) auto auto;
}

.fm-stone-finder__eyebrow {
	margin: 0;
	color: var(--fm-stone-accent);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.fm-stone-finder__intro,
.fm-stone-finder__count,
.fm-stone-finder__traits,
.fm-stone-finder__result-text,
.fm-stone-finder__product-state,
.fm-stone-finder__price,
.fm-stone-finder__newsletter {
	color: var(--fm-stone-muted);
}

.fm-stone-finder__count {
	margin: 0;
	font-size: 12px;
}

.fm-stone-finder__question,
.fm-stone-finder__stone-name,
.fm-stone-finder__product-title {
	margin: 0;
	color: var(--fm-stone-text);
	line-height: 1.08;
	letter-spacing: 0;
}

.fm-stone-finder__question {
	font-size: clamp(24px, 3.2vw, 40px);
}

.fm-stone-finder__stone-name {
	font-size: clamp(36px, 4.4vw, 64px);
	text-align: left;
}

.fm-stone-finder__product-title {
	font-size: clamp(20px, 2.4vw, 34px);
	text-align: left;
}

.fm-stone-finder__answers {
	display: grid;
	gap: clamp(6px, 1.1svh, 10px);
	width: 100%;
	max-width: var(--fm-stone-content-width);
	min-height: 0;
	align-content: start;
	overflow: hidden;
}

.fm-stone-finder__icon-template {
	display: none;
}

.fm-stone-finder__answer,
.fm-stone-finder__metal,
.fm-stone-finder__back,
.fm-stone-finder__next,
.fm-stone-finder__cta,
.fm-stone-finder__wishlist,
.fm-stone-finder__alternative {
	appearance: none;
	font: inherit;
	text-decoration: none;
	cursor: pointer;
}

.fm-stone-finder__answer {
	display: grid;
	grid-template-columns: 28px minmax(0, 1fr) 24px;
	align-items: center;
	gap: 12px;
	min-height: clamp(40px, 6.4svh, 52px);
	padding: clamp(7px, 1.2svh, 10px) 14px;
	color: var(--fm-stone-text) !important;
	background: rgba(255, 255, 255, 0.72) !important;
	border: 1px solid rgba(167, 122, 45, 0.22) !important;
	text-align: left;
}

.fm-stone-finder__answer-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: var(--fm-stone-accent);
}

.fm-stone-finder__answer svg {
	width: 18px;
	height: 18px;
}

.fm-stone-finder__check {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	border-radius: 0;
	color: var(--fm-stone-panel);
	background: var(--fm-stone-accent);
	opacity: 0;
}

.fm-stone-finder__answer.is-selected {
	color: var(--fm-stone-text) !important;
	border-color: var(--fm-stone-accent) !important;
	background: var(--fm-stone-selection-bg) !important;
}

.fm-stone-finder__answer.is-selected .fm-stone-finder__check {
	opacity: 1;
}

.fm-stone-finder__progress {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(24px, 1fr));
	align-items: center;
	gap: 0;
	width: 100%;
	max-width: 720px;
	margin: 0;
}

.fm-stone-finder__progress-dot {
	position: relative;
	width: 100%;
	height: 24px;
	padding: 0;
	background: transparent;
	border: 0;
	cursor: pointer;
}

.fm-stone-finder__progress-dot::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 0;
	right: 0;
	height: 1px;
	background: rgba(167, 122, 45, 0.22);
}

.fm-stone-finder__progress-dot::after {
	content: "";
	position: relative;
	z-index: 1;
	display: block;
	width: 12px;
	height: 12px;
	margin: 6px auto;
	border-radius: 0;
	background: var(--fm-stone-panel);
	border: 1px solid rgba(167, 122, 45, 0.35);
}

.fm-stone-finder__progress-dot.is-active::after {
	background: var(--fm-stone-accent) !important;
	border-color: var(--fm-stone-accent) !important;
}

.fm-stone-finder__progress-dot.is-active,
.fm-stone-finder__progress-dot:focus,
.fm-stone-finder__progress-dot:hover {
	background: transparent !important;
}

.fm-stone-finder__nav {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 18px;
	width: 100%;
	max-width: var(--fm-stone-content-width);
	align-self: end;
}

.fm-stone-finder__back {
	min-height: clamp(38px, 6svh, 48px);
	padding: clamp(9px, 1.5svh, 12px) 24px;
	color: var(--fm-stone-text) !important;
	background: transparent !important;
	border: 1px solid currentColor;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	border-radius: 0;
}

.fm-stone-finder__back::before {
	content: "<";
	margin-right: 8px;
}

.fm-stone-finder__back:disabled,
.fm-stone-finder__next:disabled {
	opacity: 0.4;
	cursor: not-allowed;
}

.fm-stone-finder__next,
.fm-stone-finder__cta,
.fm-stone-finder__next:hover,
.fm-stone-finder__next:focus,
.fm-stone-finder__cta:hover,
.fm-stone-finder__cta:focus {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: clamp(38px, 6svh, 48px);
	padding: clamp(9px, 1.5svh, 12px) 34px;
	color: var(--fm-stone-button-text) !important;
	background: var(--fm-stone-button) !important;
	border: 0;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	border-radius: 0;
}

.fm-stone-finder__next::after,
.fm-stone-finder__cta::after {
	content: ">";
	margin-left: 14px;
}

.fm-stone-finder__result {
	align-items: flex-start;
	text-align: left;
	grid-template-rows: auto minmax(0, 1fr) auto auto;
}

.fm-stone-finder__result-accordion {
	display: grid;
	grid-template-rows: auto minmax(0, 1fr) auto auto;
	width: 100%;
	max-width: var(--fm-stone-content-width);
	height: 100%;
	min-height: 0;
}

.fm-stone-finder__accordion-toggle {
	appearance: none;
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	min-height: 38px;
	padding: 4px 0;
	color: var(--fm-stone-text) !important;
	background: transparent !important;
	border: 0 !important;
	font: inherit;
	font-weight: 500;
	text-align: left;
	cursor: pointer;
}

.fm-stone-finder__accordion-icon::before {
	content: "+";
	display: block;
	font-size: 24px;
	line-height: 1;
}

.fm-stone-finder__accordion-toggle[aria-expanded="true"] .fm-stone-finder__accordion-icon::before {
	content: "-";
}

.fm-stone-finder__accordion-panel {
	min-height: 0;
	overflow: hidden;
}

.fm-stone-finder__summary-panel {
	display: grid;
	grid-template-rows: auto auto minmax(120px, 1fr);
	align-content: start;
	gap: var(--fm-stone-gap);
}

.fm-stone-finder__details-panel {
	display: grid;
	grid-template-rows: auto minmax(0, 1fr) auto;
	align-content: start;
	gap: 14px;
	padding-top: 10px;
}

.fm-stone-finder__traits {
	margin: 0;
	font-size: 16px;
	text-align: left;
}

.fm-stone-finder__stone-image {
	width: 360px;
	max-width: 100%;
	max-height: min(360px, 34svh);
	aspect-ratio: 1 / 1;
	object-fit: contain;
	margin: 0;
	align-self: center;
	justify-self: start;
}

.fm-stone-finder__result-text {
	max-width: var(--fm-stone-content-width);
	margin: 0;
	line-height: 1.55;
	text-align: left;
	overflow: hidden;
}

.fm-stone-finder__meaning-title,
.fm-stone-finder__meaning-list {
	margin: 0;
}

.fm-stone-finder__meaning-title {
	font-weight: 700;
}

.fm-stone-finder__meaning-list {
	display: grid;
	gap: 8px;
	align-self: end;
}

.fm-stone-finder__meaning-item {
	margin: 0;
	color: var(--fm-stone-muted);
}

.fm-stone-finder__alternatives {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
	gap: 10px;
	min-height: 0;
	overflow: hidden;
}

.fm-stone-finder--details-open .fm-stone-finder__alternatives {
	display: none;
}

.fm-stone-finder__alternative {
	padding: 8px 12px;
	color: var(--fm-stone-text) !important;
	background: #fff;
	border: 1px solid rgba(167, 122, 45, 0.18);
	border-radius: 0;
}

.fm-stone-finder__alternative.is-selected {
	color: var(--fm-stone-text) !important;
	background: var(--fm-stone-selection-bg) !important;
	border-color: var(--fm-stone-accent) !important;
}

.fm-stone-finder__product {
	align-items: flex-start;
	grid-template-rows: auto auto minmax(0, 1fr) auto;
}

.fm-stone-finder__metals {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
	gap: 6px;
	width: 100%;
	max-width: var(--fm-stone-content-width);
}

.fm-stone-finder__metals::before {
	content: "1. Scegli il colore dell'anello *";
	flex: 0 0 100%;
	margin-bottom: 2px;
	color: var(--fm-stone-muted);
	font-size: 14px;
	font-weight: 400;
	letter-spacing: 0;
	text-transform: none;
}

.fm-stone-finder__metal {
	display: inline-flex;
	flex: 0 1 auto;
	align-items: center;
	justify-content: flex-start;
	gap: 8px;
	min-height: 38px;
	padding: 8px 14px;
	color: var(--fm-stone-text) !important;
	background: transparent !important;
	border: 1px solid var(--fm-stone-text) !important;
	border-radius: 0;
	font-weight: 400;
	text-align: left;
}

.fm-stone-finder__metal.is-selected {
	color: var(--fm-stone-text) !important;
	background: var(--fm-stone-selection-bg) !important;
	border-color: var(--fm-stone-accent) !important;
}

.fm-stone-finder__metal-swatch {
	display: none;
}

.fm-stone-finder__product-card {
	display: grid;
	grid-template-areas:
		"state state"
		"image image"
		"title title"
		"price price"
		"wishlist cta";
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	grid-template-rows: auto 227px auto auto auto;
	gap: 8px 14px;
	width: 100%;
	max-width: var(--fm-stone-content-width);
	height: auto;
	min-height: 0;
	align-self: end;
	align-items: start;
	text-align: left;
}

.fm-stone-finder__product-state {
	grid-area: state;
}

.fm-stone-finder__product-image {
	grid-area: image;
	width: min(100%, 266px) !important;
	height: 100% !important;
	max-width: 100%;
	max-height: 227px !important;
	aspect-ratio: auto;
	object-fit: cover;
	object-position: center;
	margin: 0;
	align-self: center;
	justify-self: start;
	overflow: hidden;
}

.fm-stone-finder__product-title {
	grid-area: title;
	display: -webkit-box;
	margin: 0;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
}

.fm-stone-finder__price {
	grid-area: price;
	font-weight: 600;
}

.fm-stone-finder__cta {
	grid-area: cta;
	width: 100%;
	margin-top: 0;
}

.fm-stone-finder__cta[hidden],
.fm-stone-finder__wishlist[hidden],
.fm-stone-finder__product-image[hidden],
.fm-stone-finder__accordion-panel[hidden] {
	display: none !important;
}

.fm-stone-finder__wishlist {
	grid-area: wishlist;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 10px 24px;
	color: var(--fm-stone-text) !important;
	background: transparent;
	border: 1px solid currentColor;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	border-radius: 0;
}

.fm-stone-finder__product-nav {
	align-self: start;
}

.fm-stone-finder__product-nav .fm-stone-finder__back {
	width: calc(50% - 7px);
	min-width: 0;
}

.fm-stone-finder__cta:visited,
.fm-stone-finder__cta:hover,
.fm-stone-finder__cta:focus {
	color: var(--fm-stone-button-text) !important;
}

.fm-stone-finder__wishlist:visited,
.fm-stone-finder__wishlist:hover,
.fm-stone-finder__wishlist:focus {
	color: var(--fm-stone-text) !important;
}

.fm-stone-finder__back:hover,
.fm-stone-finder__back:focus,
.fm-stone-finder__back:active {
	color: var(--fm-stone-text) !important;
	background: transparent !important;
	border-color: currentColor !important;
}

.fm-stone-finder__answer:hover,
.fm-stone-finder__answer:focus,
.fm-stone-finder__metal:hover,
.fm-stone-finder__metal:focus,
.fm-stone-finder__alternative:hover,
.fm-stone-finder__alternative:focus {
	color: var(--fm-stone-text) !important;
	background: var(--fm-stone-selection-bg) !important;
	border-color: var(--fm-stone-accent) !important;
}

.fm-stone-finder__newsletter {
	width: 100%;
	max-width: var(--fm-stone-content-width);
	margin-top: 8px;
	padding-top: 18px;
	border-top: 1px solid rgba(167, 122, 45, 0.18);
}

.fm-stone-finder__newsletter input {
	width: 100%;
	min-height: 44px;
	padding: 10px 12px;
	border: 1px solid rgba(167, 122, 45, 0.24);
	background: #fff;
}

@media (max-width: 767px) {
	.fm-stone-finder {
		--fm-stone-panel-pad-y: 22px;
		--fm-stone-panel-pad-x: 20px;
		--fm-stone-gap: 10px;
	}

	.fm-stone-finder__stagebar {
		gap: 6px;
		padding: 10px;
	}

	.fm-stone-finder__phase-label {
		flex: 1 1 auto;
		justify-content: center;
		min-height: 24px;
		padding: 3px 6px;
		font-size: 9px;
	}

	.fm-stone-finder__panel {
		padding: var(--fm-stone-panel-pad-y) var(--fm-stone-panel-pad-x);
	}

	.fm-stone-finder__question {
		font-size: clamp(20px, 6.4vw, 26px);
	}

	.fm-stone-finder__stone-name {
		font-size: clamp(30px, 10vw, 38px);
	}

	.fm-stone-finder__product-title {
		font-size: clamp(18px, 6vw, 24px);
	}

	.fm-stone-finder__stone-image,
	.fm-stone-finder__product-image {
		width: min(100%, 320px);
	}

	.fm-stone-finder__product-image {
		width: min(100%, 266px) !important;
		height: 100% !important;
		max-height: 227px !important;
	}

	.fm-stone-finder__metals::before {
		font-size: 13px;
	}

	.fm-stone-finder__metal {
		min-height: 34px;
		padding: 7px 12px;
	}

	.fm-stone-finder__result-text {
		font-size: 14px;
	}

	.fm-stone-finder__nav {
		display: flex;
		flex-wrap: wrap;
		gap: 10px;
	}

	.fm-stone-finder__back {
		min-height: 38px;
		padding-inline: 16px;
	}

	.fm-stone-finder__next,
	.fm-stone-finder__cta {
		padding-inline: 22px;
	}

	.fm-stone-finder__product-nav .fm-stone-finder__back {
		width: calc(50% - 5px);
	}
}

@media (max-height: 680px) {
	.fm-stone-finder {
		--fm-stone-panel-pad-y: 20px;
		--fm-stone-gap: 8px;
	}

	.fm-stone-finder__stagebar {
		padding-block: 8px;
	}

	.fm-stone-finder__phase-label {
		min-height: 24px;
	}

	.fm-stone-finder__eyebrow,
	.fm-stone-finder__count {
		font-size: 10px;
	}

	.fm-stone-finder__answer {
		min-height: 38px;
	}

	.fm-stone-finder__stone-image,
	.fm-stone-finder__product-image {
		max-height: 20svh;
	}

	.fm-stone-finder__product-card {
		grid-template-rows: auto 176px auto auto auto;
		gap: 6px 12px;
	}

	.fm-stone-finder__product-image {
		height: 100% !important;
		max-height: 176px !important;
	}

	.fm-stone-finder__traits,
	.fm-stone-finder__result-text,
	.fm-stone-finder__price,
	.fm-stone-finder__product-state {
		font-size: 14px;
	}
}
