/**
 * Configurateur devis (lead) — aucun prix.
 */

/**
 * Masque le tableau de déclinaisons WooCommerce doublon quand nos pastilles sont actives.
 */
body.ywraq-lead-config-page div.product form.variations_form table.variations,
body.ywraq-lead-config-page.woocommerce div.product form.variations_form table.variations {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

body.ywraq-lead-config-page div.product form.variations_form .reset_variations {
	position: static;
	margin: 0 0 0.5rem;
}

.ywraq-lead-config {
	position: relative;
	--ywraq-lead-accent: #000b38;
	--ywraq-lead-accent-hover: #001a6b;
	--ywraq-lead-accent-soft: rgba(0, 11, 56, 0.08);
	--ywraq-lead-accent-soft2: rgba(0, 11, 56, 0.12);
	/* Zones de marquage sur les pictos tee (inline SVG) */
	--ywraq-lead-zone-fill: rgba(0, 11, 56, 0.22);
	--ywraq-lead-zone-stroke: #000b38;
	--ywraq-lead-border: #e2e4e8;
	--ywraq-lead-bg: #fff;
	--ywraq-lead-text: #1a1d21;
	--ywraq-lead-muted: #5c6370;
	--ywraq-lead-radius: 12px;
	margin: 1.75rem 0 2rem;
	font-size: 15px;
	line-height: 1.45;
	color: var(--ywraq-lead-text);
	font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.ywraq-lead-card {
	background: var(--ywraq-lead-bg);
	border: 1px solid var(--ywraq-lead-border);
	border-radius: var(--ywraq-lead-radius);
	padding: 1.25rem 1.35rem 1.35rem;
	margin-bottom: 1rem;
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.ywraq-lead-card__head {
	display: flex;
	align-items: center;
	gap: 0.65rem;
	margin-bottom: 0.75rem;
}

.ywraq-lead-step {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 1.75rem;
	height: 1.75rem;
	padding: 0 0.35rem;
	background: var(--ywraq-lead-accent);
	color: #fff;
	font-weight: 700;
	font-size: 0.85rem;
	border-radius: 6px;
	flex-shrink: 0;
}

.ywraq-lead-card__title {
	margin: 0;
	font-size: 1.05rem;
	font-weight: 700;
	letter-spacing: -0.01em;
}

.ywraq-lead-hint,
.ywraq-lead-sub {
	margin: 0 0 0.85rem;
	color: var(--ywraq-lead-muted);
	font-size: 0.92rem;
}

/* Grilles couleur / taille */
.ywraq-lead-attr {
	margin-bottom: 1.1rem;
}

.ywraq-lead-attr:last-of-type {
	margin-bottom: 0.35rem;
}

.ywraq-lead-attr__label {
	margin: 0 0 0.5rem;
	font-size: 0.8rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--ywraq-lead-muted);
}

.ywraq-lead-swatches {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.ywraq-lead-swatch {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	margin: 0;
	padding: 0.35rem 0.65rem;
	min-height: 2.5rem;
	border: 2px solid var(--ywraq-lead-border);
	border-radius: 999px;
	background: #fff;
	cursor: pointer;
	font: inherit;
	font-size: 0.88rem;
	font-weight: 600;
	color: var(--ywraq-lead-text);
	transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.ywraq-lead-swatch:hover {
	border-color: #b8bec8;
}

.ywraq-lead-swatch.is-selected {
	border-color: var(--ywraq-lead-accent);
	background: rgba(0, 11, 56, 0.06);
	box-shadow: 0 0 0 1px var(--ywraq-lead-accent);
}

.ywraq-lead-swatch--color {
	padding-left: 0.45rem;
}

.ywraq-lead-swatch__dot {
	display: block;
	width: 1.35rem;
	height: 1.35rem;
	border-radius: 50%;
	background: var(--swatch-fill, #ddd);
	border: 1px solid rgba(0, 0, 0, 0.12);
	flex-shrink: 0;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
}

.ywraq-lead-swatch__text {
	white-space: normal;
	max-width: 11rem;
	line-height: 1.25;
	text-align: left;
}

.ywraq-lead-swatch--text {
	border-radius: 10px;
	padding: 0.45rem 0.85rem;
}

/* Récap couleur : même langage visuel que .ywraq-lead-swatch--color.is-selected */
.ywraq-lead-color-recap {
	margin-top: 1rem;
	padding: 0;
	background: transparent;
	border: none;
	border-radius: 0;
}

.ywraq-lead-color-recap.is-empty {
	display: none !important;
}

.ywraq-lead-color-recap__row {
	display: flex;
	align-items: center;
	flex-wrap: nowrap;
	gap: 0.65rem;
}

.ywraq-lead-color-recap__label {
	margin: 0;
	font-size: 0.8rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--ywraq-lead-muted);
	line-height: 1.35;
	flex-shrink: 0;
	white-space: nowrap;
}

/* Pastille type « swatch » sélectionné (aligné sur .ywraq-lead-swatch--color.is-selected) */
.ywraq-lead-config .ywraq-lead-color-recap__chip {
	display: inline-flex !important;
	align-items: center !important;
	flex-direction: row !important;
	gap: 0.4rem !important;
	flex: 0 1 auto;
	min-width: 0;
	max-width: 100%;
	margin: 0 !important;
	padding: 0.35rem 0.65rem 0.35rem 0.45rem !important;
	min-height: 2.5rem !important;
	box-sizing: border-box !important;
	background: rgba(0, 11, 56, 0.06) !important;
	border: 2px solid var(--ywraq-lead-accent) !important;
	border-radius: 999px !important;
	box-shadow: 0 0 0 1px var(--ywraq-lead-accent) !important;
	font: inherit !important;
	font-size: 0.88rem !important;
	font-weight: 600 !important;
	color: var(--ywraq-lead-text) !important;
	vertical-align: middle;
}

/*
 * Rond identique à .ywraq-lead-swatch__dot
 * Couleur : --ywraq-recap-dot (JS) ; inline background-color !important si besoin.
 */
.ywraq-lead-config .ywraq-lead-color-recap__dot {
	display: block !important;
	width: 1.35rem !important;
	height: 1.35rem !important;
	min-width: 1.35rem !important;
	min-height: 1.35rem !important;
	margin: 0 !important;
	padding: 0 !important;
	border-radius: 50% !important;
	border: 1px solid rgba(0, 0, 0, 0.12) !important;
	flex-shrink: 0 !important;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35) !important;
	background-color: var(--ywraq-recap-dot, #ddd) !important;
	background-image: none !important;
	box-sizing: border-box !important;
}

.ywraq-lead-color-recap__name {
	display: block !important;
	font-weight: 600 !important;
	font-size: 0.88rem !important;
	color: var(--ywraq-lead-text) !important;
	line-height: 1.25 !important;
	min-width: 0;
	margin: 0 !important;
	padding: 0 !important;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	max-width: 14rem;
}

.ywraq-lead-link {
	margin-top: 0.65rem;
	display: inline-block;
	padding: 0;
	border: 0;
	background: none;
	color: var(--ywraq-lead-muted);
	font-size: 0.88rem;
	text-decoration: underline;
	cursor: pointer;
}

.ywraq-lead-link:hover {
	color: var(--ywraq-lead-text);
}

.ywraq-lead-link.is-hidden {
	display: none !important;
}

.ywraq-lead-optional {
	font-style: italic;
	opacity: 0.92;
}

.ywraq-lead-locations {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(7.5rem, 1fr));
	gap: 0.65rem;
}

.ywraq-lead-loc {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.45rem;
	padding: 0.75rem 0.5rem;
	margin: 0;
	border: 1px solid var(--ywraq-lead-border);
	border-radius: 10px;
	background: #f5f8ff;
	cursor: pointer;
	transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
	color: var(--ywraq-lead-text);
	font: inherit;
	text-align: center;
}

.ywraq-lead-loc:hover {
	border-color: #c5cad3;
	background: #fff;
}

.ywraq-lead-loc.is-selected {
	border-color: var(--ywraq-lead-accent);
	background: rgba(0, 11, 56, 0.06);
	box-shadow: 0 0 0 1px var(--ywraq-lead-accent);
}

.ywraq-lead-loc__icon {
	color: var(--ywraq-lead-muted);
	line-height: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 3.25rem;
}

.ywraq-lead-loc__tee {
	display: block;
	max-width: 100%;
	height: auto;
}

.ywraq-lead-loc.is-selected .ywraq-lead-loc__icon {
	color: var(--ywraq-lead-accent);
}

.ywraq-lead-loc__label {
	font-size: 0.82rem;
	font-weight: 600;
}

.ywraq-lead-tech {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
	gap: 0.75rem;
}

.ywraq-lead-tech-card {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.35rem;
	padding: 1rem 1rem 1.1rem;
	margin: 0;
	border: 1px solid var(--ywraq-lead-border);
	border-radius: 10px;
	background: #f5f8ff;
	cursor: pointer;
	transition: border-color 0.15s ease, background 0.15s ease;
	text-align: left;
	font: inherit;
	color: inherit;
}

.ywraq-lead-tech-card:hover {
	border-color: #c5cad3;
	background: #fff;
}

.ywraq-lead-tech-card.is-selected {
	border-color: var(--ywraq-lead-accent);
	background: rgba(0, 11, 56, 0.06);
	box-shadow: 0 0 0 1px var(--ywraq-lead-accent);
}

.ywraq-lead-tech-card__icon {
	color: var(--ywraq-lead-muted);
	line-height: 0;
}

.ywraq-lead-tech-card.is-selected .ywraq-lead-tech-card__icon {
	color: var(--ywraq-lead-accent);
}

.ywraq-lead-tech-card__title {
	font-weight: 700;
	font-size: 1rem;
}

.ywraq-lead-tech-card__desc {
	font-size: 0.86rem;
	color: var(--ywraq-lead-muted);
	line-height: 1.35;
}

.ywraq-lead-qty-row {
	display: flex;
	align-items: center;
}

.ywraq-lead-qty {
	display: inline-flex;
	align-items: center;
	border-radius: 999px;
	overflow: hidden;
	background: #fff;
	border: 1px solid var(--ywraq-lead-accent-soft2);
	box-shadow: 0 1px 4px rgba(0, 11, 56, 0.07);
	padding: 0;
	gap: 0;
}

.ywraq-lead-qty__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.75rem;
	height: 2.75rem;
	min-height: 2.75rem;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: var(--ywraq-lead-accent-soft);
	font-size: 1.35rem;
	line-height: 1;
	font-weight: 500;
	cursor: pointer;
	color: var(--ywraq-lead-accent);
	transition: background 0.12s ease, color 0.12s ease;
}

.ywraq-lead-qty__btn:hover {
	background: rgba(0, 11, 56, 0.12);
	color: var(--ywraq-lead-accent-hover);
}

.ywraq-lead-qty__input {
	box-sizing: border-box;
	min-width: 3.25rem;
	width: 3.25rem;
	height: 2.75rem;
	padding: 0 0.25rem;
	margin: 0;
	border: 0;
	border-radius: 0;
	border-left: 1px solid var(--ywraq-lead-accent-soft2);
	border-right: 1px solid var(--ywraq-lead-accent-soft2);
	text-align: center;
	font: inherit;
	font-weight: 700;
	font-size: 1.08rem;
	line-height: 2.75rem;
	letter-spacing: 0.02em;
	color: var(--ywraq-lead-accent);
	background: #fff;
	vertical-align: middle;
	-moz-appearance: textfield;
}

.ywraq-lead-qty__input::-webkit-outer-spin-button,
.ywraq-lead-qty__input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.ywraq-lead-cta-wrap {
	margin-top: 1.25rem;
}

.ywraq-lead-cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.55rem;
	width: 100%;
	padding: 0.95rem 1.25rem;
	border: 0;
	border-radius: 999px;
	background: var(--ywraq-lead-accent);
	color: #fff !important;
	font-weight: 700;
	font-size: 1rem;
	text-decoration: none !important;
	cursor: pointer;
	transition: background 0.15s ease, transform 0.08s ease;
	box-shadow: 0 2px 10px rgba(0, 11, 56, 0.22);
}

.ywraq-lead-cta:hover {
	background: var(--ywraq-lead-accent-hover);
	color: #fff !important;
}

.ywraq-lead-cta:active {
	transform: scale(0.99);
}

.ywraq-lead-cta.ywraq-lead-cta--locked,
.ywraq-lead-cta.disabled {
	opacity: 0.45;
	cursor: not-allowed;
	pointer-events: none;
	box-shadow: none;
}

/* Priorité absolue sur les styles YITH (.button, .woocommerce) */
.woocommerce .ywraq-lead-config a.ywraq-lead-cta.add-request-quote-button,
.woocommerce .ywraq-lead-config a.ywraq-lead-cta.add-request-quote-button.button,
.ywraq-lead-config a.ywraq-lead-cta.add-request-quote-button {
	background: var(--ywraq-lead-accent) !important;
	background-color: #000b38 !important;
	color: #fff !important;
	border: none !important;
	padding: 0.95rem 1.25rem !important;
	margin-top: 0 !important;
}

.woocommerce .ywraq-lead-config a.ywraq-lead-cta.add-request-quote-button:hover,
.ywraq-lead-config a.ywraq-lead-cta.add-request-quote-button:hover {
	background: var(--ywraq-lead-accent-hover) !important;
	background-color: #001a6b !important;
	color: #fff !important;
	border: none !important;
}

.ywraq-lead-config a.ywraq-lead-cta.add-request-quote-button.disabled,
.ywraq-lead-config a.ywraq-lead-cta.ywraq-lead-cta--locked.disabled {
	opacity: 0.45 !important;
}

/*
 * Pont WooCommerce : hors écran (pas display:none) pour que wc-add-to-cart-variation s’initialise.
 */
.ywraq-lead-wc-bridge {
	position: absolute !important;
	left: -99999px !important;
	top: 0 !important;
	width: 1px !important;
	height: 1px !important;
	margin: 0 !important;
	padding: 0 !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	border: 0 !important;
	opacity: 0 !important;
	pointer-events: none !important;
	white-space: nowrap !important;
}

.ywraq-lead-wc-bridge .woocommerce-variation-add-to-cart,
.ywraq-lead-wc-bridge .single_add_to_cart_button,
.ywraq-lead-wc-bridge button.single_add_to_cart_button,
.ywraq-lead-wc-bridge .quantity {
	display: none !important;
}

/* Zone logos : dropzone moderne + liste fichiers avec suppression visible */
.ywraq-lead-upload {
	position: relative;
	margin: 0;
}

.ywraq-lead-upload__shell {
	display: flex;
	flex-direction: column;
	gap: 0.85rem;
	margin: 0;
	padding: 1.15rem 1.2rem 1.2rem;
	min-height: 0;
	border-radius: 18px;
	border: 1px solid rgba(0, 11, 56, 0.1);
	background: linear-gradient(165deg, #fafbff 0%, #f0f3fb 42%, #e8ecf6 100%);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.92),
		0 8px 28px rgba(0, 11, 56, 0.07);
	transition: border-color 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.ywraq-lead-upload__shell:not(.has-files) {
	min-height: 12rem;
}

.ywraq-lead-upload__shell.has-files {
	min-height: 0;
}

.ywraq-lead-upload__list-head {
	margin: 0 0 0.15rem;
	padding: 0;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--ywraq-lead-muted);
	line-height: 1.35;
}

.ywraq-lead-upload__main {
	/* Ancrage obligatoire : sinon l’input absolute se cale sur .ywraq-lead-config et couvre tout le shortcode */
	position: relative;
	flex: 1 1 auto;
	align-self: stretch;
	min-height: 10.5rem;
	border-radius: 22px;
	border: 2px dashed rgba(0, 11, 56, 0.16);
	background: rgba(255, 255, 255, 0.92);
	box-shadow: 0 2px 12px rgba(0, 11, 56, 0.05);
	overflow: hidden;
	transition:
		min-height 0.22s ease,
		border-radius 0.22s ease,
		border-style 0.22s ease,
		box-shadow 0.22s ease,
		background 0.22s ease;
}

.ywraq-lead-upload__shell:not(.has-files):not(.is-full) .ywraq-lead-upload__main:hover {
	border-color: rgba(0, 11, 56, 0.28);
	background: #fff;
	box-shadow: 0 6px 24px rgba(0, 11, 56, 0.09);
}

.ywraq-lead-upload__shell.has-files .ywraq-lead-upload__main {
	flex: 0 0 auto;
	min-height: 3.5rem;
	border-radius: 999px;
	border-style: solid;
	border-width: 1px;
	border-color: rgba(0, 11, 56, 0.12);
	margin-top: 0.1rem;
	box-shadow: 0 2px 10px rgba(0, 11, 56, 0.06);
}

.ywraq-lead-upload__shell.has-files:not(.is-full) .ywraq-lead-upload__main:hover {
	border-color: rgba(0, 11, 56, 0.24);
	box-shadow: 0 4px 16px rgba(0, 11, 56, 0.1);
}

.ywraq-lead-upload__shell.is-full .ywraq-lead-upload__main {
	cursor: default;
	pointer-events: none;
	opacity: 0.92;
}

.ywraq-lead-upload__shell.is-full .ywraq-lead-upload__decor {
	justify-content: center;
}

.ywraq-lead-upload__shell.is-full .ywraq-lead-upload__decor-inner {
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 100%;
	max-width: 28rem;
	text-align: center;
}

.ywraq-lead-upload__shell.is-full .ywraq-lead-upload__decor-title {
	flex: none !important;
	width: 100%;
	max-width: none;
}

/* Input natif : recouvre uniquement __main, invisible (pas de « Sélect. fichiers ») */
.ywraq-lead-upload__main .ywraq-lead-file-input {
	position: absolute;
	inset: 0;
	z-index: 2;
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	opacity: 0;
	cursor: pointer;
	font-size: 0;
	line-height: 0;
	appearance: none;
	-webkit-appearance: none;
	background: transparent;
	box-shadow: none;
	color: transparent;
}

.ywraq-lead-upload__main .ywraq-lead-file-input::file-selector-button {
	display: none;
}

.ywraq-lead-upload__main .ywraq-lead-file-input::-webkit-file-upload-button {
	display: none;
}

.ywraq-lead-upload__shell.is-full .ywraq-lead-upload__main .ywraq-lead-file-input {
	display: none !important;
}

.ywraq-lead-upload__decor {
	position: absolute;
	inset: 0;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1.45rem 1.35rem 1.4rem;
	pointer-events: none;
}

.ywraq-lead-upload__shell.has-files .ywraq-lead-upload__decor {
	justify-content: flex-start;
	padding: 0.45rem 0.95rem 0.45rem 0.85rem;
}

.ywraq-lead-upload__decor-inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.35rem;
	max-width: 26rem;
	margin: 0 auto;
	text-align: center;
}

/* État vide : icône à gauche, texte structuré à droite */
.ywraq-lead-upload__shell:not(.has-files) .ywraq-lead-upload__decor-inner {
	display: grid;
	grid-template-columns: auto 1fr;
	grid-template-rows: auto auto;
	column-gap: 1.15rem;
	row-gap: 0.45rem;
	align-items: center;
	width: 100%;
	max-width: 36rem;
	margin: 0 auto;
	text-align: left;
}

.ywraq-lead-upload__shell:not(.has-files) .ywraq-lead-upload__decor-icon {
	grid-column: 1;
	grid-row: 1 / span 2;
	align-self: center;
	width: 4.35rem;
	height: 4.35rem;
	border-radius: 20px;
	background: linear-gradient(155deg, rgba(0, 11, 56, 0.1) 0%, rgba(0, 11, 56, 0.04) 100%);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.75),
		0 4px 14px rgba(0, 11, 56, 0.08);
}

