.zcm-app {
	--zcm-bg: #ffffff;
	--zcm-surface: #f7f7f8;
	--zcm-card: #ffffff;
	--zcm-line: #e8e8eb;
	--zcm-ink: #111111;
	--zcm-muted: #6e6e78;
	--zcm-radius: 20px;
	--zcm-cta-radius: 999px;
	--zcm-cta-text: #ffffff;
	--zcm-badge-bg: #111111;
	--zcm-badge-text: #ffffff;
	--zcm-font-size: 15px;
	--zcm-title-size: 34px;
	--zcm-sidebar: 340px;
	--zcm-controller-max: 680px;
	--zcm-swatch-min: 90px;
	--zcm-stage-mobile: 34vh;
	--zcm-options-mobile: 286px;
	--zcm-radius-sm: 14px;
	--zcm-accent: #111111;
	/* Hauteur du menu sticky du thème (ajustable) */
	--zcm-sticky-top: 110px;
	/* Hauteur du menu sticky sur mobile */
	--zcm-sticky-top-mobile: 64px;
	color: var(--zcm-ink);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	font-size: var(--zcm-font-size, 15px);
	line-height: 1.45;
	box-sizing: border-box;
	width: 100%;
	max-width: 100%;
	background: var(--zcm-bg);
	border-radius: var(--zcm-radius);
	padding: 20px;
	isolation: isolate;
}
/* Isolation du thème sombre (Woodmart / Zyntrol design system) */
.zcm-app,
.zcm-app p,
.zcm-app span,
.zcm-app li,
.zcm-app label,
.zcm-app strong,
.zcm-app em,
.zcm-app h2,
.zcm-app h3,
.zcm-app h4 {
	color: var(--zcm-ink);
}
.zcm-app .zcm-muted,
.zcm-app [class*='-hint'],
.zcm-app [class*='-sub'] {
	color: var(--zcm-muted);
}
.zcm-app .amount,
.zcm-app .woocommerce-Price-amount,
.zcm-app .price {
	color: var(--zcm-ink) !important;
}
@media (min-width: 900px) {
	.zcm-app {
		padding: 28px;
	}
}
.zcm-app *,
.zcm-app *::before,
.zcm-app *::after {
	box-sizing: border-box;
}
.zcm-app p,
.zcm-app h2,
.zcm-app h3 {
	margin: 0;
}
.zcm-app button {
	font-family: inherit;
}

/* Neutralise les styles de boutons du thème (fond bleu au survol/focus, etc.) */
.zcm-app button,
.zcm-app button:hover,
.zcm-app button:focus,
.zcm-app button:focus-visible,
.zcm-app button:active {
	outline: none !important;
	text-decoration: none !important;
	text-shadow: none !important;
	filter: none !important;
}
.zcm-swatch,
.zcm-swatch:hover,
.zcm-swatch:focus,
.zcm-swatch:focus-visible,
.zcm-swatch:active {
	background: none !important;
	background-color: transparent !important;
	background-image: none !important;
	border: 0 !important;
	box-shadow: none !important;
	color: inherit !important;
	transform: none;
}
.zcm-swatch:hover .zcm-swatch-label,
.zcm-swatch:focus .zcm-swatch-label {
	color: var(--zcm-muted) !important;
}
.zcm-swatch:hover .zcm-swatch-label em,
.zcm-swatch:focus .zcm-swatch-label em {
	color: var(--zcm-ink) !important;
}
.zcm-app button::before,
.zcm-app button::after {
	display: none !important;
}
.zcm-swatch-check::before,
.zcm-swatch-check::after {
	display: none !important;
}
.zcm-app .zcm-dot {
	background: var(--zcm-line) !important;
	border: 0 !important;
	box-shadow: none !important;
}
.zcm-app .zcm-dot.is-active {
	background: var(--zcm-ink) !important;
}
.zcm-app .zcm-swatch:focus-visible .zcm-swatch-dot {
	box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--zcm-accent);
}

.zcm-layout {
	display: grid;
	gap: 24px;
}
/* Empêche les enfants (faces à 200 %) d'élargir la grille : cause des débordements */
.zcm-layout > * {
	min-width: 0;
}
.zcm-stage,
.zcm-stage-content,
.zcm-stage-inner,
.zcm-panel,
.zcm-steps,
.zcm-step {
	min-width: 0;
	max-width: 100%;
}

/* Visuel */
.zcm-stage {
	position: sticky;
	top: var(--zcm-sticky-top);
	z-index: 5;
	background: var(--zcm-bg);
	padding: 12px 0;
}
.zcm-stage-content {
	width: 100%;
}
.zcm-stage-inner {
	position: relative;
	overflow: hidden;
	border-radius: var(--zcm-radius);
	background: #ffffff;
	padding: 24px;
}
.zcm-face-label {
	display: none !important;
}
.zcm-faces {
	display: flex;
	width: 200%;
	max-width: 200%;
	transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
.zcm-faces[data-face='back'] {
	transform: translateX(-50%);
}
.zcm-face {
	width: 50%;
	flex: 0 0 50%;
	padding: 0 18px;
}
.zcm-arrow {
	display: none !important;
}
.zcm-photo {
	position: relative;
	width: 100%;
	max-width: 760px;
	margin: 0 auto;
}
.zcm-photo-base {
	display: block;
	width: 100%;
	height: auto;
}
.zcm-overlays-img {
	position: absolute;
	inset: 0;
	pointer-events: none;
}
.zcm-overlays-img img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: contain;
}
.zcm-svg {
	display: block;
	width: 100%;
	height: auto;
}
.zcm-arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 3;
	border: 0;
	background: rgba(255, 255, 255, 0.9);
	color: var(--zcm-ink);
	font-size: 22px;
	line-height: 1;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}
.zcm-app .zcm-arrow {
	background: #fff !important;
	background-image: none !important;
	color: var(--zcm-ink) !important;
	border: 1px solid var(--zcm-line) !important;
	padding: 0 !important;
	font-size: 0 !important;
	appearance: none;
}
.zcm-app .zcm-arrow svg {
	width: 16px;
	height: 16px;
	display: block;
}
.zcm-app .zcm-arrow:hover {
	transform: translateY(-50%) scale(1.05);
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12) !important;
	background: #fff !important;
	color: var(--zcm-ink) !important;
}
.zcm-arrow:active {
	transform: translateY(-50%) scale(0.97);
}
.zcm-arrow--left {
	left: 2px;
}
.zcm-arrow--right {
	right: 2px;
}
.zcm-dots {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	margin-top: 10px;
	padding: 3px 0 8px;
	line-height: 0;
	overflow: visible;
}
.zcm-dot {
	width: 10px;
	height: 10px;
	flex: 0 0 10px;
	min-width: 10px;
	min-height: 10px;
	aspect-ratio: 1 / 1;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--zcm-line);
	cursor: pointer;
	appearance: none;
	box-shadow: none;
	transition: background 0.2s ease, transform 0.2s ease;
}
.zcm-dot.is-active {
	background: var(--zcm-ink);
	transform: scale(1.1);
}

