/*
 * Pateo Enfant · fiche produit.
 * Repris de la maquette docs/maquettes/html/produit.html (préfixe pp- devenu pateo-fp-).
 */

/* ---------- Spécifique à la fiche produit ---------- */

/* 1. Zone d'achat */
.pateo-fp-zone { padding: 8px 0 var(--pateo-bande); }
.pateo-fp-zone__grille { display: grid; gap: 24px; }

/* Galerie : carrousel en mobile, vignettes verticales + grande photo en desktop */
.pateo-fp-galerie { position: relative; min-width: 0; }
.pateo-fp-galerie__piste {
	display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
	margin: 0 calc(-1 * var(--pateo-gouttiere)); padding: 0 var(--pateo-gouttiere);
	scroll-padding: 0 var(--pateo-gouttiere);
}
.pateo-fp-galerie__piste::-webkit-scrollbar { display: none; }
.pateo-fp-galerie__vue { flex: 0 0 100%; scroll-snap-align: start; aspect-ratio: 4 / 5; }
.pateo-fp-galerie__compteur {
	position: absolute; right: 12px; bottom: 12px;
	background: var(--pateo-anthracite); color: var(--pateo-creme);
	font-size: 13px; font-weight: 800; padding: 4px 12px; border-radius: 999px;
}
.pateo-fp-galerie__vignettes { display: none; }

/* Colonne d'achat */
.pateo-fp-achat { min-width: 0; }
.pateo-fp-achat h1 { font-size: 28px; margin: 10px 0 10px; }
.pateo-fp-notes { display: flex; flex-wrap: wrap; align-items: center; gap: 0 14px; font-size: 14px; margin-bottom: 12px; }
.pateo-fp-notes a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: var(--pateo-anthracite); font-weight: 700; }
.pateo-fp-notes a:hover { color: var(--pateo-sauge-fonce); }
.pateo-fp-notes .pateo-icone { width: 18px; height: 18px; }
.pateo-fp-accroche { margin-bottom: 16px; }
.pateo-fp-points { display: grid; gap: 10px; margin: 20px 0 0; padding-top: 18px; border-top: 1px solid var(--pateo-bordure-legere); }
.pateo-fp-points li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.45; }
.pateo-fp-points__picto { flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--pateo-sauge-clair); display: grid; place-items: center; }
.pateo-fp-points__picto .pateo-icone { width: 20px; height: 20px; }
.pateo-fp-points strong { display: block; }
.pateo-fp-prix { font-size: 28px; font-weight: 800; line-height: 1.2; margin: 0 0 20px; }
.pateo-fp-prix span { font-size: 14px; font-weight: 400; color: var(--pateo-gris); margin-left: 6px; }