.ywraq-lead-upload__shell:not(.has-files) .ywraq-lead-upload__decor-title {
	grid-column: 2;
	grid-row: 1;
	max-width: none;
	width: auto;
	font-size: 1.08rem;
	letter-spacing: -0.02em;
}

.ywraq-lead-upload__shell:not(.has-files) .ywraq-lead-upload__decor-hint {
	grid-column: 2;
	grid-row: 2;
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
	max-width: none;
	width: auto;
	margin: 0;
	padding: 0.6rem 0.85rem;
	border-radius: 14px;
	background: rgba(0, 11, 56, 0.045) !important;
	line-height: 1.45;
	border: 1px solid rgba(0, 11, 56, 0.06);
}

.ywraq-lead-upload__decor-hint-lead,
.ywraq-lead-upload__decor-hint-formats {
	display: block;
	margin: 0;
	padding: 0;
	font-size: 0.86rem;
	line-height: 1.48;
	color: var(--ywraq-lead-muted);
	background: transparent !important;
	border: none !important;
	box-shadow: none !important;
}

.ywraq-lead-upload__decor-hint-lead {
	font-weight: 600;
	color: var(--ywraq-lead-text);
	font-size: 0.9rem;
}

.ywraq-lead-upload__decor-hint-formats {
	font-size: 0.8rem;
	opacity: 0.95;
}

