/*
 * Je Travel Pay 1.10.0 — feuille commune des caisses (« jtp-ui »).
 *
 * Partagée par la caisse de Je Travel Pay, la page « Ma commande » du Learning System et la commande de Je Travel Shop
 * (D-PAYUI-1). Charte : jetons du Learning System 1.63 (Brand Book v5) — bleu #1276A8 pour agir, jaune #F8B400 réservé
 * au bouton d'achat, bleu marine #0B2545 pour les titres, Montserrat + Poppins (fournies par le thème).
 *
 * Tout est rangé sous la classe .jtp-ui (aucune règle globale) : la feuille ne touche jamais le reste du site.
 * Le thème BuddyBoss repeint tout <button> (bleu clair, marges) : les boutons d'ici forcent leurs couleurs (!important ciblé).
 * Mise en page par requêtes de conteneur : la caisse s'adapte à la place qu'elle a, pas seulement à l'écran.
 */

.jtp-ui {
	--jtp-ink: #0B2545;
	--jtp-text: #243B53;
	--jtp-muted: #5B6776;
	--jtp-line: #E3E8EF;
	--jtp-line-soft: #EEF2F6;
	--jtp-bg: #F5F7FA;
	--jtp-blue: #1276A8;
	--jtp-blue-dark: #0E5F87;
	--jtp-blue-pale: #E3F6FD;
	--jtp-yellow: #F8B400;
	--jtp-yellow-dark: #DFA200;
	--jtp-yellow-pale: #FEF6DC;
	--jtp-green: #147A74;
	--jtp-green-pale: #E8F7F5;
	--jtp-amber: #7A5700;
	--jtp-amber-pale: #FFF4D6;
	--jtp-red: #B3202C;
	--jtp-red-pale: #FEF0F1;
	--jtp-radius-sm: 8px;
	--jtp-radius: 12px;
	--jtp-font-title: Montserrat, Poppins, system-ui, -apple-system, "Segoe UI", sans-serif;
	--jtp-font: Poppins, system-ui, -apple-system, "Segoe UI", sans-serif;
	/* Hauteur de la barre du bas de Navigation sur téléphone (la barre d'achat se pose au-dessus). */
	--jtp-bottom-offset: 0px;
	container-type: inline-size;
	color: var(--jtp-text);
	font-family: var(--jtp-font);
	font-size: 15px;
	line-height: 1.55;
}

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

.jtp-ui h1,
.jtp-ui h2,
.jtp-ui h3 {
	margin: 0;
	font-family: var(--jtp-font-title);
	color: var(--jtp-ink);
	line-height: 1.25;
}

.jtp-ui p {
	margin: 0;
}

.jtp-ui a {
	color: var(--jtp-blue);
}

.jtp-ui [hidden] {
	display: none !important;
}