/* Choix coloris et taille : vrais boutons radio, stylés */
.pateo-fp-choix { border: 0; margin: 0 0 18px; padding: 0; min-width: 0; }
.pateo-fp-choix__entete { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.pateo-fp-choix legend { float: left; font-size: 15px; font-weight: 800; padding: 0; }
.pateo-fp-choix legend span { font-weight: 400; }
.pateo-fp-choix__entete + * { clear: both; }
.pateo-fp-choix__options { display: flex; flex-wrap: wrap; gap: 8px; }
.pateo-fp-radio { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pateo-fp-coloris {
	display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px 0 10px;
	background: var(--pateo-blanc); border: 2px solid var(--pateo-bordure-champ); border-radius: 999px;
	font-weight: 700; font-size: 15px; cursor: pointer;
}
.pateo-fp-coloris .pateo-coloris { width: 22px; height: 22px; }
/* Coloris sans pastille (nom seul) : texte centré */
.pateo-fp-coloris--texte { justify-content: center; padding: 0 16px; }
.pateo-fp-radio:checked + .pateo-fp-coloris { border-color: var(--pateo-sauge-fonce); box-shadow: inset 0 0 0 1px var(--pateo-sauge-fonce); background: var(--pateo-sauge-clair); color: var(--pateo-sauge-fonce); }
.pateo-fp-radio:focus-visible + .pateo-fp-coloris, .pateo-fp-radio:focus-visible + .pateo-taille { outline: 3px solid var(--pateo-sauge-fonce); outline-offset: 2px; }
.pateo-fp-choix .pateo-taille { display: inline-grid; place-items: center; }
/* Bouton « +N » des choix longs (produit.js) */
.pateo-fp-plus { display: inline-grid; place-items: center; min-width: 48px; height: 44px; padding: 0 14px; border: 2px dashed var(--pateo-bordure-champ); border-radius: 999px; background: var(--pateo-blanc); color: var(--pateo-sauge-fonce); font-weight: 800; font-size: 15px; cursor: pointer; }
.pateo-fp-plus:hover { border-color: var(--pateo-sauge-fonce); }
.pateo-fp-plus[hidden], .pateo-fp-choix__options label[hidden] { display: none; }
.pateo-fp-radio:checked + .pateo-taille { background: var(--pateo-sauge-fonce); border-color: var(--pateo-sauge-fonce); color: var(--pateo-creme); }
.pateo-fp-radio:disabled + .pateo-taille { color: var(--pateo-gris); border-style: dashed; text-decoration: line-through; cursor: not-allowed; background: var(--pateo-creme); }
.pateo-fp-lien-taille {
	display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0;
	background: none; border: 0; cursor: pointer; font-weight: 700; font-size: 15px;
	color: var(--pateo-sauge-fonce); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px;
}
.pateo-fp-lien-taille:hover { color: var(--pateo-anthracite); }
.pateo-fp-lien-taille .pateo-icone { width: 20px; height: 20px; }
.pateo-fp-aide-taille { font-size: 14px; color: var(--pateo-gris); margin: 8px 0 0; }
.pateo-fp-erreur-taille { display: flex; align-items: center; gap: 8px; margin: 10px 0 0; padding: 8px 12px; border-radius: 12px; background: var(--pateo-blanc); border-left: 4px solid var(--pateo-terracotta-fonce); font-weight: 700; font-size: 15px; }
.pateo-fp-erreur-taille[hidden] { display: none; }
.pateo-fp-erreur-taille .pateo-icone { width: 20px; height: 20px; stroke: var(--pateo-terracotta-fonce); }

.pateo-fp-ajouter { width: 100%; margin-top: 4px; }
.pateo-fp-dispo { display: flex; align-items: center; gap: 8px; margin: 12px 0 0; font-size: 15px; }
.pateo-fp-dispo .pateo-icone { width: 20px; height: 20px; }
.pateo-fp-dispo strong { color: var(--pateo-sauge-fonce); }
.pateo-fp-reassurance { display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 14px 0 0; padding-top: 14px; border-top: 1px solid var(--pateo-bordure-legere); font-size: 14px; color: var(--pateo-gris); }
.pateo-fp-reassurance li { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; }
.pateo-fp-reassurance .pateo-icone { width: 18px; height: 18px; }

/* Barre d'achat mobile (apparaît quand le bouton principal sort de l'écran) */
.pateo-fp-barre {
	position: fixed; left: 0; right: 0; bottom: 0; z-index: 35;
	background: var(--pateo-blanc); border-top: 1px solid var(--pateo-bordure-legere); box-shadow: 0 -6px 20px rgba(43, 45, 66, .06);
	padding: 10px var(--pateo-gouttiere) calc(10px + env(safe-area-inset-bottom));
	display: flex; align-items: center; gap: 12px;
	transform: translateY(110%); transition: transform .25s ease; visibility: hidden;
}
.pateo-fp-barre.est-visible { transform: none; visibility: visible; }
.pateo-fp-barre__infos { line-height: 1.3; }
.pateo-fp-barre__prix { display: block; font-weight: 800; font-size: 18px; }
.pateo-fp-barre__taille { font-size: 14px; color: var(--pateo-gris); }
.pateo-fp-barre .pateo-bouton { flex: 1; padding: 0 16px; }

/* Panneau « Trouve sa taille » */
.pateo-fp-panneau-voile { position: fixed; inset: 0; z-index: 60; background: rgba(43, 45, 66, .35); }
.pateo-fp-panneau {
	position: fixed; inset: 0; z-index: 61; background: var(--pateo-creme);
	display: flex; flex-direction: column;
}
.pateo-fp-panneau__entete {
	display: flex; align-items: center; justify-content: space-between; gap: 12px;
	padding: 10px var(--pateo-gouttiere) 10px 20px; background: var(--pateo-blanc); border-bottom: 1px solid var(--pateo-bordure-legere);
}
.pateo-fp-panneau__titre { font-family: var(--pateo-titres); font-weight: 600; font-size: 24px; margin: 0; }
.pateo-fp-fermer { width: 44px; height: 44px; border: 0; background: none; border-radius: 12px; cursor: pointer; display: grid; place-items: center; }
.pateo-fp-fermer:hover { background: var(--pateo-sauge-clair); }
.pateo-fp-panneau__corps { flex: 1; overflow-y: auto; padding: 20px; }
.pateo-fp-calcul { background: var(--pateo-blanc); border-radius: var(--pateo-rayon-carte); box-shadow: var(--pateo-ombre); padding: 20px; }
.pateo-fp-calcul__ligne { display: flex; gap: 10px; align-items: flex-end; }
.pateo-fp-calcul__ligne .pateo-champ { flex: 1; }
.pateo-fp-calcul__aide { font-size: 14px; color: var(--pateo-gris); margin: 8px 0 0; }
.pateo-fp-resultat { margin-top: 16px; padding: 16px; background: var(--pateo-sauge-clair); border-radius: 16px; }
.pateo-fp-resultat__taille { font-family: var(--pateo-titres); font-weight: 600; font-size: 22px; margin: 0 0 2px; }
.pateo-fp-resultat p { margin: 0 0 12px; font-size: 15px; }
/* Dernier élément sans marge : le message reste centré en hauteur, aligné à gauche. */
.pateo-fp-resultat > :last-child { margin-bottom: 0; }
.pateo-fp-resultat .pateo-bouton { width: 100%; }
.pateo-fp-mesure { margin-top: 24px; }
.pateo-fp-mesure h3 { margin-top: 0; }
.pateo-fp-mesure__grille { display: grid; grid-template-columns: 120px 1fr; gap: 16px; align-items: start; }
.pateo-fp-mesure__grille .pateo-image { aspect-ratio: 3 / 4; font-size: 11px; padding: 6px; }
.pateo-fp-mesure ol { margin: 0; padding-left: 20px; font-size: 15px; }
.pateo-fp-mesure li + li { margin-top: 6px; }
.pateo-fp-tableau-tailles { margin-top: 20px; border-top: 1px solid var(--pateo-bordure-legere); }
.pateo-fp-tableau-tailles summary { display: flex; align-items: center; justify-content: space-between; min-height: 52px; font-weight: 800; cursor: pointer; list-style: none; }
.pateo-fp-tableau-tailles summary::-webkit-details-marker { display: none; }
.pateo-fp-tableau-tailles summary .pateo-icone { transition: transform .3s; }
.pateo-fp-tableau-tailles[open] summary .pateo-icone { transform: rotate(180deg); }

/* Tableaux */
.pateo-fp-table { width: 100%; border-collapse: collapse; background: var(--pateo-blanc); border-radius: var(--pateo-rayon-carte); overflow: hidden; box-shadow: var(--pateo-ombre); font-size: 15px; }
.pateo-fp-table th, .pateo-fp-table td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--pateo-bordure-legere); vertical-align: top; }
.pateo-fp-table tr:last-child th, .pateo-fp-table tr:last-child td { border-bottom: 0; }
.pateo-fp-table thead th { background: var(--pateo-sauge-clair); color: var(--pateo-sauge-fonce); font-size: 14px; }
.pateo-fp-table tbody th { font-weight: 800; width: 38%; }