.ywraq-lead-upload__shell.has-files .ywraq-lead-upload__decor-inner {
	flex-direction: row;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-start;
	gap: 0.55rem;
	max-width: none;
	width: 100%;
	margin: 0;
	text-align: left;
}

.ywraq-lead-upload__decor-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2.85rem;
	height: 2.85rem;
	flex-shrink: 0;
	border-radius: 50%;
	background: rgba(0, 11, 56, 0.07);
	color: var(--ywraq-lead-accent);
	line-height: 0;
}

.ywraq-lead-upload__shell:not(.has-files) .ywraq-lead-upload__decor-icon svg {
	width: 1.85rem;
	height: 1.85rem;
}

.ywraq-lead-upload__shell.has-files .ywraq-lead-upload__decor-icon {
	width: 2.15rem;
	height: 2.15rem;
}

.ywraq-lead-upload__decor-icon svg {
	display: block;
}

/* Réinit thème / WooCommerce (évite fond blanc par span ou styles de bouton) */
.ywraq-lead-upload__decor-title {
	display: block;
	margin: 0;
	padding: 0;
	width: 100%;
	max-width: 24rem;
	background: transparent !important;
	background-image: none !important;
	border: none !important;
	box-shadow: none !important;
	text-decoration: none !important;
	font-family: inherit !important;
	font-style: normal !important;
	text-transform: none !important;
	letter-spacing: normal !important;
}

