/* =============================================================================
   LeoBelo : Espace client, socle v2
   Va avec le snippet PHP « LeoBelo : Espace client ».
   Palette relevée sur le site. Aucune dépendance externe.
   ========================================================================== */

.lbc {
	--c-blue:      #1c71d8;
	--c-blue-dk:   #155bb5;
	--c-blue-tx:   #1565c0;
	--c-blue-soft: #eef4ff;
	--c-ink:       #1a1a1a;
	--c-mid:       #555555;
	--c-line:      #e8e4db;
	--c-line-2:    #d8d3c7;
	--c-ivory:     #fafaf7;
	--c-white:     #ffffff;
	--r:           14px;
	--r-sm:        10px;
	--serif:       "DM Serif Display", Georgia, "Times New Roman", serif;
}

/* ---------- charpente ------------------------------------------------------ */
.lbc .woocommerce:has(.woocommerce-MyAccount-navigation) {
	display: grid;
	grid-template-columns: 232px minmax(0, 1fr);
	column-gap: 44px;
	row-gap: 18px;
	align-items: start;
}

.lbc .woocommerce-MyAccount-navigation,
.lbc .woocommerce-MyAccount-content {
	float: none;
	width: auto;
	margin: 0;
	padding: 0;
	min-width: 0;
}

.lbc .woocommerce-MyAccount-navigation { grid-column: 1; grid-row: 1; }
.lbc .lbc-help                         { grid-column: 1; grid-row: 2; }
.lbc .woocommerce-MyAccount-content    { grid-column: 2; grid-row: 1 / span 2; }

/* ---------- menu : rail à icônes ------------------------------------------ */
.lbc .woocommerce-MyAccount-navigation ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.lbc .woocommerce-MyAccount-navigation li { margin: 0; }

.lbc .woocommerce-MyAccount-navigation li a {
	display: flex;
	align-items: center;
	gap: 12px;
	min-height: 46px;
	padding: 11px 14px;
	border-radius: var(--r-sm);
	color: var(--c-ink);
	font-size: 15.5px;
	font-weight: 600;
	line-height: 1.3;
	text-decoration: none;
	transition: background-color .14s ease, color .14s ease;
}

.lbc .woocommerce-MyAccount-navigation li a::before {
	content: "";
	flex: 0 0 20px;
	width: 20px;
	height: 20px;
	background: currentColor;
	-webkit-mask: var(--icon) center / 20px 20px no-repeat;
	mask: var(--icon) center / 20px 20px no-repeat;
	opacity: .85;
}

.lbc .woocommerce-MyAccount-navigation li a:hover,
.lbc .woocommerce-MyAccount-navigation li a:focus-visible {
	background: var(--c-ivory);
	color: var(--c-blue-tx);
}

.lbc .woocommerce-MyAccount-navigation li.is-active a {
	background: var(--c-blue-soft);
	color: var(--c-blue-tx);
}

/* Icônes : masques SVG, une par entrée */
.lbc li.woocommerce-MyAccount-navigation-link--dashboard a {
	--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='7' height='7' rx='1.5'/%3E%3Crect x='14' y='3' width='7' height='7' rx='1.5'/%3E%3Crect x='3' y='14' width='7' height='7' rx='1.5'/%3E%3Crect x='14' y='14' width='7' height='7' rx='1.5'/%3E%3C/svg%3E");
}
.lbc li.woocommerce-MyAccount-navigation-link--orders a {
	--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 8v8a2 2 0 0 1-1 1.73l-7 4a2 2 0 0 1-2 0l-7-4A2 2 0 0 1 3 16V8a2 2 0 0 1 1-1.73l7-4a2 2 0 0 1 2 0l7 4A2 2 0 0 1 21 8z'/%3E%3Cpath d='m3.3 7 8.7 5 8.7-5'/%3E%3Cpath d='M12 22V12'/%3E%3C/svg%3E");
}
.lbc li.woocommerce-MyAccount-navigation-link--edit-address a {
	--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 6-8 12-8 12s-8-6-8-12a8 8 0 0 1 16 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E");
}
.lbc li.woocommerce-MyAccount-navigation-link--edit-account a {
	--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3C/svg%3E");
}
.lbc li.woocommerce-MyAccount-navigation-link--downloads a,
.lbc li.woocommerce-MyAccount-navigation-link--payment-methods a {
	--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='5' width='20' height='14' rx='2'/%3E%3Cpath d='M2 10h20'/%3E%3C/svg%3E");
}
.lbc li.woocommerce-MyAccount-navigation-link--customer-logout a {
	color: var(--c-mid);
	font-weight: 500;
	margin-top: 10px;
	border-top: 1px solid var(--c-line);
	border-radius: 0;
	padding-top: 18px;
	--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4'/%3E%3Cpath d='m16 17 5-5-5-5'/%3E%3Cpath d='M21 12H9'/%3E%3C/svg%3E");
}

/* ---------- bloc d'aide ---------------------------------------------------- */
.lbc .lbc-help {
	margin: 0;
	padding: 16px 18px;
	background: var(--c-ivory);
	border: 1px solid var(--c-line);
	border-radius: var(--r-sm);
}
.lbc .lbc-help__title { margin: 0 0 9px; font-size: 14.5px; font-weight: 700; color: var(--c-ink); }
.lbc .lbc-help__list  { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 7px; }
.lbc .lbc-help__list li { margin: 0; }
.lbc .lbc-help__list a  { font-size: 14px; color: var(--c-blue-tx); text-decoration: none; }
.lbc .lbc-help__list a:hover { text-decoration: underline; }

/* ---------- titres --------------------------------------------------------- */
.lbc .lbc-hello {
	font-family: var(--serif);
	font-weight: 400;
	font-size: clamp(26px, 5vw, 34px);
	line-height: 1.15;
	margin: 0 0 6px;
	color: var(--c-ink);
}
.lbc .lbc-hello__sub { margin: 0 0 20px; color: var(--c-mid); font-size: 15.5px; line-height: 1.5; max-width: 46ch; }

/* ---------- cartes --------------------------------------------------------- */
.lbc .lbc-card {
	background: var(--c-white);
	border: 1px solid var(--c-line);
	border-radius: var(--r);
	padding: 20px;
	margin: 0 0 14px;
}
.lbc .lbc-card--lead { padding: 22px; }
.lbc .lbc-card--sm   { padding: 18px; }
.lbc .lbc-card__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; margin-bottom: 18px; }
.lbc .lbc-card__eyebrow {
	margin: 0 0 3px; font-size: 11.5px; font-weight: 700; letter-spacing: .09em;
	text-transform: uppercase; color: var(--c-mid);
}
.lbc .lbc-card__meta { margin: 0; font-size: 14px; color: var(--c-mid); }
.lbc .lbc-card__h    { margin: 0 0 14px; font-size: 15.5px; font-weight: 700; color: var(--c-ink); }
.lbc .lbc-card__p    { margin: 0 0 14px; font-size: 14.5px; color: var(--c-mid); line-height: 1.5; }
.lbc .lbc-card__foot { margin: 14px 0 0; padding-top: 13px; border-top: 1px solid var(--c-line); font-size: 14px; color: var(--c-mid); }