/* 2. Fiche de test et récit : styles communs dans base.css (bloc « Fiche de test ») */

/* 3. Avis clients */
.pateo-fp-avis__grille { display: grid; gap: 24px; }
.pateo-fp-avis__resume { background: var(--pateo-creme); border-radius: var(--pateo-rayon-carte); padding: 24px; align-self: start; }
.pateo-fp-avis__moyenne { display: flex; align-items: baseline; gap: 8px; margin: 0; }
.pateo-fp-avis__moyenne strong { font-family: var(--pateo-titres); font-weight: 600; font-size: 44px; line-height: 1; }
.pateo-fp-avis__total { font-size: 14px; color: var(--pateo-gris); margin: 6px 0 16px; }
.pateo-fp-repartition { display: grid; gap: 6px; margin-bottom: 20px; font-size: 14px; }
.pateo-fp-repartition li { display: grid; grid-template-columns: 64px 1fr 44px; align-items: center; gap: 10px; }
.pateo-fp-repartition i { display: block; height: 8px; border-radius: 999px; background: var(--pateo-bordure-legere); }
.pateo-fp-repartition span:last-child { color: var(--pateo-gris); text-align: right; }
.pateo-fp-avis__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.pateo-fp-avis__liste { display: grid; gap: 12px; }

/* 4. Caractéristiques */
.pateo-fp-carac { display: grid; gap: 4px 48px; }
.pateo-fp-carac__lien { margin-top: 12px; }
.pateo-fp-associes .pateo-carte .pateo-image { aspect-ratio: 4 / 3; }

