/* PAFEX Pro — blocs de l'espace client (s'appuie sur les couleurs du thème PAFEX, avec valeurs de secours). */

.pafex-tiers,
.pafex-cf,
.pafex-paliers,
.pafex-rep {
	--pp-ink: var(--ink, #0b0b0c);
	--pp-muted: var(--muted, #5e5e5a);
	--pp-muted-2: var(--muted-2, #6b6b66);
	--pp-line: var(--line, #e6e6e2);
	--pp-line-2: var(--line-2, #dcdcd7);
	--pp-soft: var(--soft, #f3f3f1);
	--pp-danger: var(--danger, #b42318);
	--pp-mono: var(--mono, ui-monospace, Menlo, monospace);
	color: var(--pp-ink);
}

/* ---------- Paliers de remise ---------- */
.pafex-tiers { margin: 0 0 56px; padding: 32px; border: 1px solid var(--pp-line); border-radius: 24px; }
.pafex-tiers__head { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 24px 40px; }
.pafex-tiers__intro { flex: 1 1 280px; min-width: 0; }
.pafex-tiers__intro h2 { margin: 0; font-size: 24px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; }
.pafex-tiers__intro p { margin: 10px 0 0; font-size: 14px; line-height: 1.55; color: var(--pp-muted); }
.pafex-tiers__note { font-size: 13px !important; }
.pafex-tiers__ca { flex: 0 0 auto; padding: 16px 20px; border-radius: 16px; background: var(--pp-ink); color: #fff; }
.pafex-tiers__ca-label { margin: 0; font-size: 12px; color: #c4c4bf; }
.pafex-tiers__ca-value { margin: 6px 0 0; font-size: 28px; font-weight: 600; letter-spacing: -0.02em; }
.pafex-tiers__ca-value span { font-size: 13px; font-weight: 400; color: #c4c4bf; }
.pafex-tiers__goal { margin: 32px 0 0; font-size: 16px; font-weight: 600; }
.pafex-tiers__detail { margin: 4px 0 0; font-size: 13px; color: var(--pp-muted); }

.pafex-tiers__gauge { position: relative; margin-top: 24px; padding-bottom: 54px; }
.pafex-tiers__track { height: 10px; overflow: hidden; border-radius: 999px; background: #ecece9; }
.pafex-tiers__track span { display: block; height: 100%; border-radius: 999px; background: var(--pp-ink); }
.pafex-tiers__mark { position: absolute; top: -4px; display: flex; flex-direction: column; align-items: center; gap: 6px; transform: translateX(-50%); }
.pafex-tiers__tick { width: 2px; height: 18px; border-radius: 2px; background: #c9c9c4; }
.pafex-tiers__rate { font-size: 13px; font-weight: 600; color: var(--pp-muted-2); white-space: nowrap; }
.pafex-tiers__seuil { font-family: var(--pp-mono); font-size: 11px; color: var(--pp-muted-2); white-space: nowrap; }
.pafex-tiers__mark.is-done .pafex-tiers__tick { background: var(--pp-ink); }
.pafex-tiers__mark.is-done .pafex-tiers__rate { color: var(--pp-ink); }

.pafex-tiers__table { width: 100%; margin-top: 8px; border-collapse: collapse; font-size: 13px; }
.pafex-tiers__table caption { padding-bottom: 8px; text-align: left; font-family: var(--pp-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--pp-muted); }
.pafex-tiers__table td { padding: 10px 12px; border-top: 1px solid var(--pp-line); color: #3a3a37; }
.pafex-tiers__table .pafex-tiers__num { text-align: right; }
.pafex-tiers__table .pafex-tiers__badge { width: 120px; text-align: right; font-size: 12px; font-weight: 600; color: var(--pp-ink); }
.pafex-tiers__table tr.is-current td { background: var(--pp-soft); font-weight: 600; color: var(--pp-ink); }

.pafex-tiers__brand { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; margin-top: 20px; padding: 16px 20px; border-radius: 16px; background: var(--pp-soft); }
.pafex-tiers__brand p { margin: 0; font-size: 15px; }
.pafex-tiers__brand span { color: var(--pp-muted); }
.pafex-tiers__brand-label { margin-bottom: 6px !important; font-family: var(--pp-mono); font-size: 11px !important; letter-spacing: 0.12em; text-transform: uppercase; color: var(--pp-muted); }
.pafex-tiers__brand-rate { font-size: 24px !important; font-weight: 600; letter-spacing: -0.02em; }
.pafex-tiers__foot { margin: 14px 0 0; font-size: 12px; color: var(--pp-muted-2); }

/* ---------- Commande par fichier ---------- */
.pafex-cf__title { margin: 0; font-size: 28px; font-weight: 600; letter-spacing: -0.02em; }
.pafex-cf__lead { margin: 10px 0 24px; max-width: 640px; font-size: 15px; line-height: 1.55; color: var(--pp-muted); }
.pafex-cf__drop {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 12px;
	min-height: 220px;
	padding: 32px 24px;
	border: 1.5px dashed #c9c9c4;
	border-radius: 24px;
	background: #fafaf9;
	text-align: center;
	cursor: pointer;
}
.pafex-cf__drop:hover, .pafex-cf__drop:focus-within { border-color: var(--pp-ink); }
.pafex-cf__drop input[type="file"] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.pafex-cf__drop-icon { display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 16px; background: var(--pp-ink); color: #fff; }
.pafex-cf__drop-title { font-size: 18px; font-weight: 600; }
.pafex-cf__drop-hint { font-family: var(--pp-mono); font-size: 12px; color: var(--pp-muted-2); }
.pafex-cf__file-name { font-size: 14px; font-weight: 600; }
.pafex-cf__cols { display: flex; flex-wrap: wrap; gap: 16px; margin: 16px 0 24px; }
.pafex-cf__box { flex: 1 1 280px; min-width: 0; padding: 24px; border: 1px solid var(--pp-line); border-radius: 20px; }
.pafex-cf__box--soft { border-color: transparent; background: var(--pp-soft); }
.pafex-cf__box p { margin: 6px 0 0; font-size: 14px; line-height: 1.5; color: var(--pp-muted); }
.pafex-cf__box-title { display: block; margin: 0 !important; font-size: 15px !important; font-weight: 600; color: var(--pp-ink) !important; }
.pafex-cf__box textarea { width: 100%; min-height: 120px; margin-top: 14px; padding: 12px 14px; border: 1px solid var(--pp-line); border-radius: 12px; font-family: var(--pp-mono); font-size: 13px; line-height: 1.6; box-sizing: border-box; }
.pafex-cf__sample { width: 100%; margin-top: 14px; border-collapse: separate; border-spacing: 0; overflow: hidden; border: 1px solid var(--pp-line-2); border-radius: 12px; background: #fff; font-size: 13px; }
.pafex-cf__sample th { padding: 6px 10px; background: #ecece9; text-align: left; font-family: var(--pp-mono); font-weight: 400; color: var(--pp-muted-2); }
.pafex-cf__sample td { padding: 8px 10px; border-top: 1px solid var(--pp-line); font-family: var(--pp-mono); }
.pafex-cf__link { display: inline-flex; margin-top: 14px; font-size: 14px; font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }

.pafex-cf__alert { margin: 0 0 16px; padding: 14px 18px; border: 1px solid var(--pp-danger); border-radius: 14px; color: var(--pp-danger); font-size: 14px; }
.pafex-cf__table-wrap { overflow-x: auto; border: 1px solid var(--pp-line); border-radius: 18px; }
.pafex-cf__table { width: 100%; min-width: 760px; border-collapse: collapse; font-size: 14px; }
.pafex-cf__table th { padding: 14px 16px; text-align: left; font-family: var(--pp-mono); font-size: 11px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--pp-muted); }
.pafex-cf__table td { padding: 12px 16px; border-top: 1px solid var(--pp-line); vertical-align: middle; }
.pafex-cf__table .is-num { text-align: right; white-space: nowrap; }
.pafex-cf__table tr.is-error { background: #fffbfa; }
.pafex-cf__table tr.is-error .pafex-cf__state, .pafex-cf__table tr.is-error .pafex-cf__name { color: var(--pp-danger); }
.pafex-cf__table input[type="checkbox"] { width: 16px; height: 16px; accent-color: var(--pp-ink); }
.pafex-cf__product { display: flex; align-items: center; gap: 12px; min-width: 0; }
.pafex-cf__thumb { flex: none; width: 44px; height: 44px; overflow: hidden; border-radius: 10px; background: var(--pp-soft); }
.pafex-cf__thumb img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.pafex-cf__name { display: block; font-weight: 500; }
.pafex-cf__state { display: block; margin-top: 2px; font-size: 12px; font-weight: 500; }
.pafex-cf__note { display: block; margin-top: 2px; font-size: 12px; color: var(--pp-muted); }
.pafex-cf__ref, .pafex-cf__qty { height: 36px; padding: 0 10px; border: 1px solid var(--pp-line); border-radius: 10px; font-family: var(--pp-mono); font-size: 13px; box-sizing: border-box; }
.pafex-cf__ref { width: 140px; }
.pafex-cf__qty { width: 84px; }
tr.is-error .pafex-cf__ref { border-color: var(--pp-danger); }
.pafex-cf__total { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; margin-top: 20px; padding: 24px; border-radius: 20px; background: var(--pp-soft); }
.pafex-cf__total-label { margin: 0; font-size: 13px; color: var(--pp-muted); }
.pafex-cf__total-value { margin: 4px 0 0; font-size: 30px; font-weight: 600; letter-spacing: -0.02em; }
.pafex-cf__total-value span { font-size: 14px; font-weight: 400; color: var(--pp-muted); }
.pafex-cf__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.pafex-cf__actions .pafex-btn[disabled] { opacity: 0.4; cursor: not-allowed; }

@media (max-width: 720px) {
	.pafex-tiers { padding: 20px; }
	.pafex-tiers__seuil { display: none; }
}

/* ---------- Panier : paliers de remise sous « Valider la commande » ---------- */
.pafex-paliers { margin-top: 24px; padding: 20px; border: 1px solid var(--pp-line); border-radius: 20px; }
.pafex-paliers__title { margin: 0; font-size: 16px; font-weight: 600; letter-spacing: -0.01em; }
.pafex-paliers__lead { margin: 4px 0 0; font-size: 13px; color: var(--pp-muted); }
.pafex-paliers__table { width: 100%; margin-top: 14px; border-collapse: collapse; font-size: 14px; }
.pafex-paliers__table th { padding: 0 0 8px; text-align: left; font-family: var(--pp-mono); font-size: 11px; font-weight: 400; letter-spacing: 0.08em; text-transform: uppercase; color: var(--pp-muted); }
.pafex-paliers__table td { padding: 10px 0; border-top: 1px solid var(--pp-line); vertical-align: top; }
.pafex-paliers__table .is-num { text-align: right; white-space: nowrap; }
.pafex-paliers__table td.is-num { padding-left: 12px; }
.pafex-paliers__table tr.is-current td { font-weight: 600; }
.pafex-paliers__rate { display: block; font-weight: 600; }
.pafex-paliers__sub { display: block; margin-top: 2px; font-size: 12px; font-weight: 400; color: var(--pp-muted); }
.pafex-paliers__total { display: block; }
.pafex-paliers__gain { display: block; margin-top: 2px; font-size: 12px; font-weight: 500; color: var(--pp-ink); }
.pafex-paliers__coef { font-family: var(--pp-mono); font-size: 13px; }
.pafex-paliers__table tr.is-current td { background: var(--pp-soft); }
.pafex-paliers__table tr.is-current td:first-child { padding-left: 10px; border-radius: 10px 0 0 10px; }
.pafex-paliers__table tr.is-current td:last-child { padding-right: 10px; border-radius: 0 10px 10px 0; }
.pafex-paliers__table tr.is-current + tr td { border-top-color: transparent; }
.pafex-paliers__goal { margin: 14px 0 0; font-size: 14px; font-weight: 600; }
.pafex-paliers__foot { margin: 10px 0 0; font-size: 12px; line-height: 1.5; color: var(--pp-muted-2); }

/* ---------- Espace client : votre commercial ---------- */
.pafex-rep { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: center; gap: 24px 40px; margin: 0 0 56px; padding: 28px 32px; border-radius: 24px; background: var(--pp-soft); }
.pafex-rep__person { display: flex; align-items: center; gap: 20px; min-width: 0; }
.pafex-rep__avatar { flex: none; display: flex; align-items: center; justify-content: center; width: 80px; height: 80px; overflow: hidden; border-radius: 50%; background: var(--pp-ink); color: #fff; font-size: 26px; font-weight: 600; letter-spacing: 0.02em; }
.pafex-rep__avatar img { width: 100%; height: 100%; object-fit: cover; }
.pafex-rep__eyebrow { margin: 0; font-family: var(--pp-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--pp-muted); }
.pafex-rep__name { margin: 6px 0 0; font-size: 24px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; }
.pafex-rep__role { margin: 4px 0 0; font-size: 14px; color: var(--pp-muted); }
.pafex-rep__details { display: grid; gap: 8px; margin: 0; font-size: 14px; }
.pafex-rep__details div { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 8px; border-bottom: 1px solid var(--pp-line-2); }
.pafex-rep__details div:last-child { padding-bottom: 0; border-bottom: 0; }
.pafex-rep__details dt { color: var(--pp-muted); }
.pafex-rep__details dd { margin: 0; font-weight: 500; text-align: right; overflow-wrap: anywhere; }
.pafex-rep__details a { color: inherit; text-decoration: none; }
.pafex-rep__details a:hover { text-decoration: underline; text-underline-offset: 3px; }
.pafex-rep__actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 860px) {
	.pafex-rep { grid-template-columns: 1fr; padding: 22px; }
	.pafex-rep__avatar { width: 64px; height: 64px; font-size: 21px; }
}

/* Panier : coefficients (PVC / prix d'achat HT) */
.pafex-item-coef {
	display: inline-block;
	margin-left: 8px;
	padding: 2px 8px;
	border-radius: 999px;
	background: var(--soft, #f3f3f1);
	color: var(--ink, #0b0b0c);
	font-family: var(--mono, ui-monospace, monospace);
	font-size: 12px;
	font-weight: 600;
	white-space: nowrap;
	vertical-align: middle;
}
.wc-block-components-totals-footer-item { flex-wrap: wrap; }
.pafex-total-coef {
	margin: 0 12px 0 auto;
	align-self: center;
	padding: 3px 10px;
	border-radius: 999px;
	background: var(--ink, #0b0b0c);
	color: #fff;
	font-family: var(--mono, ui-monospace, monospace);
	font-size: 12px;
	font-weight: 600;
	white-space: nowrap;
}
.pafex-vitrine .pafex-item-coef,
.pafex-vitrine .pafex-total-coef { display: none; }

/* Panier : référence sous le nom du produit */
.pafex-item-sku { display: block; margin: 2px 0 4px; font-family: "Geist Mono", ui-monospace, Menlo, monospace; font-size: 12px; color: #6b6b66; }

/* Tableau de bord : objectif pour garder sa remise la saison suivante */
.pafex-tiers__keep { display: inline-block; margin-top: 10px; padding: 8px 14px; border-radius: 12px; background: #f3f3f1; color: #0b0b0c; font-size: 14px; font-weight: 500; }

/* Espace client : documents à télécharger */
.pafex-docs__title { margin: 0 0 20px; font-size: 24px; }
.pafex-docs__empty { color: #6b6b66; }
.pafex-docs__list { display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; list-style: none; }
.pafex-docs__item { display: flex; align-items: center; gap: 16px; padding: 14px 16px; border: 1px solid #e6e6e2; border-radius: 16px; background: #fff; }
.pafex-docs__ext { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 52px; height: 52px; border-radius: 12px; background: #f3f3f1; color: #0b0b0c; font-family: "Geist Mono", ui-monospace, Menlo, monospace; font-size: 12px; font-weight: 600; }
.pafex-docs__ext--xlsx, .pafex-docs__ext--xls, .pafex-docs__ext--csv { background: #e7f4ec; color: #14532d; }
.pafex-docs__ext--pdf { background: #fdecea; color: #b42318; }
.pafex-docs__info { display: flex; flex-direction: column; gap: 3px; min-width: 0; flex: 1 1 auto; }
.pafex-docs__name { font-size: 16px; font-weight: 600; color: #0b0b0c; }
.pafex-docs__meta { font-size: 13px; color: #6b6b66; }
.pafex-docs__btn { flex: none; padding: 10px 18px; border-radius: 999px; background: #0b0b0c; color: #fff !important; font-size: 14px; font-weight: 500; text-decoration: none !important; }
.pafex-docs__btn:hover { opacity: .85; }
@media (max-width: 560px) {
	.pafex-docs__item { flex-wrap: wrap; }
	.pafex-docs__btn { width: 100%; text-align: center; }
}

/* ---------- SAV (Mon compte > SAV) ---------- */
.pafex-sav { max-width: 820px; }
.pafex-sav__title { margin: 0 0 8px; font-size: 24px; }
.pafex-sav__lead { margin: 0 0 24px; color: #5e5e5a; }
.pafex-sav__done { display: flex; flex-direction: column; gap: 2px; margin: 0 0 24px; padding: 16px 20px; border-radius: 16px; background: #e7f5ec; color: #1f8a4c; }
.pafex-sav__done span { color: #2a5c3d; font-size: 14px; }
.pafex-sav__errors { margin: 0 0 24px; padding: 14px 20px; border-radius: 16px; background: #fdecea; color: #b42318; font-size: 14px; }
.pafex-sav__errors ul { margin: 0; padding-left: 18px; }
.pafex-sav__form { display: flex; flex-direction: column; gap: 16px; }
.pafex-sav__step { margin: 0; padding: 20px 22px 22px; border: 1px solid #e6e6e2; border-radius: 20px; background: #fff; min-width: 0; }
.pafex-sav__step[hidden] { display: none; }
.pafex-sav__step legend { display: flex; align-items: center; gap: 10px; padding: 0 6px; font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
.pafex-sav__num { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #0b0b0c; color: #fff; font-size: 13px; font-weight: 600; }
.pafex-sav__brands { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.pafex-sav__brand { position: relative; display: flex; align-items: center; justify-content: center; min-height: 56px; padding: 10px 12px; border: 1px solid #dcdcd7; border-radius: 14px; text-align: center; font-weight: 600; cursor: pointer; }
.pafex-sav__brand input { position: absolute; opacity: 0; pointer-events: none; }
.pafex-sav__brand:hover { border-color: #0b0b0c; }
.pafex-sav__brand.is-on, .pafex-sav__brand:has(input:checked) { border-color: #0b0b0c; background: #0b0b0c; color: #fff; }
.pafex-sav__brand:has(input:focus-visible) { outline: 2px solid #0b0b0c; outline-offset: 2px; }
.pafex-sav__field { display: flex; flex-direction: column; gap: 6px; margin: 0 0 14px; }
.pafex-sav__field[hidden], .pafex-sav__jab[hidden] { display: none; }
.pafex-sav__field:last-child { margin-bottom: 0; }
.pafex-sav__label { margin: 0; font-size: 13px; font-weight: 600; color: #3a3a37; }
.pafex-sav__field select, .pafex-sav__field input[type="text"], .pafex-sav__field textarea { width: 100%; padding: 11px 14px; border: 1px solid #dcdcd7; border-radius: 12px; background: #fff; font: inherit; font-size: 15px; color: #0b0b0c; }
.pafex-sav__field select { min-height: 46px; }
.pafex-sav__field textarea { resize: vertical; min-height: 130px; }
.pafex-sav__field select:focus, .pafex-sav__field input:focus, .pafex-sav__field textarea:focus { outline: none; border-color: #0b0b0c; }
.pafex-sav__help { font-size: 12px; color: #6b6b66; }
.pafex-sav__jab { margin-top: 4px; padding-top: 16px; border-top: 1px dashed #dcdcd7; }
.pafex-sav__brins { font-weight: 400; color: #6b6b66; }
.pafex-sav__elements { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 14px; }
.pafex-sav__el { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border: 1px solid #dcdcd7; border-radius: 999px; font-size: 14px; font-weight: 500; cursor: pointer; user-select: none; }
.pafex-sav__el input { width: 15px; height: 15px; margin: 0; accent-color: #b42318; }
.pafex-sav__el:hover { border-color: #0b0b0c; }
.pafex-sav__el.is-on { border-color: #b42318; background: #fdecea; color: #b42318; }
.pafex-sav__double { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 12px; font-size: 14px; font-weight: 500; cursor: pointer; }
.pafex-sav__double input { width: 16px; height: 16px; margin: 0; accent-color: #0b0b0c; }
.pafex-sav__photos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.pafex-sav__photo, .pafex-sav__add { position: relative; aspect-ratio: 1; border-radius: 14px; overflow: hidden; }
.pafex-sav__photo { background: #f3f3f1; }
.pafex-sav__photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pafex-sav__pname { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 10px 6px; background: linear-gradient(transparent, rgba(0,0,0,.55)); color: #fff; font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pafex-sav__rm { position: absolute; top: 6px; right: 6px; display: grid; place-items: center; width: 28px; height: 28px; border: 0; border-radius: 50%; background: rgba(11,11,12,.75); color: #fff; font-size: 18px; line-height: 1; cursor: pointer; }
.pafex-sav__add { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; border: 1.5px dashed #c4c4bf; color: #3a3a37; font-size: 13px; font-weight: 500; text-align: center; cursor: pointer; }
.pafex-sav__add[hidden] { display: none; }
.pafex-sav__add:hover { border-color: #0b0b0c; background: #f3f3f1; }
.pafex-sav__add input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.pafex-sav__add-plus { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #0b0b0c; color: #fff; font-size: 22px; line-height: 1; }
.pafex-sav__formerror { margin: 0 0 12px; padding: 10px 14px; border-radius: 12px; background: #fdecea; color: #b42318; font-size: 14px; }
.pafex-sav__formerror[hidden] { display: none; }
.pafex-sav__submit { width: 100%; margin-top: 4px; }
.pafex-sav__history { margin-top: 36px; }
.pafex-sav__history h3 { margin: 0 0 12px; font-size: 18px; }
.pafex-sav__history ul { display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 0; list-style: none; }
.pafex-sav__history li { display: flex; align-items: center; gap: 16px; padding: 12px 16px; border: 1px solid #e6e6e2; border-radius: 14px; }
.pafex-sav__hnum { font-family: "Geist Mono", ui-monospace, Menlo, monospace; font-size: 13px; font-weight: 600; }
.pafex-sav__hinfo { display: flex; flex-direction: column; flex: 1; min-width: 0; font-size: 14px; }
.pafex-sav__hinfo span { font-size: 12px; color: #6b6b66; }
.pafex-sav__status { padding: 3px 12px; border-radius: 999px; background: #f3f3f1; font-size: 12px; font-weight: 600; white-space: nowrap; }
.pafex-sav__status.is-nouvelle { background: #fff4d6; color: #8a6100; }
.pafex-sav__status.is-en-cours { background: #e5f0fa; color: #135e96; }
.pafex-sav__status.is-traitee { background: #e7f5ec; color: #1f8a4c; }
@media (max-width: 640px) {
	.pafex-sav__brands { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.pafex-sav__step { padding: 16px; }
}

/* SAV : fiche d'une demande et décision */
.pafex-sav__hnum { text-decoration: none; color: inherit; }
.pafex-sav__hopen { margin-left: auto; font-size: 13px; font-weight: 600; }
.pafex-sav__status.is-refuse { background: #fde8e6; color: #b3261e; }
.pafex-sav--detail .pafex-sav__title { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.pafex-sav__recap { display: grid; gap: 10px; margin: 0 0 16px; }
.pafex-sav__recap > div { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 12px; padding: 10px 0; border-bottom: 1px solid #ececE8; }
.pafex-sav__recap dt { color: #6b6b66; font-size: 13px; }
.pafex-sav__recap dd { margin: 0; overflow-wrap: anywhere; }
.pafex-sav__gallery { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.pafex-sav__gallery img { width: 110px; height: 110px; object-fit: cover; border-radius: 10px; background: #f0f0ee; }
.pafex-sav__decision { margin-top: 8px; padding: 18px 20px; border-radius: 14px; border: 1px solid #e6e6e2; background: #f7f7f5; }
.pafex-sav__decision p { margin: 6px 0 0; }
.pafex-sav__decision.is-garantie { background: #e7f5ec; border-color: #bfe3cd; color: #166b3a; }
.pafex-sav__decision.is-refuse { background: #fff6f5; border-color: #f3c9c5; }
.pafex-sav__repl { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.pafex-sav__repl li { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 16px; padding: 12px 14px; background: #fff; border: 1px solid #e6e6e2; border-radius: 12px; }
.pafex-sav__repl-name { display: flex; flex-direction: column; }
.pafex-sav__repl-name small { color: #6b6b66; font-family: "Geist Mono", ui-monospace, Menlo, monospace; }
.pafex-sav__repl-price { display: flex; flex-direction: column; align-items: flex-end; font-size: 13px; }
@media (max-width: 640px) {
	.pafex-sav__recap > div { grid-template-columns: 1fr; gap: 2px; }
	.pafex-sav__repl li { grid-template-columns: 1fr; }
	.pafex-sav__repl-price { align-items: flex-start; }
}

/* Menu déroulant « cristal » (modèle / référence du SAV) */
.pafex-dd { position: relative; }
.pafex-dd__native { position: absolute !important; width: 1px !important; height: 1px !important; min-height: 0 !important; padding: 0 !important; border: 0 !important; opacity: 0; pointer-events: none; overflow: hidden; clip: rect(0 0 0 0); }
.pafex-dd__btn { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 50px; padding: 11px 16px; border-radius: 14px; font: inherit; font-size: 15px; font-weight: 600; text-align: left; color: #0b0b0c; cursor: pointer;
	border: 1px solid rgba(255, 255, 255, .85); outline: 1px solid rgba(11, 11, 12, .10); outline-offset: -1px;
	background: linear-gradient(180deg, rgba(255, 255, 255, .96) 0%, rgba(238, 243, 250, .78) 100%);
	box-shadow: 0 1px 0 rgba(255, 255, 255, .9) inset, 0 -1px 0 rgba(120, 140, 170, .12) inset, 0 6px 18px -8px rgba(30, 50, 90, .22);
	-webkit-backdrop-filter: blur(10px) saturate(150%); backdrop-filter: blur(10px) saturate(150%);
	transition: box-shadow .18s ease, outline-color .18s ease, transform .18s ease; }
.pafex-dd__btn:hover { outline-color: rgba(11, 11, 12, .35); }
.pafex-dd__btn:focus-visible, .pafex-dd.is-open .pafex-dd__btn { outline: 2px solid #0b0b0c; outline-offset: -1px; box-shadow: 0 1px 0 rgba(255, 255, 255, .9) inset, 0 10px 26px -10px rgba(30, 50, 90, .35); }
.pafex-dd__btn.is-empty .pafex-dd__val { font-weight: 500; color: #6b6b66; }
.pafex-dd__val { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pafex-dd__chev { flex: none; transition: transform .2s ease; color: #3a3a37; }
.pafex-dd.is-open .pafex-dd__chev { transform: rotate(180deg); }
.pafex-dd__panel { position: absolute; z-index: 40; left: 0; right: 0; top: calc(100% + 8px); padding: 8px; border-radius: 18px; overflow: hidden;
	border: 1px solid rgba(255, 255, 255, .8);
	background: linear-gradient(160deg, rgba(255, 255, 255, .94) 0%, rgba(240, 245, 253, .90) 55%, rgba(248, 244, 253, .90) 100%);
	-webkit-backdrop-filter: blur(22px) saturate(180%); backdrop-filter: blur(22px) saturate(180%);
	box-shadow: 0 1px 0 rgba(255, 255, 255, .95) inset, 0 0 0 1px rgba(11, 11, 12, .06), 0 28px 60px -20px rgba(24, 40, 80, .38), 0 8px 20px -10px rgba(24, 40, 80, .22);
	animation: pafexDdIn .16s ease-out; }
.pafex-dd__panel[hidden] { display: none; }
@keyframes pafexDdIn { from { opacity: 0; transform: translateY(-6px) scale(.985); } to { opacity: 1; transform: none; } }
.pafex-dd__search { padding: 2px 2px 8px; }
.pafex-dd__search input { width: 100%; min-height: 40px; padding: 9px 14px; border-radius: 11px; border: 1px solid rgba(11, 11, 12, .10); background: rgba(255, 255, 255, .7); font: inherit; font-size: 14px; color: #0b0b0c; }
.pafex-dd__search input:focus { outline: none; border-color: #0b0b0c; background: #fff; }
.pafex-dd__list { list-style: none; margin: 0; padding: 0; max-height: 300px; overflow-y: auto; overscroll-behavior: contain; display: flex; flex-direction: column; gap: 2px; }
.pafex-dd__item { display: flex; flex-direction: column; gap: 1px; padding: 9px 12px; border-radius: 11px; cursor: pointer; transition: background .12s ease; }
.pafex-dd__item:hover, .pafex-dd__item.is-active { background: rgba(255, 255, 255, .85); box-shadow: 0 1px 0 rgba(255, 255, 255, .9) inset, 0 0 0 1px rgba(11, 11, 12, .07); }
.pafex-dd__item.is-selected { background: #0b0b0c; color: #fff; }
.pafex-dd__ref { font-family: "Geist Mono", ui-monospace, Menlo, monospace; font-size: 12px; font-weight: 600; letter-spacing: .02em; color: #3a3a37; }
.pafex-dd__item.is-selected .pafex-dd__ref { color: rgba(255, 255, 255, .75); }
.pafex-dd__name { font-size: 14px; font-weight: 600; line-height: 1.3; }
.pafex-dd__item.is-other { margin-top: 6px; border-top: 1px dashed rgba(11, 11, 12, .15); border-radius: 0 0 11px 11px; }
.pafex-dd__item.is-other .pafex-dd__name { font-weight: 500; color: #3a3a37; }
.pafex-dd__empty { padding: 14px; text-align: center; color: #6b6b66; font-size: 14px; }
@media (prefers-reduced-motion: reduce) { .pafex-dd__panel { animation: none; } }

/* SAV : étape Garantie et achat hors garantie */
.pafex-sav__brands--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pafex-sav__double[hidden] { display: none; }
.pafex-sav__hg-empty { margin: 4px 0 0; padding: 14px 16px; border-radius: 12px; background: #f7f7f5; color: #6b6b66; font-size: 14px; }
.pafex-sav__hg-empty[hidden] { display: none; }
.pafex-sav__step[data-step="hors"] .pafex-sav__repl { margin-top: 12px; }
.pafex-sav__incart { justify-content: center; white-space: nowrap; }

/* TARIF À JOUR (documents) */
.pafex-docs__list--tarif { margin-bottom: 14px; }
.pafex-docs__item--tarif { border-color: #14532d; box-shadow: 0 0 0 3px #e7f4ec; }
.pafex-docs__btns { display: flex; gap: 8px; flex: none; }
.pafex-docs__btn--ghost { background: #fff; color: #0b0b0c !important; border: 1px solid #0b0b0c; }
.pafex-docs__remises { margin: 0 0 24px; padding: 16px 18px; border: 1px solid #e6e6e2; border-radius: 16px; background: #fff; font-size: 14px; }
.pafex-docs__remises ul { margin: 8px 0; padding-left: 18px; line-height: 1.7; }
.pafex-docs__remises p { margin: 8px 0 0; color: #6b6b66; font-size: 13px; }
@media (max-width: 600px) { .pafex-docs__btns { width: 100%; } .pafex-docs__btns .pafex-docs__btn { flex: 1; text-align: center; } }

/* 1.0.84 : Paramètres compte (infos Sage, adresses) */
.pafex-infos-sage { display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: baseline; margin: 0 0 20px; padding: 12px 16px; border: 1px solid #e6e6e2; border-radius: 14px; background: #f3f3f1; font-size: 14px; }
.pafex-infos-sage__k { color: #6b6b66; }
.pafex-infos-sage small { flex-basis: 100%; color: #6b6b66; font-size: 12px; }
.pafex-adresses { margin-top: 36px; }
.pafex-adresses h2 { margin: 0 0 14px; font-size: 20px; }
.pafex-adresses__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.pafex-adresses__card { display: flex; flex-direction: column; gap: 10px; padding: 16px; border: 1px solid #e6e6e2; border-radius: 16px; background: #fff; }
.pafex-adresses__card h3 { margin: 0; font-size: 15px; }
.pafex-adresses__card address { flex: 1; font-style: normal; font-size: 14px; line-height: 1.5; color: #2a2a28; }
.pafex-adresses__btn { align-self: flex-start; padding: 8px 16px; border-radius: 999px; border: 1px solid #0b0b0c; color: #0b0b0c !important; font-size: 14px; font-weight: 500; text-decoration: none !important; }
.pafex-adresses__btn:hover { background: #0b0b0c; color: #fff !important; }

/* 1.0.84 : Mes factures */
.pafex-fact__title { margin: 0 0 16px; font-size: 24px; }
.pafex-fact__avoirs { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; justify-content: space-between; margin: 0 0 18px; padding: 14px 18px; border: 1px solid #b7dcc4; border-radius: 16px; background: #e7f4ec; color: #14532d; font-size: 15px; }
.pafex-fact__avoirs p { margin: 0; }
.pafex-fact__link { color: #0b0b0c; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.pafex-fact__filters { display: flex; gap: 6px; margin: 0 0 14px; }
.pafex-fact__filters a { padding: 6px 14px; border: 1px solid #e6e6e2; border-radius: 999px; color: #2a2a28; font-size: 14px; text-decoration: none; }
.pafex-fact__filters a.is-on { border-color: #0b0b0c; background: #0b0b0c; color: #fff; }
.pafex-fact__empty, .pafex-fact__note { color: #6b6b66; }
.pafex-fact__note { margin-top: 16px; font-size: 13px; }
.pafex-fact__list { display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; list-style: none; }
.pafex-fact__item { display: flex; align-items: center; gap: 16px; padding: 14px 16px; border: 1px solid #e6e6e2; border-radius: 16px; background: #fff; }
.pafex-fact__badge { display: inline-flex; flex: none; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 12px; background: #f3f3f1; color: #0b0b0c; font-family: "Geist Mono", ui-monospace, Menlo, monospace; font-size: 12px; font-weight: 600; }
.pafex-fact__badge.is-avoir { background: #e7f4ec; color: #14532d; }
.pafex-fact__info { display: flex; flex: 1 1 auto; flex-direction: column; gap: 3px; min-width: 0; }
.pafex-fact__name { color: #0b0b0c; font-size: 16px; font-weight: 600; text-decoration: none; }
.pafex-fact__meta { color: #6b6b66; font-size: 13px; }
.pafex-fact__meta a { color: #0b0b0c; }
.pafex-fact__amount { display: flex; flex: none; flex-direction: column; align-items: flex-end; gap: 2px; font-variant-numeric: tabular-nums; }
.pafex-fact__amount strong { font-size: 16px; }
.pafex-fact__amount small, .pafex-fact__amount span { color: #6b6b66; font-size: 12px; font-weight: 400; }
.pafex-fact__btns { display: flex; flex: none; gap: 8px; }
.pafex-fact__btn { padding: 9px 16px; border: 1px solid #0b0b0c; border-radius: 999px; background: #0b0b0c; color: #fff !important; font-size: 14px; font-weight: 500; text-decoration: none !important; white-space: nowrap; }
.pafex-fact__btn.is-ghost { background: #fff; color: #0b0b0c !important; }
.pafex-fact__btn:hover { opacity: .85; }
.pafex-fact__head { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-start; justify-content: space-between; margin-bottom: 16px; }
.pafex-fact__head .pafex-fact__title { margin-bottom: 4px; }
.pafex-fact__table-wrap { overflow-x: auto; border: 1px solid #e6e6e2; border-radius: 16px; background: #fff; }
.pafex-fact__table { width: 100%; border-collapse: collapse; font-size: 14px; }
.pafex-fact__table th { padding: 10px 12px; border-bottom: 1px solid #e6e6e2; background: #f3f3f1; color: #3a3a37; font-size: 12px; font-weight: 600; text-align: left; white-space: nowrap; }
.pafex-fact__table td { padding: 10px 12px; border-bottom: 1px solid #f0f0ec; vertical-align: top; }
.pafex-fact__table tr:last-child td { border-bottom: 0; }
.pafex-fact__table .is-num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.pafex-fact__table a { color: #0b0b0c; text-decoration: underline; text-underline-offset: 2px; }
.pafex-fact__table .is-comment td { color: #6b6b66; font-style: italic; }
.pafex-fact__ref { display: block; color: #6b6b66; font-family: "Geist Mono", ui-monospace, Menlo, monospace; font-size: 12px; }
.pafex-fact__off { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 999px; background: #f3f3f1; color: #6b6b66; font-size: 11px; }
.pafex-fact__totals { display: grid; gap: 6px; max-width: 340px; margin: 16px 0 12px auto; font-variant-numeric: tabular-nums; }
.pafex-fact__totals div { display: flex; justify-content: space-between; gap: 16px; }
.pafex-fact__totals dt { color: #6b6b66; }
.pafex-fact__totals dd { margin: 0; }
.pafex-fact__totals .is-net { padding-top: 8px; border-top: 1px solid #e6e6e2; font-size: 17px; font-weight: 700; }
.pafex-fact__totals .is-net dt { color: #0b0b0c; }
.pafex-fact__fororder { margin: 12px 0; }
@media (max-width: 700px) {
	.pafex-fact__item { flex-wrap: wrap; }
	.pafex-fact__amount { align-items: flex-start; }
	.pafex-fact__btns { width: 100%; }
	.pafex-fact__btns .pafex-fact__btn { flex: 1; text-align: center; }
}
.pafex-fact__state { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 999px; background: #f3f3f1; color: #6b6b66; font-size: 11px; font-weight: 500; }
.pafex-fact__state.is-on { background: #e7f4ec; color: #14532d; }
.pafex-fact__cartnote { margin: 0 0 14px; padding: 10px 14px; border: 1px solid #b7dcc4; border-radius: 12px; background: #e7f4ec; color: #14532d; font-size: 14px; }

/* 1.0.87 : reliquats et commandes de saison (onglet Commandes, panier) */
.pafex-bc { margin-bottom: 28px; }
.pafex-bc .pafex-fact__title { margin-top: 8px; font-size: 22px; }
.pafex-bc__group { margin: 0 0 18px; }
.pafex-bc__head { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; margin: 0 0 8px; }
.pafex-bc__total { margin-left: auto; font-weight: 600; font-variant-numeric: tabular-nums; }
.pafex-bc__total small { color: #6b6b66; font-weight: 400; }
.pafex-bc__actions { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
.pafex-bc__actions .pafex-fact__btn { padding: 6px 12px; font-size: 13px; }
.pafex-bc__summary { margin: 0 0 16px; padding: 14px 18px; border: 1px solid #b7dcc4; border-radius: 16px; background: #e7f4ec; color: #14532d; font-size: 14px; }
.pafex-bc__summary p { margin: 0; }
.pafex-bc__btns { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 10px !important; }
.pafex-bc__cart { margin: 0 0 20px; border: 1px solid #b7dcc4; border-radius: 16px; background: #fff; }
.pafex-bc__cart > summary { display: flex; gap: 12px; align-items: center; justify-content: space-between; padding: 14px 18px; border-radius: 16px; background: #e7f4ec; color: #14532d; cursor: pointer; list-style: none; }
.pafex-bc__cart > summary::-webkit-details-marker { display: none; }
.pafex-bc__cart[open] > summary { border-radius: 16px 16px 0 0; }
.pafex-bc__toggle { flex: none; padding: 4px 12px; border: 1px solid #14532d; border-radius: 999px; font-size: 13px; font-weight: 500; }
.pafex-bc__cart[open] .pafex-bc__toggle { visibility: hidden; }
.pafex-bc__cart > .pafex-fact { padding: 16px 18px 4px; }
.pafex-bc__qty { display: inline-block; min-width: 40px; text-align: center; font-weight: 600; }
@media (max-width: 700px) {
	.pafex-bc .pafex-fact__table thead { display: none; }
	.pafex-bc .pafex-fact__table, .pafex-bc .pafex-fact__table tbody { display: block; }
	.pafex-bc .pafex-fact__table tr { display: grid; grid-template-columns: auto 1fr auto; gap: 6px 12px; align-items: center; padding: 12px 14px; border-bottom: 1px solid #f0f0ec; }
	.pafex-bc .pafex-fact__table tr:last-child { border-bottom: 0; }
	.pafex-bc .pafex-fact__table td { display: block; padding: 0; border: 0; text-align: left; }
	.pafex-bc .pafex-fact__table .c-prod, .pafex-bc .pafex-fact__table .c-act { grid-column: 1 / -1; }
	.pafex-bc .pafex-fact__table .c-pu { display: none; }
	.pafex-bc .pafex-fact__table .c-qte::before { content: attr(data-l) " "; color: #6b6b66; }
	.pafex-bc .pafex-fact__table .c-ht { text-align: right; }
	.pafex-bc .pafex-bc__actions { justify-content: flex-start; }
}
/* 1.0.87 : une ligne par BC, détail avec « Voir » */
.pafex-bc__list { margin-bottom: 18px; }
.pafex-bc__bc { list-style: none; }
.pafex-bc__bc > details { border: 1px solid #e6e6e2; border-radius: 16px; background: #fff; }
.pafex-bc__bc > details > summary { border: 0; cursor: pointer; list-style: none; }
.pafex-bc__bc > details > summary::-webkit-details-marker { display: none; }
.pafex-bc__bc .pafex-bc__voir .is-open, .pafex-bc__bc > details[open] .pafex-bc__voir .is-closed { display: none; }
.pafex-bc__bc > details[open] .pafex-bc__voir .is-open { display: inline; }
.pafex-bc__bc > details > .pafex-fact__table-wrap { margin: 0 12px 12px; }
.pafex-bc__bc .pafex-fact__badge.is-avoir { background: #fcf0e3; color: #8a4b0f; }
@media (max-width: 700px) {
	.pafex-bc__bc .pafex-fact__info { flex: 1 1 calc(100% - 64px); }
	.pafex-bc__bc .pafex-fact__badge { width: 40px; height: 40px; }
	.pafex-bc__bc .pafex-fact__amount { flex-direction: row; align-items: baseline; }
}
/* 1.0.89 : onglets Commandes / Reliquats */
.pafex-bc__tabs { margin-bottom: 22px; }
.pafex-bc__tabs a { display: inline-flex; gap: 8px; align-items: center; padding: 8px 18px; font-size: 15px; font-weight: 500; }
.pafex-bc__count { padding: 1px 8px; border-radius: 999px; background: #e7f4ec; color: #14532d; font-size: 12px; font-weight: 600; }
.pafex-bc__tabs a.is-on .pafex-bc__count { background: #fff; }
.pafex-bc__count.is-neutral { background: #f3f3f1; color: #3a3a37; }
.pafex-bc__tabs a.is-on .pafex-bc__count.is-neutral { background: #fff; color: #0b0b0c; }
.pafex-bc__intro { margin: 0 0 14px; }
@media (max-width: 700px) {
	.pafex-bc__tabs { flex-wrap: wrap; }
	.pafex-bc__tabs a { flex: none; padding: 8px 14px; font-size: 14px; }
}

/* 1.0.91 : onglet Commandes en lignes dépliantes (passées, à venir, reliquats) */
.pafex-ac { display: flex; flex-direction: column; gap: 10px; margin: 0 0 14px; padding: 0; list-style: none; }
.pafex-ac > li { margin: 0; list-style: none; }
.pafex-ac__item { overflow: hidden; border: 1px solid #e6e6e2; border-radius: 16px; background: #fff; }
.pafex-ac__item[open] { border-color: #cfcfca; box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05); }
.pafex-ac__sum { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto auto; gap: 14px; align-items: center; padding: 16px 18px; cursor: pointer; list-style: none; }
.pafex-ac__sum::-webkit-details-marker { display: none; }
.pafex-ac__sum:hover { background: #fafaf8; }
.pafex-ac__chev { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #f3f3f1; color: #0b0b0c; transition: transform 0.2s; }
.pafex-ac__item[open] > .pafex-ac__sum .pafex-ac__chev { transform: rotate(90deg); background: #0b0b0c; color: #fff; }
.pafex-ac__main { display: flex; flex-direction: column; min-width: 0; }
.pafex-ac__t1 { font-size: 16px; font-weight: 600; color: #0b0b0c; }
.pafex-ac__t2 { display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: center; margin-top: 3px; font-size: 13px; color: #6b6b66; }
.pafex-ac__amt { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.pafex-ac__amt strong { display: block; font-size: 16px; }
.pafex-ac__amt small { display: block; color: #6b6b66; font-size: 12px; }
.pafex-ac__side:empty { display: none; }
.pafex-ac__tag { display: inline-block; padding: 2px 9px; border-radius: 999px; background: #f3f3f1; color: #3a3a37; font-size: 11.5px; font-weight: 600; white-space: nowrap; }
.pafex-ac__tag.is-ok { background: #e7f4ec; color: #14532d; }
.pafex-ac__tag.is-wait { background: #fcf0e3; color: #8a4b0f; }
.pafex-ac__panel { border-top: 1px solid #f0f0ec; }
.pafex-ac__row { display: grid; grid-template-columns: minmax(0, 1fr) 64px 90px 100px 190px; gap: 12px; align-items: center; padding: 11px 18px 11px 60px; border-bottom: 1px solid #f4f4f1; font-size: 14px; }
.pafex-ac__row.is-head { padding-top: 10px; padding-bottom: 8px; background: #fafaf8; color: #6b6b66; font-size: 11.5px; letter-spacing: 0.04em; text-transform: uppercase; }
.pafex-ac__row .is-num { text-align: right; font-variant-numeric: tabular-nums; }
.pafex-ac__prod { min-width: 0; }
.pafex-ac__prod a { color: #0b0b0c; text-decoration: underline; text-underline-offset: 2px; }
.pafex-ac__ref { display: block; font-family: "Geist Mono", ui-monospace, monospace; font-size: 12px; color: #6b6b66; }
.pafex-ac__row.is-off .pafex-ac__prod { color: #8a8a85; }
.pafex-ac__lbl { margin-left: 6px; padding: 1px 8px; border-radius: 999px; background: #f3f3f1; font-size: 11px; white-space: nowrap; }
.pafex-ac__act { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; justify-content: flex-end; }
.pafex-ac__muted { color: #6b6b66; font-size: 13px; }
.pafex-ac__foot { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; padding: 14px 18px 16px 60px; background: #fafaf8; }
.pafex-ac__note { color: #6b6b66; font-size: 13px; }
.pafex-ac__intro { margin: 0 0 14px; color: #6b6b66; font-size: 14px; }
.pafex-ac__foot-note { margin: 4px 0 26px; color: #6b6b66; font-size: 13px; }
.pafex-ac__foot-note a, .pafex-ac__intro a { color: #0b0b0c; text-decoration: underline; text-underline-offset: 2px; }
.pafex-fact__btn.is-s { padding: 6px 12px; font-size: 13px; }
.pafex-bc .pafex-bc__summary { display: flex; flex-wrap: wrap; gap: 12px 14px; align-items: center; justify-content: space-between; padding: 16px 18px; font-size: 14.5px; }
.pafex-bc .pafex-bc__summary p { flex: 1 1 320px; }
.pafex-bc .pafex-bc__btns { margin: 0 !important; }
@media (max-width: 700px) {
	.pafex-ac__sum { grid-template-columns: 28px minmax(0, 1fr) auto; gap: 10px; padding: 14px; }
	.pafex-ac__side { display: none; }
	.pafex-ac__row { grid-template-columns: minmax(0, 1fr) auto auto; gap: 6px 10px; padding: 10px 14px; }
	.pafex-ac__row.is-head, .pafex-ac__row .is-pu { display: none; }
	.pafex-ac__row .is-q { color: #6b6b66; white-space: nowrap; }
	.pafex-ac__row .is-q::before { content: "× "; }
	.pafex-ac__act { grid-column: 1 / -1; justify-content: flex-start; }
	.pafex-ac__act:empty { display: none; }
	.pafex-ac__foot { padding: 12px 14px; }
}

/* 1.0.91 : panier, bandeau des reliquats livrables */
.pafex-rq { overflow: hidden; margin: 0 0 26px; border: 1px solid #b7dcc4; border-radius: 18px; background: #fff; }
.pafex-rq__sum { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto auto; gap: 14px; align-items: center; padding: 14px 16px 14px 18px; background: #e7f4ec; cursor: pointer; list-style: none; }
.pafex-rq__sum::-webkit-details-marker { display: none; }
.pafex-rq__ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: #fff; color: #14532d; font-weight: 700; }
.pafex-rq__main { display: flex; flex-direction: column; min-width: 0; }
.pafex-rq__t1 { color: #14532d; font-size: 16px; font-weight: 600; }
.pafex-rq__t2 { margin-top: 2px; color: #2f6b45; font-size: 13px; }
.pafex-rq .pafex-ac__chev { width: 32px; height: 32px; background: #fff; color: #14532d; }
.pafex-rq[open] .pafex-ac__chev { transform: rotate(180deg); }
.pafex-rq__ln { display: grid; grid-template-columns: 52px minmax(0, 1fr) 70px 110px 110px; gap: 14px; align-items: center; padding: 12px 18px; border-top: 1px solid #eef3ef; font-size: 14px; }
.pafex-rq__th { display: block; overflow: hidden; width: 52px; height: 52px; border-radius: 10px; background: #f3f3f1; }
.pafex-rq__th img { display: block; width: 52px; height: 52px; object-fit: cover; }
.pafex-rq__info { display: flex; flex-direction: column; min-width: 0; }
.pafex-rq__nm { font-weight: 500; }
.pafex-rq__mt { margin-top: 3px; color: #6b6b66; font-size: 12px; }
.pafex-rq__q, .pafex-rq__ht, .pafex-rq__a { text-align: right; font-variant-numeric: tabular-nums; }
.pafex-rq__ht small { color: #6b6b66; }
.pafex-rq__ft { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; padding: 12px 18px; border-top: 1px solid #eef3ef; background: #fafaf8; color: #6b6b66; font-size: 13px; }
.pafex-rq__ft a:not(.pafex-fact__btn) { color: #0b0b0c; text-decoration: underline; }
@media (max-width: 700px) {
	.pafex-rq__sum { grid-template-columns: 40px minmax(0, 1fr) auto; padding: 12px; }
	.pafex-rq__all { display: none !important; }
	.pafex-rq__ic { width: 40px; height: 40px; }
	.pafex-rq__ln { grid-template-columns: 44px minmax(0, 1fr) auto; padding: 10px 12px; }
	.pafex-rq__th, .pafex-rq__th img { width: 44px; height: 44px; }
	.pafex-rq__q { display: none; }
	.pafex-rq__a { grid-column: 2 / -1; text-align: left; }
}
/* Ligne de reliquat dans le panier : « Reliquat : commande BC… · prix du BC » en étiquette, quantité figée « × 10 ». */
.woocommerce dl.variation dt.variation-Reliquat, .woocommerce dl.variation dd.variation-Reliquat { display: inline-block; float: none; margin: 4px 0 0; padding: 1px 0 1px 8px; border-radius: 999px 0 0 999px; background: #fcf0e3; color: #8a4b0f; font-size: 11.5px; font-weight: 600; }
.woocommerce dl.variation dd.variation-Reliquat { margin-left: 0; padding: 1px 8px 1px 4px; border-radius: 0 999px 999px 0; }
.woocommerce dl.variation dd.variation-Reliquat p { display: inline; margin: 0; }
.pafex-bc__qty { font-family: "Geist Mono", ui-monospace, monospace; font-weight: 600; white-space: nowrap; }
