/* ============================================================================
 * MYCELL — commerce v3                              build mycell-2026-10-04-2
 * Tuiles du tableau de bord, photos, page personnalisée, QR code, panier,
 * caisse, ventes, pagination des avis, guides illustrés, options du contrat.
 * S'appuie sur les jetons de theme.css (clair / sombre / contraste fort).
 * ========================================================================== */

/* ─── Onglets segmentés (aria-selected en plus d'aria-checked) ─── */
.segment.large button[aria-selected="true"] { background: var(--carte); color: var(--ink); box-shadow: 0 1px 4px rgba(15,45,90,.12); }
.segment.large button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; background: transparent; }
.segment.large button .ic { width: 18px; height: 18px; }
.centre { text-align: center; }

/* ─── Tableau de bord entreprise : grandes tuiles ─── */
.ent-tete { align-items: center; }
.ent-tete > div:first-of-type { flex: 1; min-width: 0; }
.ent-logo { width: 56px; height: 56px; border-radius: 16px; object-fit: cover; border: 1px solid var(--ligne); box-shadow: var(--ombre); }
.sur-titre { display: block; font-size: var(--t-xs); font-weight: 800; letter-spacing: .6px; text-transform: uppercase; color: var(--accent-t); }
.rang-bt.droite { justify-content: flex-end; }
.tuiles-ent { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 14px; }
.tuile-ent {
  position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; min-height: 132px;
  padding: 16px; border-radius: var(--r-l); border: 1px solid var(--ligne); background: var(--carte); box-shadow: var(--ombre);
  text-align: left; color: var(--ink); animation: monte-doux .45s var(--ease) both; animation-delay: calc(var(--i, 0) * 40ms);
  transition: transform .2s var(--ease), box-shadow .2s;
}
.tuile-ent:nth-child(2) { --i: 1; } .tuile-ent:nth-child(3) { --i: 2; } .tuile-ent:nth-child(4) { --i: 3; }
.tuile-ent:nth-child(5) { --i: 4; } .tuile-ent:nth-child(6) { --i: 5; } .tuile-ent:nth-child(7) { --i: 6; } .tuile-ent:nth-child(8) { --i: 7; }
.tuile-ent::before { content: ''; position: absolute; right: -30px; bottom: -30px; width: 110px; height: 110px; border-radius: 50%; background: oklch(.78 .12 var(--acc, 215) / .16); }
.tuile-ent:hover { transform: translateY(-2px); box-shadow: var(--ombre), 0 14px 30px rgba(29,111,224,.12); }
.tuile-ent:active { transform: scale(.98); }
.tuile-ic { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 8px; border-radius: 16px; color: #fff;
  background: linear-gradient(150deg, oklch(.68 .16 var(--acc, 215)), oklch(.52 .17 var(--acc, 215))); box-shadow: 0 8px 18px oklch(.55 .16 var(--acc, 215) / .3); }
