/* css/public.css */
:root {
	--lft-promo-blue: #1267d6;
	--lft-promo-navy: #1e3760;
	--lft-promo-green: #08a958;
}

.lft-promotion-offer {
	container-type: inline-size;
	width: 100%;
	margin: 10px 0 0;
	padding: 0;
	overflow: hidden;
	border: 0;
	border-radius: 12px;
	background: transparent;
	box-sizing: border-box;
	color: var(--lft-texte, #1e2b32);
}

/*
 * Carte d'offre de la fiche, version compacte (cadrage de la fiche produit du thème, section 15.3) : bandeau de 24 px
 * (26 sur ordinateur), titre en capitales de 12 px (12,5), avantages en 13 px sur une ligne chacun, resserrés jusqu'à
 * 11 px sur les téléphones étroits (la plus longue ligne fait 22,75 fois la taille de la police) ; ni filet ni ombre.
 * La couleur de l’en-tête vient du réglage Fiche produit. Les lignes suivent la palette du thème.
 */
.lft-promotion-offer__header {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 24px;
	padding: 3px 10px;
	box-sizing: border-box;
	color: #fff;
	background: var(--lft-promo-title, var(--lft-marine, #1e3760));
	text-align: center;
}

.lft-promotion-offer__titre {
	margin: 0 !important;
	overflow-wrap: anywhere;
	color: #fff !important;
	font-size: 12px !important;
	font-weight: 800 !important;
	line-height: 16px !important;
	letter-spacing: .03em;
	text-transform: uppercase;
}

.lft-promotion-offer__titre svg { width: 13px; height: 13px; margin-inline: 2px; vertical-align: -2px; fill: #ffd25a; stroke: none; }

.lft-promotion-offer__benefits {
	display: grid;
	gap: 5px;
	margin: 0 !important;
	padding: 8px 6px 8px 8px !important;
	box-sizing: border-box;
	border: 1px solid var(--lft-bordure-forte, #c5d0da);
	border-top: 0;
	border-radius: 0 0 12px 12px;
	background: #fff;
	list-style: none !important;
}

.lft-promotion-offer__benefits li {
	display: flex;
	align-items: center;
	gap: 6px;
	min-height: 20px;
	margin: 0 !important;
	box-sizing: border-box;
	font-size: 13px;
	font-size: clamp(11px, calc((100cqi - 37px) / 22.9), 13px);
	line-height: 18px;
}

.lft-promotion-offer__benefits li > span:last-child { min-width: 0; }
.lft-promotion-offer__benefits strong, .lft-promotion-offer__benefits b { color: var(--lft-marine, inherit); }

.lft-promotion-offer__check {
	display: inline-flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 15px;
	height: 15px;
	color: var(--lft-marine, #013a68);
}

.lft-promotion-offer__check svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2; }

@media (min-width: 1024px) {
	.lft-promotion-offer { margin-top: 14px; }
	.lft-promotion-offer__header { min-height: 26px; }
	.lft-promotion-offer__titre { font-size: 12.5px !important; }
}

.lft-promotion-timer { display: inline-flex; align-items: center; min-width: 72px; color: var(--lft-promo-title, #1e3760); font-size: .96em; font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: 0; text-transform: none; white-space: nowrap; }
.lft-promotion-offer__header .lft-promotion-timer { color: rgba(255, 255, 255, .92); }

.lft-promotion-coupon { display: inline-flex; align-items: center; gap: 5px; vertical-align: middle; white-space: nowrap; }
.lft-promotion-coupon__code { display: inline-flex; align-items: center; height: 22px; min-height: 22px; padding: 0 7px; box-sizing: border-box; border: 1px solid rgba(30, 55, 96, .18); border-radius: 5px; background: #fff; color: var(--lft-promo-navy); font-size: .91em; line-height: 1; }
.lft-promotion-coupon__button { display: inline-flex; align-items: center; justify-content: center; height: 22px; min-height: 22px; margin: 0 !important; padding: 0 8px !important; box-sizing: border-box; border: 0; border-radius: 5px; background: var(--lft-promo-button-bg, var(--lft-promo-blue)) !important; color: var(--lft-promo-button-color, #fff) !important; font-size: 10px !important; font-weight: 800 !important; line-height: 1 !important; letter-spacing: .01em; cursor: pointer; }
.lft-promotion-coupon__button[disabled]:not(.is-applied) { cursor: wait; opacity: .72; }
.lft-promotion-coupon__button.is-applied { background: transparent !important; color: var(--lft-promo-applied, var(--lft-promo-green)) !important; cursor: default; opacity: 1; }

.lft-promotion-header { display: flex; align-items: center; justify-content: center; min-height: var(--lft-promo-header-height, 30px); padding: 4px 14px; background: var(--lft-promo-header-bg, var(--lft-promo-navy)); color: #fff; box-sizing: border-box; }
.lft-promotion-header__inner { width: 100%; text-align: center; font-size: 13px; line-height: 1.35; }
.lft-promotion-header__inner p { margin: 0 !important; }
.lft-promotion-header .lft-promotion-coupon__code { background: #fff; }
.lft-promotion-header .lft-promotion-timer { color: inherit; }

/* Bandeau en diapositives (src/Frontend/HeaderBanner.php) : sous 1 024 px, la promo alterne avec la réassurance (assets/js/header.js). Le nouveau message descend du haut pendant que l'ancien sort par le bas (0,5 s), et le fond passe de la couleur de l'un à celle de l'autre en fondu (2 s). Au-delà, seule la promo reste. Une ligne par message, tronquée si elle est trop longue. */
.lft-promotion-header--slides { position: relative; display: block; height: var(--lft-promo-header-height, 30px); min-height: 0; padding: 0; overflow: hidden; transition: background-color 2s ease; }
.lft-promotion-header--slides.is-message,
.lft-promotion-header--sans-promo { background-color: var(--lft-promo-reassurance-bg, #013a68); }
.lft-promotion-header__slide { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 0 12px; box-sizing: border-box; color: #fff; opacity: 0; transform: translateY(-100%); pointer-events: none; }
.lft-promotion-header__slide.is-active,
.lft-promotion-header__slide.is-leaving { transition: transform .5s ease-out, opacity .5s ease-out; }
.lft-promotion-header__slide.is-active { opacity: 1; transform: none; pointer-events: auto; }
.lft-promotion-header__slide.is-leaving { transform: translateY(100%); }
.lft-promotion-header--slides .lft-promotion-header__inner { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.lft-promotion-header--slides .lft-promotion-header__inner p { display: inline; }
/* La réassurance a la graisse de la promo, saisie en gras : les deux messages se lisent de la même façon. */
.lft-promotion-header strong,
.lft-promotion-header b,
.lft-promotion-header__slide--message .lft-promotion-header__inner { font-weight: 700; }
.lft-promotion-header a { color: inherit !important; font-weight: inherit; text-decoration: none; }
.lft-promotion-header a:hover { text-decoration: underline; text-underline-offset: 3px; }
.lft-promotion-header a:focus-visible { outline: 2px solid #fff; outline-offset: -2px; }
.lft-promotion-star { color: #ffb800; }
@media (min-width: 1024px) {
	.lft-promotion-header--sans-promo,
	.lft-promotion-header__slide--message { display: none; }
	.lft-promotion-header--slides.is-message { background-color: var(--lft-promo-header-bg, var(--lft-promo-navy)); }
	.lft-promotion-header--slides .lft-promotion-header__slide--promo { opacity: 1; transform: none; pointer-events: auto; }
}
.lft-promotion-scarcity { margin: 0 0 6px; color: var(--lft-promo-scarcity-color, #52676e); font-size: var(--lft-promo-scarcity-size, 15px); line-height: 1.35; }
.lft-promotion-toast { position: fixed; right: 18px; bottom: 18px; z-index: 100000; max-width: min(360px, calc(100vw - 36px)); padding: 12px 15px; border-radius: 10px; background: #102d50; box-shadow: 0 14px 35px rgba(10, 30, 55, .24); color: #fff; font-size: 13px; line-height: 1.4; }
.lft-promotion-toast.is-error { background: #b42318; }

html.lft-promotion-modal-open { overflow: hidden; }

.lft-promotion-popup {
	position: fixed;
	inset: 0;
	z-index: 1000001;
	display: grid;
	padding: 22px;
	place-items: center;
	background: rgba(14, 35, 61, .72);
	opacity: 0;
	transition: opacity .18s ease;
}

.lft-promotion-popup.is-visible { opacity: 1; }

.lft-promotion-popup__dialog {
	position: relative;
	width: min(100%, 440px);
	padding: 30px 30px 28px;
	box-sizing: border-box;
	border: 1px solid rgba(184, 207, 233, .7);
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 26px 80px rgba(8, 28, 52, .28);
	color: #1e2d3d;
	text-align: center;
	transform: translateY(8px) scale(.985);
	transition: transform .2s ease;
}

.lft-promotion-popup.is-visible .lft-promotion-popup__dialog { transform: translateY(0) scale(1); }

.lft-promotion-popup__close {
	position: absolute;
	top: 8px;
	right: 8px;
	display: grid;
	width: 32px !important;
	height: 32px !important;
	min-width: 32px !important;
	min-height: 32px !important;
	max-width: 32px;
	max-height: 32px;
	margin: 0 !important;
	padding: 0 !important;
	place-items: center;
	border: 0;
	border-radius: 999px !important;
	background: #f2f6fa;
	color: #53687d;
	font-size: 24px;
	font-weight: 400;
	line-height: 1;
	cursor: pointer;
}

.lft-promotion-popup__close:hover,
.lft-promotion-popup__close:focus-visible { background: #e7eef6; color: #1e3760; outline: 2px solid rgba(18, 103, 214, .18); }

.lft-promotion-popup__success {
	display: grid;
	width: 54px;
	height: 54px;
	margin: 0 auto 17px;
	place-items: center;
	border-radius: 50%;
	background: #e7f8ef;
	color: var(--lft-promo-green);
}

.lft-promotion-popup__success svg { width: 27px; height: 27px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2.5; }

.lft-promotion-popup__title {
	margin: 0 0 8px !important;
	color: #172b45 !important;
	font-size: 23px !important;
	font-weight: 750 !important;
	line-height: 1.25 !important;
}

.lft-promotion-popup__message {
	margin: 0 0 20px !important;
	color: #617286;
	font-size: 14px;
	line-height: 1.55;
}

.lft-promotion-popup__message strong { color: var(--lft-promo-blue); font-size: 15px; letter-spacing: .035em; }

.lft-promotion-popup__timer {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	margin: 0 0 22px;
	padding: 11px 14px;
	border-radius: 9px;
	background: #fff2ef;
	color: #b42318;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.35;
}

.lft-promotion-popup__timer .lft-promotion-timer { min-width: 84px; color: inherit; font-size: 14px; }

.lft-promotion-popup__continue {
	min-height: 44px;
	padding: 10px 20px;
	border: 0;
	border-radius: 9px;
	background: var(--lft-promo-blue);
	box-shadow: 0 8px 20px rgba(18, 103, 214, .2);
	color: #fff;
	font-size: 14px;
	font-weight: 750;
	line-height: 1.2;
	cursor: pointer;
	transition: background-color .15s ease, transform .15s ease;
}

.lft-promotion-popup__continue:hover { background: #0c58ba; transform: translateY(-1px); }
.lft-promotion-popup__continue:focus-visible { outline: 3px solid rgba(18, 103, 214, .22); outline-offset: 3px; }

@media (max-width: 600px) {
	.lft-promotion-header__inner { font-size: calc(13px * var(--lft-promo-mobile-scale, .85)); }
	.lft-promotion-popup { padding: 14px; }
	.lft-promotion-popup__dialog { padding: 26px 20px 22px; border-radius: 15px; }
	.lft-promotion-popup__title { padding: 0 24px; font-size: 20px !important; }
	.lft-promotion-popup__timer { align-items: center; flex-direction: column; gap: 3px; }
	.lft-promotion-popup__continue { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
	.lft-promotion-toast { scroll-behavior: auto; }
	.lft-promotion-popup,
	.lft-promotion-popup__dialog,
	.lft-promotion-popup__continue,
	.lft-promotion-header--slides,
	.lft-promotion-header__slide.is-active,
	.lft-promotion-header__slide.is-leaving { transition: none; }
	.lft-promotion-popup__continue:hover { transform: none; }
}

.lft-promotion-offer__benefits [data-lft-loyalty-product][hidden] { display: none !important; }
.lft-loyalty-note { display: block; font-size: 11px; line-height: 1.4; opacity: .85; }

/* Keep explicit emphasis visible even with themes using a light body weight. */
.lft-promotion-offer__benefits strong,.lft-promotion-offer__benefits b,.lft-promotion-scarcity strong,.lft-promotion-scarcity b{font-weight:700}

/* Numeric placeholders only: no extra request, no animation when reduced motion is requested. */
/* The loading paint follows digit height; the inline box keeps its text metrics. */
.lft-loyalty-number{display:inline-block;position:relative;white-space:nowrap;font-variant-numeric:tabular-nums}
.lft-loyalty-number[aria-busy="true"]{min-width:2ch;color:transparent!important}
.lft-loyalty-number[aria-busy="true"][data-lft-loyalty-value="euros"]{min-width:5ch}
.lft-loyalty-number[aria-busy="true"]::after{content:"";position:absolute;left:0;right:0;top:50%;height:.68em;margin-top:-.34em;border-radius:3px;background:linear-gradient(100deg,rgba(120,145,165,.09) 20%,rgba(120,145,165,.18) 45%,rgba(120,145,165,.09) 70%);background-size:240% 100%;animation:lft-loyalty-shimmer 2s ease-in-out infinite;pointer-events:none}
@keyframes lft-loyalty-shimmer{from{background-position:150% 0}to{background-position:-150% 0}}
@media(prefers-reduced-motion:reduce){.lft-loyalty-number[aria-busy="true"]::after{animation:none}}

/* css/cartes.css */
/* Cartes produit, boutons, grille et rangées défilantes, communs à la fiche et aux listes (cadrage de la catégorie, 9.4). */

/* Symbole de la devise petit et en exposant, collé au nombre, comme en prod (WooCommerce : .woocommerce-Price-currencySymbol).
 * Seulement dans la page : le panier latéral, ajouté hors du <main>, garde le symbole en ligne comme en prod (audit des
 * intégrations, T5). :where() garde la spécificité de la règle d'origine. */
:where(.lft-main) .woocommerce-Price-currencySymbol { margin-left: 1px; font-size: .68em; line-height: 1; vertical-align: .42em; }

/* Boutons. */
.lft-bouton {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 20px;
	font: 700 16px/20px var(--wp--preset--font-family--inter); text-decoration: none; border-radius: 12px; cursor: pointer;
	transition: background-color .2s, color .2s, border-color .2s;
}
.lft-bouton--contour { color: var(--lft-bleu); font-weight: 600; background: #fff; border: 1.5px solid var(--lft-bleu); }
.lft-bouton--contour:hover { background: var(--lft-bleu-clair); }

/* ---------- Carte produit : photo carrée, nom 12 px, prix 13 px (le plus bas, sans « dès ») et pastilles sur la même ligne ---------- */
.lft-carte { position: relative; min-width: 0; container-type: inline-size; }
/* Tailles à l'échelle de la carte (Arthur, 01/11/2026). */
.lft-carte > a { display: block; color: inherit; text-decoration: none; }
.lft-carte__photo { position: relative; display: block; overflow: hidden; aspect-ratio: 1; background: var(--lft-surface); border-radius: 16px; }
/* Produit épuisé (toutes ses variations) : étiquette en haut à gauche, au style des badges de la galerie, en neutre. */
.lft-carte__rupture {
	position: absolute; top: 8px; left: 8px; z-index: 1; height: 22px; padding: 0 8px; color: var(--lft-texte); font-size: 11px;
	font-weight: 600; line-height: 22px; white-space: nowrap; background: rgba(255, 255, 255, .92); border-radius: 99px;
	box-shadow: inset 0 0 0 1px var(--lft-bordure);
}
/* Badges en haut à gauche, à l'échelle de la carte : remise du Déstockage ; « Jusqu'à −40% » (objets personnalisés). */
:is(.lft-carte__remise, .lft-carte__offre) {
	position: absolute; top: clamp(6px, 3.2cqi, 10px); left: clamp(6px, 3.2cqi, 10px); z-index: 1;
	height: 1.85em; padding: 0 .6em; color: #fff; font-size: clamp(11px, calc(8.55px + 1.775cqi), 14px); font-weight: 700;
	line-height: 1.85em; letter-spacing: .01em; white-space: nowrap; background: #c2410c; border-radius: 99px;
	box-shadow: 0 1px 4px rgba(154, 52, 18, .25);
}
/* « Jusqu'à −40% » : pastille resserrée dans l'angle haut gauche, petite pour ne pas cacher le visage (Arthur, 10/11/2026). */
.lft-carte__offre { top: clamp(4px, 2cqi, 7px); left: clamp(4px, 2cqi, 7px); height: 1.8em; padding: 0 .6em; font-size: clamp(8.5px, calc(4.2px + 2.6cqi), 11.5px); line-height: 1.8em; letter-spacing: 0; background: rgba(194, 65, 12, .9); }
/* « Personnalisez-moi », centré en bas de la photo sans transform (la cascade l'anime). */
.lft-carte__perso {
	position: absolute; right: 0; bottom: clamp(6px, 3.2cqi, 10px); left: 0; z-index: 1; display: flex; align-items: center; gap: .35em;
	width: max-content; max-width: calc(100% - 12px); height: 2em; margin-inline: auto; padding: 0 .8em 0 .65em; color: var(--lft-marine);
	font-size: clamp(9px, calc(6.8px + 1.55cqi), 11.5px); font-weight: 600; line-height: 1; white-space: nowrap;
	background: rgba(255, 255, 255, .9); border-radius: 99px; box-shadow: 0 2px 10px rgba(1, 26, 48, .22), 0 0 0 1px rgba(1, 26, 48, .05);
}
/* Palette à l'échelle du texte : la spécificité passe devant .lft-categorie .lft-icon (18 px, categorie/entete.css). */
.lft-carte .lft-carte__perso .lft-icon { flex: none; width: 1.35em; height: 1.35em; stroke-width: 1.9; }
.lft-carte__photo img { display: block; width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; transition: transform .3s var(--lft-ease); }
.lft-carte > a:hover .lft-carte__photo img { transform: scale(1.03); }
.lft-carte__nom {
	display: -webkit-box; margin-top: 8px; overflow: hidden; padding-inline: 5px; color: var(--lft-texte); font-size: clamp(12px, 4.6cqi, 13px); font-weight: 500; line-height: 1.42;
	-webkit-box-orient: vertical; -webkit-line-clamp: 2;
}
.lft-carte > a:hover .lft-carte__nom { color: var(--lft-bleu); }
.lft-carte__bas { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 6px; padding-inline: 5px; container-type: inline-size; }
.lft-carte__prix { color: var(--lft-marine); font-size: clamp(13px, 5cqi, 14px); font-weight: 700; line-height: 1.38; white-space: nowrap; }
.lft-carte__prix .woocommerce-Price-currencySymbol { font-size: max(9px, .68em); } /* 9 px à 13 px (un peu au-dessus des .68em), 10,2 px à 15 px. */
/* Produit entièrement en promotion : prix réduit en orangé des promotions, ancien prix barré après (comme la fiche). */
.lft-carte:not(.lft-carte--destockage) .lft-carte__prix ins { color: #c2410c; text-decoration: none; }
.lft-carte:not(.lft-carte--destockage) .lft-carte__prix del { margin-left: 5px; color: var(--lft-texte-2); font-size: .82em; font-weight: 500; }
.lft-carte__couleurs { display: flex; flex: none; align-items: center; gap: clamp(3px, 1.3cqi, 3.5px); margin: 0; padding: 0; list-style: none; counter-reset: cachees; }
.lft-carte__couleurs li { width: clamp(10px, 3.9cqi, 11px); height: clamp(10px, 3.9cqi, 11px); background: var(--c); border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(1, 26, 48, .16); }
.lft-carte__couleurs .lft-carte__plus { display: none; width: auto; height: auto; margin-left: 1px; color: var(--lft-texte-2); font-size: 12px; font-weight: 600; line-height: 14px; background: none; border-radius: 0; box-shadow: none; }
.lft-carte__couleurs .lft-carte__plus::before { content: "+" counter(cachees); }
/* Prix et pastilles sur une ligne (Arthur, 01/11/2026) : au plus M pastilles (5 dès 122 px de place, 4 dès 109, 3 dès 96,
 * sinon 2) ; au-delà, M − 1 et « +N » compté en CSS. */
.lft-carte__couleurs:has(> li:nth-child(6):not(.lft-carte__plus)) > li:nth-child(n+5):not(.lft-carte__plus) { position: absolute; visibility: hidden; counter-increment: cachees; }
.lft-carte__couleurs:has(> li:nth-child(6):not(.lft-carte__plus)) > .lft-carte__plus { display: block; }
@container (max-width: 121.98px) {
	.lft-carte__couleurs:has(> li:nth-child(5):not(.lft-carte__plus)) > li:nth-child(n+4):not(.lft-carte__plus) { position: absolute; visibility: hidden; counter-increment: cachees; }
	.lft-carte__couleurs:has(> li:nth-child(5):not(.lft-carte__plus)) > .lft-carte__plus { display: block; }
}
@container (max-width: 108.98px) {
	.lft-carte__couleurs:has(> li:nth-child(4):not(.lft-carte__plus)) > li:nth-child(n+3):not(.lft-carte__plus) { position: absolute; visibility: hidden; counter-increment: cachees; }
	.lft-carte__couleurs:has(> li:nth-child(4):not(.lft-carte__plus)) > .lft-carte__plus { display: block; }
}
@container (max-width: 95.98px) {
	.lft-carte__couleurs:has(> li:nth-child(3):not(.lft-carte__plus)) > li:nth-child(n+2):not(.lft-carte__plus) { position: absolute; visibility: hidden; counter-increment: cachees; }
	.lft-carte__couleurs:has(> li:nth-child(3):not(.lft-carte__plus)) > .lft-carte__plus { display: block; }
}

/* ---------- Grille de cartes : 2 colonnes, 4 dès 768 px (« Dans le même esprit ») ; la catégorie la règle à part ---------- */
.lft-grille { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 12px; margin: 16px 0 0; padding: 0; list-style: none; }
@media (min-width: 768px) { .lft-grille { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 20px; } }
@media (min-width: 1024px) { .lft-grille { gap: 36px 24px; margin-top: 24px; } }

/* ---------- « Existe aussi sur ces produits » : rangée défilante ; sur mobile, cartes de 44 % ; dès 600 px, quatre cartes
 * visibles et, au-delà de quatre produits, la suite à droite (flèches sur ordinateur, au milieu des photos). ---------- */
.lft-rangee {
	display: grid; grid-auto-columns: 44%; grid-auto-flow: column; gap: 12px; margin: 14px -16px 0; padding: 0 16px 4px; list-style: none;
	overflow-x: auto; scroll-padding-inline: 16px; scroll-snap-type: x mandatory; scrollbar-width: none;
}
.lft-rangee::-webkit-scrollbar { display: none; }
.lft-rangee > li { scroll-snap-align: start; }
.lft-rangee__defile { position: relative; container-type: inline-size; }
.lft-rangee__fleche { display: none; }
@media (min-width: 600px) {
	.lft-rangee { grid-auto-columns: calc((100% - 36px) / 4); gap: 12px; margin-inline: 0; padding-inline: 0; scroll-padding-inline: 0; overscroll-behavior-x: contain; }
}
/* Plus de trois produits, au doigt (de 600 à 1 023 px, ou dès 1 024 px sans souris) : la 4e carte dépasse de 40 %. */
@media (min-width: 600px) and (max-width: 1023px), (min-width: 1024px) and (pointer: coarse) {
	.lft-rangee:has(> li:nth-child(4)) { grid-auto-columns: calc((100% - 36px) / 3.4); }
	.lft-rangee__fleche { display: none !important; }
}

/* ---------- Flèches des rangées (« Existe aussi » et avis), sur ordinateur seulement ---------- */
.lft-avis__fleche { display: none; }
@media (min-width: 1024px) {
	/* Flèches : 32 px au repos, 44 px quand la souris entre (transform) ; en fondu quand l'action est impossible. */
	.lft-avis__fleche, .lft-rangee__fleche {
		position: absolute; top: calc(50% - 2px); z-index: 2; display: grid; place-items: center; width: 44px; height: 44px; margin-top: -22px; padding: 0;
		color: var(--lft-marine); background: #fff; border: 1px solid var(--lft-bordure-forte); border-radius: 50%; box-shadow: var(--lft-ombre-legere); cursor: pointer;
		transform: scale(.73);
		transition: opacity .2s, visibility .2s, transform .28s var(--lft-ease), box-shadow .28s var(--lft-ease), color .2s, background-color .2s, border-color .2s;
	}
	.lft-rangee__fleche { top: calc((100cqi - 36px) / 8 + 14px); } /* Milieu des photos (carrées, 14 px sous le titre). */
	.lft-avis__fleche--prec, .lft-rangee__fleche--prec { left: -22px; }
	.lft-avis__fleche--suiv, .lft-rangee__fleche--suiv { right: -22px; }
	.lft-fiche .lft-avis__fleche .lft-icon, .lft-fiche .lft-rangee__fleche .lft-icon { width: 22px; height: 22px; stroke-width: 2.25; }
	.lft-avis__defile:hover .lft-avis__fleche, .lft-rangee__defile:hover .lft-rangee__fleche, .lft-avis__fleche:focus-visible, .lft-rangee__fleche:focus-visible { transform: none; box-shadow: var(--lft-ombre-portee); }
	.lft-avis__fleche:hover:not(:disabled), .lft-rangee__fleche:hover:not(:disabled) { color: #fff; background: var(--lft-marine); border-color: var(--lft-marine); }
	.lft-avis__fleche:focus-visible, .lft-rangee__fleche:focus-visible { outline: 2px solid var(--lft-bleu); outline-offset: 2px; }
	.lft-avis__fleche:disabled, .lft-rangee__fleche:disabled { opacity: 0; visibility: hidden; pointer-events: none; }
}

/* css/fenetres.css */
/* Fenêtres du thème : voile, fenêtre centrée et feuille du bas. Jetons et animations communs à la fiche (guide des tailles,
 * délais, « Personnaliser ce design », fiche/barre.css) et aux listes de produits (filtre Thème, cadrage de la catégorie,
 * 9.3). Sortis de fiche/barre.css sans changement ; chargés avant les feuilles de la page. Noms en « -out » pour la
 * fermeture, que lft-tpop attend. */
:root {
	--lft-voile: rgb(10 14 20 / .5);
	--lft-fenetre-entree: .3s cubic-bezier(.16, 1, .3, 1);
	--lft-fenetre-sortie: .18s cubic-bezier(.4, 0, 1, 1);
	--lft-feuille-entree: .42s cubic-bezier(.32, .72, 0, 1);
	--lft-feuille-sortie: .26s cubic-bezier(.4, 0, 1, 1);
}
@keyframes lft-voile-in { from { opacity: 0; } }
@keyframes lft-voile-out { to { opacity: 0; } }
@keyframes lft-fenetre-in { from { opacity: 0; transform: translateY(12px) scale(.96); } }
@keyframes lft-fenetre-out { to { opacity: 0; transform: translateY(6px) scale(.97); } }
@keyframes lft-feuille-in { from { transform: translateY(100%); } }
@keyframes lft-feuille-out { to { transform: translateY(100%); } }
/* Fenêtre de lft-tpop sur ordinateur : centrée par translate(-50%, -50%), à garder pendant le mouvement. */
@keyframes lft-fenetre-centree-in { from { opacity: 0; transform: translate(-50%, calc(-50% + 12px)) scale(.96); } }
@keyframes lft-fenetre-centree-out { to { opacity: 0; transform: translate(-50%, calc(-50% + 6px)) scale(.97); } }

/* fiche/base.css */
/* Fiche produit : jetons, mise en page (une colonne, puis deux dès 1 024 px), fil d'Ariane de la fiche. Repris de la
 * maquette validée (docs/conception/maquettes/fiche-produit.html, cadrage de la fiche, sections 15.19, 15.20, 15.25). */

:root {
	--lft-etoiles: #f4b740;
	--lft-etoiles-vide: #dfe5eb;
	--lft-rouge: #c8102e;
	--lft-promo-fond: #fdf1f3;
	--lft-vert: #15803d;
	--lft-pastille: 42px;
	--lft-collant: 120px;
}
@media (min-width: 1024px) { :root { --lft-pastille: 44px; } }

.lft-fiche { padding-bottom: 8px; }
.lft-fiche .lft-icon { width: 20px; height: 20px; stroke-width: 1.75; }
.lft-fiche h2 { margin: 0; font-size: 17px; font-weight: 600; line-height: 24px; } /* Sous le titre du produit (15 px), comme les sous-titres du design system. */
@media (min-width: 1024px) { .lft-fiche h2 { font-size: 20px; line-height: 28px; } }

/* Fil d'Ariane plus serré sur la fiche : le bouton d'achat doit rester haut. */
.single-product .lft-breadcrumb { padding-block: 5px 8px; } /* Mobile : 11 px sous la recherche, comme partout (coque/footer.css). */
@media (min-width: 768px) { .single-product .lft-breadcrumb { padding-top: 8px; } }
@media (min-width: 1024px) { .single-product .lft-breadcrumb { padding-block: 16px; } }
/* Fiche : le titre du produit (déjà en H1 juste dessous) et son chevron sont masqués, sur mobile comme sur ordinateur ;
 * le HTML et le BreadcrumbList de Yoast le gardent (validé par Arthur, 01/11/2026). */
.single-product .lft-breadcrumb .breadcrumb_last, .single-product .lft-breadcrumb__sep:has(+ .breadcrumb_last) { display: none; }

/* ---------- Haut de fiche : une colonne sur mobile et tablette, deux à partir de 1 024 px ---------- */
.lft-fiche__haut { display: grid; grid-template-columns: minmax(0, 1fr); }
/* Tablette et pliant ouvert (600 à 1 023 px) : colonne de 640 px au plus, centrée, dès 600 px (avant : dès 768 px, si bien
 * que l'iPad mini, 744 px, avait une photo plus grande, 712 px, que l'iPad Air, 592 px). Photo de 592 à 608 px. */
@media (min-width: 600px) and (max-width: 1023px) { .lft-fiche__haut { max-width: 640px; } }
@media (min-width: 1024px) {
	/*
	 * Photo : 7/12 de la largeur (612 px à 1 440 px) tant que l'écran est assez haut ; sur un écran peu haut, elle se réduit
	 * pour tenir en entier sous le header (256 px : bandeau, barre d'infos, header, menu, fil d'Ariane et 17 px d'air),
	 * jusqu'à 500 px au moins. La colonne d'achat prend la place libérée, 500 px au plus, centrée dans sa colonne.
	 */
	.lft-fiche__haut {
		--lft-photo: min( calc( ( 100% - 56px ) * 7 / 12 - 76px ), max( 500px, calc( 100vh - 256px ) ) );
		grid-template-columns: minmax(0, calc( 76px + var(--lft-photo) )) minmax(0, 1fr);
		grid-template-areas: "galerie achat" "suite achat";
		column-gap: 56px;
		align-items: start;
	}
	.lft-galerie { grid-area: galerie; }
	.lft-achat {
		grid-area: achat; position: sticky; top: calc(var(--lft-collant) + 20px); justify-self: center; width: 100%; max-width: 500px;
	}
	.lft-fiche__suite { grid-area: suite; }
}

/* fiche/galerie.css */
/* Fiche produit : galerie (cadrage de la fiche, sections 3.2, 15.1, 15.2, 15.22, 15.23, 15.25). Reprise de la maquette validée. */

.lft-galerie { position: relative; }
.lft-galerie__scene { position: relative; overflow: hidden; background: var(--lft-surface); border-radius: 16px; }
.lft-galerie__piste {
	display: flex; margin: 0; padding: 0; list-style: none;
	overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none;
}
.lft-galerie__piste::-webkit-scrollbar { display: none; }
.lft-galerie__piste:focus-visible { outline-offset: -3px; border-radius: 16px; }
/* Fond gris sur la vue elle-même, comme sur les miniatures : la piste défilante peut passer sur un calque à part (Chrome), et
 * le fondu des photos détourées ne verrait alors plus le gris de la scène (photo sur fond blanc). */
.lft-galerie__vue { flex: 0 0 100%; aspect-ratio: 1; overflow: hidden; background: var(--lft-surface); scroll-snap-align: start; scroll-snap-stop: always; }
/* Photos jamais recadrées (choix d'Arthur, 01/11/2026) : entières dans le carré ; une photo non carrée laisse des bandes du
 * fond de la galerie (gris « surface »), comme en prod. Sans effet sur les photos carrées. Exception : presque carrée, ci-dessous. */
.lft-galerie__vue img { display: block; width: 100%; height: 100%; object-fit: contain; }
/* Photo presque carrée (rapport hauteur / largeur entre 0,9 et 1,1, posé par le thème) : remplie, au plus 5 % rognés de chaque
 * côté, pour éviter de minces bandes ; au-delà, entière. */
.lft-galerie__vue--remplie img { object-fit: cover; }
.lft-galerie__vue--detoure img { mix-blend-mode: multiply; } /* Fond blanc des photos détourées → fond « surface » du design system. */
/*
 * Vue des atouts : même carré et même fond que les photos, mise en page de l'image de la prod (icône, titre, explication).
 * Tout est proportionnel à la largeur de la vue (unités cqi), comme une image : la même composition de la tablette à
 * l'ordinateur, chaque explication sur deux lignes au plus ; le mobile a sa variante, plus lisible (plus bas). En bas,
 * la place des points sur mobile.
 * Version « aérée » (01/11/2026, l'essai précédent paraissait chargé) : comme l'image de la prod, une seule couleur
 * sourde pour les titres des atouts (gris ardoise, Inter 700) et un gris plus clair, maigre, pour les explications ;
 * icônes un peu plus petites. Équilibre (revu le 01/11/2026, retour d'Arthur : le contenu paraissait trop haut) : le titre
 * est posé en haut, à 6 % du bord, et la liste des quatre atouts est centrée dans la place qui reste en dessous, avec la
 * même marge de 6 % en bas (place des points sur mobile) : plus d'air sous le titre, liste plus bas. Titre en petites capitales
 * espacées gris secondaire, sans ponctuation (choix d'Arthur), dans une pastille blanche comme le rond du drapeau :
 * une étiquette qui annonce sans peser. (Le padding gauche compense l'interlettrage laissé après la dernière lettre.)
 * Le badge et la loupe s'effacent sur cette vue.
 */
.lft-galerie__vue--atouts { container-type: inline-size; display: flex; }
.lft-atouts__corps { display: grid; grid-template-rows: auto 1fr; width: 100%; padding: 6cqi; }
.lft-atouts__titre {
	align-self: start; justify-self: center; margin: 0; padding: 1.4cqi 3.4cqi 1.4cqi 3.54cqi;
	color: var(--lft-texte-2); font: 600 2.7cqi/1.2 var(--wp--preset--font-family--inter);
	text-align: center; text-transform: uppercase; letter-spacing: .14em; background: #fff; border-radius: 99px;
}
.lft-atouts { grid-row: 2; align-self: center; display: flex; flex-direction: column; gap: 5.5cqi; margin: 0; padding: 0; list-style: none; }
.lft-atouts__item { display: flex; align-items: center; gap: 4cqi; }
.lft-atouts__icone {
	display: grid; flex: none; place-items: center; width: 11cqi; aspect-ratio: 1;
	color: var(--lft-atout, var(--lft-marine)); background: var(--lft-atout-fond, var(--lft-bleu-clair)); border-radius: 50%;
}
.lft-atouts__icone .lft-icon { width: 50%; height: 50%; stroke-width: 1.9; }
.lft-atouts__icone .lft-icon--drapeau { width: 60%; height: 60%; }
.lft-atouts__texte { display: flex; flex-direction: column; gap: .5cqi; min-width: 0; }
.lft-atouts__texte strong { color: #3e4d56; font: 700 3.9cqi/1.25 var(--wp--preset--font-family--inter); letter-spacing: -.005em; }
.lft-atouts__texte span { color: var(--lft-texte-2); font-size: 2.75cqi; font-weight: 400; line-height: 1.45; text-wrap: pretty; }
/* Icônes en couleur (comme les illustrations de la prod) : drapeau tricolore, feuille et recyclage verts, camion orangé. */
/* Drapeau sur fond blanc : le bleu clair se fondait dans le fond gris-bleu de la vue. */
.lft-atouts__item--france { --lft-atout-fond: #fff; }
.lft-atouts__item--bio { --lft-atout: #15803d; --lft-atout-fond: #dcf1e4; }
.lft-atouts__item--eco { --lft-atout: #0f766e; --lft-atout-fond: #d5efeb; }
.lft-atouts__item--livraison { --lft-atout: #c2410c; --lft-atout-fond: #fdeadf; }
/*
 * Mobile (vue de moins de 480 px : 288 à 398 px sur téléphone ; retours d'Arthur du 03/11/2026, explications de 7 à 9 px
 * trop petites, puis titres pas assez distincts) : textes nettement plus grands (titres 13 à 19 px, explications 10 à
 * 13 px, rapport de 1,46), icônes et marges resserrées, un peu plus de place en bas pour les points. Les explications,
 * courtes, occupent toute la largeur sur deux lignes.
 */
@container (max-width: 479px) {
	.lft-atouts__corps { padding: 3cqi 4.5cqi 9cqi; } /* Titre du bloc plus haut, détaché de la liste (retour d'Arthur). */
	.lft-atouts__titre { padding: 1.5cqi 3.6cqi 1.5cqi 3.75cqi; font-size: 3cqi; }
	.lft-atouts { gap: 4.4cqi; margin-top: 2cqi; }
	.lft-atouts__item { gap: 3.2cqi; }
	.lft-atouts__icone { width: 9.5cqi; }
	.lft-atouts__texte strong { font-size: 4.9cqi; line-height: 1.2; }
	.lft-atouts__texte span { font-size: 3.35cqi; line-height: 1.36; }
}
.lft-galerie.is-atouts .lft-badges, .lft-galerie.is-atouts .lft-galerie__zoom { visibility: hidden; opacity: 0; }
/*
 * Zoom dans la galerie (section 15.2, sans visionneuse) : la photo affichée grandit sur place, en `transform` (origine en
 * haut à gauche, position bornée au carré de la vue). Hors zoom, le navigateur garde le défilement de la page et le
 * balayage ; le pincement est lu par le script. Zoomé : plus de balayage ni de geste du navigateur sur la photo (un doigt
 * la déplace), badges, points et flèches s'effacent. Pendant un geste, la photo suit le doigt sans délai ; à la souris, elle
 * suit le pointeur avec un court lissage, calculé par le script image par image. Souris : curseur loupe « + » sur la photo (un clic zoome), loupe « − » une fois
 * zoomé (un clic ramène à ×1) ; pas sur la vue des atouts.
 */
.lft-galerie__scene, .lft-galerie__vue img { touch-action: pan-x pan-y; }
.lft-galerie__vue img { transform-origin: 0 0; transition: transform .3s var(--lft-ease); }
.lft-galerie.is-zoom .lft-galerie__piste { overflow: hidden; }
.lft-galerie.is-zoom .lft-galerie__scene, .lft-galerie.is-zoom .lft-galerie__vue img { touch-action: none; }
@media (hover: hover) and (pointer: fine) {
	.lft-galerie__vue img { cursor: zoom-in; }
	.lft-galerie.is-zoom .lft-galerie__vue img { cursor: zoom-out; }
}
.lft-galerie.is-zoom .lft-galerie__vue img { max-width: none; will-change: transform; } /* Calque à part ; taille réelle une fois posé (script). */
.lft-galerie.is-bascule .lft-galerie__vue img { transition: none; }
.lft-galerie.is-zoom.is-souris .lft-galerie__vue img { transition: none; } /* Suivi du pointeur lissé par le script. */
.lft-galerie.is-geste .lft-galerie__vue img { transition: none; }
.lft-galerie.is-zoom .lft-galerie__scene :is(.lft-badges, .lft-galerie__points, .lft-galerie__nav) { visibility: hidden; opacity: 0; }
.lft-galerie__zoom .lft-icon--zoom-out, .lft-galerie__zoom[aria-pressed="true"] .lft-icon--zoom-in { display: none; }
.lft-galerie__zoom[aria-pressed="true"] .lft-icon--zoom-out { display: block; }
.lft-badges, .lft-galerie__zoom { transition: opacity .2s, visibility .2s; }
/* Miniature des atouts : les quatre icônes en carré. */
.lft-atouts__mini { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px; place-content: center; width: 100%; height: 100%; padding: 8px; }
.lft-atouts__mini .lft-atouts__icone { width: 100%; }
/*
 * Badges de la photo (règles dans lft-outils-boutique, section 15.6 du cadrage) : un badge de produit au plus, en haut à
 * gauche (« Coton bio » ou « Éco-responsable », même style vert et même feuille : ils ne s'affichent jamais ensemble) ;
 * « Jusqu'à −40 % » (tous les objets personnalisés) dans le coin haut droit, comme en prod : l'attribut du produit d'un côté,
 * l'offre de l'autre. Couleurs pâles et légèrement transparentes, texte foncé : discrets mais lisibles.
 */
.lft-badges { position: absolute; top: 8px; left: 8px; z-index: 1; display: flex; flex-wrap: wrap; gap: 6px; max-width: calc(50% - 12px); }
.lft-badges--offre { right: 8px; left: auto; justify-content: flex-end; }
.lft-badge {
	display: inline-flex; align-items: center; gap: 4px; height: 24px; padding: 0 9px 0 7px; white-space: nowrap;
	color: #166534; font-size: 12px; font-weight: 600; line-height: 1; background: rgba(220, 241, 228, .9); border-radius: 99px;
	-webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}
.lft-badge .lft-icon { width: 14px; height: 14px; stroke-width: 2.25; }
.lft-badge--promo { padding: 0 9px; color: #9a3412; background: rgba(253, 234, 223, .92); } /* Orangé, couleur des promotions du bandeau ; sans pictogramme. */
.lft-galerie__zoom {
	position: absolute; right: 12px; bottom: 12px; z-index: 1;
	display: grid; place-items: center; width: 40px; height: 40px; padding: 0;
	color: var(--lft-marine); background: rgba(255, 255, 255, .92); border: 0; border-radius: 50%; box-shadow: var(--lft-ombre-legere); cursor: pointer;
}
.lft-galerie__zoom .lft-icon { width: 20px; height: 20px; }
.lft-galerie__zoom::after { position: absolute; inset: -2px; border-radius: 50%; content: ""; } /* Zone de toucher de 44 px. */
/*
 * Ordinateur (souris) : flèches précédente / suivante au survol de la photo, en fondu avec un léger glissement depuis le bord ;
 * visibles aussi au clavier. Masquées sur la première et la dernière photo, et sur écran tactile (on balaie).
 */
.lft-galerie__nav { display: none; }
@media (min-width: 1024px) and (hover: hover) {
	.lft-galerie__nav {
		position: absolute; top: 50%; z-index: 2; display: grid; place-items: center; width: 44px; height: 44px; padding: 0;
		color: var(--lft-marine); background: rgba(255, 255, 255, .94); border: 0; border-radius: 50%; box-shadow: var(--lft-ombre-legere); cursor: pointer;
		opacity: 0; visibility: hidden; transition: opacity .22s var(--lft-ease), transform .28s var(--lft-ease), visibility .22s, background-color .15s;
	}
	.lft-galerie__nav .lft-icon { width: 22px; height: 22px; stroke-width: 2.25; }
	.lft-galerie__nav--prec { left: 16px; transform: translate(-8px, -50%); }
	.lft-galerie__nav--suiv { right: 16px; transform: translate(8px, -50%); }
	.lft-galerie__scene:hover .lft-galerie__nav, .lft-galerie__nav:focus-visible { opacity: 1; visibility: visible; transform: translate(0, -50%); }
	.lft-galerie__scene .lft-galerie__nav[disabled] { opacity: 0; visibility: hidden; }
	.lft-galerie__nav:hover { background: #fff; }
	.lft-galerie__nav:active { transform: translate(0, -50%) scale(.94); }
}
/* Mobile : points posés sur la photo (aucune hauteur), qui signalent les autres photos ; on change en balayant. */
.lft-galerie__points {
	position: absolute; bottom: 12px; left: 50%; z-index: 1; display: flex; align-items: center; gap: 5px; margin: 0; padding: 6px 8px;
	list-style: none; background: rgba(255, 255, 255, .85); border-radius: 99px; transform: translateX(-50%); pointer-events: none;
}
.lft-galerie__points li { width: 6px; height: 6px; background: var(--lft-bordure-forte); border-radius: 99px; transition: width .2s var(--lft-ease), background-color .2s; }
.lft-galerie__points li.is-active { width: 16px; background: var(--lft-marine); }
@media (max-width: 1023px) { .lft-galerie .lft-galerie__vignettes { display: none; } }
/* Tablette (photo de 592 à 608 px, comme sur ordinateur) : badges et loupe aux tailles de l'ordinateur ;
 * points un peu plus grands (8 px, 20 px pour l'actif). Sur mobile, la photo fait 288 à 398 px. */
@media (min-width: 600px) and (max-width: 1023px) {
	.lft-badges { top: 12px; left: 12px; max-width: calc(50% - 18px); }
	.lft-badges--offre { right: 12px; left: auto; }
	.lft-badge { height: 26px; font-size: 13px; }
	.lft-galerie__zoom { right: 16px; bottom: 16px; width: 44px; height: 44px; }
	.lft-galerie__points { bottom: 16px; gap: 6px; padding: 7px 10px; }
	.lft-galerie__points li { width: 8px; height: 8px; }
	.lft-galerie__points li.is-active { width: 20px; }
}
@media (min-width: 1024px) { .lft-galerie__points { display: none; } }
.lft-galerie__miniatures { display: flex; gap: 8px; margin: 8px 0 0; padding: 0; list-style: none; overflow-x: auto; scrollbar-width: none; }
.lft-galerie__miniatures::-webkit-scrollbar { display: none; }
.lft-galerie__miniatures li { display: flex; }
.lft-galerie__miniature {
	position: relative; flex: none; width: 44px; height: 44px; padding: 0; overflow: hidden;
	background: var(--lft-surface); border: 0; border-radius: 10px; cursor: pointer;
}
.lft-galerie__miniature img { display: block; width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; transition: opacity .2s; }
.lft-galerie__miniature .lft-atouts__mini { transition: opacity .2s; }
.lft-galerie__miniature::after { position: absolute; inset: 0; border: 1px solid transparent; border-radius: inherit; content: ""; transition: border-color .15s; }
.lft-galerie__miniature:hover::after { border-color: var(--lft-bordure-forte); }
/* Photo affichée : contour marine de 2 px (sans liseré blanc, qui rognait la photo) ; les autres miniatures légèrement
 * atténuées, nettes au survol (choix d'Arthur du 01/11/2026). */
.lft-galerie__miniature[aria-current="true"]::after { border: 2px solid var(--lft-marine); }
.lft-galerie__miniature:not([aria-current="true"]) img, .lft-galerie__miniature:not([aria-current="true"]) .lft-atouts__mini { opacity: .72; }
.lft-galerie__miniature:hover img, .lft-galerie__miniature:hover .lft-atouts__mini, .lft-galerie__miniature:focus-visible img { opacity: 1; }
@media (min-width: 1024px) {
	.lft-galerie { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 12px; align-items: start; }
	/*
	 * Colonne des miniatures bornée à la hauteur de la photo (hauteur nulle, puis 100 % de la ligne de la grille : la colonne
	 * ne l'agrandit jamais). Au-delà, elle défile : molette, glisser sur pavé tactile, Tab, et deux flèches qui n'apparaissent
	 * que s'il reste des miniatures de ce côté ; la miniature active est toujours ramenée en vue avec sa voisine.
	 */
	.lft-galerie__vignettes { position: relative; order: -1; height: 0; min-height: 100%; }
	.lft-galerie__miniatures {
		flex-direction: column; height: 100%; margin: 0;
		overflow-x: hidden; overflow-y: auto; overscroll-behavior-y: contain;
	}
	.lft-galerie__miniature { width: 64px; height: 64px; border-radius: 12px; }
	.lft-galerie__fleche {
		position: absolute; left: 0; z-index: 1; display: grid; place-items: center; width: 64px; height: 40px; padding: 0;
		color: var(--lft-marine); border: 0; cursor: pointer;
	}
	.lft-galerie__fleche[hidden] { display: none; }
	.lft-galerie__fleche span {
		display: grid; place-items: center; width: 28px; height: 28px; background: #fff; border-radius: 50%; box-shadow: var(--lft-ombre-legere);
		transition: transform .15s var(--lft-ease);
	}
	.lft-galerie__fleche:hover span { transform: scale(1.1); }
	.lft-galerie__fleche .lft-icon { width: 18px; height: 18px; stroke-width: 2.25; }
	.lft-galerie__fleche--haut { top: 0; align-items: start; background: linear-gradient(#fff 30%, rgba(255, 255, 255, 0)); }
	.lft-galerie__fleche--haut .lft-icon { transform: rotate(180deg); }
	.lft-galerie__fleche--bas { bottom: 0; align-items: end; background: linear-gradient(rgba(255, 255, 255, 0), #fff 70%); }
	.lft-badges { top: 12px; left: 12px; max-width: calc(50% - 18px); }
	.lft-badges--offre { right: 12px; left: auto; }
	.lft-badge { height: 26px; font-size: 13px; }
	.lft-galerie__zoom { right: 16px; bottom: 16px; width: 44px; height: 44px; }
}

/* fiche/achat.css */
/* Fiche produit : colonne d'achat (titre, prix et note, délai, boutons, pictos). Reprise de la maquette validée. */

.lft-achat { padding-top: 10px; }
/*
 * Titre : Poppins 600 marine, discret ; une ligne dans la plupart des cas (décision 15.7).
 * --lft-titre-em : largeur du titre en em (Poppins 600), calculée par le thème au rendu (table des avances, sans JS, donc
 * sans décalage). --fit1 : taille qui le fait tenir sur une ligne ; --fit2 : sur deux lignes. Taille retenue : --fit1
 * plafonnée à --max s'il tient sur une ligne à --min ou plus ; sinon deux lignes, entre --min et --max. Sans les unités
 * de conteneur (navigateur ancien), la déclaration est ignorée : --max, sur une ou deux lignes.
 */
.lft-achat { container-type: inline-size; }
.lft-achat__titre {
	--max: 15px; --min: 13px;
	--fit1: calc(100cqi * .98 / var(--lft-titre-em, 99));
	--fit2: calc(200cqi * .9 / var(--lft-titre-em, 99));
	margin: 0; color: var(--lft-texte); font: 600 var(--max)/1.35 var(--wp--preset--font-family--poppins); /* Gris très foncé : le marine est réservé au prix, à l’offre et au bouton. */
	font-size: max(
		min( min( var(--max), var(--fit1) ), clamp( 0px, ( var(--fit1) - var(--min) + .01px ) * 1000, 100px ) ),
		min( clamp( var(--min), var(--fit2), var(--max) ), clamp( 0px, ( var(--min) - var(--fit1) ) * 1000, 100px ) )
	);
}
/* Petit trait sous le titre (comme en prod) : il sépare le titre de la ligne prix et note sans élargir les écarts. */
.lft-achat__titre::after { display: block; width: 28px; height: 3px; margin-top: 6px; background: rgba(1, 58, 104, .12); border-radius: 2px; content: ""; }
.lft-achat__ligne { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 12px; margin-top: 6px; }
.lft-prix { margin: 0; color: var(--lft-marine); font: 700 19px/24px var(--wp--preset--font-family--inter); letter-spacing: -.01em; } /* Inter 700 ; 19 px sur mobile, 22 sur ordinateur : lisible sans dominer (section 15.7). */
/*
 * Prix en promotion (WooCommerce : <del> puis <ins>) : prix réduit en orangé des promotions (#c2410c, contraste 5,2:1),
 * ancien prix barré en gris secondaire juste après, plus petit et en graisse normale. À valider (section 16.3).
 */
.lft-prix del { margin-left: .4em; color: var(--lft-texte-2); font-size: .74em; font-weight: 400; text-decoration-thickness: 1px; }
.lft-prix del .woocommerce-Price-currencySymbol { font-size: .8em; }
.lft-prix ins { color: #c2410c; text-decoration: none; }
/* Avis « Destockage » de Gestion des retours (après le prix, selon la variation choisie) : style du badge des promotions,
 * icône d'alerte posée par le thème (section 16.7). */
#gestion-retours-promo-notice-placeholder:empty { display: none; }
.lft-achat .gestion-retours-promo-notice {
	display: flex; align-items: center; gap: 7px; max-width: none; margin: 8px 0 0; padding: 7px 10px;
	color: #9a3412; font-size: 13px; line-height: 18px; background: #fdeadf; border-radius: 10px;
}
.lft-achat .gestion-retours-promo-notice::before {
	flex: none; width: 16px; height: 16px; background: currentColor; content: "";
	-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='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 8v4'/%3E%3Cpath d='M12 16h.01'/%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='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 8v4'/%3E%3Cpath d='M12 16h.01'/%3E%3C/svg%3E") center / contain no-repeat;
}
.lft-bouton--achat .lft-icon--palette { width: 20px; height: 20px; stroke-width: 2; } /* Icône du menu « Personnalisation ». */
.lft-note { position: relative; display: inline-flex; align-items: center; gap: 6px; color: var(--lft-texte-2); font-size: 14px; line-height: 20px; text-decoration: none; white-space: nowrap; }
.lft-note b { color: var(--lft-texte); font-weight: 600; }
.lft-note:hover span:last-child { text-decoration: underline; text-underline-offset: 3px; }
/* Zone tactile de 44 px de haut (lien de 20 px), invisible : rien ne bouge à l'affichage (revue UX du 01/11/2026). */
.lft-note::after { position: absolute; inset: -12px -8px; content: ""; }
@media (min-width: 1024px) {
	.lft-achat { padding-top: 0; }
	.lft-achat__titre { --max: 20px; --min: 17px; margin-top: -.327em; } /* Haut des majuscules aligné sur le haut de la photo (demi-interligne et jambage haut de Poppins : .327em). */
	.lft-achat__titre::after { margin-top: 10px; }
	.lft-achat__ligne { margin-top: 10px; }
	.lft-prix { font-size: 22px; line-height: 28px; }
	.lft-achat .lft-prix .woocommerce-Price-currencySymbol { vertical-align: .45em; }
	.lft-note { font-size: 15px; }
}
/* Mobile et tablette : 4 px de plus entre la ligne du prix et l'offre (14 px au lieu des 10 de lft-promotion ; demande d'Arthur, 03/11/2026). */
@media (max-width: 1023px) { .lft-achat .lft-promotion-offer { margin-top: 14px; } }
/*
 * Ordinateur, fiche sans choix à faire (objet personnalisé, tote bag) : sans la carte des choix, la colonne se resserrait
 * (400 px pour une photo de 612). Même ordre, plus d'air entre les blocs (demande d'Arthur, 03/11/2026) : titre et prix,
 * prix et offre, offre et délai, délai et bouton, bouton et pictos. Sans `:has()` (navigateur ancien), rythme habituel.
 */
@media (min-width: 1024px) {
	.lft-achat:not(:has(.lft-choix:not(.lft-choix--vide))) .lft-achat__titre::after { margin-top: 14px; }
	.lft-achat:not(:has(.lft-choix:not(.lft-choix--vide))) .lft-achat__ligne { margin-top: 16px; }
	.lft-achat:not(:has(.lft-choix:not(.lft-choix--vide))) .lft-promotion-offer { margin-top: 24px; }
	.lft-achat:not(:has(.lft-choix:not(.lft-choix--vide))) button.lft-tpop-delay__trigger.expedition-delay { margin-top: 18px !important; }
	.lft-achat:not(:has(.lft-choix:not(.lft-choix--vide))) .lft-bouton--achat { margin-top: 20px; }
	.lft-achat:not(:has(.lft-choix:not(.lft-choix--vide))) .lft-bouton--perso { margin-top: 12px; }
	.lft-achat:not(:has(.lft-choix:not(.lft-choix--vide))) .lft-pictos { margin-top: 44px; }
}
/* Note collée au prix, séparée par un trait (validé par Arthur, 01/11/2026), sur ordinateur et, depuis la revue tablette
 * (validé par Arthur), dès 600 px : sur une ligne large, la note poussée à droite se lisait loin du prix. Sur mobile, elle reste à droite. */
@media (min-width: 600px) {
	.lft-achat__ligne { justify-content: flex-start; gap: 4px 16px; }
	.lft-achat__ligne .lft-note::before { width: 1px; height: 18px; margin-right: 10px; background: var(--lft-bordure-forte); content: ""; }
}
/* Tablette : titre un peu plus grand (17 px au plus au lieu de 15), toujours sur une ligne ; prix inchangé (19 px). */
@media (min-width: 600px) and (max-width: 1023px) { .lft-achat__titre { --max: 17px; } } /* Validé par Arthur, 01/11/2026. */

/* Étoiles : cinq étoiles pleines remplies à proportion de la note (--note sur 5). */
.lft-etoiles {
	--taille: 16px;
	display: inline-block; flex: none; width: calc(var(--taille) * 128 / 24); height: var(--taille);
	background: linear-gradient(90deg, var(--lft-etoiles) calc(var(--note, 5) * 20%), var(--lft-etoiles-vide) 0);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 24'%3E%3Cpath d='M11.5 1.3a.6.6 0 0 1 1 0l3.1 6.3 6.9 1a.6.6 0 0 1 .3 1l-5 4.9 1.2 6.9a.6.6 0 0 1-.8.6L12 18.8 5.8 22a.6.6 0 0 1-.8-.6l1.2-6.9-5-4.9a.6.6 0 0 1 .3-1l6.9-1z'/%3E%3C/svg%3E") 0 0 / calc(var(--taille) * 26 / 24) var(--taille) repeat-x;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 24'%3E%3Cpath d='M11.5 1.3a.6.6 0 0 1 1 0l3.1 6.3 6.9 1a.6.6 0 0 1 .3 1l-5 4.9 1.2 6.9a.6.6 0 0 1-.8.6L12 18.8 5.8 22a.6.6 0 0 1-.8-.6l1.2-6.9-5-4.9a.6.6 0 0 1 .3-1l6.9-1z'/%3E%3C/svg%3E") 0 0 / calc(var(--taille) * 26 / 24) var(--taille) repeat-x;
}
.lft-etoiles--grand { --taille: 20px; }

/* Boutons. */
/* .lft-bouton et .lft-bouton--contour : cartes.css. */
.lft-bouton--achat { width: 100%; height: 52px; margin-top: 10px; color: #fff; font-size: 17px; background: var(--lft-bleu); border: 0; } /* 17 px : plus de présence, sans capitales. */
.lft-bouton--achat:hover { background: var(--lft-bleu-survol); }
.lft-bouton--achat[data-etat="taille"] { background: var(--lft-marine); }
.lft-bouton--achat[data-etat="taille"]:hover { background: #022c4f; }
.lft-bouton--achat[data-etat="ajout"] { cursor: progress; }
/* Rupture de stock (plus rien d'achetable pour le choix affiché) : bouton éteint, libellé lisible (contraste 5:1). */
.lft-bouton--achat[data-etat="rupture"], .lft-bouton--achat[data-etat="rupture"]:hover { color: var(--lft-texte-2); background: var(--lft-bordure); cursor: not-allowed; }
/* « Voir le panier » que WooCommerce pose après le bouton une fois l'article ajouté : le panier latéral s'ouvre déjà (retour d'Arthur, 02/11/2026). */
form.cart .added_to_cart.wc-forward { display: none; }
.lft-bouton--achat .lft-icon { width: 20px; height: 20px; stroke-width: 2.25; }
.lft-bouton--achat[data-etat="ajout"] .lft-icon { animation: lft-tourne .8s linear infinite; }
@keyframes lft-tourne { to { transform: rotate(360deg); } }
.lft-bouton--perso { width: 100%; height: 48px; margin-top: 10px; color: var(--lft-bleu); font-weight: 600; background: #fff; border: 1.5px solid var(--lft-bleu); }
.lft-bouton--perso:hover { background: var(--lft-bleu-clair); }
.lft-bouton--perso .lft-icon { width: 18px; height: 18px; }
@media (min-width: 1024px) { .lft-bouton--achat { height: 54px; margin-top: 14px; } }

/* Pictos de réassurance : deux par ligne sur mobile, une rangée sur ordinateur. */
/*
 * Deux par ligne (mobile, et ordinateur peu large plus bas) : chaque colonne prend la largeur de son texte le plus long
 * (coupures de ligne posées dans les textes), et la place libre se répartit à gauche, entre et à droite : bloc centré,
 * icônes alignées d'une ligne à l'autre. Si la place manque (petits téléphones), les colonnes se partagent la largeur
 * selon leur contenu et les textes se replient.
 */
.lft-pictos {
	display: grid; grid-template-columns: repeat(2, auto); justify-content: space-evenly; gap: 14px 12px;
	margin: 20px 0 0; padding: 0; list-style: none;
}
.lft-pictos li { display: flex; align-items: center; gap: 10px; color: var(--lft-texte); font-size: 13px; font-weight: 500; line-height: 17px; text-wrap: balance; }
.lft-pictos__icone { display: grid; flex: none; place-items: center; width: 36px; height: 36px; color: var(--lft-marine); background: var(--lft-bleu-clair); border-radius: 50%; }
.lft-pictos__icone .lft-icon { width: 19px; height: 19px; }
.lft-pictos__icone .lft-icon--drapeau { width: 22px; height: 22px; }
@media (min-width: 1024px) {
	/* Sans trait au-dessus (choix d'Arthur) : la zone d'achat se termine sur le bouton à contour, les pictos forment un bloc
	 * à part par leur forme ; même respiration que sur mobile. */
	.lft-pictos { grid-template-columns: repeat(4, minmax(0, 1fr)); justify-content: normal; gap: 8px; margin-top: 28px; }
	.lft-pictos li { flex-direction: column; gap: 8px; text-align: center; }
	.lft-pictos__icone { width: 44px; height: 44px; } /* Rangée de quatre : 44 px (40 avant, choix d'Arthur), icônes de 21 px, drapeau de 24. */
	.lft-pictos__icone .lft-icon { width: 21px; height: 21px; }
	.lft-pictos__icone .lft-icon--drapeau { width: 24px; height: 24px; }
}
/* Ordinateur peu large (colonne d'achat de moins de 470 px, fenêtres de 1 024 à ≈ 1 240 px) : quatre colonnes de 88 à 107 px
 * faisaient passer « Échange jusqu'à 90 jours et gratuit » sur 3 à 4 lignes. On reprend la disposition du mobile : deux
 * par ligne, icône à gauche, deux lignes de texte au plus. */
@container (max-width: 470px) {
	.lft-achat .lft-pictos { grid-template-columns: repeat(2, auto); justify-content: space-evenly; gap: 14px 16px; }
	.lft-achat .lft-pictos li { flex-direction: row; gap: 10px; text-align: left; }
	.lft-achat .lft-pictos__icone { width: 36px; height: 36px; }
	.lft-achat .lft-pictos__icone .lft-icon { width: 19px; height: 19px; }
	.lft-achat .lft-pictos__icone .lft-icon--drapeau { width: 22px; height: 22px; }
}
/* Tablette (colonne de 560 px et plus, sous 1 024 px) : quatre en rangée, icône au-dessus, comme sur ordinateur ; à deux par
 * ligne, le bloc flottait au milieu avec 87 px de vide de chaque côté. */
@container (min-width: 560px) {
	.lft-achat .lft-pictos { grid-template-columns: repeat(4, minmax(0, 1fr)); justify-content: normal; gap: 8px; margin-top: 24px; }
	.lft-achat .lft-pictos li { flex-direction: column; gap: 8px; text-align: center; }
	.lft-achat .lft-pictos__icone { width: 44px; height: 44px; }
	.lft-achat .lft-pictos__icone .lft-icon { width: 21px; height: 21px; }
	.lft-achat .lft-pictos__icone .lft-icon--drapeau { width: 24px; height: 24px; }
}
/* Petits téléphones : deux lignes au plus. Colonne de 340 px et moins (écran de 360 px) : texte en 12/16 px, icône de 32 px. */
@container (max-width: 340px) {
	.lft-achat .lft-pictos { gap: 12px 10px; }
	.lft-achat .lft-pictos li { gap: 8px; font-size: 12px; line-height: 16px; }
	.lft-achat .lft-pictos__icone { width: 32px; height: 32px; }
	.lft-achat .lft-pictos__icone .lft-icon { width: 17px; height: 17px; }
	.lft-achat .lft-pictos__icone .lft-icon--drapeau { width: 20px; height: 20px; }
}
/* Colonne de 300 px et moins (écran de 320 px) : écarts de 6 px, icône de 30 px et texte en 11 px pour que les deux colonnes tiennent. */
@container (max-width: 300px) {
	.lft-achat .lft-pictos { column-gap: 6px; }
	.lft-achat .lft-pictos li { gap: 6px; font-size: 11px; line-height: 15px; } /* 11 px : sinon « Échange jusqu'à 90 jours et gratuit » passe sur 3 lignes. */
	.lft-achat .lft-pictos__icone { width: 30px; height: 30px; }
	.lft-achat .lft-pictos__icone .lft-icon { width: 16px; height: 16px; }
	.lft-achat .lft-pictos__icone .lft-icon--drapeau { width: 19px; height: 19px; }
}

/*
 * Formulaire de WooCommerce : les listes `attribute_*` restent cachées (les pastilles les pilotent) et le bloc où
 * WooCommerce écrit le prix et le stock de la variation n'est pas affiché (le prix de la fiche est mis à jour en place).
 */
.lft-achat .single_variation, .lft-achat .reset_variations { display: none !important; }
.lft-achat .variations[hidden] { display: none; }

/*
 * Délai de lft-tpop : simple ligne au retrait de 12 px, légende du bouton ; toute la ligne ouvre l'estimation par zone
 * (section 15.5). Le thème habille le bouton de l'extension : colis coché marine à la place de son image, icône
 * d'information du thème à la place du caractère ⓘ. La marge basse de 5 px que l'extension impose sous 850 px (pour
 * Flatsome, en !important) est annulée : le bouton d'achat reste à 10 px de la ligne, comme sur la maquette.
 */
.lft-achat button.lft-tpop-delay__trigger.expedition-delay {
	position: relative; display: flex; align-items: center; gap: 6px; width: 100%; min-height: 40px; margin: 4px 0 0 !important; padding: 4px 12px;
	color: var(--lft-texte); font: 400 14px/20px var(--wp--preset--font-family--inter); text-align: left;
	background: none; border: 0; border-radius: 12px; box-shadow: none; cursor: pointer;
}
.lft-achat button.lft-tpop-delay__trigger.expedition-delay:hover { background: var(--lft-surface); }
.lft-achat .lft-tpop-delay__trigger .checkmark { display: none; }
/* Produit épuisé (bouton « Rupture de stock ») : pas de délai d'expédition à annoncer. */
.lft-achat:has([data-achat][data-etat="rupture"]) button.lft-tpop-delay__trigger.expedition-delay { display: none; }
.lft-achat .lft-tpop-delay__trigger::after { position: absolute; inset: -2px 0; content: ""; } /* Zone de toucher de 44 px de haut. */
.lft-achat .lft-tpop-delay__trigger::before {
	flex: none; width: 20px; height: 20px; color: var(--lft-marine); background: var(--lft-marine); content: "";
	-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='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22V12'/%3E%3Cpath d='m16 17 2 2 4-4'/%3E%3Cpath d='M21 11.127V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.729l7 4a2 2 0 0 0 2 .001l1.32-.753'/%3E%3Cpath d='M3.29 7 12 12l8.71-5'/%3E%3Cpath d='m7.5 4.27 8.997 5.148'/%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='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22V12'/%3E%3Cpath d='m16 17 2 2 4-4'/%3E%3Cpath d='M21 11.127V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.729l7 4a2 2 0 0 0 2 .001l1.32-.753'/%3E%3Cpath d='M3.29 7 12 12l8.71-5'/%3E%3Cpath d='m7.5 4.27 8.997 5.148'/%3E%3C/svg%3E") center / contain no-repeat;
}
.lft-achat .lft-tpop-delay__trigger .expedition-text { margin: 0; color: inherit; font: inherit; }
.lft-achat .lft-tpop-delay__trigger [data-lft-tpop-delay] { font-weight: 600; }
.lft-achat .lft-tpop-delay__trigger .info-icon {
	display: inline-block; flex: none; width: 18px; height: 18px; margin: 0; overflow: hidden; color: transparent; font-size: 0;
	background: var(--lft-texte-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='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 16v-4'/%3E%3Cpath d='M12 8h.01'/%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='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 16v-4'/%3E%3Cpath d='M12 8h.01'/%3E%3C/svg%3E") center / contain no-repeat;
}
.lft-achat .lft-tpop-delay__trigger:hover .info-icon { background: var(--lft-bleu); }

/* Couleur sans code connu : la pastille montre la photo de la variation. */
.lft-pastille__teinte--photo { background-position: center; background-size: cover; }

/* fiche/choix.css */
/* Fiche produit : carte des choix, pastilles de couleur et de taille (sections 15.4, 15.5, 15.20, 15.21). Reprise de la maquette validée. */

/* Carte des choix (décision 15.5) : fond bleu très pâle, sans bord ni ombre, 16 px d'air intérieur, 18 px entre « Couleur »
 * et « Taille », 14 px au-dessus et au-dessous. Sans le fond (bouton de comparaison de la maquette), même rythme sur le
 * blanc. Aucun libellé de valeur ; couleurs rondes, tailles en carrés arrondis, même taille. */
.lft-choix { margin: 14px 0; padding: 16px 12px; background: var(--lft-surface); border-radius: 12px; } /* Même retrait de 12 px que l'offre et le délai ; même fond que la galerie (validé par Arthur, 01/11/2026). */
/* Rien à choisir (tote bag : une seule couleur, taille unique) : pas de carte vide, les listes de WooCommerce restent dans le formulaire. */
.lft-choix.lft-choix--vide { display: none; }
.lft-choix__groupe { min-width: 0; }
.lft-choix__groupe + .lft-choix__groupe { margin-top: 18px; }
.lft-choix__tete { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 20px; margin-bottom: 10px; color: var(--lft-texte); font-size: 14px; font-weight: 700; line-height: 20px; } /* 700 comme en prod (demande d'Arthur, 01/11/2026). */
.lft-choix__guide {
	display: inline-flex; align-items: center; gap: 5px; min-height: 32px; margin-right: -6px; padding: 0 6px;
	position: relative; color: var(--lft-bleu); font: 600 13px/18px var(--wp--preset--font-family--inter); background: none; border: 0; border-radius: 8px; cursor: pointer;
}
.lft-choix__guide::after { position: absolute; inset: -10px 0 -2px; content: ""; } /* 44 px de haut, sans couvrir les pastilles dessous. */
.lft-choix__guide span { text-decoration: underline; text-decoration-color: rgba(10, 85, 222, .35); text-underline-offset: 3px; }
.lft-choix__guide:hover span { text-decoration-color: currentColor; }
.lft-choix__guide .lft-icon { width: 14px; height: 14px; }
.lft-choix__options { display: flex; flex-wrap: wrap; gap: 8px; }
/* Mobile : sept colonnes égales, pour que 7 tailles tiennent sur une ligne dès 360 px (40 à 44 px) ; les couleurs suivent la
 * même grille, donc la même taille. */
@media (max-width: 1023px) {
	.lft-choix__options { display: grid; grid-template-columns: repeat(7, minmax(0, 44px)); gap: 6px; }
	.lft-choix .lft-choix__options { gap: 5px; }
	.lft-choix__options .lft-pastille { width: 100%; height: auto; aspect-ratio: 1; }
}
@media (min-width: 1024px) {
	.lft-choix { margin: 18px 0 16px; padding: 18px; }
	.lft-choix { padding: 18px 16px; }
	.lft-choix__groupe + .lft-choix__groupe { margin-top: 24px; }
	.lft-choix__tete { margin-bottom: 12px; }
}
/* « Guide des tailles » à côté du libellé « Taille » sur tous les écrans (choix d'Arthur, 01/11/2026 ; sur mobile depuis la
 * revue tablette : poussé à droite, il restait seul, loin des tailles, sur tablette et sur mobile quand il y a peu de tailles).
 * La règle commence 14 px après le libellé (8 px d'écart et 6 px de rembourrage, qui agrandit la zone de clic). */
.lft-achat .lft-choix__tete { justify-content: flex-start; gap: 8px; }
.lft-achat .lft-choix__guide { margin-right: 0; }
/* Ordinateur : un seul module pour les couleurs et les tailles, comme en prod : un carré (rond pour les couleurs, carré
 * arrondi pour les tailles) sur 7 colonnes qui couvrent toute la largeur du bloc (première case contre le bord gauche,
 * dernière contre le bord droit) ; les deux rangées tombent exactement l'une sur l'autre. Le module suit la largeur du
 * bloc, 60 px au plus, avec 14 px d'écart (6 px sous 1 200 px) : 54 px à 1 440, 60 à 1 366, 43 à 1 024. Valeurs longues
 * (« 12-18 mois », formats d'affiche) : disposition libre (flex), à l'implémentation. */
@media (min-width: 1024px) {
	.lft-achat .lft-choix__options { display: grid; grid-template-columns: repeat(7, minmax(0, 60px)); justify-content: space-between; gap: 6px; }
	.lft-achat .lft-choix__options .lft-pastille { width: 100%; height: auto; aspect-ratio: 1; }
}
@media (min-width: 1200px) {
	.lft-achat .lft-choix__options { gap: 14px; }
	/* Disque à 90 % de la case (retrait de 5 %) : plus grand que le retrait fixe de 3 px, sans paraître trop gros comme en
	 * pleine case (choix d'Arthur) ; l'anneau de sélection déborde dans l'écart de 14 px. */
	.lft-achat .lft-pastille__teinte { inset: 5%; }
}
/* Produit sans couleur ou sans guide : pas d'écart en haut du groupe des tailles, lien masqué. */
.lft-choix__groupe[hidden] + .lft-choix__groupe { margin-top: 0; }
.lft-choix__guide[hidden] { display: none; }
/* Valeurs de plus de 4 caractères (« 37-41 », « 12-18 mois », « 10-12 ans », « 40x40 cm ») : boutons à la largeur du texte,
 * 44 px de haut, groupés à gauche, sur plusieurs lignes au besoin. Valeurs courtes (XS à 4XL, A4 à A1) : la grille, qui
 * passe à la ligne au-delà de 7. Les couleurs gardent toujours la grille. */
.lft-achat .lft-choix__options--libre { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 8px; grid-template-columns: none; }
.lft-achat .lft-choix__options--libre .lft-pastille--taille { width: auto; min-width: 48px; height: 44px; padding: 0 14px; aspect-ratio: auto; font-size: 14px; letter-spacing: 0; white-space: nowrap; }
/* Resserrement pour tenir sur une ligne (choisi par le script, du plus aéré au plus serré, 12 px au plus petit) ; si rien
 * ne tient, retour au réglage normal sur plusieurs lignes. */
.lft-achat .lft-choix__options--libre.is-serre-1 { gap: 6px; }
.lft-achat .lft-choix__options--libre.is-serre-1 .lft-pastille--taille { padding: 0 10px; font-size: 13px; }
.lft-achat .lft-choix__options--libre.is-serre-2 { gap: 6px; }
.lft-achat .lft-choix__options--libre.is-serre-2 .lft-pastille--taille { min-width: 0; padding: 0 7px; font-size: 12px; }
/* Écrans peu hauts (820 px et moins) : module de 48 px au plus et écarts resserrés, pour que le bouton d'achat reste
 * visible sans défiler (1 366 × 768 : bas du bouton à 765 px). */
@media (min-width: 1024px) and (max-height: 820px) {
	.lft-achat .lft-choix__options { grid-template-columns: repeat(7, minmax(0, 48px)); }
	.lft-choix__groupe + .lft-choix__groupe { margin-top: 18px; }
	.lft-choix__tete { margin-bottom: 10px; }
}

.lft-pastille {
	position: relative; display: grid; place-items: center; width: var(--lft-pastille); height: var(--lft-pastille);
	color: var(--lft-texte); font-size: 14px; font-weight: 600; line-height: 1; background: #fff; border-radius: 10px; cursor: pointer;
	transition: background-color .15s, color .15s;
}
/* Le champ déborde de 1 px dans l'écart : zone de toucher de 44 px au moins (pastilles de 43,4 px, 7 par ligne à 390 px). */
.lft-pastille input { position: absolute; inset: -1px; z-index: 2; width: calc(100% + 2px); height: calc(100% + 2px); margin: 0; opacity: 0; cursor: inherit; }
.lft-pastille::after {
	position: absolute; inset: 0; z-index: 1; border: 1px solid var(--lft-bordure-forte); border-radius: inherit; content: ""; pointer-events: none;
	transition: border-color .15s;
}
.lft-pastille:hover::after { border-color: var(--lft-marine); }
/* Couleur : la case garde la largeur d'une taille (colonnes alignées, cible tactile entière), le disque est plus petit
 * (retrait de 3 px) pour laisser de l'air autour de l'anneau de sélection. */
.lft-pastille--couleur { background: none; border-radius: 50%; }
.lft-pastille--couleur::after { display: none; }
.lft-pastille:has(input:focus-visible) { outline: 2px solid var(--lft-bleu); outline-offset: 2px; }
.lft-pastille--long { font-size: 13px; letter-spacing: -.01em; }
/* Couleur unie : codes des pastilles des cartes produit (thème enfant, functions.php, afficher_couleurs_variantes). */
.lft-pastille__teinte { position: absolute; inset: 3px; background: var(--c); border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(1, 26, 48, .2); transition: box-shadow .15s; } /* Bord discret, indispensable sur le blanc. */
.lft-pastille--couleur:hover .lft-pastille__teinte { box-shadow: inset 0 0 0 1px rgba(1, 26, 48, .5); }
/* Choisie : couleur entourée d'un anneau bleu détaché (sans coche ni halo) ; taille en bleu plein. */
.lft-pastille--couleur:has(input:checked) .lft-pastille__teinte { outline: 3px solid var(--lft-bleu); outline-offset: 2px; } /* Anneau détaché : visible sur toutes les couleurs, sans halo ; 3 px (2,25 avant, demande d'Arthur du 03/11/2026). */
.lft-pastille--couleur:has(input:focus-visible) { outline-offset: 1px; }
.lft-pastille--taille:has(input:checked) { color: #fff; background: var(--lft-bleu); }
.lft-pastille--taille:has(input:checked)::after { border-color: var(--lft-bleu); }
/* Épuisée : barrée, atténuée, toujours visible. */
.lft-pastille--epuisee { color: #8a99a1; cursor: not-allowed; }
.lft-pastille--epuisee::before { position: absolute; inset: 0; z-index: 2; background: linear-gradient(to top right, transparent calc(50% - 1px), var(--lft-bordure-forte) 50%, transparent calc(50% + 1px)); border-radius: inherit; content: ""; pointer-events: none; }
.lft-pastille--epuisee::after { border-color: var(--lft-bordure); }
.lft-pastille--epuisee:hover::after { border-color: var(--lft-bordure); }
.lft-pastille--epuisee .lft-pastille__teinte { opacity: .35; }
.lft-pastille--couleur.lft-pastille--epuisee::before { inset: 3px; }
/* Nom de la couleur : au survol sur ordinateur, brièvement au toucher. */
.lft-pastille__nom {
	position: absolute; bottom: calc(100% + 10px); left: 50%; z-index: 4;
	padding: 4px 8px; color: #fff; font-size: 13px; font-weight: 500; line-height: 16px; white-space: nowrap;
	background: var(--lft-marine); border-radius: 6px; opacity: 0; transform: translate(-50%, 4px); pointer-events: none;
	transition: opacity .15s, transform .15s;
}
.lft-pastille__nom::after { position: absolute; top: 100%; left: 50%; border: 5px solid transparent; border-top-color: var(--lft-marine); transform: translateX(-50%); content: ""; }
@media (hover: hover) { .lft-pastille--couleur:hover .lft-pastille__nom { opacity: 1; transform: translate(-50%, 0); } }
.lft-pastille--couleur:has(input:focus-visible) .lft-pastille__nom, .lft-pastille.is-nom .lft-pastille__nom { opacity: 1; transform: translate(-50%, 0); }
/* « Choisissez une taille » : les tailles sont mises en valeur un instant, et un message reste sous les tailles. */
.lft-choix__erreur { display: flex; align-items: center; gap: 6px; margin: 8px 0 0; color: var(--lft-rouge); font-size: 13px; font-weight: 500; line-height: 18px; }
.lft-choix__erreur[hidden] { display: none; }
.lft-choix__erreur .lft-icon { width: 16px; height: 16px; stroke-width: 2; }
.lft-choix__groupe--taille.is-appel .lft-pastille:not(.lft-pastille--epuisee) { animation: lft-appel .9s var(--lft-ease) 2; }
@keyframes lft-appel { 0%, 100% { background: #fff; } 35% { background: #dce8fd; } }
.lft-choix__groupe--taille.is-appel .lft-pastille:not(.lft-pastille--epuisee)::after { border: 2px solid var(--lft-bleu); }
/* Taille choisie depuis le guide des tailles (« Choisir le M ») : un halo bleu, deux fois, pour qu'on la voie. */
.lft-pastille.is-choisie-guide { animation: lft-guide-choisie .6s var(--lft-ease) 2; }
@keyframes lft-guide-choisie { 0%, 100% { box-shadow: 0 0 0 0 rgb(10 85 222 / 0); } 45% { box-shadow: 0 0 0 5px rgb(10 85 222 / .28); } }
@media (prefers-reduced-motion: reduce) { .lft-pastille.is-choisie-guide { animation: none; } }

/* fiche/barre.css */
/* Fiche produit : barre d’achat collante (mobile et tablette) et fenêtres : guide des tailles, délais (lft-tpop), Raymond de
 * « Personnaliser ce design » (sections 6, 15.16, 15.25). Reprise de la maquette validée. */

.lft-barre {
	position: fixed; right: 0; bottom: 0; left: 0; z-index: 60;
	display: flex; align-items: center; gap: 12px; padding: 8px 16px calc(8px + env(safe-area-inset-bottom));
	background: #fff; box-shadow: 0 -1px 0 var(--lft-bordure), 0 -8px 24px rgba(1, 58, 104, .10); /* Halo large et clair, préféré par Arthur à l'ombre serrée du header (01/11/2026). */
	transform: translateY(calc(100% + 24px)); transition: transform .3s var(--lft-ease); visibility: hidden;
}
.lft-barre.is-visible { transform: none; visibility: visible; }
.lft-barre img { flex: none; width: 44px; height: 44px; object-fit: cover; background: var(--lft-surface); border-radius: 10px; mix-blend-mode: multiply; }
.lft-barre .lft-prix { font-size: 16px; line-height: 20px; }
/* Prix seul, centré ; une fois une taille choisie, le prix monte et la taille s'affiche dessous, 4 px plus bas (16/20 + 4 + 12/14 = 38 px, dans la vignette de 44). */
.lft-barre__infos { display: flex; flex: none; flex-direction: column; justify-content: center; gap: 4px; min-width: 0; }
.lft-barre__choix { max-width: 96px; margin: 0; overflow: hidden; color: var(--lft-texte-2); font-size: 12px; line-height: 14px; text-overflow: ellipsis; white-space: nowrap; animation: lft-barre-choix .25s var(--lft-ease); }
@keyframes lft-barre-choix { from { opacity: 0; transform: translateY(4px); } }
.lft-barre .lft-bouton--achat { flex: 1 1 auto; width: auto; min-width: 0; height: 46px; margin: 0 0 0 auto; max-width: 240px; padding: 0 16px; font-size: 16px; white-space: nowrap; }
/* Petits écrans (320 à 359 px) : moins d'air autour du texte et 15 px, sinon « Choisissez une taille » (160 px en 16 px) déborde à 320 px. */
@media (max-width: 359px) { .lft-barre { gap: 8px; } .lft-barre .lft-bouton--achat { padding: 0 8px; font-size: 15px; } }
/* Tablette : contenu aligné sur la colonne de la fiche (608 px de 600 à 767 px, 592 au-delà), photo de 52 px, prix de 18 px, bouton aussi haut que
 * le bouton principal (52 px, 17 px) qui prend la largeur restante : plus d'éléments collés aux bords de l'écran. */
@media (min-width: 600px) and (max-width: 1023px) {
	.lft-barre { gap: 16px; padding: 10px max(16px, calc((100% - 608px) / 2)) calc(10px + env(safe-area-inset-bottom)); }
	.lft-barre img { width: 52px; height: 52px; }
	.lft-barre .lft-prix { font-size: 18px; line-height: 22px; }
	.lft-barre__choix { font-size: 13px; line-height: 16px; }
	.lft-barre .lft-bouton--achat { max-width: none; height: 52px; font-size: 17px; }
}
@media (min-width: 768px) and (max-width: 1023px) { .lft-barre { padding-inline: calc((100% - 592px) / 2); } }
@media (min-width: 1024px) { .lft-barre { display: none; } }



/*
 * ---------- Fenêtres de la fiche : feuille du bas sur mobile (< 600 px), fenêtre centrée au-delà ----------
 * Un seul mouvement et un seul voile pour les trois fenêtres : guide des tailles et Raymond de « Personnaliser ce design »
 * (thème), délais (lft-tpop). Retour d'Arthur du 03/11/2026 : voile bleuté et flouté
 * étrange, fenêtres qui surgissaient. Voile gris neutre, sans flou, qui monte avec la fenêtre (même durée, même courbe) ;
 * fenêtre qui grandit légèrement en apparaissant ; feuille qui glisse du bas, amortie ; fermeture plus courte, voile et
 * fenêtre ensemble. Les extensions gardent leur script : le thème ne change que leur habillage et leurs animations (noms
 * en « -out » pour la fermeture, que lft-tpop attend ; transitions et variables du personnalisateur).
 */
/* Jetons et animations des fenêtres (voile, fenêtre, feuille du bas) : assets/css/fenetres.css, commun aux listes. */

/* Guide des tailles : <dialog> du thème ; fermeture animée par assets/js/fiche-achat.js (classe is-fermeture). */
html.lft-dialogue-ouvert { overflow: hidden; }
.lft-dialogue {
	width: 100%; max-width: 100%; max-height: 88dvh; margin: auto 0 0; padding: 0; overflow: auto; overscroll-behavior: contain;
	color: var(--lft-texte); background: #fff; border: 0; border-radius: 20px 20px 0 0; box-shadow: 0 -12px 40px rgb(10 14 20 / .18);
}
.lft-dialogue:focus { outline: none; } /* Le focus va à la fenêtre elle-même (fiche-achat.js), pas à la croix. */
.lft-dialogue::backdrop { background: var(--lft-voile); }
.lft-dialogue[open], .lft-dialogue[open]::backdrop { animation: lft-feuille-in var(--lft-feuille-entree); }
.lft-dialogue[open]::backdrop { animation-name: lft-voile-in; }
.lft-dialogue.is-fermeture, .lft-dialogue.is-fermeture::backdrop { animation: lft-feuille-out var(--lft-feuille-sortie) forwards; }
.lft-dialogue.is-fermeture::backdrop { animation-name: lft-voile-out; }
.lft-dialogue__tete { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 8px 8px 20px; background: #fff; border-bottom: 1px solid var(--lft-bordure); }
.lft-dialogue__titre { margin: 0; color: var(--lft-marine); font: 600 17px/24px var(--wp--preset--font-family--poppins); }
.lft-dialogue__fermer { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; color: var(--lft-texte); background: none; border: 0; border-radius: 10px; cursor: pointer; transition: background-color .15s; }
.lft-dialogue__fermer:hover { background: var(--lft-surface); }
.lft-dialogue__corps { padding: 16px 20px max(24px, env(safe-area-inset-bottom)); }
.lft-dialogue__corps img { display: block; width: 100%; height: auto; }
/* Guide des tailles (calculateur et tableau de lft-outils-boutique) : feuille du bas sur toute la hauteur de l'écran sur
 * mobile ; fenêtre de hauteur fixe dès 600 px, qui ne bouge pas quand le conseil apparaît (le contenu défile dedans). */
.lft-dialogue--guide[open] { display: flex; flex-direction: column; height: calc(100dvh - max(12px, env(safe-area-inset-top))); max-height: none; overflow: hidden; }
.lft-dialogue--guide .lft-dialogue__tete { flex: none; }
.lft-dialogue--guide .lft-dialogue__corps { flex: 1; min-height: 0; overflow: auto; overscroll-behavior: contain; }
@media (min-width: 600px) {
	.lft-dialogue.lft-dialogue--guide { width: min(560px, calc(100% - 48px)); height: min(880px, calc(100dvh - 48px)); max-height: none; }
}
@media (min-width: 600px) {
	.lft-dialogue { width: min(640px, calc(100% - 48px)); max-height: 86dvh; margin: auto; border-radius: 18px; box-shadow: 0 24px 64px rgb(10 14 20 / .22), 0 2px 8px rgb(10 14 20 / .08); }
	.lft-dialogue[open] { animation: lft-fenetre-in var(--lft-fenetre-entree); }
	.lft-dialogue[open]::backdrop { animation: lft-voile-in var(--lft-fenetre-entree); }
	.lft-dialogue.is-fermeture { animation: lft-fenetre-out var(--lft-fenetre-sortie) forwards; }
	.lft-dialogue.is-fermeture::backdrop { animation: lft-voile-out var(--lft-fenetre-sortie) forwards; }
}

/* Délais (lft-tpop) : son voile, ses animations (classes is-closing de l'extension), sa feuille jusqu'à 600 px compris.
 * Sélecteurs précédés de `body` : ils passent devant la feuille de l'extension, quel que soit l'ordre de chargement. */
body .lft-tpop-dialog-backdrop { background: var(--lft-voile); -webkit-backdrop-filter: none; backdrop-filter: none; }
body .lft-tpop-dialog { box-shadow: 0 24px 64px rgb(10 14 20 / .22), 0 2px 8px rgb(10 14 20 / .08); }
body .lft-tpop-dialog, body .lft-tpop-dialog-backdrop { animation: lft-voile-in var(--lft-fenetre-entree); }
body .lft-tpop-dialog { animation-name: lft-fenetre-centree-in; }
body .lft-tpop-dialog.is-closing, body .lft-tpop-dialog-backdrop.is-closing { animation: lft-voile-out var(--lft-fenetre-sortie) forwards; }
body .lft-tpop-dialog.is-closing { animation-name: lft-fenetre-centree-out; }
@media (max-width: 600px) {
	body .lft-tpop-dialog { box-shadow: 0 -12px 40px rgb(10 14 20 / .18); }
	body .lft-tpop-dialog, body .lft-tpop-dialog-backdrop { animation: lft-voile-in var(--lft-feuille-entree); }
	body .lft-tpop-dialog { animation-name: lft-feuille-in; }
	body .lft-tpop-dialog.is-closing, body .lft-tpop-dialog-backdrop.is-closing { animation: lft-voile-out var(--lft-feuille-sortie) forwards; }
	body .lft-tpop-dialog.is-closing { animation-name: lft-feuille-out; }
}

/*
 * Raymond de « Personnaliser ce design » (inc/product/raymond.php) : la carte de Raymond du site (classes lft-nav__tile-*,
 * coque/menu.css, comme l'accueil) posée dans une fenêtre du thème, même mouvement que le guide des tailles. La tête de la
 * carte (avatar, nom, « en ligne ») porte la croix ; pas de titre en plus. Carte sans bord : la fenêtre la dessine. Les
 * règles de la tuile du menu sur ordinateur (menu-ordinateur.css, sans parent) sont annulées ici. Bulle des catégories
 * (categorie/blocs.css, retour d'Arthur du 24/11/2026) : bleu un peu plus soutenu, texte foncé en poids normal, comme la
 * bulle de Raymond dans l'assistant qui suit.
 */
.lft-dialogue--raymond { overflow-x: hidden; }
.lft-dialogue--raymond .lft-nav__tile { flex: none; align-self: stretch; min-width: 0; margin: 0; }
.lft-dialogue--raymond .lft-nav__tile-card { gap: 14px; padding: 12px 20px max(20px, env(safe-area-inset-bottom)); background: #fff; border: 0; border-radius: 0; }
.lft-raymond__tete { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-right: -8px; }
.lft-dialogue--raymond .lft-nav__tile-avatar { width: 48px; height: 48px; }
.lft-dialogue--raymond .lft-nav__tile-name { font-size: 16px; line-height: 21px; }
.lft-dialogue--raymond .lft-nav__tile-status { font-size: 13px; line-height: 18px; }
.lft-dialogue--raymond .lft-nav__tile-bubble { padding: 11px 14px; color: var(--lft-texte); font-size: 15px; font-weight: 500; line-height: 21px; background: #e2ecfd; }
.lft-dialogue--raymond .lft-nav__tile-composer textarea { min-height: calc(3lh + 24px); }
.lft-dialogue--raymond .lft-nav__tile-submit { min-height: 48px; font-size: 16px; }
/* Feuille du bas, clavier ouvert : Safari sur iPhone laisse voir la page entre la feuille et le clavier (sous ses barres
 * translucides), juste sous la zone de la page, où ni la fenêtre ni son voile ne sont peints (une fenêtre modale n'y
 * dessine rien, même une ombre). Une bande blanche fixe et ordinaire, posée sous cette zone (`top: 100%`), y prolonge la
 * feuille ; elle n'existe que fenêtre ouverte et reste hors de l'écran clavier fermé ; le haut garde son voile. Même idée
 * que le fond blanc de la recherche plein écran (coque/search.css). */
/* Page figée sous les fenêtres de la fiche sur écran tactile (assets/js/fiche-achat.js, qui pose le décalage `top`). */
html.lft-page-figee body { position: fixed; right: 0; left: 0; width: 100%; }
/* Feuille du bas : plus d'air sous le bouton (barre d'adresse flottante de Safari, barre d'accueil de l'iPhone), pour
 * qu'il se touche facilement (Arthur, 24/11/2026). */
@media (max-width: 599px) {
	.lft-dialogue--raymond .lft-nav__tile-card { padding-bottom: calc(40px + env(safe-area-inset-bottom)); }
	body:has(> .lft-dialogue--raymond[open])::after { position: fixed; top: 100%; right: 0; left: 0; height: 100vh; background: #fff; content: ""; }
}
@media (min-width: 600px) {
	.lft-dialogue.lft-dialogue--raymond { width: min(460px, calc(100% - 48px)); }
	.lft-dialogue--raymond .lft-nav__tile-card { gap: 16px; padding: 18px 24px 24px; }
	.lft-dialogue--raymond .lft-nav__tile-avatar { width: 52px; height: 52px; }
	.lft-dialogue--raymond .lft-nav__tile-name { font-size: 17px; line-height: 22px; }
}

/* Ajouté au panier (le vrai site ouvre lft-side-cart). */

@media (prefers-reduced-motion: reduce) {
	.lft-galerie__nav { transition: opacity .15s, visibility .15s; transform: translateY(-50%); }
	.lft-galerie__piste { scroll-behavior: auto; }
	.lft-barre, .lft-barre__choix, .lft-galerie__points li, .lft-accordeon__fleche, .lft-avis__fleche, .lft-rangee__fleche, .lft-carte__photo img, .lft-pastille__nom { transition: none; }
	.lft-dialogue[open], .lft-dialogue[open]::backdrop, .lft-dialogue.is-fermeture, .lft-dialogue.is-fermeture::backdrop, body .lft-tpop-dialog, body .lft-tpop-dialog-backdrop, .lft-barre__choix, .lft-bouton--achat[data-etat="ajout"] .lft-icon, .lft-avis__carte--attente { animation: none; }
	.lft-choix__groupe--taille.is-appel .lft-pastille:not(.lft-pastille--epuisee) { animation: none; background: #dce8fd; }
}

/* fiche/suite.css */
/* Fiche produit : suite de la page sous la zone d'achat. « Existe aussi sur ces produits », accordéons (et articles liés
 * de lft-seo-agent), cartes produit, « Dans le même esprit » et « Voir plus de ». Repris de la maquette validée (cadrage
 * de la fiche, sections 4, 15.8 à 15.11, 15.14, 15.25 et 16.7). Carte produit, grille, rangée défilante et flèches des
 * rangées : cartes.css. */

.lft-fiche__suite { padding-top: 32px; }
.lft-fiche__suite > * + * { margin-top: 32px; }
@media (min-width: 1024px) { .lft-fiche__suite { padding-top: 40px; } .lft-fiche__suite > * + * { margin-top: 40px; } }

/* ---------- Accordéons : contenu des onglets, fermés, texte dans la page (sections 15.10 et 15.11) ---------- */
.lft-accordeons { border-top: 1px solid var(--lft-bordure); }
.lft-accordeon { border-bottom: 1px solid var(--lft-bordure); }
.lft-accordeon summary {
	display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 6px 0;
	color: var(--wp--preset--color--texte); font: 600 16px/22px var(--wp--preset--font-family--inter); list-style: none; cursor: pointer; -webkit-tap-highlight-color: transparent;
}
.lft-accordeon summary::-webkit-details-marker { display: none; }
.lft-accordeon summary:focus-visible { outline: 2px solid var(--lft-bleu); outline-offset: -2px; border-radius: 10px; }
.lft-accordeon summary:hover { color: var(--lft-bleu); }
/* Titre de section (h2, 0.28.46) : mêmes caractères que le résumé ; sélecteur plus précis que « .lft-fiche h2 ». */
.lft-accordeon .lft-accordeon__titre { flex: 1; min-width: 0; margin: 0; color: inherit; font: inherit; }
.lft-accordeon__fleche { display: grid; flex: none; place-items: center; color: var(--lft-texte-2); transition: transform .35s var(--lft-ease), color .3s, background-color .3s; }
.lft-accordeon[open]:not(.is-fermeture) .lft-accordeon__fleche { transform: rotate(180deg); }
.lft-accordeon__contenu { padding: 0 0 20px; overflow-x: clip; color: var(--lft-texte); font-size: 14px; line-height: 22px; overflow-wrap: break-word; }
.lft-accordeon__contenu > :first-child { margin-top: 0; }
.lft-accordeon__contenu > :last-child { margin-bottom: 0; }
.lft-accordeon__contenu p, .lft-accordeon__contenu ul { margin: 0 0 12px; }
.lft-accordeon__contenu ul { padding-left: 20px; }
.lft-accordeon__contenu li + li { margin-top: 4px; }
.lft-accordeon__contenu strong, .lft-accordeon__contenu b { font-weight: 600; }
/* Intertitres saisis dans une description (fiches personnalisées) : au niveau du titre des accordéons, sans le dépasser. */
.lft-accordeon__contenu :is(h2, h3, h4) { margin: 16px 0 8px; color: var(--lft-texte); font-family: var(--wp--preset--font-family--inter); font-size: 15px; font-weight: 600; line-height: 22px; }
.lft-accordeon__contenu a { color: var(--lft-bleu); }
/*
 * Images du contenu : entières, centrées, arrondies. Les photos en taille moyenne (portrait 400 × 600 de la description)
 * ne dépassent pas 420 px de haut, soit 280 px de large pour un portrait, comme sur la maquette ; guides des tailles et
 * caractéristiques en pleine largeur. Le label « éco-responsable » (aligné à gauche dans le contenu) garde sa taille, sans arrondi.
 */
.lft-accordeon__contenu img { display: block; max-width: 100%; height: auto; margin-inline: auto; border-radius: 12px; }
.lft-accordeon__contenu img.size-medium { width: auto; max-height: 420px; }
.lft-accordeon__contenu img.alignleft { margin-inline: 0; border-radius: 0; }
/*
 * Rien ne dépasse la largeur du contenu (descriptions anciennes, saisies pour Flatsome ; 35 fiches ont une vidéo YouTube de
 * 560 px) : vidéos intégrées (YouTube, Vimeo, Dailymotion) en 16:9 sur toute la largeur, autres intégrations ramenées à la
 * largeur, mots et liens longs coupés ; au-delà, le contenu est rogné à sa largeur (sans défilement qui ferait flotter le
 * texte au doigt). La vignette YouTube de WP Rocket (.rll-youtube-player) a déjà son propre 16:9.
 */
.lft-accordeon__contenu :is(iframe, embed, object, video, table) { max-width: 100%; }
.lft-accordeon__contenu :not(.rll-youtube-player) > iframe:is([src*="youtube"], [src*="youtu.be"], [src*="vimeo"], [src*="dailymotion"]) {
	display: block; width: 100%; height: auto; margin-inline: auto; aspect-ratio: 16 / 9; border: 0; border-radius: 12px;
}
.lft-accordeon__contenu .rll-youtube-player { max-width: 100%; border-radius: 12px; }
/*
 * « Nos guides et articles à lire » de lft-seo-agent (fiches personnalisées), à la fin de la description, dans son
 * accordéon (16.7) : sans filet, un petit titre (pas de Hn dans un accordéon), puis les articles en liste à puces, en
 * retrait sous le titre, liens bleus soulignés.
 */
.lft-accordeon__contenu .lft-guides-reading { margin-top: 20px; }
.lft-guides-reading__title { margin: 0 0 6px; color: var(--lft-texte); font-size: 15px; font-weight: 600; line-height: 20px; }
.lft-accordeon__contenu .lft-guides-reading ul { margin: 0; padding-left: 22px; list-style: disc; }
.lft-accordeon__contenu .lft-guides-reading li { padding-left: 2px; }
.lft-accordeon__contenu .lft-guides-reading li + li { margin-top: 6px; }
.lft-guides-reading li::marker { color: var(--lft-texte-2); font-size: 12px; }
.lft-guides-reading a { color: var(--lft-bleu); font-weight: 500; text-decoration: underline; text-decoration-color: rgba(10, 85, 222, .35); text-underline-offset: 3px; }
.lft-guides-reading a:hover { text-decoration-color: currentColor; }

/* ---------- Dans le même esprit : grille de 8 cartes (section 15.14) ---------- */
.lft-similaires { padding-top: 40px; }
.lft-similaires__plus { display: flex; justify-content: center; margin: 28px 0 48px; }
@media (min-width: 1024px) { .lft-similaires { padding-top: 56px; } .lft-similaires__plus { margin: 40px 0 64px; } }

/* Tablette (768 à 1 023 px) : avis et « Dans le même esprit » dans la colonne de la fiche, un seul bord du haut en bas
 * (choix d'Arthur, 01/11/2026 ; en pleine largeur, le bord gauche sautait de 90 px en arrivant aux avis). */
@media (min-width: 768px) and (max-width: 1023px) {
	.lft-avis > .lft-container, .lft-similaires { max-width: 640px; }
}

/* fiche/avis.css */
/* Fiche produit : « Avis de nos clients », rangée de cartes défilante (mobile, tablette), trois cartes et flèches (ordinateur).
 * Repris de la maquette validée (cadrage de la fiche, sections 15.12, 15.13, 15.24 et 15.25). Flèches : fiche/suite.css. */

.lft-avis { margin-top: 40px; }
.lft-avis__entete { display: grid; gap: 10px; }
.lft-avis__resume { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.lft-avis__note { margin: 0; color: var(--lft-texte); font: 600 17px/22px var(--wp--preset--font-family--poppins); } /* Jamais plus grande que le titre du bloc (Arthur, 09/11/2026) : 17 px comme lui sur mobile et tablette, 20 px sur ordinateur (24 avant). */ /* Gris très foncé : une donnée, comme le « 4,9 » à côté du prix ; les étoiles portent la couleur. */
.lft-avis__resume .lft-etoiles--grand { --taille: 18px; }
.lft-avis__resume p:not(.lft-avis__note) { margin: 0; color: var(--lft-texte-2); font-size: 14px; line-height: 20px; }
.lft-avis__defile { position: relative; }
.lft-avis__liste {
	display: grid; grid-auto-columns: 82%; grid-auto-flow: column; gap: 12px; margin: 16px calc(-1 * var(--lft-gouttiere, 16px)) 0; padding: 0 var(--lft-gouttiere, 16px) 4px; list-style: none;
	overflow-x: auto; overscroll-behavior-x: contain; scroll-padding-inline: var(--lft-gouttiere, 16px); scroll-snap-type: x mandatory; scrollbar-width: none;
}
.lft-avis__liste::-webkit-scrollbar { display: none; }
.lft-avis__liste:focus-visible { outline: 2px solid var(--lft-bleu); outline-offset: 2px; border-radius: 16px; }
/* Hauteur réservée pour un avis de 3 lignes, « Lire plus » posé au bout de la 3ᵉ ligne : un lot qui arrive ne fait pas
 * grandir la rangée (pas de décalage, CLS). Grille de la carte : en haut le nom et « Acheteur vérifié » à droite, puis les
 * étoiles et la date à droite, puis le texte ; « Avis sur <produit> » (avis de la boutique) en bas, calé sur le bas de la
 * carte (Arthur, 05/11/2026, comme sur la page catégorie). */
.lft-avis__carte {
	display: grid; grid-template-areas: "nom verifie" "etoiles date" "texte texte" "suite suite" "produit produit"; grid-template-columns: minmax(0, 1fr) auto;
	grid-template-rows: auto auto auto auto 1fr; align-content: start; align-items: center; column-gap: 10px;
	min-width: 0; min-height: 146px; padding: 16px; background: #fff; border: 1px solid var(--lft-bordure); border-radius: 16px; scroll-snap-align: start;
}
.lft-avis__tete, .lft-avis__signaux { display: contents; }
.lft-avis__nom { grid-area: nom; min-width: 0; margin: 0; overflow: hidden; color: var(--lft-texte); font-size: 15px; font-weight: 600; line-height: 20px; text-overflow: ellipsis; white-space: nowrap; }
.lft-avis__date { grid-area: date; justify-self: end; margin-top: 4px; color: var(--lft-texte-2); font-size: 13px; line-height: 18px; white-space: nowrap; }
.lft-avis__date:empty { display: none; }
.lft-avis__signaux .lft-etoiles { --taille: 15px; grid-area: etoiles; justify-self: start; margin-top: 4px; }
.lft-avis__verifie { display: inline-flex; grid-area: verifie; justify-self: end; align-items: center; gap: 4px; margin: 0; color: var(--lft-vert); font-size: 13px; font-weight: 500; line-height: 18px; white-space: nowrap; }
.lft-fiche .lft-avis__verifie .lft-icon { width: 15px; height: 15px; stroke-width: 2; }
.lft-avis__texte { display: -webkit-box; grid-area: texte; margin: 10px 0 0; overflow: hidden; color: var(--lft-texte); font-size: 14px; line-height: 20px; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.lft-avis__produit { grid-area: produit; align-self: end; min-width: 0; margin: 12px 0 0; overflow: hidden; color: var(--lft-texte-2); font-size: 13px; line-height: 18px; text-overflow: ellipsis; white-space: nowrap; }
/* Fiche sans avis : avis récents de la boutique, chacun avec le produit concerné (une ligne de plus). */
.lft-avis--boutique .lft-avis__carte { min-height: 168px; }
.lft-avis__texte--vide { color: var(--lft-texte-2); }
.lft-avis__carte.is-deplie .lft-avis__texte { display: block; -webkit-line-clamp: none; }
/* « Lire plus » au bout de la 3ᵉ ligne, sur un fondu blanc qui couvre la fin coupée ; zone tactile agrandie sans
 * changer l'affichage. Carte dépliée : « Réduire » repasse sous le texte, qui ne doit pas être masqué. */
.lft-avis__suite { position: relative; grid-area: texte; align-self: end; justify-self: end; margin: 0; padding: 0 0 0 32px; color: var(--lft-bleu); font: 600 13px/20px var(--wp--preset--font-family--inter); /* Un pixel sous le texte de l'avis (Arthur, 10/11/2026). */ background: linear-gradient(90deg, rgba(255, 255, 255, 0), #fff 28px); border: 0; cursor: pointer; }
.lft-avis__suite span { text-decoration: underline; text-underline-offset: 3px; }
.lft-avis__suite::before { position: absolute; inset: -12px -8px -12px 16px; content: ""; }
.lft-avis__carte.is-deplie .lft-avis__suite { grid-area: suite; justify-self: start; margin-top: 6px; padding: 0; background: none; }
.lft-avis__carte.is-deplie .lft-avis__suite::before { inset: -12px -8px; }
/* Carte d'attente, le temps qu'un lot arrive (rare : le lot suivant est demandé six cartes avant la fin). */
.lft-avis__carte--attente { background: linear-gradient(100deg, var(--lft-surface) 40%, #fafbfd 50%, var(--lft-surface) 60%) 0 0 / 300% 100%; border-color: transparent; animation: lft-avis-attente 1.4s linear infinite; }
@keyframes lft-avis-attente { from { background-position: 100% 0; } to { background-position: 0 0; } }
/* Tablette (600 à 1 023 px) : deux cartes et un bout de la troisième (82 % sur mobile, une carte étirée sur 600 px et plus). */
@media (min-width: 600px) { .lft-avis__liste { grid-auto-columns: calc((100% - 24px) / 2.3); } }

@media (min-width: 1024px) {
	.lft-avis__note { font-size: 20px; line-height: 24px; }
	.lft-avis { margin-top: 44px; } /* 64 px avant le 03/11/2026 : Arthur trouvait l'espace vide trop grand sous la colonne. */
	/* Note sous le titre, à gauche, comme sur mobile (choix d'Arthur du 01/11/2026) : lue tout de suite, collée au titre et aux cartes. */
	.lft-avis__entete { gap: 8px; }
	.lft-avis__liste { grid-auto-columns: calc((100% - 32px) / 3); gap: 16px; margin: 20px 0 0; padding: 0 0 4px; scroll-padding-inline: 0; }
}
/* Écran tactile en disposition d'ordinateur (iPad à l'horizontale, iPad Pro) : trois cartes et un bout de la quatrième, sans flèches. */
@media (min-width: 1024px) and (pointer: coarse) {
	.lft-avis__liste { grid-auto-columns: calc((100% - 48px) / 3.3); }
	.lft-avis__fleche { display: none !important; }
}
@media (prefers-reduced-motion: reduce) { .lft-avis__carte--attente { animation: none; } }

/* Visionneuse de CusRev, posée dans la page par l'extension : ses styles et scripts ne sont plus chargés sur la fiche. */
.single-product .cr-pswp { display: none; }

