/*
 * Boutique Uniformes – styles.
 * Couleurs alignées sur le site (vert de l'école, ardoise du tableau noir).
 * Pour adapter à une autre école, redéfinir les variables dans Apparence > Personnaliser > CSS additionnel :
 *   .bu-shop { --bu-brand: #5FAC41; --bu-brand-strong: #356E25; }
 */

.bu-shop {
	--bu-brand: #5fac41;          /* vert de l'école : accents */
	--bu-brand-strong: #356e25;   /* vert foncé : textes et boutons sur fond clair (contraste AA) */
	--bu-brand-ink: #13230d;      /* texte sur fond vert vif */
	--bu-chalk: #23292d;          /* ardoise : panneau commande */
	--bu-chalk-soft: #2d3439;
	--bu-ink: #1e2326;
	--bu-muted: #5c6660;
	--bu-line: #e2e6df;
	--bu-paper: #f4f6f1;
	--bu-danger: #b42318;
	--bu-radius: 14px;
	--bu-accent: var(--bu-brand-strong); /* compatibilité avec l'ancien réglage */

	color: var(--bu-ink);
	font-family: var(--e-global-typography-text-font-family, inherit);
	font-size: 1rem;
	line-height: 1.5;
	max-width: 1200px;
	margin: 0 auto;
	padding: 48px 0 64px;
	-webkit-font-smoothing: antialiased;
}

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

.bu-shop h2,
.bu-shop h3 {
	margin: 0;
	padding: 0;
	color: inherit;
	font-family: inherit;
	letter-spacing: normal;
	text-transform: none;
	line-height: 1.2;
}

.bu-shop p {
	margin: 0;
}

.bu-loading {
	color: var(--bu-muted);
}

.bu-shop .screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

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

.bu-layout {
	display: grid;
	gap: 40px;
	align-items: start;
}

.bu-shop.bu-wide .bu-layout {
	grid-template-columns: minmax(0, 1fr) 380px;
	gap: 48px;
}

.bu-shop.bu-wide .bu-aside {
	position: sticky;
	top: 110px; /* sous l'en-tête du site */
}

.bu-head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 6px 24px;
	margin-bottom: 24px;
	padding-bottom: 16px;
	border-bottom: 2px solid var(--bu-ink);
}

.bu-shop .bu-head__title {
	font-size: clamp(1.6rem, 2.6vw, 2.1rem);
	font-weight: 800;
	letter-spacing: -0.01em;
}

.bu-head__sub {
	color: var(--bu-muted);
	font-size: 0.95rem;
}

/* ---------- Cartes articles ---------- */

.bu-articles {
	display: grid;
	gap: 20px;
	grid-template-columns: 1fr;
}

.bu-shop.bu-mid .bu-articles {
	grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
}

.bu-article {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--bu-line);
	border-radius: var(--bu-radius);
	overflow: hidden;
	transition: border-color 0.15s, box-shadow 0.15s;
}

.bu-article:hover,
.bu-article:focus-within {
	border-color: #cdd5c8;
	box-shadow: 0 10px 30px -18px rgba(30, 35, 38, 0.45);
}

.bu-article__media {
	position: relative;
	display: grid;
	place-items: center;
	aspect-ratio: 16 / 10;
	background:
		radial-gradient(circle at 50% 45%, #fff 0, rgba(255, 255, 255, 0) 62%),
		var(--bu-paper);
}

.bu-garment {
	width: 40%;
	height: auto;
	transition: transform 0.25s ease;
}

.bu-article:hover .bu-garment {
	transform: translateY(-3px);
}

.bu-shop .bu-article__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	margin: 0;
	border-radius: 0;
}

.bu-article__tag {
	position: absolute;
	top: 12px;
	left: 12px;
	padding: 4px 10px;
	border-radius: 999px;
	background: #fff;
	border: 1px solid var(--bu-line);
	color: var(--bu-ink);
	font-size: 0.78rem;
	font-weight: 700;
}

.bu-article__body {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 18px 18px 20px;
}

.bu-article__top {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
}

.bu-shop .bu-article__name {
	font-size: 1.1rem;
	font-weight: 700;
}