.tuile-ic .ic { width: 25px; height: 25px; }
.tuile-ent b { font-family: var(--font-titre); font-size: var(--t-l); font-weight: 850; letter-spacing: -.2px; }
.tuile-ent small { display: flex; align-items: center; gap: 5px; font-size: var(--t-xs); color: var(--ink2); font-weight: 600; line-height: 1.35; }
.tuile-ent small .ic { width: 13px; height: 13px; }
.tuile-ent .fleche { position: absolute; top: 16px; right: 14px; width: 18px; height: 18px; color: var(--ink3); }
.tuile-ent .compteur { position: absolute; top: 12px; right: 36px; left: auto; }
.tuile-ent.fermee { background: var(--carte2); box-shadow: none; border-style: dashed; }
.tuile-ent.fermee .tuile-ic { background: var(--neutre-fond); color: var(--ink3); box-shadow: none; }
.tuile-ent.fermee b { color: var(--ink2); }
.mini-kpis { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.mini-kpis div { display: flex; flex-direction: column; padding: 10px 12px; border-radius: 14px; background: var(--carte2); }
.mini-kpis b { font-family: var(--font-titre); font-size: 22px; font-weight: 850; font-variant-numeric: tabular-nums; }
.mini-kpis span { font-size: var(--t-xs); color: var(--ink2); }
.ent-onglets { flex-wrap: wrap; overflow: visible; margin: 0 0 14px; padding: 0; }
@media (max-width: 759px) {
  .ent-onglets button { height: 38px; padding: 0 11px; font-size: var(--t-s); }
  .ent-tete .rang-bt.droite { width: 100%; justify-content: flex-start; }
}
@media (min-width: 760px) { .tuiles-ent { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ─── Photos : champ, aperçu, galerie ─── */
.champ-photo { display: grid; gap: 8px; }
.champ-photo .legende { font-weight: 700; font-size: var(--t-s); color: var(--ink2); }
.photo-zone { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.photo-zone img, .photo-vide { width: 112px; height: 84px; border-radius: 14px; object-fit: cover; border: 1px solid var(--ligne); }
.champ-photo.rond .photo-zone img, .champ-photo.rond .photo-vide { width: 84px; height: 84px; border-radius: 50%; }
.photo-vide { display: grid; place-items: center; background: var(--carte2); color: var(--ink3); border-style: dashed; }
.photo-vide .ic { width: 28px; height: 28px; }
.galerie-edit { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 8px; }
.g-photo { position: relative; aspect-ratio: 1; border-radius: 14px; overflow: hidden; border: 1px solid var(--ligne); }
.g-photo img { width: 100%; height: 100%; object-fit: cover; }
.g-photo .icb { position: absolute; top: 4px; right: 4px; background: rgba(15,29,51,.6); color: #fff; }
.g-ajout { aspect-ratio: 1; display: grid; place-items: center; align-content: center; gap: 4px; border-radius: 14px; border: 1.5px dashed var(--ligne); background: var(--carte2); color: var(--accent-t); font-weight: 750; font-size: var(--t-xs); }
.g-ajout:disabled { opacity: .5; }
.ent-produits li > img, .ent-produits .vignette { width: 52px; height: 52px; border-radius: 12px; object-fit: cover; flex-shrink: 0; }
.ent-produits .vignette { display: grid; place-items: center; background: var(--carte2); color: var(--ink3); border: 1px dashed var(--ligne); }

/* ─── Vitrine publique : photo produit, panier, bandeau vente ─── */
.produit.avec-photo { padding: 10px; }
.produit-photo { flex-shrink: 0; width: 84px; height: 84px; padding: 0; border: 0; border-radius: 14px; overflow: hidden; background: var(--carte2); cursor: zoom-in; }
.produit-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s var(--ease); }
.produit-photo:hover img { transform: scale(1.06); }
.mini-bt.panier-bt { display: inline-flex; align-items: center; gap: 6px; color: #fff; border-color: transparent; background: linear-gradient(160deg, var(--bleu2), var(--bleu)); box-shadow: 0 4px 12px rgba(29,111,224,.25); }
.mini-bt.panier-bt .ic { width: 15px; height: 15px; }
.mini-bt.discret { display: inline-flex; align-items: center; background: transparent; }
.bandeau-vente { display: flex; gap: 10px; align-items: center; margin-bottom: 12px; padding: 11px 14px; border-radius: 14px; font-size: var(--t-s); color: var(--ok-t); background: var(--ok-fond); }
.lien-page { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; padding: 12px 14px; border-radius: 14px; font-weight: 800; text-decoration: none; color: #fff;
  background: linear-gradient(120deg, var(--marque, var(--bleu)), color-mix(in oklab, var(--marque, var(--bleu)) 60%, #0E2748)); box-shadow: 0 10px 24px color-mix(in oklab, var(--marque, var(--bleu)) 30%, transparent); }
.lien-page span { flex: 1; }
/* Entrée « Profil » de la fiche */
.lien-profil { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; padding: 11px 14px; border-radius: 16px; text-decoration: none; color: #04414a; font-weight: 800;
  background: linear-gradient(180deg, rgba(255,255,255,.95), rgba(196,244,247,.9)); border: 1px solid rgba(19,184,196,.35); box-shadow: inset 0 1px 0 #fff, 0 6px 16px -10px rgba(5,91,102,.5); }
.lien-profil span { flex: 1; }
.lien-profil small { display: block; font-weight: 600; color: #3b6b73; }
.lien-profil .lp-bulle { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; font-size: 17px;
  background: radial-gradient(circle at 35% 30%, #fff, #8fe6ee 60%, #13b8c4); box-shadow: inset 0 -2px 4px rgba(5,91,102,.3), 0 2px 6px rgba(5,91,102,.25); }
[data-theme="dark"] .lien-profil { color: #d9fbff; background: linear-gradient(180deg, rgba(20,60,72,.95), rgba(8,40,52,.95)); border-color: rgba(64,210,220,.35); }
[data-theme="dark"] .lien-profil small { color: #9cc9cf; }
.visionneuse { display: grid; gap: 8px; }
.visionneuse img { width: 100%; max-height: 72dvh; object-fit: contain; border-radius: 16px; background: #000; }
.visionneuse figcaption { color: var(--ink2); font-size: var(--t-s); text-align: center; }
.pagination { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 12px; font-size: var(--t-s); color: var(--ink2); font-weight: 700; }
.pagination .ic { width: 16px; height: 16px; }

/* ─── Envol vers l'onglet Panier + rebond du compteur ─── */
.envol { position: fixed; z-index: 60; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; color: #fff; pointer-events: none;
  background: linear-gradient(160deg, var(--bleu2), var(--bleu)); box-shadow: 0 8px 20px rgba(29,111,224,.4); }
.envol .ic { width: 18px; height: 18px; }
.compteur.panier { background: var(--lagon); }
.compteur.rebond { animation: rebond .5s var(--ressort); }
@keyframes rebond { 0% { transform: scale(1); } 40% { transform: scale(1.6); } 100% { transform: scale(1); } }

/* ─── Panier ─── */
.onglets-panier { margin-bottom: 14px !important; }
.panier-groupe { margin-bottom: 14px; border-radius: var(--r-l); border: 1px solid var(--ligne); background: var(--carte); box-shadow: var(--ombre); overflow: hidden; animation: monte-doux .4s var(--ease) both; }
.panier-groupe header { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--ligne); }
.panier-groupe header > div { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.panier-groupe header small { color: var(--ink3); font-size: var(--t-xs); }
.panier-groupe ul { list-style: none; }
.panier-groupe li { display: flex; align-items: center; gap: 10px; padding: 10px 16px; border-bottom: 1px solid var(--ligne); }
.panier-groupe li.indispo { opacity: .6; }
.panier-groupe li > img, .panier-groupe .vignette { width: 52px; height: 52px; border-radius: 12px; object-fit: cover; flex-shrink: 0; }
.panier-groupe .vignette { display: grid; place-items: center; background: var(--carte2); color: var(--ink3); }
.panier-groupe .corps { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.panier-groupe .corps b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.panier-groupe .corps span { font-size: var(--t-s); color: var(--ink2); }
.qte { display: inline-flex; align-items: center; border-radius: 12px; border: 1px solid var(--ligne); background: var(--carte2); }
.qte button { width: 34px; height: 34px; border: 0; background: transparent; font-size: 18px; font-weight: 800; color: var(--accent-t); }
.qte output { min-width: 22px; text-align: center; font-weight: 800; font-variant-numeric: tabular-nums; }
.panier-groupe footer { display: grid; gap: 10px; padding: 14px 16px; }
.total { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 10px; }
.total b { font-family: var(--font-titre); font-size: 24px; font-weight: 850; font-variant-numeric: tabular-nums; }
.total small { width: 100%; text-align: right; color: var(--ok-t); font-weight: 700; font-size: var(--t-xs); }
.bt.payer { background: linear-gradient(160deg, #1FB985, #0F9A6C); box-shadow: 0 8px 20px rgba(15,154,108,.3); }
@media (max-width: 520px) {
  .panier-groupe li { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; column-gap: 12px; row-gap: 6px; }
  .panier-groupe li > img, .panier-groupe li > .vignette { grid-row: span 2; }
  .panier-groupe li .qte { grid-column: 2; grid-row: 2; justify-self: start; }
  .panier-groupe li > .icb { grid-column: 3; grid-row: 1; }
  .panier-groupe .corps b { white-space: normal; }
}

/* ─── Caisse (démo) ─── */
.caisse { display: grid; gap: 12px; }
.caisse-marchand { color: var(--ink2); font-weight: 700; }
.caisse-total { font-family: var(--font-titre); font-size: 40px; font-weight: 900; letter-spacing: -1px; font-variant-numeric: tabular-nums; }
.caisse-lignes { list-style: none; display: grid; gap: 6px; padding: 12px; border-radius: 14px; background: var(--carte2); font-size: var(--t-s); }
.caisse-lignes li { display: flex; justify-content: space-between; gap: 10px; }
.caisse .choix label { display: flex; align-items: center; gap: 10px; }
.caisse.succes { justify-items: center; text-align: center; padding: 10px 0; }
.rond-ok { display: grid; place-items: center; width: 76px; height: 76px; border-radius: 50%; color: #fff; background: linear-gradient(160deg, #1FB985, #0F9A6C); box-shadow: 0 14px 30px rgba(15,154,108,.35); animation: pop .5s var(--ressort); }
.rond-ok .ic { width: 38px; height: 38px; stroke-width: 2.6; }
@keyframes pop { from { transform: scale(.3); opacity: 0; } to { transform: scale(1); opacity: 1; } }

/* ─── Achats / commandes ─── */
.achats { list-style: none; display: grid; gap: 10px; }
.achats li { display: grid; gap: 4px; padding: 14px 16px; border-radius: var(--r); border: 1px solid var(--ligne); background: var(--carte); animation: monte-doux .4s var(--ease) both; animation-delay: calc(var(--i, 0) * 40ms); }
.achats p { font-size: var(--t-s); color: var(--ink2); }
.achat-tete, .achat-ligne { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.achat-ligne { font-size: var(--t-s); color: var(--ink2); }
.achat-ligne b { color: var(--ink); font-size: var(--t-m); font-variant-numeric: tabular-nums; }
.statut { padding: 3px 9px; border-radius: 999px; font-size: 11.5px; font-weight: 800; }
.statut.ok { color: var(--ok-t); background: var(--ok-fond); }
.statut.attente { color: var(--or-t); background: var(--or-fond); }
.statut.neutre { color: var(--ink2); background: var(--neutre-fond); }
.activer-stripe { border: 1.5px solid var(--or); background: var(--or-fond); }

/* ─── Page personnalisée : éditeur ─── */
.apercu-page { position: relative; overflow: hidden; display: flex; align-items: flex-end; min-height: 150px; padding: 16px; border-radius: var(--r-l); color: #fff;
  background: linear-gradient(135deg, var(--marque), color-mix(in oklab, var(--marque) 55%, #0E2748)); transition: background .3s; }
.apercu-page img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .45; mix-blend-mode: luminosity; }
.apercu-page div { position: relative; display: flex; flex-direction: column; }
.apercu-page b { font-family: var(--font-titre); font-size: 24px; font-weight: 900; letter-spacing: -.4px; }
.apercu-page span { opacity: .9; font-weight: 600; }
.teintes-page { display: flex; flex-wrap: wrap; gap: 10px; }
.teintes-page label { position: relative; width: 40px; height: 40px; border-radius: 50%; background: var(--c); cursor: pointer; box-shadow: inset 0 0 0 2px rgba(255,255,255,.35); }
.teintes-page label input[type="radio"] { position: absolute; opacity: 0; inset: 0; }
.teintes-page label:has(input:checked) { box-shadow: 0 0 0 3px var(--fond), 0 0 0 5px var(--c); }
.teintes-page label:has(input:focus-visible) { outline: 3px solid var(--bleu2); outline-offset: 4px; }
.teintes-page .perso { display: grid; place-items: center; background: conic-gradient(#E11D48, #F59E0B, #16A34A, #0EA5E9, #7C3AED, #E11D48); color: #fff; }
.teintes-page .perso input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }

/* ─── Page personnalisée : vue publique #p-slug ─── */
.page-perso { --marque: var(--bleu); padding-bottom: 20px; }
.page-couverture { position: relative; overflow: hidden; margin: 0 calc(-1 * var(--gout)); padding: 12px var(--gout) 22px; min-height: 260px; display: flex; flex-direction: column; justify-content: space-between;
  color: var(--sur-marque, #fff); background: linear-gradient(140deg, var(--marque), color-mix(in oklab, var(--marque) 50%, #0E2748)); }
.page-couverture.avec-image { color: #fff; }
.page-fond { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: kenburns 18s ease-in-out infinite alternate; }
.page-couverture.avec-image::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.25), rgba(0,0,0,.05) 35%, color-mix(in oklab, var(--marque) 70%, #000) 100%); }
.page-barre, .page-titre { position: relative; z-index: 1; }
.page-barre { display: flex; justify-content: space-between; }
.page-barre .icb { background: rgba(255,255,255,.2); color: inherit; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-color: transparent; }
.page-titre { display: flex; align-items: flex-end; gap: 14px; margin-top: 60px; }
.page-titre .avatar { box-shadow: 0 0 0 3px rgba(255,255,255,.7); }
.page-titre h1 { font-family: var(--font-titre); font-size: clamp(28px, 6vw, 44px); font-weight: 900; letter-spacing: -1px; line-height: 1.05; }
.page-slogan { font-size: var(--t-l); font-weight: 650; opacity: .92; margin: 4px 0 8px; }
.page-titre .etat, .page-titre .note-courte { background: rgba(255,255,255,.9); color: #0F1D33; padding: 3px 8px; border-radius: 999px; }
.page-intro { margin: 18px 0 4px; font-size: var(--t-l); line-height: 1.55; color: var(--ink2); }
.page-cta { display: flex; gap: 10px; flex-wrap: wrap; margin: 16px 0; }
.bt.marque { color: var(--sur-marque, #fff); background: var(--marque); box-shadow: 0 8px 20px color-mix(in oklab, var(--marque) 35%, transparent); }
.page-sommaire { position: sticky; top: 64px; z-index: 5; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin: 0 calc(-1 * var(--gout)); padding: 8px var(--gout);
  background: var(--verre); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--ligne); }
.page-sommaire::-webkit-scrollbar { display: none; }
.page-sommaire a { flex-shrink: 0; padding: 7px 14px; border-radius: 999px; font-weight: 750; font-size: var(--t-s); text-decoration: none; color: var(--ink); background: var(--carte); border: 1px solid var(--ligne); }
.page-sommaire a:hover { border-color: var(--marque); color: var(--marque); }
.page-bloc { padding: 22px 0 6px; scroll-margin-top: 120px; animation: monte-doux .5s var(--ease) both; }
.page-bloc > h2 { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; font-family: var(--font-titre); font-size: var(--t-xl); font-weight: 850; letter-spacing: -.3px; }
.page-bloc > h2 .ic { width: 26px; height: 26px; padding: 5px; border-radius: 9px; color: var(--sur-marque, #fff); background: var(--marque); }
.page-perso .panier-bt { background: var(--marque); color: var(--sur-marque, #fff); box-shadow: none; }
.page-galerie { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; }
.page-galerie button { aspect-ratio: 1; padding: 0; border: 0; border-radius: 16px; overflow: hidden; cursor: zoom-in; background: var(--carte2); animation: monte-doux .45s var(--ease) both; animation-delay: calc(var(--i) * 40ms); }
.page-galerie button:first-child { grid-column: span 2; grid-row: span 2; }
.page-galerie img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.page-galerie button:hover img { transform: scale(1.05); }
.page-pied { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 28px; padding: 16px; border-radius: 16px; font-size: var(--t-s); color: var(--ink2); background: var(--neutre-fond); }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.1) translate(-2%, -2%); } }
@media (min-width: 1000px) { .page-couverture { margin: 0; border-radius: 0 0 var(--r-l) var(--r-l); min-height: 320px; } .page-sommaire { top: 0; margin: 0; } }

/* ─── QR code ─── */
.qr-bloc { display: grid; gap: 12px; justify-items: center; text-align: center; }
.qr-bloc h3 { justify-self: start; }
#qr-canvas { width: min(260px, 70vw); height: auto; aspect-ratio: 1; border-radius: 18px; background: #fff; padding: 6px; box-shadow: var(--ombre); image-rendering: pixelated; }
.copiable { display: flex; align-items: center; gap: 8px; max-width: 100%; padding: 10px 12px; border-radius: 12px; background: var(--carte2); font-family: var(--mono); font-size: 12.5px; color: var(--ink2); }
.copiable span { overflow-wrap: anywhere; text-align: left; }

/* ─── Espace pro : options à la carte ─── */
.options-pro { display: grid; gap: 10px; margin-bottom: 10px; }
.option-pro { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border-radius: var(--r); border: 1px solid var(--ligne); background: var(--carte); animation: monte-doux .45s var(--ease) both; animation-delay: calc(var(--i) * 50ms); }
.option-pro > .ic { width: 42px; height: 42px; padding: 10px; border-radius: 14px; color: #fff; background: linear-gradient(150deg, var(--lagon), #0E7490); }
.option-pro b { display: block; font-size: var(--t-l); }
.prix-opt { display: inline-block; margin: 2px 0 6px; font-size: var(--t-xs); font-weight: 800; color: var(--or-t); background: var(--or-fond); padding: 2px 8px; border-radius: 999px; }
.option-pro p { font-size: var(--t-s); color: var(--ink2); }
@media (min-width: 760px) { .options-pro { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ─── Guides illustrés ─── */
.guide .accroche h1 { display: flex; align-items: center; gap: 12px; }
.guide .accroche h1 .ic { width: 34px; height: 34px; color: var(--accent-t); }
.guide > .segment { margin-bottom: 18px; }
.schema { margin: 0 0 14px; padding: 16px; border-radius: var(--r-l); border: 1px solid var(--ligne); background: var(--carte); box-shadow: var(--ombre); }
.schema svg { display: block; width: 100%; max-width: 520px; margin: 0 auto; }
.schema figcaption { margin-top: 8px; text-align: center; font-size: var(--t-s); color: var(--ink2); }
.sch-hyphe { fill: none; stroke: var(--lagon); stroke-width: 2.2; stroke-linecap: round; stroke-dasharray: 5 7; opacity: .75; animation: seve 2.4s linear infinite; animation-delay: calc(var(--i) * -.4s); }
@keyframes seve { to { stroke-dashoffset: -48; } }
.sch-noeud > circle { fill: var(--carte2); stroke: var(--ligne); stroke-width: 1.5; }
.sch-noeud .sch-ic { color: var(--ink2); }
.sch-noeud text { font-family: var(--font-titre); font-size: 15px; font-weight: 850; fill: var(--ink); }
.sch-noeud .sch-sous { font-size: 11px; font-weight: 750; fill: var(--ink2); }
.sch-noeud.centre > circle { fill: var(--bleu); stroke: none; filter: drop-shadow(0 8px 14px rgba(29,111,224,.35)); }
.sch-noeud.centre text { fill: #fff; font-size: 14px; }
.sch-noeud.vous > circle { fill: var(--or-fond); stroke: var(--or); stroke-width: 2.5; }
.sch-noeud.vous .sch-ic { color: var(--or-t); }
.sch-noeud.centre > circle { animation: pouls 3s ease-in-out infinite; transform-origin: 180px 150px; }
@keyframes pouls { 50% { transform: scale(1.05); } }
.flux { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-bottom: 18px; counter-reset: f; }
.flux li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 12px 8px; border-radius: var(--r); background: var(--carte); border: 1px solid var(--ligne); text-align: center; }
.flux li:not(:last-child)::after { content: '›'; position: absolute; right: -9px; top: 50%; transform: translateY(-50%); font-size: 20px; font-weight: 900; color: var(--lagon); z-index: 1; }
.flux .ic { width: 24px; height: 24px; color: var(--accent-t); }
.flux b { font-size: var(--t-s); }
.flux small { font-size: 11px; color: var(--ink3); line-height: 1.3; }
.etapes-guide { list-style: none; display: grid; gap: 16px; margin-bottom: 18px; }
.etape-guide { display: grid; gap: 14px; padding: 16px; border-radius: var(--r-l); border: 1px solid var(--ligne); background: var(--carte); box-shadow: var(--ombre); animation: monte-doux .5s var(--ease) both; animation-delay: calc(var(--i) * 60ms); }
.etape-texte { display: flex; gap: 12px; align-items: flex-start; }
.etape-num { flex-shrink: 0; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; font-weight: 900; color: #fff; background: linear-gradient(160deg, var(--bleu2), var(--bleu)); }
.etape-texte h2 { font-family: var(--font-titre); font-size: var(--t-l); font-weight: 850; margin-bottom: 4px; }
.etape-texte p { color: var(--ink2); font-size: var(--t-s); margin-bottom: 8px; }
.legendes { display: grid; gap: 5px; padding: 0; list-style: none; counter-reset: l; }
.legendes li { counter-increment: l; display: flex; gap: 8px; align-items: center; font-size: var(--t-s); font-weight: 650; }
.legendes li::before { content: counter(l); flex-shrink: 0; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; font-size: 12px; font-weight: 900; color: #2A1B00; background: var(--or2); box-shadow: 0 0 0 2px var(--carte); }
.capture { justify-self: center; width: min(300px, 100%); }
.ecran { position: relative; border-radius: 26px; overflow: hidden; border: 6px solid #0F1D33; background: #0F1D33; box-shadow: var(--ombre-forte); }
.ecran img { width: 100%; height: 100%; object-fit: cover; }
.repere { position: absolute; transform: translate(-50%, -50%); display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; font-size: 14px; font-weight: 900; color: #2A1B00;
  background: var(--or2); box-shadow: 0 0 0 3px #fff, 0 6px 14px rgba(0,0,0,.35); animation: repere .6s var(--ressort) both; animation-delay: calc(.3s + var(--i) * .15s); }
.repere::after { content: ''; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--or2); animation: onde 2s ease-out infinite; animation-delay: calc(var(--i) * .3s); }
@keyframes repere { from { transform: translate(-50%, -50%) scale(0); } to { transform: translate(-50%, -50%) scale(1); } }
@keyframes onde { from { transform: scale(.8); opacity: .9; } to { transform: scale(1.8); opacity: 0; } }
@media (min-width: 760px) {
  .etape-guide { grid-template-columns: minmax(0, 1fr) 280px; align-items: center; padding: 22px; }
  .etape-guide:nth-child(even) .capture { order: -1; }
}
.voir-cats { display: block; margin: 8px auto 0; }

/* Garde-fou : animations clé partagées (définies aussi ailleurs) */
@keyframes monte-doux { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
a.bt { text-decoration: none; }

/* ─── Guide « Encaisser en ligne avec Stripe » ─── */
.schema-argent svg { max-width: 460px; color: var(--ink); }
.arg-noeud rect { fill: var(--carte2); stroke: var(--ligne); stroke-width: 1.5; }
.arg-noeud.vous rect { fill: color-mix(in srgb, var(--bleu) 14%, var(--carte)); stroke: var(--bleu); }
.arg-noeud.stripe rect { fill: color-mix(in srgb, #635BFF 12%, var(--carte)); }
.arg-noeud.mycell rect { fill: color-mix(in srgb, var(--lagon) 12%, var(--carte)); stroke-dasharray: 4 3; }
.arg-noeud g { color: var(--bleu); }
.arg-t { font: 800 12.5px var(--font, system-ui); fill: var(--ink); }
.arg-s { font: 600 10px var(--font, system-ui); fill: var(--ink2); }
.arg-fl { fill: none; stroke: var(--bleu); stroke-width: 2.4; color: var(--bleu); }
.arg-fl.abo { stroke: var(--lagon); stroke-dasharray: 5 4; color: var(--lagon); }
.arg-l { font: 700 10px var(--font, system-ui); fill: var(--ink2); }
.arg-l.abo { fill: var(--lagon); }
.arg-barre { stroke: #DC2626; stroke-width: 2; stroke-dasharray: 2 3; }
.avant-stripe, .faq-stripe { margin: 0 0 18px; padding: 16px; border-radius: var(--r-l); border: 1px solid var(--ligne); background: var(--carte); }
.avant-stripe h2, .faq-stripe h2 { font-size: 17px; margin: 0 0 10px; }
.avant-stripe ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.avant-stripe li { display: flex; gap: 10px; align-items: flex-start; }
.avant-stripe li > svg, .avant-stripe li > .ic { width: 22px; height: 22px; color: var(--accent-t, var(--bleu)); flex-shrink: 0; margin-top: 2px; }
.avant-stripe li div { display: grid; }
.avant-stripe small { color: var(--ink2); }
.memo-stripe { margin-top: 10px; padding: 12px 14px; border-radius: var(--r); background: var(--carte2); border-left: 4px solid var(--bleu); }
.memo-stripe > b { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.memo-stripe > b svg, .memo-stripe > b .ic { width: 18px; height: 18px; color: var(--bleu); }
.memo-stripe dl { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: 4px 10px; font-size: 14px; }
.memo-stripe dt { font-weight: 800; }
.memo-stripe dd { margin: 0; color: var(--ink2); }
.faq-stripe details { border-top: 1px solid var(--ligne); padding: 10px 0; }
.faq-stripe summary { cursor: pointer; font-weight: 700; min-height: 28px; }
.faq-stripe p { margin: 6px 0 0; color: var(--ink2); }
@media (max-width: 560px) { .memo-stripe dl { grid-template-columns: 1fr; } .memo-stripe dd { margin-bottom: 6px; } }

/* Mes achats : liens et accès au centre de suivi (build mycell-2026-10-04-2) */
.achat-liens { display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: center; }
.achat-liens .lien { display: inline-flex; align-items: center; gap: 5px; min-height: 36px; }
.achat-liens svg, .achats-suivi svg { width: 16px; height: 16px; }
.achats-suivi { margin: 0 0 10px; }
.achats-suivi .lien { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; }

/* Passerelle de secours : paiement en ligne indisponible → réserver, payer au retrait */
.secours-paiement { display: flex; flex-direction: column; gap: 10px; text-align: center; align-items: center; padding: 4px 0 8px; }
.secours-paiement .rond-info { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: rgba(242,181,68,.18); color: var(--jaune2, #E39A2B); }
.secours-paiement .rond-info svg { width: 28px; height: 28px; }
.secours-paiement .rang-bt { display: flex; flex-direction: column; gap: 8px; width: 100%; margin-top: 6px; }

/* ═══ Panier multi-boutiques (0028) : cocher, un seul « Payer », moyen, adresse ═══ */
.panier-astuce { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 12px; padding: 12px 14px; border-radius: var(--r); background: var(--ok-fond); color: var(--ok-t); font-size: var(--t-s); }
.panier-astuce .ic { width: 18px; height: 18px; flex-shrink: 0; margin-top: 1px; }
.panier-case { position: relative; display: grid; place-items: center; width: 44px; height: 44px; flex-shrink: 0; margin: -6px -4px -6px -8px; cursor: pointer; }
.panier-case input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.panier-case span { pointer-events: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 9px; border: 2px solid var(--ink3); background: var(--carte); color: transparent; transition: background .2s, border-color .2s, transform .2s var(--ressort, ease); }
.panier-case span .ic { width: 18px; height: 18px; stroke-width: 3; }
.panier-case input:checked + span { background: var(--vert); border-color: var(--vert); color: #fff; transform: scale(1.06); }
.panier-case input:focus-visible + span { outline: 3px solid var(--bleu2); outline-offset: 2px; }
.panier-groupe.payable:not(.coche) { opacity: .8; }
.panier-groupe.coche { border-color: color-mix(in srgb, var(--vert) 45%, var(--ligne)); box-shadow: 0 0 0 1px color-mix(in srgb, var(--vert) 30%, transparent), var(--ombre); }
.panier-coche-note { display: inline-flex; align-items: center; gap: 6px; font-size: var(--t-s); font-weight: 700; color: var(--ok-t); }
.panier-coche-note .ic { width: 16px; height: 16px; }
.barre-payer { position: sticky; bottom: calc(78px + env(safe-area-inset-bottom, 0px)); z-index: 5; display: flex; align-items: center; gap: 12px; margin-top: 6px; padding: 12px 12px 12px 18px;
  border-radius: 22px; background: var(--verre); border: 1px solid var(--ligne); box-shadow: 0 16px 40px -14px rgba(15,45,90,.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4); }
.barre-payer-texte { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.barre-payer-texte b { font-size: var(--t-l); font-weight: 900; }
.barre-payer-texte small { font-size: var(--t-xs); color: var(--ink3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.barre-payer .bt { min-height: 50px; padding: 0 22px; font-size: var(--t-m); }
@media (min-width: 1000px) { .barre-payer { bottom: 16px; } }

.caisse-multi { gap: 14px; }
.caisse-bloc { padding: 14px; border-radius: var(--r); background: var(--carte); border: 1px solid var(--ligne); }
.caisse-bloc h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; font-size: var(--t-m); }
.caisse-bloc h3 .ic { width: 18px; height: 18px; color: var(--accent-t); }
.caisse-multi .caisse-lignes li span { display: flex; flex-direction: column; min-width: 0; }
.caisse-multi .caisse-lignes small { color: var(--ink3); font-size: var(--t-xs); }
.caisse-total-ligne { display: flex; justify-content: space-between; align-items: baseline; margin: 10px 0 0; padding-top: 10px; border-top: 1px dashed var(--ligne); }
.caisse-total-ligne b { font-size: var(--t-xl); font-weight: 900; }
.adresse-carte { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.adresse-carte p { margin: 0; line-height: 1.5; }
.adresse-carte small { color: var(--ink3); }
.form-adresse { display: grid; gap: 4px; }
.adresse-ligne { display: grid; grid-template-columns: 120px 1fr; gap: 10px; }
.moyens { display: grid; gap: 8px; }
.moyen { position: relative; display: flex; align-items: center; gap: 12px; min-height: 58px; padding: 8px 12px; border: 1.5px solid var(--ligne); border-radius: 16px; background: var(--carte2); cursor: pointer; transition: border-color .2s, background .2s; }
.moyen input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.moyen:has(input:checked) { border-color: var(--bleu); background: color-mix(in srgb, var(--bleu) 8%, var(--carte)); box-shadow: 0 0 0 3px color-mix(in srgb, var(--bleu) 18%, transparent); }
.moyen:has(input:focus-visible) { outline: 3px solid var(--bleu2); outline-offset: 2px; }
.moyen.off { opacity: .5; cursor: not-allowed; }
.moyen span:last-child { display: flex; flex-direction: column; min-width: 0; }
.moyen small { color: var(--ink3); font-size: var(--t-xs); }
.logo-pay { display: inline-grid; place-items: center; min-width: 84px; height: 36px; padding: 0 8px; border-radius: 9px; font-weight: 800; font-size: 12.5px; letter-spacing: -.01em; flex-shrink: 0; }
.logo-pay.apple { background: #000; color: #fff; }
.logo-pay.apple b { font-weight: 700; }
.logo-pay.google { background: #fff; color: #3C4043; border: 1px solid #DADCE0; }
.logo-pay.trois { background: linear-gradient(135deg, #ff6aa8, #8b5cf6); color: #fff; font-weight: 900; }
.logo-pay.samsung { background: #1428A0; color: #fff; }
.logo-pay.carte, .logo-pay.resto { background: var(--neutre-fond); font-size: 22px; }
.caisse-note { display: flex; gap: 10px; margin: 0; padding: 12px 14px; border-radius: var(--r); background: var(--neutre-fond); font-size: var(--t-s); color: var(--ink2); }
.caisse-note .ic { width: 18px; height: 18px; flex-shrink: 0; margin-top: 1px; }
.recap-boutiques { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; text-align: left; }
.recap-boutiques li { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 14px; background: var(--carte2); }
.recap-boutiques li .ic { width: 20px; height: 20px; flex-shrink: 0; }
.recap-boutiques li.ok .ic { color: var(--vert); }
.recap-boutiques li.ko .ic { color: var(--ambre); }
.recap-boutiques span { display: flex; flex-direction: column; }
.recap-boutiques small { color: var(--ink3); font-size: var(--t-xs); }
.suite { display: grid; gap: 16px; max-width: 560px; }
.suite-etapes { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.suite-etapes li { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 16px; background: var(--carte); border: 1px solid var(--ligne); }
.suite-etapes li span:last-child { display: flex; flex-direction: column; }
.suite-etapes small { color: var(--ink3); font-size: var(--t-xs); }
.suite-pastille { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; flex-shrink: 0; background: var(--neutre-fond); font-weight: 800; color: var(--ink2); }
.suite-pastille .ic { width: 18px; height: 18px; }
.suite-etapes li.fait .suite-pastille { background: var(--vert); color: #fff; }
.suite-etapes li.ko .suite-pastille, .suite-etapes li.stop .suite-pastille { background: var(--ko-fond); color: var(--ko-t); }
.suite-suivante { display: flex; gap: 12px; align-items: center; padding: 14px; border-radius: var(--r); background: var(--ok-fond); color: var(--ok-t); }
.suite-suivante p { margin: 0; }
.roue-petite { width: 22px; height: 22px; flex-shrink: 0; border-radius: 50%; border: 3px solid color-mix(in srgb, var(--ok-t) 25%, transparent); border-top-color: var(--ok-t); animation: roue-p .9s linear infinite; }
@keyframes roue-p { to { transform: rotate(360deg); } }
@media (max-width: 420px) { .adresse-ligne { grid-template-columns: 1fr; gap: 0; } }

/* Commande reçue (espace entreprise) : où livrer, payé comment */
.achat-livraison { display: flex; align-items: flex-start; gap: 8px; margin-top: 4px; padding: 10px 12px; border-radius: 12px; background: var(--carte2, var(--neutre-fond)); border: 1px dashed var(--ligne); font-size: var(--t-s); line-height: 1.45; color: var(--ink2); }
.achat-livraison > .ic { flex: none; width: 18px; height: 18px; margin-top: 2px; color: var(--accent-t); }
.achat-livraison span { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.achat-livraison b { display: block; color: var(--ink); }
.achat-livraison small { display: block; margin-top: 2px; font-style: italic; color: var(--ink3); }
.achat-livraison a { color: var(--accent-t); font-weight: 700; }
.achat-moyen { flex: none; align-self: flex-start; padding: 2px 9px; border-radius: 99px; font-style: normal; font-size: 11.5px; font-weight: 800; background: var(--neutre-fond); color: var(--ink2); }
/* Panier / Mes achats : l'entrée vers « Mon parcours » */
.pc-entree { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; padding: 12px 14px; border-radius: var(--r-l); text-decoration: none; color: #fff;
  background: linear-gradient(135deg, #2563EB, #7C3AED); box-shadow: 0 12px 26px -14px rgba(37, 99, 235, .9); }
.pc-entree > span:first-child { font-size: 28px; }
.pc-entree b { display: block; font-size: 15.5px; }
.pc-entree small { display: block; opacity: .9; font-size: 12.5px; }
.pc-entree .ic { margin-left: auto; width: 20px; height: 20px; }
