/*
 * Espace client « Mon compte » — nouveau design (maquette « Espace client TennisBox », refonte/maquettes/compte/).
 * Balisage : account.php + woocommerce/myaccount/*.php ; données : inc/account.php ; script : assets/js/account.js.
 * Bascule mobile sous 768 px : navigation en onglets défilants, tableaux en cartes.
 */

.tbx-acc {
	--orange: #cb5223;
	--orange-h: #b8461c;
	--orange-t: #b2532b;
	--navy: #004b76;
	--ink: #0f2a3d;
	--ink-2: #3e5063;
	--ink-3: #5a6b7c;
	--band: #f8ebe1;
	--box-bg: #fbeee6;
	--soft: #fbf5ef;
	--line: #eadfd4;
	--sep: #f0e7de;
	--field: #d8ccc0;
	--green: #0e7a40;
	--pad: max(clamp(16px, 5.5vw, 80px), calc((100% - 1280px) / 2));
	display: block;
	background: #fff;
	color: var(--ink);
	font-family: var(--tbx-font, "Inter", system-ui, sans-serif);
	-webkit-font-smoothing: antialiased;
}

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

.tbx-acc p {
	margin: 0;
}

.tbx-acc a {
	color: var(--navy);
	text-decoration: none;
}

.tbx-acc a:hover {
	color: var(--orange);
}

.tbx-acc :focus-visible {
	outline: 2px solid var(--navy);
	outline-offset: 2px;
}

.tbx-acc .screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

/* ---------- Titres ---------- */
.tbx-acc .tbx-acc-h1 {
	margin: 0;
	color: var(--navy);
	font-family: inherit;
	font-size: 56px;
	font-weight: 900;
	letter-spacing: -.045em;
	line-height: 1;
	text-transform: none;
}

.tbx-acc .tbx-acc-h1 span {
	color: var(--orange);
}

.tbx-acc .tbx-acc-h2 {
	margin: 0;
	color: var(--navy);
	font-family: inherit;
	font-size: 36px;
	font-weight: 900;
	letter-spacing: -.045em;
	line-height: 1.05;
}

.tbx-acc .tbx-acc-h2--sm {
	font-size: 30px;
	letter-spacing: -.04em;
	line-height: 1.1;
}

.tbx-acc .tbx-acc-h3 {
	margin: 0;
	color: var(--navy);
	font-family: inherit;
	font-size: 26px;
	font-weight: 900;
	letter-spacing: -.04em;
	line-height: 1.15;
}

/* ---------- Bandeau titre ---------- */
.tbx-acc-band {
	display: flex;
	flex-direction: column;
	gap: 16px;
	padding: 32px var(--pad) 44px;
	background: var(--band);
}

.tbx-acc-crumbs {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 8px;
	color: var(--ink-3);
	font-size: 14px;
}

.tbx-acc .tbx-acc-crumbs a {
	color: var(--ink-3);
	font-weight: 600;
}

.tbx-acc .tbx-acc-crumbs a:hover {
	color: var(--orange);
}

.tbx-acc-crumbs [aria-current] {
	color: var(--ink);
	font-weight: 600;
}

.tbx-acc-band__title {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 20px;
}

.tbx-acc-band::after,
.tbx-acc-auth__intro .tbx-acc-h1::after {
	content: "";
	display: block;
	width: 72px;
	height: 6px;
	border-radius: 3px;
	background: var(--orange);
}

.tbx-acc-band::after {
	order: 3;
}

.tbx-acc-band .tbx-acc-intro {
	order: 4;
}

.tbx-acc-auth__intro .tbx-acc-h1::after {
	width: 64px;
	margin-top: 16px;
}

.tbx-acc-intro {
	max-width: 680px;
	color: var(--ink-2);
	font-size: 18px;
	line-height: 1.55;
	text-wrap: pretty;
}

/* ---------- Mise en page : navigation | contenu ---------- */
.tbx-acc-layout {
	display: grid;
	grid-template-columns: 264px minmax(0, 1fr);
	align-items: start;
	gap: 48px;
	padding: 48px var(--pad) 96px;
}

.tbx-acc-content {
	display: flex;
	flex-direction: column;
	gap: 40px;
	min-width: 0;
}

.tbx-acc-logout-mobile {
	display: none;
}

/* WooCommerce met la navigation et le contenu en flottants (30 % / 68 %) : neutralisé ici. */
.woocommerce-account .tbx-acc .woocommerce-MyAccount-navigation,
.woocommerce-account .tbx-acc .woocommerce-MyAccount-content {
	float: none;
	width: auto;
	margin: 0;
}

/* Navigation (ordinateur) */
.tbx-acc-nav {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 12px;
	border-radius: 24px;
	background: var(--soft);
}

.tbx-acc-nav__label {
	padding: 12px 16px 8px;
	color: var(--ink-3);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.tbx-acc-nav ul {
	display: flex;
	flex-direction: column;
	gap: 4px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.tbx-acc-nav li {
	margin: 0;
}

.tbx-acc .tbx-acc-nav a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	height: 50px;
	padding: 0 16px;
	border-radius: 14px;
	color: var(--ink);
	font-size: 16px;
	font-weight: 600;
	transition: background .15s, color .15s;
}

.tbx-acc .tbx-acc-nav a:hover {
	background: #fff;
	color: var(--navy);
}

.tbx-acc .tbx-acc-nav .is-active a {
	background: var(--navy);
	color: #fff;
	font-weight: 700;
}

.tbx-acc-nav__badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 26px;
	height: 24px;
	padding: 0 8px;
	border-radius: 999px;
	background: var(--orange);
	color: #fff;
	font-size: 12.5px;
	font-weight: 800;
}

.tbx-acc-nav .is-active .tbx-acc-nav__badge {
	background: #fff;
	color: var(--navy);
}

.tbx-acc-nav__item--customer-logout {
	margin-top: 9px;
	padding-top: 8px;
	border-top: 1px solid var(--line);
}

