/* =====================================================================
   PARCOURS D'ACHAT — fil conducteur, cartes à choix direct, barre panier,
   commande en 3 étapes dans un seul panneau
   ===================================================================== */
.vt-center { display: flex; justify-content: center; margin-top: 30px; }

/* fil conducteur « 3 gestes » */
.vt-story { display: flex; align-items: center; gap: 18px; margin-top: 18px; padding: 20px 26px; border-radius: 20px; background: var(--noir); color: #fff; }
.vt-story-step { display: flex; align-items: center; gap: 14px; flex: 1; min-width: 0; }
.vt-story-n { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--or-grad); color: var(--noir); font-weight: 800; font-size: 16px; }
.vt-story-step b { display: block; font-size: 14.5px; font-weight: 700; }
.vt-story-step small { display: block; font-size: 12.5px; color: rgba(255, 255, 255, .6); }
.vt-story-line { flex: none; width: 46px; height: 1.5px; background: linear-gradient(90deg, var(--or), transparent); }

/* cartes : choix du format + ajout direct */
.vt-card-body { display: flex; flex-direction: column; gap: 8px; }
.vt-card-meta { margin: -4px 0 0; }
.vt-fmts { display: flex; gap: 6px; flex-wrap: wrap; }
.vt-fmt { padding: 6px 11px; border-radius: 999px; border: 1.5px solid var(--trait); background: #fff; font: 600 12px/1 var(--sans); color: var(--texte); transition: background .2s, border-color .2s, color .2s; }
.vt-fmt:hover { border-color: var(--noir); }
.vt-fmt.on { background: var(--noir); border-color: var(--noir); color: #fff; }
.vt-fmt:disabled { opacity: .4; text-decoration: line-through; cursor: not-allowed; }
.vt-card-buy { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.vt-card-buy .vt-card-price b { font-size: 17px; }
.vt-plus { display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px 9px 10px; border-radius: 999px; background: var(--noir); color: #fff; font: 600 13px/1 var(--sans); transition: background .2s, color .2s, transform .15s; }
.vt-plus:hover { background: var(--or-grad); color: var(--noir); }
.vt-plus:active { transform: scale(.94); }
.vt-plus:disabled { background: #e8e4e4; color: #999; cursor: not-allowed; }
.vt-inbag { position: absolute; left: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 5px; padding: 5px 10px; border-radius: 999px; background: rgba(11, 11, 11, .85); color: #fff; font-size: 11.5px; font-weight: 600; }
.vt-fly { position: fixed; z-index: 300; object-fit: contain; pointer-events: none; transition: transform .7s cubic-bezier(.5, -.2, .6, 1), opacity .7s; }

/* barre panier fixe */
.vt-minibar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 10px 0 calc(10px + env(safe-area-inset-bottom, 0px)); background: rgba(11, 11, 11, .94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); color: #fff; box-shadow: 0 -12px 30px -18px rgba(0, 0, 0, .6); animation: vtUp .4s cubic-bezier(.2, .7, .2, 1); }
.vt-minibar.pulse .vt-mb-thumbs { animation: vtPulse .6s; }
@keyframes vtUp { from { transform: translateY(100%); } }
@keyframes vtPulse { 40% { transform: scale(1.12); } }
.vt-mb-inner { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.vt-mb-bag { display: flex; align-items: center; gap: 14px; min-width: 0; color: #fff; text-align: left; }
.vt-mb-thumbs { display: flex; flex: none; }
.vt-mb-thumbs img { width: 38px; height: 38px; object-fit: contain; border-radius: 50%; background: #fff; padding: 3px; border: 2px solid var(--noir); }
.vt-mb-thumbs img + img { margin-left: -12px; }
.vt-mb-txt { min-width: 0; line-height: 1.3; }
.vt-mb-txt b { display: block; font-size: 15px; font-variant-numeric: lining-nums; }
.vt-mb-hint { font-size: 12px; color: rgba(255, 255, 255, .6); }
.vt-mb-hint.on { color: var(--or-clair); }
.vt-mb-go { flex: none; }
body.has-minibar .vt-footer { padding-bottom: 100px; }

/* panneau de commande */
.vt-drawer .drawer-panel { width: min(500px, 100%); background: #fff; }
.vt-drawer .drawer-head { padding: 16px 18px; gap: 10px; }
.vt-steps { display: flex; align-items: center; gap: 6px; flex: 1; min-width: 0; }
.vt-step { display: inline-flex; align-items: center; gap: 7px; font: 600 12.5px/1 var(--sans); color: var(--doux); white-space: nowrap; }
.vt-step span { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--panneau); font-size: 12px; font-weight: 700; }
.vt-step.on { color: var(--noir); }
.vt-step.on span { background: var(--noir); color: #fff; }
.vt-step.done span { background: var(--or-grad); color: var(--noir); }
.vt-step:disabled { cursor: default; }
.vt-steps i { flex: 1; min-width: 10px; height: 1.5px; background: var(--trait); }
.vt-drawer .drawer-body { padding: 6px 20px 20px; }
.vt-co-title { margin: 14px 0 12px; font-size: 22px; font-weight: 800; }
.vt-co-lead { margin: -6px 0 16px; font-size: 13.5px; color: var(--doux); }
.vt-drawer .line { grid-template-columns: 64px 1fr auto; }
.vt-drawer .line-img { width: 64px; height: 76px; background: var(--panneau-2); }
.vt-drawer .line-img img { object-fit: contain; }
.vt-ideas { margin-top: 22px; }
.vt-ideas > p { margin: 0 0 10px; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--gold-2); }
.vt-ideas-row { display: grid; grid-auto-flow: column; grid-auto-columns: 132px; gap: 10px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
.vt-idea { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 10px; border-radius: 14px; background: var(--panneau-2); text-align: left; transition: background .2s; }
.vt-idea:hover { background: var(--panneau); }
.vt-idea img { width: 100%; height: 84px; object-fit: contain; margin-bottom: 6px; }
.vt-idea b { font-size: 13px; }
.vt-idea small { font-size: 11.5px; color: var(--doux); font-variant-numeric: lining-nums; }
.vt-idea span { margin-top: 6px; display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 700; }
.vt-drawer .drawer-foot { padding: 14px 20px calc(16px + env(safe-area-inset-bottom, 0px)); background: #fff; box-shadow: 0 -10px 24px -18px rgba(0, 0, 0, .35); }
.vt-drawer .totals.grand { margin: 0 0 12px; font-size: 18px; font-variant-numeric: lining-nums; }
.vt-save { color: var(--gold-text); font-weight: 600; }
.vt-co-note { margin: 10px 0 0; text-align: center; font-size: 12px; color: var(--doux); }
.vt-recap { width: 100%; display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; background: var(--panneau-2); text-align: left; margin-bottom: 18px; }
.vt-recap > span:nth-child(2) { flex: 1; min-width: 0; }
.vt-recap b { display: block; font-size: 14px; }
.vt-recap small { display: block; font-size: 12px; color: var(--doux); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vt-recap em { font-style: normal; font-size: 12.5px; font-weight: 700; border-bottom: 2px solid var(--or); }
.vt-recap .vt-mb-thumbs img { border-color: var(--panneau-2); }
.vt-co-form { padding: 0 !important; }
.vt-co-form .field label span { font-weight: 400; color: var(--doux); }
.vt-co-form .field input, .vt-co-form .field textarea { font-size: 16px; }
.field-err { color: #b3261e; font-size: 12.5px; font-weight: 500; }
.vt-co-label { margin: 8px 0 8px; font-size: 13px; font-weight: 600; }
.vt-co-form .pay-options { grid-template-columns: 1fr; margin-bottom: 0; }
.vt-success { padding: 20px 4px; }
.vt-success h2 { font-size: 34px; }
.vt-next { list-style: none; margin: 22px auto 6px; padding: 0; display: grid; gap: 10px; max-width: 320px; text-align: left; }
.vt-next li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--doux); }
.vt-next li span { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--panneau); font-size: 12px; font-weight: 700; color: var(--noir); }
.vt-next li.done { color: var(--noir); font-weight: 600; }
.vt-next li.done span { background: var(--or-grad); }

@media (max-width: 900px) {
  .vt-story { flex-direction: column; align-items: stretch; gap: 12px; padding: 18px 20px; }
  .vt-story-line { width: 1.5px; height: 14px; margin-left: 19px; background: linear-gradient(180deg, var(--or), transparent); }
}
@media (max-width: 640px) {
  .vt-drawer .drawer-panel { width: 100%; }
  .vt-step { font-size: 0; gap: 0; }
  .vt-step.on { font-size: 12.5px; gap: 7px; }
  .vt-mb-hint { display: none; }
  .vt-mb-thumbs img { width: 34px; height: 34px; }
  .vt-mb-go { padding: 12px 16px; font-size: 13px; }
  .vt-fmt { padding: 6px 9px; font-size: 11px; }
  .vt-card-buy { flex-wrap: wrap; }
  .vt-plus { width: 100%; justify-content: center; }
  .vt-card-buy .vt-card-price b { font-size: 15px; }
}
