/* GraV'PRO – interface commune des configurateurs (plaque pro, boîte aux lettres, numéro de rue).
   Même fichier dans les trois extensions. Classes préfixées gpu- pour ne pas heurter Storefront/WooCommerce. */

.gpu,
.gpu *,
.gpu *::before,
.gpu *::after { box-sizing: border-box; }

.gpu {
	--gpu-bg: #FCE7E0;
	--gpu-surface: #FFFFFF;
	--gpu-ink: #2A1B16;
	--gpu-muted: #75584C;
	--gpu-line: #E8CBBF;
	--gpu-accent: #E45403;
	--gpu-accent-strong: #B84200;
	--gpu-tint: #FFF3EE;
	--gpu-focus: #1D5FC0;
	--gpu-danger: #B3261E;
	--gpu-ok: #1F6B3A;
	--gpu-radius-lg: 14px;
	--gpu-radius-md: 10px;

	/* Couleurs de la matière courante, mises à jour par le script (utilisées par les miniatures). */
	--gpu-plate: #262626;
	--gpu-plate2: #161616;
	--gpu-engrave: #E6E8EB;
	--gpu-wall: #FFF8F4;

	font-family: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
	font-size: 16px;
	line-height: 1.45;
	color: var(--gpu-ink);
	max-width: 1120px;
	margin: 0 auto;
	padding: 0 0 24px;
}

:where(.gpu) :where(button, input, select) { font: inherit; color: inherit; }

/* ---------- Mise en page ---------- */

.gpu-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }

.gpu-stage-wrap {
	position: sticky;
	top: var(--gpu-sticky-top, 0px);
	z-index: 5;
	margin: 0;
	padding: 6px 0;
	background: var(--gpu-bg);
}

.gpu-controls { display: grid; gap: 14px; min-width: 0; }

@media (min-width: 900px) {
	.gpu-layout { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 28px; align-items: start; }
	.gpu-stage-wrap { top: calc(var(--gpu-sticky-top, 0px) + 24px); padding: 0; background: transparent; }
}

/* ---------- Aperçu : plan d'atelier ---------- */