.tbx-acc .tbx-acc-nav__item--customer-logout a {
	height: 44px;
	color: var(--ink-3);
	font-size: 14.5px;
}

.tbx-acc .tbx-acc-nav__item--customer-logout a:hover {
	background: none;
	color: #b92121;
}

/* ---------- Boutons ---------- */
.tbx-acc .tbx-acc-btn {
	display: inline-flex;
	align-items: center;
	justify-content: space-between;
	align-self: flex-start;
	gap: 14px;
	height: 60px;
	margin: 0;
	padding: 0 8px 0 26px;
	border: 0;
	border-radius: 999px;
	background: var(--orange);
	box-shadow: 0 14px 30px -12px rgba(203, 82, 35, .7);
	color: #fff;
	font-family: inherit;
	font-size: 16.5px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: 0;
	text-transform: none;
	white-space: nowrap;
	cursor: pointer;
	transition: background .15s, transform .15s;
}

.tbx-acc .tbx-acc-btn > span {
	display: flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: #fff;
	color: var(--orange);
	font-size: 18px;
	font-weight: 800;
}

.tbx-acc .tbx-acc-btn:hover,
.tbx-acc .tbx-acc-btn:focus-visible {
	background: var(--orange-h);
	color: #fff;
}

.tbx-acc .tbx-acc-btn--block {
	align-self: stretch;
	width: 100%;
}

.tbx-acc .tbx-acc-btn--navy {
	height: 52px;
	padding-left: 22px;
	background: var(--navy);
	box-shadow: none;
	font-size: 15.5px;
}

.tbx-acc .tbx-acc-btn--navy > span {
	width: 38px;
	height: 38px;
	color: var(--navy);
}

.tbx-acc .tbx-acc-btn--navy:hover {
	background: #013a5c;
}

/* Télécharger (orange ↓) / Accéder à l'outil (vert ↗) */
.tbx-acc .tbx-acc-dl {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	width: 210px;
	height: 52px;
	padding: 0 6px 0 22px;
	border-radius: 999px;
	background: var(--orange);
	box-shadow: 0 12px 24px -12px rgba(203, 82, 35, .7);
	color: #fff;
	font-size: 16px;
	font-weight: 700;
	white-space: nowrap;
	transition: background .15s;
}

.tbx-acc .tbx-acc-dl > span[aria-hidden] {
	display: flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: #fff;
	color: var(--orange);
	font-size: 18px;
	font-weight: 800;
}

.tbx-acc .tbx-acc-dl:hover,
.tbx-acc .tbx-acc-dl:focus-visible {
	background: var(--orange-h);
	color: #fff;
}

.tbx-acc .tbx-acc-dl--tool {
	background: var(--green);
	box-shadow: 0 12px 24px -12px rgba(14, 122, 64, .7);
}

.tbx-acc .tbx-acc-dl--tool > span[aria-hidden] {
	color: var(--green);
}

.tbx-acc .tbx-acc-dl--tool:hover,
.tbx-acc .tbx-acc-dl--tool:focus-visible {
	background: #02632c;
}

/* Secondaire « Voir » */
.tbx-acc .tbx-acc-ghost {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 44px;
	padding: 0 20px;
	border: 2px solid var(--field);
	border-radius: 999px;
	background: #fff;
	color: var(--navy);
	font-size: 14.5px;
	font-weight: 700;
	white-space: nowrap;
	transition: border-color .15s;
}

.tbx-acc .tbx-acc-ghost:hover {
	border-color: var(--navy);
	color: var(--navy);
}

.tbx-acc .tbx-acc-ghost--block {
	width: 100%;
	height: 56px;
	font-size: 15.5px;
}

.tbx-acc-ghost__mobile {
	display: none;
}

.tbx-acc .tbx-acc-more {
	padding: 12px 0;
	color: var(--orange-t);
	font-size: 15px;
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 4px;
	white-space: nowrap;
}

.tbx-acc .tbx-acc-more--mobile {
	display: none;
}

.tbx-acc .tbx-acc-link-text {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	color: var(--navy);
	font-size: 15px;
	font-weight: 700;
}

.tbx-acc .tbx-acc-link-text--center {
	align-self: center;
}

/* ---------- Bloc « Mes Box » (tableau de bord, détail commande) ---------- */
.tbx-acc-boxes {
	display: flex;
	flex-direction: column;
	gap: 22px;
	padding: 32px;
	border-radius: 32px;
	background: var(--box-bg);
}

.tbx-acc-boxes--order {
	gap: 16px;
	padding: 28px 28px 20px;
}

.tbx-acc-boxes__head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
}

