/* Parcours « Composer mon bijou » (#46) : pensé d'abord pour 390 px, une colonne, puis deux et trois colonnes. */
.ls-compose { margin-block: 1.5rem 0; padding-bottom: 3rem; } /* de l'air sous la page avant le pied de page (la marge basse est annulée par la mise en page du thème) */
.ls-compose-intro h1 { font-size: clamp(2rem, 7vw, 3rem); line-height: 1.1; margin: .2rem 0 .6rem; }
.ls-compose-eyebrow { margin: 0; color: var(--wp--preset--color--accent, #8a6a2e); letter-spacing: .08em; text-transform: uppercase; font-size: 0.84375rem; }
.ls-compose-intro p { max-width: 38rem; color: #4d4639; }

/* Étapes : une pastille numérotée par étape, la courante en or. */
.ls-compose-steps { display: flex; flex-wrap: wrap; gap: .4rem .9rem; list-style: none; margin: 1.2rem 0 1.6rem; padding: 0; font-size: 0.9375rem; color: #6b6156; }
.ls-compose-steps li { display: inline-flex; align-items: center; gap: .4rem; }
.ls-compose-steps .n { display: inline-grid; place-items: center; width: 1.7rem; height: 1.7rem; border: 1px solid #c9bfae; border-radius: 50%; font-size: 0.84375rem; }
.ls-compose-steps .is-current { color: #1f1a12; font-weight: 600; }
.ls-compose-steps .is-current .n { background: var(--wp--preset--color--gold-light, #e6c78f); border-color: var(--wp--preset--color--gold, #c9a45c); }
.ls-compose-steps .is-done .n { background: #e8efe6; border-color: #9db59a; }
.ls-compose-steps a { display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; color: inherit; text-decoration: none; }
.ls-compose-steps a:hover { text-decoration: underline; }

.ls-compose-empty { color: #6b6156; }

.ls-compose-model-note { margin: 0 0 1rem; padding: .7rem 1rem; border-left: 3px solid var(--wp--preset--color--gold, #c9a45c); background: #fbf5e8; }
.ls-compose-actions button { min-height: 44px; }

/* Grille de pierres et de finitions : une, deux puis trois colonnes. */
.ls-compose-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; list-style: none; margin: 0 0 1.5rem; padding: 0; }
.ls-compose-card { box-sizing: border-box; position: relative; display: grid; gap: .25rem; height: 100%; padding: .7rem; border: 1px solid #d9d1c3; border-radius: 6px; background: #fff; color: inherit; text-decoration: none; cursor: pointer; }
.ls-compose-card:hover, .ls-compose-card:focus-within { border-color: var(--wp--preset--color--gold, #c9a45c); box-shadow: 0 2px 10px rgba(60, 45, 20, .12); }
.ls-compose-card .ph { display: block; aspect-ratio: 1 / 1; overflow: hidden; border-radius: 4px; background: #efe9dc; }
.ls-compose-card .ph img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ls-compose-card .type { color: #6b6156; font-size: 0.84375rem; letter-spacing: .05em; text-transform: uppercase; }
.ls-compose-card strong { font-family: var(--wp--preset--font-family--heading); font-size: 1.25rem; font-weight: 500; line-height: 1.2; }
.ls-compose-card .size { color: #6b6156; font-size: 0.9375rem; }
.ls-compose-price { font-weight: 600; color: var(--wp--preset--color--accent, #8a6a2e); }
.ls-compose-card:has(input:checked) { border-color: var(--wp--preset--color--gold, #c9a45c); background: #fbf5e8; }
.ls-compose-card:has(input:focus-visible) { outline: 2px solid #1f4d3a; outline-offset: 2px; }

/* Pierre choisie, rappelée aux étapes 2 à 4. */
.ls-compose-summary { display: grid; grid-template-columns: 96px 1fr; gap: 1rem; align-items: center; margin-bottom: 1.4rem; padding: .8rem; border: 1px solid #d9d1c3; border-radius: 6px; background: #fff; }
.ls-compose-summary .ph img { display: block; width: 96px; height: 96px; object-fit: cover; border-radius: 4px; }
.ls-compose-summary h2 { margin: 0; font-size: 1.5rem; }
.ls-compose-summary p { margin: .15rem 0; }
.ls-compose-eyebrow + h2 { margin-top: .1rem; }
/* Le rappel de la pierre sur une ligne (étape du modèle) : vignette, nom, type et dimensions, prix, puis le lien pour en changer. */
.ls-compose-summary.is-compact { display: flex; flex-wrap: wrap; align-items: center; gap: .2rem .9rem; margin-bottom: 1rem; padding: .5rem .8rem; border-radius: 12px; }
.ls-compose-summary.is-compact .ph img { width: 48px; height: 48px; border-radius: 8px; }
.ls-compose-summary.is-compact p { display: flex; flex: 1; flex-wrap: wrap; align-items: baseline; gap: 0 .8rem; min-width: 0; margin: 0; }
.ls-compose-summary.is-compact b { font-weight: 600; }
.ls-compose-summary.is-compact .dim { color: #6b6156; }
@media (max-width: 700px) { .ls-compose-summary.is-compact { gap: 0 .8rem; } .ls-compose-summary.is-compact a { flex-basis: 100%; } }

/* Formulaires : modèle (boutons radio en cartes) et actions. */
.ls-compose-form fieldset { margin: 0 0 1.2rem; padding: 0; border: 0; }
.ls-compose-form legend { padding: 0; margin-bottom: .6rem; font-family: var(--wp--preset--font-family--heading); font-size: 1.4rem; }
.ls-compose-choice { display: grid; grid-template-columns: auto 1fr; gap: .7rem; align-items: start; margin: .5rem 0; padding: .8rem; border: 1px solid #d9d1c3; border-radius: 6px; background: #fff; cursor: pointer; }
.ls-compose-choice:has(input:checked) { border-color: var(--wp--preset--color--gold, #c9a45c); background: #fbf5e8; }
.ls-compose-choice input { width: 1.3rem; height: 1.3rem; margin-top: .15rem; accent-color: #8a6a2e; }
.ls-compose-choice b { display: block; }
.ls-compose-choice em { display: block; color: #8a6a2e; font-style: normal; font-size: 0.9375rem; }
.ls-compose-choice small { display: block; margin-top: .2rem; color: #6b6156; font-size: 0.9375rem; line-height: 1.5; }
.ls-compose-actions { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; margin: 1rem 0 0; }
.ls-compose-actions a { padding: .6rem 0; }

/* Récapitulatif : prix décomposé. */
.ls-compose-line { margin: 0 0 1rem; }
.ls-compose-total { width: 100%; max-width: 32rem; margin: 0 0 1rem; border-collapse: collapse; }
.ls-compose-total caption { text-align: left; font-family: var(--wp--preset--font-family--heading); font-size: 1.4rem; margin-bottom: .4rem; }
.ls-compose-total th, .ls-compose-total td { padding: .5rem 0; border-bottom: 1px solid #e3dccd; text-align: left; font-weight: 400; }
.ls-compose-total td { text-align: right; white-space: nowrap; }
.ls-compose-total tfoot th, .ls-compose-total tfoot td { font-weight: 700; font-size: 1.15rem; border-bottom: 0; }
.ls-compose-note { max-width: 36rem; padding: .8rem 1rem; border-left: 3px solid var(--wp--preset--color--gold, #c9a45c); background: #fbf5e8; color: #4d4639; }

@media (min-width: 600px) {
	.ls-compose-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ls-compose-actions { justify-content: flex-start; gap: 1.5rem; }
}
@media (min-width: 900px) {
	.ls-compose-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem; }
	.ls-compose-summary { grid-template-columns: 140px 1fr; }
	.ls-compose-summary .ph img { width: 140px; height: 140px; }
}

/* Étape 3 : les finitions en lignes (photo, nom, prix, case à cocher) plutôt qu'en grandes cartes. */
.ls-compose-finishes { grid-template-columns: 1fr; gap: .6rem; }
.ls-compose-finish { display: grid; grid-template-columns: 72px 1fr auto; align-items: center; gap: .9rem; padding: .5rem .8rem .5rem .5rem; }
.ls-compose-finish .ph { aspect-ratio: 1; border-radius: 4px; }
.ls-compose-finish .txt { display: grid; gap: .1rem; }
.ls-compose-finish strong { font-size: 1.1rem; }
.ls-compose-dims { font-size: 0.9375rem; color: #5d5547; }
.ls-sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.ls-compose-finish input[type=checkbox], .ls-compose-finish input[type=radio] { width: 1.7rem; height: 1.7rem; accent-color: #8a6a2e; cursor: pointer; }

/* Étape 4 : à gauche ce qui est choisi, à droite le prix et la commande. */
.ls-compose-recap { display: grid; gap: 1.4rem; align-items: start; }
.ls-compose-choices { margin: 0; }
.ls-compose-choices > div { display: grid; grid-template-columns: minmax(6.5rem, 11rem) 1fr auto; gap: .5rem 1rem; align-items: baseline; padding: .7rem 0; border-bottom: 1px solid #e3dccd; }
.ls-compose-choices dt { font-weight: 600; }
.ls-compose-choices dd { margin: 0; }
.ls-compose-choices .act { text-align: right; }
.ls-compose-recap-box { padding: 1.1rem 1.2rem; border: 1px solid #d9d1c3; border-radius: 6px; background: #fff; }
.ls-compose-recap-box .ls-compose-total { max-width: none; }
.ls-compose-recap-box .ls-compose-form button { display: block; width: 100%; min-height: 48px; margin-top: .6rem; }
/* ③ L'encadré doré du brûle-parfum (woocommerce.css), sous « Ajouter au panier » (inc/burner-pairing.php). */
.ls-compose-burner { margin: 1rem 0 0; }

@media (min-width: 900px) {
	.ls-compose-finishes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ls-compose-recap { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); }
	.ls-compose-recap-box { position: sticky; top: 1.5rem; }
}

/* Mobile : les filtres tiennent sur deux colonnes, le bouton en dessous, pour que les pierres arrivent plus vite. */
@media (max-width: 599px) {
	.ls-compose-filters { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
	.ls-compose-filters select, .ls-compose-filters input[type=number] { width: 100%; box-sizing: border-box; }
	.ls-compose-filters button { grid-column: 1 / -1; }
}

/* Nombre d'exemplaires d'une finition (fixé par Flora) et précision de la cliente. */
.ls-compose-finishes li { display: grid; gap: .3rem; align-content: start; }
.ls-compose-qty { display: flex; align-items: center; gap: .6rem; margin: 0; padding: 0 .5rem; color: #6b6156; font-size: 0.9375rem; }
.ls-compose-qty input { width: 5rem; min-height: 44px; padding: .3rem .6rem; border: 1px solid #c9bfae; border-radius: 5px; background: #fff; font: inherit; }
.ls-compose-note-field { display: grid; gap: .35rem; margin: 1rem 0 0; font-size: 0.9375rem; font-weight: 600; }
.ls-compose-note-field textarea { width: 100%; box-sizing: border-box; min-height: 5.5rem; padding: .6rem .8rem; border: 1px solid #c9bfae; border-radius: 5px; background: #fff; font: inherit; font-weight: 400; resize: vertical; }
.ls-compose-note-field small { color: #6b6156; font-weight: 400; }

/* Le choix du modèle (inc/compose.php, labradorastone_theme_compose_step_model ; maquette docs/maquettes/composer-choix-modele.html). Sans script : de grandes cartes à cocher, la photo d'abord.
   Avec compose-pillar.js (.is-pillar) : un carrousel classique, à plat (9 novembre 2026 : la propriétaire n'aimait pas les bords en biais du pilier tournant en 3D de la première version). Le modèle du
   centre est en grand et c'est le modèle choisi ; le précédent et le suivant sont visibles de chaque côté, plus petits et atténués ; sa fiche s'écrit dessous. Les classes ont gardé le nom « pillar ». */
.ls-pillar { --ls-pillar-w: clamp(240px, 72vw, 400px); --ls-pillar-h: calc(var(--ls-pillar-w) * 1.28); --ls-pillar-side: .82; --ls-pillar-shift: calc(var(--ls-pillar-w) * .91 + 18px); min-width: 0; } /* --ls-pillar-shift : d'une carte à sa voisine (la moitié du centre, 18 px de jour, la moitié d'une voisine réduite à 82 %). min-width : un fieldset prend sinon la largeur de son contenu, et la ligne des noms (qui défile au téléphone) élargirait toute la page. */
.ls-compose-form .ls-pillar > legend { width: 100%; margin-bottom: .5rem; font-size: clamp(1.75rem, 4vw, 2.3rem); line-height: 1.15; text-align: center; }
.ls-pillar-items { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); gap: 1.2rem; }
.ls-pillar-item { display: flex; flex-direction: column; overflow: hidden; border: 1px solid #d9d1c3; border-radius: 12px; background: #fff; }
.ls-pillar-item:has(input:checked) { border-color: var(--wp--preset--color--gold, #c9a45c); box-shadow: 0 0 0 1px var(--wp--preset--color--gold, #c9a45c); }
.ls-pillar-item:has(input:focus-visible) { outline: 2px solid #8a6a2e; outline-offset: 2px; }
.ls-pillar-face { position: relative; display: block; cursor: pointer; }
.ls-pillar-face input { position: absolute; top: .8rem; left: .8rem; z-index: 1; width: 1.4rem; height: 1.4rem; margin: 0; accent-color: #8a6a2e; }
.ls-pillar-photo { display: block; aspect-ratio: 4 / 5; background: #eae4da; }
.ls-pillar-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ls-pillar-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 2.2rem .9rem .7rem; background: linear-gradient(transparent, #14100cb8); color: #fff; font-family: var(--wp--preset--font-family--heading); font-size: 1.35rem; line-height: 1.15; overflow-wrap: anywhere; }
.ls-pillar-sheet { padding: .9rem 1rem 1rem; }
.ls-pillar-sheet p { margin: 0; }
.ls-pillar:not(.is-pillar) .ls-pillar-name { display: none; } /* Sans script, le nom est déjà écrit sur la photo. */
.ls-pillar-name { font-family: var(--wp--preset--font-family--heading); font-size: clamp(1.75rem, 3.6vw, 2.25rem); font-weight: 600; line-height: 1.1; overflow-wrap: anywhere; }
.ls-pillar-sheet .ls-pillar-sub { margin-top: .35rem; color: #6b6156; font-style: italic; }
.ls-pillar-sheet .ls-pillar-story { margin-top: .4rem; color: #6b6156; }
/* Avec les onglets, le nom est déjà écrit juste au-dessus : il n'est plus répété dans la fiche (il reste lu par les lecteurs d'écran), et c'est le sous-titre du modèle qui ouvre la fiche. */
.is-pillar:not(.is-single) .ls-pillar-name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.is-pillar:not(.is-single) .ls-pillar-sheet .ls-pillar-sub { margin-top: 0; color: #2f2a24; font-family: var(--wp--preset--font-family--heading); font-size: clamp(1.5rem, 3vw, 1.75rem); font-style: normal; font-weight: 500; line-height: 1.15; }
.ls-pillar-thumbs { display: flex; flex-wrap: wrap; gap: .5rem; margin: .9rem 0 0; padding: 0; list-style: none; }
.ls-pillar-thumb { display: block; width: 64px; height: 64px; overflow: hidden; border: 1px solid #d9d1c3; border-radius: 10px; background: #eae4da; }
.ls-pillar-thumb[aria-current="true"] { border: 2px solid var(--wp--preset--color--gold, #c9a45c); }
.ls-pillar-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ls-pillar-thumb:focus-visible, .ls-pillar-turn:focus-visible, .ls-pillar-names button:focus-visible { outline: 2px solid #8a6a2e; outline-offset: 2px; }
.ls-pillar-sheet .ls-compose-model-links { margin-top: .4rem; padding: 0; }
/* Ce que coûte le modèle avec la pierre choisie : le prix en grand, son détail, le délai. Sans script, sous la fiche ; sur le présentoir, la colonne de droite du cartel, avec le bouton. */
.ls-pillar-buy { margin-top: .9rem; padding-top: .9rem; border-top: 1px solid #e3dccd; }
.ls-pillar-label { color: #6b6156; font-size: 0.8125rem; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; }
.ls-pillar-sheet .ls-pillar-price { margin-top: .1rem; color: #8a6a2e; font-family: var(--wp--preset--font-family--heading); font-size: 2.6rem; font-weight: 600; line-height: 1.05; }
.ls-pillar-sheet .ls-pillar-detail { margin-top: .2rem; color: #6b6156; font-size: 0.9375rem; }
.ls-pillar-sheet .ls-pillar-delay { display: flex; align-items: baseline; gap: .5rem; margin-top: .7rem; font-size: 0.9375rem; }
.ls-pillar-delay::before { content: ""; flex: none; width: .5rem; height: .5rem; border-radius: 50%; background: #2e5b4f; transform: translateY(-.1rem); }
/* La mention des photos d'exemple, sous le titre et avant les photos, avec la pierre de la cliente en vignette (les photos montrent d'autres pierres). */
.ls-pillar-note { display: flex; align-items: center; gap: .6rem; width: fit-content; max-width: 100%; margin: 0 auto 1rem; padding: .4rem 1rem .4rem .45rem; border-radius: 999px; background: #f1ebdf; color: #2f2a24; font-size: 0.9375rem; }
.ls-pillar-note .ph img { display: block; width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.ls-pillar-note .i { display: grid; flex: none; place-items: center; width: 1.6rem; height: 1.6rem; margin-left: .25rem; border-radius: 50%; background: #143832; color: #fff; font: 700 0.8125rem/1 Georgia, serif; }

.ls-pillar.is-pillar .ls-pillar-display { position: relative; }
.ls-pillar-stage { position: relative; height: calc(var(--ls-pillar-h) + 40px); overflow: hidden; touch-action: pan-y; }
.ls-pillar-ring { position: absolute; top: 10px; left: 50%; width: var(--ls-pillar-w); height: var(--ls-pillar-h); margin-left: calc(var(--ls-pillar-w) / -2); }
/* Chaque carte est décalée de --d places depuis le centre (compose-pillar.js) : à plat, sans perspective. Au-delà des deux voisins, les cartes sont transparentes et ne se cliquent pas (elles gardent leur bouton radio, que le clavier atteint). */
.is-pillar .ls-pillar-face { position: absolute; inset: 0; overflow: hidden; border-radius: 16px; background: #fff; box-shadow: 0 10px 24px #2f2a2424; transform: translateX(calc(var(--d, 0) * var(--ls-pillar-shift))) scale(var(--ls-pillar-side)); opacity: 0; pointer-events: none; transition: transform .5s cubic-bezier(.2, .7, .2, 1), opacity .4s, filter .4s, box-shadow .4s; -webkit-user-select: none; user-select: none; }
.is-pillar .ls-pillar-photo { height: 100%; aspect-ratio: auto; }
.is-pillar .ls-pillar-photo img { -webkit-user-drag: none; }
.is-pillar .ls-pillar-face.is-near { opacity: 1; pointer-events: auto; filter: brightness(.9) saturate(.85); }
.is-pillar .ls-pillar-face.is-front { z-index: 1; opacity: 1; pointer-events: auto; transform: none; box-shadow: 0 16px 36px #2f2a2440, 0 0 0 2px var(--wp--preset--color--gold, #c9a45c); cursor: zoom-in; }
.is-pillar .ls-pillar-face.is-front::after { content: "⤢"; position: absolute; top: .6rem; right: .6rem; display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%; background: #ffffffeb; color: #2b2118; font-size: 1.1rem; line-height: 1; }
.is-pillar .ls-pillar-face input { top: 50%; left: 50%; width: 1px; height: 1px; opacity: 0; } /* Le bouton radio reste un vrai bouton radio (clavier, lecteur d'écran) ; c'est la face qui se voit. */
.is-pillar .ls-pillar-face:has(input:focus-visible) { outline: 3px solid #8a6a2e; outline-offset: 3px; }
.is-pillar .ls-pillar-face.is-front .ls-pillar-cap { width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } /* De face, le nom est écrit en grand sous le pilier ; il reste le nom du bouton radio. */
.ls-pillar-turn { position: absolute; top: calc(var(--ls-pillar-h) / 2 - 16px); z-index: 2; display: grid; place-items: center; width: 52px; height: 52px; padding: 0; border: 1px solid #d9d1c3; border-radius: 50%; background: #fffffff2; box-shadow: 0 6px 16px #2f2a242e; color: #2b2118; font: inherit; font-size: 1.5rem; line-height: 1; cursor: pointer; }
.ls-pillar-turn:hover { border-color: var(--wp--preset--color--gold, #c9a45c); background: #fff; }
.ls-pillar-turn.is-prev { left: max(4px, calc(50% - var(--ls-pillar-w) / 2 - 34px)); } /* À cheval sur le jour entre la photo du centre et sa voisine. */
.ls-pillar-turn.is-next { right: max(4px, calc(50% - var(--ls-pillar-w) / 2 - 34px)); }
/* Sous le pilier, un cartel (9 novembre 2026, après le retour de Quentin sur le texte centré sans cadre) : les modèles en onglets, attachés à la fiche du modèle de face. À gauche ce qu'il est, à droite ce
   qu'il coûte et le bouton du formulaire, que le script range là. */
.ls-pillar-cartel { max-width: 55rem; margin: 1.4rem auto 0; }
.ls-pillar-names { position: relative; display: flex; gap: .25rem; max-width: 100%; margin: 0; padding: 0 1rem; overflow-x: auto; list-style: none; scrollbar-width: none; } /* Beaucoup de modèles : les onglets défilent, sans barre. */
.ls-pillar-names::-webkit-scrollbar { display: none; }
.ls-pillar-names li { flex: none; }
.ls-pillar-names button { min-height: 48px; padding: .2rem .85rem; border: 1px solid #d9d1c3; border-bottom: 0; border-radius: 12px 12px 0 0; background: #f1ebdf; color: #6b6156; font: inherit; font-size: 0.9375rem; line-height: 1.2; text-align: left; white-space: nowrap; cursor: pointer; }
.ls-pillar-tab-price { display: block; color: #75581f; font-weight: 600; } /* Le prix avec la pierre, sur chaque onglet : on compare sans cliquer. */
.ls-pillar-names button:hover { color: #2b2118; }
.ls-pillar-names button[aria-pressed="true"] { position: relative; top: 1px; background: #fff; color: #2b2118; font-weight: 600; box-shadow: inset 0 3px 0 var(--wp--preset--color--gold, #c9a45c); }
.ls-pillar-sheets { border: 1px solid #d9d1c3; border-radius: 16px; background: #fff; box-shadow: 0 12px 32px #2f2a2414; }
.is-pillar .ls-pillar-sheet { display: grid; grid-template-columns: minmax(0, 1fr) 19rem; gap: 0 2.2rem; padding: 1.6rem 1.9rem 1.75rem; }
.is-pillar .ls-pillar-sheet[hidden] { display: none; }
.is-pillar .ls-pillar-buy { display: flex; flex-direction: column; align-items: flex-start; margin: 0; padding: 0 0 0 2.2rem; border-top: 0; border-left: 1px solid #e3dccd; }
.is-pillar .ls-pillar-buy button[type="submit"] { width: 100%; min-height: 52px; margin-top: 1.1rem; }
.ls-compose-actions.ls-pillar-foot { justify-content: space-between; gap: .2rem 1.5rem; max-width: 55rem; margin: .5rem auto 0; }
.ls-pillar-foot a { display: inline-flex; align-items: center; min-height: 44px; padding-block: 0; }
/* La barre du bas (compose-pillar.js) : le nom, le prix et le bouton du modèle du centre, tant que le bouton de la fiche est plus bas que l'écran. Même allure que la barre de l'étape des finitions (.ls-compose-bar). */
.ls-pillar-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; padding-bottom: env(safe-area-inset-bottom, 0px); border-top: 1px solid #d9d1c3; background: #fbf8f2f5; box-shadow: 0 -8px 24px #2f2a241a; backdrop-filter: blur(6px); }
.ls-pillar-bar[hidden] { display: none; }
.ls-pillar-bar-in { display: flex; align-items: center; gap: .9rem; max-width: 55rem; margin: 0 auto; padding: .6rem 1.25rem; }
.ls-pillar-bar-pic img { display: block; width: 48px; height: 48px; border-radius: 8px; object-fit: cover; }
.ls-pillar-bar p { margin: 0; }
.ls-pillar-bar .ls-pillar-bar-who { min-width: 0; margin-right: auto; line-height: 1.25; }
.ls-pillar-bar-who b { display: block; overflow: hidden; font-family: var(--wp--preset--font-family--heading); font-size: 1.3rem; font-weight: 600; line-height: 1.15; text-overflow: ellipsis; white-space: nowrap; }
.ls-pillar-bar-who span { color: #6b6156; font-size: 0.8125rem; }
.ls-pillar-bar-price { color: #8a6a2e; font-family: var(--wp--preset--font-family--heading); font-size: 1.9rem; font-weight: 600; line-height: 1; white-space: nowrap; }
.ls-pillar-bar button { min-height: 50px; white-space: nowrap; }
@media (max-width: 700px) {
	.ls-pillar-names { padding: 0 .6rem; }
	.is-pillar .ls-pillar-sheet { grid-template-columns: minmax(0, 1fr); padding: 1.25rem 1.1rem 1.4rem; }
	.is-pillar .ls-pillar-buy { margin-top: 1.1rem; padding: 1.1rem 0 0; border-top: 1px solid #e3dccd; border-left: 0; }
}
@media (max-width: 600px) {
	.ls-pillar-turn { top: calc(var(--ls-pillar-h) / 2 - 12px); width: 44px; height: 44px; }
	.ls-pillar-turn.is-prev { left: 4px; }
	.ls-pillar-turn.is-next { right: 4px; }
	.ls-pillar-cap { font-size: 1.15rem; }
	.ls-pillar-note { border-radius: 14px; }
	/* Le nom sur toute la largeur de la barre : les modèles commencent souvent par le même mot, le couper le rendrait inutile. */
	.ls-pillar-bar-in { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .1rem .7rem; padding: .5rem 16px; }
	.ls-pillar-bar-pic, .ls-pillar-bar-who span { display: none; }
	.ls-pillar-bar .ls-pillar-bar-who { grid-column: 1 / -1; }
	.ls-pillar-bar-who b { font-size: 1.05rem; }
	.ls-pillar-bar-price { font-size: 1.5rem; }
	.ls-pillar-bar button { min-height: 48px; padding: .4rem 1rem; font-size: 0.8125rem; }
}
@media (prefers-reduced-motion: reduce) { .is-pillar .ls-pillar-face { transition: none; } }
.ls-compose-model-links { display: flex; flex-wrap: wrap; gap: 0 1.2rem; margin: 0; padding: 0 .8rem .4rem; font-size: 0.9375rem; }
.ls-compose-model-links a { display: inline-flex; align-items: center; min-height: 44px; color: #2b2118; text-decoration: underline; text-underline-offset: 3px; }
.ls-compose-model-links a:hover, .ls-compose-model-links a:focus-visible { color: #8a6a2e; }
dialog.ls-zoom { width: min(94vw, 56rem); max-height: 94vh; padding: 0; border: 0; border-radius: 8px; background: #1f1812; color: #fff; }
dialog.ls-zoom::backdrop { background: #000000b3; }
dialog.ls-zoom img { display: block; width: 100%; max-height: calc(94vh - 5.5rem); object-fit: contain; }
dialog.ls-zoom .ls-zoom-bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .6rem 1rem; }
dialog.ls-zoom .ls-zoom-bar p { margin: 0; font-weight: 600; }
dialog.ls-zoom .ls-zoom-close { min-width: 44px; min-height: 44px; padding: 0 1rem; border: 1px solid #fff; border-radius: 6px; background: transparent; color: #fff; font: inherit; cursor: pointer; }
dialog.ls-zoom .ls-zoom-close:hover, dialog.ls-zoom .ls-zoom-close:focus-visible { background: #ffffff26; }
.ls-compose-choice.has-photo { grid-template-columns: auto 5rem 1fr; align-items: center; }
.ls-compose-choice .ls-compose-model-img { display: block; width: 5rem; height: 5rem; border-radius: 6px; object-fit: cover; }

/* Étape de la pierre : filtres à gauche, pierres à droite (compose-live.js applique tout sans bouton ni rechargement ; sans JavaScript le formulaire GET et ses liens font la même chose). */
.ls-pick, .ls-pick *, .ls-pick *::before, .ls-pick *::after, .ls-pick-qv, .ls-pick-qv * { box-sizing: border-box; } /* sans cela, le cadre d'une carte (rembourrage + liseré) dépasse sa case et mord sur le pied de page */
.ls-pick { --p-green: #2e5b4f; --p-night: #143832; --p-pale: #e8f1ea; --p-soft: #b7cdb9; --p-line: #d9d1c3; --p-gold: #c99a57; --p-light-gold: #e6c78f; --p-muted: #6b6156; --p-surface: #eae4da; }
.ls-pick-layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 2.5rem; align-items: start; }
.ls-pick-filters { min-width: 0; padding: 1.3rem 1.4rem .6rem; border: 1px solid var(--p-line); border-radius: 8px; background: #ffffff8c; }
.ls-pick-fh { display: flex; justify-content: space-between; align-items: center; gap: .5rem; margin-bottom: 1rem; }
.ls-pick-fh h2 { margin: 0; font-size: 1.65rem; }
.ls-pick-fh a { display: inline-flex; align-items: center; min-height: 44px; font-size: 0.9375rem; color: var(--p-muted); text-underline-offset: 3px; }
.ls-pick-group { min-width: 0; margin: 0; padding: 1.2rem 0 1.3rem; border: 0; border-top: 1px solid var(--p-line); }
.ls-pick-group--first { border-top: 0; padding-top: 0; }
.ls-pick-group legend, .ls-pick-h { display: flex; justify-content: space-between; align-items: baseline; width: 100%; padding: 0; margin: 0 0 .8rem; font-family: var(--wp--preset--font-family--heading); font-size: 1.2rem; line-height: 1.2; }
.ls-pick-group .hint { font: 400 0.84375rem var(--wp--preset--font-family--body, inherit); color: var(--p-muted); }
.ls-pick-search { display: flex; align-items: center; gap: .4rem; min-height: 44px; padding: 0 .8rem; border: 1px solid var(--p-line); border-radius: 30px; background: #fff; color: var(--p-muted); }
.ls-pick-search svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; flex-shrink: 0; }
.ls-pick-search input { flex: 1; min-width: 0; border: 0; background: none; font: inherit; font-size: 16px; color: inherit; padding: .5rem 0; }
.ls-pick-search input:focus-visible { outline: none; }
.ls-pick-search:focus-within { outline: 3px solid var(--p-gold); outline-offset: 2px; }
.ls-pick-search--small { display: none; min-height: 40px; margin-bottom: .4rem; }
.ls-pick-seg { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--p-line); border-radius: 6px; overflow: hidden; background: #fff; }
.ls-pick-seg label { position: relative; display: flex; text-align: center; font-size: 0.9375rem; cursor: pointer; }
.ls-pick-seg input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.ls-pick-seg span { display: flex; align-items: center; justify-content: center; width: 100%; padding: .4rem .2rem; min-height: 44px; border-left: 1px solid var(--p-line); line-height: 1.2; }
.ls-pick-seg label:first-child span { border-left: 0; }
.ls-pick-seg input:checked + span { background: var(--p-night); color: var(--p-light-gold); }
.ls-pick-seg input:focus-visible + span { outline: 3px solid var(--p-gold); outline-offset: -3px; }
.ls-pick-field { display: block; margin-top: .7rem; font-size: 0.9375rem; color: var(--p-muted); }
.ls-pick-field select { display: block; width: 100%; margin-top: .3rem; min-height: 44px; padding: .4rem .6rem; border: 1px solid var(--p-line); border-radius: 5px; background: #fff; font: inherit; font-size: 16px; color: #2f2a24; }
.ls-pick-checks { display: grid; gap: .1rem; margin: 0; padding: 0; list-style: none; }
.ls-pick-check { display: flex; align-items: center; gap: .7rem; min-height: 42px; padding: .1rem .2rem; border-radius: 4px; font-size: 0.9375rem; cursor: pointer; }
.ls-pick-check:hover { background: var(--p-pale); }
.ls-pick-check input { width: 18px; height: 18px; margin: 0; flex: none; accent-color: var(--p-green); }
.ls-pick-check[data-off], .ls-pick-sw[data-off], .ls-pick-pill[data-off] { opacity: .38; }
.ls-pick-check[data-off] { cursor: not-allowed; }
.ls-pick-check[data-off]:hover { background: none; }
.ls-pick-js .ls-pick-checks:not(.is-open):not(.is-searching) .is-extra { display: none; }
.ls-pick-more { display: none; margin-top: .4rem; padding: .5rem 0; border: 0; background: none; color: var(--p-green); font-size: 0.9375rem; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.ls-pick-js .ls-pick-more { display: inline-block; }
.ls-pick-js .ls-pick-search--small { display: flex; }
.ls-pick-swatches, .ls-pick-pills { display: flex; flex-wrap: wrap; gap: .65rem; margin: 0; padding: 0; list-style: none; }
.ls-pick-sw { position: relative; display: block; }
.ls-pick-sw input, .ls-pick-pill input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.ls-pick-sw i { display: block; width: 36px; height: 36px; border-radius: 50%; border: 1px solid #0003; box-shadow: inset 0 0 0 2px #fbf8f2; background: var(--c); }
.ls-pick-sw input:checked + i { outline: 2px solid var(--p-green); outline-offset: 2px; }
.ls-pick-sw input:focus-visible + i { outline: 3px solid var(--p-gold); outline-offset: 2px; }
.ls-pick-sw span { position: absolute; left: 50%; bottom: calc(100% + 6px); transform: translateX(-50%); padding: .15rem .5rem; border-radius: 3px; background: var(--p-night); color: var(--p-light-gold); font-size: 0.84375rem; line-height: 1.5; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .12s; z-index: 2; }
.ls-pick-sw:hover span, .ls-pick-sw:has(input:focus-visible) span { opacity: 1; }
.ls-pick-sw[data-off] input, .ls-pick-pill[data-off] input { cursor: not-allowed; }
.ls-pick-pill { position: relative; display: block; }
.ls-pick-pill span { display: inline-flex; align-items: center; gap: .4rem; min-height: 40px; padding: .3rem .8rem; border: 1px solid var(--p-line); border-radius: 30px; background: #fff; font-size: 0.9375rem; line-height: 1.2; }
.ls-pick-pill small { color: var(--p-muted); font-size: 0.84375rem; }
.ls-pick-pill input:checked + span { border-color: var(--p-green); background: var(--p-pale); color: var(--p-green); box-shadow: inset 0 -2px var(--p-green); }
.ls-pick-pill input:focus-visible + span { outline: 3px solid var(--p-gold); outline-offset: 2px; }
.ls-pick-rout { display: block; margin-bottom: .2rem; color: var(--p-green); font-size: 0.9375rem; }
.ls-pick-range { width: 100%; margin: .4rem 0 .2rem; accent-color: var(--p-green); }
.ls-pick-ends { display: flex; justify-content: space-between; font-size: 0.84375rem; color: var(--p-muted); }
.ls-pick-apply { width: 100%; margin-top: .6rem; cursor: pointer; min-height: 44px; }
.ls-pick-js .ls-pick-apply { display: none; }

.ls-pick-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1.2rem; }
.ls-pick-toolbar > p { margin: 0; font-size: 0.9375rem; }
.ls-pick-sort { display: flex; align-items: center; gap: .6rem; min-height: 46px; padding-inline: .9rem; border: 1px solid var(--p-line); border-radius: 8px; color: var(--p-green); font-size: 0.9375rem; }
.ls-pick-sort select { min-height: 44px; border: 0; background: none; font: inherit; color: inherit; padding: 0 .2rem; }
.ls-pick-chips, .ls-pick-undo { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.2rem; }
.ls-pick-chips a, .ls-pick-undo a { display: inline-flex; align-items: center; gap: .6rem; min-height: 44px; padding: .35rem .7rem; border: 1px solid var(--p-soft); border-radius: 30px; background: var(--p-pale); color: var(--p-green); font-size: 0.84375rem; text-decoration: none; }
.ls-pick-chips span, .ls-pick-undo span { font-size: 1.1rem; line-height: 1; }
.ls-pick.is-live-loading .ls-pick-results { opacity: .5; transition: opacity .15s ease; }
.ls-pick-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.6rem; margin: 0; padding: 0; list-style: none; }
.ls-pick-card { position: relative; display: flex; flex-direction: column; min-width: 0; height: 100%; padding: .9rem .9rem 1.1rem; border: 1px solid var(--p-line); border-radius: 8px; background: #fff; transition: box-shadow .2s, border-color .2s; }
.ls-pick-card:hover, .ls-pick-card:focus-within { border-color: var(--p-gold); box-shadow: 0 4px 16px #3c2d1426; }
.ls-pick-photo { position: relative; }
.ls-pick-card .ph { position: relative; display: block; aspect-ratio: 1; overflow: hidden; border-radius: 5px; background: var(--p-surface); }
.ls-pick-card .ph img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.ls-pick-card:hover .ph img { transform: scale(1.04); }
.ls-pick-card .tags { position: absolute; left: .55rem; bottom: .55rem; display: flex; flex-wrap: wrap; gap: .3rem; }
.ls-pick-card .tag { padding: .12rem .55rem; border-radius: 3px; background: #fbf8f2; color: var(--p-green); font-size: 0.84375rem; line-height: 1.5; }
.ls-pick-card .tag--new { background: var(--p-light-gold); color: var(--p-night); font-weight: 600; }
.ls-pick-card h3 { margin: 1rem 0 .15rem; font-size: 1.6rem; line-height: 1.15; }
.ls-pick-card h3 a { color: inherit; text-decoration: none; }
.ls-pick-card h3 a:hover { text-decoration: underline; text-underline-offset: 4px; }
.ls-pick-card .ls-compose-price { margin: 0 0 1rem; font-size: 1.05rem; }
.ls-pick-actions { display: grid; gap: .55rem; margin-top: auto; }
.ls-pick-actions .wp-element-button { box-sizing: border-box; display: flex; align-items: center; justify-content: center; min-height: 46px; padding: .5rem .7rem; font-size: 0.875rem; letter-spacing: .08em; text-align: center; text-decoration: none; line-height: 1.25; }
.ls-pick-card h3 a:focus-visible, .ls-pick-actions a:focus-visible { outline: 3px solid var(--p-gold); outline-offset: 3px; }
.ls-pick-card .peek { position: absolute; top: .55rem; right: .55rem; display: none; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: #fbf8f2ed; color: var(--p-green); box-shadow: 0 1px 6px #0003; cursor: pointer; z-index: 2; }
.ls-pick-js .ls-pick-card .peek { display: grid; }
.ls-pick-card .peek:hover { background: #fff; }
.ls-pick-card .peek:focus-visible { outline: 3px solid var(--p-gold); outline-offset: 2px; }
.ls-pick-card .peek svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
/* Le bouton « contour » des boutons de bloc n'a pas de style hors d'un bloc : on le donne ici (message vide, aperçu). */
.ls-pick .is-style-outline, .ls-pick-qv .is-style-outline { background: transparent; color: #2e5b4f; border: 1px solid #2e5b4f; }
.ls-pick .is-style-outline:hover, .ls-pick-qv .is-style-outline:hover { background: #e8f1ea; color: #234a40; }
.ls-pick-empty { padding: 2.5rem 1rem; text-align: center; }
.ls-pick-empty h2 { margin: 0; font-size: 2rem; }
.ls-pick-empty p { max-width: 32rem; margin: .8rem auto 1.2rem; color: var(--p-muted); }
.ls-pick-empty .ls-pick-undo { justify-content: center; }

/* Aperçu rapide d'une pierre (bouton œil) : on feuillette les pierres sans fermer. */
html.ls-pick-qv-open { overflow: hidden; }
.ls-pick-qv { position: fixed; inset: 0; z-index: 100001; overflow: auto; padding: 20px 12px; background: #143832b8; }
.ls-pick-qv[hidden] { display: none; }
.ls-pick-qv-panel { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); max-width: 880px; margin: 4vh auto; overflow: hidden; border-radius: 8px; background: #fbf8f2; box-shadow: 0 10px 40px #0006; }
.ls-pick-qv-photo { background: var(--p-surface, #eae4da); }
.ls-pick-qv-main { aspect-ratio: 1; overflow: hidden; }
.ls-pick-qv-main img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ls-pick-qv-thumbs { display: flex; gap: .4rem; padding: .5rem; background: #fbf8f2; }
.ls-pick-qv-thumbs button { width: 56px; height: 56px; padding: 0; overflow: hidden; border: 2px solid transparent; border-radius: 4px; background: #eae4da; cursor: pointer; }
.ls-pick-qv-thumbs button[aria-current="true"] { border-color: #2e5b4f; }
.ls-pick-qv-thumbs img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ls-pick-qv-body { display: flex; flex-direction: column; gap: .7rem; min-width: 0; padding: 1.4rem 1.5rem; }
.ls-pick-qv-body h2 { margin: 0; font-size: 2.2rem; line-height: 1.1; }
.ls-pick-qv-type { margin: 0; color: #2e5b4f; font-size: 0.84375rem; letter-spacing: .08em; text-transform: uppercase; }
.ls-pick-qv-price { margin: 0; font-family: var(--wp--preset--font-family--heading); font-size: 1.9rem; color: #143832; }
.ls-pick-qv dl, .ls-pick-qv-body dl { display: grid; grid-template-columns: auto 1fr; gap: .2rem 1rem; margin: 0; font-size: 0.9375rem; }
.ls-pick-qv-body dt { color: #6b6156; }
.ls-pick-qv-body dd { margin: 0; }
.ls-pick-qv-story { margin: 0; padding-left: .8rem; border-left: 3px solid #e6c78f; font-size: 0.9375rem; color: #4d4639; }
.ls-pick-qv-goes { display: flex; flex-wrap: wrap; gap: .4rem; }
.ls-pick-qv-goes span { padding: .15rem .6rem; border: 1px solid #b7cdb9; border-radius: 30px; background: #e8f1ea; color: #2e5b4f; font-size: 0.84375rem; }
.ls-pick-qv-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: auto; padding-top: .4rem; }
.ls-pick-qv-actions a { flex: 1 1 auto; min-height: 44px; padding: .5rem 1rem; text-decoration: none; font-size: 0.9375rem; text-align: center; }
.ls-pick-qv-nav { display: flex; justify-content: space-between; align-items: center; gap: .6rem; padding-top: .7rem; border-top: 1px solid #d9d1c3; font-size: 0.9375rem; color: #6b6156; }
.ls-pick-qv-nav button { min-height: 44px; padding: .2rem .9rem; border: 1px solid #d9d1c3; border-radius: 30px; background: #fff; font: inherit; font-size: 0.9375rem; cursor: pointer; }
.ls-pick-qv-close { position: absolute; top: .5rem; right: .5rem; z-index: 3; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: #fbf8f2ed; color: #2f2a24; font-size: 1.6rem; line-height: 1; cursor: pointer; }
.ls-pick-qv button:focus-visible, .ls-pick-qv a:focus-visible { outline: 3px solid #c99a57; outline-offset: 2px; }

.ls-pick-mbar { display: none; }
@media (max-width: 1000px) {
	.ls-pick-layout { grid-template-columns: 240px minmax(0, 1fr); gap: 1.5rem; }
	.ls-pick-grid { gap: 1.2rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ls-pick-card h3 { font-size: 1.45rem; }
}
@media (max-width: 800px) {
	.ls-pick-layout { display: block; }
	.ls-pick-js .ls-pick-filters { display: none; }
	.ls-pick-js .ls-compose.is-pick-filters .ls-pick-filters { display: block; }
	.ls-pick-js .ls-compose.is-pick-filters .ls-pick-results { display: none; }
	.ls-pick-js .ls-pick-mbar { position: sticky; bottom: 0; z-index: 20; display: flex; gap: .6rem; margin: 1rem -1rem 0; padding: .6rem 1rem; border-top: 1px solid var(--p-line); background: #fbf8f2f2; backdrop-filter: blur(6px); }
	.ls-pick-mbar button { flex: 1; min-height: 48px; border: 1px solid var(--p-green); border-radius: 4px; background: #fbf8f2; color: var(--p-green); font: inherit; font-size: 1rem; cursor: pointer; }
	.ls-pick-mbar button.is-main { background: var(--p-green); color: #fbf8f2; }
	.ls-pick-mbar .n { display: inline-grid; place-items: center; min-width: 22px; height: 22px; margin-left: .4rem; padding: 0 .35rem; border-radius: 11px; background: var(--p-light-gold); color: var(--p-night); font-size: 0.84375rem; font-weight: 600; }
	.ls-pick-msort { flex: 1; display: flex; align-items: center; min-height: 48px; padding-inline: .5rem; border: 1px solid var(--p-line); border-radius: 4px; background: #fff; }
	.ls-pick-msort select { width: 100%; min-height: 44px; border: 0; background: none; font: inherit; font-size: 16px; color: #2f2a24; }
	.ls-pick-js .ls-pick-sort { display: none; }
	.ls-pick-toolbar { margin-bottom: .6rem; }
	.ls-pick-filters { padding: 1.1rem 1.1rem .4rem; }
	.ls-pick-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem .7rem; }
	.ls-pick-card { padding: .55rem .55rem .8rem; }
	.ls-pick-card h3 { margin-top: .75rem; font-size: 1.3rem; }
	.ls-pick-card .ls-compose-price { margin-bottom: .8rem; font-size: 1rem; }
	.ls-pick-actions .wp-element-button { min-height: 44px; padding: .4rem .3rem; font-size: 0.78rem; letter-spacing: .05em; }
	.ls-pick-card .peek { top: .4rem; right: .4rem; }
	.ls-pick-card .tags { left: .4rem; bottom: .4rem; }
	.ls-pick-qv { padding: 0; }
	.ls-pick-qv-panel { grid-template-columns: 1fr; min-height: 100%; margin: 0; border-radius: 0; }
	.ls-pick-qv-body h2 { font-size: 1.9rem; }
}
@media (prefers-reduced-motion: reduce) { .ls-pick-card, .ls-pick-card .ph img, .ls-pick.is-live-loading .ls-pick-results { transition: none; } .ls-pick-card:hover .ph img { transform: none; } }

/* Étape de personnalisation : une finition par type, ses options en pastilles, le fil. */
.ls-compose-pick { margin: 0 0 1.4rem; }
.ls-compose-pick legend { font-size: 1.15rem; font-weight: 600; }
.ls-compose-melts .ls-compose-choices > div { align-items: center; }
.ls-compose-melts :is(.ls-compose-actions, .ls-compose-choices) a { display: inline-flex; align-items: center; min-height: 44px; box-sizing: border-box; }
.ls-compose-hint { margin: .2rem 0 .8rem; color: #6b6156; font-size: 0.9375rem; }
.ls-compose-finishes > li { display: flex; flex-direction: column; gap: .4rem; }
.ls-compose-options { padding: .6rem .8rem; border: 1px dashed #bfb5a3; border-radius: 6px; background: #fff; }
.ls-compose-minerals:has(input[name="mineral_mode"][value="one"]:checked) .ls-compose-second { display: none; }
.ls-compose-mode { margin: 0 0 .8rem; }
.ls-compose-options-title { margin: 0 0 .35rem; font-size: 0.8125rem; letter-spacing: .1em; text-transform: uppercase; color: #6b6156; }
.ls-compose-size { margin: 0 0 1rem; }
.ls-compose-size-title { margin: 0 0 .35rem; font-size: 0.8125rem; letter-spacing: .1em; text-transform: uppercase; color: #6b6156; }
.ls-compose-pills { display: flex; flex-wrap: wrap; gap: .5rem; }
.ls-compose-pill[hidden] { display: none; }
.ls-compose-pill { position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 1.1rem; border: 1px solid #bfb5a3; border-radius: 999px; background: #fff; cursor: pointer; }
.ls-compose-pill input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.ls-compose-pill:has(input:checked) { border-color: var(--wp--preset--color--gold, #c9a45c); background: #fbf5e8; font-weight: 600; }
.ls-compose-pill:has(input:focus-visible) { outline: 2px solid #8a6a2e; outline-offset: 2px; }

/* ----- Étape de personnalisation : sections repliables et pastilles-photo (compose-finishes.js) ----- */
.ls-secs { margin: 0 0 1rem; }
.ls-sec { margin: 0 0 .9rem; border: 1px solid #d9d1c3; border-radius: 10px; background: #fff; scroll-margin-top: calc( var(--ls-top, 0px) + .5rem ); }
.ls-sec-head .t small.opt { margin-left: .5rem; color: #6b6156; font-family: inherit; font-size: 0.8125rem; font-weight: 400; letter-spacing: .04em; }
.ls-compose-hint[hidden], .ls-slots[hidden] { display: none; }
.ls-sec .ls-sec-body { min-width: 0; margin: 0; padding: 1rem 1.1rem 1.2rem; border: 0; }
.ls-sec .ls-sec-body[hidden] { display: none; }
.ls-secs.ls-js .ls-sec .ls-sec-body { padding-top: .9rem; } /* de l'air sous l'en-tête collé : le contour d'une pastille cochée ne doit pas passer dessous */
.ls-secs.ls-js .ls-sec legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ls-sec-bar { display: flex; align-items: center; gap: .5rem; border-radius: 10px; background: #fff; }
.ls-sec.open > .ls-sec-bar { position: sticky; top: var(--ls-top, 0px); z-index: 7; border-radius: 10px 10px 0 0; box-shadow: 0 1px 0 #ece6da; } /* l'en-tête de la section ouverte reste en haut de l'écran : on sait où l'on est, et « Choisir » est toujours là */
.ls-sec-bar .ls-sec-head { flex: 1; min-width: 0; width: auto; }
.ls-sec.is-locked > .ls-sec-bar .t { color: #6b6156; }
.ls-sec.is-locked > .ls-sec-bar .val { color: #6b6156; font-size: 0.875rem; }
.ls-sec-next { flex: none; min-height: 44px; margin-right: 1rem; padding: .3rem 1.1rem; font-size: 0.875rem; }
.ls-sec-next[hidden] { display: none; }
.ls-sec-bar .ls-sec-next.is-secondary { border: 1px solid #b9a6bf; background: #fff; color: #53345c; } /* « Modifier » / « Choisir » : secondaire, le principal est « Choisir » */
.ls-sec-bar .ls-sec-next.is-secondary:hover { background: #f6f1f7; }
.ls-sec-head[tabindex="-1"]:focus { outline: none; } /* le focus d'une section ouverte se lit au lecteur d'écran ; pas de cadre autour du titre */
.ls-compose-bar .wp-element-button.is-pulse { animation: ls-pulse 1.6s ease-out 1; } /* tout est choisi : le bouton « Voir le récapitulatif » le dit */
@keyframes ls-pulse { 0% { box-shadow: 0 0 0 0 #53345c88; } 70% { box-shadow: 0 0 0 .9rem #53345c00; } 100% { box-shadow: 0 0 0 0 #53345c00; } }
@media (prefers-reduced-motion: reduce) { .ls-compose-bar .wp-element-button.is-pulse { animation: none; box-shadow: 0 0 0 3px #c99a57; } }
.ls-compose-choices .act a { margin: -.7rem -.35rem; padding: .7rem .35rem; } /* « Modifier » : une zone de clic de 44 px */
.ls-recap-preview { max-width: 24rem; margin: 1.6rem 0 0; }
.ls-recap-preview .ls-preview canvas { max-height: 30rem; min-height: 14rem; }
.ls-sec-head { display: flex; flex-wrap: wrap; align-items: center; gap: .2rem .9rem; width: 100%; min-height: 64px; padding: .7rem 1.1rem; border: 0; background: none; color: inherit; font: inherit; text-align: left; }
.ls-sec-head[hidden] { display: none; }
.ls-sec-head .num { display: grid; place-items: center; flex: none; width: 2rem; height: 2rem; border: 1px solid #d9d1c3; border-radius: 50%; background: #fbf8f2; color: #6b6156; font-size: 0.9375rem; }
.ls-sec.done .ls-sec-head .num { border-color: #2e5b4f; background: #2e5b4f; color: #fff; }
.ls-sec-head .t { flex: 1 1 8rem; min-width: 0; font-family: var(--wp--preset--font-family--heading); font-size: 1.5rem; line-height: 1.15; }
.ls-sec-head .val { display: flex; align-items: center; gap: .5rem; min-width: 0; margin-left: auto; color: #2e5b4f; font-size: 0.9375rem; }
.ls-sec-head .val .nm { max-width: 14rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mini { display: inline-block; flex: none; width: 1.7rem; height: 1.7rem; overflow: hidden; border-radius: 50%; background: #eae4da; box-shadow: 0 0 0 1px #0002; }
.mini img { display: block; width: 100%; height: 100%; object-fit: cover; }
.is-silver { background: radial-gradient(circle at 35% 30%, #fff 0, #f4f4f4 30%, #8c9096 100%); }
.is-gold { background: radial-gradient(circle at 35% 30%, #fff 0, #fff1c7 30%, #b88a2e 100%); }
.ls-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: .9rem .7rem; }
.ls-tile { position: relative; display: flex; flex-direction: column; align-items: center; gap: .4rem; min-width: 0; cursor: pointer; text-align: center; }
.ls-tile[hidden], .ls-tile.is-off { display: none; }
.ls-tile input { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.ls-tile .sw { position: relative; display: block; width: 100%; aspect-ratio: 1; overflow: hidden; border-radius: 12px; background: #eae4da; box-shadow: 0 0 0 1px #d9d1c3; }
.ls-tile .sw img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ls-tile--contain .sw { background: #fff; }
.ls-tile--contain .sw img { box-sizing: border-box; padding: .3rem; object-fit: contain; } /* une photo de produit (la bélière) se voit en entier */
.ls-tile-blank { display: grid; place-items: center; width: 100%; height: 100%; }
.ls-tile-blank.is-no-dye { background: radial-gradient(circle at 50% 38%, #fffdf8, #f8f1e5 82%); }
.ls-tile-blank.is-no-dye svg { display: block; color: var(--wp--preset--color--accent, #2e5b4f); }
.ls-tile-blank.is-none { background: #f6f1e7; color: #8a7f6c; }
.ls-tile-blank[data-initial]::after { content: attr(data-initial); color: #9a8f7e; font-family: var(--wp--preset--font-family--heading); font-size: 2.2rem; }
.ls-tile:hover .sw { box-shadow: 0 0 0 2px #c99a57; }
.ls-tile input:checked + .sw { box-shadow: 0 0 0 3px #2e5b4f; }
.ls-tile:has(input:checked) .nm { color: #2e5b4f; font-weight: 600; }
.ls-tile:has(input:focus-visible) .sw { outline: 3px solid #c99a57; outline-offset: 3px; }
.ls-tile .ok { position: absolute; right: .35rem; top: .35rem; display: none; place-items: center; width: 1.5rem; height: 1.5rem; border-radius: 50%; background: #2e5b4f; color: #fff; font-size: 0.8125rem; line-height: 1; }
.ls-tile input:checked + .sw .ok { display: grid; }
.ls-tile .extra { position: absolute; left: .35rem; bottom: .35rem; padding: .05rem .45rem; border-radius: 3px; background: #e6c78f; color: #143832; font-size: 0.8125rem; font-weight: 600; }
.ls-tile .nm { font-size: 0.8125rem; line-height: 1.25; overflow-wrap: anywhere; }
/* La carte d'une pièce du pendentif (bélière, breloque, chaîne) : la photo propre, puis le nom, le matériau, les mesures et le prix, chacun sur sa ligne, rien par-dessus la photo. */
.ls-tiles:has(.ls-tile--card) { grid-template-columns: repeat(auto-fill, minmax(8.5rem, 1fr)); align-items: stretch; }
.ls-tile--card { gap: .3rem; padding: .55rem .55rem .75rem; border: 1px solid #d9d1c3; border-radius: 12px; background: #fff; }
.ls-tile--card:hover { border-color: #c99a57; }
.ls-tile--card:has(input:checked) { border-color: #2e5b4f; box-shadow: 0 0 0 2px #2e5b4f; }
.ls-tile--card .sw, .ls-tile--card:hover .sw, .ls-tile--card input:checked + .sw { border-radius: 8px; box-shadow: none; }
.ls-tile--card .mat { color: #6b6156; font-size: 0.8125rem; line-height: 1.3; }
.ls-tile--card .pr { margin-top: auto; padding-top: .15rem; color: #143832; font-size: 0.875rem; font-weight: 600; }
.ls-tile .dim { font-size: 0.8125rem; line-height: 1.25; color: #5d5547; overflow-wrap: anywhere; }
.ls-tile:has(input:disabled) { opacity: .45; cursor: not-allowed; }
/* La pyramide olfactive d'un parfum (inc/compose-melts.php, assets/js/compose-pyramid.js ; maquette docs/maquettes/pyramide-olfactive-cliente.html) : un bouton sur la pastille, un volet. */
.ls-tile .ls-pyr-btn { position: absolute; left: -4px; top: -4px; z-index: 3; display: grid; place-items: center; width: 44px; height: 44px; margin: 0; padding: 0; border: 0; background: none; color: var(--ls-ambience-accent, #2e5b4f); cursor: pointer; touch-action: manipulation; }
.ls-tile .ls-pyr-btn span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: rgba(255, 255, 255, .95); box-shadow: 0 1px 4px rgba(0, 0, 0, .25); }
.ls-tile .ls-pyr-btn:hover span { background: var(--ls-ambience-accent, #2e5b4f); color: #fff; }
.ls-tile .ls-pyr-btn:focus-visible { outline: 3px solid #c99a57; outline-offset: -3px; border-radius: 50%; }
.ls-pyr-dialog { box-sizing: border-box; width: min(30rem, calc(100vw - 2rem)); max-width: none; max-height: calc(100dvh - 2rem); margin: auto; padding: 0; border: 0; border-radius: 14px; background: #fbf8f2; color: #2f2a24; box-shadow: 0 12px 48px rgba(0, 0, 0, .4); overflow: hidden; }
.ls-pyr-dialog[open] { display: flex; flex-direction: column; }
.ls-pyr-dialog::backdrop { background: rgba(var(--ls-scene-rgb, 20, 56, 50), .74); } /* Le fond suit l'ambiance de la page. */
.ls-pyr-close { position: absolute; right: .4rem; top: .4rem; z-index: 2; display: grid; place-items: center; width: 44px; height: 44px; margin: 0; padding: 0; border: 0; border-radius: 50%; background: none; color: inherit; font-size: 1.7rem; line-height: 1; cursor: pointer; }
.ls-pyr-close:hover { background: #eae4da; }
.ls-pyr-dialog-body { flex: 1 1 auto; min-height: 0; overflow: auto; padding: 1.4rem 1.5rem 1rem; }
.ls-pyr-who { display: flex; align-items: center; gap: .9rem; margin: 0 2.5rem 1.1rem 0; }
.ls-pyr-photo { flex: none; width: 4.2rem; height: 4.2rem; overflow: hidden; border-radius: 10px; background: #eae4da; }
.ls-pyr-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ls-pyr-photo .ls-tile-blank { background: #eae4da; }
.ls-pyr-who h2 { margin: 0; font-family: var(--wp--preset--font-family--heading); font-size: 1.85rem; font-weight: 400; line-height: 1.12; overflow-wrap: anywhere; }
.ls-pyr-who small { display: block; color: #6b6156; font-size: 0.8125rem; }
.ls-pyr-eyebrow { display: flex; align-items: center; gap: .7rem; margin: 0 0 .9rem; color: var(--ls-ambience-accent, #2e5b4f); font-size: 0.75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.ls-pyr-eyebrow::after { content: ''; flex: 1; height: 1px; background: var(--ls-ambience-soft, #b7cdb9); }
.ls-pyr-dialog-actions { flex: none; display: grid; gap: .2rem; padding: .8rem 1.5rem 1.1rem; border-top: 1px solid #d9d1c3; background: #fbf8f2; }
.ls-pyr-dialog-actions .wp-element-button { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 52px; }
.ls-pyr-dialog-actions .wp-element-button[hidden] { display: none; }
.ls-pyr-dismiss { min-height: 44px; border: 0; background: none; color: var(--ls-ambience-accent, #2e5b4f); font: inherit; text-decoration: underline; cursor: pointer; }
/* La pyramide en frise (proposition E de docs/maquettes/pyramide-olfactive-volet.html, choisie par Quentin le 17 novembre 2026) : un nœud par niveau, qui grossit et fonce en descendant, son titre, son explication et ses notes
   en pastilles. Les couleurs sont celles de l'ambiance de la page (--ls-ambience-*, assets/css/ambiences.css) ; sans elles (l'administration), celles de la forêt. */
.ls-pyramid { position: relative; display: grid; gap: 1.1rem; margin: 0; padding: 0 0 0 2.1rem; list-style: none; }
.ls-pyramid::before { content: ''; position: absolute; left: .72rem; top: .6rem; bottom: .6rem; width: 2px; border-radius: 2px; background: linear-gradient(var(--ls-ambience-soft, #b7cdb9), var(--ls-ambience-accent, #2e5b4f)); }
.ls-pyramid > li { position: relative; margin: 0; padding: 0; }
.ls-pyramid > li > i { position: absolute; top: .15rem; display: block; box-sizing: content-box; border: 3px solid #fbf8f2; border-radius: 50%; }
.ls-pyramid > .ls-pyramid-top > i { left: calc(-2.1rem + .22rem); width: .85rem; height: .85rem; background: var(--ls-ambience-soft, #b7cdb9); }
.ls-pyramid > .ls-pyramid-heart > i { left: calc(-2.1rem + .12rem); width: 1.05rem; height: 1.05rem; background: var(--ls-ambience-medium, #6e927b); }
.ls-pyramid > .ls-pyramid-base > i { left: calc(-2.1rem + .02rem); width: 1.25rem; height: 1.25rem; background: var(--ls-ambience-accent, #2e5b4f); }
.ls-pyramid-title { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 .6rem; margin: 0; }
.ls-pyramid-title b { color: var(--ls-ambience-night, #143832); font-size: 0.8125rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.ls-pyramid-title span { color: #6b6156; font-size: 0.8125rem; }
.ls-pyramid-notes { display: flex; flex-wrap: wrap; gap: .35rem .4rem; margin: .45rem 0 0; padding: 0; list-style: none; }
.ls-pyramid-notes li { margin: 0; padding: .2rem .75rem; border: 1px solid var(--ls-ambience-soft, #b7cdb9); border-radius: 30px; background: var(--ls-ambience-light, #e8f1ea); color: #2f2a24; font-size: 0.9rem; line-height: 1.45; }
@media (max-width: 600px) {
	/* Sur téléphone, un panneau qui monte du bas. */
	.ls-pyr-dialog { width: 100%; max-width: 100%; margin: auto 0 0; max-height: 90dvh; border-radius: 20px 20px 0 0; }
	.ls-pyr-dialog-body { padding-top: 1.6rem; }
}
.ls-picker-tools { margin: 0 0 1rem; }
.ls-picker-tools[hidden], .ls-picker-none[hidden] { display: none; }
.ls-picker-search { box-sizing: border-box; width: 100%; max-width: 20rem; min-height: 44px; padding: .4rem .9rem; border: 1px solid #d9d1c3; border-radius: 30px; background: #fbf8f2; font: inherit; }
.ls-picker-none { margin: 1rem 0 0; color: #6b6156; text-align: center; }
.ls-compose-left { margin: .4rem 0 .8rem; color: #6b6156; font-size: 0.9375rem; }
.ls-compose-left[hidden] { display: none; }
.ls-compose-actions button[disabled] { opacity: .5; cursor: not-allowed; }
@media (max-width: 640px) {
	.ls-tiles { grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); gap: .8rem .55rem; }
	.ls-sec .ls-sec-body { padding: 0 .8rem 1rem; }
	.ls-sec-head { padding: .6rem .8rem; gap: .6rem; }
	.ls-sec-next { margin-right: .6rem; padding: .3rem .8rem; }
	.ls-sec.is-locked .ls-sec-head .val { flex-basis: 100%; margin-left: 0; padding-left: 2.6rem; }
	.ls-sec.open .ls-sec-head .val { display: none; } /* ouverte, l'en-tête n'a la place que du titre et de « Choisir » : le choix se lit sur la pastille cochée */
	.ls-sec-head .t { font-size: 1.3rem; }
	.ls-sec-head .val .nm { max-width: 6.5rem; }
}

/* « Choisir une autre pierre » : une cible de 44 px. */
.ls-compose-summary a { display: inline-flex; align-items: center; min-height: 44px; }

/* ----- Maquette composer-finitions : filtres, deux emplacements de minéraux, résumé « Ton bijou » ----- */
.is-away { display: none; }
.ls-secs.ls-js .ls-compose-options-title { display: none; }
.ls-picker-tools:not([hidden]) { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; }
.ls-picker-tools .ls-picker-search { flex: 1 1 13rem; }
.ls-picker-chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.ls-picker-chips[hidden], .ls-picker-chips button[hidden] { display: none; }
.ls-picker-chips button { min-height: 44px; padding: .3rem 1rem; border: 1px solid #d9d1c3; border-radius: 30px; background: #fff; color: inherit; font: inherit; font-size: 0.875rem; cursor: pointer; }
.ls-picker-chips button[aria-pressed="true"] { border-color: #2e5b4f; background: #e8f1ea; color: #143832; font-weight: 600; box-shadow: inset 0 -3px 0 #2e5b4f; } /* un filtre se souligne ; un choix (taille, nombre de minéraux) se cercle d'ocre */
/* Les thèmes de parfum de « Composer mes fondants » : des liens (la page se recharge sur le thème), habillés comme les pastilles de filtre. */
.ls-picker-themes { margin: 0 0 1rem; }
/* Un fieldset s'élargit par défaut à son contenu le plus large (min-width: min-content) : une ligne de pastilles non repliée élargissait tout le cadre, et la grille des parfums passait à onze colonnes sur téléphone. */
.ls-compose-pick, .ls-compose fieldset { min-width: 0; }
.ls-picker-themes a { display: inline-flex; align-items: center; min-height: 44px; box-sizing: border-box; padding: .3rem 1rem; border: 1px solid #d9d1c3; border-radius: 30px; background: #fff; color: inherit; font-size: 0.875rem; text-decoration: none; }
.ls-picker-themes a:hover { border-color: #2e5b4f; }
.ls-picker-themes a[aria-current="true"] { border-color: #2e5b4f; background: #2e5b4f; color: #fbf8f2; }
.ls-slots { display: flex; flex-wrap: wrap; gap: .7rem; margin: 0 0 1rem; }
.ls-slot { display: flex; align-items: center; gap: .6rem; min-height: 56px; padding: .4rem .9rem .4rem .5rem; border: 2px dashed #d9d1c3; border-radius: 10px; background: #fbf8f2; color: inherit; font: inherit; font-size: 0.9375rem; text-align: left; cursor: pointer; }
.ls-slot[aria-pressed="true"] { border-color: #2e5b4f; background: #e8f1ea; }
.ls-slot.filled { border-style: solid; }
.ls-slot:focus-visible { outline: 3px solid #c99a57; outline-offset: 3px; }
.ls-slot .ph { display: grid; place-items: center; flex: none; width: 2.6rem; height: 2.6rem; overflow: hidden; border-radius: 6px; background: #eae4da; }
.ls-slot .ph img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ls-slot small { display: block; color: #6b6156; font-size: 0.8125rem; letter-spacing: .06em; text-transform: uppercase; }
.ls-slot .x { display: grid; place-items: center; width: 2rem; height: 2rem; margin-left: .3rem; border-radius: 50%; background: #0001; font-size: 1.1rem; line-height: 1; }
.ls-slot .ph[data-initial]::after, .mini[data-initial]::after { content: attr(data-initial); color: #9a8f7e; font-family: var(--wp--preset--font-family--heading); font-size: 1.2rem; line-height: 1; }
.mini[data-initial] { display: inline-grid; place-items: center; }
.mini.is-none { background: #f6f1e7; }
.mini.is-none::after { content: '∅'; color: #8a7f6c; font-family: inherit; font-size: .95rem; }
.mini[data-initial]::after { font-size: .95rem; }
.ls-secs.ls-js ~ .ls-compose-actions button[type="submit"] { display: none; }
.ls-compose-side, .ls-compose-bar { display: none; }
.ls-side-card { padding: .8rem .8rem .3rem; border: 1px solid #d9d1c3; border-radius: 10px; background: #fff; }
.ls-compose-bar .wp-element-button.is-waiting, .ls-compose-bar .wp-element-button[disabled] { border: 1px solid #b9a6bf; background: #ece6ee; color: #53345c; } /* pas encore : lisible, pas un bouton éteint ; un clic ouvre la première section à faire */
.ls-left-link { display: inline; margin: -.8rem -.45rem; padding: .8rem .45rem; border: 0; background: none; color: #53345c; font: inherit; text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
.ls-left-link:hover { color: #2e5b4f; }
.ls-left-link:focus-visible { outline: 3px solid #c99a57; outline-offset: 1px; border-radius: 3px; }
.ls-compose-bar .l .full { display: none; } /* la liste complète n'a de place que sur grand écran ; ailleurs, « Il reste 3 choix » */
.ls-compose-bar .l .few { display: inline; white-space: nowrap; }
@media (min-width: 768px) {
	.ls-compose-cols { display: grid; grid-template-columns: minmax(0, 1fr) 16rem; gap: 1.6rem; align-items: start; }
	.ls-compose-cols--solo { grid-template-columns: minmax(0, 1fr); }
	.ls-compose-side:not([hidden]) { display: block; position: sticky; top: 1rem; }
	/* La barre du bas, collée près du bas de l'écran : le prix, la note des suppléments, ce qu'il reste à choisir et le bouton. Une carte entière (bords et coins arrondis de tous les côtés) et non un onglet ouvert : en fin de page, quand elle n'est plus collée, elle ne paraît pas coupée (défaut vu le 20 novembre 2026). */
	.ls-compose-bar:not([hidden]) { display: flex; align-items: center; justify-content: space-between; gap: 1rem 1.5rem; position: sticky; bottom: .75rem; z-index: 30; margin: 1.5rem 0; padding: .7rem 1.2rem; border: 1px solid #d9d1c3; border-radius: 12px; background: #fbf8f2f8; backdrop-filter: blur(6px); box-shadow: 0 6px 20px #3d2e1f26; }
	.ls-compose-bar .t { display: flex; flex: 1; flex-wrap: wrap; align-items: baseline; gap: .1rem 1.2rem; min-width: 0; }
	.ls-compose-bar .t b { font-family: var(--wp--preset--font-family--heading); font-size: 1.8rem; font-weight: 500; color: #143832; }
	.ls-compose-bar .x, .ls-compose-bar .l { color: #6b6156; font-size: 0.875rem; }
	.ls-compose-bar .wp-element-button { min-height: 50px; padding: .5rem 1.6rem; }
}
@media (min-width: 1100px) {
	.ls-compose-cols:not(.ls-compose-cols--solo) { grid-template-columns: minmax(0, 1fr) 20rem; gap: 2.2rem; }
	.ls-compose-bar .l .full { display: inline; }
	.ls-compose-bar .l .few { display: none; }
}
@media (max-width: 767px) {
	.ls-compose-bar:not([hidden]) { display: flex; align-items: center; gap: .8rem; position: sticky; bottom: 0; z-index: 30; margin: 0; padding: .6rem 16px; border-top: 1px solid #d9d1c3; background: #fbf8f2f5; backdrop-filter: blur(6px); }
	.ls-compose-bar .t { display: grid; flex: 1; min-width: 0; line-height: 1.25; }
	.ls-compose-bar .t b { font-family: var(--wp--preset--font-family--heading); font-size: 1.4rem; font-weight: 500; color: #143832; }
	.ls-compose-bar .t .l { color: #6b6156; font-size: 0.875rem; }
	.ls-compose-bar .t .x { display: none; }
	.ls-compose-bar .wp-element-button { flex: 0 1 auto; max-width: 10.5rem; min-height: 50px; padding: .4rem .9rem; font-size: 0.8125rem; line-height: 1.2; text-align: center; white-space: normal; }
}
@media (max-width: 640px) {
	.ls-picker-chips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: .3rem; scrollbar-width: none; -webkit-mask-image: linear-gradient(to right, #000 88%, transparent); mask-image: linear-gradient(to right, #000 88%, transparent); }
	.ls-picker-chips::-webkit-scrollbar { display: none; }
	.ls-picker-chips button { flex: none; }
	/* Les thèmes de parfum des fondants (douze sur dev) se replient sur plusieurs lignes : sur une seule ligne qui défile, huit restaient hors de l'écran. */
	.ls-picker-themes { flex-wrap: wrap; overflow-x: visible; padding-bottom: 0; }
}
/* Le matériau d'un composant (bélière, breloque, chaîne) : un petit badge sous son nom. */
.ls-compose-badge { display: block; width: fit-content; max-width: 100%; margin: .2rem 0 .15rem; padding: .1rem .6rem; border: 1px solid #d9d1c3; border-radius: 999px; background: #f6f1e7; color: #5d5448; font-size: .8125rem; line-height: 1.5; }

/* « Composer mes fondants » (inc/compose-melts.php) : le nombre de paquets du récapitulatif, aligné sur le tableau du prix et séparé du bouton. */
.ls-compose-packets { justify-content: space-between; margin: 1rem 0 .8rem; padding: 0; color: inherit; font-size: 1rem; }

/* ----- L'aperçu du bijou (compose-preview.js) : à droite sur grand écran, en haut et collé sur mobile ----- */
.ls-preview[hidden] { display: none; }
/* Le zoom de l'aperçu : un léger zoom au survol de la souris (autour du pointeur), un clic agrandit dans une fenêtre. */
.ls-preview .ls-preview-wrap.is-zoomable { position: relative; cursor: zoom-in; }
.ls-preview .ls-preview-wrap.is-zoomable:focus-visible { outline: 3px solid #c99a57; outline-offset: 2px; }
.ls-preview .ls-preview-wrap.is-zoomable::after { content: ""; position: absolute; right: .5rem; bottom: .5rem; width: 2.25rem; height: 2.25rem; border-radius: 50%; background: rgba( 255, 255, 255, .85 ) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23143832' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='M15.5 15.5 21 21M10.5 8v5M8 10.5h5'/%3E%3C/svg%3E") center / 1.3rem no-repeat; box-shadow: 0 1px 4px rgba( 0, 0, 0, .25 ); pointer-events: none; }
@media (hover: hover) and (pointer: fine) {
	.ls-preview .ls-preview-wrap.is-zoomable canvas { transform-origin: var(--zx, 50%) var(--zy, 50%); transition: transform .18s ease-out; }
	.ls-preview .ls-preview-wrap.is-zoomable:hover canvas { transform: scale( 1.6 ); }
}
@media (prefers-reduced-motion: reduce) { .ls-preview .ls-preview-wrap.is-zoomable canvas { transition: none; } }
.ls-preview-lightbox { box-sizing: border-box; max-width: 96vw; max-height: 96vh; padding: 1.25rem; border: 0; border-radius: 14px; background: radial-gradient( ellipse at 50% 55%, #e3ddd2, #cec6b8 ); cursor: zoom-out; overflow: auto; }
.ls-preview-lightbox::backdrop { background: rgba( 20, 56, 50, .72 ); }
.ls-preview-lightbox canvas { display: block; width: auto; height: auto; max-width: calc( 96vw - 2.5rem ); max-height: calc( 96vh - 2.5rem ); margin: 0 auto; }
.ls-preview-lightbox-close { position: absolute; top: .5rem; right: .5rem; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: #fff; color: #143832; font-size: 1.75rem; line-height: 1; box-shadow: 0 1px 4px rgba( 0, 0, 0, .3 ); cursor: pointer; }
.ls-preview-lightbox-close:focus-visible { outline: 3px solid #c99a57; outline-offset: 2px; }
.ls-preview .ls-preview-wrap { display: grid; place-items: center; min-height: 12rem; margin: 0 0 .5rem; border-radius: 10px; background: radial-gradient(ellipse at 50% 55%, #e3ddd2, #cec6b8); overflow: hidden; }
.ls-preview canvas { display: block; width: auto; height: auto; max-width: 100%; max-height: calc(100vh - 15rem); min-height: 14rem; margin: 0 auto; -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 9%); mask-image: linear-gradient(to bottom, transparent 0, #000 9%); }
/* La mention sous l'aperçu : une petite carte d'information (coche verte, la pierre est la vraie en gras, puis ce qui est illustré ; pour un macramé, une icône « i » : voir « Le vrai tissage » plus bas). */
.ls-preview .ls-preview-note { display: grid; grid-template-columns: auto 1fr; align-items: start; gap: .1rem .65rem; margin: .65rem 0 .5rem; padding: .7rem .8rem; border-radius: 10px; background: #f6f1e7; color: #5d5548; font-size: 0.8125rem; line-height: 1.4; }
.ls-preview .ls-preview-note::before { content: '✓'; grid-row: 1 / span 2; display: grid; place-items: center; width: 1.45rem; height: 1.45rem; border-radius: 50%; background: #2e5b4f; color: #fff; font-size: 0.8125rem; line-height: 1; }
.ls-preview .ls-preview-note b { color: #143832; font-size: 0.875rem; font-weight: 600; line-height: 1.35; }
.ls-preview--small { display: none; }
@media (max-width: 767px) {
	.ls-preview--small:not([hidden]) { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: .2rem .9rem; position: sticky; top: 0; z-index: 25; margin: 0 -16px .9rem; padding: .4rem 16px; border-bottom: 1px solid #d9d1c3; background: #fbf8f2f5; backdrop-filter: blur(6px); box-shadow: 0 6px 16px #3d2e1f1a; }
	.ls-preview--small .ls-preview-wrap { grid-row: 1 / span 2; min-height: 0; margin: 0; }
	.ls-preview--small canvas { max-height: 17vh; min-height: 7.5rem; }
	.ls-preview--small.is-big { grid-template-columns: 1fr; justify-items: center; }
	.ls-preview--small.is-big .ls-preview-wrap { grid-row: auto; }
	.ls-preview--small.is-big canvas { max-height: 46vh; }
	.ls-preview--small .ls-preview-zoom { justify-self: start; align-self: end; min-height: 44px; padding: 0 1rem; border: 1px solid #bfb5a3; border-radius: 999px; background: #fff; color: #2f2a24; font: inherit; font-size: 0.875rem; cursor: pointer; }
	.ls-preview--small .ls-preview-zoom:focus-visible { outline: 3px solid #c99a57; outline-offset: 2px; }
	.ls-preview--small .ls-preview-note { align-self: start; margin: 0; padding: 0; background: none; font-size: 0.75rem; line-height: 1.35; }
	.ls-preview--small .ls-preview-note::before { width: 1.2rem; height: 1.2rem; font-size: 0.6875rem; }
	.ls-preview--small .ls-preview-note b { font-size: 0.8125rem; }
	.ls-preview--small.is-big .ls-preview-note { justify-self: stretch; }
}
.ls-preview-zoom { display: none; }
@media (max-width: 767px) { .ls-preview--small .ls-preview-zoom { display: inline-flex; align-items: center; } }

/* ----- Le vrai tissage (27 novembre 2026, maquette docs/maquettes/composer-apercu-tissage.html) : l'aperçu sert aux couleurs ; un médaillon en haut à droite montre un gros plan sur les nœuds
   de la photo du modèle (un clic l'ouvre en grand, compose-zoom.js) ; la mention a une icône « i » et non plus une coche ; à la première visite elle s'encadre d'or avec « J'ai compris » (compose-weave.js). ----- */
.ls-preview--side { position: relative; }
/* La colonne de droite est collée en haut : l'aperçu, sa mention (plus longue, avec « J'ai compris » la première fois) et la barre du bas tiennent dans la hauteur de l'écran. */
.ls-compose-side .ls-preview--weave canvas { max-height: calc( 100vh - 25rem ); }
.ls-weave { display: inline-flex; flex-direction: column; align-items: center; gap: .3rem; color: #2e5b4f; text-decoration: none; border-radius: 12px; }
.ls-weave:focus-visible { outline: 3px solid #c99a57; outline-offset: 3px; }
.ls-weave-m { position: relative; display: block; width: 88px; height: 88px; overflow: hidden; border: 3px solid #fff; border-radius: 50%; background: #eae4da; box-shadow: 0 2px 10px rgba( 0, 0, 0, .28 ); transition: transform .15s ease-out; }
.ls-weave-m img { position: absolute; max-width: none; height: auto; }
.ls-weave-t { display: inline-flex; align-items: center; min-height: 28px; padding: 0 .7rem; border-radius: 999px; background: #fff; font-size: 0.8125rem; line-height: 1.2; white-space: nowrap; box-shadow: 0 1px 4px rgba( 0, 0, 0, .18 ); }
.ls-weave:hover .ls-weave-m { transform: scale( 1.04 ); }
.ls-weave:hover .ls-weave-t { color: #143832; }
.ls-weave--m, .ls-weave--l { position: absolute; top: .6rem; right: .6rem; z-index: 2; }
.ls-weave--l .ls-weave-m { width: 104px; height: 104px; } /* la colonne de l'aperçu du récapitulatif est étroite : le rond ne doit pas cacher le cadre */
@media (prefers-reduced-motion: reduce) { .ls-weave-m { transition: none; } }
.ls-preview-note.is-weave::before { content: 'i'; background: #143832; font-family: Georgia, serif; font-weight: 700; }
.ls-preview .ls-preview-note.is-weave { margin-bottom: .6rem; }
.ls-weave-ok { grid-column: 2; justify-self: start; min-height: 44px; margin-top: .5rem; padding: 0 1.1rem; border: 1px solid #2e5b4f; border-radius: 4px; background: #fff; color: #2e5b4f; font: inherit; font-size: 0.875rem; cursor: pointer; }
.ls-weave-ok:hover { background: #e8f1ea; }
.ls-weave-ok:focus-visible { outline: 3px solid #c99a57; outline-offset: 2px; }
.ls-weave-ok[hidden] { display: none; }
.ls-preview.is-first .ls-preview-note.is-weave { border: 2px solid #c99a57; background: #f8f1e5; }
.ls-weave-first { display: none; }
/* La fenêtre du vrai tissage (compose-zoom.js) : la photo de gros plan entière, « Le modèle porté » pour la photo principale. */
.ls-weave-photos { color: #2e5b4f; }
dialog.ls-zoom .ls-zoom-bar p { flex: 1 1 auto; } /* la légende prend la place : « Le modèle porté » et « Fermer » restent groupés à droite */
dialog.ls-zoom [hidden] { display: none; } /* la règle des images de la fenêtre (display: block) l'emportait sur hidden */
@media (max-width: 600px) { /* sur un téléphone, la légende prend la ligne et les deux boutons se partagent la suivante (« Fermer » débordait de son cadre) */
	dialog.ls-zoom .ls-zoom-bar { flex-wrap: wrap; gap: .6rem; }
	dialog.ls-zoom .ls-zoom-bar p { flex: 1 1 100%; margin: 0; }
	dialog.ls-zoom .ls-zoom-bar button { flex: 1 1 0; }
}
.ls-zoom .ls-zoom-toggle { min-height: 44px; padding: 0 1rem; border: 1px solid #fff; border-radius: 4px; background: transparent; color: #fff; font: inherit; font-size: 0.875rem; cursor: pointer; }
.ls-zoom .ls-zoom-toggle:focus-visible { outline: 3px solid #c99a57; outline-offset: 2px; }
@media (max-width: 767px) {
	.ls-weave-first:not([hidden]) { display: block; margin: 0 0 1rem; }
	.ls-weave--l .ls-weave-m { width: 96px; height: 96px; } /* au récapitulatif d'un téléphone, l'aperçu est étroit : le rond ne doit pas cacher les perles */
	.ls-preview--small.is-first .ls-preview-note { display: none; } /* la mention à valider est juste dessous : le bandeau ne la répète pas */
	.ls-weave-first .ls-preview-note { display: grid; grid-template-columns: auto 1fr; align-items: start; gap: .1rem .65rem; margin: 0; padding: .8rem .85rem; border: 2px solid #c99a57; border-radius: 10px; background: #f8f1e5; color: #5d5548; font-size: 0.875rem; line-height: 1.45; }
	.ls-weave-first .ls-preview-note::before { grid-row: 1 / span 2; display: grid; place-items: center; width: 1.45rem; height: 1.45rem; border-radius: 50%; color: #fff; font-size: 0.8125rem; line-height: 1; }
	.ls-weave-first .ls-preview-note b { color: #143832; font-size: 0.9375rem; font-weight: 600; line-height: 1.35; }
	.ls-preview--small .ls-preview-acts { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; align-self: end; }
	.ls-preview--small.is-big .ls-preview-acts { justify-self: center; }
	.ls-weave--s { flex-direction: row; gap: .45rem; min-height: 44px; padding: 0 .8rem 0 .2rem; border: 1px solid #bfb5a3; border-radius: 999px; background: #fff; }
	.ls-weave--s .ls-weave-m { width: 36px; height: 36px; border-width: 2px; box-shadow: none; }
	.ls-weave--s .ls-weave-t { min-height: 0; padding: 0; background: none; box-shadow: none; font-size: 0.875rem; color: #2f2a24; }
	.ls-weave-pill { display: inline-flex; align-items: center; min-height: 44px; padding: 0 1rem; border: 1px solid #bfb5a3; border-radius: 999px; background: #fff; color: #2f2a24; font-size: 0.875rem; text-decoration: none; }
}

/* Le bouton « Choisir » d'une section de l'étape de personnalisation : il la referme et ouvre la suivante (compose-finishes.js). */
.ls-sec .ls-sec-body { padding-bottom: 1.2rem; }


/* ----- « Composer un fondant » : le format, la forme, le récapitulatif (24 novembre 2026, maquette docs/maquettes/composer-fondant-formes.html) ----- */
/* Étape 1 : deux grandes cartes, « Dans un clamshell » et « En forme ». */
.ls-compose-formats { grid-template-columns: 1fr; }
.ls-compose-format { grid-template-rows: auto 1fr auto; gap: .5rem; padding: .8rem; }
.ls-compose-format .ph { aspect-ratio: 4 / 3; }
.ls-compose-format .ph img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ls-compose-format strong { font-size: 1.6rem; }
.ls-compose-format .size { display: block; color: #4d4639; line-height: 1.5; }
.ls-compose-format .foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: .3rem; }
.ls-compose-format input[type=radio] { flex: none; width: 1.7rem; height: 1.7rem; accent-color: #8a6a2e; cursor: pointer; }
@media (min-width: 600px) { .ls-compose-grid.ls-compose-formats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.ls-compose-format-line { justify-content: space-between; }
/* La forme se choisit à l'œil : des cartes-photos plus grandes que celles d'un parfum. */
.ls-compose-shapes .ls-tiles:has(.ls-tile--card) { grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr)); }
@media (max-width: 599px) { .ls-compose-shapes .ls-tiles:has(.ls-tile--card) { grid-template-columns: repeat(2, minmax(0, 1fr)); } } /* Téléphone : deux formes par rangée, pas une colonne de grandes photos (vu sur dev le 25 novembre 2026). */
/* Récapitulatif : le nombre de paquets ou de pièces ouvre le bloc du prix, car le total en dépend. */
.ls-compose-recap-box > .ls-compose-qty { justify-content: space-between; margin: 0 0 1rem; padding: 0 0 1rem; border-bottom: 1px solid #e3dccd; color: inherit; font-size: 1rem; font-weight: 600; }
.ls-compose-recap-box .ls-compose-total th small { display: block; color: #6b6156; font-size: 0.84375rem; font-weight: 400; }
/* Récapitulatif sur téléphone (défaut vu le 24 novembre 2026) : la valeur était écrasée entre l'intitulé et « Modifier ». L'intitulé prend sa ligne, la valeur reste à côté de « Modifier ». */
@media (max-width: 599px) {
	.ls-compose-choices > div { grid-template-columns: minmax(0, 1fr) auto; gap: .1rem 1rem; }
	.ls-compose-choices dt { grid-column: 1 / -1; color: #6b6156; font-size: 0.8125rem; font-weight: 400; letter-spacing: .08em; text-transform: uppercase; }
}
/* La petite précision sur les traces blanches, sous les choix du récapitulatif de « Composer un fondant » (25 novembre 2026). */
.ls-compose-recap-main .ls-compose-precision { max-width: none; margin: 1.4rem 0 0; line-height: 1.6; } /* aussi large que la liste des choix au-dessus */