/* Mobile : visuel plein écran, collé sous la bannière */
@media (max-width: 1023px) {
	.zcm-app {
		padding: 16px 14px;
		border-radius: 0;
		overflow-x: clip;
	}
	.zcm-layout {
		gap: 0;
		grid-template-columns: minmax(0, 1fr);
	}
	.zcm-stage {
		padding: 0;
		position: static;
		top: auto;
		margin-left: -14px;
		margin-right: -14px;
		width: auto;
		max-width: none;
	}
	.zcm-stage-inner {
		border-radius: 0;
		padding: 8px 0 16px;
		overflow: hidden;
	}
	.zcm-face {
		padding: 0 16px;
	}
	.zcm-photo,
	.zcm-svg {
		max-width: min(100%, 420px);
	}
	.zcm-arrow {
		width: 38px;
		height: 38px;
	}
	.zcm-arrow--left {
		left: 8px;
	}
	.zcm-arrow--right {
		right: 8px;
	}
	.zcm-panel {
		padding-top: 20px;
		padding-bottom: 24px;
	}
	.zcm-step + .zcm-step {
		margin-top: 32px;
	}
	.zcm-step-head {
		flex-wrap: wrap;
		row-gap: 4px;
	}
	.zcm-step-head .zcm-step-pick {
		max-width: 100%;
	}
	.zcm-swatches {
		grid-template-columns: repeat(auto-fill, minmax(var(--zcm-swatch-min, 90px), 1fr));
		gap: 20px 8px;
	}
	.zcm-swatch-label {
		max-width: 100%;
		font-size: 12px;
	}
	.zcm-row {
		padding: 14px 14px;
		gap: 12px;
	}
	.zcm-lightbox {
		padding: 16px;
	}
	/* En-tête mobile : titre + prix + ajouter au panier */
	.zcm-mobilehead {
		display: flex;
		align-items: flex-start;
		justify-content: space-between;
		gap: 12px;
		padding-bottom: 10px;
	}
	.zcm-mobilehead-title {
		font-size: 21px;
		font-weight: 700;
		letter-spacing: -0.02em;
		margin: 0 !important;
		line-height: 1.15;
	}
	.zcm-mobilehead .zcm-total {
		font-size: 15px;
		color: var(--zcm-muted);
		margin: 2px 0 0 !important;
	}
	/* Une seule étape visible à la fois, elle arrive de droite/gauche */
	.zcm-step {
		display: none;
	}
	.zcm-step.is-active {
		display: block;
		animation: zcm-slide-from-right 0.28s ease;
	}
	.zcm-steps.is-back .zcm-step.is-active {
		animation-name: zcm-slide-from-left;
	}
	.zcm-step + .zcm-step {
		margin-top: 0;
	}
	.zcm-steps {
		overflow: hidden;
	}
	.zcm-panel {
		padding-bottom: 8px;
	}
	.zcm-summary {
		display: none;
	}
	/* Rien de sticky/fixe sur mobile : tout défile normalement */
	.zcm-mobilebar {
		position: static;
		background: var(--zcm-bg);
		backdrop-filter: none;
		border-top: 1px solid var(--zcm-line);
		padding: 12px 0 calc(4px + env(safe-area-inset-bottom, 0px));
		margin-top: 12px;
	}
	.zcm-summary,
	.zcm-pricebar {
		position: static;
		bottom: auto;
	}
}

@keyframes zcm-slide-from-right {
	from {
		opacity: 0;
		transform: translateX(28%);
	}
	to {
		opacity: 1;
		transform: translateX(0);
	}
}
@keyframes zcm-slide-from-left {
	from {
		opacity: 0;
		transform: translateX(-28%);
	}
	to {
		opacity: 1;
		transform: translateX(0);
	}
}

/* Très petits écrans */
@media (max-width: 380px) {
	.zcm-app {
		padding: 14px 10px;
		font-size: 14px;
	}
	.zcm-swatches {
		grid-template-columns: repeat(auto-fill, minmax(78px, 1fr));
	}
}

/* Panneau options */
.zcm-panel {
	padding-bottom: 160px;
}
.zcm-mobilehead {
	display: none;
}
.zcm-cta--sm {
	padding: 10px 18px;
	font-size: 14px;
	flex: 0 0 auto;
}
.zcm-stage-cta {
	display: none;
}
.zcm-pricebar {
	display: none;
	justify-content: flex-end;
	position: sticky;
	top: 0;
	z-index: 6;
	padding: 18px 0 14px;
	background: var(--zcm-bg);
}
.zcm-pricebar .zcm-total {
	font-size: var(--zcm-price-size, 34px);
	font-weight: 600;
	letter-spacing: -0.02em;
	color: var(--zcm-price-color, var(--zcm-muted));
}
.zcm-head {
	display: none;
	margin-bottom: 32px;
}
.zcm-kicker {
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--zcm-muted);
}
.zcm-title {
	font-size: 28px;
	font-weight: 700;
	letter-spacing: -0.03em;
	margin-top: 8px !important;
	line-height: 1.15;
}
.zcm-subtitle {
	color: var(--zcm-muted);
	font-size: var(--zcm-subtitle-size, 14px);
	line-height: 1.4;
	margin-top: 8px !important;
}
.zcm-from {
	color: var(--zcm-muted);
	font-size: 14px;
	margin-top: 6px !important;
}

.zcm-step + .zcm-step {
	margin-top: 40px;
}
.zcm-step {
	scroll-margin-top: 62vh;
}
.zcm-step-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	border-bottom: 1px solid var(--zcm-line);
	padding-bottom: 12px;
}
.zcm-step-head h3 {
	font-size: 16px;
	font-weight: 600;
	letter-spacing: -0.01em;
	display: flex;
	align-items: center;
	gap: 10px;
}
.zcm-step-head span {
	font-size: 11px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: var(--zcm-muted);
}
.zcm-step-head .zcm-step-pick {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	max-width: 55%;
	text-transform: none;
	letter-spacing: 0;
	font-size: 13px;
	font-weight: 500;
	text-align: right;
}
.zcm-step-pick-name {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	color: var(--zcm-muted);
	text-transform: none !important;
	letter-spacing: 0 !important;
	font-size: 13px !important;
	font-weight: 500 !important;
}
.zcm-step-pick-price {
	color: var(--zcm-ink);
	font-weight: 600 !important;
	white-space: nowrap;
	text-transform: none !important;
	letter-spacing: 0 !important;
	font-size: 13px !important;
}
.zcm-hint {
	margin-top: 10px !important;
	font-size: 13px;
	color: var(--zcm-muted);
	line-height: 1.45;
}