.gpu-stage {
	--gpu-grid: rgba(184, 66, 0, .10);
	background-color: var(--gpu-wall);
	background-image:
		linear-gradient(var(--gpu-grid) 1px, transparent 1px),
		linear-gradient(90deg, var(--gpu-grid) 1px, transparent 1px);
	background-size: 20px 20px;
	border: 1px solid var(--gpu-line);
	border-radius: var(--gpu-radius-lg);
	padding: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.gpu-stage { --gpu-dim: #75584C; }
.gpu-stage[data-wall="pierre"] { --gpu-wall: #A9A39B; --gpu-grid: rgba(255, 255, 255, .14); --gpu-dim: #2A1B16; }
.gpu-stage[data-wall="sombre"] { --gpu-wall: #2F2A28; --gpu-grid: rgba(255, 255, 255, .07); --gpu-dim: #EBDDD6; }
.gpu-stage[data-wall="plan"]   { --gpu-wall: #FFF8F4; }

.gpu-svg { display: block; width: 100%; height: auto; max-height: 28vh; }
.gpu-svg #decoupe { display: none; }

@media (min-width: 900px) {
	.gpu-svg { max-height: clamp(150px, calc(100vh - 430px), 440px); }
	.gpu-stage { padding: 16px; }
}

.gpu-stage-tools {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 6px 12px;
	padding: 6px 2px 2px;
	background: transparent;
}

.gpu-dims { margin: 0; font-size: 14px; color: var(--gpu-muted); }

@media (max-width: 899px) {
	/* Sur mobile les cotes dessinées suffisent : on garde le texte pour les lecteurs d'écran. */
	.gpu-dims { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
	.gpu-stage-tools { justify-content: center; }
	.gpu-stage-tools:has(.gpu-dims.is-always) { justify-content: space-between; flex-wrap: nowrap; }
	.gpu-dims.is-always { font-size: 13px; white-space: nowrap; }
	.gpu-stage-tools .gpu-seg button { padding: 8px 10px; }
}

/* ---------- Cartes d'étapes ---------- */

.gpu-step {
	background: var(--gpu-surface);
	border: 1px solid var(--gpu-line);
	border-radius: var(--gpu-radius-lg);
	padding: 16px;
	margin: 0;
	min-width: 0;
}

.gpu-step-title {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 12px;
	font-family: 'Cinzel', 'Times New Roman', Georgia, serif;
	font-weight: 600;
	font-size: 19px;
	line-height: 1.2;
	color: var(--gpu-ink);
}

.gpu-n {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: var(--gpu-accent-strong);
	color: #fff;
	font-family: 'IBM Plex Sans', system-ui, sans-serif;
	font-size: 14px;
	font-weight: 600;
}

.gpu-sub {
	margin: 16px 0 8px;
	font-size: 15px;
	font-weight: 600;
	color: var(--gpu-ink);
	padding: 0;
	border: 0;
}
.gpu-sub:first-child { margin-top: 0; }

.gpu-help { margin: 6px 0 0; font-size: 14px; color: var(--gpu-muted); }

/* ---------- Champs ---------- */

.gpu-field { display: block; margin: 0 0 12px; }
.gpu-field:last-child { margin-bottom: 0; }
.gpu-field > span { display: block; margin-bottom: 4px; font-size: 15px; font-weight: 600; }

.gpu-input {
	font-family: inherit;
	width: 100%;
	min-height: 48px;
	padding: 10px 12px;
	border: 2px solid var(--gpu-line);
	border-radius: var(--gpu-radius-md);
	background: #fff;
	font-size: 18px;
}
.gpu-input.gpu-number { font-size: 26px; font-weight: 600; letter-spacing: .02em; }
.gpu-input:focus-visible { outline: 3px solid var(--gpu-focus); outline-offset: 1px; border-color: var(--gpu-focus); }
.gpu-input[aria-invalid="true"] { border-color: var(--gpu-danger); }

.gpu-error { margin: 6px 0 0; color: var(--gpu-danger); font-size: 14px; font-weight: 600; min-height: 0; }
.gpu-error:empty { display: none; }

.gpu-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.gpu-chip {
	min-height: 40px;
	padding: 6px 14px;
	border: 2px solid var(--gpu-line);
	border-radius: 999px;
	background: #fff;
	cursor: pointer;
	font-size: 15px;
}
.gpu-chip:hover { border-color: var(--gpu-accent); }
.gpu-chip[aria-pressed="true"] { border-color: var(--gpu-accent-strong); background: var(--gpu-tint); font-weight: 600; }
.gpu-chip:focus-visible { outline: 3px solid var(--gpu-focus); outline-offset: 2px; }

/* ---------- Tuiles de choix (boutons radio natifs) ---------- */

.gpu-grid { display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); margin: 0; padding: 0; border: 0; min-width: 0; }
.gpu-grid.gpu-grid-wide { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.gpu-grid.gpu-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.gpu-tile { position: relative; display: block; cursor: pointer; min-width: 0; }
.gpu-tile input {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	opacity: 0;
	cursor: pointer;
}
.gpu-tile-body {
	display: flex;
	flex-direction: column;
	gap: 4px;
	height: 100%;
	min-height: 48px;
	padding: 10px;
	border: 2px solid var(--gpu-line);
	border-radius: var(--gpu-radius-md);
	background: #fff;
	transition: border-color .12s ease, background-color .12s ease;
}
.gpu-tile:hover .gpu-tile-body { border-color: var(--gpu-accent); }
.gpu-tile input:checked + .gpu-tile-body { border-color: var(--gpu-accent-strong); background: var(--gpu-tint); }
.gpu-tile input:focus-visible + .gpu-tile-body { outline: 3px solid var(--gpu-focus); outline-offset: 2px; }
.gpu-tile input:disabled + .gpu-tile-body { opacity: .45; cursor: not-allowed; }

.gpu-tile-name { font-weight: 600; font-size: 15px; line-height: 1.25; }
.gpu-tile-note { font-size: 13px; color: var(--gpu-muted); line-height: 1.3; }
.gpu-tile-price { margin-top: auto; font-size: 13px; font-weight: 600; color: var(--gpu-accent-strong); }

.gpu-mini { display: block; width: 100%; height: auto; border-radius: 6px; }
.gpu-mini-art { background: var(--gpu-line); border-radius: 6px; padding: 0; line-height: 0; overflow: hidden; }

.gpu-sample { font-size: 34px; line-height: 1.1; text-align: center; padding: 6px 0; color: var(--gpu-ink); }

/* Pastilles de couleur */
.gpu-swatches { display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); margin: 0; padding: 0; border: 0; }
.gpu-swatch {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 48px;
	border-radius: 8px;
	border: 1px solid rgba(0, 0, 0, .25);
	font-weight: 600;
	font-size: 17px;
}
.gpu-tile-swatch .gpu-tile-body { padding: 6px; gap: 4px; align-items: stretch; }
.gpu-tile-swatch .gpu-tile-name { font-size: 12px; text-align: center; overflow-wrap: anywhere; }

.gpu-dots { display: flex; gap: 3px; flex-wrap: wrap; }
.gpu-dot { width: 14px; height: 14px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, .25); }

/* Commutateur segmenté (orientation, fond de l'aperçu) */
.gpu-seg { display: inline-flex; border: 2px solid var(--gpu-line); border-radius: 999px; overflow: hidden; background: #fff; margin: 0; padding: 0; min-width: 0; }
.gpu-seg label { position: relative; display: block; cursor: pointer; }
.gpu-seg input { position: absolute; inset: 0; opacity: 0; margin: 0; width: 100%; height: 100%; cursor: pointer; }
.gpu-seg span { display: block; padding: 8px 14px; min-height: 40px; font-size: 14px; line-height: 24px; }
.gpu-seg button {
	display: block; padding: 8px 14px; min-height: 40px; border: 0; background: transparent;
	font-size: 14px; line-height: 24px; cursor: pointer;
}
.gpu-seg button[aria-pressed="true"] { background: var(--gpu-accent-strong); color: #fff; font-weight: 600; }
.gpu-seg button:focus-visible { outline: 3px solid var(--gpu-focus); outline-offset: -3px; }
.gpu-seg input:checked + span { background: var(--gpu-accent-strong); color: #fff; font-weight: 600; }
.gpu-seg input:focus-visible + span { outline: 3px solid var(--gpu-focus); outline-offset: -3px; }

.gpu-check { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; padding: 10px 0 0; }
.gpu-check input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--gpu-accent-strong); flex: 0 0 auto; }
.gpu-check input:focus-visible { outline: 3px solid var(--gpu-focus); outline-offset: 2px; }
.gpu-check small { display: block; color: var(--gpu-muted); font-size: 13px; }
.gpu-check.is-disabled { opacity: .5; cursor: not-allowed; }

/* ---------- Achat ---------- */

.gpu-buy {
	position: sticky;
	bottom: 0;
	z-index: 6;
	background: var(--gpu-surface);
	border: 2px solid var(--gpu-accent-strong);
	border-radius: var(--gpu-radius-lg);
	padding: 12px 14px;
	display: grid;
	gap: 10px;
	box-shadow: 0 -6px 16px rgba(42, 27, 22, .10);
}

.gpu-stage-wrap .gpu-buy { position: static; box-shadow: none; margin-top: 10px; }
.gpu-stage-wrap .gpu-extra { margin-top: 8px; }
.gpu-extra { display: grid; gap: 6px; }

.gpu-buy-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.gpu-total { font-family: 'Cinzel', 'Times New Roman', Georgia, serif; font-weight: 600; font-size: 30px; line-height: 1; margin: 0; }
.gpu-unit { margin: 2px 0 0; font-size: 13px; color: var(--gpu-muted); }

.gpu-qty { display: inline-flex; align-items: center; border: 2px solid var(--gpu-line); border-radius: var(--gpu-radius-md); background: #fff; }
.gpu-qty button {
	width: 44px;
	height: 44px;
	border: 0;
	background: transparent;
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
	border-radius: 8px;
}
.gpu-qty button:hover { background: var(--gpu-tint); }
.gpu-qty button:disabled { opacity: .35; cursor: not-allowed; }
.gpu-qty button:focus-visible { outline: 3px solid var(--gpu-focus); outline-offset: -3px; }
.gpu-qty output { min-width: 34px; text-align: center; font-weight: 600; font-size: 18px; }

.gpu-cta {
	width: 100%;
	min-height: 52px;
	padding: 12px 18px;
	border: 0;
	border-radius: var(--gpu-radius-md);
	background: var(--gpu-accent-strong);
	color: #fff;
	font-size: 17px;
	font-weight: 600;
	cursor: pointer;
}
.gpu-cta:hover { background: #9C3700; }
.gpu-cta:focus-visible { outline: 3px solid var(--gpu-focus); outline-offset: 3px; }
.gpu-cta:disabled { opacity: .6; cursor: progress; }

.gpu-status { margin: 0; font-size: 15px; min-height: 0; }
.gpu-status:empty { display: none; }
.gpu-status.is-error { color: var(--gpu-danger); font-weight: 600; }
.gpu-status.is-ok { color: var(--gpu-ok); font-weight: 600; }
.gpu-status a { color: var(--gpu-accent-strong); font-weight: 600; }

.gpu-note { margin: 0; font-size: 13px; color: var(--gpu-muted); }

.gpu-sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

@media (prefers-reduced-motion: reduce) {
	.gpu *, .gpu *::before, .gpu *::after { transition: none !important; animation: none !important; }
}

/* =====================================================================
   Composants communs ajoutés pour la plaque pro et la boîte aux lettres
   ===================================================================== */

.gpu [hidden] { display: none !important; }
.gpu :where(p, ul, ol, h1, h2, h3, h4) { margin-top: 0; }
.gpu fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }

/* ---------- En-tête du configurateur ---------- */
.gpu-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 10px 16px;
	margin: 0 0 14px;
}
.gpu-head h2 {
	margin: 0 0 2px;
	font-family: 'Cinzel', 'Times New Roman', Georgia, serif;
	font-weight: 600;
	font-size: 22px;
	line-height: 1.2;
	color: var(--gpu-ink);
}
.gpu-head p { margin: 0; font-size: 14px; color: var(--gpu-muted); }
.gpu-head-actions { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- Boutons secondaires ---------- */
.gpu-btn {
	min-height: 44px;
	padding: 8px 16px;
	border: 2px solid var(--gpu-line);
	border-radius: var(--gpu-radius-md);
	background: #fff;
	color: var(--gpu-ink);
	font-size: 15px;
	cursor: pointer;
}
.gpu-btn:hover { border-color: var(--gpu-accent); }
.gpu-btn:focus-visible { outline: 3px solid var(--gpu-focus); outline-offset: 2px; }
.gpu-btn:disabled { opacity: .6; cursor: progress; }
.gpu-btn-danger { color: var(--gpu-danger); border-color: #EBC2BE; }
.gpu-btn-danger:hover { border-color: var(--gpu-danger); background: #FFF4F2; }
.gpu-btn-row { display: flex; flex-wrap: wrap; gap: 8px; }
.gpu-btn-row > .gpu-btn { flex: 1 1 auto; }
.gpu-btn-add { display: block; width: 100%; margin-top: 12px; text-align: left; border-style: dashed; }

/* Boutons à bascule (alignements) : même rendu que les tuiles */
.gpu-toggle {
	flex: 1 1 0;
	min-height: 44px;
	padding: 8px 10px;
	border: 2px solid var(--gpu-line);
	border-radius: var(--gpu-radius-md);
	background: #fff;
	font-size: 15px;
	text-align: center;
	cursor: pointer;
}
.gpu-toggle:hover { border-color: var(--gpu-accent); }
.gpu-toggle.active, .gpu-toggle[aria-pressed="true"] { border-color: var(--gpu-accent-strong); background: var(--gpu-tint); font-weight: 600; }
.gpu-toggle:focus-visible { outline: 3px solid var(--gpu-focus); outline-offset: 2px; }

/* ---------- Champs texte, zones de texte, listes ---------- */
.gpu textarea.gpu-input { min-height: 72px; resize: vertical; line-height: 1.35; }
.gpu textarea.gpu-input.gpu-first { min-height: 84px; font-size: 20px; }
.gpu select.gpu-input {
	appearance: none;
	-webkit-appearance: none;
	padding-right: 40px;
	cursor: pointer;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%2375584C' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
}
.gpu .gpu-input[type="color"] { padding: 4px; min-height: 48px; cursor: pointer; }

.gpu-label-row label > span { display: inline; margin: 0; font-size: 15px; font-weight: 600; }
.gpu-label-row { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.gpu-count { font-size: 13px; color: var(--gpu-muted); font-variant-numeric: tabular-nums; }
.gpu-count.is-near { color: #A8480A; font-weight: 600; }

/* Taille du texte : − valeur + */
.gpu-stepper { display: flex; align-items: center; gap: 10px; }
.gpu-stepper > button {
	width: 48px; height: 48px; flex: 0 0 auto;
	border: 2px solid var(--gpu-line); border-radius: var(--gpu-radius-md);
	background: #fff; font-size: 22px; line-height: 1; cursor: pointer;
}
.gpu-stepper > button:hover { border-color: var(--gpu-accent); }
.gpu-stepper > button:focus-visible { outline: 3px solid var(--gpu-focus); outline-offset: 2px; }
.gpu-stepper > output { flex: 1; text-align: center; font-weight: 600; font-size: 17px; }

/* ---------- Options à cocher (fixations, finitions...) ---------- */
.gpu-opts { display: grid; gap: 8px; margin: 0 0 14px; }
.gpu-opt {
	position: relative;
	display: flex;
	align-items: center;
	gap: 12px;
	min-height: 52px;
	padding: 10px 14px;
	border: 2px solid var(--gpu-line);
	border-radius: var(--gpu-radius-md);
	background: #fff;
	cursor: pointer;
	transition: border-color .12s ease, background-color .12s ease;
}
.gpu-opt:hover { border-color: var(--gpu-accent); }
.gpu-opt.active, .gpu-opt:has(input:checked) { border-color: var(--gpu-accent-strong); background: var(--gpu-tint); }
.gpu-opt input { width: 22px; height: 22px; margin: 0; accent-color: var(--gpu-accent-strong); flex: 0 0 auto; }
.gpu-opt input:focus-visible { outline: 3px solid var(--gpu-focus); outline-offset: 2px; }
.gpu-opt-name { flex: 1; font-weight: 600; font-size: 15px; }
.gpu-opt-price { font-size: 14px; font-weight: 600; color: var(--gpu-accent-strong); white-space: nowrap; }

/* ---------- Calques de texte (éditeur libre) ---------- */
.gpu-layers { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.gpu-layer {
	display: flex; align-items: center; gap: 10px;
	min-height: 48px; padding: 6px 8px 6px 12px;
	border: 2px solid var(--gpu-line); border-radius: var(--gpu-radius-md);
	background: #fff; cursor: pointer; font-size: 15px;
}
.gpu-layer:hover { border-color: var(--gpu-accent); }
.gpu-layer.active { border-color: var(--gpu-accent-strong); background: var(--gpu-tint); }
.gpu-layer-icon { width: 20px; text-align: center; color: var(--gpu-muted); font-weight: 600; }
.gpu-layer-label { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gpu-layer button {
	width: 40px; height: 40px; border: 0; border-radius: 8px; background: transparent;
	font-size: 22px; color: var(--gpu-muted); cursor: pointer;
}
.gpu-layer button:hover { color: var(--gpu-danger); background: #FFF4F2; }
.gpu-layer button:focus-visible { outline: 3px solid var(--gpu-focus); outline-offset: -3px; }

/* ---------- Messages ---------- */
.gpu-alert {
	margin: 0; padding: 10px 14px; border-radius: var(--gpu-radius-md);
	background: #FFF1EF; color: var(--gpu-danger); border: 1px solid #F2C6C1;
	font-size: 15px; font-weight: 600;
}
.gpu-alert ul { margin: 0; padding-left: 18px; }
.gpu-tip {
	margin: 0; padding: 10px 14px; border-radius: var(--gpu-radius-md);
	background: var(--gpu-tint); border: 1px solid var(--gpu-line);
	font-size: 14px; line-height: 1.45; list-style: none;
}
.gpu-tip-title { display: block; margin: 0 0 4px; font-weight: 600; font-size: 14px; }
.gpu-tip ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 4px; }
.gpu-tip li { padding-left: 16px; position: relative; }
.gpu-tip li::before { content: "–"; position: absolute; left: 2px; color: var(--gpu-accent-strong); font-weight: 700; }

.gpu-banner {
	margin: 0 0 12px; padding: 10px 14px; border-radius: var(--gpu-radius-md);
	background: var(--gpu-tint); border: 1px solid var(--gpu-line); font-size: 15px;
}
.gpu-banner.is-ok { background: #EAF6EE; border-color: #BFE0C9; color: var(--gpu-ok); font-weight: 600; }
.gpu-banner.is-error { background: #FFF1EF; border-color: #F2C6C1; color: var(--gpu-danger); font-weight: 600; }
.gpu-banner.is-atelier { background: #2A1B16; border-color: #2A1B16; color: #FCE7E0; }
.gpu-banner.is-atelier strong { color: #FFB27A; }
.gpu-banner a { color: var(--gpu-accent-strong); font-weight: 600; }
.gpu-banner-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; font-weight: 600; }

.gpu-diag { margin: 14px 0 0; padding: 10px 14px; border-radius: var(--gpu-radius-md); background: #FFF8E5; border: 1px solid #F0E2B6; font-size: 14px; }
.gpu-diag summary { cursor: pointer; font-weight: 600; color: #7A5A1E; }
.gpu-diag ul { list-style: none; margin: 8px 0; padding: 0; }
.gpu-diag li { padding: 2px 0; }
.gpu-diag li.ok { color: var(--gpu-ok); }
.gpu-diag li.ko { color: var(--gpu-danger); font-weight: 600; }

/* ---------- Barre d'achat : détails ---------- */
.gpu-buy-detail { margin: 2px 0 0; font-size: 13px; color: var(--gpu-muted); }
.gpu-total.is-verified::after { content: " \2713"; font-family: 'IBM Plex Sans', system-ui, sans-serif; font-size: 16px; color: var(--gpu-ok); }
.gpu-buy-note { margin: 0; font-size: 14px; color: var(--gpu-muted); }
.gpu-cta-row { display: flex; gap: 10px; flex-wrap: wrap; }
.gpu-qty input {
	width: 56px; height: 44px; border: 0; background: transparent; text-align: center;
	font-weight: 600; font-size: 18px; -moz-appearance: textfield;
}
.gpu-qty input::-webkit-outer-spin-button, .gpu-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.gpu-qty input:focus-visible { outline: 3px solid var(--gpu-focus); outline-offset: -3px; }

/* ---------- Page de vente (boîte aux lettres, mise en page complète) ---------- */
.gpu-hero { text-align: center; padding: 8px 0 22px; }
.gpu-hero h1 {
	margin: 0 0 8px;
	font-family: 'Cinzel', 'Times New Roman', Georgia, serif;
	font-weight: 600;
	font-size: clamp(26px, 4.4vw, 38px);
	line-height: 1.15;
	color: var(--gpu-ink);
}
.gpu-hero p { margin: 0; font-size: 17px; color: var(--gpu-muted); }
.gpu-badges { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.gpu-badges li {
	position: relative; padding: 6px 12px 6px 30px; border-radius: 999px;
	background: #fff; border: 1px solid var(--gpu-line); font-size: 14px;
}
.gpu-badges li::before {
	content: ""; position: absolute; left: 12px; top: 50%; width: 11px; height: 6px;
	border-left: 2px solid var(--gpu-ok); border-bottom: 2px solid var(--gpu-ok);
	transform: translateY(-70%) rotate(-45deg);
}
.gpu-sell { background: transparent; }
.gpu-sell h3 { margin: 0 0 12px; font-family: 'Cinzel', 'Times New Roman', Georgia, serif; font-weight: 600; font-size: 19px; }
.gpu-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.gpu-checks li { position: relative; padding-left: 26px; font-size: 15px; }
.gpu-checks li::before {
	content: ""; position: absolute; left: 3px; top: .5em; width: 11px; height: 6px;
	border-left: 2px solid var(--gpu-ok); border-bottom: 2px solid var(--gpu-ok); transform: rotate(-45deg);
}
.gpu-faq { margin-top: 16px; display: grid; gap: 8px; }
.gpu-faq details { background: #fff; border: 2px solid var(--gpu-line); border-radius: var(--gpu-radius-md); }
.gpu-faq summary { cursor: pointer; padding: 12px 40px 12px 14px; font-weight: 600; font-size: 15px; list-style: none; position: relative; }
.gpu-faq summary::-webkit-details-marker { display: none; }
.gpu-faq summary::after { content: "+"; position: absolute; right: 14px; top: 50%; transform: translateY(-50%); font-size: 20px; font-weight: 400; color: var(--gpu-muted); }
.gpu-faq details[open] summary::after { content: "−"; }
.gpu-faq details p { margin: 0; padding: 0 14px 12px; font-size: 15px; color: var(--gpu-muted); }
.gpu-faq summary:focus-visible { outline: 3px solid var(--gpu-focus); outline-offset: 2px; }

/* ---------- Tuiles-boutons (choix qui re-génèrent l'interface : matière, taille, couleur) ---------- */
.gpu-choice {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 4px;
	width: 100%;
	min-height: 48px;
	padding: 10px;
	border: 2px solid var(--gpu-line);
	border-radius: var(--gpu-radius-md);
	background: #fff;
	color: var(--gpu-ink);
	font: inherit;
	text-align: left;
	cursor: pointer;
	transition: border-color .12s ease, background-color .12s ease;
}
.gpu-choice:hover { border-color: var(--gpu-accent); }
.gpu-choice[aria-pressed="true"] { border-color: var(--gpu-accent-strong); background: var(--gpu-tint); }
.gpu-choice:focus-visible { outline: 3px solid var(--gpu-focus); outline-offset: 2px; }
.gpu-choice-art { display: flex; align-items: center; justify-content: center; min-height: 50px; padding: 4px 0; line-height: 0; }
.gpu-choice-art svg { display: block; width: 46px; height: 46px; }
.gpu-choice-plan { background: var(--gpu-line); border-radius: 6px; padding: 0; }
.gpu-choice-plan svg { width: 100%; height: auto; }
.gpu-choice-swatch { align-items: center; padding: 8px 6px; }
.gpu-choice-swatch .gpu-tile-name { font-size: 12px; text-align: center; overflow-wrap: anywhere; }
.gpu-dot { display: block; width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, .25); }
.gpu-grid.gpu-grid-tight { grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); }
.gpu-dims.is-always { position: static; width: auto; height: auto; overflow: visible; clip: auto; white-space: normal; }

/* ---------- Relecture avant paiement ---------- */
.gpu-modal {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 12px;
	background: rgba(42, 27, 22, .62);
	overflow-y: auto;
}
.gpu-modal-carte {
	width: 100%;
	max-width: 520px;
	max-height: calc(100vh - 24px);
	overflow-y: auto;
	padding: 18px;
	border-radius: var(--gpu-radius-lg);
	background: #fff;
	color: var(--gpu-ink);
	font-family: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}
.gpu-modal-plaque { padding: 10px; margin: 8px 0 12px; border-radius: var(--gpu-radius-md); background: var(--gpu-bg); }
.gpu-modal-plaque svg { display: block; width: 100%; height: auto; max-height: 30vh; filter: drop-shadow(0 6px 10px rgba(42, 27, 22, .25)); }
.gpu-modal-resume { margin: 0 0 8px; font-size: 14px; }
.gpu-modal-resume dt { margin-top: 8px; font-weight: 600; color: var(--gpu-muted); }
.gpu-modal-resume dd { margin: 2px 0 0; }
.gpu-modal-resume dd.gpu-modal-texte { font-size: 20px; font-weight: 600; }

/* ---------- Mise en situation, délai ---------- */
.gpu-stage[data-wall="situation"] {
	display: block;
	position: relative;
	padding: 0;
	margin: 0 auto;
	aspect-ratio: var(--gpu-ratio, 1.5);
	width: min(100%, calc(34vh * var(--gpu-ratio, 1.5)));
	background-size: 100% 100%;
	background-repeat: no-repeat;
	overflow: hidden;
}
@media (min-width: 900px) {
	.gpu-stage[data-wall="situation"] { width: min(100%, calc(46vh * var(--gpu-ratio, 1.5))); }
}
.gpu-stage[data-wall="situation"] .gravpro-plate-shadow[data-situation] { position: absolute; transform: translate(-50%, -50%); }
.gpu-stage-tools .gpu-seg { flex-wrap: wrap; }
.gpu-delai { margin: 4px 0 0; font-size: 13px; font-weight: 600; color: var(--gpu-ok); }
.gpu-field .gpu-btn-row > input.gpu-input { flex: 1 1 0; min-width: 0; }
