/* Overlay de sauvegarde – Van Configurator Summary v4 */
.vcs-overlay {
	position: fixed; inset: 0; z-index: 2147483000;
	display: flex; align-items: center; justify-content: center;
	background: rgba(20, 24, 33, .45); backdrop-filter: blur(2px);
	padding: 16px;
}
.vcs-overlay[hidden] { display: none; }
.vcs-overlay__box {
	background: #fff; border-radius: 14px; padding: 28px 32px; width: 100%; max-width: 380px;
	text-align: center; box-shadow: 0 20px 50px rgba(0,0,0,.25); font-family: inherit;
}
.vcs-overlay__spinner {
	width: 44px; height: 44px; margin: 0 auto 16px; border-radius: 50%;
	border: 4px solid #eceef1; border-top-color: #E5564A; animation: vcs-spin .8s linear infinite;
}
.vcs-overlay__title { margin: 0 0 6px; font-size: 18px; font-weight: 600; color: #283040; }
.vcs-overlay__msg { margin: 0; font-size: 14px; color: #6b7280; min-height: 1.4em; }
.vcs-overlay__close {
	margin-top: 16px; padding: 10px 22px; border-radius: 8px; border: 0; cursor: pointer;
	background: #283040; color: #fff; font-size: 15px; font-family: inherit;
}
.vcs-overlay.is-error .vcs-overlay__spinner { display: none; }
@keyframes vcs-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .vcs-overlay__spinner { animation-duration: 2s; } }

/* ------------------------------------------------------------------ */
/* Mode catalogue : « Télécharger ma configuration » en bouton principal */
/* ------------------------------------------------------------------ */
.mkl_pc .pc_configurator_form .vcs-cta,
.mkl_pc .mkl_pc_footer .vcs-cta {
	display: inline-flex !important; align-items: center; justify-content: center; gap: 8px;
	width: auto !important; height: auto !important; margin: 0 0 0 12px !important;
	padding: 12px 22px !important; border: 2px solid var(--vcs-primary, #E5564A) !important; border-radius: 100px !important;
	background: var(--vcs-primary, #E5564A) !important; color: #fff !important;
	font-size: 15px !important; font-weight: 600 !important; line-height: 1.2 !important; white-space: nowrap;
	cursor: pointer; transition: background-color .2s ease, color .2s ease, transform .2s ease;
	box-shadow: 0 6px 16px rgba(0, 0, 0, .12);
}
.mkl_pc .vcs-cta span { display: inline !important; position: static !important; width: auto !important; height: auto !important; clip: auto !important; color: inherit !important; }
.mkl_pc .vcs-cta svg { width: 18px !important; height: 18px !important; fill: currentColor; color: inherit; flex: 0 0 auto; }
.mkl_pc .vcs-cta svg path { fill: currentColor !important; }
.mkl_pc .vcs-cta:hover, .mkl_pc .vcs-cta:focus-visible { background: #fff !important; color: var(--vcs-primary, #E5564A) !important; transform: translateY(-1px); }
.mkl_pc .vcs-cta:focus-visible { outline: 3px solid var(--vcs-dark, #283040); outline-offset: 2px; }
.mkl_pc .pc_configurator_form { display: flex !important; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 8px; }
@media (max-width: 600px) {
	.mkl_pc .pc_configurator_form .vcs-cta { margin: 6px 0 0 !important; width: 100% !important; padding: 12px 16px !important; }
}

/* ------------------------------------------------------------------ */
/* Variantes du bouton « Configurer » (shortcode mkl_configurator_button) */
/* Usage : [mkl_configurator_button classes="cl-btn cl-btn--white"]Configurer mon van[/mkl_configurator_button] */
/* ------------------------------------------------------------------ */
.cl-btn.configure-product {
	--cl-blue: #2EA3F2; --cl-orange: #E5564A; --cl-dark: #19202B;
	display: inline-block !important; margin: 0; padding: 6px 25px !important;
	border: 2px solid transparent !important; border-radius: 100px !important;
	font-family: "Work Sans", sans-serif !important; font-size: 14px !important; font-weight: 500 !important;
	line-height: 1.7 !important; text-transform: none !important; letter-spacing: normal !important;
	box-shadow: none !important; cursor: pointer; text-decoration: none !important;
	transition: background-color .25s ease, color .25s ease, border-color .25s ease !important;
}
.cl-btn.configure-product::after { display: none !important; } /* pas d'icône Divi */

/* Standard : transparent, liseré bleu */
.cl-btn--outline.configure-product { background: transparent !important; color: #fff !important; border-color: var(--cl-blue) !important; }
.cl-btn--outline.configure-product:hover, .cl-btn--outline.configure-product:focus-visible { background: var(--cl-blue) !important; color: #fff !important; }

/* Blanc, survol bleu */
.cl-btn--white.configure-product { background: #fff !important; color: var(--cl-dark) !important; border-color: #fff !important; }
.cl-btn--white.configure-product:hover, .cl-btn--white.configure-product:focus-visible { background: var(--cl-blue) !important; color: #fff !important; border-color: var(--cl-blue) !important; }

/* Orange, survol blanc */
.cl-btn--orange.configure-product { background: var(--cl-orange) !important; color: #fff !important; border-color: var(--cl-orange) !important; }
.cl-btn--orange.configure-product:hover, .cl-btn--orange.configure-product:focus-visible { background: #fff !important; color: var(--cl-orange) !important; border-color: #fff !important; }

.cl-btn.configure-product:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