/* 5. Complète sa balade */
.pateo-fp-lot { display: grid; gap: 20px; background: var(--pateo-blanc); border-radius: var(--pateo-rayon-carte); box-shadow: var(--pateo-ombre); padding: 12px 12px 20px; }
.pateo-fp-lot__images { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; }
.pateo-fp-lot__images .pateo-image { background: var(--pateo-sauge-clair); font-size: 12px; }
.pateo-fp-lot__plus { width: 36px; height: 36px; border-radius: 50%; background: var(--pateo-creme); display: grid; place-items: center; }
.pateo-fp-lot__plus .pateo-icone { width: 18px; height: 18px; }
.pateo-fp-lot__corps { padding: 0 8px; }
.pateo-fp-lot__titre { font-family: var(--pateo-titres); font-weight: 600; font-size: 22px; line-height: 1.3; margin: 0 0 8px; }
.pateo-fp-lot__choix { font-size: 14px; color: var(--pateo-gris); margin: 0 0 12px; }
.pateo-fp-lot__prix { font-size: 24px; font-weight: 800; margin: 0 0 16px; }
.pateo-fp-lot__prix span { font-size: 14px; font-weight: 400; color: var(--pateo-gris); }
/* Lot remisé : badge, ancien prix barré, prix du lot. */
.pateo-fp-lot__badge { margin: 0 0 10px; box-shadow: none; }
.pateo-fp-lot__prix .pateo-fp-lot__avant { font-size: 16px; font-weight: 400; color: var(--pateo-gris); margin-right: 6px; }
.pateo-fp-lot__prix .pateo-fp-lot__total { font-size: 24px; font-weight: 800; color: var(--pateo-anthracite); }
.pateo-fp-lot .pateo-bouton { width: 100%; }
.pateo-fp-associes { margin-top: 40px; }
.pateo-fp-associes h3 { margin: 0 0 16px; }
.pateo-fp-associes__grille { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.pateo-fp-associes__grille li:nth-child(3) { display: none; }

/* 6. FAQ */
.pateo-fp-faq__grille { display: grid; gap: 24px; }
.pateo-fp-faq__intro p { color: var(--pateo-gris); }

@media (min-width: 768px) {
	.pateo-fp-achat h1 { font-size: 34px; }
	.pateo-fp-associes__grille { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
	.pateo-fp-associes__grille li:nth-child(3) { display: block; }
	.pateo-fp-lot { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: center; padding: 16px 32px 16px 16px; gap: 32px; }
	.pateo-fp-lot__corps { padding: 0; }
	.pateo-fp-lot .pateo-bouton { width: auto; }
	.pateo-fp-panneau { left: auto; width: 480px; box-shadow: var(--pateo-ombre); }
}

@media (min-width: 1024px) {
	.pateo-fp-zone { padding-top: 16px; }
	.pateo-fp-zone__grille { grid-template-columns: minmax(0, 1fr) 452px; gap: 56px; align-items: start; }

	/* Galerie desktop : vignettes à gauche, grande photo */
	.pateo-fp-galerie { display: grid; grid-template-columns: 80px minmax(0, 1fr); gap: 12px; align-items: start; }
	.pateo-fp-galerie__vignettes { display: grid; gap: 10px; grid-row: 1; grid-column: 1; }
	.pateo-fp-galerie__vignette { position: relative; padding: 0; border: 2px solid transparent; border-radius: 14px; background: none; cursor: pointer; }
	.pateo-fp-galerie__vignette[hidden] { display: none; }
	/* Dernière vignette visible : « +N » photos de plus */
	.pateo-fp-galerie__reste { position: absolute; inset: 0; display: grid; place-items: center; border-radius: 12px; background: rgba(43, 45, 66, .62); color: var(--pateo-creme); font-size: 18px; font-weight: 800; }
	.pateo-fp-galerie__reste:empty { display: none; }
	.pateo-fp-galerie__vignette .pateo-image { aspect-ratio: 1; font-size: 9px; padding: 4px; border-radius: 12px; }
	.pateo-fp-galerie__vignette[aria-current="true"] { border-color: var(--pateo-sauge-fonce); }
	.pateo-fp-galerie__vignette:hover { border-color: var(--pateo-sauge); }
	.pateo-fp-galerie__piste { grid-column: 2; margin: 0; padding: 0; overflow: hidden; }
	.pateo-fp-galerie__compteur { display: none; }

	/* Photo et texte collants : la colonne la plus courte suit le défilement (hauteur réglée par produit.js) */
	.pateo-fp-galerie, .pateo-fp-achat { position: sticky; top: calc(var(--pateo-entete) + 20px); align-self: start; }
	.pateo-fp-achat h1 { font-size: 36px; }
	.pateo-fp-barre { display: none; }

	.pateo-fp-avis__grille { grid-template-columns: 320px minmax(0, 1fr); gap: 48px; }
	.pateo-fp-faq__grille { grid-template-columns: 340px minmax(0, 1fr); gap: 48px; align-items: start; }
	.pateo-fp-carac { grid-template-columns: 340px minmax(0, 1fr); align-items: start; }
	.pateo-fp-carac .pateo-fp-carac__lien { grid-column: 2; }
	.pateo-fp-faq__intro { position: sticky; top: calc(var(--pateo-entete) + 24px); }
}

/* ---------- Compléments du thème (vraies images, formulaires WooCommerce) ---------- */
.pateo-fp-galerie__vue { margin: 0; position: relative; border-radius: var(--pateo-rayon-image); overflow: hidden; background: var(--pateo-sauge-clair); }
.pateo-fp-galerie__agrandir { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.pateo-fp-galerie__vue img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pateo-fp-galerie__vignette img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; }
.pateo-fp-accroche { margin-bottom: 16px; }
.pateo-fp-accroche p:last-child { margin-bottom: 0; }
.pateo-fp-prix .woocommerce-Price-amount { font-weight: 800; }
.pateo-fp-prix s { font-size: 18px; font-weight: 400; color: var(--pateo-gris); margin-left: 6px; }
.pateo-fp-prix__mention { display: block; font-size: 13px; font-weight: 400; line-height: 1.4; color: var(--pateo-gris); margin-top: 4px; }
.pateo-fp-radio:disabled + .pateo-fp-coloris { color: var(--pateo-gris); border-style: dashed; text-decoration: line-through; cursor: not-allowed; background: var(--pateo-creme); }
.pateo-fp-erreur-ajout { display: flex; gap: 8px; margin: 10px 0 0; padding: 8px 12px; border-radius: 12px; background: var(--pateo-blanc); border-left: 4px solid var(--pateo-terracotta-fonce); font-weight: 700; font-size: 15px; }
.pateo-fp-erreur-ajout[hidden] { display: none; }
.pateo-fp-ajouter[aria-busy="true"] { opacity: .7; cursor: progress; }
.pateo-fp-dispo--rupture strong { color: var(--pateo-gris); }
.pateo-fp-mesure__grille > img { width: 100%; height: auto; border-radius: var(--pateo-rayon-image); }
.pateo-fp-mesure__astuce { display: flex; gap: 10px; align-items: flex-start; margin: 14px 0 0; font-size: 14px; }
.pateo-fp-mesure__astuce .pateo-icone { width: 20px; height: 20px; }
.pateo-fp-calcul__ligne { flex-wrap: wrap; }
.pateo-fp-calcul__ligne .pateo-champ { min-width: 160px; }
.pateo-fp-calcul__aide { font-size: 14px; color: var(--pateo-gris); margin: 4px 0 0; }
.pateo-fp-resultat .pateo-calcul__taille { font-family: var(--pateo-titres); font-weight: 600; font-size: 22px; margin: 0 0 2px; }
.pateo-fp-resultat .pateo-petit { color: var(--pateo-gris); }
.pateo-fp-tableau-tailles .pateo-tableau-defile { margin: 0 0 8px; }
/* Répartition des notes : barre remplie */
.pateo-fp-repartition i { overflow: hidden; }
.pateo-fp-repartition b { display: block; height: 100%; background: var(--pateo-moutarde); border-radius: 999px; }
.pateo-fp-avis__vide { margin: 0 0 16px; }
.pateo-fp-avis__tous, .pateo-fp-avis__formulaire { margin-top: 16px; border-top: 1px solid var(--pateo-bordure-legere); }
.pateo-fp-avis__tous summary, .pateo-fp-avis__formulaire summary { display: flex; align-items: center; justify-content: space-between; min-height: 52px; font-weight: 800; cursor: pointer; list-style: none; }
.pateo-fp-avis__tous summary::-webkit-details-marker, .pateo-fp-avis__formulaire summary::-webkit-details-marker { display: none; }
.pateo-fp-avis__tous summary .pateo-icone, .pateo-fp-avis__formulaire summary .pateo-icone { transition: transform .3s; }
.pateo-fp-avis__tous[open] summary .pateo-icone, .pateo-fp-avis__formulaire[open] summary .pateo-icone { transform: rotate(180deg); }
.pateo-fp-avis__tous .pateo-fp-avis__liste { margin-top: 4px; }
.pateo-avis-carte__texte p:last-child { margin-bottom: 10px; }
.pateo-fp-avis__formulaire form { display: grid; gap: 14px; padding-bottom: 16px; }
.pateo-fp-avis__formulaire textarea { width: 100%; padding: 12px 16px; background: var(--pateo-blanc); border: 2px solid var(--pateo-bordure-champ); border-radius: var(--pateo-rayon-champ); }
.pateo-fp-avis__formulaire .pateo-champ input { height: 52px; padding: 0 16px; background: var(--pateo-blanc); border: 2px solid var(--pateo-bordure-champ); border-radius: var(--pateo-rayon-champ); width: 100%; }
.pateo-fp-avis__formulaire .form-submit { margin: 0; }
.pateo-fp-note-avis { border: 0; margin: 0; padding: 0; }
.pateo-fp-note-avis legend { font-size: 14px; font-weight: 700; margin-bottom: 6px; }
.pateo-fp-note-avis .pateo-taille { padding: 0 12px; }
.comment-form-cookies-consent { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; }
/* Lot : vraies images */
.pateo-fp-lot__images img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: var(--pateo-rayon-image); background: var(--pateo-sauge-clair); }
.pateo-fp-lot__produits { font-size: 15px; margin: 0 0 8px; }
.pateo-fp-associes__grille .pateo-carte__image img { aspect-ratio: 4 / 3; }
/* Panneau d'ajout : image du produit */
.pateo-ajout__image img, .pateo-ajout__avec img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 12px; display: block; }
.pateo-ajout__avec img { width: 56px; border-radius: 10px; }
/* Visionneuse (photo en grand) */
.pateo-visionneuse { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(43, 45, 66, .92); }
.pateo-visionneuse[open] { display: grid; place-items: center; }
.pateo-visionneuse::backdrop { background: rgba(43, 45, 66, .6); }
.pateo-visionneuse__image { max-width: min(92vw, 1100px); max-height: 86vh; width: auto; height: auto; border-radius: var(--pateo-rayon-image); background: var(--pateo-sauge-clair); }
.pateo-visionneuse button { position: absolute; width: 48px; height: 48px; border: 0; border-radius: 50%; background: var(--pateo-creme); cursor: pointer; display: grid; place-items: center; }
.pateo-visionneuse button:focus-visible { outline-color: var(--pateo-creme); outline-offset: 3px; }
.pateo-visionneuse__fermer { top: 16px; right: 16px; }
.pateo-visionneuse__prec { left: 16px; top: 50%; transform: translateY(-50%); }
.pateo-visionneuse__suiv { right: 16px; top: 50%; transform: translateY(-50%); }
.pateo-visionneuse[data-une] .pateo-visionneuse__prec, .pateo-visionneuse[data-une] .pateo-visionneuse__suiv { display: none; }

/* Provenance (« Expédié depuis ») : petite ligne, sans boutons (choisie d'office). */
.pateo-fp-choix--provenance { margin-top: -4px; }
.pateo-fp-choix--provenance .pateo-fp-choix__entete legend { font-size: 14px; font-weight: 400; color: var(--pateo-gris); }
.pateo-fp-choix--provenance .pateo-fp-choix__valeur { font-weight: 400; color: var(--pateo-gris); }
.pateo-fp-choix--provenance .pateo-fp-choix__options { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