.bu-article__price {
	flex: none;
	color: var(--bu-brand-strong);
	font-size: 1.1rem;
	font-weight: 800;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

.bu-article__desc {
	margin-top: 4px !important;
	color: var(--bu-muted);
	font-size: 0.92rem;
}

.bu-sizegroup {
	margin: 0;
	padding: 0;
	border: 0;
	min-width: 0;
}

.bu-shop .bu-article__label:not(#bu) {
	display: block;
	margin: 16px 0 8px;
	padding: 0;
	color: var(--bu-muted);
	font-size: 0.82rem;
	font-weight: 600;
}

/* Tailles */
.bu-sizes {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.bu-shop .bu-size:not(#bu) {
	position: relative;
	display: inline-block;
	margin: 0;
	padding: 0;
}

.bu-shop .bu-size input:not(#bu) {
	position: absolute !important;
	opacity: 0 !important;
	width: 1px !important;
	height: 1px !important;
	margin: 0 !important;
	clip: rect(0, 0, 0, 0);
	pointer-events: none;
	appearance: none;
}

.bu-size > span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	min-height: 40px;
	padding: 0 12px;
	border: 1.5px solid var(--bu-line);
	border-radius: 10px;
	background: #fff;
	color: var(--bu-ink);
	font-size: 0.9rem;
	font-weight: 600;
	cursor: pointer;
	user-select: none;
	transition: border-color 0.12s, background-color 0.12s, color 0.12s;
}

.bu-size:hover input:not(:disabled):not(:checked) + span {
	border-color: var(--bu-brand);
}

.bu-size input:checked + span {
	background: var(--bu-brand-strong);
	border-color: var(--bu-brand-strong);
	color: #fff;
}

.bu-size input:focus-visible + span {
	outline: 3px solid var(--bu-brand);
	outline-offset: 2px;
}

.bu-size input:disabled + span {
	cursor: not-allowed;
	text-decoration: line-through;
	color: #9aa29c;
	background: var(--bu-paper);
}

.bu-article__stocknote {
	min-height: 1.3em;
	margin-top: 8px !important;
	color: var(--bu-muted);
	font-size: 0.82rem;
}

.bu-article__actions {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-top: auto;
	padding-top: 8px;
}

/* ---------- Boutons ---------- */

.bu-shop .bu-btn:not(#bu) {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 44px;
	padding: 0 22px;
	border: 2px solid var(--bu-brand-strong);
	border-radius: 999px;
	background: var(--bu-brand-strong);
	color: #fff;
	font: inherit;
	font-size: 0.95rem;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: normal;
	text-transform: none;
	text-decoration: none;
	box-shadow: none;
	cursor: pointer;
	transition: background-color 0.15s, color 0.15s, border-color 0.15s, transform 0.1s;
}

.bu-shop .bu-btn:not(#bu):active {
	transform: translateY(1px);
}

.bu-shop .bu-btn:not(#bu):focus-visible,
.bu-shop .bu-qty button:not(#bu):focus-visible,
.bu-shop .bu-line__remove:not(#bu):focus-visible {
	outline: 3px solid var(--bu-brand);
	outline-offset: 2px;
}

.bu-shop .bu-btn--ghost:not(#bu) {
	flex: 1;
	background: #fff;
	color: var(--bu-brand-strong);
}

.bu-shop .bu-btn--ghost:not(#bu):hover {
	background: var(--bu-brand-strong);
	color: #fff;
}

.bu-shop .bu-btn--done:not(#bu),
.bu-shop .bu-btn--done:not(#bu):hover {
	background: var(--bu-brand);
	border-color: var(--bu-brand);
	color: var(--bu-brand-ink);
}

/* Quantité */
.bu-qty {
	display: inline-flex;
	align-items: center;
	flex: none;
	height: 44px;
	border: 1.5px solid var(--bu-line);
	border-radius: 999px;
	background: #fff;
}

.bu-shop .bu-qty button:not(#bu) {
	width: 36px;
	height: 100%;
	min-height: 0;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: transparent;
	color: var(--bu-ink);
	font: inherit;
	font-size: 1.15rem;
	line-height: 1;
	box-shadow: none;
	cursor: pointer;
}

.bu-shop .bu-qty button:not(#bu):hover {
	color: var(--bu-brand-strong);
	background: var(--bu-paper);
}

.bu-qty output {
	min-width: 24px;
	text-align: center;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
}

/* ---------- Panneau commande (ardoise) ---------- */

.bu-summary {
	padding: 24px;
	border-radius: 18px;
	background: var(--bu-chalk);
	color: #fff;
	box-shadow: 0 24px 50px -30px rgba(20, 25, 28, 0.7);
}

.bu-summary__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-bottom: 16px;
	margin-bottom: 4px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.bu-shop .bu-summary__title {
	color: #fff;
	font-size: 1.3rem;
	font-weight: 800;
}

.bu-summary__count {
	display: inline-grid;
	place-items: center;
	min-width: 28px;
	height: 28px;
	padding: 0 8px;
	border-radius: 999px;
	background: var(--bu-chalk-soft);
	color: #a9b3ac;
	font-size: 0.85rem;
	font-weight: 800;
	transition: background-color 0.2s, color 0.2s;
}

.bu-summary__count.is-on {
	background: var(--bu-brand);
	color: var(--bu-brand-ink);
}

.bu-empty {
	padding: 22px 16px;
	margin: 14px 0 6px !important;
	border: 1.5px dashed rgba(255, 255, 255, 0.18);
	border-radius: 12px;
	color: #a9b3ac;
	font-size: 0.92rem;
	text-align: center;
}

.bu-lines {
	list-style: none;
	margin: 0;
	padding: 0;
}

.bu-line {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 8px 12px;
	padding: 14px 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.bu-line__name {
	font-weight: 700;
	line-height: 1.3;
}

.bu-line__size {
	color: #a9b3ac;
	font-size: 0.85rem;
}

.bu-line__price {
	font-weight: 700;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

.bu-line__controls {
	grid-column: 1 / -1;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.bu-summary .bu-qty {
	height: 34px;
	border-color: rgba(255, 255, 255, 0.2);
	background: transparent;
}

.bu-shop .bu-summary .bu-qty button:not(#bu) {
	width: 32px;
	color: #fff;
}

.bu-shop .bu-summary .bu-qty button:not(#bu):hover {
	background: var(--bu-chalk-soft);
	color: var(--bu-brand);
}

.bu-shop .bu-line__remove:not(#bu) {
	padding: 4px 0;
	border: 0;
	background: none;
	color: #a9b3ac;
	font: inherit;
	font-size: 0.85rem;
	text-decoration: underline;
	text-underline-offset: 3px;
	box-shadow: none;
	cursor: pointer;
}

.bu-shop .bu-line__remove:not(#bu):hover {
	background: none;
	color: #fff;
}

.bu-total {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	padding: 16px 0 4px;
	font-size: 1.05rem;
	font-weight: 700;
}

.bu-total span:last-child {
	color: var(--bu-brand);
	font-size: 1.6rem;
	font-weight: 800;
	font-variant-numeric: tabular-nums;
}

/* Coordonnées, dans le panneau */
.bu-form {
	margin-top: 20px;
}

.bu-fieldset {
	margin: 0;
	padding: 0;
	border: 0;
	min-width: 0;
}

.bu-shop .bu-fieldset legend {
	padding: 0;
	margin-bottom: 12px;
	color: #fff;
	font-size: 1rem;
	font-weight: 700;
}

.bu-fields {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
}

.bu-fields .bu-field:last-child {
	grid-column: 1 / -1;
}

.bu-shop .bu-field label:not(#bu) {
	display: block;
	margin: 0 0 5px;
	color: #d5dbd6;
	font-size: 0.82rem;
	font-weight: 600;
}

.bu-shop .bu-field input:not(#bu) {
	display: block;
	width: 100%;
	height: 44px;
	margin: 0;
	padding: 0 12px;
	border: 1.5px solid transparent;
	border-radius: 10px;
	background: #fff;
	color: var(--bu-ink);
	font: inherit;
	font-size: 0.95rem;
	box-shadow: none;
}

.bu-shop .bu-field input:not(#bu):focus {
	border-color: var(--bu-brand);
	outline: 3px solid rgba(95, 172, 65, 0.45);
	outline-offset: 0;
}

.bu-shop .bu-field input[aria-invalid="true"]:not(#bu) {
	border-color: #f07167;
	outline: 3px solid rgba(240, 113, 103, 0.35);
}

.bu-field__hint {
	margin-top: 5px !important;
	color: #a9b3ac;
	font-size: 0.8rem;
}

.bu-check {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	margin-top: 16px;
	color: #d5dbd6;
	font-size: 0.9rem;
}

.bu-check a {
	color: #fff;
}

.bu-shop .bu-check input:not(#bu) {
	flex: none;
	width: 18px;
	height: 18px;
	margin: 2px 0 0;
	accent-color: var(--bu-brand);
}

.bu-hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.bu-errors {
	margin: 16px 0 0;
	padding: 12px 14px;
	border-radius: 10px;
	background: #fdecea;
	color: #6b1510;
	font-size: 0.9rem;
	white-space: pre-line;
}

.bu-errors:empty {
	display: none;
}

.bu-shop .bu-btn--pay:not(#bu) {
	width: 100%;
	min-height: 54px;
	margin-top: 20px;
	border-color: var(--bu-brand);
	background: var(--bu-brand);
	color: var(--bu-brand-ink);
	font-size: 1.05rem;
	font-weight: 800;
}

.bu-shop .bu-btn--pay:not(#bu):hover {
	background: #72bd53;
	border-color: #72bd53;
}

.bu-shop .bu-btn--pay:not(#bu)[disabled] {
	background: var(--bu-chalk-soft);
	border-color: var(--bu-chalk-soft);
	color: #7d8781;
	cursor: not-allowed;
	transform: none;
}

.bu-summary__secure {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	margin-top: 10px !important;
	color: #a9b3ac;
	font-size: 0.8rem;
}

.bu-summary__notes {
	margin-top: 18px;
	padding-top: 16px;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	display: grid;
	gap: 8px;
	color: #a9b3ac;
	font-size: 0.8rem;
	line-height: 1.45;
}

.bu-summary__notes strong {
	display: block;
	color: #fff;
	font-size: 0.85rem;
}

/* ---------- Messages ---------- */

.bu-notice {
	margin-bottom: 24px;
	padding: 14px 16px;
	border-radius: 12px;
	border-left: 4px solid var(--bu-brand);
	background: var(--bu-paper);
}

.bu-notice--error {
	border-left-color: var(--bu-danger);
	background: #fdecea;
	color: #6b1510;
}

.bu-preview-banner {
	max-width: 1200px;
	margin: 32px auto 0;
	padding: 12px 16px;
	border: 2px dashed #b26b00;
	border-radius: 12px;
	background: #fff8e6;
	color: #5c3700;
	font-size: 0.92rem;
}

/* ---------- Barre panier (téléphone) ---------- */

.bu-mobilebar {
	position: fixed;
	left: 12px;
	right: 12px;
	bottom: 12px;
	z-index: 999;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 8px 8px 8px 18px;
	border-radius: 999px;
	background: var(--bu-chalk);
	color: #fff;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
	transition: transform 0.2s, opacity 0.2s;
}

.bu-mobilebar[hidden] {
	display: flex;
	transform: translateY(140%);
	opacity: 0;
	pointer-events: none;
}

.bu-mobilebar__text {
	font-weight: 700;
	font-size: 0.92rem;
	font-variant-numeric: tabular-nums;
}

.bu-shop .bu-mobilebar .bu-btn:not(#bu) {
	flex: none;
	min-height: 40px;
	border-color: var(--bu-brand);
	background: var(--bu-brand);
	color: var(--bu-brand-ink);
	white-space: nowrap;
}

.bu-shop.bu-wide .bu-mobilebar {
	display: none !important;
}

/* ---------- Petits écrans ---------- */

.bu-shop.bu-narrow {
	padding-top: 32px;
}

.bu-shop.bu-narrow .bu-article {
	display: grid;
	grid-template-columns: 96px minmax(0, 1fr);
}

.bu-shop.bu-narrow .bu-article__media {
	aspect-ratio: auto;
	min-height: 100%;
}

.bu-shop.bu-narrow .bu-garment {
	width: 74%;
}

.bu-shop.bu-narrow .bu-article__tag {
	top: 8px;
	left: 8px;
	padding: 2px 7px;
	font-size: 0.7rem;
}

.bu-shop.bu-narrow .bu-article__body {
	padding: 14px;
}

.bu-shop.bu-narrow .bu-article__top {
	flex-direction: column;
	gap: 2px;
}

.bu-shop.bu-narrow .bu-summary {
	padding: 20px 16px;
}

.bu-shop.bu-narrow .bu-fields {
	grid-template-columns: 1fr;
}

/* ---------- Page de confirmation ---------- */

.bu-confirm {
	max-width: 620px;
}

.bu-shop .bu-confirm__title {
	font-size: 1.7rem;
	font-weight: 800;
	margin-bottom: 8px;
}

.bu-ticket {
	margin: 24px 0;
	padding: 28px 24px;
	border-radius: 18px;
	background: var(--bu-chalk);
	color: #fff;
	text-align: center;
}

.bu-ticket__label {
	color: #a9b3ac;
}

.bu-ticket__code {
	margin-top: 6px !important;
	color: var(--bu-brand);
	font-size: clamp(2.2rem, 8vw, 3rem);
	font-weight: 800;
	letter-spacing: 0.12em;
	font-family: ui-monospace, Consolas, Menlo, monospace;
}

.bu-shop .bu-ticket__qr {
	display: block;
	margin: 16px auto 0;
	padding: 8px;
	border-radius: 10px;
	background: #fff;
	image-rendering: pixelated;
}

.bu-ticket__order {
	margin-top: 12px !important;
	color: #a9b3ac;
	font-size: 0.9rem;
}

.bu-recap {
	width: 100%;
	margin: 0 0 24px;
	border-collapse: collapse;
}

.bu-recap th,
.bu-recap td {
	padding: 10px 0;
	border: 0;
	border-bottom: 1px solid var(--bu-line);
	background: none;
	text-align: left;
}

.bu-recap tfoot td {
	border-bottom: 0;
	font-weight: 800;
}

.bu-num {
	text-align: right !important;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

.bu-muted {
	color: var(--bu-muted);
}

.bu-shop .bu-confirm h3 {
	margin: 0 0 6px;
	font-size: 1.15rem;
}

.bu-waiting {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 24px;
	border: 1px solid var(--bu-line);
	border-radius: var(--bu-radius);
}

.bu-spinner {
	flex: none;
	width: 32px;
	height: 32px;
	border: 3px solid var(--bu-line);
	border-top-color: var(--bu-brand);
	border-radius: 50%;
	animation: bu-spin 0.9s linear infinite;
}

@keyframes bu-spin {
	to {
		transform: rotate(360deg);
	}
}

@media (prefers-reduced-motion: reduce) {
	.bu-shop *,
	.bu-shop *::before,
	.bu-shop *::after {
		transition: none !important;
		animation-duration: 0.01s !important;
	}
}

/* ---------- Page : bandeau ardoise + fond clair, pleine largeur ---------- */

body:has(.bu-page) {
	overflow-x: clip;
}

.bu-page {
	--bu-brand: #5fac41;
	--bu-chalk: #23292d;
	position: relative;
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	background: #f4f6f1;
	font-family: var(--e-global-typography-text-font-family, inherit);
}

.bu-hero {
	position: relative;
	overflow: hidden;
	padding: 170px 24px 64px; /* laisse la place à l'en-tête transparent du thème */
	background:
		radial-gradient(1200px 380px at 85% -10%, rgba(95, 172, 65, 0.22), transparent 60%),
		radial-gradient(900px 300px at -10% 120%, rgba(255, 255, 255, 0.06), transparent 60%),
		var(--bu-chalk);
	color: #fff;
}

/* Fines traces de craie */
.bu-hero::after {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	opacity: 0.5;
	background-image:
		repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.025) 0 2px, transparent 2px 9px);
}

.bu-hero::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 4px;
	background: var(--bu-brand);
}

.bu-hero__inner {
	position: relative;
	z-index: 1;
	max-width: 1200px;
	margin: 0 auto;
}

.bu-page .bu-hero__kicker {
	margin: 0 0 6px;
	color: var(--bu-brand);
	font-size: 0.95rem;
	font-weight: 700;
}

.bu-page .bu-hero__title {
	margin: 0;
	padding: 0;
	color: #fff;
	font-family: var(--e-global-typography-primary-font-family, inherit);
	font-size: clamp(2.4rem, 5vw, 3.6rem);
	font-weight: 800;
	line-height: 1.05;
	letter-spacing: -0.01em;
	text-transform: none;
}

.bu-page .bu-hero__lead {
	max-width: 56ch;
	margin: 14px 0 0;
	color: #c9d1cb;
	font-size: 1.08rem;
	line-height: 1.5;
}

.bu-page .bu-hero__steps {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 28px;
	margin: 28px 0 0;
	padding: 0;
	list-style: none;
	color: #e7ece8;
	font-size: 0.95rem;
	font-weight: 600;
}

.bu-hero__steps li {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0;
}

.bu-hero__steps span {
	display: inline-grid;
	place-items: center;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: var(--bu-brand);
	color: #13230d;
	font-size: 0.85rem;
	font-weight: 800;
}

.bu-page .bu-hero__badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 18px;
	padding: 5px 12px;
	border: 1px solid rgba(255, 196, 0, 0.55);
	border-radius: 999px;
	background: rgba(255, 196, 0, 0.12);
	color: #ffd75e;
	font-size: 0.8rem;
	font-weight: 700;
	cursor: help;
}

.bu-hero__badge::before {
	content: "";
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #ffc400;
}

.bu-page__body {
	padding: 56px 24px 80px;
}

.bu-page--nohero .bu-page__body {
	padding-top: 40px;
}

.bu-page__badge {
	max-width: 1200px;
	margin: 0 auto;
	padding: 24px 24px 0;
}

.bu-page__badge .bu-hero__badge {
	color: #7a5600;
	background: #fff6d6;
	border-color: #f0c64a;
}

.bu-page .bu-shop {
	padding: 0;
}

.bu-page .bu-article {
	border-color: #e6e9e2;
	box-shadow: 0 1px 2px rgba(30, 35, 38, 0.04);
}

.bu-page .bu-article__media {
	background:
		radial-gradient(circle at 50% 45%, #fff 0, rgba(255, 255, 255, 0) 62%),
		#eef1ea;
}

.bu-page .bu-head {
	border-bottom-color: #d6dbd2;
}

.bu-page .bu-notice {
	background: #fff;
}

.bu-page .bu-confirm {
	margin: 0 auto;
}

@media (max-width: 600px) {
	.bu-hero {
		padding: 130px 20px 44px;
	}
	.bu-page__body {
		padding: 32px 16px 96px;
	}
	.bu-page .bu-hero__steps {
		gap: 10px 18px;
		font-size: 0.88rem;
	}
}

/* Fond : papier de cahier quadrillé, très discret */
.bu-page__body {
	background-color: #f4f6f1;
	background-image:
		linear-gradient(180deg, rgba(244, 246, 241, 0) 70%, #f4f6f1 100%),
		linear-gradient(rgba(53, 110, 37, 0.07) 1px, transparent 1px),
		linear-gradient(90deg, rgba(53, 110, 37, 0.07) 1px, transparent 1px);
	background-size: 100% 100%, 26px 26px, 26px 26px;
	background-position: 0 0, -1px -1px, -1px -1px;
}

/* ---------- Fenêtre « Avant de payer » ---------- */

.bu-dialog {
	width: min(480px, calc(100vw - 32px));
	padding: 0;
	border: 0;
	border-radius: 18px;
	background: #fff;
	color: #1e2326;
	box-shadow: 0 30px 80px -20px rgba(20, 25, 28, 0.55);
}

.bu-dialog::backdrop {
	background: rgba(20, 25, 28, 0.55);
}

.bu-dialog__box {
	margin: 0;
	padding: 28px 24px 24px;
	border-top: 6px solid #5fac41;
}

.bu-shop .bu-dialog__title {
	margin: 0 0 12px;
	font-size: 1.35rem;
	font-weight: 800;
}

.bu-shop .bu-dialog__text {
	margin: 0 0 10px;
	color: #3d4642;
	font-size: 0.97rem;
	line-height: 1.5;
}

.bu-dialog__steps {
	margin: 4px 0 0;
	padding: 14px 16px 14px 36px;
	border-radius: 12px;
	background: #f4f6f1;
	font-size: 0.95rem;
	line-height: 1.5;
}

.bu-dialog__steps li + li {
	margin-top: 6px;
}

.bu-dialog__actions {
	display: flex;
	gap: 10px;
	margin-top: 22px;
}

.bu-shop .bu-dialog__actions .bu-btn:not(#bu) {
	flex: 1;
	margin: 0;
	min-height: 48px;
	font-size: 0.95rem;
}

.bu-shop .bu-dialog__actions .bu-btn--pay:not(#bu) {
	flex: 1.4;
}