.jtp-ico {
	width: 18px;
	height: 18px;
	flex: none;
	vertical-align: middle;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.jtp-sr {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

/* ------------------------------------------------------------------ Cartes et blocs numérotés */
.jtp-card {
	min-width: 0;
	padding: 20px;
	border: 1px solid var(--jtp-line);
	border-radius: var(--jtp-radius);
	background: #fff;
}

.jtp-card + .jtp-card {
	margin-top: 16px;
}

.jtp-card__head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 12px;
	margin-bottom: 16px;
}

.jtp-card__num {
	display: inline-grid;
	place-items: center;
	flex: none;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: var(--jtp-ink);
	color: #fff;
	font: 700 13px/1 var(--jtp-font-title);
}

.jtp-card__num--done {
	background: var(--jtp-green);
}

.jtp-card__title {
	font: 700 17px/1.3 var(--jtp-font-title);
	color: var(--jtp-ink);
}

.jtp-card__aside {
	margin-left: auto;
	font-size: 13px;
	color: var(--jtp-muted);
}

/* ------------------------------------------------------------------ Champs */
.jtp-ui .jtp-field {
	display: grid;
	gap: 6px;
	min-width: 0;
	font-size: 13px;
	font-weight: 500;
	color: var(--jtp-ink);
}

.jtp-ui .jtp-field em {
	font-style: normal;
	font-weight: 400;
	color: var(--jtp-muted);
}

.jtp-ui .jtp-field input,
.jtp-ui .jtp-field select,
.jtp-ui .jtp-field textarea,
.jtp-ui .jtp-input {
	width: 100%;
	min-width: 0;
	min-height: 46px;
	padding: 10px 12px;
	border: 1px solid #C9D3DE;
	border-radius: var(--jtp-radius-sm);
	background: #fff;
	color: var(--jtp-ink);
	font: 400 15px/1.4 var(--jtp-font);
}

.jtp-ui .jtp-field input:focus,
.jtp-ui .jtp-field select:focus,
.jtp-ui .jtp-input:focus {
	outline: 3px solid rgba(18, 118, 168, .25);
	outline-offset: 0;
	border-color: var(--jtp-blue);
}

.jtp-ui .jtp-field input[aria-invalid="true"] {
	border-color: var(--jtp-red);
	background: var(--jtp-red-pale);
}

.jtp-check {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	font-size: 14px;
	cursor: pointer;
}

.jtp-check input {
	flex: none;
	width: 20px;
	height: 20px;
	margin: 2px 0 0;
	accent-color: var(--jtp-blue);
}

.jtp-grid2 {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 12px;
}

@container (min-width: 520px) {
	.jtp-grid2 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* ------------------------------------------------------------------ Boutons */
.jtp-ui .jtp-buy {
	display: inline-flex !important;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0;
	width: 100%;
	min-height: 56px;
	margin: 0;
	padding: 10px 20px !important;
	border: 0 !important;
	border-radius: var(--jtp-radius-sm) !important;
	background: var(--jtp-yellow) !important;
	box-shadow: 0 2px 0 var(--jtp-yellow-dark);
	color: var(--jtp-ink) !important;
	font: 700 17px/1.25 var(--jtp-font-title) !important;
	text-align: center;
	text-decoration: none !important;
	text-transform: none !important;
	letter-spacing: 0 !important;
	cursor: pointer;
	transition: background-color .15s ease;
}

.jtp-ui .jtp-buy:hover,
.jtp-ui .jtp-buy:focus-visible {
	background: #FFC21F !important;
	color: var(--jtp-ink) !important;
}

.jtp-ui .jtp-buy:focus-visible {
	outline: 3px solid var(--jtp-ink);
	outline-offset: 2px;
}

.jtp-ui .jtp-buy[aria-busy="true"] {
	opacity: .7;
	cursor: progress;
}

.jtp-buy__sub {
	display: block;
	font: 500 12px/1.3 var(--jtp-font);
	opacity: .85;
}

.jtp-ui .jtp-btn-line {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 44px;
	padding: 8px 16px !important;
	border: 1px solid #B9D4E4 !important;
	border-radius: var(--jtp-radius-sm) !important;
	background: #fff !important;
	color: var(--jtp-blue) !important;
	font: 600 14px/1.2 var(--jtp-font) !important;
	text-decoration: none !important;
	text-transform: none !important;
	cursor: pointer;
}

.jtp-ui .jtp-btn-line:hover {
	border-color: var(--jtp-blue) !important;
}

.jtp-ui .jtp-btn-blue {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 46px;
	padding: 10px 20px !important;
	border: 0 !important;
	border-radius: var(--jtp-radius-sm) !important;
	background: var(--jtp-blue) !important;
	color: #fff !important;
	font: 600 15px/1.2 var(--jtp-font) !important;
	text-decoration: none !important;
	text-transform: none !important;
	cursor: pointer;
}

.jtp-ui .jtp-btn-blue:hover {
	background: var(--jtp-blue-dark) !important;
}

.jtp-ui .jtp-btn-quiet {
	display: inline-flex !important;
	align-items: center;
	min-height: 44px;
	padding: 8px !important;
	border: 0 !important;
	background: transparent !important;
	color: var(--jtp-muted) !important;
	font: 500 14px/1.2 var(--jtp-font) !important;
	text-decoration: underline !important;
	cursor: pointer;
}

.jtp-ui .jtp-link {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	padding: 0;
	border: 0;
	background: none;
	color: var(--jtp-blue);
	font-size: 14px;
	text-decoration: underline;
	cursor: pointer;
}

/* ------------------------------------------------------------------ Pastilles et messages */
.jtp-badge {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 2px 8px;
	border-radius: 999px;
	background: var(--jtp-blue-pale);
	color: var(--jtp-blue-dark);
	font: 600 12px/1.5 var(--jtp-font);
	white-space: nowrap;
}

.jtp-badge--green { background: var(--jtp-green-pale); color: var(--jtp-green); }
.jtp-badge--yellow { background: var(--jtp-yellow-pale); color: var(--jtp-amber); }
.jtp-badge--red { background: var(--jtp-red-pale); color: var(--jtp-red); }
.jtp-badge--grey { background: var(--jtp-line-soft); color: var(--jtp-muted); }

.jtp-notice {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	padding: 12px 14px;
	border-radius: var(--jtp-radius-sm);
	background: var(--jtp-blue-pale);
	color: #0C4A6B;
	font-size: 14px;
	text-align: left;
}

.jtp-notice--warn { background: var(--jtp-amber-pale); color: #5E3E00; }
.jtp-notice--error { background: var(--jtp-red-pale); color: #7D1620; }
.jtp-notice--ok { background: var(--jtp-green-pale); color: #0E5753; }

.jtp-notice .jtp-ico {
	margin-top: 2px;
}

/* ------------------------------------------------------------------ Repli (code promo, cadeau…) */
.jtp-extras {
	margin: 0;
}

.jtp-extras > summary {
	display: flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	list-style: none;
	color: var(--jtp-blue);
	font-size: 14px;
	font-weight: 500;
	cursor: pointer;
}

.jtp-extras > summary::-webkit-details-marker {
	display: none;
}

.jtp-extras > summary .jtp-ico:last-child {
	margin-left: auto;
	transition: transform .15s ease;
}

.jtp-extras[open] > summary .jtp-ico:last-child {
	transform: rotate(180deg);
}

.jtp-extras__body {
	display: grid;
	gap: 12px;
	padding: 4px 0 8px;
}

.jtp-inline {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 8px;
	align-items: end;
}

/* ------------------------------------------------------------------ Tuiles de choix (moyens de paiement, formules) */
.jtp-tiles {
	display: grid;
	gap: 10px;
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0;
}

.jtp-tile {
	position: relative;
	display: grid;
	grid-template-columns: 22px minmax(0, 1fr);
	gap: 6px 12px;
	align-items: start;
	min-width: 0;
	padding: 14px;
	border: 1px solid #C9D3DE;
	border-radius: var(--jtp-radius);
	background: #fff;
	cursor: pointer;
	transition: border-color .15s ease, background-color .15s ease;
}

.jtp-tile:hover {
	border-color: var(--jtp-blue);
}

.jtp-tile:has(> input:checked),
.jtp-tile.is-on {
	border-color: var(--jtp-blue);
	box-shadow: 0 0 0 1px var(--jtp-blue);
	background: #F4FAFD;
}

.jtp-tile > input[type="radio"] {
	width: 20px;
	height: 20px;
	margin: 2px 0 0;
	accent-color: var(--jtp-blue);
}

.jtp-tile > input[type="radio"]:focus-visible {
	outline: 2px solid var(--jtp-blue);
	outline-offset: 2px;
}

.jtp-tile__body {
	display: grid;
	gap: 2px;
	min-width: 0;
}

.jtp-tile__title {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
	font-weight: 600;
	color: var(--jtp-ink);
}

.jtp-tile__desc {
	font-size: 13px;
	color: var(--jtp-muted);
}

.jtp-tile__more {
	grid-column: 2 / -1;
	display: grid;
	gap: 10px;
	min-width: 0;
}

/* Deux tuiles côte à côte (« En une fois » / « En N fois ») */
.jtp-tiles--row {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.jtp-tiles--row .jtp-tile {
	grid-template-columns: minmax(0, 1fr);
	padding: 12px 14px;
	text-decoration: none;
	color: inherit;
}

/* ------------------------------------------------------------------ Récapitulatif et confiance */
.jtp-recap__rows {
	display: grid;
	gap: 8px;
	margin: 12px 0;
	font-size: 14px;
}

.jtp-recap__row {
	display: flex;
	justify-content: space-between;
	gap: 12px;
}

.jtp-recap__row > :last-child {
	white-space: nowrap;
}

.jtp-recap__row--disc {
	color: var(--jtp-green);
}

.jtp-recap__total {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	padding-top: 12px;
	border-top: 1px solid var(--jtp-line);
}

.jtp-recap__total strong {
	font: 800 26px/1.1 var(--jtp-font-title);
	color: var(--jtp-ink);
	white-space: nowrap;
}

.jtp-recap__sub {
	margin-top: 4px;
	font-size: 12px;
	color: var(--jtp-muted);
	text-align: right;
}

.jtp-trust {
	display: grid;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 13px;
}

.jtp-trust li {
	display: grid;
	grid-template-columns: 20px minmax(0, 1fr);
	gap: 10px;
}

.jtp-trust .jtp-ico {
	margin-top: 2px;
	color: var(--jtp-blue);
}

.jtp-trust strong {
	display: block;
	color: var(--jtp-ink);
	font-weight: 600;
}

.jtp-legal {
	font-size: 12px;
	color: var(--jtp-muted);
	text-align: center;
}

.jtp-secure {
	display: flex;
	gap: 8px;
	align-items: flex-start;
	font-size: 13px;
	color: var(--jtp-muted);
}

.jtp-secure .jtp-ico {
	color: var(--jtp-green);
	margin-top: 1px;
}

/* ------------------------------------------------------------------ Propositions (montée en gamme, après paiement) */
.jtp-upsell {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 12px 16px;
	align-items: center;
	padding: 16px;
	border: 1px dashed #E2B53A;
	border-radius: var(--jtp-radius);
	background: var(--jtp-yellow-pale);
}

@container (min-width: 520px) {
	.jtp-upsell {
		grid-template-columns: minmax(0, 1fr) auto;
	}
	.jtp-upsell__cta {
		justify-items: end;
	}
}

.jtp-upsell__kicker {
	display: flex;
	align-items: center;
	gap: 6px;
	color: var(--jtp-amber);
	font: 600 12px/1.4 var(--jtp-font);
	text-transform: uppercase;
	letter-spacing: .4px;
}

.jtp-upsell__title {
	margin-top: 4px;
	font: 700 16px/1.3 var(--jtp-font-title);
	color: var(--jtp-ink);
}

.jtp-upsell__list {
	display: grid;
	gap: 4px;
	margin: 8px 0 0;
	padding: 0;
	list-style: none;
	font-size: 14px;
}

.jtp-upsell__list li {
	display: flex;
	gap: 6px;
}

.jtp-upsell__list .jtp-ico {
	width: 16px;
	height: 16px;
	margin-top: 3px;
	color: var(--jtp-green);
}

.jtp-upsell__cta {
	display: grid;
	gap: 6px;
}

.jtp-upsell__price {
	font: 700 15px/1.3 var(--jtp-font-title);
	color: var(--jtp-ink);
	white-space: nowrap;
}

.jtp-upsell__price small {
	display: block;
	font: 400 12px/1.4 var(--jtp-font);
	color: var(--jtp-muted);
}

.jtp-upsell--done {
	border-style: solid;
	border-color: #9FD3CE;
	background: var(--jtp-green-pale);
}

/* ------------------------------------------------------------------ Barre d'achat collante (téléphone) */
.jtp-paybar {
	position: fixed;
	z-index: 9990;
	left: 0;
	right: 0;
	bottom: var(--jtp-bottom-offset);
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 10px;
	align-items: center;
	padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
	border-top: 1px solid var(--jtp-line);
	background: #fff;
	box-shadow: 0 -6px 18px rgba(11, 37, 69, .08);
	visibility: hidden;
	transform: translateY(110%);
	transition: transform .2s ease, visibility 0s linear .2s;
}

.jtp-paybar.is-on {
	visibility: visible;
	transform: none;
	transition: transform .2s ease, visibility 0s;
}

.jtp-paybar__total {
	min-width: 0;
	font: 800 19px/1.15 var(--jtp-font-title);
	color: var(--jtp-ink);
	white-space: nowrap;
}

.jtp-paybar__total small {
	display: block;
	overflow: hidden;
	font: 400 11px/1.4 var(--jtp-font);
	color: var(--jtp-muted);
	text-overflow: ellipsis;
}

.jtp-ui .jtp-paybar .jtp-buy {
	width: auto;
	min-height: 50px;
	padding-inline: 18px !important;
	font-size: 16px !important;
}

/* Recette du 11/11 : à 320 px, « 49,99 € » était rogné par le bouton (11 px de trop). */
@media (max-width: 359px) {
	.jtp-paybar {
		gap: 8px;
		padding-inline: 12px;
	}

	.jtp-paybar__total {
		font-size: 17px;
	}

	.jtp-ui .jtp-paybar .jtp-buy {
		padding-inline: 12px !important;
		font-size: 15px !important;
	}
}

@media (min-width: 783px) {
	.jtp-paybar {
		display: none !important;
	}
}

/*
 * Recette du 11/11 : sur une page de caisse, le bandeau « Dis-nous ce qui t'amène » (JeTravel Auth) se posait sur la
 * barre d'achat du téléphone et en cachait le bouton. Il reste montré partout ailleurs (DÉCISION PROVISOIRE, Q-PAYUI-6).
 */
body:has(.jtp-paybar) .jta-profile-banner {
	display: none !important;
}

/*
 * Recette du 11/11 : le thème met « overflow-x: hidden » sur .site, ce qui en fait un conteneur de défilement :
 * le récapitulatif collant (position: sticky) des caisses ne collait plus. « clip » coupe de la même façon sans créer
 * de conteneur de défilement. Seulement sur les pages qui ont une caisse.
 */
@supports (overflow: clip) {
	body:has(.jtp-ui) .site {
		overflow-x: clip;
		overflow-y: visible;
	}
}

@media (prefers-reduced-motion: reduce) {
	.jtp-paybar {
		transition: none;
	}
}

/* ------------------------------------------------------------------ Aide */
.jtp-help {
	display: flex;
	gap: 12px;
	align-items: center;
	font-size: 14px;
}

.jtp-help .jtp-ico {
	color: var(--jtp-green);
}

/* Barre du bas de Je Travel Navigation (membres, écrans < 1200 px, 68 px) : la barre d'achat se pose au-dessus. */
@media (max-width: 1199px) {
	body.jtnav-member .jtp-paybar {
		bottom: calc(68px + env(safe-area-inset-bottom, 0px));
		padding-bottom: 10px;
	}
}

/* ------------------------------------------------------------------ Proposition après paiement (carte « C ») */
.jtp-cross {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 14px;
	border-color: #E2B53A;
	background: linear-gradient(180deg, var(--jtp-yellow-pale), #fff 70%);
}

@container (min-width: 520px) {
	.jtp-cross {
		grid-template-columns: 56px minmax(0, 1fr);
		gap: 16px;
	}
}

.jtp-cross__icon {
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	border: 1px solid #F2D27A;
	border-radius: var(--jtp-radius);
	background: #fff;
	color: var(--jtp-amber);
}

.jtp-cross__icon .jtp-ico {
	width: 24px;
	height: 24px;
}

.jtp-cross__body {
	display: grid;
	gap: 8px;
	justify-items: start;
	min-width: 0;
}

.jtp-cross__text {
	font-size: 14px;
	color: var(--jtp-text);
}

.jtp-cross__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 12px;
	width: 100%;
	margin-top: 6px;
}

.jtp-ui .jtp-cross__actions .jtp-buy {
	width: auto;
	min-height: 48px;
	font-size: 15px !important;
}

@container (max-width: 519px) {
	.jtp-ui .jtp-cross__actions .jtp-buy {
		width: 100%;
	}
}

/* ------------------------------------------------------------------ 1.11.0 : « Complète ta commande » (articles en plus) */
/*
 * Maquette du 13/11/2026 (docs/Pay/maquettes-complements/index.html). Mobile d'abord : à 320 px, case + texte + prix sur
 * une ligne, sans vignette ; la vignette n'apparaît qu'à partir de 520 px de caisse. Les couleurs ont une valeur de
 * secours si le bloc est posé hors d'un conteneur .jtp-ui. Cases jamais cochées d'avance (loi européenne).
 */
.jtp-card.jtp-bump {
	min-width: 0;
	margin: 0 0 16px;
	padding: 16px;
	border: 2px solid var(--jtp-blue, #1276A8);
	border-radius: var(--jtp-radius, 12px);
	background: linear-gradient(180deg, var(--jtp-blue-pale, #E3F6FD), #fff 60%);
	color: var(--jtp-text, #243B53);
	font-family: var(--jtp-font, Poppins, system-ui, sans-serif);
}

.jtp-card.jtp-bump + .jtp-card {
	margin-top: 0;
}

.jtp-bump .jtp-card__head {
	margin-bottom: 10px;
}

.jtp-bump .jtp-card__title {
	margin: 0;
	font: 700 17px/1.3 var(--jtp-font-title, Montserrat, Poppins, system-ui, sans-serif);
	color: var(--jtp-ink, #0B2545);
}

.jtp-bump__opt {
	font: 500 13px/1.3 var(--jtp-font, Poppins, system-ui, sans-serif);
	color: var(--jtp-muted, #5B6776);
}

.jtp-bump__lead {
	margin: 0 0 12px;
	font-size: 13px;
	line-height: 1.45;
	color: var(--jtp-muted, #5B6776);
}

.jtp-bump__list {
	display: grid;
	gap: 10px;
	min-width: 0;
}

.jtp-bump-item {
	display: grid;
	grid-template-columns: 24px minmax(0, 1fr) auto;
	gap: 10px;
	align-items: center;
	min-width: 0;
	margin: 0;
	padding: 12px;
	border: 1px solid var(--jtp-line, #E3E8EF);
	border-radius: 10px;
	background: #fff;
	color: var(--jtp-text, #243B53);
	font-size: 14px;
	font-weight: 400;
	line-height: 1.4;
	cursor: pointer;
	transition: border-color .15s ease, box-shadow .15s ease;
}

.jtp-bump-item:hover {
	border-color: var(--jtp-blue, #1276A8);
}

.jtp-bump-item.is-on,
.jtp-bump-item:has(> input:checked) {
	border-color: var(--jtp-green, #147A74);
	box-shadow: 0 0 0 3px var(--jtp-green-pale, #E8F7F5);
}

/* Le thème BuddyBoss redessine les cases à cocher : on garde la case native, à la bonne taille. */
.jtp-bump-item > input[type="checkbox"] {
	-webkit-appearance: checkbox !important;
	appearance: auto !important;
	position: static !important;
	width: 22px !important;
	height: 22px !important;
	min-width: 22px;
	margin: 0 !important;
	padding: 0 !important;
	opacity: 1 !important;
	accent-color: var(--jtp-green, #147A74);
	cursor: pointer;
}

.jtp-bump-item > input[type="checkbox"]:focus-visible {
	outline: 2px solid var(--jtp-blue, #1276A8);
	outline-offset: 2px;
}

.jtp-bump-item__thumb {
	display: none;
	place-items: center;
	width: 52px;
	height: 52px;
	overflow: hidden;
	padding: 4px;
	border-radius: 8px;
	background: linear-gradient(135deg, var(--jtp-blue, #1276A8), var(--jtp-ink, #0B2545));
	color: #fff;
	font: 800 10px/1.1 var(--jtp-font-title, Montserrat, Poppins, system-ui, sans-serif);
	text-align: center;
	letter-spacing: .02em;
}

.jtp-bump-item__thumb--seance {
	background: linear-gradient(135deg, var(--jtp-green, #147A74), #0B4F4B);
}

.jtp-bump-item__thumb img {
	display: block;
	width: 52px;
	height: 52px;
	margin: -4px;
	max-width: none;
	object-fit: cover;
}

.jtp-bump-item__body {
	display: block;
	min-width: 0;
}

.jtp-bump-item__name {
	display: block;
	overflow-wrap: break-word;
	font-weight: 600;
	color: var(--jtp-ink, #0B2545);
}

.jtp-bump-item__why {
	display: inline-block;
	max-width: 100%;
	margin-top: 3px;
	padding: 1px 8px;
	border-radius: 999px;
	background: var(--jtp-blue-pale, #E3F6FD);
	color: var(--jtp-blue-dark, #0E5F87);
	font-size: 12px;
	line-height: 1.5;
	overflow-wrap: anywhere;
}

.jtp-bump-item__why--seance {
	background: var(--jtp-green-pale, #E8F7F5);
	color: var(--jtp-green, #147A74);
}

.jtp-bump-item__note {
	display: block;
	margin-top: 3px;
	font-size: 12px;
	color: var(--jtp-muted, #5B6776);
}

.jtp-bump-item__added {
	display: none;
	margin-top: 3px;
	font-size: 12px;
	font-weight: 600;
	color: var(--jtp-green, #147A74);
}

.jtp-bump-item.is-on .jtp-bump-item__added,
.jtp-bump-item:has(> input:checked) .jtp-bump-item__added {
	display: block;
}

.jtp-bump-item__price {
	display: block;
	max-width: 96px;
	text-align: right;
}

.jtp-bump-item__amount {
	display: block;
	font: 800 15px/1.2 var(--jtp-font-title, Montserrat, Poppins, system-ui, sans-serif);
	color: var(--jtp-ink, #0B2545);
	white-space: nowrap;
}

.jtp-bump-item__price small {
	display: block;
	font-size: 11px;
	line-height: 1.3;
	color: var(--jtp-muted, #5B6776);
}

.jtp-bump__foot {
	display: flex;
	gap: 6px;
	align-items: flex-start;
	margin: 10px 0 0;
	font-size: 12px;
	line-height: 1.45;
	color: var(--jtp-muted, #5B6776);
}

.jtp-bump__foot .jtp-ico {
	width: 16px;
	height: 16px;
	margin-top: 1px;
}

@container (min-width: 520px) {
	.jtp-card.jtp-bump {
		padding: 18px 20px;
	}

	.jtp-bump-item {
		grid-template-columns: 26px 52px minmax(0, 1fr) auto;
		gap: 12px;
	}

	.jtp-bump-item__thumb {
		display: grid;
	}

	.jtp-bump-item__price {
		max-width: none;
	}
}

/*
 * Recette du 14/11 : à 320 px dans « Ma commande », le titre n'avait qu'environ 70 px (prix à droite) et se coupait au
 * milieu des mots. Le bloc mesure sa propre largeur : sous 400 px, le prix passe sous le titre.
 */
.jtp-card.jtp-bump {
	container-type: inline-size;
}

@container (max-width: 400px) {
	.jtp-bump-item {
		grid-template-columns: 24px minmax(0, 1fr);
		align-items: start;
	}

	.jtp-bump-item > input[type="checkbox"] {
		margin-top: 2px;
	}

	.jtp-bump-item__price {
		display: flex;
		flex-wrap: wrap;
		grid-column: 2;
		gap: 2px 8px;
		align-items: baseline;
		max-width: none;
		text-align: left;
	}
}

/* Très petit téléphone (320 px) : un peu moins d'espace autour, le prix ne pousse jamais le texte hors du cadre. */
@media (max-width: 359px) {
	.jtp-card.jtp-bump {
		padding: 12px;
	}

	.jtp-bump-item {
		gap: 8px;
		padding: 10px;
	}

	.jtp-bump-item__amount {
		font-size: 14px;
	}
}

/* Lignes ajoutées sous l'achat principal (caisse de Pay) et dans un récapitulatif. */
.jtp-pay__adds:empty {
	display: none;
}

.jtp-pay__adds,
[data-jtp-bump-recap] {
	display: grid;
	gap: 4px;
	min-width: 0;
}

.jtp-recap__row--add {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	font-size: 14px;
	color: var(--jtp-green, #147A74);
}

.jtp-recap__row--add > :first-child {
	min-width: 0;
	overflow-wrap: anywhere;
}

.jtp-recap__row--add > :last-child {
	white-space: nowrap;
}