.ywraq-lead-upload__shell.has-files .ywraq-lead-upload__decor-title,
.ywraq-lead-upload__shell.has-files .ywraq-lead-upload__decor-hint {
	width: auto;
	flex: 1 1 9rem;
	max-width: none;
}

.ywraq-lead-upload__decor-title {
	font-weight: 700;
	font-size: 1.02rem;
	line-height: 1.4;
	color: var(--ywraq-lead-text);
}

.ywraq-lead-upload__shell.has-files .ywraq-lead-upload__decor-hint {
	display: none;
}

.ywraq-lead-upload__shell:hover {
	border-color: rgba(0, 11, 56, 0.18);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.95),
		0 6px 24px rgba(0, 11, 56, 0.08);
}

.ywraq-lead-upload__shell.is-dragover {
	border-color: var(--ywraq-lead-accent);
	background: linear-gradient(160deg, #eef2ff 0%, #e6ebf9 100%);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.82),
		0 0 0 2px rgba(0, 11, 56, 0.12),
		0 10px 30px rgba(0, 11, 56, 0.11);
}

.ywraq-lead-upload__previews {
	position: relative;
	z-index: 3;
	display: grid;
	grid-template-columns: 1fr;
	gap: 0.65rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

@media (min-width: 560px) {
	.ywraq-lead-upload__previews {
		grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	}
}

.ywraq-lead-upload__previews:empty {
	display: none;
}

.ywraq-lead-upload__card {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 0.85rem;
	padding: 0.65rem 0.75rem 0.65rem 0.65rem;
	background: #fff;
	border: 1px solid rgba(0, 11, 56, 0.1);
	border-radius: 16px;
	box-shadow: 0 2px 12px rgba(0, 11, 56, 0.06);
	text-align: left;
	overflow: visible;
	isolation: isolate;
	transition:
		border-color 0.18s ease,
		box-shadow 0.18s ease,
		transform 0.18s ease;
}

.ywraq-lead-upload__card:hover {
	border-color: rgba(0, 11, 56, 0.16);
	box-shadow: 0 8px 26px rgba(0, 11, 56, 0.1);
	transform: translateY(-1px);
}

/* Vignette / icône à gauche */
.ywraq-lead-upload__card-visual {
	position: relative;
	flex-shrink: 0;
	width: 3.5rem;
	height: 3.5rem;
	border-radius: 12px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	background: linear-gradient(145deg, #f0f3fa 0%, #e4e9f4 100%);
	border: 1px solid rgba(0, 11, 56, 0.08);
}

.ywraq-lead-upload__card-visual--image .ywraq-lead-upload__card-img,
.ywraq-lead-upload__card-visual--svg .ywraq-lead-upload__card-img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ywraq-lead-upload__card-visual--svg {
	padding: 0.35rem;
	background: #fff;
}

.ywraq-lead-upload__card-visual--svg .ywraq-lead-upload__card-img {
	object-fit: contain;
}

.ywraq-lead-upload__card-visual--doc {
	padding: 0.4rem;
	background: linear-gradient(160deg, #f4f6fc 0%, #e8edf7 100%);
}

.ywraq-lead-upload__card-doc-wrap {
	display: flex;
	align-items: center;
	justify-content: center;
	line-height: 0;
	color: var(--ywraq-lead-accent);
	opacity: 0.88;
}

.ywraq-lead-upload__card-doc-svg {
	display: block;
}

.ywraq-lead-upload__card-meta {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	padding-right: 0.25rem;
}

.ywraq-lead-upload__card-name {
	font-size: 0.84rem;
	font-weight: 600;
	line-height: 1.35;
	color: var(--ywraq-lead-text);
	word-break: break-word;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.ywraq-lead-upload__card-type {
	display: inline-flex;
	align-self: flex-start;
	align-items: center;
	padding: 0.2rem 0.5rem;
	border-radius: 999px;
	font-size: 0.65rem;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--ywraq-lead-accent);
	background: rgba(0, 11, 56, 0.07);
	border: 1px solid rgba(0, 11, 56, 0.1);
}

/* Bulle rouge — suppression (compacte, croix centrée) */
.ywraq-lead-upload__card-remove {
	position: relative;
	flex-shrink: 0;
	z-index: 5;
	width: 1.75rem;
	height: 1.75rem;
	min-width: 1.75rem;
	max-width: 1.75rem;
	min-height: 1.75rem;
	max-height: 1.75rem;
	margin-left: auto;
	padding: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: none;
	border-radius: 50%;
	box-sizing: border-box;
	background: linear-gradient(165deg, #f87171 0%, #dc2626 55%, #b91c1c 100%);
	color: #fff;
	line-height: 0;
	cursor: pointer;
	box-shadow:
		0 1px 0 rgba(255, 255, 255, 0.35) inset,
		0 2px 8px rgba(220, 38, 38, 0.35);
	transition:
		transform 0.15s ease,
		box-shadow 0.15s ease,
		filter 0.15s ease;
	-webkit-appearance: none;
	appearance: none;
}

.ywraq-lead-upload__card-remove-icon {
	display: block;
	flex-shrink: 0;
}

.ywraq-lead-upload__card-remove:hover {
	filter: brightness(1.07);
	transform: scale(1.08);
	box-shadow:
		0 1px 0 rgba(255, 255, 255, 0.4) inset,
		0 5px 16px rgba(220, 38, 38, 0.45);
}

.ywraq-lead-upload__card-remove:focus {
	outline: none;
}

.ywraq-lead-upload__card-remove:focus-visible {
	box-shadow:
		0 0 0 3px rgba(220, 38, 38, 0.35),
		0 3px 10px rgba(220, 38, 38, 0.35);
}

/* Page liste devis */
.ywraq-lead-quote-meta .ywraq-quote-color-line {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	vertical-align: middle;
}

.ywraq-quote-swatch-dot {
	display: inline-block;
	width: 1rem;
	height: 1rem;
	border-radius: 50%;
	border: 1px solid rgba(0, 0, 0, 0.12);
	vertical-align: middle;
	flex-shrink: 0;
}

.ywraq-quote-color-txt {
	font-weight: 600;
}

.ywraq-quote-logo-row {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	margin-top: 0.25rem;
}

a.ywraq-quote-logo-btn {
	display: inline-flex;
	align-items: center;
	padding: 0.28rem 0.75rem;
	border-radius: 999px;
	background: var(--ywraq-lead-accent, #000b38);
	color: #fff !important;
	font-size: 0.78rem;
	font-weight: 700;
	text-decoration: none !important;
	box-shadow: 0 1px 3px rgba(0, 11, 56, 0.2);
}

a.ywraq-quote-logo-btn:hover {
	filter: brightness(1.08);
	color: #fff !important;
}

/* Conteneur cellule produit (liste devis) : rendu direct hors item_data */
.ywraq-quote-lead-table-cell:not(:empty) {
	margin-top: 0.45rem;
}

/* Récap liste devis : pastilles emplacement / technique (icône + libellé) sous la pastille couleur */
.ywraq-quote-lead-personalization {
	margin-top: 0.55rem;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.45rem;
	color: #000b38;
}

.ywraq-quote-lead-pills {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.4rem;
	margin: 0;
	padding: 0;
	list-style: none;
	max-width: 100%;
}

.ywraq-quote-lead-pill {
	display: inline-flex;
	flex-direction: row;
	flex-wrap: nowrap;
	align-items: center;
	gap: 0.35rem;
	padding: 0.2rem 0.55rem 0.2rem 0.35rem;
	border-radius: 999px;
	border: 1px solid rgba(0, 11, 56, 0.18);
	background: rgba(0, 11, 56, 0.06);
	color: #000b38;
	font-size: 0.8rem;
	font-weight: 600;
	line-height: 1.25;
	box-sizing: border-box;
	max-width: 100%;
}

.ywraq-quote-lead-pill--tech {
	background: rgba(0, 11, 56, 0.08);
}

.ywraq-quote-lead-pill__ico {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	line-height: 0;
	color: #000b38;
}

.ywraq-quote-lead-pill__ico .ywraq-quote-loc-tee,
.ywraq-quote-lead-pill__ico .ywraq-quote-tech-ico {
	width: 1.35rem;
	height: auto;
	max-height: 1.45rem;
}

.ywraq-quote-lead-pill__label {
	display: inline-block;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	max-width: 11rem;
}

.ywraq-quote-loc-tee {
	display: block;
	flex-shrink: 0;
}

.ywraq-quote-tech-ico {
	display: block;
	flex-shrink: 0;
}

button.ywraq-quote-open-logos.button,
.woocommerce button.ywraq-quote-open-logos.button {
	margin: 0.15rem 0 0;
	padding: 0.32rem 0.85rem;
	font-size: 0.78rem;
	font-weight: 600;
	line-height: 1.3;
	border-radius: 6px;
	background: #000b38 !important;
	color: #fff !important;
	border: 1px solid #000b38 !important;
	box-shadow: 0 1px 2px rgba(0, 11, 56, 0.15);
	cursor: pointer;
}

button.ywraq-quote-open-logos.button:hover,
.woocommerce button.ywraq-quote-open-logos.button:hover {
	filter: brightness(1.08);
	color: #fff !important;
}

/* Liste devis — mobile : pastilles lisibles, pleine largeur, zones tactiles */
@media screen and (max-width: 768px) {
	.ywraq-quote-lead-table-cell:not(:empty) {
		width: 100%;
		max-width: 100%;
		box-sizing: border-box;
	}

	.ywraq-quote-lead-personalization {
		width: 100%;
		max-width: 100%;
		align-items: stretch;
		gap: 0.65rem;
		margin-top: 0.65rem;
		box-sizing: border-box;
	}

	.ywraq-quote-lead-pills {
		flex-direction: column;
		align-items: stretch;
		gap: 0.5rem;
		width: 100%;
	}

	.ywraq-quote-lead-pill {
		width: 100%;
		max-width: 100%;
		justify-content: flex-start;
		align-items: center;
		padding: 0.55rem 0.85rem;
		min-height: 2.85rem;
		font-size: 0.92rem;
		border-radius: 12px;
		box-sizing: border-box;
	}

	.ywraq-quote-lead-pill__ico {
		flex-shrink: 0;
	}

	.ywraq-quote-lead-pill__ico .ywraq-quote-loc-tee,
	.ywraq-quote-lead-pill__ico .ywraq-quote-tech-ico {
		width: 1.55rem;
		max-height: 1.75rem;
	}

	.ywraq-quote-lead-pill__label {
		white-space: normal;
		overflow: visible;
		text-overflow: clip;
		max-width: none;
		flex: 1 1 auto;
		min-width: 0;
		line-height: 1.35;
	}

	button.ywraq-quote-open-logos.button,
	.woocommerce button.ywraq-quote-open-logos.button {
		width: 100%;
		max-width: 100%;
		box-sizing: border-box;
		margin-top: 0.25rem;
		padding: 0.7rem 1rem;
		min-height: 2.85rem;
		font-size: 0.92rem;
		font-weight: 700;
		border-radius: 12px;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		text-align: center;
		line-height: 1.25;
	}

	/* Sous le titre produit responsive (YITH réduit la typo) : garder le récap lisible */
	.ywraq_responsive .product-name .ywraq-quote-lead-personalization,
	.ywraq_responsive .product-name .ywraq-quote-lead-pill {
		font-size: 0.92rem;
	}

	.ywraq_responsive .product-name ul.ywraq-lead-quote-meta .ywraq-quote-color-line {
		flex-wrap: wrap;
		row-gap: 0.35rem;
	}

	.ywraq_responsive .product-name ul.ywraq-lead-quote-meta .ywraq-quote-color-txt {
		white-space: normal;
		word-break: break-word;
	}
}

@media screen and (max-width: 380px) {
	.ywraq-quote-lead-pill {
		padding: 0.5rem 0.65rem;
		font-size: 0.88rem;
	}

	button.ywraq-quote-open-logos.button,
	.woocommerce button.ywraq-quote-open-logos.button {
		padding: 0.65rem 0.75rem;
		font-size: 0.88rem;
	}
}

.ywraq-lead-cta__icon {
	line-height: 0;
}

.ywraq-lead-config .yith-ywraq-add-to-quote {
	margin-top: 0.5rem;
}

.ywraq-lead-config .yith_ywraq_add_item_product_message,
.ywraq-lead-config .yith_ywraq_add_item_response_message,
.ywraq-lead-config .yith_ywraq_add_item_browse_message {
	margin-top: 0.75rem;
	font-size: 0.95rem;
}

ul.ywraq-lead-quote-meta {
	list-style: none;
	margin: 0.65rem 0 0;
	padding: 0;
	font-size: 0.92rem;
	line-height: 1.5;
	color: #1a1d21;
}

ul.ywraq-lead-quote-meta li {
	margin: 0.4rem 0 0;
	padding: 0;
}

ul.ywraq-lead-quote-meta li:first-child {
	margin-top: 0;
}

/**
 * Îlot : priorité sur thème & YITH (charte bleue #000b38, boutons WooCommerce).
 */
.ywraq-lead-config .ywraq-lead-card {
	background: #fff !important;
	border-color: #d8deeb !important;
}

.ywraq-lead-config .ywraq-lead-step {
	background: #000b38 !important;
	background-color: #000b38 !important;
	color: #fff !important;
}

.ywraq-lead-config .ywraq-lead-card__title,
.ywraq-lead-config .ywraq-lead-attr__label {
	color: #1a1d21 !important;
}

.ywraq-lead-config button.ywraq-lead-swatch {
	background: #fff !important;
	background-color: #fff !important;
	color: #1a1d21 !important;
	border-color: #c9d0e0 !important;
}

.ywraq-lead-config button.ywraq-lead-swatch:hover {
	border-color: #000b38 !important;
	background: #f5f8ff !important;
	background-color: #f5f8ff !important;
}

.ywraq-lead-config button.ywraq-lead-swatch.is-selected {
	border-color: #000b38 !important;
	background: rgba(0, 11, 56, 0.1) !important;
	background-color: rgba(0, 11, 56, 0.1) !important;
	color: #000b38 !important;
	box-shadow: 0 0 0 1px #000b38 !important;
}

.ywraq-lead-config button.ywraq-lead-loc {
	background: #f5f8ff !important;
	background-color: #f5f8ff !important;
	color: #1a1d21 !important;
	border-color: #c9d0e0 !important;
}

.ywraq-lead-config button.ywraq-lead-loc:hover {
	background: #fff !important;
	background-color: #fff !important;
	border-color: #000b38 !important;
}

.ywraq-lead-config button.ywraq-lead-loc.is-selected {
	background: rgba(0, 11, 56, 0.1) !important;
	background-color: rgba(0, 11, 56, 0.1) !important;
	border-color: #000b38 !important;
	color: #000b38 !important;
}

.ywraq-lead-config button.ywraq-lead-tech-card {
	background: #f5f8ff !important;
	background-color: #f5f8ff !important;
	color: #1a1d21 !important;
	border-color: #c9d0e0 !important;
}

.ywraq-lead-config button.ywraq-lead-tech-card:hover {
	background: #fff !important;
	background-color: #fff !important;
	border-color: #000b38 !important;
}

.ywraq-lead-config button.ywraq-lead-tech-card.is-selected {
	background: rgba(0, 11, 56, 0.1) !important;
	background-color: rgba(0, 11, 56, 0.1) !important;
	border-color: #000b38 !important;
}

.ywraq-lead-config .ywraq-lead-qty,
.woocommerce .ywraq-lead-config .ywraq-lead-qty {
	display: inline-flex !important;
	align-items: stretch !important;
	flex-wrap: nowrap !important;
	background: #fff !important;
	background-color: #fff !important;
	border: 1px solid rgba(0, 11, 56, 0.18) !important;
	border-radius: 999px !important;
	overflow: hidden !important;
	box-shadow: 0 1px 4px rgba(0, 11, 56, 0.07) !important;
	padding: 0 !important;
	gap: 0 !important;
}

.ywraq-lead-config .ywraq-lead-qty__btn,
.woocommerce .ywraq-lead-config .ywraq-lead-qty__btn {
	flex-shrink: 0 !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 2.75rem !important;
	min-width: 2.75rem !important;
	height: 2.75rem !important;
	min-height: 2.75rem !important;
	padding: 0 !important;
	margin: 0 !important;
	border: none !important;
	border-radius: 0 !important;
	background: rgba(0, 11, 56, 0.08) !important;
	background-color: rgba(0, 11, 56, 0.08) !important;
	color: #000b38 !important;
	font-size: 1.35rem !important;
	font-weight: 500 !important;
	line-height: 1 !important;
	box-sizing: border-box !important;
}

.ywraq-lead-config .ywraq-lead-qty__input,
.woocommerce .ywraq-lead-config .ywraq-lead-qty__input {
	flex: 0 0 auto !important;
	box-sizing: border-box !important;
	min-width: 3.25rem !important;
	width: 3.25rem !important;
	height: 2.75rem !important;
	min-height: 2.75rem !important;
	padding: 0 0.25rem !important;
	margin: 0 !important;
	background: #fff !important;
	background-color: #fff !important;
	color: #000b38 !important;
	font-weight: 700 !important;
	font-size: 1.08rem !important;
	text-align: center !important;
	line-height: 2.75rem !important;
	border-style: solid !important;
	border-width: 0 1px !important;
	border-color: rgba(0, 11, 56, 0.12) !important;
	border-top: none !important;
	border-bottom: none !important;
	border-radius: 0 !important;
	-moz-appearance: textfield !important;
}

.ywraq-lead-config .ywraq-lead-upload__shell {
	background: linear-gradient(155deg, #f7f9ff 0%, #eef2fb 45%, #e4e9f7 100%) !important;
	border-color: rgba(0, 11, 56, 0.14) !important;
}

.ywraq-lead-config .ywraq-lead-upload__main,
.woocommerce .ywraq-lead-config .ywraq-lead-upload__main {
	position: relative !important;
	isolation: isolate;
}

.ywraq-lead-config .ywraq-lead-upload__shell:not(.has-files) .ywraq-lead-upload__main,
.woocommerce .ywraq-lead-config .ywraq-lead-upload__shell:not(.has-files) .ywraq-lead-upload__main {
	background: rgba(255, 255, 255, 0.92) !important;
	border: 2px dashed rgba(0, 11, 56, 0.16) !important;
	border-radius: 22px !important;
	box-shadow: 0 2px 12px rgba(0, 11, 56, 0.05) !important;
}

.ywraq-lead-config .ywraq-lead-upload__shell.has-files .ywraq-lead-upload__main,
.woocommerce .ywraq-lead-config .ywraq-lead-upload__shell.has-files .ywraq-lead-upload__main {
	background: rgba(255, 255, 255, 0.94) !important;
	border: 1px solid rgba(0, 11, 56, 0.12) !important;
	box-shadow: 0 2px 10px rgba(0, 11, 56, 0.06) !important;
}

.ywraq-lead-config .ywraq-lead-upload__card,
.woocommerce .ywraq-lead-config .ywraq-lead-upload__card {
	display: flex !important;
	flex-direction: row !important;
	flex-wrap: nowrap !important;
	align-items: center !important;
	box-sizing: border-box !important;
}

.ywraq-lead-config .ywraq-lead-upload__card-meta,
.woocommerce .ywraq-lead-config .ywraq-lead-upload__card-meta {
	display: flex !important;
	flex-direction: column !important;
	align-items: flex-start !important;
	justify-content: center !important;
	gap: 0.35rem !important;
	flex: 1 1 auto !important;
	min-width: 0 !important;
	width: auto !important;
}

.ywraq-lead-config .ywraq-lead-upload__card-name,
.woocommerce .ywraq-lead-config .ywraq-lead-upload__card-name {
	display: -webkit-box !important;
	-webkit-line-clamp: 2 !important;
	-webkit-box-orient: vertical !important;
	overflow: hidden !important;
	width: 100% !important;
	max-width: 100% !important;
	word-break: break-word !important;
}

.ywraq-lead-config .ywraq-lead-upload__card-type,
.woocommerce .ywraq-lead-config .ywraq-lead-upload__card-type {
	display: inline-flex !important;
	flex-shrink: 0 !important;
	align-self: flex-start !important;
}

.ywraq-lead-config .ywraq-lead-upload__card-remove,
.woocommerce .ywraq-lead-config .ywraq-lead-upload__card-remove,
.ywraq-lead-config .ywraq-lead-upload__card-remove.button,
.woocommerce .ywraq-lead-config .ywraq-lead-upload__card-remove.button {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	visibility: visible !important;
	opacity: 1 !important;
	position: relative !important;
	z-index: 50 !important;
	flex-shrink: 0 !important;
	box-sizing: border-box !important;
	width: 1.75rem !important;
	height: 1.75rem !important;
	min-width: 1.75rem !important;
	max-width: 1.75rem !important;
	min-height: 1.75rem !important;
	max-height: 1.75rem !important;
	padding: 0 !important;
	margin: 0 0 0 auto !important;
	border: none !important;
	border-radius: 50% !important;
	background: linear-gradient(165deg, #f87171 0%, #dc2626 55%, #b91c1c 100%) !important;
	color: #fff !important;
	line-height: 0 !important;
	text-indent: 0 !important;
	font-size: 0 !important;
	box-shadow:
		0 1px 0 rgba(255, 255, 255, 0.35) inset,
		0 2px 8px rgba(220, 38, 38, 0.35) !important;
}

.ywraq-lead-config .ywraq-lead-upload__card-remove svg,
.woocommerce .ywraq-lead-config .ywraq-lead-upload__card-remove svg {
	display: block !important;
	margin: 0 !important;
}

.ywraq-lead-config .ywraq-lead-upload__main .ywraq-lead-file-input,
.woocommerce .ywraq-lead-config .ywraq-lead-upload__main .ywraq-lead-file-input {
	position: absolute !important;
	inset: 0 !important;
	width: 100% !important;
	height: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
	opacity: 0 !important;
	cursor: pointer !important;
	z-index: 2 !important;
	border: none !important;
	background: transparent !important;
	box-shadow: none !important;
	font-size: 0 !important;
	line-height: 0 !important;
	appearance: none !important;
	-webkit-appearance: none !important;
	color: transparent !important;
}

.ywraq-lead-config .ywraq-lead-upload__main .ywraq-lead-file-input::file-selector-button,
.woocommerce .ywraq-lead-config .ywraq-lead-upload__main .ywraq-lead-file-input::file-selector-button,
.ywraq-lead-config .ywraq-lead-upload__main .ywraq-lead-file-input::-webkit-file-upload-button,
.woocommerce .ywraq-lead-config .ywraq-lead-upload__main .ywraq-lead-file-input::-webkit-file-upload-button {
	display: none !important;
}

@media (max-width: 520px) {
	.ywraq-lead-upload__shell:not(.has-files) .ywraq-lead-upload__decor-inner {
		grid-template-columns: 1fr;
		justify-items: center;
		text-align: center;
	}

	.ywraq-lead-upload__shell:not(.has-files) .ywraq-lead-upload__decor-icon {
		grid-column: 1;
		grid-row: 1;
	}

	.ywraq-lead-upload__shell:not(.has-files) .ywraq-lead-upload__decor-title {
		grid-column: 1;
		grid-row: 2;
		text-align: center;
	}

	.ywraq-lead-upload__shell:not(.has-files) .ywraq-lead-upload__decor-hint {
		grid-column: 1;
		grid-row: 3;
		text-align: center;
		align-items: center;
	}

	.ywraq-lead-upload__shell:not(.has-files) .ywraq-lead-upload__decor-hint-lead,
	.ywraq-lead-upload__shell:not(.has-files) .ywraq-lead-upload__decor-hint-formats {
		text-align: center;
	}
}

@media (min-width: 600px) {
	.ywraq-lead-cta {
		width: auto;
		min-width: 280px;
	}
}
