/*
 * Vitalaise – Parcours d'achat (packs, ventes additionnelles, guide de taille, caisse express, barre collante, confiance, merci).
 * Mobile d'abord (360 px), aucune requête externe. Jetons : assets/css/tokens.css (chargé avant). Préfixe : vtp-.
 * Hiérarchie : UNE action orange (Commander / Confirmer), tout le reste en encre et blanc.
 */
.vtp { box-sizing: border-box; color: var(--vt-ink); font-family: var(--vt-font); font-size: var(--vt-fs-md); line-height: 1.5; -webkit-text-size-adjust: 100%; }
.vtp *, .vtp *::before, .vtp *::after { box-sizing: border-box; }
.vtp [hidden], .vtp[hidden] { display: none !important; }
.vtp :where(h2, h3, p, ol, ul, dl, dd, fieldset, legend) { margin: 0; padding: 0; }
.vtp :where(ol, ul) { list-style: none; }
.vtp :where(button, input, select, textarea) { font: inherit; color: inherit; }
.vtp :focus-visible { outline: 3px solid var(--vt-cta); outline-offset: 3px; border-radius: 6px; }
.vtp-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Blocs posés seuls dans une page (shortcodes) : carte blanche sobre */
.vtp-packs, .vtp-guide, .vtp-checkout, .vtp-story { background: var(--vt-paper); border: 1px solid var(--vt-line); border-radius: var(--vt-r-lg); padding: 20px 16px 24px; margin: 20px 0; max-width: 680px; }
.vtp-title { font-weight: 800; font-size: 1.375rem; line-height: 1.2; letter-spacing: -.02em; color: var(--vt-ink); margin-bottom: 14px; }
.vtp-lead { color: var(--vt-ink-2); margin: -4px 0 18px; }
.vtp-promise { font-size: 1.25rem; font-weight: 700; color: var(--vt-brand); margin-bottom: 18px; }
.vtp-block { margin-top: 22px; }
.vtp-block p { max-width: 62ch; }
.vtp-pains { display: grid; gap: 0; border-top: 1px solid var(--vt-line); }
.vtp-pains li { padding: 12px 0; border-bottom: 1px solid var(--vt-line); font-weight: 600; }
.vtp-label { display: block; font-weight: 700; font-size: 1rem; color: var(--vt-ink); margin-bottom: 8px; }
.vtp-opt { font-weight: 400; color: var(--vt-ink-3); }
.vtp-help { font-size: .9375rem; color: var(--vt-ink-2); margin-top: 6px; }
.vtp-help a, .vtp-check__text a, .vtp-consent a { color: var(--vt-ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.vtp-note { font-size: .9375rem; color: var(--vt-ink-2); margin-top: 12px; }

/* ---------- Packs ---------- */
.vtp-packs__choices { border: 0; min-width: 0; }
.vtp-packs__grid { display: grid; gap: 10px; }
.vtp-pack { display: block; position: relative; cursor: pointer; }
.vtp-pack input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; z-index: 1; }
.vtp-pack__body { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 12px; row-gap: 2px; align-items: baseline; position: relative; min-height: 64px; padding: 16px 16px 16px 50px; background: var(--vt-paper); border: 1.5px solid var(--vt-line-strong); border-radius: 12px; transition: border-color .18s var(--vt-ease), box-shadow .18s var(--vt-ease), background-color .18s var(--vt-ease); }
.vtp-pack__body::before { content: ""; position: absolute; left: 16px; top: 18px; width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--vt-line-strong); background: #fff; }
.vtp-pack input:checked + .vtp-pack__body { border-color: var(--vt-ink); box-shadow: inset 0 0 0 1px var(--vt-ink); background: #FCFBF8; }
.vtp-pack input:checked + .vtp-pack__body::before { border: 6px solid var(--vt-ink); }
.vtp-pack input:focus-visible + .vtp-pack__body { outline: 3px solid var(--vt-cta); outline-offset: 2px; }
.vtp-pack__badge { grid-column: 1 / -1; justify-self: start; margin: -2px 0 6px; padding: 2px 9px; border-radius: 6px; background: var(--vt-brand); color: #fff; font-size: .75rem; font-weight: 700; letter-spacing: .02em; line-height: 1.5; }
.vtp-pack__label { font-weight: 700; font-size: 1.0625rem; }
.vtp-pack__price { font-weight: 800; font-size: 1.125rem; letter-spacing: -.01em; color: var(--vt-ink); justify-self: end; white-space: nowrap; }
.vtp-pack__unit { grid-column: 1 / -1; font-size: .875rem; color: var(--vt-ink-3); }
.vtp-pack__save { grid-column: 1 / -1; justify-self: start; margin-top: 4px; padding: 2px 8px; border-radius: 6px; background: #E6F3EC; color: var(--vt-ok); font-size: .8125rem; font-weight: 700; }

/* Une unité = une ligne taille + couleur */
.vtp-pairs { display: grid; gap: 10px; margin-top: 16px; }
.vtp-pair { border: 0; min-width: 0; background: var(--vt-bg); border-radius: 12px; padding: 12px 14px 14px; animation: vtp-in .25s var(--vt-ease) both; }
.vtp-pair .vtp-label { margin-bottom: 8px; float: left; width: 100%; padding: 0; font-size: .9375rem; }
.vtp-pair > :not(legend) { clear: both; }
.vtp-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.vtp-chips:last-of-type { margin-bottom: 0; }
.vtp-chip { position: relative; cursor: pointer; }
.vtp-chip input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.vtp-chip > span { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; min-width: 64px; padding: 0 16px; border-radius: 10px; border: 1.5px solid var(--vt-line-strong); background: #fff; font-weight: 700; font-size: 1rem; transition: background-color .15s var(--vt-ease), border-color .15s var(--vt-ease), color .15s var(--vt-ease); }
.vtp-chip input:checked + span { background: var(--vt-ink); border-color: var(--vt-ink); color: #fff; }
.vtp-chip input:focus-visible + span { outline: 3px solid var(--vt-cta); outline-offset: 2px; }
.vtp-chip input:disabled + span { opacity: .45; text-decoration: line-through; cursor: not-allowed; }
.vtp-dot { width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid rgba(20, 33, 28, .3); background: var(--vt-mist); flex: none; }
.vtp-dot[data-color="beige"] { background: #D9C3A0; }
.vtp-dot[data-color="noir"] { background: #1A1F1C; border-color: rgba(255, 255, 255, .6); }
.vtp-dot[data-color="blanc"] { background: #fff; }
.vtp-stockline { color: var(--vt-cta-dark); font-weight: 700; font-size: .9375rem; }
.vtp-stockline:empty { display: none; }
.vtp-same { margin: 10px 0 0; }
.vtp-same .vtp-linkbtn { color: var(--vt-ink); font-weight: 600; font-size: .9375rem; padding: 8px 0; min-height: 44px; }

/* Ancien accessoire (case « Ajouter ») : conservé pour les anciennes pages */
.vtp-addon { display: flex; align-items: center; gap: 12px; min-height: 64px; margin-top: 14px; padding: 12px 14px; background: var(--vt-bg); border: 1.5px dashed var(--vt-line-strong); border-radius: 12px; cursor: pointer; position: relative; }
.vtp-addon input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.vtp-addon__box { flex: none; width: 24px; height: 24px; border-radius: 6px; border: 1.5px solid var(--vt-ink); background: #fff; display: grid; place-items: center; }
.vtp-addon input:checked ~ .vtp-addon__box { background: var(--vt-ink); }
.vtp-addon input:checked ~ .vtp-addon__box::after { content: ""; width: 6px; height: 11px; border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg) translate(-1px, -1px); }
.vtp-addon__text { display: grid; line-height: 1.3; }
.vtp-addon__text span { color: var(--vt-ink-2); font-size: .9375rem; }

/* ---------- Souvent achetés ensemble (cartes horizontales défilables) ---------- */
.vtp-xsell { margin-top: 20px; min-width: 0; }
.vtp-xsell__title { font-size: 1rem; font-weight: 800; letter-spacing: -.01em; margin-bottom: 10px; }
.vtp-xsell__list { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 86%); gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 2px 2px 8px; scrollbar-width: none; overscroll-behavior-x: contain; }
.vtp-xsell__list::-webkit-scrollbar { display: none; }
.vtp-xsell__list:has(> .vtp-xsell__item:only-child) { grid-auto-columns: 100%; }
.vtp-xsell__item { position: relative; display: grid; grid-template-columns: 72px minmax(0, 1fr); grid-template-rows: 1fr auto; column-gap: 12px; row-gap: 8px; align-items: start; padding: 12px; background: #fff; border: 1.5px solid var(--vt-line-strong); border-radius: 12px; scroll-snap-align: start; cursor: pointer; transition: border-color .15s var(--vt-ease), background-color .15s var(--vt-ease); }
.vtp-xsell__item input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; z-index: 1; }
.vtp-xsell__img { grid-row: 1 / span 2; display: block; width: 72px; height: 72px; border-radius: 10px; object-fit: cover; background: var(--vt-mist); }
.vtp-xsell__img--none { background-image: repeating-linear-gradient(90deg, rgba(20, 33, 28, .05) 0 2px, transparent 2px 7px); }
.vtp-xsell__body { display: grid; gap: 2px; min-width: 0; line-height: 1.3; }
.vtp-xsell__name { font-size: .9375rem; font-weight: 700; }
.vtp-xsell__pitch { font-size: .875rem; color: var(--vt-ink-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.vtp-xsell__price { margin-top: 2px; font-size: .9375rem; }
.vtp-xsell__price s { color: var(--vt-ink-3); font-weight: 400; margin-right: 4px; }
.vtp-xsell__price b { font-weight: 800; }
.vtp-xsell__check { justify-self: start; display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 14px; border-radius: 999px; border: 1.5px solid var(--vt-ink); font-size: .875rem; font-weight: 700; }
.vtp-xsell__check::before { content: "+"; font-size: 1.1em; line-height: 1; }
.vtp-xsell__item:has(input:checked) { border-color: var(--vt-ink); background: #FCFBF8; box-shadow: inset 0 0 0 1px var(--vt-ink); }
.vtp-xsell__item input:checked ~ .vtp-xsell__check { background: var(--vt-ink); color: #fff; }
.vtp-xsell__item input:checked ~ .vtp-xsell__check::before { content: ""; width: 5px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg) translate(-1px, -2px); }
.vtp-xsell__item:has(input:focus-visible) { outline: 3px solid var(--vt-cta); outline-offset: 2px; }

/* ---------- Récapitulatifs ---------- */
.vtp-summary, .vtp-recap { margin-top: 16px; background: var(--vt-bg); border-radius: 12px; padding: 12px 16px; }
.vtp-summary__row { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; }
.vtp-summary__row strong { font-size: 1.125rem; }
.vtp-summary__row--soft { color: var(--vt-ink-2); font-size: .9375rem; }
.vtp-recap__list > div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--vt-line); }
.vtp-recap__list dt { color: var(--vt-ink-2); flex: 1 1 auto; min-width: 0; }
.vtp-recap__list dd { font-weight: 700; text-align: right; }
.vtp-recap__total { border-bottom: 0 !important; padding-top: 14px !important; }
.vtp-recap__total dt { color: var(--vt-ink) !important; font-weight: 800; font-size: 1.125rem; }
.vtp-recap__total dd { font-size: 1.375rem; font-weight: 800; letter-spacing: -.01em; white-space: nowrap; }

/* ---------- Boutons ---------- */
.vtp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 26px; border: 0; border-radius: 10px; background: var(--vt-cta); color: #fff; font-weight: 700; font-size: 1.0625rem; line-height: 1.2; text-decoration: none; text-align: center; cursor: pointer; box-shadow: 0 6px 16px rgba(194, 65, 12, .22); transition: background-color .18s var(--vt-ease), transform .1s var(--vt-ease); -webkit-tap-highlight-color: transparent; }
.vtp-btn:hover, .vtp-btn:focus { background: var(--vt-cta-dark); color: #fff; }
.vtp-btn:active { transform: translateY(1px); }
.vtp-btn[disabled], .vtp-btn[aria-disabled="true"] { opacity: .65; cursor: wait; }
.vtp-btn--block { display: flex; width: 100%; margin-top: 16px; }
.vtp-btn--lg { min-height: 58px; font-size: 1.125rem; }
.vtp-btn--ghost { background: transparent; color: var(--vt-ink); box-shadow: inset 0 0 0 1.5px var(--vt-ink); min-height: 50px; padding: 0 20px; }
.vtp-btn--ghost:hover, .vtp-btn--ghost:focus { background: var(--vt-ink); color: #fff; }
.vtp-btn--wa { display: flex; width: 100%; margin-top: 10px; min-height: 50px; background: #fff; color: var(--vt-ink); box-shadow: inset 0 0 0 1.5px var(--vt-line-strong); font-size: 1rem; }
.vtp-btn--wa:hover, .vtp-btn--wa:focus { background: var(--vt-bg); color: var(--vt-ink); box-shadow: inset 0 0 0 1.5px var(--vt-ink); }
.vtp-btn--wa .vtp-btn__ico { color: #1A8F4F; }
.vtp-btn__ico { display: inline-flex; }
.vtp-linkbtn { background: none; border: 0; padding: 12px 4px; min-height: 48px; color: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* ---------- Caisse express ---------- */
.vtp-checkout { max-width: 640px; margin: 0 auto; padding: 0; background: none; border: 0; }
.vtp-checkout > .vtp-title { font-size: clamp(1.75rem, 1.4rem + 1.6vw, 2.25rem); margin-bottom: 8px; }
.vtp-step { margin-top: 12px; padding: 18px 16px 20px; background: var(--vt-paper); border: 1px solid var(--vt-line); border-radius: var(--vt-r-lg); }
.vtp-form > .vtp-step:first-of-type { margin-top: 0; }
.vtp-step__title { display: flex; align-items: center; gap: 10px; font-size: 1.125rem; font-weight: 800; letter-spacing: -.01em; color: var(--vt-ink); margin-bottom: 14px; }
.vtp-step__n { display: inline-grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--vt-ink); color: #fff; font: 800 .9375rem/1 var(--vt-font); }
.vtp-field { margin-top: 14px; }
.vtp-step__title + .vtp-field { margin-top: 0; }
.vtp-input { display: block; width: 100%; min-height: 52px; padding: 10px 14px; background: #fff; color: var(--vt-ink); border: 1.5px solid var(--vt-line-strong); border-radius: 10px; font-size: 1.0625rem; transition: border-color .15s var(--vt-ease), box-shadow .15s var(--vt-ease); scroll-margin-block: 110px; }
textarea.vtp-input { min-height: 88px; }
.vtp-input:focus { border-color: var(--vt-ink); box-shadow: 0 0 0 3px rgba(20, 33, 28, .12); outline: none; }
.vtp-input[aria-invalid="true"] { border-color: var(--vt-alerte); box-shadow: 0 0 0 3px rgba(179, 38, 30, .12); }
.vtp-select { appearance: none; -webkit-appearance: none; padding-right: 44px; background-image: linear-gradient(45deg, transparent 50%, var(--vt-ink) 50%), linear-gradient(135deg, var(--vt-ink) 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat; text-overflow: ellipsis; }
.vtp-phone { display: flex; align-items: stretch; }
.vtp-phone__cc { display: inline-flex; align-items: center; padding: 0 14px; background: var(--vt-bg); border: 1.5px solid var(--vt-line-strong); border-right: 0; border-radius: 10px 0 0 10px; font-weight: 700; }
.vtp-phone .vtp-input { border-radius: 0 10px 10px 0; min-width: 0; }
.vtp-field__err, .vtp-error, .vtp-errors { color: var(--vt-alerte); font-weight: 600; font-size: .9375rem; margin-top: 6px; }
.vtp-errors { background: #FCEDEB; border: 1px solid #F0B9B4; border-radius: 12px; padding: 12px 14px; margin: 16px 0 0; }
.vtp-errors ul { list-style: disc; padding-left: 20px; margin-top: 4px; }
.vtp-errors--ok { background: #E6F3EC; border-color: #A9D5BC; color: var(--vt-ok); }
.vtp-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.vtp-pay { border: 0; display: grid; gap: 10px; min-width: 0; }
.vtp-pay__opt { display: flex; gap: 12px; align-items: flex-start; background: #fff; border: 1.5px solid var(--vt-line-strong); border-radius: 12px; padding: 14px; min-height: 60px; cursor: pointer; }
.vtp-pay__opt:has(input:checked) { border-color: var(--vt-ink); box-shadow: inset 0 0 0 1px var(--vt-ink); background: #FCFBF8; }
.vtp-pay__opt input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--vt-ink); flex: none; }
.vtp-pay__opt span { display: grid; line-height: 1.3; }
.vtp-pay__opt small { color: var(--vt-ink-2); font-size: .9375rem; }
.vtp-checkout .vtp-recap { background: var(--vt-paper); border: 1px solid var(--vt-line); border-radius: var(--vt-r-lg); padding: 18px 16px; margin-top: 12px; }
.vtp-checkout .vtp-recap .vtp-step__title { margin-bottom: 4px; }
.vtp-consents { margin-top: 16px; display: grid; gap: 12px; }
.vtp-check { display: flex; gap: 12px; align-items: flex-start; position: relative; min-height: 44px; cursor: pointer; }
.vtp-check input { position: absolute; opacity: 0; width: 26px; height: 26px; margin: 0; left: 0; top: 0; cursor: pointer; }
.vtp-check__box { flex: none; width: 24px; height: 24px; border-radius: 6px; border: 1.5px solid var(--vt-ink); background: #fff; display: grid; place-items: center; margin-top: 1px; }
.vtp-check input:checked + .vtp-check__box { background: var(--vt-ink); }
.vtp-check input:checked + .vtp-check__box::after { content: ""; width: 6px; height: 11px; border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg) translate(-1px, -1px); }
.vtp-check input:focus-visible + .vtp-check__box { outline: 3px solid var(--vt-cta); outline-offset: 2px; }
.vtp-check__text { font-size: .9375rem; line-height: 1.45; }
.vtp-consents > .vtp-help { font-size: .8125rem; color: var(--vt-ink-3); }
.vtp-checkout [data-vtp-submit] { margin-top: 18px; }
.vtp-details { background: var(--vt-bg); border-radius: 10px; margin-top: 12px; padding: 0 14px; }
.vtp-details summary { min-height: 48px; display: flex; align-items: center; font-weight: 700; color: var(--vt-ink); cursor: pointer; }
.vtp-details > :not(summary) { padding-bottom: 14px; }
.vtp-details .vtp-guide { margin: 0; padding: 0; background: none; border: 0; }

/* Mention produit (vide par défaut) */
.vtp-disclaimer { display: flex; gap: 12px; align-items: flex-start; background: var(--vt-bg); border-radius: 12px; padding: 12px 14px; margin: 16px 0 0; font-size: .875rem; line-height: 1.45; color: var(--vt-ink-2); max-width: 680px; }
.vtp-disclaimer svg { flex: none; margin-top: 2px; }

/* ---------- Confiance ---------- */
.vtp-trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; margin: 0; padding: 0; max-width: none; font-size: .9375rem; }
.vtp-trust__item { display: inline-flex; align-items: center; gap: 8px; color: var(--vt-ink); font-weight: 600; }
.vtp-trust__item svg { flex: none; color: var(--vt-brand); }
.vtp-social { margin-top: 12px; font-weight: 700; color: var(--vt-ok); }
.vtp-trust .vtp-social { margin: 0; }

/* ---------- Guide de taille ---------- */
.vtp-guide__grid { display: grid; gap: 16px; align-items: center; }
.vtp-guide__fig { max-width: 180px; margin: 0 auto; }
.vtp-svg { width: 100%; height: auto; display: block; }
.vtp-steps { counter-reset: s; display: grid; gap: 10px; }
.vtp-steps li { counter-increment: s; position: relative; padding-left: 38px; min-height: 28px; }
.vtp-steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 26px; height: 26px; border-radius: 50%; background: var(--vt-ink); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: .875rem; }
.vtp-guide__tool { margin-top: 20px; padding: 16px; border-radius: 12px; background: var(--vt-bg); }
.vtp-guide__row { display: flex; align-items: center; gap: 10px; max-width: 220px; }
.vtp-unit { font-weight: 700; }
.vtp-guide__result { margin-top: 10px; min-height: 1.5em; font-weight: 800; color: var(--vt-ink); }
.vtp-guide__result.is-bad { color: var(--vt-alerte); }
.vtp-guide__tool .vtp-btn { margin-top: 10px; }
.vtp-table { width: 100%; margin-top: 18px; border-collapse: collapse; table-layout: fixed; background: #fff; border: 1px solid var(--vt-line); border-radius: 12px; overflow: hidden; font-size: .9375rem; }
.vtp-table th, .vtp-table td { padding: 12px; text-align: left; border-bottom: 1px solid var(--vt-line); font-weight: 600; overflow-wrap: anywhere; }
.vtp-table thead th { background: var(--vt-bg); color: var(--vt-ink); font-size: .8125rem; text-transform: uppercase; letter-spacing: .06em; }
.vtp-table th:last-child, .vtp-table td:last-child { width: 34%; }
.vtp-table tbody th { font-weight: 800; }
.vtp-table tbody tr:last-child > * { border-bottom: 0; }

/* ---------- Barre d'achat collante (mobile) ---------- */
.vtp-sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 9990; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px var(--vt-gutter) calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--vt-line); box-shadow: var(--vt-shadow-float); transform: translateY(110%); transition: transform .28s var(--vt-ease); }
.vtp-sticky.is-on { transform: none; }
.vtp-sticky__info { display: grid; line-height: 1.2; min-width: 0; }
.vtp-sticky__label { font-size: .875rem; color: var(--vt-ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vtp-sticky__price { font-size: 1.1875rem; font-weight: 800; color: var(--vt-ink); white-space: nowrap; }
.vtp-sticky .vtp-btn { flex: none; min-height: 50px; padding: 0 24px; }
@media (max-width: 959px) { body.vtp-has-sticky { padding-bottom: 80px; } }
@media (min-width: 960px) { .vtp-sticky { display: none !important; } }

/* ---------- Bandeau de consentement (aucun choix pré-sélectionné, boutons égaux) ---------- */
.vtp-consent { position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 9999; max-width: 520px; margin: 0 auto; padding: 16px; background: #fff; border: 1px solid var(--vt-line); border-radius: 14px; box-shadow: 0 16px 40px rgba(20, 33, 28, .22); animation: vtp-in .28s var(--vt-ease) both; }
.vtp-consent__title { font-weight: 800; color: var(--vt-ink); margin-bottom: 4px; }
.vtp-consent__text { font-size: .9375rem; line-height: 1.45; }
.vtp-consent__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.vtp-consent__actions .vtp-btn { padding: 0 12px; background: var(--vt-ink); box-shadow: none; }

/* ---------- Merci ---------- */
.vtp-thanks { max-width: 640px; margin: 8px auto 20px; padding: 32px 20px 28px; background: var(--vt-paper); border: 1px solid var(--vt-line); border-radius: var(--vt-r-lg); text-align: center; }
.vtp-thanks::before { content: ""; display: block; width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%; background: #E6F3EC url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231B7A4A' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 32px no-repeat; }
.vtp-thanks .vtp-title { font-size: clamp(1.75rem, 1.4rem + 1.6vw, 2.25rem); margin-bottom: 8px; }
.vtp-thanks .vtp-lead { margin: 0 auto 18px; max-width: 30em; }
.vtp-thanks__list { text-align: left; background: var(--vt-bg); border-radius: 12px; padding: 6px 16px; margin: 16px 0; }
.vtp-thanks__list dt { flex: 0 1 auto; min-width: 0; }
.vtp-thanks__list dd { flex: 1 1 auto; min-width: 0; overflow-wrap: anywhere; }
.vtp-thanks .vtp-btn--wa { margin-top: 14px; }

/* Interrupteur « envoyer ma position » */
.vtp-switch { display: flex; gap: 14px; align-items: flex-start; position: relative; min-height: 48px; cursor: pointer; }
.vtp-switch input { position: absolute; opacity: 0; width: 48px; height: 28px; margin: 0; left: 0; top: 0; cursor: pointer; }
.vtp-switch__track { flex: none; width: 48px; height: 28px; border-radius: 14px; background: var(--vt-line-strong); position: relative; transition: background .15s; }
.vtp-switch__track i { position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .2); transition: transform .15s; }
.vtp-switch input:checked + .vtp-switch__track { background: var(--vt-ok); }
.vtp-switch input:checked + .vtp-switch__track i { transform: translateX(20px); }
.vtp-switch input:focus-visible + .vtp-switch__track { outline: 3px solid var(--vt-cta); outline-offset: 2px; }
.vtp-switch__text { display: grid; line-height: 1.3; }
.vtp-switch__text small { color: var(--vt-ink-2); font-size: .875rem; margin-top: 2px; }
.vtp-help--bad { color: var(--vt-cta-dark); font-weight: 600; }

/* ---------- Dans la fiche produit native (pas de carte : le bloc fait partie de la colonne d'achat) ---------- */
.vtpg-pdp .vtp-packs, .vtpg-packs .vtp-packs { margin: 0; padding: 0; max-width: none; background: none; border: 0; border-radius: 0; }
.vtpg-pdp .vtp-title { font-size: 1.0625rem; margin-bottom: 12px; }
.vtpg-pdp .vtp-packs__choices > .vtp-label { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.vtpg-packs .vtp-packs { padding: 20px 16px 24px; background: var(--vt-paper); border: 1px solid var(--vt-line); border-radius: var(--vt-r-lg); }

@keyframes vtp-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (min-width: 640px) {
	.vtp-packs, .vtp-guide, .vtp-story { padding: 28px 28px 32px; }
	.vtp-step { padding: 24px; }
	.vtp-guide__grid { grid-template-columns: 180px 1fr; }
	.vtp-xsell__list { grid-auto-columns: minmax(260px, 1fr); }
	.vtp-thanks { padding: 44px 40px 36px; }
}
@media (prefers-reduced-motion: reduce) {
	.vtp *, .vtp { animation: none !important; transition: none !important; }
	.vtp-sticky { transition: none; }
}

/* Caisse concise : récapitulatif repliable, 2 champs par ligne, pas d'étapes numérotées */
.vtp-co .vtp-title { margin-bottom: 12px; }
.vtp-co__mine { background: var(--vt-bg); border: 1px solid var(--vt-line); border-radius: 12px; padding: 0; margin: 0 0 4px; }
.vtp-co__mine > summary { list-style: none; display: flex; align-items: center; gap: 12px; padding: 10px 12px; cursor: pointer; min-height: 64px; }
.vtp-co__mine > summary::-webkit-details-marker { display: none; }
.vtp-co__thumb { width: 56px; height: 56px; border-radius: 10px; object-fit: cover; flex: none; background: var(--vt-mist); }
.vtp-co__what { display: grid; gap: 2px; min-width: 0; flex: 1; }
.vtp-co__what strong { font-size: .9375rem; line-height: 1.25; }
.vtp-co__what small { color: var(--vt-ink-2); font-size: .875rem; }
.vtp-co__edit { font-weight: 700; font-size: .9375rem; text-decoration: underline; text-underline-offset: 3px; flex: none; }
.vtp-co__edit-body { padding: 4px 12px 14px; border-top: 1px solid var(--vt-line); }
.vtp-co__row { display: grid; gap: 0 12px; }
@media (min-width: 560px) { .vtp-co__row { grid-template-columns: 1fr 1fr; } }
.vtp-co .vtp-field { margin-top: 12px; }
.vtp-co .vtp-pay--one { display: none; }
.vtp-co .vtp-recap { margin-top: 16px; }
.vtp-co__legal { margin-top: 12px; font-size: .8125rem; line-height: 1.45; }
.vtp-co .vtp-xsell { margin-top: 16px; }

/* ---- Caisse simplifiée (une colonne : commande, livraison + créneau, total) ---- */
.vtp-co__block { background: var(--vt-paper); border: 1px solid var(--vt-line); border-radius: 14px; padding: 14px; margin: 0 0 12px; }
.vtp-co__h { margin: 0 0 2px; font-size: 1.0625rem; font-weight: 800; letter-spacing: -.01em; }
.vtp-co__prod { display: flex; align-items: center; gap: 12px; margin-bottom: 4px; }
.vtp-co .vtp-label { font-size: .9375rem; }
.vtp-opt { font-weight: 400; color: var(--vt-ink-3); }
/* Packs: three compact tiles, price + saving only. */
.vtp-co .vtp-packs__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(92px, 1fr)); gap: 8px; }
.vtp-co .vtp-pack__body { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 2px; min-height: 84px; padding: 22px 6px 10px; }
.vtp-co .vtp-pack__body::before { display: none; }
.vtp-co .vtp-pack__unit { display: none; }
.vtp-co .vtp-pack__badge { position: absolute; top: -9px; left: 50%; transform: translateX(-50%); margin: 0; padding: 1px 8px; font-size: .6875rem; white-space: nowrap; }
.vtp-co .vtp-pack__label { font-size: .9375rem; }
.vtp-co .vtp-pack__price { justify-self: auto; font-size: 1rem; }
.vtp-co .vtp-pack__save { margin: 2px 0 0; padding: 0 6px; font-size: .75rem; }
.vtp-co .vtp-pack input:checked + .vtp-pack__body { border-color: var(--vt-brand); box-shadow: inset 0 0 0 1px var(--vt-brand); background: var(--vt-brand-tint); }
.vtp-co .vtp-same { margin: 8px 0 0; font-size: .875rem; }
.vtp-co .vtp-pairs .vtp-pair { margin-top: 10px; }
.vtp-co__guide { margin-top: 8px; font-size: .9375rem; }
.vtp-co__guide > summary { color: var(--vt-ink-2); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
/* Delivery slot: three big buttons. */
.vtp-slots { border: 0; padding: 0; margin: 12px 0 0; min-width: 0; }
.vtp-slots__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 6px; }
.vtp-slot { position: relative; display: block; cursor: pointer; }
.vtp-slot input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.vtp-slot span { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; min-height: 60px; padding: 8px 4px; border: 1.5px solid var(--vt-line-strong); border-radius: 12px; background: var(--vt-paper); text-align: center; transition: border-color .15s, background-color .15s; }
.vtp-slot strong { font-size: 1rem; }
.vtp-slot small { font-size: .75rem; color: var(--vt-ink-3); white-space: nowrap; }
.vtp-slot input:checked + span { border-color: var(--vt-brand); background: var(--vt-brand-tint); box-shadow: inset 0 0 0 1px var(--vt-brand); }
.vtp-slot input:focus-visible + span { outline: 3px solid var(--vt-cta); outline-offset: 2px; }
/* Total, button, reassurance. */
.vtp-co .vtp-recap { margin: 4px 0 12px; padding: 12px 14px; background: var(--vt-paper); border: 1px solid var(--vt-line); border-radius: 14px; }
.vtp-co__assure { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 16px; margin: 10px 0 0; padding: 0; font-size: .875rem; color: var(--vt-ink-2); }
.vtp-co__assure li::before { content: "✓ "; color: var(--vt-ok); font-weight: 800; }
.vtp-co__legal { text-align: center; color: var(--vt-ink-3); }
.vtp-co .vtp-btn--wa { display: flex; width: 100%; justify-content: center; margin-top: 8px; background: transparent; border: 0; box-shadow: none; color: var(--vt-ink-2); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; min-height: 44px; }
@media (max-width: 359px) { .vtp-slot small { white-space: normal; } }
.vtp-co .vtp-packs__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.vtp-co .vtp-pack__save-w { display: none; }
.vtp-co .vtp-pack__save-n::before { content: "−"; }
.vtp-co .vtp-pack__label { font-size: .875rem; }
.vtp-co .vtp-pack__price { font-size: .9375rem; white-space: nowrap; }
.vtp-co__order { display: flex; flex-direction: column; }
.vtp-co__order .vtp-same { order: 3; text-align: left; font-size: .8125rem; }
.vtp-co__order .vtp-co__guide { order: 4; }
.vtp-co .vtp-linkbtn { font-size: .8125rem; color: var(--vt-ink-3); }