.tbx-acc-boxes__head > div {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.tbx-acc-boxes__head p {
	color: var(--ink-2);
	font-size: 16px;
}

.tbx-acc-boxes__list {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.tbx-acc-row {
	display: grid;
	grid-template-columns: 64px minmax(0, 1fr) 190px 210px;
	align-items: center;
	gap: 20px;
	padding: 16px;
	border-radius: 22px;
	background: #fff;
}

.tbx-acc-thumb {
	display: flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 64px;
	height: 64px;
	border-radius: 18px;
	background: var(--tint);
	color: var(--c);
	font-size: 15px;
	font-weight: 900;
	letter-spacing: .02em;
}

.tbx-acc-thumb--white {
	background: #fff;
}

.tbx-acc-row__main {
	display: flex;
	flex-direction: column;
	gap: 5px;
	min-width: 0;
}

.tbx-acc-fam {
	display: flex;
	align-items: center;
	gap: 6px;
	color: var(--c);
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.tbx-acc-fam::before {
	content: "";
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: currentColor;
}

.tbx-acc .tbx-acc-row__name {
	margin: 0;
	color: var(--ink);
	font-family: inherit;
	font-size: 18px;
	font-weight: 800;
	letter-spacing: -.02em;
	line-height: 1.2;
	text-transform: none;
}

.tbx-acc-row__meta {
	color: var(--ink-3);
	font-size: 14px;
}

.tbx-acc-row__rem {
	display: flex;
	flex-direction: column;
	gap: 3px;
}

.tbx-acc-row__rem span {
	color: var(--ink-3);
	font-size: 13px;
}

.tbx-acc-row__rem strong {
	color: var(--ink);
	font-size: 15px;
	font-weight: 700;
}

/* ---------- Raccourcis ---------- */
.tbx-acc-shortcuts {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
}

.tbx-acc .tbx-acc-shortcut {
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-height: 132px;
	padding: 20px;
	border-radius: 22px;
	background: var(--soft);
	color: var(--ink);
	transition: transform .2s;
}

.tbx-acc .tbx-acc-shortcut:hover {
	transform: translateY(-3px);
	color: var(--ink);
}

.tbx-acc-shortcut i,
.tbx-acc-link i {
	display: flex;
	flex: none;
	align-self: flex-end;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: var(--orange);
	color: #fff;
	font-style: normal;
	font-weight: 800;
}

.tbx-acc-shortcut strong,
.tbx-acc-link strong {
	color: var(--navy);
	font-size: 18px;
	font-weight: 800;
	letter-spacing: -.02em;
}

.tbx-acc-shortcut small,
.tbx-acc-link small {
	color: #4a5b6d;
	font-size: 14px;
	line-height: 1.4;
}

/* Raccourcis de l'état vide */
.tbx-acc-links {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}

.tbx-acc .tbx-acc-link {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 96px;
	padding: 20px 24px;
	border-radius: 22px;
	background: var(--soft);
	color: var(--ink);
}

.tbx-acc-link > span {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.tbx-acc-link i {
	align-self: center;
}

/* ---------- Cartes ---------- */
.tbx-acc-card {
	display: flex;
	flex-direction: column;
	gap: 22px;
	padding: 32px 36px;
	border: 1px solid var(--line);
	border-radius: 28px;
}

.tbx-acc-card__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}

.tbx-acc-card__intro {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.tbx-acc-card__intro p {
	color: var(--ink-3);
	font-size: 15px;
	line-height: 1.5;
}

.tbx-acc-recent {
	gap: 12px;
	padding: 28px 32px 16px;
	border-radius: 24px;
}

.tbx-acc-card--table {
	padding: 12px 28px 8px;
	border-radius: 24px;
}

/* ---------- Tableau des commandes ---------- */
.tbx-acc-orders__head,
.tbx-acc-order {
	display: grid;
	grid-template-columns: 120px 130px minmax(0, 1fr) 210px 100px 90px;
	align-items: center;
	gap: 20px;
}

.tbx-acc-orders--compact .tbx-acc-orders__head,
.tbx-acc-orders--compact .tbx-acc-order {
	grid-template-columns: 1fr 1fr 1.5fr .8fr 90px;
	gap: 16px;
}

.tbx-acc-orders__head {
	padding: 14px 0;
	color: var(--ink-3);
	font-size: 12.5px;
	font-weight: 800;
	letter-spacing: .1em;
	text-transform: uppercase;
}

.tbx-acc-order {
	min-height: 76px;
	border-top: 1px solid var(--sep);
}

.tbx-acc-orders--compact .tbx-acc-order {
	min-height: 64px;
}

.tbx-acc-order__num,
.tbx-acc-order__total {
	color: var(--ink);
	font-size: 16px;
	font-weight: 800;
}

.tbx-acc-order__date {
	color: var(--ink-2);
	font-size: 15px;
}

.tbx-acc-order__products {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	min-width: 0;
}

.tbx-acc-order__products strong {
	color: var(--ink);
	font-size: 15.5px;
	font-weight: 700;
}

.tbx-acc-order__products em {
	padding: 4px 10px;
	border-radius: 999px;
	background: #eaf0f7;
	color: var(--navy);
	font-size: 13.5px;
	font-style: normal;
	font-weight: 700;
}

.tbx-acc-order__view {
	justify-self: end;
}

/* Statut */
.tbx-acc-status {
	display: inline-flex;
	align-items: center;
	justify-self: start;
	gap: 7px;
	padding: 6px 12px;
	border-radius: 999px;
	background: var(--sb);
	color: var(--sc);
	font-size: 13.5px;
	font-weight: 700;
	white-space: nowrap;
}

.tbx-acc-status::before {
	content: "";
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: currentColor;
}

.tbx-acc-status--lg {
	gap: 8px;
	padding: 8px 14px;
	font-size: 15px;
}

.tbx-acc-pager {
	display: flex;
	justify-content: space-between;
	gap: 12px;
}

/* ---------- Mes Box : filtres + cartes ---------- */
.tbx-acc-filters {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px 24px;
	margin-bottom: -16px;
}

.tbx-acc-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.tbx-acc .tbx-acc-chip {
	--c: var(--navy);
	display: inline-flex;
	align-items: center;
	gap: 8px;
	height: 44px;
	padding: 0 18px;
	border: 1.5px solid var(--field);
	border-radius: 999px;
	background: #fff;
	color: var(--ink);
	font-size: 15px;
	font-weight: 600;
}

.tbx-acc .tbx-acc-chip:hover {
	border-color: var(--navy);
	color: var(--ink);
}

.tbx-acc-chip i {
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: var(--c);
}

.tbx-acc-chip small {
	color: var(--ink-3);
	font-size: 15px;
	font-weight: 600;
}

.tbx-acc .tbx-acc-chip.is-active {
	border-color: var(--navy);
	background: var(--navy);
	color: #fff;
	font-weight: 700;
}

.tbx-acc-chip.is-active i {
	background: #fff;
}

.tbx-acc-chip.is-active small {
	color: #fff;
	opacity: .75;
}

.tbx-acc-select {
	display: none;
}

.tbx-acc-count {
	color: var(--ink-3);
	font-size: 15px;
}

.tbx-acc-box {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 10px;
	border-radius: 28px;
	background: var(--box-bg);
	scroll-margin-top: 110px;
}

.tbx-acc-box__head {
	display: grid;
	grid-template-columns: 64px minmax(0, 1fr) auto;
	align-items: center;
	gap: 20px;
	padding: 12px 14px 12px 12px;
}

.tbx-acc-box__title {
	display: flex;
	flex-direction: column;
	gap: 5px;
	min-width: 0;
}

.tbx-acc .tbx-acc-box__name {
	margin: 0;
	color: var(--navy);
	font-family: inherit;
	font-size: 21px;
	font-weight: 900;
	letter-spacing: -.03em;
	line-height: 1.15;
	text-transform: none;
}

.tbx-acc-box__meta {
	color: var(--ink-3);
	font-size: 14px;
	line-height: 1.5;
	text-align: right;
}

.tbx-acc .tbx-acc-box__meta a {
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* Tableau des fichiers */
.tbx-acc-files {
	padding: 4px 16px;
	border-radius: 20px;
	background: #fff;
}

.tbx-acc-files__head,
.tbx-acc-file {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 190px 150px 210px;
	align-items: center;
	gap: 20px;
}

.tbx-acc-files__head {
	padding: 12px 0 10px;
	color: var(--ink-3);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .1em;
	text-transform: uppercase;
}

.tbx-acc-file {
	min-height: 76px;
	border-top: 1px solid var(--sep);
}

.tbx-acc-file__name {
	display: flex;
	align-items: center;
	gap: 12px;
	min-width: 0;
}

.tbx-acc-ext {
	flex: none;
	padding: 5px 7px;
	border-radius: 7px;
	background: var(--tint);
	color: var(--c);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .06em;
}

.tbx-acc-file__info {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.tbx-acc-file__info strong {
	color: var(--ink);
	font-size: 16px;
	font-weight: 700;
	overflow-wrap: anywhere;
}

.tbx-acc-file__info small {
	color: var(--ink-3);
	font-size: 13.5px;
}

.tbx-acc-file__info .tbx-acc-fam {
	font-size: 11px;
}

.tbx-acc-file__label {
	display: none;
}

.tbx-acc-file__rem strong {
	color: var(--ink);
	font-size: 15px;
	font-weight: 700;
}

.tbx-acc-file__exp strong {
	color: var(--ink-2);
	font-size: 15px;
	font-weight: 600;
}

.tbx-acc-order-box + .tbx-acc-order-box {
	margin-top: -4px;
}

/* ---------- Détail de commande ---------- */
.tbx-acc-order-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
	align-items: start;
	gap: 24px;
}

.tbx-acc-order-side {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.tbx-acc-recap,
.tbx-acc-billing {
	gap: 6px;
	padding: 28px 32px;
	border-radius: 24px;
}

.tbx-acc-recap .tbx-acc-h3,
.tbx-acc-billing .tbx-acc-h3 {
	margin-bottom: 10px;
	font-size: 24px;
}

.tbx-acc-recap__lines {
	margin: 0;
	padding: 0;
	list-style: none;
}

.tbx-acc-recap__lines li {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	margin: 0;
	padding: 14px 0;
	border-bottom: 1px solid var(--sep);
}

.tbx-acc-recap__lines li > span:first-child {
	display: flex;
	flex-direction: column;
	gap: 3px;
}

.tbx-acc-recap__lines strong {
	color: var(--ink);
	font-size: 16px;
	font-weight: 700;
}

.tbx-acc-recap__lines small {
	color: var(--ink-3);
	font-size: 13.5px;
}

.tbx-acc-recap__price {
	color: var(--ink);
	font-size: 16px;
	font-weight: 700;
	white-space: nowrap;
}

.tbx-acc-recap__row {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	padding: 12px 0 4px;
	color: var(--ink-2);
	font-size: 15.5px;
}

.tbx-acc-recap__row--promo {
	padding-top: 4px;
	color: var(--green);
	font-weight: 600;
}

.tbx-acc-recap__row--promo strong {
	padding: 2px 8px;
	border-radius: 6px;
	background: #e8f4ec;
	letter-spacing: .04em;
}

.tbx-acc-recap__total {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	margin-top: 8px !important;
	padding-top: 14px;
	border-top: 2px solid var(--ink);
	color: var(--ink);
	font-size: 17px;
	font-weight: 800;
}

.tbx-acc-recap__total strong {
	color: var(--navy);
	font-size: 26px;
	font-weight: 900;
	letter-spacing: -.03em;
}

.tbx-acc-recap__note {
	color: var(--ink-3);
	font-size: 13.5px;
}

.tbx-acc-billing {
	gap: 12px;
}

.tbx-acc-billing p {
	color: var(--ink-2);
	font-size: 15.5px;
	overflow-wrap: anywhere;
}

.tbx-acc .tbx-acc-billing__name {
	color: var(--ink);
	font-size: 16px;
	font-weight: 700;
}

.tbx-acc-help {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 24px 28px;
	border-radius: 24px;
	background: var(--soft);
}

.tbx-acc .tbx-acc-help h3 {
	margin: 0;
	color: var(--navy);
	font-family: inherit;
	font-size: 19px;
	font-weight: 800;
	letter-spacing: -.02em;
}

.tbx-acc-help p {
	color: var(--ink-2);
	font-size: 15px;
	line-height: 1.5;
}

/* ---------- États vides ---------- */
.tbx-acc-empty {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 18px;
	padding: 56px 48px;
	border-radius: 32px;
	background: var(--box-bg);
	text-align: center;
}

.tbx-acc-empty p {
	max-width: 520px;
	color: var(--ink-2);
	font-size: 17px;
	line-height: 1.55;
	text-wrap: pretty;
}

.tbx-acc-empty .tbx-acc-btn {
	align-self: center;
	margin-top: 6px;
}

.tbx-acc-dots {
	display: flex;
	gap: 10px;
}

.tbx-acc-dots i {
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: #b2532b;
}

.tbx-acc-dots i:nth-child(2) { background: #2b4c74; }
.tbx-acc-dots i:nth-child(3) { background: #9e2626; }
.tbx-acc-dots i:nth-child(4) { background: #0e7a40; }

/* ---------- Formulaires ---------- */
.tbx-acc-form {
	display: flex;
	flex-direction: column;
	gap: 18px;
	margin: 0;
}

.tbx-acc-profile {
	gap: 24px;
	max-width: 820px;
}

.tbx-acc-grid2 {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
}

.tbx-acc-field {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin: 0;
}

.tbx-acc-field--narrow {
	max-width: 380px;
}

.tbx-acc-field label {
	margin: 0;
	color: var(--ink);
	font-size: 14.5px;
	font-weight: 700;
}

.tbx-acc-req {
	color: #b92121;
	text-decoration: none;
	border: 0;
}

.tbx-acc input[type="text"],
.tbx-acc input[type="email"],
.tbx-acc input[type="password"],
.tbx-acc .tbx-acc-select select {
	width: 100%;
	height: 56px;
	margin: 0;
	padding: 0 16px;
	border: 1.5px solid var(--field);
	border-radius: 14px;
	background: #fff;
	box-shadow: none;
	color: var(--ink);
	font-family: inherit;
	font-size: 16px;
	line-height: 1.3;
	outline: none;
	transition: border-color .15s;
}

.tbx-acc input:focus,
.tbx-acc select:focus {
	border-color: var(--navy);
	outline: 2px solid var(--navy);
	outline-offset: 1px;
}

.tbx-acc input[aria-invalid="true"] {
	border-color: #b92121;
	background: #fff8f7;
}

.tbx-acc-help-text {
	color: var(--ink-3);
	font-size: 13.5px;
	line-height: 1.4;
}

.tbx-acc-help-text--pw {
	margin-top: -10px;
}

/* Mot de passe + bouton Afficher (le bouton « œil » ajouté par WooCommerce est masqué : un seul bouton). */
.tbx-acc .show-password-input {
	display: none !important;
}

.tbx-acc-pw {
	position: relative;
	display: block;
}

.tbx-acc-pw input[type="password"],
.tbx-acc-pw input[type="text"] {
	padding-right: 112px;
}

.tbx-acc .tbx-acc-pw__toggle {
	position: absolute;
	top: 6px;
	right: 6px;
	height: 44px;
	margin: 0;
	padding: 0 14px;
	border: 0;
	border-radius: 10px;
	background: var(--soft);
	color: var(--navy);
	font-family: inherit;
	font-size: 14px;
	font-weight: 700;
	text-transform: none;
	letter-spacing: 0;
	cursor: pointer;
}

.tbx-acc .tbx-acc-pw__toggle:hover {
	background: var(--band);
	color: var(--navy);
}

/* Jauge de force de WooCommerce (nouveau mot de passe, profil) */
.tbx-acc .woocommerce-password-strength {
	margin-top: 8px;
	padding: 0 0 0 0;
	border: 0;
	background: none;
	color: var(--ink-2);
	font-size: 14px;
	font-weight: 700;
	text-align: left;
}

.tbx-acc .woocommerce-password-strength::before {
	content: "";
	display: block;
	height: 5px;
	margin-bottom: 8px;
	border-radius: 3px;
	background: linear-gradient(90deg, var(--bar, #eadfd4) var(--w, 25%), #eadfd4 var(--w, 25%));
}

.tbx-acc .woocommerce-password-strength.short,
.tbx-acc .woocommerce-password-strength.bad { --bar: #b92121; --w: 25%; color: #9e2626; }
.tbx-acc .woocommerce-password-strength.good { --bar: #15a259; --w: 75%; color: var(--green); }
.tbx-acc .woocommerce-password-strength.strong { --bar: #15a259; --w: 100%; color: var(--green); }

.tbx-acc .woocommerce-password-hint {
	display: block;
	margin-top: 4px;
	color: var(--ink-2);
	font-size: 13.5px;
}

/* Case à cocher */
.tbx-acc-login-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 4px 16px;
}

.tbx-acc-check {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-height: 44px;
	margin: 0;
	color: var(--ink);
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
}

.tbx-acc-check input {
	position: absolute;
	opacity: 0;
}

.tbx-acc-check span::before {
	content: "";
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	margin-right: 10px;
	border: 2px solid var(--field);
	border-radius: 6px;
	background: #fff;
	color: #fff;
	font-size: 13px;
	font-weight: 800;
	vertical-align: -6px;
}

.tbx-acc-check input:checked + span::before {
	content: "✓";
	border-color: var(--navy);
	background: var(--navy);
}

.tbx-acc-check input:focus-visible + span::before {
	outline: 2px solid var(--navy);
	outline-offset: 2px;
}

.tbx-acc-actions {
	margin: 0;
}

/* ---------- Messages (notices WooCommerce et encarts) ---------- */
.tbx-acc .woocommerce-notices-wrapper:empty {
	display: none;
}

.tbx-acc .woocommerce-message,
.tbx-acc .woocommerce-error,
.tbx-acc .woocommerce-info,
.tbx-acc .tbx-acc-notice {
	position: relative;
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0;
	padding: 16px 18px 16px 54px;
	border: 0;
	border-radius: 16px;
	background: #e8f4ec;
	color: var(--ink);
	font-size: 15px;
	font-weight: 600;
	line-height: 1.45;
	list-style: none;
}

.tbx-acc .woocommerce-message::before,
.tbx-acc .woocommerce-error::before,
.tbx-acc .woocommerce-info::before {
	content: "✓";
	position: absolute;
	top: 14px;
	left: 16px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: var(--green);
	color: #fff;
	font-family: inherit;
	font-size: 14px;
	font-weight: 900;
}

.tbx-acc .woocommerce-error {
	display: block;
	background: #f9ebea;
}

.tbx-acc .woocommerce-error::before {
	content: "!";
	background: #b92121;
}

.tbx-acc .woocommerce-error li {
	margin: 0;
	list-style: none;
}

.tbx-acc .woocommerce-error strong {
	color: #9e2626;
}

.tbx-acc .woocommerce-error a,
.tbx-acc .woocommerce-message a,
.tbx-acc .woocommerce-info a {
	font-weight: 700;
	text-decoration: underline;
}

.tbx-acc .woocommerce-error a {
	color: #9e2626;
}

.tbx-acc .woocommerce-info {
	background: #eaf0f7;
}

.tbx-acc .woocommerce-info::before {
	content: "i";
	background: var(--navy);
}

.tbx-acc .woocommerce-message .button,
.tbx-acc .woocommerce-info .button {
	order: 2;
	margin-left: auto;
	padding: 0;
	border: 0;
	background: none;
	color: var(--navy);
	font-weight: 700;
	text-decoration: underline;
}

.tbx-acc-notice {
	padding: 14px 16px !important;
	align-items: flex-start !important;
	font-weight: 400 !important;
}

.tbx-acc-notice--info {
	background: #eaf0f7 !important;
}

.tbx-acc-notice__icon {
	display: flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: var(--navy);
	color: #fff;
	font-size: 14px;
	font-weight: 900;
}

.tbx-acc-notice p a {
	font-weight: 700;
	text-decoration: underline;
}

/* ---------- Connexion (visiteur) ---------- */
.tbx-acc-auth {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 540px;
	align-items: start;
	gap: 80px;
	padding: 64px var(--pad) 96px;
	background: var(--band);
}

.tbx-acc-auth__intro {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.tbx-acc-auth__intro .tbx-acc-intro {
	max-width: 520px;
}

.tbx-acc-args {
	display: flex;
	flex-direction: column;
	gap: 14px;
	margin: 10px 0 0;
	padding: 0;
	list-style: none;
}

.tbx-acc-args li,
.tbx-acc-reassure li {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0;
	color: var(--ink);
	font-size: 17px;
	font-weight: 700;
}

.tbx-acc-args li::before,
.tbx-acc-reassure li::before {
	content: "✓";
	display: flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: #e3f4ea;
	color: #15a259;
	font-size: 14px;
	font-weight: 900;
}

.tbx-acc-auth__card {
	display: flex;
	flex-direction: column;
	gap: 22px;
	padding: 36px 40px 40px;
	border-radius: 32px;
	background: #fff;
	box-shadow: 0 40px 80px -44px rgba(120, 50, 20, .45);
}

.tbx-acc-tabs {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 4px;
	padding: 4px;
	border-radius: 999px;
	background: var(--soft);
}

.tbx-acc .tbx-acc-tabs button {
	height: 48px;
	margin: 0;
	padding: 0 12px;
	border: 0;
	border-radius: 999px;
	background: none;
	color: var(--ink);
	font-family: inherit;
	font-size: 15.5px;
	font-weight: 700;
	text-transform: none;
	letter-spacing: 0;
	cursor: pointer;
}

.tbx-acc .tbx-acc-tabs button[aria-selected="true"] {
	background: var(--navy);
	color: #fff;
}

.tbx-acc-panel[hidden] {
	display: none;
}

.tbx-acc-reassure {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 20px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.tbx-acc-reassure li {
	gap: 8px;
	font-size: 14.5px;
}

.tbx-acc-reassure li::before {
	width: 22px;
	height: 22px;
	font-size: 12px;
}

.tbx-acc-privacy {
	color: var(--ink-3);
	font-size: 13.5px;
	line-height: 1.5;
}

.tbx-acc .tbx-acc-privacy a {
	font-weight: 600;
	text-decoration: underline;
}

.tbx-acc .tbx-acc-back {
	display: inline-flex;
	align-self: flex-start;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	color: var(--navy);
	font-size: 15px;
	font-weight: 700;
}

.tbx-acc-sent {
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.tbx-acc-sent__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 64px;
	height: 64px;
	border-radius: 50%;
	background: #e8f4ec;
	color: var(--green);
	font-size: 28px;
	font-weight: 900;
}

/* ======================================================================
 * Tablette
 * ==================================================================== */
/* Écrans moyens (contenu < ~1000 px) : on libère de la place pour les noms de Box et de fichiers. */
@media (max-width: 1400px) {
	.tbx-acc-row {
		grid-template-columns: 64px minmax(0, 1fr) 150px 190px;
		gap: 16px;
	}

	.tbx-acc .tbx-acc-dl {
		width: 190px;
	}

	.tbx-acc-files__head,
	.tbx-acc-file {
		grid-template-columns: minmax(0, 1fr) 130px 110px 190px;
		gap: 16px;
	}
}

@media (max-width: 1200px) {
	.tbx-acc-row {
		grid-template-columns: 64px minmax(0, 1fr) 190px;
	}

	.tbx-acc-row__rem {
		display: none;
	}

	.tbx-acc-shortcuts {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.tbx-acc-orders__head,
	.tbx-acc-order {
		grid-template-columns: 90px 110px minmax(0, 1fr) 180px 90px 80px;
		gap: 14px;
	}

	.tbx-acc-auth {
		grid-template-columns: minmax(0, 1fr) 480px;
		gap: 48px;
	}

	.tbx-acc-order-grid {
		grid-template-columns: minmax(0, 1fr);
	}
}

@media (max-width: 1023px) {
	.tbx-acc-layout {
		grid-template-columns: 220px minmax(0, 1fr);
		gap: 32px;
	}

	.tbx-acc-auth {
		grid-template-columns: minmax(0, 1fr);
	}

	.tbx-acc-files__head {
		display: none;
	}

	.tbx-acc-file {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		gap: 12px;
		padding: 14px 0;
	}

	.tbx-acc-file__name,
	.tbx-acc-file__btn {
		grid-column: 1 / -1;
	}

	.tbx-acc-file__label {
		display: block;
		color: var(--ink-3);
		font-size: 13px;
	}

	.tbx-acc .tbx-acc-file .tbx-acc-dl {
		width: 100%;
	}
}

/* ======================================================================
 * Mobile < 768 px
 * ==================================================================== */
@media (max-width: 767px) {
	.tbx-acc {
		--pad: 16px;
	}

	.tbx-acc .tbx-acc-h1 {
		font-size: 40px;
		line-height: 1.02;
	}

	.tbx-acc .tbx-acc-h2 {
		font-size: 30px;
	}

	.tbx-acc .tbx-acc-h2--sm,
	.tbx-acc .tbx-acc-h3 {
		font-size: 24px;
	}

	.tbx-acc-band {
		gap: 12px;
		padding: 20px 20px 28px;
	}

	.tbx-acc-band::after,
	.tbx-acc-auth__intro .tbx-acc-h1::after {
		width: 56px;
		height: 5px;
	}

	.tbx-acc-crumbs {
		font-size: 13.5px;
	}

	.tbx-acc-intro {
		font-size: 16px;
		line-height: 1.5;
	}

	.tbx-acc-status--lg {
		font-size: 13.5px;
	}

	/* Navigation : onglets défilants sous le bandeau */
	.tbx-acc-layout {
		display: block;
		padding: 0 0 48px;
	}

	.tbx-acc-nav {
		margin: 0 0 24px;
		padding: 12px 0;
		border-bottom: 1px solid var(--line);
		border-radius: 0;
		background: #fff;
		overflow-x: auto;
		scrollbar-width: none;
	}

	.tbx-acc-nav::-webkit-scrollbar {
		display: none;
	}

	.tbx-acc-nav__label,
	.tbx-acc-nav__item--customer-logout {
		display: none !important;
	}

	.tbx-acc-nav ul {
		flex-direction: row;
		gap: 8px;
		width: max-content;
		padding: 0 16px;
	}

	.tbx-acc .tbx-acc-nav a {
		height: 44px;
		padding: 0 18px;
		border: 1.5px solid var(--field);
		border-radius: 999px;
		font-size: 15px;
		white-space: nowrap;
	}

	.tbx-acc .tbx-acc-nav .is-active a {
		border-color: var(--navy);
	}

	.tbx-acc-nav__badge {
		height: 26px;
		margin-right: -10px;
		padding: 0 7px;
		font-size: 12px;
	}

	.tbx-acc-content {
		gap: 32px;
		padding: 0 16px;
	}

	.tbx-acc .tbx-acc-logout-mobile {
		display: flex;
		align-self: center;
		align-items: center;
		height: 44px;
		padding: 0 20px;
		color: var(--ink-3);
		font-size: 14.5px;
		font-weight: 600;
	}

	/* Mes Box du tableau de bord : cartes */
	.tbx-acc-boxes {
		gap: 16px;
		padding: 22px 14px 14px;
		border-radius: 26px;
	}

	.tbx-acc-boxes__head {
		padding: 0 6px;
	}

	.tbx-acc-boxes__head .tbx-acc-more {
		display: none;
	}

	.tbx-acc .tbx-acc-more--mobile {
		display: flex;
		align-items: center;
		justify-content: center;
		height: 52px;
		padding: 0;
		border: 2px solid #d8b9a5;
		border-radius: 999px;
		text-decoration: none;
		font-size: 15.5px;
	}

	.tbx-acc-row {
		grid-template-columns: 52px minmax(0, 1fr);
		gap: 14px;
		border-radius: 20px;
	}

	.tbx-acc-thumb {
		width: 52px;
		height: 52px;
		border-radius: 15px;
		font-size: 13.5px;
	}

	.tbx-acc .tbx-acc-row__name {
		font-size: 17px;
	}

	.tbx-acc-row .tbx-acc-dl {
		grid-column: 1 / -1;
	}

	.tbx-acc .tbx-acc-dl {
		width: 100%;
		padding-left: 20px;
	}

	.tbx-acc-shortcuts,
	.tbx-acc-links {
		grid-template-columns: 1fr 1fr;
		gap: 12px;
	}

	.tbx-acc .tbx-acc-shortcut {
		min-height: 112px;
		padding: 16px;
		border-radius: 20px;
	}

	.tbx-acc-shortcut i {
		width: 32px;
		height: 32px;
		font-size: 14px;
	}

	.tbx-acc-shortcut strong {
		font-size: 16px;
	}

	.tbx-acc-shortcut small {
		font-size: 13px;
	}

	.tbx-acc-links {
		grid-template-columns: 1fr;
	}

	/* Commandes : cartes */
	.tbx-acc-card {
		padding: 22px 18px;
		border-radius: 22px;
	}

	.tbx-acc-recent,
	.tbx-acc-card--table {
		padding: 0;
		border: 0;
	}

	.tbx-acc-recent .tbx-acc-card__head {
		flex-direction: column;
		align-items: flex-start;
		gap: 0;
	}

	.tbx-acc-orders__head {
		display: none;
	}

	.tbx-acc-orders {
		display: flex;
		flex-direction: column;
		gap: 12px;
	}

	.tbx-acc-order,
	.tbx-acc-orders--compact .tbx-acc-order {
		grid-template-columns: minmax(0, 1fr) auto;
		gap: 10px;
		padding: 16px;
		border: 1px solid var(--line);
		border-radius: 20px;
	}

	.tbx-acc-order__num { grid-column: 1; grid-row: 1; }
	.tbx-acc-order__total { grid-column: 2; grid-row: 1; text-align: right; }
	.tbx-acc-order__products { grid-column: 1 / -1; grid-row: 2; }
	.tbx-acc-order__date { grid-column: 1; grid-row: 3; font-size: 13.5px; color: var(--ink-3); }
	.tbx-acc-order__status { grid-column: 2; grid-row: 3; justify-self: end; }
	.tbx-acc-order__view { grid-column: 1 / -1; grid-row: 4; justify-self: stretch; }

	.tbx-acc-order__products strong {
		font-size: 15px;
		font-weight: 600;
	}

	.tbx-acc-order__products em {
		padding: 0;
		background: none;
	}

	.tbx-acc-status {
		padding: 5px 10px;
		font-size: 12.5px;
	}

	.tbx-acc .tbx-acc-order__view .tbx-acc-ghost {
		width: 100%;
	}

	.tbx-acc-ghost__long {
		display: none;
	}

	.tbx-acc-ghost__mobile {
		display: inline;
	}

	/* Mes Box : liste déroulante à la place des pastilles */
	.tbx-acc-filters {
		margin-bottom: 0;
	}

	.tbx-acc-chips,
	.tbx-acc-count {
		display: none;
	}

	.tbx-acc-select {
		display: flex;
		flex-direction: column;
		gap: 8px;
		width: 100%;
	}

	.tbx-acc-select label {
		color: var(--ink);
		font-size: 14px;
		font-weight: 700;
	}

	.tbx-acc .tbx-acc-select select {
		height: 52px;
		font-weight: 600;
	}

	.tbx-acc-box {
		padding: 8px;
		border-radius: 24px;
	}

	.tbx-acc-box__head {
		grid-template-columns: 48px minmax(0, 1fr);
		gap: 12px;
		padding: 10px 8px 8px;
	}

	.tbx-acc-box__head .tbx-acc-thumb {
		width: 48px;
		height: 48px;
		border-radius: 14px;
	}

	.tbx-acc .tbx-acc-box__name {
		font-size: 18px;
	}

	.tbx-acc-box__meta {
		grid-column: 2;
		text-align: left;
		font-size: 13px;
	}

	.tbx-acc-box__meta br {
		display: none;
	}

	.tbx-acc-box__meta a::before {
		content: " · ";
	}

	.tbx-acc-files {
		padding: 0;
		background: none;
	}

	.tbx-acc-file {
		margin-top: 6px;
		padding: 14px;
		border: 0;
		border-radius: 18px;
		background: #fff;
	}

	.tbx-acc-boxes--order {
		padding: 22px 14px 14px;
	}

	/* Détail commande */
	.tbx-acc-recap,
	.tbx-acc-billing {
		padding: 22px 18px;
		border: 1px solid var(--line);
	}

	.tbx-acc-help {
		padding: 22px 18px;
	}

	/* Formulaires */
	.tbx-acc-grid2 {
		grid-template-columns: 1fr;
		gap: 18px;
	}

	.tbx-acc input[type="text"],
	.tbx-acc input[type="email"],
	.tbx-acc input[type="password"] {
		height: 54px;
	}

	.tbx-acc .tbx-acc-btn {
		align-self: stretch;
		width: 100%;
	}

	/* Connexion */
	.tbx-acc-auth {
		gap: 24px;
		padding: 20px 16px 48px;
	}

	.tbx-acc-auth__intro {
		gap: 12px;
	}

	.tbx-acc-auth__intro .tbx-acc-h1 {
		font-size: 38px;
	}

	.tbx-acc-args {
		display: none;
	}

	.tbx-acc-auth__card {
		padding: 22px 18px 26px;
		border-radius: 26px;
	}

	.tbx-acc-empty {
		padding: 36px 20px;
		border-radius: 26px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.tbx-acc * {
		transition: none !important;
	}
}

/* ======================================================================
 * Harmonisation des en-têtes (2026-10-09) : version compacte du héros de l accueil pour les pages
 * secondaires — fond crème (isole l'en-tête, retour d'Elsa du 2026-10-09), marges 40/48, pastille blanche,
 * titre 36–50 px, mot orange en capitales, filet orange 72 × 6.
 * ==================================================================== */

.tbx-acc-band {
	padding: 40px var(--pad) 48px;
	border-bottom: 0;
	background: var(--band);
}

.tbx-acc .tbx-acc-h1 span {
	text-transform: uppercase;
}

.tbx-acc-band h1,
.tbx-acc-band .tbx-acc-h1 {
	font-size: clamp(36px, 3.5vw, 50px);
	letter-spacing: -.04em;
	line-height: 1.04;
}

@media (max-width: 767px) {
	.tbx-acc-band {
		padding: 28px 20px 32px;
	}

	.tbx-acc-band h1,
	.tbx-acc-band .tbx-acc-h1 {
		font-size: 34px;
	}
}

/* Téléphone : onglets de Mon compte en grille, tous visibles (plus de défilement latéral qui coupe « Mes commandes »)
   (Elsa, 2026-11-09). « Tableau de bord » sur toute la largeur, puis les 4 autres en 2 × 2. */
@media (max-width: 767px) {
	.tbx-acc-nav {
		overflow: visible;
		padding: 12px 16px;
	}

	.tbx-acc-nav ul {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 8px;
		width: auto;
		padding: 0;
	}

	.tbx-acc .tbx-acc-nav li {
		min-width: 0;
		margin: 0;
	}

	.tbx-acc .tbx-acc-nav li:first-child {
		grid-column: 1 / -1;
	}

	.tbx-acc .tbx-acc-nav a {
		justify-content: center;
		width: 100%;
		padding: 0 10px;
		font-size: 14.5px;
		text-align: center;
	}
}

/* Mon compte : la phrase du bandeau (« Vos fichiers vous attendent : téléchargez-les quand vous voulez, depuis n'importe
   quel appareil. ») sur une seule ligne à partir de 768 px ; la taille suit la largeur de l'écran (18 px au maximum).
   Sur téléphone elle reste sur deux lignes : sur une ligne elle serait illisible (Elsa, 2026-11-09). */
@media (min-width: 768px) {
	.tbx-acc-band .tbx-acc-intro {
		max-width: none;
		font-size: min(18px, calc((100vw - 96px) / 49));
		white-space: nowrap;
	}
}
