/* LaVenda : habillage premium animé de l'espace client et des pages publiques (s'ajoute à /compte/compte.css).
   Couleurs du logo : vert émeraude #086B5B, or miel #C99608. Tout mouvement s'arrête avec « réduire les animations ». */
body.lv {
  --accent: #086b5b; --accent-dark: #065347; --accent-soft: #e2f3ef; --gold: #c99608; --gold-soft: #fbf3dd; --emerald-deep: #04362e;
  --navy: #0b3b34; --navy-deep: #052a24; --mist: #f3f8f6;
  background: radial-gradient(1100px 520px at 90% -8%, rgba(201, 150, 8, .10), transparent 60%), radial-gradient(900px 480px at -10% 0, rgba(8, 107, 91, .10), transparent 55%), #f6faf8;
}
.lv main { animation: lvIn .55s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes lvIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* En-tête : verre dépoli et filet doré animé */
.lv .top { background: rgba(255, 255, 255, .82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); position: sticky; top: 0; z-index: 30; border-bottom: 0; box-shadow: 0 6px 24px rgba(5, 42, 36, .06); }
.lv .top::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: linear-gradient(90deg, #086b5b, #c99608, #086b5b); background-size: 200% 100%; animation: lvFlow 6s linear infinite; }
@keyframes lvFlow { to { background-position: 200% 0; } }
.lv .brand img { height: 36px; width: auto; transition: transform .35s ease; }
.lv .brand:hover img { transform: scale(1.04) rotate(-1deg); }
.lv .brand span { display: none; }
.lv .menu a, .lv .menu button.link { position: relative; }
.lv .menu a::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: 2px; height: 2px; border-radius: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .3s ease; }
.lv .menu a:hover::after, .lv .menu a.on::after { transform: scaleX(1); }

/* Boutons : dégradé émeraude, reflet doré au survol */
.lv .btn { position: relative; overflow: hidden; background: linear-gradient(135deg, #086b5b, #0b8a74); border: 0; border-radius: 12px; transition: transform .2s ease, box-shadow .25s ease; box-shadow: 0 8px 20px rgba(8, 107, 91, .28); }
.lv .btn::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .35) 50%, transparent 70%); transform: translateX(-120%); transition: transform .7s ease; }
.lv .btn:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(8, 107, 91, .35); }
.lv .btn:hover::after { transform: translateX(120%); }
.lv .btn.outline { background: #fff; color: var(--accent); border: 1px solid rgba(8, 107, 91, .35); box-shadow: none; }
.lv .btn.outline:hover { background: var(--accent-soft); }
.lv .btn.gold { background: linear-gradient(135deg, #c99608, #e3b72c); color: #2a1e00; box-shadow: 0 10px 26px rgba(201, 150, 8, .38); }
.lv .btn.gold:hover { box-shadow: 0 14px 34px rgba(201, 150, 8, .5); }
.lv .card { transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.lv .card:hover { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(5, 42, 36, .10); }

/* Accueil : bandeau héros */
.lv-hero { position: relative; overflow: hidden; border-radius: 28px; padding: clamp(28px, 6vw, 64px); color: #fff; background: linear-gradient(135deg, #04362e 0%, #086b5b 58%, #0d8a73 100%); box-shadow: 0 30px 70px rgba(5, 42, 36, .28); }
.lv-hero .wrap2 { position: relative; z-index: 2; display: grid; gap: 28px; grid-template-columns: 1.15fr .85fr; align-items: center; }
.lv-hero h1 { color: #fff; font-size: clamp(28px, 5.2vw, 52px); line-height: 1.08; margin: 10px 0 14px; letter-spacing: -.02em; }
.lv-hero h1 em { font-style: normal; background: linear-gradient(90deg, #f6d36b, #c99608); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lv-hero .kicker { color: #f1cf63; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: 12px; }
.lv-hero p { color: rgba(255, 255, 255, .86); font-size: clamp(15px, 2.2vw, 18px); max-width: 560px; }
.lv-hero .cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.lv-hero .btn.gold { font-size: 16px; padding: 14px 24px; animation: lvPulse 3s ease-in-out infinite; }
@keyframes lvPulse { 0%, 100% { box-shadow: 0 10px 26px rgba(201, 150, 8, .38); } 50% { box-shadow: 0 10px 40px rgba(201, 150, 8, .65); } }
.lv-hero .btn.ghost { background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .4); color: #fff; box-shadow: none; }
.lv-hero .btn.ghost:hover { background: rgba(255, 255, 255, .22); }
.lv-hero .logo-card { background: #fff; border-radius: 22px; padding: 22px; box-shadow: 0 24px 60px rgba(0, 0, 0, .3); animation: lvFloat 6s ease-in-out infinite; }
.lv-hero .logo-card img { display: block; width: 100%; height: auto; }
@keyframes lvFloat { 0%, 100% { transform: translateY(0) rotate(-.6deg); } 50% { transform: translateY(-12px) rotate(.6deg); } }
.lv-orb { position: absolute; border-radius: 50%; filter: blur(2px); z-index: 1; opacity: .5; }
.lv-orb.o1 { width: 260px; height: 260px; right: -60px; top: -80px; background: radial-gradient(circle at 30% 30%, #f1cf63, rgba(201, 150, 8, 0)); animation: lvDrift 12s ease-in-out infinite; }
.lv-orb.o2 { width: 180px; height: 180px; left: 38%; bottom: -70px; background: radial-gradient(circle at 30% 30%, #5ee0c5, rgba(8, 107, 91, 0)); animation: lvDrift 15s ease-in-out infinite reverse; }
.lv-orb.o3 { width: 90px; height: 90px; left: 6%; top: 12%; background: radial-gradient(circle at 30% 30%, #f1cf63, rgba(201, 150, 8, 0)); animation: lvDrift 9s ease-in-out infinite; }
@keyframes lvDrift { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(-18px, 22px) scale(1.12); } }
@media (max-width: 800px) { .lv-hero .wrap2 { grid-template-columns: 1fr; } .lv-hero .logo-card { max-width: 340px; } }

/* Listes « disponible » / « en développement » */
.lv-cols { display: grid; gap: 18px; grid-template-columns: 1fr 1fr; margin-top: 26px; }
@media (max-width: 800px) { .lv-cols { grid-template-columns: 1fr; } }
.lv-list { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 10px; }
.lv-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.lv-list li::before { content: "✓"; flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 700; color: #fff; background: var(--accent); margin-top: 1px; }
.lv-list.soon li::before { content: "•"; background: var(--gold); color: #fff; }
.lv-pill { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.lv-pill.now { background: var(--accent-soft); color: var(--accent-dark); }
.lv-pill.soon { background: var(--gold-soft); color: #7a5a00; }
.lv-band { margin-top: 26px; border-radius: 22px; padding: 22px 26px; background: linear-gradient(135deg, #fffaf0, #f3f8f6); border: 1px solid rgba(201, 150, 8, .35); }
.lv-band h2 { margin-top: 0; }

/* Apparition au défilement */
.lv-reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.lv-reveal.in { opacity: 1; transform: none; }
.lv-list.in li { animation: lvPop .5s both; }
.lv-list.in li:nth-child(2) { animation-delay: .06s; } .lv-list.in li:nth-child(3) { animation-delay: .12s; } .lv-list.in li:nth-child(4) { animation-delay: .18s; }
.lv-list.in li:nth-child(5) { animation-delay: .24s; } .lv-list.in li:nth-child(6) { animation-delay: .3s; }
@keyframes lvPop { from { opacity: 0; transform: translateX(-10px); } to { opacity: 1; transform: none; } }

/* Lien, partage, QR code */
.lv-linkbox { display: flex; gap: 8px; flex-wrap: wrap; align-items: stretch; }
.lv-linkbox input[readonly] { flex: 1; min-width: 200px; font-family: ui-monospace, Consolas, monospace; background: #f7faf9; }
.lv-slugrow { display: flex; align-items: stretch; gap: 0; flex-wrap: wrap; }
.lv-slugrow .pre { display: inline-flex; align-items: center; padding: 0 12px; background: var(--accent-soft); color: var(--accent-dark); border: 1px solid var(--line); border-right: 0; border-radius: 10px 0 0 10px; font-size: 14px; white-space: nowrap; }
.lv-slugrow input { flex: 1; min-width: 140px; border-radius: 0 10px 10px 0 !important; }
.lv-av { min-height: 22px; margin-top: 6px; font-size: 14px; font-weight: 600; color: var(--muted); }
.lv-av.ok { color: #0a7a3e; } .lv-av.bad { color: var(--danger); } .lv-av.own { color: var(--accent-dark); }
.lv-av::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 8px; background: currentColor; vertical-align: middle; }
.lv-av.checking::before { animation: lvBlink 1s infinite; }
@keyframes lvBlink { 50% { opacity: .2; } }
.lv-share { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.lv-share a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; font-size: 14px; font-weight: 600; text-decoration: none; color: #fff; transition: transform .2s ease; }
.lv-share a:hover { transform: translateY(-2px); }
.lv-share .wa { background: #1faa59; } .lv-share .fb { background: #1877f2; }
.lv-qrbox { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; margin-top: 14px; }
.lv-qrbox canvas { border-radius: 14px; border: 1px solid var(--line); background: #fff; padding: 6px; max-width: 100%; height: auto; }
.lv-st { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.lv-st.published { background: var(--accent-soft); color: var(--accent-dark); } .lv-st.draft { background: var(--gold-soft); color: #7a5a00; } .lv-st.disabled, .lv-st.moderated { background: #fdecea; color: #b42318; }

/* Pages publiques du vendeur */
.lv-pub-head { text-align: center; padding: 30px 0 8px; }
.lv-pub-head h1 { margin: 0 0 6px; }
.lv-pub-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); margin-top: 22px; }
.lv-powered { text-align: center; margin: 34px 0 6px; font-size: 13px; color: var(--muted); }
.lv-powered img { height: 22px; vertical-align: middle; margin-left: 6px; opacity: .9; }

@media (prefers-reduced-motion: reduce) {
  .lv *, .lv *::before, .lv *::after { animation: none !important; transition: none !important; }
  .lv-reveal { opacity: 1; transform: none; }
}

/* ---------- Pages et textes fins, boutons fins et alignés, aucun débordement (téléphone, tablette, ordinateur) ---------- */
html:has(body.lv) { overflow-x: clip; }
.lv { font-size: 15px; line-height: 1.6; font-weight: 400; -webkit-text-size-adjust: 100%; }
.lv *, .lv *::before, .lv *::after { min-width: 0; }
.lv img, .lv canvas, .lv video, .lv svg { max-width: 100%; }
.lv h1, .lv h2, .lv h3 { font-weight: 600; letter-spacing: -.01em; line-height: 1.2; overflow-wrap: anywhere; }
.lv h1 { font-size: clamp(22px, 4.6vw, 30px); margin: 18px 0 8px; }
.lv h2 { font-size: clamp(18px, 3.6vw, 21px); }
.lv h3 { font-size: 16px; }
.lv .lead { font-size: 15px; font-weight: 400; color: var(--muted); }
.lv b, .lv strong { font-weight: 600; }
.lv .hint, .lv code, .lv .key { overflow-wrap: anywhere; word-break: break-word; }
.lv .hint { font-size: 13px; }
.lv main { padding-left: 16px; padding-right: 16px; }
.lv .narrow { max-width: 560px; margin-left: auto; margin-right: auto; }
.lv .card { border: 1px solid var(--line); border-radius: 16px; padding: 18px; box-shadow: 0 2px 10px rgba(5, 42, 36, .04); }
.lv .tablewrap { overflow-x: auto; -webkit-overflow-scrolling: touch; padding: 4px 0; }
.lv .tablewrap table { width: 100%; font-size: 14px; border-collapse: collapse; }
.lv .tablewrap th { font-weight: 500; color: var(--muted); font-size: 12px; text-align: left; white-space: nowrap; }
.lv .tablewrap th, .lv .tablewrap td { padding: 9px 10px; }

/* Boutons fins et alignés */
.lv .btn { padding: 8px 16px; min-height: 38px; font-size: 14px; font-weight: 500; line-height: 1.2; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; text-decoration: none; box-shadow: 0 4px 12px rgba(8, 107, 91, .2); }
.lv .btn.small, .lv .btn.small.outline { padding: 5px 12px; min-height: 32px; font-size: 13px; border-radius: 9px; }
.lv .btn.block { display: flex; width: 100%; }
.lv .btn.gold { box-shadow: 0 6px 18px rgba(201, 150, 8, .32); }
.lv .menu button.link { font: inherit; font-weight: 500; }
.lv-hero .btn.gold { padding: 11px 20px; font-size: 15px; font-weight: 600; }
.lv .cta, .lv .lv-share, .lv .lv-linkbox, .lv .row-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.lv td form { display: inline-flex; margin: 0; vertical-align: middle; }
.lv td .btn + form, .lv td form + .btn { margin-left: 4px; }
.lv-share a { padding: 6px 14px; font-size: 13px; font-weight: 500; }
.lv-linkbox .btn { flex: none; }

/* Champs fins */
.lv input, .lv select, .lv textarea { font: inherit; font-size: 15px; font-weight: 400; min-height: 40px; max-width: 100%; border-width: 1px; border-radius: 10px; }
.lv label { font-weight: 500; font-size: 14px; }
.lv-slugrow { flex-wrap: nowrap; }
.lv-slugrow .pre { font-size: 13px; }

/* En-tête : le menu passe à la ligne au lieu de déborder */
.lv .bar { flex-wrap: wrap; gap: 6px 14px; }
.lv .menu { flex-wrap: wrap; gap: 2px 4px; justify-content: flex-end; }
.lv .menu a, .lv .menu button.link { padding: 6px 10px; font-size: 14px; font-weight: 500; }

@media (max-width: 720px) {
  .lv main { padding-left: 14px; padding-right: 14px; }
  .lv .bar { justify-content: space-between; }
  .lv .menu { width: 100%; justify-content: flex-start; }
  .lv .brand img { height: 30px; }
  .lv-hero { border-radius: 20px; padding: 24px 18px; }
  .lv-hero h1 { font-size: clamp(24px, 7vw, 32px); }
  .lv-hero p { font-size: 15px; }
  .lv-hero .cta .btn { flex: 1 1 100%; }
  .lv-hero .logo-card { padding: 14px; }
  .lv-slugrow { flex-wrap: wrap; }
  .lv-slugrow .pre { width: 100%; border-right: 1px solid var(--line); border-bottom: 0; border-radius: 10px 10px 0 0; padding: 6px 12px; }
  .lv-slugrow input { width: 100%; flex: 1 1 100%; border-radius: 0 0 10px 10px !important; }
  .lv-linkbox input[readonly] { flex: 1 1 100%; min-width: 0; }
  .lv-linkbox .btn, .lv-qrbox .btn { flex: 1 1 100%; }
  .lv input, .lv select, .lv textarea { font-size: 16px; } /* évite le zoom automatique sur iPhone */
  .lv .tablewrap table { min-width: 460px; }
}
@media (min-width: 721px) and (max-width: 1024px) {
  .lv main { padding-left: 24px; padding-right: 24px; }
  .lv-hero .wrap2 { grid-template-columns: 1.1fr .9fr; }
}
.lv .menu .lang-menu { margin-left: auto; }
.lv .lang-menu ul { max-width: calc(100vw - 28px); }

/* Menu : sur téléphone et tablette, un bouton « Menu » fin déplie la liste ; sur ordinateur, les liens restent affichés */
.lv .lv-nav { margin-left: auto; }
.lv .lv-nav > summary { display: none; list-style: none; cursor: pointer; align-items: center; gap: 8px; padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--accent-dark); background: #fff; min-height: 36px; }
.lv .lv-nav > summary::-webkit-details-marker { display: none; }
.lv .lv-nav > summary:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
@media (max-width: 900px) {
  .lv .bar { flex-wrap: nowrap; align-items: center; gap: 10px; position: relative; }
  .lv .lv-nav { margin-left: auto; position: static; }
  .lv .lv-nav > summary { display: inline-flex; }
  .lv .lv-nav .menu { position: absolute; left: 0; right: 0; top: 100%; z-index: 40; flex-direction: column; align-items: stretch; width: auto; gap: 2px; padding: 8px 14px 14px; background: rgba(255, 255, 255, .98); border-bottom: 1px solid var(--line); box-shadow: 0 16px 30px rgba(5, 42, 36, .12); animation: lvIn .25s ease both; }
  .lv .lv-nav .menu a, .lv .lv-nav .menu button.link { padding: 11px 10px; min-height: 42px; display: flex; align-items: center; border-radius: 10px; text-align: left; }
  .lv .lv-nav .menu a::after { display: none; }
  .lv .lv-nav .menu .lang-menu { margin-left: 0; }
  .lv .lv-nav:not([open]) .menu { display: none; }
}

/* Produits, commande, ventes et solde */
.lv-kpis { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); margin: 6px 0 4px; }
.lv-kpis .card { padding: 14px 16px; }
.lv-big { display: block; font-size: clamp(18px, 4.4vw, 22px); font-weight: 600; color: var(--accent-dark); margin-top: 4px; overflow-wrap: anywhere; }
.lv label.check.lv-method { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; margin: 6px 0; background: #fff; cursor: pointer; }
.lv label.check.lv-method:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }

/* Galerie de modèles */
.lv-chips { display: flex; gap: 8px; overflow-x: auto; padding: 4px 0 12px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.lv-chips::-webkit-scrollbar { display: none; }
.lv-chip { flex: none; padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font: inherit; font-size: 13px; font-weight: 500; color: var(--accent-dark); cursor: pointer; transition: background .2s, transform .2s; }
.lv-chip:hover { transform: translateY(-1px); }
.lv-chip.on { background: var(--accent); color: #fff; border-color: var(--accent); }
.lv-gallery { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.lv-tpl { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.lv-tpl[hidden] { display: none; }
.lv-thumb { position: relative; height: 210px; overflow: hidden; background: #eef3f1; border-bottom: 1px solid var(--line); }
.lv-thumb iframe { position: absolute; top: 0; left: 0; width: 400%; height: 400%; border: 0; transform: scale(.25); transform-origin: top left; pointer-events: none; background: #f4f7fa; }
.lv-tpl-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.lv-tpl-body h3 { margin: 4px 0 0; font-size: 15px; }
.lv-tpl-body .hint { margin: 0 0 6px; flex: 1; }
.lv-modal { width: min(96vw, 980px); max-height: 94vh; padding: 0; border: 0; border-radius: 18px; box-shadow: 0 30px 80px rgba(5, 42, 36, .4); overflow: hidden; }
.lv-modal::backdrop { background: rgba(5, 42, 36, .55); backdrop-filter: blur(3px); }
.lv-modal[open] { display: flex; flex-direction: column; animation: lvIn .3s ease both; }
.lv-modal-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.lv-modal-pages { display: flex; gap: 6px; padding: 8px 16px; overflow-x: auto; }
.lv-modal-pages .btn.on { background: var(--accent); color: #fff; }
.lv-modal iframe { flex: 1; min-height: 52vh; width: 100%; border: 0; background: #f4f7fa; }
.lv-modal iframe.m { width: 375px; max-width: 100%; margin: 0 auto; display: block; border-left: 1px solid var(--line); border-right: 1px solid var(--line); }
.lv-modal-foot { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; padding: 12px 16px; border-top: 1px solid var(--line); background: #fafcfb; }
.lv-modal-foot input { flex: 1 1 200px; }
.lv-modal-foot select { width: auto; flex: 0 0 170px; }
.lv-modal-foot .btn { flex: none; }
.lv-tpl-body .lv-pill { align-self: flex-start; }

/* Fenêtre « Partager l'application » */
.lv dialog.lv-appshare { border: 0; border-radius: 18px; padding: 22px 20px 18px; width: min(92vw, 380px); box-shadow: 0 24px 60px rgba(5, 42, 36, .28); color: var(--ink, #12263f); }
.lv dialog.lv-appshare::backdrop { background: rgba(5, 42, 36, .45); }
.lv dialog.lv-appshare h2 { margin: 0 0 6px; font-size: 18px; font-weight: 500; }
.lv dialog.lv-appshare p { margin: 0 0 8px; font-size: 14px; font-weight: 300; }
.lv dialog.lv-appshare .hint { word-break: break-all; }
.lv .lv-share-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 12px 0; }
.lv .lv-share-grid .btn { margin: 0; min-height: 38px; padding: 0 10px; font-size: 14px; display: inline-flex; align-items: center; justify-content: center; text-align: center; text-decoration: none; }
.lv .lv-share-grid #lv-share-native { grid-column: 1 / -1; }
.lv dialog.lv-appshare form { margin: 0; }
.lv dialog.lv-appshare form .btn { width: 100%; margin: 0; min-height: 38px; }

/* Automatisations : étapes, actions, formulaires fins */
.lv .lva-step { padding: 16px; margin: 0 0 12px; }
.lv .lva-step-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.lv .lva-inline { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.lv .lva-inline input, .lv .lva-inline select { flex: 1 1 120px; min-width: 0; width: auto; }
.lv .lva-actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.lv .lva-actions .btn, .lv .lva-actions form { margin: 0; }
.lv .lva-step select, .lv .lva-step input, .lv .lva-step textarea { max-width: 100%; }
.lv .lva-step [data-ep] > * { margin-top: 8px; display: block; width: 100%; }

/* ---------- Barre flottante du vendeur connecté (Accueil, Boutique, créer, Statistiques, Plus) ---------- */
.lv-has-dock { padding-bottom: calc(104px + env(safe-area-inset-bottom)); }
.lv-dock { position: fixed; z-index: 60; left: 50%; bottom: calc(12px + env(safe-area-inset-bottom)); width: min(94vw, 480px); transform: translateX(-50%); display: grid; grid-template-columns: 1fr 1fr 74px 1fr 1fr; align-items: end;
  padding: 8px; border-radius: 30px; background: rgba(255, 255, 255, .92); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid rgba(8, 107, 91, .14);
  box-shadow: 0 18px 44px rgba(5, 42, 36, .22), 0 2px 0 rgba(255, 255, 255, .8) inset; animation: lvDockIn .7s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes lvDockIn { from { opacity: 0; transform: translate(-50%, 40px) scale(.96); } to { opacity: 1; transform: translateX(-50%); } }
.lv-dock a, .lv-dock button { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 7px 4px 5px; border: 0; background: none; border-radius: 20px; color: #475569; font: inherit; font-size: 11.5px; font-weight: 600;
  text-decoration: none; cursor: pointer; transition: color .2s, background .25s, transform .2s; -webkit-tap-highlight-color: transparent; }
.lv-dock a svg, .lv-dock button svg { transition: transform .3s cubic-bezier(.3, 1.6, .5, 1); }
.lv-dock a:hover svg, .lv-dock button:hover svg { transform: translateY(-3px) scale(1.12); }
.lv-dock a.on { color: var(--accent); background: var(--accent-soft); }
.lv-dock a.on svg { animation: lvDockPop .5s both; }
@keyframes lvDockPop { 40% { transform: translateY(-5px) scale(1.18); } }
.lv-dock a:active, .lv-dock button:active { transform: scale(.93); }
.lv-dock .lv-dock-plus { width: 58px; height: 58px; margin: -26px auto 2px; padding: 0; justify-content: center; border-radius: 50%; color: #2a1e00; background: linear-gradient(135deg, #c99608, #f0c63c);
  box-shadow: 0 12px 26px rgba(201, 150, 8, .55), 0 0 0 5px rgba(255, 255, 255, .95); animation: lvPulse 2.8s ease-in-out infinite; }
.lv-dock .lv-dock-plus svg { width: 28px; height: 28px; stroke-width: 2.6; }
.lv-dock .lv-dock-plus:hover { transform: translateY(-3px) rotate(90deg); }
@keyframes lvPulse { 0%, 100% { box-shadow: 0 12px 26px rgba(201, 150, 8, .55), 0 0 0 5px rgba(255, 255, 255, .95), 0 0 0 5px rgba(201, 150, 8, 0); } 50% { box-shadow: 0 12px 26px rgba(201, 150, 8, .55), 0 0 0 5px rgba(255, 255, 255, .95), 0 0 0 13px rgba(201, 150, 8, .16); } }
.lv-sheet[hidden] { display: none; }
.lv-sheet { position: fixed; inset: 0; z-index: 80; display: flex; align-items: flex-end; justify-content: center; }
.lv-sheet-bg { position: absolute; inset: 0; background: rgba(5, 42, 36, .45); animation: lvFade .25s both; }
.lv-sheet-panel { position: relative; width: min(100%, 520px); max-height: 82vh; overflow: auto; padding: 10px 18px calc(20px + env(safe-area-inset-bottom)); border-radius: 28px 28px 0 0; background: #fff; box-shadow: 0 -20px 50px rgba(5, 42, 36, .3); animation: lvSheetUp .38s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes lvSheetUp { from { transform: translateY(100%); } to { transform: none; } }
@keyframes lvFade { from { opacity: 0; } }
.lv-sheet-grip { width: 44px; height: 5px; border-radius: 9px; background: #cbd5e1; margin: 4px auto 10px; }
.lv-sheet h2 { margin: 0 0 8px; font-size: 18px; }
.lv-sheet-links { display: grid; gap: 4px; margin-bottom: 14px; }
.lv-sheet-links a, .lv-sheet-links button { display: block; width: 100%; text-align: left; padding: 13px 14px; border: 0; border-radius: 14px; background: #f3f8f6; color: var(--navy); font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; transition: background .2s, transform .2s; }
.lv-sheet-links a:hover, .lv-sheet-links button:hover { background: var(--accent-soft); transform: translateX(4px); }
@media (min-width: 900px) { .lv-has-dock { padding-bottom: 120px; } }

/* ---------- Ma boutique (les tunnels publiés) ---------- */
.lvb-hello { font-size: clamp(24px, 5vw, 32px); margin: 4px 0 2px; }
.lvb-sub { margin: 0 0 16px; color: var(--muted); }
.lvb-chips { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 10px; margin: 0 -2px 6px; scrollbar-width: none; }
.lvb-chips::-webkit-scrollbar { display: none; }
.lvb-chips a { flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 9px 15px; border-radius: 999px; background: #fff; border: 1px solid rgba(8, 107, 91, .2); color: var(--accent-dark); font-weight: 600; font-size: 14px; text-decoration: none; box-shadow: 0 4px 12px rgba(5, 42, 36, .06); transition: transform .2s, box-shadow .2s, background .2s; }
.lvb-chips a:hover { transform: translateY(-3px); box-shadow: 0 10px 22px rgba(5, 42, 36, .14); background: var(--accent-soft); }
.lvb-rev { position: relative; overflow: hidden; border-radius: 24px; padding: 20px 22px; color: #fff; background: linear-gradient(135deg, #04362e, #086b5b 55%, #0b8a74); box-shadow: 0 18px 40px rgba(8, 107, 91, .3); background-size: 160% 160%; animation: lvFlowBg 9s ease-in-out infinite; }
@keyframes lvFlowBg { 50% { background-position: 100% 60%; } }
.lvb-rev::after { content: ""; position: absolute; right: -50px; top: -50px; width: 170px; height: 170px; border-radius: 50%; background: radial-gradient(circle, rgba(240, 198, 60, .5), transparent 70%); }
.lvb-rev-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; position: relative; z-index: 1; }
.lvb-rev small { opacity: .85; font-weight: 600; letter-spacing: .02em; }
.lvb-rev .lvb-amt { display: block; position: relative; z-index: 1; font-size: clamp(30px, 8vw, 40px); font-weight: 800; letter-spacing: -.02em; margin: 4px 0 10px; font-variant-numeric: tabular-nums; }
.lvb-eye { position: relative; z-index: 1; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .18); color: #fff; cursor: pointer; display: grid; place-items: center; transition: background .2s, transform .2s; }
.lvb-eye:hover { background: rgba(255, 255, 255, .3); transform: scale(1.08); }
.lvb-mini { display: flex; gap: 22px; flex-wrap: wrap; position: relative; z-index: 1; font-size: 14px; }
.lvb-mini b { font-size: 17px; display: block; font-variant-numeric: tabular-nums; }
.lvb-shop { margin-top: 18px; }
.lvb-shop-actions { display: flex; gap: 8px; flex-wrap: wrap; margin: 4px 0 12px; }
.lvb-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); margin-top: 12px; }
.lvb-card { position: relative; overflow: hidden; border-radius: 22px; padding: 18px; background: #fff; border: 1px solid rgba(8, 107, 91, .14); box-shadow: 0 10px 28px rgba(5, 42, 36, .08); transition: transform .3s cubic-bezier(.2, .8, .2, 1), box-shadow .3s; }
.lvb-card:hover { transform: translateY(-6px); box-shadow: 0 22px 44px rgba(5, 42, 36, .16); }
.lvb-card::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 5px; background: linear-gradient(90deg, #086b5b, #c99608); }
.lvb-card h3 { margin: 6px 0 2px; font-size: 18px; }
.lvb-url { font-size: 13px; color: var(--muted); word-break: break-all; }
.lvb-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 14px 0 10px; text-align: center; }
.lvb-stats div { padding: 9px 4px; border-radius: 14px; background: var(--mist); }
.lvb-stats b { display: block; font-size: 20px; font-variant-numeric: tabular-nums; }
.lvb-stats span { font-size: 12px; color: var(--muted); }
.lvb-bar { height: 8px; border-radius: 99px; background: #e2ece9; overflow: hidden; }
.lvb-bar i { display: block; height: 100%; width: 0; border-radius: 99px; background: linear-gradient(90deg, #086b5b, #c99608); transition: width 1.1s cubic-bezier(.2, .8, .2, 1) .2s; }
.lvb-bar-l { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); margin: 4px 0 12px; }
.lvb-acts { display: flex; gap: 6px; flex-wrap: wrap; }
.lvb-acts .btn, .lvb-acts button { padding: 7px 12px; font-size: 13px; }
.lvb-empty { text-align: center; padding: 34px 18px; border-radius: 24px; background: linear-gradient(135deg, #fffaf0, #f3f8f6); border: 1px dashed rgba(201, 150, 8, .5); }
.lvb-drafts { margin-top: 10px; display: grid; gap: 8px; }
.lvb-draft { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; padding: 12px 14px; border-radius: 16px; background: #fff; border: 1px solid var(--line); }
.lvb-grid .lvb-card { animation: lvIn .6s both; }
.lvb-grid .lvb-card:nth-child(2) { animation-delay: .08s; } .lvb-grid .lvb-card:nth-child(3) { animation-delay: .16s; } .lvb-grid .lvb-card:nth-child(4) { animation-delay: .24s; }

/* Formats de tunnel en menus déroulants */
.tpl-grp { margin: 10px 0; border: 1px solid rgba(8, 107, 91, .18); border-radius: 18px; background: #fff; overflow: hidden; transition: box-shadow .25s; }
.tpl-grp[open] { box-shadow: 0 12px 30px rgba(5, 42, 36, .1); }
.tpl-grp > summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 15px 18px; cursor: pointer; font-weight: 700; font-size: 17px; color: var(--navy); }
.tpl-grp > summary::-webkit-details-marker { display: none; }
.tpl-grp > summary::after { content: ""; width: 10px; height: 10px; border-right: 2.5px solid var(--accent); border-bottom: 2.5px solid var(--accent); transform: rotate(45deg); transition: transform .3s; margin-right: 4px; }
.tpl-grp[open] > summary::after { transform: rotate(-135deg); }
.tpl-grp > summary small { margin-left: auto; font-weight: 600; color: var(--muted); font-size: 13px; }
.tpl-grp .tpl-list { padding: 0 14px 14px; animation: lvIn .35s both; }
.tpl-grp .pay-option:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }

/* ---------- Haut de page : cloche et pastille du profil, à côté du bouton Menu ---------- */
.lv .lv-tools { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.lv .lv-tools ~ .lv-nav { margin-left: 0; }
.lv-bell, .lv-me { position: relative; display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--accent-dark); text-decoration: none; transition: transform .2s, box-shadow .2s, background .2s; }
.lv-bell:hover, .lv-me:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(5, 42, 36, .15); background: var(--accent-soft); }
.lv-bell.has svg { animation: lvRing 1.6s ease .3s 2; transform-origin: 50% 0; }
@keyframes lvRing { 0%, 100% { transform: rotate(0); } 15% { transform: rotate(14deg); } 30% { transform: rotate(-12deg); } 45% { transform: rotate(8deg); } 60% { transform: rotate(-6deg); } }
.lv-bell .n { position: absolute; top: -4px; right: -4px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 99px; background: #d92d20; color: #fff; font-size: 11px; font-weight: 800; display: grid; place-items: center; box-shadow: 0 0 0 2px #fff; }
.lv-bell .n[hidden] { display: none; }
.lv-me { padding: 0; overflow: hidden; background: linear-gradient(135deg, #086b5b, #0b8a74); color: #fff; font-weight: 800; font-size: 14px; border: 2px solid #fff; box-shadow: 0 0 0 2px rgba(201, 150, 8, .7); }
.lv-me img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lv-toasts { position: fixed; z-index: 90; top: 74px; right: 12px; left: 12px; display: grid; gap: 8px; justify-items: end; pointer-events: none; }
.lv-toast { pointer-events: auto; display: grid; gap: 2px; width: min(380px, 100%); padding: 12px 16px; border-radius: 16px; background: #04362e; color: #fff; text-decoration: none; box-shadow: 0 16px 38px rgba(5, 42, 36, .35); border-left: 5px solid #c99608; animation: lvToastIn .45s cubic-bezier(.2, .8, .2, 1) both; }
.lv-toast.sale { border-left-color: #22c55e; } .lv-toast.lead { border-left-color: #38bdf8; } .lv-toast.dispute, .lv-toast.refund { border-left-color: #f97316; }
.lv-toast span { font-size: 14px; opacity: .9; }
.lv-toast.out { opacity: 0; transform: translateX(30px); transition: opacity .35s, transform .35s; }
@keyframes lvToastIn { from { opacity: 0; transform: translateX(40px) scale(.96); } }
.lvn-list { display: grid; gap: 8px; margin-top: 12px; }
.lvn-item { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: 16px; background: #fff; border: 1px solid var(--line); text-decoration: none; color: inherit; transition: transform .2s, box-shadow .2s; }
.lvn-item:hover { transform: translateX(4px); box-shadow: 0 8px 20px rgba(5, 42, 36, .1); }
.lvn-item.new { background: #f3faf7; border-color: rgba(8, 107, 91, .35); }
.lvn-item .ic { font-size: 22px; line-height: 1.2; }
.lvn-item .tx { display: grid; gap: 2px; } .lvn-item .tx span { color: #475569; font-size: 14px; } .lvn-item .tx small { color: var(--muted); }
@media (min-width: 901px) { .lv .lv-tools { order: 1; margin-left: auto; } .lv .lv-tools ~ .lv-nav { order: 2; flex: 1 1 100%; margin-left: 0; } }
@media (prefers-reduced-motion: reduce) { .lv-bell.has svg, .lv-toast { animation: none; } }
@media (max-width: 900px) { .lv-bell, .lv-me { width: 36px; height: 36px; } .lv .lv-tools { gap: 6px; } }

/* ---------- Accueil connecté : bonjour + pastille de boutique, cartes, menu coulissant ---------- */
.lvh-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
.lvh-top > div { min-width: 0; flex: 1 1 240px; }
.lvh-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.lvh-notifs, .lvh-plan { margin-top: 18px; }
.lvh-notifs .lvn-list { margin-top: 10px; }
.lv-switch { display: inline-flex; align-items: center; gap: 10px; max-width: 100%; padding: 8px 14px 8px 16px; border-radius: 999px; border: 1px solid rgba(8, 107, 91, .25); background: #fff; color: var(--accent-dark); cursor: pointer; text-align: left; font: inherit;
  box-shadow: 0 6px 16px rgba(5, 42, 36, .08); transition: transform .2s, box-shadow .2s, background .2s; }
.lv-switch:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(5, 42, 36, .16); background: var(--accent-soft); }
.lv-switch .tx { display: grid; line-height: 1.2; min-width: 0; } .lv-switch small { color: var(--muted); font-size: 11.5px; } .lv-switch b { font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 190px; }
.lv-drawer[hidden] { display: none; }
.lv-drawer { position: fixed; inset: 0; z-index: 85; display: flex; justify-content: flex-start; }
.lv-drawer-bg { position: absolute; inset: 0; background: rgba(5, 42, 36, .5); animation: lvFade .25s both; }
.lv-drawer-panel { position: relative; width: min(340px, 88vw); height: 100%; overflow-y: auto; padding: 18px 16px calc(24px + env(safe-area-inset-bottom)); background: #fff; box-shadow: 18px 0 50px rgba(5, 42, 36, .35); border-radius: 0 26px 26px 0; animation: lvDrawerIn .36s cubic-bezier(.2, .8, .2, 1) both; display: flex; flex-direction: column; gap: 6px; }
@keyframes lvDrawerIn { from { transform: translateX(-100%); } to { transform: none; } }
.lv-dr-head { display: flex; align-items: center; gap: 12px; }
.lv-dr-av { width: 54px; height: 54px; flex: none; border-radius: 50%; display: grid; place-items: center; overflow: hidden; background: linear-gradient(135deg, #086b5b, #0b8a74); color: #fff; font-weight: 800; border: 3px solid #fff; box-shadow: 0 0 0 3px rgba(201, 150, 8, .7); }
.lv-dr-av img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lv-dr-who { display: grid; min-width: 0; flex: 1; } .lv-dr-who b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .lv-dr-who small { color: var(--muted); overflow: hidden; text-overflow: ellipsis; }
.lv-dr-x { border: 0; background: #f1f5f9; width: 36px; height: 36px; border-radius: 50%; cursor: pointer; font-size: 15px; }
.lv-dr-profile { align-self: flex-start; margin: 2px 0 6px; font-size: 14px; font-weight: 600; }
.lv-dr-link { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 4px; } .lv-dr-link a, .lv-dr-link button { padding: 7px 12px; border-radius: 999px; border: 1px solid rgba(8, 107, 91, .3); background: #fff; color: var(--accent-dark); font: inherit; font-size: 13px; font-weight: 600; text-decoration: none; cursor: pointer; }
.lv-drawer h3 { margin: 14px 0 6px; font-size: 14px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.lv-dr-shops { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; max-height: 34vh; overflow-y: auto; }
.lv-dr-shops a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; background: #f3f8f6; text-decoration: none; color: var(--navy); transition: background .2s, transform .2s; }
.lv-dr-shops a:hover { background: var(--accent-soft); transform: translateX(4px); }
.lv-dr-shops .dot { width: 10px; height: 10px; border-radius: 50%; flex: none; background: #cbd5e1; } .lv-dr-shops .dot.on { background: #22c55e; box-shadow: 0 0 0 4px rgba(34, 197, 94, .2); }
.lv-dr-shops .nm { display: grid; min-width: 0; } .lv-dr-shops b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .lv-dr-shops small { color: var(--muted); font-size: 12px; } .lv-dr-shops .empty { color: var(--muted); font-size: 14px; padding: 6px 2px; }
.lv-dr-new { margin-top: 8px; text-align: center; }
.lv-dr-nav { display: grid; gap: 2px; margin-top: 10px; } .lv-dr-nav a, .lv-dr-nav button { display: block; width: 100%; text-align: left; padding: 11px 12px; border: 0; border-radius: 12px; background: none; font: inherit; font-weight: 500; color: var(--navy); text-decoration: none; cursor: pointer; }
.lv-dr-nav a:hover, .lv-dr-nav button:hover { background: var(--accent-soft); }
.lv-dr-out { margin: auto 0 0; padding-top: 12px; border-top: 1px solid var(--line); } .lv-dr-out button { width: 100%; padding: 11px; border-radius: 12px; border: 1px solid rgba(180, 35, 24, .3); background: #fff; color: #b42318; font: inherit; font-weight: 600; cursor: pointer; }
@media (prefers-reduced-motion: reduce) { .lv-drawer-panel, .lv-drawer-bg { animation: none; } }
.lv-drawer-panel > * { flex: none; }

/* ---------- Téléphone : icônes et boutons un peu plus petits ---------- */
@media (max-width: 720px) {
  .lv .btn { padding: 8px 15px; font-size: 14px; border-radius: 11px; }
  .lv .btn.small { padding: 5px 11px; font-size: 12.5px; }
  .lv .lv-nav > summary { padding: 5px 12px; font-size: 13px; }
  .lv-bell, .lv-me { width: 32px; height: 32px; }
  .lv-bell svg { width: 18px; height: 18px; }
  .lv-bell .n { min-width: 17px; height: 17px; font-size: 10px; top: -5px; right: -5px; }
  .lv-me { font-size: 12px; }
  .lv-has-dock { padding-bottom: calc(86px + env(safe-area-inset-bottom)); }
  .lv-dock { grid-template-columns: 1fr 1fr 60px 1fr 1fr; padding: 5px 6px; border-radius: 24px; bottom: calc(8px + env(safe-area-inset-bottom)); }
  .lv-dock a, .lv-dock button { font-size: 10.5px; padding: 5px 2px 4px; gap: 2px; border-radius: 16px; }
  .lv-dock a svg, .lv-dock button svg { width: 19px; height: 19px; }
  .lv-dock .lv-dock-plus { width: 48px; height: 48px; margin: -20px auto 2px; box-shadow: 0 10px 22px rgba(201, 150, 8, .5), 0 0 0 4px rgba(255, 255, 255, .95); }
  .lv-dock .lv-dock-plus svg { width: 23px; height: 23px; }
  .lvb-chips a { padding: 6px 12px; font-size: 13px; gap: 6px; }
  .lvb-eye { width: 34px; height: 34px; } .lvb-eye svg { width: 17px; height: 17px; }
  .lvb-rev { padding: 16px 18px; border-radius: 20px; }
  .lvb-card { padding: 15px; border-radius: 18px; } .lvb-card h3 { font-size: 16.5px; }
  .lvb-acts .btn, .lvb-acts button { padding: 5px 10px; font-size: 12.5px; }
  .lv-switch { padding: 6px 12px 6px 14px; } .lv-switch b { font-size: 14px; max-width: 150px; } .lv-switch small { font-size: 11px; }
  .lv-sheet-links a, .lv-sheet-links button { padding: 11px 13px; font-size: 14.5px; }
  .lv-dr-nav a, .lv-dr-nav button { padding: 9px 12px; font-size: 14.5px; }
  .lv-dr-av { width: 46px; height: 46px; }
  .lvn-item .ic { font-size: 19px; }
  .mu-act .btn { font-size: 12.5px; }
}

/* Formats de tunnel : en-têtes de groupes plus fins */
.tpl-grp > summary { padding: 11px 16px; font-size: 15px; font-weight: 600; }
.tpl-grp > summary small { font-size: 12px; font-weight: 500; white-space: nowrap; }
.tpl-grp > summary::after { width: 8px; height: 8px; border-width: 2px; }
@media (max-width: 720px) { .tpl-grp > summary { padding: 9px 14px; font-size: 14px; } .tpl-grp > summary small { font-size: 11.5px; } .tpl-grp { border-radius: 14px; margin: 8px 0; } .tpl-grp .pay-option { font-size: 14px; } }