.zcm-swatches {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 22px 12px;
	margin-top: 18px;
	align-items: start;
}
.zcm-swatch {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	gap: 10px;
	background: none;
	border: 0;
	padding: 0;
	cursor: pointer;
	text-align: center;
}
.zcm-swatch-media {
	position: relative;
	display: block;
	padding-bottom: 10px;
}
.zcm-swatch-dot {
	position: relative;
	display: block;
	width: var(--zcm-swatch-size, 56px);
	height: var(--zcm-swatch-size, 56px);
	flex: 0 0 auto;
	border-radius: 50%;
	border: 1px solid var(--zcm-line);
	background-size: cover;
	background-position: center;
	transition: box-shadow 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
/* Option avec image : pas de rond ni de bordure */
.zcm-swatch-dot--image {
	width: calc(var(--zcm-thumb-size, 56px) * 1.15);
	height: var(--zcm-thumb-size, 56px);
	border: 0 !important;
	border-radius: 0;
	background-color: transparent !important;
	background-size: contain;
	background-repeat: no-repeat;
}
.zcm-swatch:hover .zcm-swatch-dot {
	transform: scale(1.04);
}
/* Option sans image ni couleur : cadre neutre */
.zcm-swatch-dot--plain {
	width: calc(var(--zcm-thumb-size, 56px) * 1.15);
	height: var(--zcm-thumb-size, 56px);
	border-radius: 10px;
	background: #f4f4f6;
}
.zcm-swatch.is-selected .zcm-swatch-dot {
	border-color: var(--zcm-line);
	box-shadow: none;
}
.zcm-app .zcm-swatch.is-selected .zcm-swatch-dot--image {
	box-shadow: none;
	border-radius: 0;
	outline: none;
}
/* Coche discrète de sélection */
.zcm-app .zcm-swatch-media::after {
	content: "";
	position: absolute;
	top: -2px;
	right: -2px;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: var(--zcm-ink) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") center / 10px 10px no-repeat;
	opacity: 0;
	transform: scale(0.7);
	transition: opacity 0.15s ease, transform 0.15s ease;
	pointer-events: none;
}
.zcm-app .zcm-swatch.is-selected .zcm-swatch-media::after {
	opacity: 1;
	transform: scale(1);
}
/* Prix en pastille sous la pièce */
.zcm-swatch-badge {
	position: absolute;
	left: 50%;
	bottom: 0;
	transform: translateX(-50%);
	background: var(--zcm-badge-bg, #2f2f33) !important;
	color: var(--zcm-badge-text, #fff) !important;
	font-size: 11px;
	font-weight: 500;
	line-height: 1;
	padding: 4px 8px;
	border-radius: 999px;
	white-space: nowrap;
}
.zcm-swatch-label {
	font-size: 12px;
	color: var(--zcm-ink);
	line-height: 1.3;
	max-width: 80px;
	min-height: 2.4em;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
}
.zcm-swatch-label em {
	display: block;
	font-style: normal;
	color: var(--zcm-ink);
	font-weight: 500;
	margin-top: 2px;
}

.zcm-rows {
	margin-top: 18px;
	display: grid;
	gap: 10px;
}
.zcm-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	width: 100%;
	padding: 16px 18px;
	border: 1px solid var(--zcm-line);
	border-radius: var(--zcm-radius-sm);
	background: transparent;
	cursor: pointer;
	text-align: left;
	transition: border-color 0.15s ease, background 0.15s ease, transform 0.1s ease;
}
.zcm-row:hover {
	border-color: color-mix(in srgb, var(--zcm-ink) 30%, transparent);
	background: rgba(0, 0, 0, 0.01);
}
.zcm-row.is-selected {
	border-color: var(--zcm-accent);
	background: #f4f4f5;
}
.zcm-row-main strong {
	display: block;
	font-size: 14px;
	font-weight: 500;
}
.zcm-row-main small {
	display: block;
	font-size: 12px;
	color: var(--zcm-muted);
	margin-top: 2px;
}
.zcm-row-price {
	font-size: 14px;
	font-weight: 500;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
	color: var(--zcm-ink);
}

.zcm-summary {
	display: none;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-top: 36px;
	padding: 22px;
	border: 1px solid var(--zcm-line);
	border-radius: var(--zcm-radius);
	background: var(--zcm-card);
	position: sticky;
	bottom: 24px;
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
}
.zcm-total {
	font-size: 26px;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
	letter-spacing: -0.02em;
}
.zcm-cta {
	border: 0;
	border-radius: var(--zcm-cta-radius, 999px);
	background: var(--zcm-accent);
	color: var(--zcm-cta-text, #fff);
	padding: 15px 34px;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	transition: transform 0.1s ease, opacity 0.15s ease, filter 0.15s ease;
}
.zcm-cta:hover {
	filter: brightness(1.1);
}
.zcm-cta:active {
	transform: scale(0.98);
}
.zcm-cta[disabled] {
	opacity: 0.55;
	cursor: wait;
}
.zcm-cta--full {
	width: 100%;
	margin-top: 22px;
}

/* Barre mobile */
.zcm-mobilebar {
	position: relative;
	z-index: 10;
	background: var(--zcm-bg);
	border-top: 1px solid var(--zcm-line);
	padding: 12px 0;
	margin-top: 16px;
}
.zcm-mobilebar-nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}
.zcm-mobilebar-info {
	text-align: center;
	flex: 1;
	min-width: 0;
}
.zcm-mobilebar-info > * {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.zcm-mobilebar-info .zcm-total {
	font-size: 20px;
	display: block;
}
.zcm-navbtn {
	border: 1px solid var(--zcm-line);
	background: transparent;
	border-radius: 12px;
	padding: 10px 14px;
	flex: 0 0 auto;
	font-size: 16px;
	cursor: pointer;
	color: var(--zcm-ink);
	transition: background 0.15s ease;
}
.zcm-navbtn:hover {
	background: var(--zcm-surface);
}

/* Dernière étape : gros bouton panier à la place de la flèche suivante */
.zcm-app .zcm-mobilebar .zcm-cta--bar[hidden] {
	display: none !important;
}
.zcm-app .zcm-mobilebar .zcm-cta--bar {
	flex: 1 1 auto;
	min-width: 0;
	padding: 14px 18px;
	font-size: 15px;
	font-weight: 600;
	border-radius: 999px;
	white-space: nowrap;
}
.zcm-app .zcm-mobilebar.is-last .zcm-mobilebar-info {
	flex: 0 1 auto;
}

@media (min-width: 1024px) {
	.zcm-layout {
		grid-template-columns: minmax(0, 1fr) var(--zcm-sidebar, 340px);
		gap: 48px;
		align-items: start;
	}
	.zcm-app {
		padding: 0;
		border-radius: 0;
	}
	/* Élargissement : le bloc blanc sort du conteneur étroit du thème */
	.zcm-app:not(.zcm-app--boxed) {
		width: var(--zcm-vw, 100vw);
		max-width: var(--zcm-vw, 100vw);
		margin-left: calc(50% - var(--zcm-vw, 100vw) / 2);
		margin-right: calc(50% - var(--zcm-vw, 100vw) / 2);
		padding: 0 clamp(24px, 4vw, 72px);
	}
	.zcm-stage {
		top: var(--zcm-sticky-top);
		padding: 0;
		position: sticky;
		display: flex;
		align-items: center;
		justify-content: center;
		height: calc(100vh - var(--zcm-sticky-top) - 24px);
		min-height: 0;
		overflow: visible;
	}
	.zcm-stage-inner {
		padding: 0 0 14px;
		overflow: hidden;
		border-radius: 0;
		background: var(--zcm-bg);
		min-height: 0;
		display: block;
	}
	.zcm-stage-content {
		width: 100%;
		max-width: 1000px;
		margin: 0 auto;
	}
	.zcm-arrow {
		width: 48px;
		height: 48px;
		font-size: 24px;
	}
	.zcm-arrow--left {
		left: 4px;
	}
	.zcm-arrow--right {
		right: 4px;
	}
	.zcm-head {
		display: block;
		margin-bottom: 28px;
		padding-bottom: 18px;
		border-bottom: 2px solid var(--zcm-ink);
	}
	.zcm-head .zcm-kicker,
	.zcm-head .zcm-from {
		display: none;
	}
	.zcm-head .zcm-title {
		margin-top: 0 !important;
		font-size: var(--zcm-title-size, 34px);
	}
	.zcm-summary {
		display: none;
	}
	.zcm-stage-cta {
		display: flex;
		justify-content: center;
		padding: 0;
		margin-top: 20px;
	}
	.zcm-photo {
		width: min(100%, var(--zcm-controller-max, 680px));
		max-width: var(--zcm-controller-max, 680px);
		margin: 0 auto;
	}
	.zcm-svg {
		width: min(100%, var(--zcm-controller-max, 680px));
		margin: 0 auto;
	}
	.zcm-face {
		padding: 0 16px;
	}
	.zcm-pricebar {
		display: flex;
		position: absolute;
		top: 40px;
		right: 0;
		padding: 0;
		background: transparent;
		z-index: 6;
	}
	.zcm-panel {
		padding-bottom: 80px;
		padding-top: 40px;
		min-height: 100vh;
	}
	.zcm-step {
		scroll-margin-top: calc(var(--zcm-sticky-top) + 20px);
	}
	.zcm-swatches {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
	.zcm-mobilebar {
		display: none;
	}
}

/* --- Outils image (desktop uniquement) --- */
.zcm-tools {
	display: none;
}
@media (min-width: 901px) {
	.zcm-app .zcm-tools {
		display: flex;
		align-items: center;
		gap: 6px;
		position: absolute;
		top: 10px;
		left: 10px;
		z-index: 6;
	}
	.zcm-app .zcm-tool {
		width: 34px;
		height: 34px;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		border: 0;
		background: transparent;
		color: #111;
		border-radius: 999px;
		cursor: pointer;
		padding: 0;
		transition: background .15s ease, color .15s ease;
	}
	.zcm-app .zcm-tool:hover,
	.zcm-app .zcm-tool:focus {
		background: rgba(0, 0, 0, .06);
		color: #111;
		outline: none;
		box-shadow: none;
	}
	.zcm-app .zcm-tool svg {
		width: 19px;
		height: 19px;
	}
	.zcm-app .zcm-tool-toast {
		font-size: 12px;
		color: #111;
		background: #fff;
		border: 1px solid #e5e5e5;
		border-radius: 999px;
		padding: 3px 10px;
		opacity: 0;
		transform: translateY(-2px);
		transition: opacity .18s ease, transform .18s ease;
		pointer-events: none;
	}
	.zcm-app .zcm-tool-toast.is-visible {
		opacity: 1;
		transform: translateY(0);
	}
}

.zcm-lightbox {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: none;
	align-items: center;
	justify-content: center;
	background: rgba(255, 255, 255, .96);
	padding: 40px;
}
.zcm-lightbox.is-open {
	display: flex;
}
.zcm-lightbox img {
	max-width: min(1100px, 92vw);
	max-height: 88vh;
	object-fit: contain;
}
.zcm-lightbox-close {
	position: absolute;
	top: 18px;
	right: 22px;
	width: 40px;
	height: 40px;
	border: 0;
	background: transparent;
	color: #111;
	font-size: 26px;
	line-height: 1;
	cursor: pointer;
	border-radius: 999px;
}
.zcm-lightbox-close:hover {
	background: rgba(0, 0, 0, .06);
}

/* --- Correctif mobile : en-tête (titre + prix + CTA) et barre d'étapes --- */
@media (max-width: 900px) {
	.zcm-app .zcm-mobilehead {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 10px;
		padding: 6px 0 10px;
	}
	.zcm-app .zcm-mobilehead-info {
		min-width: 0;
		flex: 1;
		overflow: hidden;
	}
	.zcm-app .zcm-mobilehead-title {
		font-size: var(--zcm-title-size-mobile, 16px);
		font-weight: 700;
		letter-spacing: -0.01em;
		margin: 0 !important;
		line-height: 1.2;
		white-space: normal !important;
		overflow: visible !important;
		text-overflow: clip !important;
		overflow-wrap: anywhere;
		display: block;
	}
	/* Blindage : aucune troncature possible (thème Woodmart, etc.) */
	.zcm-app .zcm-mobilehead .zcm-mobilehead-info .zcm-mobilehead-title,
	.zcm-app .zcm-mobilehead .zcm-mobilehead-info .zcm-mobilehead-title * {
		display: block !important;
		-webkit-line-clamp: unset !important;
		-webkit-box-orient: unset !important;
		max-height: none !important;
		width: auto !important;
		white-space: normal !important;
		word-break: break-word !important;
		overflow-wrap: anywhere !important;
		text-overflow: clip !important;
		overflow: visible !important;
	}
	.zcm-app .zcm-mobilehead-subtitle {
		font-size: var(--zcm-subtitle-size-mobile, 12px);
		line-height: 1.3;
		color: var(--zcm-muted);
		margin: 2px 0 0 !important;
		font-weight: 500;
		display: block;
	}
	.zcm-app .zcm-mobilehead .zcm-total {
		font-size: var(--zcm-price-size-mobile, 13px);
		color: var(--zcm-price-color, var(--zcm-muted));
		margin: 0 !important;
		font-weight: 600;
		white-space: nowrap;
	}
	.zcm-app .zcm-mobilehead .zcm-cta--sm {
		padding: 8px 14px;
		font-size: 13px;
		flex: 0 0 auto;
	}
	.zcm-app .zcm-pricebar,
	.zcm-app .zcm-stage-cta,
	.zcm-app .zcm-summary,
	.zcm-app .zcm-head {
		display: none;
	}
	.zcm-app .zcm-panel {
		padding-bottom: 8px;
	}
	.zcm-app .zcm-mobilebar {
		display: block;
		position: static;
		background: var(--zcm-bg);
		backdrop-filter: none;
		border-top: 1px solid var(--zcm-line);
		padding: 12px 0;
		margin-top: 16px;
	}
	/* Carrousel d'options sur une ligne */
	.zcm-app .zcm-swatches-wrap {
		position: relative;
		margin-top: 14px;
	}
	.zcm-app .zcm-swatches {
		display: flex;
		flex-wrap: nowrap;
		gap: 14px;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
		padding: 4px 2px;
		scroll-behavior: smooth;
	}
	.zcm-app .zcm-swatches::-webkit-scrollbar {
		display: none;
	}
	.zcm-app .zcm-swatch {
		flex: 0 0 auto;
		scroll-snap-align: start;
		width: max(86px, calc(var(--zcm-thumb-size, 56px) * 1.35));
	}
	.zcm-app .zcm-swatch-dot {
		width: var(--zcm-swatch-size, 56px);
		height: var(--zcm-swatch-size, 56px);
	}
	.zcm-app .zcm-swatch-dot--image,
	.zcm-app .zcm-swatch-dot--plain {
		width: calc(var(--zcm-thumb-size, 56px) * 1.15);
		height: var(--zcm-thumb-size, 56px);
	}
	.zcm-app .zcm-swatch-label {
		max-width: 86px;
		font-size: 11px;
	}
}

/* --- Glissement tactile mobile --- */
@media (max-width: 1023px) {
	.zcm-app .zcm-swatches {
		touch-action: pan-x pan-y;
		scroll-padding-left: 2px;
	}
	.zcm-app .zcm-swatch-arrow {
		display: none !important;
	}
	.zcm-app .zcm-faces,
	.zcm-app .zcm-face,
	.zcm-app .zcm-photo,
	.zcm-app .zcm-photo-base,
	.zcm-app .zcm-svg {
		display: block !important;
		visibility: visible !important;
		opacity: 1 !important;
	}
	.zcm-app .zcm-faces {
		display: flex !important;
	}
	.zcm-app .zcm-stage-inner {
		touch-action: pan-y;
	}
}

/* --- Mobile : hauteur fixe des étapes + tout sur une seule ligne --- */
@media (max-width: 1023px) {
	.zcm-app .zcm-steps {
		height: 248px;
		min-height: 248px;
		overflow: hidden;
	}
	.zcm-app .zcm-step.is-active {
		height: 248px;
		display: flex;
		flex-direction: column;
	}
	.zcm-app .zcm-step .zcm-hint {
		margin: 6px 0 0;
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
	}
	/* Listes texte (services, options) : ligne horizontale défilante */
	.zcm-app .zcm-rows {
		display: flex;
		flex-direction: row;
		flex-wrap: nowrap;
		gap: 10px;
		margin-top: 14px;
		overflow-x: auto;
		overflow-y: hidden;
		scroll-snap-type: x proximity;
		-webkit-overflow-scrolling: touch;
		overscroll-behavior-x: contain;
		touch-action: auto;
		scrollbar-width: none;
		scroll-padding-inline: 10px;
		padding: 0 10px 6px 0;
	}
	.zcm-app .zcm-rows::-webkit-scrollbar {
		display: none;
	}
	.zcm-app .zcm-row {
		flex: 0 0 min(78vw, 230px);
		scroll-snap-align: start;
		width: min(78vw, 230px);
		height: 100px;
		min-height: 100px;
		flex-direction: column;
		align-items: flex-start;
		justify-content: center;
		gap: 4px;
		padding: 12px 14px;
	}
	.zcm-app .zcm-row-main {
		min-width: 0;
		width: 100%;
	}
	.zcm-app .zcm-row-main strong,
	.zcm-app .zcm-row-main small {
		display: block;
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
	}
	/* Vignettes : même hauteur fixe */
	.zcm-app .zcm-swatches-wrap {
		margin-top: 14px;
	}
	.zcm-app .zcm-swatches {
		align-items: flex-start;
	}
	/* La barre de navigation ne bouge plus */
	.zcm-app .zcm-mobilebar {
		margin-top: 12px;
	}
}

/* --- Mobile : alignement vertical identique d'une étape à l'autre --- */
@media (max-width: 1023px) {
	.zcm-app .zcm-step-head {
		height: 52px;
		min-height: 52px;
		display: flex;
		align-items: center;
	}
	.zcm-app .zcm-step .zcm-hint {
		height: 20px;
		min-height: 20px;
		margin: 4px 0 0;
		line-height: 20px;
	}
	.zcm-app .zcm-step .zcm-hint--empty {
		visibility: hidden;
	}
	/* Zone de contenu : même point de départ pour vignettes et listes */
	.zcm-app .zcm-step.is-active > .zcm-swatches-wrap,
	.zcm-app .zcm-step.is-active > .zcm-rows {
		flex: 1 1 auto;
		margin-top: 10px;
		display: flex;
		align-items: flex-start;
	}
	.zcm-app .zcm-step.is-active > .zcm-swatches-wrap > .zcm-swatches {
		width: 100%;
	}
	.zcm-app .zcm-swatches {
		height: 146px;
		min-height: 146px;
		align-items: flex-start;
	}
	.zcm-app .zcm-swatch {
		justify-content: flex-start;
	}
	.zcm-app .zcm-swatch-media {
		height: max(66px, calc(var(--zcm-thumb-size, 56px) + 10px));
		min-height: max(66px, calc(var(--zcm-thumb-size, 56px) + 10px));
		display: flex;
		align-items: center;
		justify-content: center;
	}
	.zcm-app .zcm-swatch-label {
		min-height: 46px;
		max-height: 46px;
		display: -webkit-box;
		-webkit-line-clamp: 3;
		-webkit-box-orient: vertical;
		overflow: hidden;
		white-space: normal;
		line-height: 1.25;
		text-align: center;
	}
	.zcm-app .zcm-rows {
		height: 146px;
		min-height: 146px;
		align-items: flex-start;
	}
	.zcm-app .zcm-row {
		height: 100px;
	}
}

/* --- Mobile : titre d'étape centré au-dessus du choix actuel --- */
@media (max-width: 1023px) {
	.zcm-app .zcm-step-head {
		flex-direction: column;
		align-items: center;
		justify-content: center;
		text-align: center;
		gap: 2px;
		height: 56px;
		min-height: 56px;
		border-bottom: 0;
		padding-bottom: 0;
	}
	.zcm-app .zcm-step-head h3 {
		justify-content: center;
		font-size: 17px;
	}
	.zcm-app .zcm-step-head .zcm-step-pick {
		max-width: 100%;
		justify-content: center;
		text-align: center;
	}
}

/* --- Flèches de navigation : fond noir, flèche blanche, forme pill --- */
.zcm-app .zcm-navbtn,
.zcm-app .zcm-navbtn:hover,
.zcm-app .zcm-navbtn:focus,
.zcm-app .zcm-navbtn:active {
	background: #111 !important;
	color: #fff !important;
	border: 0 !important;
	border-radius: 999px;
	min-width: 72px;
	height: 48px;
	font-size: 0;
	line-height: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
	padding: 0;
	transition: transform 0.12s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}
.zcm-app .zcm-navbtn svg {
	width: 22px;
	height: 22px;
	display: block;
}
.zcm-app .zcm-navbtn:hover {
	transform: translateY(-1px);
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}
.zcm-app .zcm-navbtn:active {
	transform: translateY(0);
	box-shadow: 0 1px 6px rgba(0, 0, 0, 0.12);
}
.zcm-app .zcm-navbtn:disabled {
	opacity: 0.35;
}

/* ============ Récapitulatif mobile (drawer) ============ */
.zcm-app .zcm-recapbtn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: none;
	border: 0;
	padding: 6px 10px;
	margin: 0;
	color: #111;
	font-size: 14px;
	font-weight: 600;
	line-height: 1;
	cursor: pointer;
	box-shadow: none;
	border-radius: 999px;
}
.zcm-app .zcm-recapbtn:hover,
.zcm-app .zcm-recapbtn:focus {
	background: rgba(0, 0, 0, 0.05);
	color: #111;
}
.zcm-app .zcm-recapbtn svg {
	width: 16px;
	height: 16px;
	flex: none;
}

.zcm-app .zcm-drawer,
body > .zcm-drawer {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 100%;
	height: 100dvh;
	z-index: 2147483647 !important;
	display: flex;
	align-items: flex-end;
	overscroll-behavior: none;
	touch-action: pan-y;
	isolation: isolate;
}
.zcm-app .zcm-drawer[hidden],
body > .zcm-drawer[hidden] {
	display: none;
}
.zcm-app .zcm-drawer-backdrop,
body > .zcm-drawer .zcm-drawer-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.35);
	opacity: 0;
	transition: opacity 0.2s ease;
	touch-action: none;
}
.zcm-app .zcm-drawer.is-open .zcm-drawer-backdrop,
body > .zcm-drawer.is-open .zcm-drawer-backdrop {
	opacity: 1;
}
.zcm-app .zcm-drawer-panel,
body > .zcm-drawer .zcm-drawer-panel {
	position: relative;
	z-index: 1;
	width: 100%;
	max-height: 82vh;
	max-height: 82dvh;
	margin-bottom: var(--zcm-drawer-bottom, 0px);
	display: flex;
	flex-direction: column;
	background: #fff;
	border-radius: 18px 18px 0 0;
	padding: 10px 16px 12px;
	transform: translateY(100%);
	transition: transform 0.22s ease;
	box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.18);
	overflow: hidden;
	touch-action: pan-y;
}
.zcm-app .zcm-drawer.is-open .zcm-drawer-panel,
body > .zcm-drawer.is-open .zcm-drawer-panel {
	transform: translateY(0);
}
.zcm-app .zcm-drawer-grip {
	display: block;
	width: 44px;
	height: 4px;
	border-radius: 999px;
	background: #d8d8d8;
	margin: 0 auto 12px;
}
.zcm-app .zcm-drawer-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding-bottom: 10px;
}
.zcm-app .zcm-drawer-title {
	margin: 0;
	font-size: 16px;
	font-weight: 600;
	color: #111;
}
.zcm-app .zcm-drawer-actions {
	display: flex;
	gap: 8px;
}
.zcm-app .zcm-drawer-actions .zcm-tool {
	position: static;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border: 1px solid #e6e6e6;
	border-radius: 10px;
	background: #fff;
	color: #111;
	padding: 0;
	cursor: pointer;
}
.zcm-app .zcm-drawer-actions .zcm-tool svg {
	width: 18px;
	height: 18px;
}
.zcm-app .zcm-drawer-list {
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	overscroll-behavior-y: contain;
	touch-action: pan-y;
	flex: 1 1 auto;
	min-height: 0;
}