/* ---------- badge ---------------------------------------------------------- */
.lbc .lbc-badge {
	flex: 0 0 auto;
	display: inline-flex; align-items: center; gap: 6px;
	padding: 7px 13px; border-radius: 999px;
	font-size: 13.5px; font-weight: 700; line-height: 1.2; white-space: nowrap;
}
.lbc .lbc-badge--go      { background: var(--c-blue); color: #fff; }
.lbc .lbc-badge--wait    { background: var(--c-blue-soft); color: var(--c-blue-tx); }
.lbc .lbc-badge--neutral { background: #eeece6; color: #4a463f; }

/* ---------- LA FRISE ------------------------------------------------------- */
.lbc .lbc-track {
	list-style: none; margin: 0 0 16px; padding: 0;
	display: grid; grid-auto-flow: column; grid-auto-columns: 1fr;
}
.lbc .lbc-track__step {
	position: relative; margin: 0;
	display: flex; flex-direction: column; align-items: center; gap: 8px;
	text-align: center;
}
/* le trait qui relie */
.lbc .lbc-track__step:not(.is-last)::after {
	content: ""; position: absolute; top: 13px; left: 50%; width: 100%; height: 2px;
	background: var(--c-blue); z-index: 0;
}
.lbc .lbc-track__step.is-current:not(.is-last)::after,
.lbc .lbc-track__step.is-todo:not(.is-last)::after {
	background: none;
	border-top: 2px dashed var(--c-line-2);
	height: 0;
}
.lbc .lbc-track__dot {
	position: relative; z-index: 1;
	width: 28px; height: 28px; border-radius: 50%;
	background: var(--c-blue); border: 2px solid var(--c-blue);
	display: grid; place-items: center;
}
/* coche */
.lbc .is-done .lbc-track__dot::before {
	content: ""; width: 14px; height: 14px; background: #fff;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
}
/* camion sur l'étape courante */
.lbc .is-current .lbc-track__dot::before {
	content: ""; width: 15px; height: 15px; background: #fff;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 17V5a1 1 0 0 0-1-1H2a1 1 0 0 0-1 1v11a1 1 0 0 0 1 1h1'/%3E%3Cpath d='M14 9h4l3 3v5a1 1 0 0 1-1 1h-1'/%3E%3Ccircle cx='7' cy='18' r='2'/%3E%3Ccircle cx='17' cy='18' r='2'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 17V5a1 1 0 0 0-1-1H2a1 1 0 0 0-1 1v11a1 1 0 0 0 1 1h1'/%3E%3Cpath d='M14 9h4l3 3v5a1 1 0 0 1-1 1h-1'/%3E%3Ccircle cx='7' cy='18' r='2'/%3E%3Ccircle cx='17' cy='18' r='2'/%3E%3C/svg%3E") center / contain no-repeat;
}
/* étape non atteinte : cercle creux en pointillés et maison */
.lbc .is-todo .lbc-track__dot {
	background: transparent;
	border: 2px dashed var(--c-line-2);
}
.lbc .is-todo.is-last .lbc-track__dot::before {
	content: ""; width: 14px; height: 14px; background: var(--c-line-2);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m3 10 9-7 9 7v10a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1z'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m3 10 9-7 9 7v10a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.lbc .lbc-track__label { font-size: 13.5px; font-weight: 700; color: var(--c-ink); line-height: 1.25; }
.lbc .is-todo .lbc-track__label { color: var(--c-mid); font-weight: 600; }
.lbc .lbc-track__note  { font-size: 12.5px; font-weight: 600; color: var(--c-blue-tx); line-height: 1.2; margin-top: -4px; }
.lbc .lbc-track__note--off { color: var(--c-mid); font-weight: 400; }

/* Version compacte dans les cartes de l'historique.
   À cette taille les glyphes et les pointillés du cercle ne se lisent pas :
   on garde des pastilles pleines ou creuses et le trait pointillé, qui lui
   reste lisible et porte tout le message « pas encore arrivé ». */
.lbc .lbc-track--mini { margin-bottom: 14px; max-width: 190px; }
.lbc .lbc-track--mini .lbc-track__step .lbc-track__dot {
	width: 10px; height: 10px; border-width: 2px; border-style: solid;
}
.lbc .lbc-track--mini .lbc-track__step .lbc-track__dot::before { content: none; }
.lbc .lbc-track--mini .is-todo .lbc-track__dot {
	background: var(--c-white); border-color: var(--c-line-2);
}
.lbc .lbc-track--mini .lbc-track__step:not(.is-last)::after { top: 4px; }

/* ---------- le rappel e-mail ---------------------------------------------- */
.lbc .lbc-hint {
	display: flex; gap: 11px; align-items: flex-start;
	margin: 0; padding: 13px 15px;
	background: var(--c-blue-soft); border-radius: var(--r-sm);
	font-size: 14px; line-height: 1.5; color: #1e3a5f;
}
.lbc .lbc-hint__icon {
	flex: 0 0 18px; width: 18px; height: 18px; margin-top: 1px; background: var(--c-blue);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='4' width='20' height='16' rx='2'/%3E%3Cpath d='m22 7-10 6L2 7'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='4' width='20' height='16' rx='2'/%3E%3Cpath d='m22 7-10 6L2 7'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* ---------- vignettes ------------------------------------------------------ */
.lbc .lbc-thumbs { display: flex; gap: 8px; flex: 0 0 auto; }
.lbc .lbc-thumb {
	display: grid; place-items: center;
	width: 56px; height: 56px; flex: 0 0 56px;
	background: var(--c-blue-soft); border-radius: var(--r-sm); overflow: hidden;
}
.lbc .lbc-thumb__img, .lbc .lbc-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: var(--r-sm); }
.lbc .lbc-thumb--more { background: var(--c-ivory); border: 1px solid var(--c-line); color: var(--c-mid); font-size: 13px; font-weight: 700; }

/* ---------- ligne produit dans une carte ---------------------------------- */
.lbc .lbc-line { display: flex; align-items: center; gap: 14px; margin: 16px 0; flex-wrap: wrap; }
.lbc .lbc-line__txt   { flex: 1 1 160px; min-width: 0; }
.lbc .lbc-line__title { margin: 0 0 2px; font-size: 15px; font-weight: 700; color: var(--c-ink); line-height: 1.3; }
.lbc .lbc-line__sub   { margin: 0; font-size: 14px; color: var(--c-mid); }
.lbc .lbc-line__cta   { flex: 0 0 auto; }

/* ---------- boutons -------------------------------------------------------- */
.lbc .lbc-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 46px; padding: 12px 20px;
	border-radius: var(--r-sm); border: 1px solid transparent;
	font-size: 15px; font-weight: 700; line-height: 1.2;
	text-decoration: none; cursor: pointer;
	transition: background-color .14s ease, border-color .14s ease, color .14s ease;
}
.lbc .lbc-btn--primary { background: var(--c-blue); color: #fff; width: 100%; }
.lbc .lbc-btn--primary:hover, .lbc .lbc-btn--primary:focus-visible { background: var(--c-blue-dk); color: #fff; }
.lbc .lbc-btn--ghost   { background: transparent; color: var(--c-blue-tx); border-color: var(--c-line-2); }
.lbc .lbc-btn--ghost:hover, .lbc .lbc-btn--ghost:focus-visible { background: var(--c-blue-soft); border-color: var(--c-blue); color: var(--c-blue-dk); }
.lbc .lbc-btn--soft    { background: var(--c-blue-soft); color: var(--c-blue-tx); min-height: 40px; padding: 9px 15px; font-size: 14px; }
.lbc .lbc-btn--soft:hover, .lbc .lbc-btn--soft:focus-visible { background: #dfeaff; color: var(--c-blue-dk); }

/* ---------- lignes compactes et tuiles ------------------------------------ */
.lbc .lbc-row, .lbc .lbc-tile {
	display: flex; align-items: center; gap: 14px;
	min-height: 62px; padding: 13px 18px; margin: 0 0 10px;
	background: var(--c-white); border: 1px solid var(--c-line); border-radius: var(--r-sm);
	text-decoration: none; color: inherit;
	transition: border-color .14s ease, background-color .14s ease;
}
.lbc .lbc-row:hover, .lbc .lbc-tile:hover,
.lbc .lbc-row:focus-visible, .lbc .lbc-tile:focus-visible { border-color: var(--c-blue); background: var(--c-ivory); }
.lbc .lbc-row__txt, .lbc .lbc-tile__txt { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.lbc .lbc-row__title, .lbc .lbc-tile__title { font-size: 15px; font-weight: 700; color: var(--c-ink); line-height: 1.3; }
.lbc .lbc-row__meta,  .lbc .lbc-tile__sub   { font-size: 13.5px; color: var(--c-mid); line-height: 1.3; }
.lbc .lbc-row__chev {
	flex: 0 0 18px; width: 18px; height: 18px; background: var(--c-line-2);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 18 6-6-6-6'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 18 6-6-6-6'/%3E%3C/svg%3E") center / contain no-repeat;
}
.lbc .lbc-tiles { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--c-line); }
.lbc .lbc-all {
	display: inline-block; margin: 6px 0 0;
	font-size: 15px; font-weight: 700; color: var(--c-blue-tx); text-decoration: none;
}
.lbc .lbc-all:hover { text-decoration: underline; }

/* ---------- historique : le tableau devient une pile de cartes ------------ */
.lbc .woocommerce-orders-table,
.lbc .woocommerce-orders-table tbody,
.lbc .woocommerce-orders-table tr,
.lbc .woocommerce-orders-table td,
.lbc .woocommerce-orders-table th {
	display: block; width: 100%; box-sizing: border-box;
	border: none; padding: 0; margin: 0; background: none;
}
.lbc .woocommerce-orders-table thead { display: none; }
.lbc .woocommerce-orders-table td::before,
.lbc .woocommerce-orders-table th::before { display: none; }

/* ---------- page d'une commande ------------------------------------------- */
.lbc .lbc-back {
	display: inline-block; margin: 0 0 12px;
	font-size: 14.5px; font-weight: 700; color: var(--c-blue-tx); text-decoration: none;
}
.lbc .lbc-back:hover { text-decoration: underline; }
.lbc .lbc-single__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin: 0 0 20px; flex-wrap: wrap; }
.lbc .lbc-single__title { font-family: var(--serif); font-weight: 400; font-size: clamp(24px, 4.5vw, 31px); line-height: 1.15; margin: 0 0 4px; color: var(--c-ink); }
.lbc .lbc-single__meta  { margin: 0; font-size: 14.5px; color: var(--c-mid); }
.lbc .lbc-single__grid  { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.lbc .lbc-single__main, .lbc .lbc-single__side { min-width: 0; }

.lbc .lbc-item { display: flex; align-items: flex-start; gap: 14px; padding: 15px 0; border-bottom: 1px solid var(--c-line); }
.lbc .lbc-item:first-of-type { padding-top: 0; }
.lbc .lbc-item__txt   { flex: 1 1 auto; min-width: 0; }
.lbc .lbc-item__name  { margin: 0 0 2px; font-size: 15px; font-weight: 700; color: var(--c-ink); line-height: 1.3; }
.lbc .lbc-item__qty   { margin: 0 0 10px; font-size: 13.5px; color: var(--c-mid); }
.lbc .lbc-item__price { flex: 0 0 auto; font-size: 15px; font-weight: 700; color: var(--c-ink); font-variant-numeric: tabular-nums; }

.lbc .lbc-totals { margin: 16px 0 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.lbc .lbc-totals__row { display: flex; justify-content: space-between; gap: 16px; font-size: 14.5px; color: var(--c-mid); }
.lbc .lbc-totals__row dt, .lbc .lbc-totals__row dd { margin: 0; }
.lbc .lbc-totals__row dd { font-variant-numeric: tabular-nums; }
.lbc .lbc-totals__row.is-total { margin-top: 5px; padding-top: 13px; border-top: 1px solid var(--c-line); font-size: 17px; font-weight: 700; color: var(--c-ink); }
.lbc .lbc-addr { font-style: normal; font-size: 14.5px; line-height: 1.6; color: var(--c-mid); }

/* ---------- formulaires du compte ----------------------------------------- */
.lbc .woocommerce-MyAccount-content form .form-row label,
.lbc .woocommerce-MyAccount-content fieldset legend { font-size: 14px; font-weight: 700; color: var(--c-ink); margin-bottom: 5px; }
.lbc .woocommerce-MyAccount-content .woocommerce-Address {
	padding: 18px 20px; background: var(--c-white);
	border: 1px solid var(--c-line); border-radius: var(--r);
}
.lbc .woocommerce-MyAccount-content .woocommerce-Address address { font-style: normal; font-size: 14.5px; color: var(--c-mid); line-height: 1.6; }

/* ---------- accessibilité -------------------------------------------------- */
.lbc a:focus-visible, .lbc .lbc-btn:focus-visible, .lbc button:focus-visible {
	outline: 2px solid var(--c-blue); outline-offset: 2px;
}
.lbc .screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
@media (prefers-reduced-motion: reduce) {
	.lbc * { transition: none !important; }
}

/* =============================================================================
   MOBILE
   ========================================================================== */
@media (max-width: 921px) {
	.lbc .woocommerce:has(.woocommerce-MyAccount-navigation) {
		grid-template-columns: minmax(0, 1fr);
		row-gap: 22px;
	}
	.lbc .woocommerce-MyAccount-navigation,
	.lbc .woocommerce-MyAccount-content,
	.lbc .lbc-help { grid-column: 1; grid-row: auto; }
	.lbc .woocommerce-MyAccount-content { order: 1; }
	.lbc .woocommerce-MyAccount-navigation { order: 2; }
	.lbc .lbc-help { order: 3; }

	/* Sur l'accueil du compte, le menu disparaît : les tuiles le remplacent.
	   Ailleurs, il devient une barre d'onglets horizontale sous le contenu. */
	.lbc-home .woocommerce-MyAccount-navigation { display: none; }

	.lbc .woocommerce-MyAccount-navigation ul {
		flex-direction: row; flex-wrap: nowrap;
		gap: 8px; overflow-x: auto;
		padding: 4px 0 8px; margin: 0 -4px;
		-webkit-overflow-scrolling: touch; scrollbar-width: none;
	}
	.lbc .woocommerce-MyAccount-navigation ul::-webkit-scrollbar { display: none; }
	.lbc .woocommerce-MyAccount-navigation li a {
		white-space: nowrap; font-size: 14.5px; padding: 10px 15px;
		border: 1px solid var(--c-line); background: var(--c-white);
		border-radius: 999px; min-height: 44px;
	}
	.lbc .woocommerce-MyAccount-navigation li.is-active a { border-color: var(--c-blue); }
	.lbc li.woocommerce-MyAccount-navigation-link--customer-logout a {
		margin-top: 0; border-top: 1px solid var(--c-line); padding-top: 10px; border-radius: 999px;
	}

	.lbc .lbc-single__grid { grid-template-columns: minmax(0, 1fr); }
	.lbc .lbc-line__cta { width: 100%; }
	.lbc .lbc-track--mini { max-width: 160px; }
}

@media (max-width: 430px) {
	.lbc .lbc-card, .lbc .lbc-card--lead { padding: 17px; }
	.lbc .lbc-track__label { font-size: 12.5px; }
	.lbc .lbc-track__note  { font-size: 11.5px; }
	.lbc .lbc-thumb { width: 50px; height: 50px; flex-basis: 50px; }
	.lbc .lbc-item__price { font-size: 14.5px; }
}

/* =============================================================================
   Complément v4 (12/09/2026) : dates estimées, retard, actions, produits
   recommandés, ligne de déconnexion.
   ========================================================================== */

.lbc .lbc-eta { margin: 0 0 14px; font-size: 15.5px; line-height: 1.45; color: var(--c-ink); }
.lbc .lbc-eta__label {
	display: block; margin-bottom: 2px;
	font-size: 11.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--c-mid);
}
.lbc .lbc-eta strong { font-weight: 700; color: var(--c-blue-dk); }
.lbc .lbc-eta--compact { margin: 0 0 12px; font-size: 13.5px; color: var(--c-mid); }
.lbc .lbc-hint--late { background: #fff5ec; color: #7a3c00; }
.lbc .lbc-hint--late .lbc-hint__icon { background: #e56800; }
.lbc .lbc-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.lbc .lbc-actions .lbc-btn { flex: 1 1 auto; width: auto; min-width: 0; }
@media (max-width: 480px) {
	.lbc .lbc-actions { flex-direction: column; }
	.lbc .lbc-actions .lbc-btn { width: 100%; }
}

/* Bordure bleue qui reste collée après un tap sur mobile.
   Sur Android, un tap déclenche :hover et l'état reste jusqu'au tap suivant.
   Le survol n'est appliqué que sur les appareils qui ont un vrai pointeur ;
   le focus clavier reste visible partout. */
.lbc .lbc-row:hover, .lbc .lbc-tile:hover { border-color: var(--c-line); background: var(--c-white); }
@media (hover: hover) and (pointer: fine) {
	.lbc .lbc-row:hover, .lbc .lbc-tile:hover { border-color: var(--c-blue); background: var(--c-ivory); }
}
.lbc .lbc-row:focus-visible, .lbc .lbc-tile:focus-visible {
	border-color: var(--c-blue); background: var(--c-ivory);
	outline: 3px solid var(--c-blue); outline-offset: 2px;
}

/* Produits recommandés (compte sans commande) */
.lbc .lbc-picks { margin: 0 0 22px; }
.lbc .lbc-picks__title {
	font-family: var(--serif); font-weight: 400;
	font-size: 21px; line-height: 1.2; margin: 0 0 4px; color: var(--c-ink);
}
.lbc .lbc-picks__sub { margin: 0 0 14px; font-size: 14.5px; color: var(--c-mid); }
.lbc .lbc-picks__grid { display: grid; grid-template-columns: 1fr; gap: 10px; }

.lbc .lbc-pick {
	display: grid; grid-template-columns: 76px minmax(0, 1fr); grid-template-rows: auto auto auto;
	column-gap: 14px; align-items: center;
	min-height: 96px; padding: 10px 14px 10px 10px;
	background: var(--c-white); border: 1px solid var(--c-line); border-radius: var(--r-sm);
	text-decoration: none; color: inherit;
	transition: border-color .14s ease, background-color .14s ease;
}
.lbc .lbc-pick__img { grid-row: 1 / span 3; width: 76px; height: 76px; border-radius: 8px; overflow: hidden; background: var(--c-ivory); }
.lbc .lbc-pick__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lbc .lbc-pick__name { font-size: 15px; font-weight: 700; color: var(--c-ink); line-height: 1.3; }
.lbc .lbc-pick__price { font-size: 15px; font-weight: 800; color: #e56800; margin-top: 2px; }
.lbc .lbc-pick__price del { font-weight: 400; color: #888; font-size: 13px; margin-right: 6px; }
.lbc .lbc-pick__price ins { text-decoration: none; }
.lbc .lbc-pick__cta { font-size: 13.5px; font-weight: 700; color: var(--c-blue-tx); margin-top: 4px; }
.lbc .lbc-pick__cta::after { content: " \2192"; }
.lbc .lbc-pick:focus-visible { outline: 3px solid var(--c-blue); outline-offset: 2px; border-color: var(--c-blue); }
@media (hover: hover) and (pointer: fine) {
	.lbc .lbc-pick:hover { border-color: var(--c-blue); background: var(--c-ivory); }
}
@media (min-width: 600px) {
	.lbc .lbc-picks__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
	.lbc .lbc-pick {
		grid-template-columns: 1fr; grid-template-rows: auto auto auto auto;
		text-align: center; padding: 14px 12px 16px; row-gap: 4px;
	}
	.lbc .lbc-pick__img { grid-row: auto; width: 100%; height: auto; aspect-ratio: 1 / 1; margin-bottom: 6px; }
}

/* Ligne de déconnexion */
.lbc .lbc-logout { margin: 22px 0 0; font-size: 13.5px; color: var(--c-mid); }
.lbc .lbc-logout a { color: var(--c-blue-tx); text-decoration: underline; padding: 6px 0; display: inline-block; }
/* ---------- 0. Tuiles : mobile uniquement --------------------------------------
   Sur mobile le menu latéral est masqué sur l'accueil du compte, les tuiles le
   remplacent. Sur desktop le menu est visible : les tuiles feraient doublon. */
@media (min-width: 922px) {
	.lbc .lbc-tiles { display: none; }
}

/* ---------- 1. Hors espace connecté, on centre et on borne ---------------------
   Vaut pour la page de connexion, mot de passe oublié et réinitialisation :
   ce sont les seules pages du compte sans menu latéral. */
.lbc .woocommerce:not(:has(.woocommerce-MyAccount-navigation)) {
	max-width: 1000px;
	margin-left: auto;
	margin-right: auto;
}

/* ---------- 2. Page de connexion : intro --------------------------------------- */
.lbc .lbc-login-intro { max-width: 60ch; margin: 0 0 26px; }
.lbc .lbc-login-intro h2 {
	font-family: var(--serif); font-weight: 400;
	font-size: clamp(26px, 5vw, 34px); line-height: 1.15; margin: 0 0 8px; color: var(--c-ink);
}
.lbc .lbc-login-intro p { margin: 0; color: var(--c-mid); font-size: 15.5px; line-height: 1.6; }

/* ---------- 3. Les deux cartes ------------------------------------------------- */
.lbc #customer_login {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 16px;
	align-items: start;
	margin: 0;
}
/* Un enfant vide (wrapper de notices sans notice) ne doit rien occuper. */
.lbc #customer_login > :empty { display: none; }

@media (min-width: 900px) {
	.lbc #customer_login { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 24px; }
	/* Par défaut, tout enfant prend la largeur entière : c'est la règle qui
	   empêche un intrus de manger la première case de la grille. */
	.lbc #customer_login > *            { grid-column: 1 / -1; }
	.lbc #customer_login > .u-column1   { grid-column: 1; }
	.lbc #customer_login > .u-column2   { grid-column: 2; }
}

.lbc #customer_login > .u-column1,
.lbc #customer_login > .u-column2 {
	float: none; width: auto; margin: 0; padding: 22px 20px;
	background: var(--c-white); border: 1px solid var(--c-line); border-radius: var(--r);
}
@media (min-width: 600px) {
	.lbc #customer_login > .u-column1,
	.lbc #customer_login > .u-column2 { padding: 30px 28px; }
}
/* La connexion domine : c'est l'action attendue de neuf visiteurs sur dix. */
.lbc #customer_login > .u-column1 {
	border-color: #ded9cf;
	box-shadow: 0 1px 2px rgba(26, 26, 26, .04), 0 10px 30px rgba(26, 26, 26, .06);
}
/* La création reste en retrait, sans ombre. */
.lbc #customer_login > .u-column2 { background: var(--c-ivory); }

.lbc #customer_login h2 {
	font-family: var(--serif); font-weight: 400;
	font-size: 24px; line-height: 1.2; margin: 0 0 14px; color: var(--c-ink);
}
/* Ligne de contexte sous le titre d'une carte (patch PHP E). La marge négative
   la rapproche du titre. Sans le patch PHP, cette règle ne s'applique à rien et
   l'espacement du titre reste correct. */
.lbc .lbc-card-lede { margin: -8px 0 18px; font-size: 14.5px; line-height: 1.5; color: var(--c-mid); }

/* WooCommerce encadre déjà chaque formulaire : on retire ce second cadre. */
.lbc form.login, .lbc form.register,
.lbc form.woocommerce-form-login, .lbc form.woocommerce-form-register {
	border: 0 !important; padding: 0 !important; margin: 0 !important;
	border-radius: 0 !important; box-shadow: none !important; background: transparent !important;
}

/* ---------- 4. Champs ------------------------------------------------------------ */
.lbc .woocommerce-form .form-row { margin: 0 0 14px; padding: 0; float: none; width: auto; }
.lbc .woocommerce-form .form-row label {
	display: block; margin: 0 0 6px; line-height: 1.3;
	font-size: 14px; font-weight: 700; color: var(--c-ink);
}
.lbc .woocommerce-form .form-row .required { display: none; }
.lbc .woocommerce-form .form-row .input-text,
.lbc .woocommerce-form .form-row input.input-text {
	box-sizing: border-box; width: 100%; min-height: 48px !important; margin: 0; padding: 11px 14px !important;
	font-size: 16px !important; line-height: 1.4; color: var(--c-ink);
	background: var(--c-white) !important; border: 1.5px solid var(--c-line-2) !important; border-radius: var(--r-sm) !important;
	box-shadow: none; transition: border-color .14s ease, box-shadow .14s ease;
}
/* Dans la carte ivoire, un champ blanc se détache mieux qu'un champ ivoire. */
.lbc #customer_login > .u-column2 .form-row .input-text { background: var(--c-white) !important; }
.lbc .woocommerce-form .form-row .input-text:focus {
	outline: none; border-color: var(--c-blue) !important; box-shadow: 0 0 0 3px rgba(28, 113, 216, .16);
}
/* Œil « afficher le mot de passe » ajouté par WooCommerce. */
.lbc .woocommerce-form .password-input { display: block; position: relative; width: 100%; }
.lbc .woocommerce-form .password-input .input-text { padding-right: 46px; }
.lbc .woocommerce-form .show-password-input { top: 50%; right: 14px; transform: translateY(-50%); margin: 0; }

/* Case « rester connecté ». */
.lbc .woocommerce-form-login__rememberme {
	display: inline-flex; align-items: center; gap: 9px; margin: 2px 0 14px;
	font-size: 14.5px; font-weight: 500; color: var(--c-ink); cursor: pointer; min-height: 24px;
}
.lbc .woocommerce-form-login__rememberme input {
	width: 18px; height: 18px; margin: 0; flex: 0 0 18px; accent-color: var(--c-blue);
}

/* ---------- 5. Boutons et liens --------------------------------------------------- */
.lbc .woocommerce-form button.button, .lbc .woocommerce-form .button {
	display: inline-flex; align-items: center; justify-content: center;
	width: 100% !important; min-height: 48px !important; margin: 4px 0 0 !important; padding: 12px 20px !important;
	background: var(--c-blue) !important; color: #fff !important; border: 0 !important; border-radius: var(--r-sm) !important;
	font-size: 15.5px !important; font-weight: 700; line-height: 1.2; cursor: pointer;
	box-shadow: none; transition: background-color .14s ease;
}
.lbc .woocommerce-form button.button:hover, .lbc .woocommerce-form button.button:focus-visible {
	background: var(--c-blue-dk) !important; color: #fff !important;
}
.lbc .woocommerce-form button.button:focus-visible { outline: 2px solid var(--c-blue); outline-offset: 2px; }
/* Le bouton de création est secondaire : même forme, poids visuel moindre. */
.lbc #customer_login > .u-column2 .woocommerce-form button.button {
	background: var(--c-white) !important; color: var(--c-blue-dk) !important;
	border: 1.5px solid var(--c-blue) !important;
}
.lbc #customer_login > .u-column2 .woocommerce-form button.button:hover,
.lbc #customer_login > .u-column2 .woocommerce-form button.button:focus-visible {
	background: var(--c-blue-soft) !important; color: var(--c-blue-dk) !important;
}
.lbc .woocommerce-LostPassword { margin: 14px 0 0; font-size: 14px; text-align: center; }
.lbc .woocommerce-LostPassword a { color: var(--c-blue-tx); text-decoration: underline; padding: 6px 0; display: inline-block; }

/* ---------- 6. Carte « Créer un compte » ----------------------------------------- */
.lbc .lbc-why { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.lbc .lbc-why li {
	position: relative; margin: 0; padding-left: 28px;
	font-size: 14.5px; line-height: 1.45; color: var(--c-mid);
}
.lbc .lbc-why li::before {
	content: ""; position: absolute; left: 0; top: 1px; width: 18px; height: 18px; background: var(--c-blue);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
}
/* « Pas de mot de passe à inventer… » : le <p> sans classe du template. */
.lbc .woocommerce-form-register > p:not([class]) { margin: -4px 0 14px; font-size: 13.5px; line-height: 1.5; color: var(--c-mid); }
/* Texte RGPD : petit et discret, au-dessus du bouton. */
.lbc .woocommerce-privacy-policy-text { margin: 0 0 12px; }
.lbc .woocommerce-privacy-policy-text p { margin: 0; font-size: 12.5px; line-height: 1.5; color: var(--c-mid); }
.lbc .woocommerce-privacy-policy-text a { color: var(--c-blue-tx); text-decoration: underline; }

/* ---------- 7. Réassurance et aide sous les formulaires -------------------------- */
.lbc .lbc-login-trust {
	list-style: none; margin: 22px 0 0; padding: 16px 18px;
	background: var(--c-ivory); border: 1px solid var(--c-line); border-radius: var(--r-sm);
	display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px;
	font-size: 13.5px; line-height: 1.4; color: var(--c-mid);
}
.lbc .lbc-login-trust li { position: relative; margin: 0; padding-left: 22px; }
.lbc .lbc-login-trust li::before {
	content: ""; position: absolute; left: 0; top: 1px; width: 15px; height: 15px; background: var(--c-blue);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
}
.lbc .lbc-login-help { margin: 16px 0 0; font-size: 14px; color: var(--c-mid); text-align: center; }
.lbc .lbc-login-help a { color: var(--c-blue-tx); text-decoration: underline; }

/* ---------- 8. Mot de passe oublié / réinitialisation --------------------------- */
.lbc form.lost_reset_password {
	max-width: 520px; margin: 0; padding: 22px 20px;
	background: var(--c-white); border: 1px solid var(--c-line); border-radius: var(--r);
}
@media (min-width: 600px) { .lbc form.lost_reset_password { padding: 28px; } }
.lbc form.lost_reset_password > p:first-child { margin: 0 0 16px; font-size: 15px; line-height: 1.55; color: var(--c-mid); }
.lbc form.lost_reset_password .form-row-first, .lbc form.lost_reset_password .form-row-last { width: 100%; float: none; }
.lbc form.lost_reset_password .clear { display: none; }

/* =============================================================================
   Complément mobile (22/09/2026), vérifié au rendu en 360 et 390 px.
   ========================================================================== */

/* 1. En-tête de carte : sous 560 px, un badge long comme « En attente de
   règlement » comprime la date jusqu'à la casser sur trois lignes. Le badge
   passe au-dessus, sur sa propre ligne. */
@media (max-width: 560px) {
	.lbc .lbc-card__head {
		flex-direction: column;
		align-items: flex-start;
		gap: 10px;
		margin-bottom: 16px;
	}
	.lbc .lbc-card__head .lbc-badge { order: -1; }
	.lbc .lbc-single__head { flex-direction: column; align-items: flex-start; gap: 12px; }
	.lbc .lbc-single__head .lbc-badge { order: -1; }
}

/* 2. Cibles tactiles : les liens de texte du compte passent sous les 24 px
   minimum de la WCAG 2.2. On leur donne de la hauteur sans changer le dessin. */
@media (max-width: 921px) {
	.lbc .lbc-help__list a,
	.lbc .lbc-all,
	.lbc .lbc-back,
	.lbc .lbc-login-help a,
	.lbc .woocommerce-privacy-policy-text a {
		display: inline-block;
		padding-top: 8px;
		padding-bottom: 8px;
	}
	.lbc .lbc-help__list { gap: 2px; }
}

/* 3. Ligne de commande compacte : badge un cran plus petit pour laisser
   respirer le titre du produit. */
@media (max-width: 480px) {
	.lbc .lbc-row { align-items: flex-start; }
	.lbc .lbc-row .lbc-badge { font-size: 12.5px; padding: 5px 10px; }
	.lbc .lbc-row__chev { margin-top: 4px; }
}

/* 4. Le bouton « Racheter » d'une ligne d'article est le seul bouton sous
   44 px. On le remonte au doigt sur mobile. */
@media (max-width: 921px) {
	.lbc .lbc-btn--soft { min-height: 44px; }
}

/* =============================================================================
   Pages natives du compte : « Mes informations » et « Mes adresses »
   (22/09/2026)
   WooCommerce ne pose la classe .woocommerce-form que sur la connexion,
   l'inscription et le mot de passe oublié. Les deux pages ci-dessus utilisent
   d'autres classes : sans ces règles, leurs champs, leurs boutons et leurs
   cartes d'adresse gardent le style par défaut du thème.
   ========================================================================== */

/* ---------- 1. Champs, partout dans l'espace client ---------------------- */
.lbc .woocommerce-MyAccount-content .form-row { margin: 0 0 16px; padding: 0; }
.lbc .woocommerce-MyAccount-content .form-row > label {
	display: block; margin: 0 0 6px; line-height: 1.3;
	font-size: 14px; font-weight: 700; color: var(--c-ink);
}
.lbc .woocommerce-MyAccount-content .form-row .required { display: none; }
.lbc .woocommerce-MyAccount-content .form-row .input-text,
.lbc .woocommerce-MyAccount-content .form-row input.input-text,
.lbc .woocommerce-MyAccount-content .form-row select {
	box-sizing: border-box; width: 100%; min-height: 48px !important; margin: 0; padding: 11px 14px !important;
	font-size: 16px !important; line-height: 1.4; color: var(--c-ink);
	background: var(--c-white) !important; border: 1.5px solid var(--c-line-2) !important; border-radius: var(--r-sm) !important;
	box-shadow: none; transition: border-color .14s ease, box-shadow .14s ease;
}
.lbc .woocommerce-MyAccount-content .form-row .input-text:focus,
.lbc .woocommerce-MyAccount-content .form-row select:focus {
	outline: none; border-color: var(--c-blue) !important; box-shadow: 0 0 0 3px rgba(28, 113, 216, .16);
}
/* Le texte d'aide sous un champ (« Indique comment votre nom apparaîtra… »). */
.lbc .woocommerce-MyAccount-content .form-row em,
.lbc .woocommerce-MyAccount-content .form-row .description {
	display: block; margin-top: 6px;
	font-size: 13px; font-style: normal; line-height: 1.45; color: var(--c-mid);
}
/* Prénom et Nom côte à côte à partir de 600 px, empilés en dessous.
   On garde les flottants de WooCommerce, qui ignorent les espaces du HTML,
   et le .clear natif garde son rôle de purge. */
.lbc .woocommerce-MyAccount-content form .form-row-first,
.lbc .woocommerce-MyAccount-content form .form-row-last { float: none; width: 100%; }
.lbc .woocommerce-MyAccount-content form .clear { display: block; clear: both; height: 0; }
@media (min-width: 600px) {
	.lbc .woocommerce-MyAccount-content form .form-row-first { float: left; width: calc(50% - 8px); }
	.lbc .woocommerce-MyAccount-content form .form-row-last  { float: right; width: calc(50% - 8px); }
}

/* Un formulaire de compte étalé sur toute la largeur de l'écran est illisible. */
.lbc .woocommerce-EditAccountForm { max-width: 680px; }

/* ---------- 2. Bloc « Changement de mot de passe » ------------------------ */
.lbc .woocommerce-EditAccountForm fieldset {
	margin: 26px 0 0; padding: 20px;
	background: var(--c-ivory); border: 1px solid var(--c-line); border-radius: var(--r);
}
.lbc .woocommerce-EditAccountForm fieldset legend {
	padding: 0 8px; margin-bottom: 2px;
	font-size: 15px; font-weight: 700; color: var(--c-ink);
}
.lbc .woocommerce-EditAccountForm fieldset .form-row:last-of-type { margin-bottom: 0; }
.lbc .woocommerce-MyAccount-content .password-input { display: block; position: relative; width: 100%; }
.lbc .woocommerce-MyAccount-content .password-input .input-text { padding-right: 46px !important; }
.lbc .woocommerce-MyAccount-content .show-password-input { top: 50%; right: 14px; transform: translateY(-50%); margin: 0; }

/* ---------- 3. Bouton d'enregistrement ----------------------------------- */
.lbc .woocommerce-MyAccount-content form button.button,
.lbc .woocommerce-MyAccount-content form input[type="submit"].button {
	display: inline-flex; align-items: center; justify-content: center;
	min-height: 48px !important; margin: 10px 0 0 !important; padding: 12px 26px !important;
	background: var(--c-blue) !important; color: #fff !important; border: 0 !important; border-radius: var(--r-sm) !important;
	font-size: 15.5px !important; font-weight: 700; line-height: 1.2; cursor: pointer;
	box-shadow: none; transition: background-color .14s ease;
}
.lbc .woocommerce-MyAccount-content form button.button:hover,
.lbc .woocommerce-MyAccount-content form button.button:focus-visible {
	background: var(--c-blue-dk) !important; color: #fff !important;
}
@media (max-width: 600px) {
	.lbc .woocommerce-MyAccount-content form button.button,
	.lbc .woocommerce-MyAccount-content form input[type="submit"].button { width: 100% !important; }
}

/* ---------- 4. « Mes adresses » : deux cartes, un seul cadre -------------- */
.lbc .woocommerce-MyAccount-content .woocommerce-Addresses {
	display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; margin: 18px 0 0;
}
@media (min-width: 700px) {
	.lbc .woocommerce-MyAccount-content .woocommerce-Addresses { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
}
/* Le conteneur de colonne ne porte plus rien : le cadre unique est sur la carte.
   Marche que .woocommerce-Address soit la colonne elle-même ou son enfant. */
.lbc .woocommerce-MyAccount-content .woocommerce-Addresses > div {
	float: none !important; width: auto !important; margin: 0 !important; padding: 0 !important;
	background: none !important; border: 0 !important; box-shadow: none !important;
}
.lbc .woocommerce-MyAccount-content .woocommerce-Addresses .woocommerce-Address {
	padding: 20px !important;
	background: var(--c-white) !important;
	border: 1px solid var(--c-line) !important;
	border-radius: var(--r) !important;
}
.lbc .woocommerce-Address-title {
	display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap;
	gap: 6px 14px; margin: 0 0 14px; padding: 0; border: 0;
}
.lbc .woocommerce-Address-title h2,
.lbc .woocommerce-Address-title h3 {
	font-family: var(--serif); font-weight: 400;
	font-size: 19px; line-height: 1.25; margin: 0; padding: 0; color: var(--c-ink);
}
.lbc .woocommerce-Address-title h2::after,
.lbc .woocommerce-Address-title h3::after { content: none; }
.lbc .woocommerce-Address-title .edit {
	float: none !important;
	font-size: 14px; font-weight: 700; color: var(--c-blue-tx); text-decoration: underline;
	padding: 4px 0;
}
.lbc .woocommerce-MyAccount-content .woocommerce-Address address {
	font-style: normal; font-size: 14.5px; line-height: 1.6; color: var(--c-mid); margin: 0;
}
/* =============================================================================
   Complément v5.3 (16/11/2026) : haut de page à l'habillage commun du site
   (bande bleu clair, cubes du logo, titre H1), cadres du thème retirés,
   adresses alignées, boutons à leur largeur, messages WooCommerce habillés.
   Va avec le snippet PHP « Espace client » v5.3 (fonction lbc_top).
   ========================================================================== */

/* ---------- 1. Haut de page ------------------------------------------------ */
.lbc .lbc-top { margin: 0 0 26px; }
.lbc .lbc-top .lba-band { padding: 22px 0 28px; }
.lbc .lbc-top .lba-cubes { margin: 0 0 14px; }
.lbc .lbc-top h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); line-height: 1.12; margin: 0; }
.lbc .lbc-top .lba-lead { margin: 12px 0 0; font-size: 1.0625rem; line-height: 1.6; }
.lbc .woocommerce > .woocommerce-notices-wrapper:empty { display: none; }

/* Sur ordinateur : la bande sur toute la largeur, puis menu et contenu.
   La dernière rangée absorbe la hauteur restante : le bloc d'aide reste
   collé sous le menu au lieu de descendre avec le contenu. */
@media (min-width: 922px) {
	.lbc .woocommerce:has(.woocommerce-MyAccount-navigation) { grid-template-rows: auto auto auto 1fr; row-gap: 0; }
	.lbc .lbc-top { grid-column: 1 / -1; grid-row: 1; margin-bottom: 34px; }
	.lbc .woocommerce > .woocommerce-notices-wrapper { grid-column: 1 / -1; grid-row: 2; }
	.lbc .woocommerce-MyAccount-navigation { grid-column: 1; grid-row: 3; }
	.lbc .lbc-help { grid-column: 1; grid-row: 4; margin-top: 18px; }
	.lbc .woocommerce-MyAccount-content { grid-column: 2; grid-row: 3 / span 2; }
}

/* ---------- 2. Menu : le thème posait un trait entre chaque entrée -------- */
.lbc .woocommerce-MyAccount-navigation li { border: 0 !important; }

/* ---------- 3. Historique : plus de cadre du thème autour des cartes ------ */
.lbc .woocommerce-MyAccount-content table.woocommerce-orders-table { border: 0 !important; border-radius: 0; margin: 0; }
.lbc .woocommerce-MyAccount-content table.woocommerce-orders-table td,
.lbc .woocommerce-MyAccount-content table.woocommerce-orders-table th {
	border: 0 !important; padding: 0 !important; background: none !important;
}
.lbc .woocommerce-MyAccount-content .woocommerce-pagination { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 0; }
.lbc .woocommerce-MyAccount-content .woocommerce-pagination .button {
	display: inline-flex; align-items: center; justify-content: center;
	min-height: 44px; margin: 0; padding: 10px 20px !important;
	background: transparent !important; color: var(--c-blue-tx) !important;
	border: 1px solid var(--c-line-2) !important; border-radius: var(--r-sm) !important;
	font-size: 15px !important; font-weight: 700; line-height: 1.2; text-decoration: none;
}
.lbc .woocommerce-MyAccount-content .woocommerce-pagination .button:hover,
.lbc .woocommerce-MyAccount-content .woocommerce-pagination .button:focus-visible {
	background: var(--c-blue-soft) !important; border-color: var(--c-blue) !important; color: var(--c-blue-dk) !important;
}

/* ---------- 4. Mes adresses ------------------------------------------------
   Le thème ajoute deux pseudo-éléments de purge au conteneur : dans une
   grille ils prennent chacun une case et décalent les deux cartes en escalier.
   Il encadre aussi l'en-tête et l'adresse, ce qui faisait un cadre dans le cadre. */
.lbc .woocommerce-MyAccount-content .woocommerce-Addresses::before,
.lbc .woocommerce-MyAccount-content .woocommerce-Addresses::after { content: none !important; display: none !important; }
.lbc .woocommerce-MyAccount-content .woocommerce-Address-title { background: none !important; padding: 0 !important; border: 0 !important; }
.lbc .woocommerce-MyAccount-content .woocommerce-Address address { border: 0 !important; padding: 0 !important; background: none !important; }
.lbc .woocommerce-MyAccount-content > p { margin: 0 0 18px; font-size: 15.5px; line-height: 1.5; color: var(--c-mid); }

/* ---------- 5. Boutons d'action : à leur largeur sur ordinateur ---------- */
@media (min-width: 700px) {
	.lbc .lbc-actions .lbc-btn { flex: 0 0 auto; }
}

/* ---------- 6. Messages et boutons natifs de WooCommerce ----------------- */
.lbc .woocommerce-MyAccount-content .woocommerce-info,
.lbc .woocommerce-MyAccount-content .woocommerce-message {
	margin: 0 0 18px; border: 0 !important; border-radius: var(--r-sm);
	background: var(--c-blue-soft); color: #1e3a5f; font-size: 14.5px; line-height: 1.5;
}
.lbc .woocommerce-MyAccount-content .woocommerce-info .button,
.lbc .woocommerce-MyAccount-content .woocommerce-message .button,
.lbc .woocommerce-MyAccount-content > a.button {
	display: inline-flex; align-items: center; justify-content: center;
	min-height: 44px; padding: 10px 20px !important;
	background: var(--c-blue) !important; color: #fff !important;
	border: 0 !important; border-radius: var(--r-sm) !important;
	font-size: 15px !important; font-weight: 700; line-height: 1.2; text-decoration: none;
}
.lbc .woocommerce-MyAccount-content .woocommerce-info .button:hover,
.lbc .woocommerce-MyAccount-content .woocommerce-message .button:hover,
.lbc .woocommerce-MyAccount-content > a.button:hover,
.lbc .woocommerce-MyAccount-content .woocommerce-info .button:focus-visible,
.lbc .woocommerce-MyAccount-content .woocommerce-message .button:focus-visible,
.lbc .woocommerce-MyAccount-content > a.button:focus-visible {
	background: var(--c-blue-dk) !important; color: #fff !important;
}

/* ---------- 7. Finitions v5.3 --------------------------------------------- */
/* Fil d'Ariane aligné sur le contenu du compte (ailleurs il suit la colonne de 1080 px). */
body.lbc:has(.lba) #ast-breadcrumbs-yoast { max-width: none !important; margin: 0 !important; padding-left: 0 !important; padding-right: 0 !important; }
body.lbc:not(.logged-in):has(.lba) #ast-breadcrumbs-yoast { max-width: 1000px !important; margin: 0 auto !important; }

/* En-tête des cartes d'adresse : les pseudo-éléments de purge du thème décalaient le titre et le lien. */
.lbc .woocommerce-MyAccount-content .woocommerce-Address-title::before,
.lbc .woocommerce-MyAccount-content .woocommerce-Address-title::after { content: none !important; display: none !important; }

/* Adresse de livraison sur la page d'une commande : pas de cadre dans la carte. */
.lbc .woocommerce-MyAccount-content .lbc-addr { border: 0 !important; padding: 0 !important; background: none !important; }

/* Messages WooCommerce : texte d'abord, bouton à droite, plus d'icône posée sur le texte. */
.lbc .woocommerce-MyAccount-content .woocommerce-info::before,
.lbc .woocommerce-MyAccount-content .woocommerce-message::before { content: none !important; display: none !important; }
.lbc .woocommerce-MyAccount-content .woocommerce-info,
.lbc .woocommerce-MyAccount-content .woocommerce-message {
	display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding: 14px 16px !important;
}
.lbc .woocommerce-MyAccount-content .woocommerce-info .button,
.lbc .woocommerce-MyAccount-content .woocommerce-message .button { order: 2; margin: 0 0 0 auto !important; float: none !important; }

/* Les pseudo-éléments de purge du conteneur comptaient comme des cases de la grille :
   sur téléphone ils laissaient un vide au-dessus et au-dessous de la bande. */
.lbc .woocommerce:has(.woocommerce-MyAccount-navigation)::before,
.lbc .woocommerce:has(.woocommerce-MyAccount-navigation)::after { content: none !important; display: none !important; }
@media (max-width: 921px) {
	.lbc .lbc-top { margin-bottom: 4px; }
}

/* Sur téléphone, WooCommerce alignait à droite le contenu des cartes de l'historique. */
.lbc .woocommerce-MyAccount-content table.woocommerce-orders-table td { text-align: left !important; }

/* =============================================================================
   Complément v5.4 (16/11/2026) : police du site, palette de l'habillage commun
   (bleu clair et pastels du logo), menu et raccourcis en cartes, engagements,
   suggestions et demande de retour.
   ========================================================================== */

/* ---------- 1. Police : le compte héritait de la police système du thème --- */
.lbc .woocommerce,
.lbc .woocommerce input, .lbc .woocommerce select, .lbc .woocommerce textarea,
.lbc .woocommerce button, .lbc .woocommerce .button {
	font-family: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
}
.lbc .woocommerce { color: var(--c-ink); -webkit-font-smoothing: antialiased; }

/* ---------- 2. Palette : les gris beiges deviennent ceux du reste du site -- */
.lbc {
	--c-line: #e3e8ef; --c-line-2: #cdd6e1; --c-ivory: #f7f9fc; --c-blue-soft: #f1f6fd;
	--p-sky: #e8f6fb; --p-sky-d: #1a6a8f; --p-ora: #fdefe6; --p-ora-d: #b4501a; --p-gre: #eff6e4; --p-gre-d: #45710f;
	--r: 16px; --r-sm: 12px;
}
.lbc .lbc-card { box-shadow: 0 1px 2px rgba(16, 24, 40, .04); }
.lbc .lbc-badge--neutral { background: #eef1f5; color: #44505f; }
.lbc .lbc-thumb { background: #fff; border: 1px solid var(--c-line); }
.lbc #customer_login > .u-column1 { border-color: var(--c-line); box-shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 12px 32px rgba(16, 24, 40, .06); }
.lbc .lbc-hello__sub { margin-bottom: 18px; font-size: 16px; }

/* ---------- 3. Menu en carte, rubrique active en bleu ciel du logo --------- */
@media (min-width: 922px) {
	.lbc .woocommerce-MyAccount-navigation { padding: 8px; background: #fff; border: 1px solid var(--c-line); border-radius: var(--r); }
	.lbc li.woocommerce-MyAccount-navigation-link--customer-logout a { margin-top: 6px; padding-top: 14px; }
}
.lbc .woocommerce-MyAccount-navigation li.is-active a { background: var(--p-sky); color: var(--p-sky-d); }
.lbc .lbc-help { border-radius: var(--r); }

/* ---------- 4. Raccourcis du tableau de bord : cartes pastel, sur tous les écrans */
.lbc .lbc-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; margin-top: 26px; padding-top: 24px; }
@media (min-width: 922px) {
	.lbc .lbc-tiles { display: grid; }
}
.lbc .lbc-tiles .lbc-tile:nth-child(3n+1) { --tile-bg: var(--p-ora); --tile-d: #f5a46b; }
.lbc .lbc-tiles .lbc-tile:nth-child(3n+2) { --tile-bg: var(--p-gre); --tile-d: #8cc63f; }
.lbc .lbc-tiles .lbc-tile:nth-child(3n)   { --tile-bg: var(--p-sky); --tile-d: #5bbbe0; }
.lbc .lbc-tiles .lbc-tile,
.lbc .lbc-tiles .lbc-tile:hover,
.lbc .lbc-tiles .lbc-tile:focus-visible {
	margin: 0; min-height: 76px; background: var(--tile-bg); border: 1px solid transparent; border-radius: var(--r);
}
@media (hover: hover) and (pointer: fine) {
	.lbc .lbc-tiles .lbc-tile:hover { border-color: var(--tile-d); }
}
.lbc .lbc-tiles .lbc-tile::before { content: ""; flex: 0 0 14px; width: 14px; height: 14px; border-radius: 4px; background: var(--tile-d); }
.lbc .lbc-tiles .lbc-row__chev { background: var(--c-ink); opacity: .45; }
.lbc .lbc-tiles .lbc-tile__sub { color: #4a4a4a; }

/* ---------- 5. Engagements, aux trois couleurs du logo --------------------- */
.lbc .lbc-trust {
	list-style: none; margin: 26px 0 0; padding: 16px 18px;
	display: flex; flex-wrap: wrap; gap: 10px 26px;
	background: #fff; border: 1px solid var(--c-line); border-radius: var(--r);
	font-size: 14px; font-weight: 600; line-height: 1.4; color: var(--c-ink);
}
.lbc .lbc-trust li { margin: 0; display: flex; align-items: center; gap: 9px; }
.lbc .lbc-trust li::before { content: ""; flex: 0 0 12px; width: 12px; height: 12px; border-radius: 4px; background: #f5a46b; }
.lbc .lbc-trust li:nth-child(2)::before { background: #8cc63f; }
.lbc .lbc-trust li:nth-child(3)::before { background: #5bbbe0; }

/* ---------- 6. Suggestions de produits ------------------------------------- */
.lbc .lbc-tiles + .lbc-picks { margin: 30px 0 0; }
.lbc .lbc-pick { border-radius: var(--r); }
.lbc .lbc-pick__img { background: #fff; }
.lbc .lbc-pick__price { color: var(--c-ink); font-weight: 700; }

/* ---------- 7. Demande de retour sur une commande -------------------------- */
.lbc .lbc-card--return { background: var(--p-gre); border-color: transparent; box-shadow: none; }
.lbc .lbc-card--return .lbc-btn--ghost { background: #fff; border-color: transparent; color: var(--p-gre-d); }
.lbc .lbc-card--return .lbc-btn--ghost:hover,
.lbc .lbc-card--return .lbc-btn--ghost:focus-visible { background: #fff; border-color: var(--p-gre-d); color: var(--p-gre-d); }
.lbc .lbc-card__more { margin: 12px 0 0; font-size: 13.5px; }
.lbc .lbc-card__more a { color: var(--p-gre-d); text-decoration: underline; }

/* ---------- 8. Lien « Modifier » des cartes d'adresse ---------------------
   Le libellé natif « Modifier Adresse de facturation » reste lu par les
   lecteurs d'écran ; à l'écran on affiche « Modifier », le titre est juste à côté. */
html[lang^="fr"] .lbc .woocommerce-Address-title .edit { font-size: 0; }
html[lang^="fr"] .lbc .woocommerce-Address-title .edit::after { content: "Modifier"; font-size: 14px; }

/* Suggestions : cartes compactes (image à gauche), trois par ligne sur ordinateur.
   En grandes vignettes elles prenaient plus de place que les commandes. */
@media (min-width: 600px) {
	.lbc .lbc-picks__grid { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
	.lbc .lbc-pick {
		grid-template-columns: 76px minmax(0, 1fr); grid-template-rows: auto auto auto;
		text-align: left; padding: 10px 14px 10px 10px; row-gap: 0; column-gap: 14px;
	}
	.lbc .lbc-pick__img { grid-row: 1 / span 3; width: 76px; height: 76px; aspect-ratio: auto; margin-bottom: 0; }
}
.lbc .lbc-pick__name { font-size: 14.5px; font-weight: 600; }

/* Menu en carte : un peu plus large pour que « Moyens de paiement » tienne sur une ligne. */
@media (min-width: 922px) {
	.lbc .woocommerce:has(.woocommerce-MyAccount-navigation) { grid-template-columns: 256px minmax(0, 1fr); column-gap: 36px; }
}
/* Cartes d'adresse : de l'air entre le titre et l'adresse. */
.lbc .woocommerce-MyAccount-content .woocommerce-Address-title { margin-bottom: 12px !important; align-items: center; }