html.zcm-drawer-scroll-locked,
body.zcm-drawer-scroll-locked {
	overflow: hidden !important;
	overscroll-behavior: none;
}
.zcm-app .zcm-drawer-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	width: 100%;
	background: none;
	border: 0;
	border-top: 1px solid #ececec;
	padding: 12px 2px;
	margin: 0;
	text-align: left;
	cursor: pointer;
	box-shadow: none;
	border-radius: 0;
}
.zcm-app .zcm-drawer-row:hover,
.zcm-app .zcm-drawer-row:focus {
	background: #fafafa;
}
.zcm-app .zcm-drawer-row.is-current {
	background: #f4f4f4;
}
.zcm-app .zcm-drawer-row-text {
	display: flex;
	flex-direction: column;
	gap: 3px;
	min-width: 0;
}
.zcm-app .zcm-drawer-row-label {
	font-size: 14px;
	font-weight: 600;
	color: #111;
}
.zcm-app .zcm-drawer-row-value {
	font-size: 13px;
	color: #888;
}
.zcm-app .zcm-drawer-row-check {
	flex: none;
	width: 18px;
	height: 18px;
	color: #111;
	opacity: 0;
}
.zcm-app .zcm-drawer-row.is-done .zcm-drawer-row-check {
	opacity: 1;
}
.zcm-app .zcm-drawer-row-check svg {
	width: 100%;
	height: 100%;
}
.zcm-app .zcm-drawer-foot {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	padding-top: 10px;
	border-top: 1px solid #ececec;
}
.zcm-app .zcm-drawer-close {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: none;
	border: 0;
	padding: 6px 12px;
	color: #111;
	font-size: 14px;
	font-weight: 500;
	cursor: pointer;
	box-shadow: none;
}
.zcm-app .zcm-drawer-close svg {
	width: 16px;
	height: 16px;
}
.zcm-app .zcm-drawer-foot .zcm-tool-toast {
	position: absolute;
	left: 0;
	top: 12px;
}

/* Toast global : masqué par défaut partout (mobile inclus) */
.zcm-app .zcm-tool-toast,
body > .zcm-drawer .zcm-tool-toast {
	font-size: 12px;
	color: #111;
	background: #fff;
	border: 1px solid #e5e5e5;
	border-radius: 999px;
	padding: 3px 10px;
	opacity: 0;
	visibility: hidden;
	transform: translateY(-2px);
	transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
	pointer-events: none;
}
.zcm-app .zcm-tool-toast.is-visible,
body > .zcm-drawer .zcm-tool-toast.is-visible {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

/* Le drawer est déplacé sous body à l'ouverture : conserver ses styles
 * sans dépendre du conteneur .zcm-app. */
body > .zcm-drawer,
body > .zcm-drawer button,
body > .zcm-drawer h3,
body > .zcm-drawer span {
	box-sizing: border-box;
}
body > .zcm-drawer .zcm-drawer-grip { display: block; width: 44px; height: 4px; border-radius: 999px; background: #d8d8d8; margin: 0 auto 12px; }
body > .zcm-drawer .zcm-drawer-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 10px; }
body > .zcm-drawer .zcm-drawer-title { margin: 0; font-size: 16px; font-weight: 600; color: #111; }
body > .zcm-drawer .zcm-drawer-actions { display: flex; gap: 8px; }
body > .zcm-drawer .zcm-drawer-actions .zcm-tool { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border: 1px solid #e6e6e6; border-radius: 10px; background: #fff; color: #111; padding: 0; cursor: pointer; }
body > .zcm-drawer .zcm-drawer-actions .zcm-tool svg { width: 18px; height: 18px; }
body > .zcm-drawer .zcm-drawer-list { overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior-y: contain; touch-action: pan-y; flex: 1 1 auto; min-height: 0; background: #fff; }
body > .zcm-drawer .zcm-drawer-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; background: #fff; border: 0; border-top: 1px solid #ececec; padding: 12px 2px; margin: 0; text-align: left; cursor: pointer; box-shadow: none; border-radius: 0; color: #111; }
body > .zcm-drawer .zcm-drawer-row.is-current { background: #f4f4f4; }
body > .zcm-drawer .zcm-drawer-row-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
body > .zcm-drawer .zcm-drawer-row-label { font-size: 14px; font-weight: 600; color: #111; }
body > .zcm-drawer .zcm-drawer-row-value { font-size: 13px; color: #888; }
body > .zcm-drawer .zcm-drawer-row-check { flex: none; width: 18px; height: 18px; color: #111; opacity: 0; }
body > .zcm-drawer .zcm-drawer-row.is-done .zcm-drawer-row-check { opacity: 1; }
body > .zcm-drawer .zcm-drawer-row-check svg { width: 100%; height: 100%; }
body > .zcm-drawer .zcm-drawer-foot { position: relative; display: flex; align-items: center; justify-content: center; padding-top: 10px; border-top: 1px solid #ececec; background: #fff; }
body > .zcm-drawer .zcm-drawer-close { display: inline-flex; align-items: center; gap: 6px; background: #fff; border: 0; padding: 6px 12px; color: #111; font-size: 14px; font-weight: 500; cursor: pointer; box-shadow: none; }
body > .zcm-drawer .zcm-drawer-close svg { width: 16px; height: 16px; }
body > .zcm-drawer .zcm-tool-toast { position: absolute; left: 0; top: 12px; }

/* --- Mobile : on récupère de la place sur l'image pour ne plus rogner les libellés d'options --- */
@media (max-width: 1023px) {
	.zcm-app .zcm-stage {
		padding-top: 0 !important;
		padding-bottom: 0 !important;
	}
	.zcm-app .zcm-stage-inner {
		padding-top: 0 !important;
		padding-bottom: 0 !important;
	}
	.zcm-app .zcm-face {
		padding-top: 0 !important;
		padding-bottom: 0 !important;
	}
	.zcm-app .zcm-photo,
	.zcm-app .zcm-photo-base,
	.zcm-app .zcm-svg {
		max-height: var(--zcm-stage-mobile, 34vh);
		object-fit: contain;
	}
	.zcm-app .zcm-faces {
		margin-bottom: 0 !important;
	}
	.zcm-app .zcm-dots {
		margin: 6px 0 0 !important;
	}
	.zcm-app .zcm-panel {
		padding-top: 4px !important;
	}

	/* Étapes : plus de hauteur utile, libellés d'options entièrement visibles */
	.zcm-app .zcm-steps,
	.zcm-app .zcm-step.is-active {
		height: var(--zcm-options-mobile, 286px);
		min-height: var(--zcm-options-mobile, 286px);
	}
	.zcm-app .zcm-step.is-active > .zcm-swatches-wrap,
	.zcm-app .zcm-step.is-active > .zcm-rows {
		margin-top: 6px;
	}
	.zcm-app .zcm-swatches,
	.zcm-app .zcm-rows {
		height: 186px;
		min-height: 186px;
		overflow-y: visible;
	}
	.zcm-app .zcm-swatch-label {
		min-height: 58px;
		max-height: 58px;
		-webkit-line-clamp: 3;
		padding-bottom: 2px;
	}
	.zcm-app .zcm-mobilebar {
		padding: 8px 0 0 !important;
		margin-top: 6px !important;
	}
}

/* --- Dernière étape mobile : CTA unique sous la manette --- */
@media (max-width: 1023px) {
	/* Le bouton compact du haut disparaît uniquement à la dernière étape. */
	.zcm-app.is-last-step .zcm-mobilehead .zcm-cta--sm {
		display: none !important;
	}

	/* Le bouton desktop existant est réutilisé sous la manette : aucun doublon. */
	.zcm-app.is-last-step .zcm-stage-cta {
		display: flex !important;
		justify-content: center;
		width: 100%;
		margin: 8px 0 4px;
		padding: 0 28px;
	}

	.zcm-app.is-last-step .zcm-stage-cta .zcm-cta {
		width: min(100%, 400px);
		min-height: 52px;
		margin: 0 auto;
		padding: 15px 24px;
		font-size: 16px;
		font-weight: 700;
		box-shadow: 0 6px 18px color-mix(in srgb, var(--zcm-ink) 16%, transparent);
	}

	/* La barre conserve trois colonnes équilibrées comme aux autres étapes. */
	.zcm-app .zcm-mobilebar.is-last .zcm-mobilebar-nav {
		display: flex;
		flex-wrap: nowrap;
		align-items: center;
		justify-content: space-between;
	}

	.zcm-app .zcm-mobilebar.is-last .zcm-navbtn[data-zcm-next][hidden] {
		display: inline-flex !important;
		visibility: hidden;
		pointer-events: none;
	}
}

/* ---- Menu déroulant (affichage "select") ---- */
.zcm-app .zcm-selectwrap { position: relative; width: 100%; }
.zcm-app button.zcm-select {
	display: flex !important;
	align-items: center !important;
	justify-content: space-between !important;
	gap: 12px !important;
	width: 100% !important;
	max-width: 100% !important;
	margin: 0 !important;
	padding: 14px 16px !important;
	border: 1px solid var(--zcm-line, #e5e5e5) !important;
	border-radius: 4px !important;
	background: #fff !important;
	color: #111 !important;
	-webkit-text-fill-color: #111 !important;
	font-family: inherit !important;
	font-size: 15px !important;
	font-weight: 500 !important;
	line-height: 1.2 !important;
	text-align: left !important;
	text-transform: none !important;
	box-shadow: none !important;
	cursor: pointer !important;
}
.zcm-app button.zcm-select:hover,
.zcm-app button.zcm-select:focus,
.zcm-app button.zcm-select:focus-visible {
	outline: none !important;
	background: #fff !important;
	color: #111 !important;
	border-color: #111 !important;
	box-shadow: none !important;
}
.zcm-app .zcm-select-value { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.zcm-app .zcm-select-caret {
	flex: 0 0 auto;
	width: 16px;
	height: 16px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") no-repeat center / 16px 16px;
	transition: transform .18s ease;
}
.zcm-app .zcm-selectwrap.is-open .zcm-select-caret { transform: rotate(180deg); }
.zcm-app .zcm-select-panel {
	display: none;
	position: absolute;
	left: 0;
	right: 0;
	bottom: calc(100% + 6px);
	z-index: 60;
	max-height: 240px;
	overflow-y: auto;
	background: #fff !important;
	border: 1px solid var(--zcm-line, #e5e5e5);
	border-radius: 4px;
	box-shadow: 0 -10px 30px rgba(0, 0, 0, .12);
}
.zcm-app .zcm-selectwrap.is-open .zcm-select-panel { display: block; }
.zcm-app button.zcm-select-option {
	display: block !important;
	width: 100% !important;
	margin: 0 !important;
	padding: 12px 16px !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: #fff !important;
	color: #111 !important;
	-webkit-text-fill-color: #111 !important;
	font-family: inherit !important;
	font-size: 14px !important;
	font-weight: 500 !important;
	text-align: left !important;
	text-transform: none !important;
	box-shadow: none !important;
	cursor: pointer !important;
}
.zcm-app button.zcm-select-option + .zcm-select-option { border-top: 1px solid var(--zcm-line, #eee) !important; }
.zcm-app button.zcm-select-option:hover,
.zcm-app button.zcm-select-option:focus { background: #f5f5f5 !important; color: #111 !important; }
.zcm-app button.zcm-select-option.is-selected { background: #111 !important; color: #fff !important; -webkit-text-fill-color: #fff !important; }

/* Mobile : le menu déroulant sort du conteneur du configurateur pour passer au-dessus de tout. */
@media (max-width: 1023px) {
	body > .zcm-select-panel--portal {
		display: none;
		position: fixed !important;
		z-index: 2147483646 !important;
		max-width: calc(100vw - 16px);
		overflow-y: auto;
		overscroll-behavior: contain;
		background: #fff !important;
		border: 1px solid #e5e5e5 !important;
		border-radius: 4px !important;
		box-shadow: 0 10px 30px rgba(0, 0, 0, .18) !important;
	}
	body > .zcm-select-panel--portal.is-open {
		display: block !important;
	}
	body > .zcm-select-panel--portal button.zcm-select-option {
		display: block !important;
		width: 100% !important;
		margin: 0 !important;
		padding: 12px 16px !important;
		border: 0 !important;
		border-radius: 0 !important;
		background: #fff !important;
		color: #111 !important;
		-webkit-text-fill-color: #111 !important;
		font-family: inherit !important;
		font-size: 14px !important;
		font-weight: 500 !important;
		line-height: 1.35 !important;
		text-align: left !important;
		text-transform: none !important;
		box-shadow: none !important;
		cursor: pointer !important;
	}
	body > .zcm-select-panel--portal button.zcm-select-option + .zcm-select-option {
		border-top: 1px solid #eee !important;
	}
	body > .zcm-select-panel--portal button.zcm-select-option:hover,
	body > .zcm-select-panel--portal button.zcm-select-option:focus {
		background: #f5f5f5 !important;
		color: #111 !important;
	}
	body > .zcm-select-panel--portal button.zcm-select-option.is-selected {
		background: #111 !important;
		color: #fff !important;
		-webkit-text-fill-color: #fff !important;
	}
}

/* Descriptions dans le menu déroulant */
.zcm-app .zcm-select-option-title { display: block; }
.zcm-app .zcm-select-option-desc,
body > .zcm-select-panel--portal .zcm-select-option-desc {
	display: block;
	margin-top: 6px;
	font-size: 13px !important;
	font-weight: 400 !important;
	line-height: 1.45 !important;
	color: #6b6b70 !important;
	-webkit-text-fill-color: #6b6b70 !important;
	white-space: normal !important;
}
.zcm-app .zcm-select-option-desc p,
body > .zcm-select-panel--portal .zcm-select-option-desc p { margin: 0 0 6px !important; }
.zcm-app .zcm-select-option-desc p:last-child,
body > .zcm-select-panel--portal .zcm-select-option-desc p:last-child { margin-bottom: 0 !important; }
.zcm-app button.zcm-select-option.is-selected,
body > .zcm-select-panel--portal button.zcm-select-option.is-selected {
	background: #f1f1f2 !important;
	color: #111 !important;
	-webkit-text-fill-color: #111 !important;
}
.zcm-app button.zcm-select-option.is-selected .zcm-select-option-desc,
body > .zcm-select-panel--portal button.zcm-select-option.is-selected .zcm-select-option-desc {
	color: #55555c !important;
	-webkit-text-fill-color: #55555c !important;
}

/* Description sous le menu déroulant (PC uniquement) */
.zcm-app .zcm-select-desc { display: none; }
@media (min-width: 1024px) {
	.zcm-app .zcm-select-desc {
		display: block;
		margin-top: 14px;
		font-size: 14px;
		line-height: 1.5;
		color: #55555c;
	}
	.zcm-app .zcm-select-desc p { margin: 0 0 10px !important; }
	.zcm-app .zcm-select-desc p:last-child { margin-bottom: 0 !important; }
	.zcm-app .zcm-select-desc a { color: inherit; text-decoration: underline; }
	.zcm-app .zcm-select-desc strong { color: #111; }
	/* Sur PC, la description détaillée reste sous le champ : liste allégée */
	.zcm-app .zcm-select-panel .zcm-select-option-desc { display: none; }
}

/* Description de catégorie (étape) */
.zcm-app .zcm-step-desc {
	margin: 0 0 14px !important;
	font-size: 14px !important;
	line-height: 1.55 !important;
	color: #55555c !important;
	-webkit-text-fill-color: #55555c !important;
}
.zcm-app .zcm-step-desc p { margin: 0 0 8px !important; }
.zcm-app .zcm-step-desc p:last-child { margin-bottom: 0 !important; }
.zcm-app .zcm-step-desc strong { color: #111 !important; -webkit-text-fill-color: #111 !important; }
.zcm-app .zcm-step-desc a { color: inherit !important; text-decoration: underline; }
.zcm-app .zcm-step-desc ul { margin: 0 0 8px 18px !important; padding: 0 !important; list-style: disc !important; }
@media (max-width: 1023px) {
	.zcm-app .zcm-step-desc {
		max-height: 74px;
		overflow-y: auto;
		font-size: 13px !important;
		margin-bottom: 10px !important;
	}
}

/* Visibilité PC / mobile des descriptions */
@media (min-width: 1024px) {
	.zcm-app .zcm-hide-pc,
	body > .zcm-select-panel--portal .zcm-hide-pc { display: none !important; }
}
@media (max-width: 1023px) {
	.zcm-app .zcm-hide-mobile,
	body > .zcm-select-panel--portal .zcm-hide-mobile { display: none !important; }
}

/* --- Panier / side-cart / checkout --- */
.zcm-cart-thumb{width:100%;height:auto;border-radius:6px;background:#fff;object-fit:contain}
.zcm-cart-name{display:block;font-weight:600}
.zcm-cart-edit{display:block;clear:both;margin-top:8px;font-size:12px;text-decoration:underline;opacity:.75}
.zcm-cart-edit:hover{opacity:1}

.zcm-app .added_to_cart,.zcm-app a.wc-forward,.zcm-app .wd-added-to-cart{display:none!important}

/* --- Affichage « onglets » (ex. Colors / Design) --- */
.zcm-app .zcm-tabs {
	margin-top: 18px;
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: 1fr;
	gap: 16px;
}
.zcm-app .zcm-tab {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 4px;
	min-height: 64px;
	padding: 14px 12px;
	border: 1px solid var(--zcm-line);
	border-radius: var(--zcm-radius-sm);
	background: transparent;
	color: var(--zcm-ink);
	font-size: 14px;
	line-height: 1.2;
	text-align: center;
	cursor: pointer;
	transition: border-color .15s ease, box-shadow .15s ease;
}
.zcm-app .zcm-tab:hover {
	border-color: var(--zcm-ink);
}
.zcm-app .zcm-tab.is-selected {
	border-color: var(--zcm-ink);
	box-shadow: inset 0 0 0 1px var(--zcm-ink);
	font-weight: 600;
}
.zcm-app .zcm-tab-price {
	font-size: 12px;
	opacity: .7;
	font-weight: 400;
}
.zcm-app .zcm-tabs-desc {
	margin-top: 12px;
	font-size: 13px;
	line-height: 1.5;
	color: var(--zcm-muted, #6b7280);
}

@media (max-width: 1024px) {
	.zcm-app .zcm-step.is-active > .zcm-tabs {
		flex: 1 1 auto;
		margin-top: 10px;
		align-content: start;
	}
	.zcm-app .zcm-tabs {
		margin-top: 10px;
	}
	.zcm-app .zcm-tab {
		min-height: 90px;
	}
}

/* v4.4.0 — repères vectoriels & emplacements cliquables */
.zcm-app .zcm-face { position: relative; }
.zcm-app .zcm-photo { position: relative; }
.zcm-app .zcm-markers {
	position: absolute;
	inset: 0;
	pointer-events: none;
	z-index: 4;
}
.zcm-app .zcm-pin {
	position: absolute;
	transform: translate(0, -50%);
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 0;
	border: 0;
	background: none;
	pointer-events: auto;
	cursor: default;
	font: inherit;
	line-height: 1;
	white-space: nowrap;
}
/* point posé exactement sur la coordonnée, libellé vers l'extérieur */
.zcm-app .zcm-pin.is-right { margin-left: -6px; flex-direction: row; }
.zcm-app .zcm-pin.is-left {
	flex-direction: row-reverse;
	transform: translate(-100%, -50%);
	margin-left: 6px;
}
.zcm-app .zcm-pin-dot {
	width: 12px;
	height: 12px;
	border-radius: 999px;
	background: #111;
	box-shadow: 0 0 0 3px #fff, 0 0 0 5px rgba(17, 17, 17, .18);
	flex: 0 0 auto;
}
.zcm-app .zcm-pin-label {
	background: #111;
	color: #fff;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .01em;
	padding: 5px 9px;
	border-radius: 999px;
	white-space: nowrap;
	box-shadow: 0 4px 12px rgba(0, 0, 0, .18);
}
.zcm-app .zcm-pin-label.has-glyph { padding: 4px; display: inline-flex; }
.zcm-app .zcm-pin-glyph { display: inline-flex; }
.zcm-app .zcm-pin-glyph svg { width: 15px; height: 15px; display: block; }
.zcm-app .zcm-pin.is-bare .zcm-pin-label { display: none; }
.zcm-app .zcm-pin--marker .zcm-pin-dot { animation: zcm-pulse 2.2s ease-out infinite; }
@keyframes zcm-pulse {
	0% { box-shadow: 0 0 0 3px #fff, 0 0 0 5px rgba(17, 17, 17, .28); }
	70% { box-shadow: 0 0 0 3px #fff, 0 0 0 14px rgba(17, 17, 17, 0); }
	100% { box-shadow: 0 0 0 3px #fff, 0 0 0 5px rgba(17, 17, 17, 0); }
}
.zcm-app .zcm-pin--hotspot { cursor: pointer; }
.zcm-app .zcm-pin--hotspot .zcm-pin-label {
	background: #fff;
	color: #111;
	border: 1.5px solid #111;
}
.zcm-app .zcm-pin--hotspot.is-set .zcm-pin-label { background: #111; color: #fff; }
.zcm-app .zcm-pin--hotspot:hover .zcm-pin-dot { transform: scale(1.15); }
.zcm-app .zcm-pin-menu {
	position: absolute;
	transform: translate(0, 14px);
	z-index: 6;
	pointer-events: auto;
	min-width: 150px;
	background: #fff;
	border: 1px solid #e6e6e6;
	border-radius: 12px;
	box-shadow: 0 12px 30px rgba(0, 0, 0, .16);
	padding: 6px;
	max-height: 240px;
	overflow: auto;
}
.zcm-app .zcm-pin-menu.is-left { transform: translate(-100%, 14px); }
.zcm-app .zcm-pin-menu-title {
	margin: 4px 8px 6px;
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: .06em;
	color: #8a8a8a;
}
.zcm-app .zcm-pin-menu-item {
	display: flex;
	align-items: center;
	gap: 8px;
	width: 100%;
	text-align: left;
	border: 0;
	background: none;
	padding: 8px 10px;
	border-radius: 8px;
	font-size: 13px;
	color: #111;
	cursor: pointer;
}
.zcm-app .zcm-pin-menu-item:hover { background: #f4f4f4; }
.zcm-app .zcm-pin-menu-item.is-active { background: #111; color: #fff; }
.zcm-app .zcm-pin-menu-icon { display: inline-flex; }
.zcm-app .zcm-pin-menu-icon svg { width: 16px; height: 16px; display: block; }

/* --- Assignation des touches : sous-option en liste + badge fixe --- */
.zcm-app .zcm-map { display: grid; gap: 10px; margin-top: 12px; }
.zcm-app .zcm-map-row {
	display: grid; gap: 6px;
	border: 1px solid var(--zcm-line, #e8e8eb); border-radius: 12px; padding: 10px 12px; background: #fff;
}
.zcm-app .zcm-map-label {
	font-size: 14px; font-weight: 600; line-height: 1.3;
	color: var(--zcm-ink, #111); white-space: normal; overflow-wrap: anywhere;
}
.zcm-app .zcm-map-select {
	-webkit-appearance: menulist; appearance: menulist;
	border: 1px solid var(--zcm-line, #d8d8de); border-radius: 10px;
	padding: 9px 12px; font-size: 15px; line-height: 1.2; width: 100%;
	background: #fff !important; color: #111 !important; box-shadow: none;
}
.zcm-app .zcm-map-select option { color: #111; background: #fff; }
.zcm-app .zcm-map-empty { font-size: 13px; color: #6b6b73; margin: 10px 0 0; }
.zcm-app .zcm-key {
	position: absolute; transform: translate(-50%, -50%); display: inline-flex;
	align-items: center; justify-content: center;
	/* Taille proportionnelle à la largeur de l'image (JS fixe --zcm-key) */
	width: var(--zcm-key, 26px); height: var(--zcm-key, 26px);
	font-size: calc(var(--zcm-key, 26px) * 0.44); border-radius: 999px;
	background: rgba(17, 17, 17, 0.18); color: #fff; font-weight: 700;
	pointer-events: none; transition: background 0.18s ease, transform 0.18s ease;
}
.zcm-app .zcm-key.is-set { background: #111; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.22); }
.zcm-app .zcm-key,
.zcm-app .zcm-key .zcm-pin-glyph { color: #fff; }
.zcm-app .zcm-key {
	line-height: 1;
	text-align: center;
	padding: 0;
}
.zcm-app .zcm-key .zcm-pin-glyph {
	width: 100%;
	height: 100%;
	align-items: center;
	justify-content: center;
}
.zcm-app .zcm-key svg {
	width: 58%;
	height: 58%;
	display: block;
	margin: 0 auto;
	color: #fff;
	fill: none;
	stroke: #fff;
}

/* Mobile : l'étape doit pouvoir défiler quand la sous-option d'assignation
 * est affichée, sinon le panneau reste hors de la zone à hauteur fixe. */
@media (max-width: 1023px) {
	/* L'étape d'assignation sort du gabarit à hauteur fixe : on laisse la
	 * page défiler normalement au lieu d'un cadre figé et rogné. */
	.zcm-app .zcm-steps.has-map,
	.zcm-app .zcm-steps.has-map .zcm-step.is-active {
		height: auto !important;
		min-height: 0 !important;
		max-height: none !important;
		overflow: visible !important;
	}
	.zcm-app .zcm-steps.has-map .zcm-step.is-active > .zcm-swatches-wrap > .zcm-swatches,
	.zcm-app .zcm-steps.has-map .zcm-step.is-active > .zcm-swatches,
	.zcm-app .zcm-steps.has-map .zcm-step.is-active > .zcm-rows {
		height: auto !important;
		min-height: 0 !important;
		max-height: none !important;
		overflow: visible !important;
	}
	.zcm-app .zcm-steps.has-map .zcm-swatch-label {
		min-height: 0 !important;
		max-height: none !important;
	}
	.zcm-app .zcm-map {
		margin-top: 10px;
		gap: 8px;
		padding-bottom: 8px;
	}
	.zcm-app .zcm-map-row {
		padding: 8px 12px;
		border-radius: 14px;
		background: #fafafa;
	}
	.zcm-app .zcm-map-label { font-size: 13px; }
	.zcm-app .zcm-map-select {
		min-width: 120px;
		font-size: 14px;
		padding: 8px 10px;
		background: #fff;
	}
}
.zcm-app .zcm-key.has-glyph { padding: 0; }
/* Les icônes des menus / repères restent sombres sur fond clair */
.zcm-app .zcm-pin-menu-icon svg { stroke: currentColor; fill: none; }
.zcm-app .zcm-pin-glyph svg { stroke: currentColor; fill: none; }


/* Incompatibilités : options rendues indisponibles par un autre choix. */
.zcm-app [data-option].is-disabled {
	opacity: 0.35;
	cursor: not-allowed;
	position: relative;
	filter: grayscale(1);
}
.zcm-app [data-option].is-disabled .zcm-swatch-dot::after {
	content: '';
	position: absolute;
	inset: 0;
	border-radius: inherit;
	background: linear-gradient(to top left, transparent 47%, currentColor 47%, currentColor 53%, transparent 53%);
	opacity: 0.5;
}
