/*
 * Vitrines publiques CashChap v2 : une feuille, treize thèmes (data-theme sur <body>, ou sur la vignette d'aperçu du
 * portail). Structure commune et variables CSS par thème ; toutes les règles de thème sont sous [data-theme="…"] : aucune
 * fuite d'un thème à l'autre. Polices système seulement, aucune ressource externe (CSP stricte). Mobile d'abord : grille
 * à 2 colonnes, 3 à 4 colonnes au bureau, cartes à image de ratio fixe, boutons « Voir » et « Acheter », prix barré et badge
 * de remise, squelettes de chargement, animations discrètes (respect de prefers-reduced-motion), contraste AA.
 * Variables : --accent, --accent-fonce, --sur-accent (posées par le serveur depuis la couleur choisie), --fond, --surface,
 * --surface-2, --texte, --texte-2, --bord, --rayon, --rayon-petit, --ombre, --ombre-forte, --police, --police-titre, --motif,
 * --ratio-carte, --colonnes-bureau, --poids-titre, --interligne-titre.
 */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; min-height: 100vh; background: var(--fond); color: var(--texte); font-family: var(--police); line-height: 1.55; font-size: 16px; -webkit-font-smoothing: antialiased; }
img, svg, video { max-width: 100%; display: block; }
a { color: var(--accent); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--police-titre); font-weight: var(--poids-titre, 700); line-height: var(--interligne-titre, 1.2); margin: 0; letter-spacing: var(--espacement-titre, 0); }
[hidden] { display: none !important; }
.vt-page { max-width: 1320px; margin: 0 auto; padding: 0 16px 28px; }
.vt-visuellement-cache { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.vt-saut { position: absolute; left: -999px; top: 8px; background: var(--accent); color: var(--sur-accent); padding: 8px 12px; border-radius: 8px; z-index: 100; }
.vt-saut:focus { left: 8px; }
.vt-ico { width: 1.15em; height: 1.15em; flex: none; vertical-align: -0.2em; }
.vt-ico--grand { width: 1.5em; height: 1.5em; }

/* ---------- En-tête ---------- */
.vt-bandeau { height: 150px; border-radius: 0 0 var(--rayon) var(--rayon); background: var(--motif, linear-gradient(120deg, var(--accent), var(--accent-fonce))); background-size: cover; background-position: center; position: relative; overflow: hidden; }
.vt-bandeau--image { background-image: var(--banniere); }
.vt-bandeau--image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 0, 0, .25), transparent 60%); }
.vt-entete { display: flex; gap: 16px; align-items: flex-start; margin-top: -40px; padding: 0 6px; flex-wrap: wrap; position: relative; }
.vt-logo { width: 84px; height: 84px; border-radius: var(--rayon); background: var(--surface); border: 4px solid var(--fond); box-shadow: var(--ombre); object-fit: cover; display: grid; place-items: center; font-family: var(--police-titre); font-weight: 700; font-size: 32px; color: var(--accent); overflow: hidden; flex: none; }
.vt-identite { flex: 1 1 240px; padding-bottom: 2px; min-width: 0; margin-top: 46px; }
.vt-nom { font-size: clamp(1.45rem, 4.5vw, 2.1rem); }
.vt-nom a { color: inherit; text-decoration: none; }
.vt-pastille { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; padding: 4px 10px; border-radius: 999px; background: var(--accent); color: var(--sur-accent); font-size: .78rem; font-weight: 600; max-width: 100%; }
.vt-pastille svg { width: 14px; height: 14px; }
.vt-coordonnees { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 8px 0 0; padding: 0; list-style: none; color: var(--texte-2); font-size: .9rem; }
.vt-coordonnees li { display: inline-flex; align-items: center; gap: 5px; }
.vt-coordonnees a { color: inherit; }
.vt-description { color: var(--texte-2); margin: 14px 6px 0; max-width: 70ch; white-space: pre-line; }
.vt-description--courte { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.vt-description[open] { display: block; }
.vt-lire-plus { background: none; border: 0; color: var(--accent); padding: 4px 6px; font-size: .9rem; font-weight: 600; }

/* ---------- Menu collant ---------- */
.vt-barre { position: sticky; top: 0; z-index: 40; margin: 18px -16px 0; padding: 8px 16px; background: color-mix(in srgb, var(--fond) 88%, transparent); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--bord); transition: border-color .2s, box-shadow .2s; }
.vt-barre.est-collee { border-bottom-color: var(--bord); box-shadow: 0 6px 18px rgba(0, 0, 0, .06); }
.vt-barre-int { display: flex; align-items: center; gap: 14px; max-width: 1320px; margin: 0 auto; }
.vt-menu { display: flex; gap: 4px; margin: 0; padding: 0 2px; list-style: none; overflow-x: auto; scrollbar-width: none; flex: 1 1 auto; min-width: 0; -webkit-overflow-scrolling: touch; scroll-snap-type: x proximity; }
.vt-menu::-webkit-scrollbar { display: none; }
.vt-menu li { flex: none; scroll-snap-align: start; }
/* Barre de navigation (revue le 04/11/2026) : liens en texte, soulignement coloré sur l'entrée active et au survol, plus de boîtes */
.vt-menu a { display: inline-flex; align-items: center; gap: 6px; padding: 12px 10px; border: 0; border-radius: 0; background: transparent; color: var(--texte-2); text-decoration: none; font-size: .92rem; font-weight: 600; letter-spacing: .01em; white-space: nowrap; position: relative; transition: color .15s; }
.vt-menu a::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: 6px; height: 2px; border-radius: 2px; background: var(--accent); transform: scaleX(0); transform-origin: center; transition: transform .18s; }
.vt-menu a:hover { color: var(--texte); }
.vt-menu a:hover::after { transform: scaleX(.6); }
.vt-menu a[aria-current="page"] { color: var(--accent); }
.vt-menu a[aria-current="page"]::after { transform: scaleX(1); }
/* Menu « Plus » : entrées au-delà de la septième, liste déroulante sous le bouton */
.vt-menu-plus { flex: none; }
.vt-menu-plus details { position: relative; }
.vt-menu-plus summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; padding: 12px 10px; min-height: 44px; border: 0; background: transparent; color: var(--texte-2); font-weight: 600; font-size: .92rem; white-space: nowrap; }
.vt-menu-plus summary:hover { color: var(--texte); }
.vt-menu-plus summary::-webkit-details-marker { display: none; }
.vt-menu-plus summary svg { width: 14px; height: 14px; transition: transform .2s; }
.vt-menu-plus details[open] summary svg { transform: rotate(180deg); }
.vt-menu-plus summary.est-actif { color: var(--accent); }
.vt-menu-plus details > ul { position: absolute; right: 0; top: calc(100% + 6px); z-index: 60; min-width: 220px; max-height: 60vh; overflow-y: auto; margin: 0; padding: 6px; list-style: none; background: var(--surface); border: 1px solid var(--bord); border-radius: var(--rayon); box-shadow: var(--ombre); display: grid; gap: 4px; }
.vt-menu-plus details > ul li { flex: none; }
.vt-menu-plus details > ul a { display: flex; width: 100%; padding: 10px 12px; border-radius: var(--rayon-petit); color: var(--texte-2); text-decoration: none; font-weight: 600; font-size: .92rem; white-space: nowrap; }
.vt-menu-plus details > ul a::after { display: none; }
.vt-menu-plus details > ul a[aria-current="page"] { background: var(--accent); color: var(--sur-accent); }
.vt-menu-plus details > ul a:hover { background: color-mix(in srgb, var(--accent) 12%, transparent); }
.vt-barre-actions { display: flex; gap: 6px; align-items: center; flex: none; }
.vt-rond { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 999px; border: 1px solid var(--bord); background: var(--surface); color: var(--texte); text-decoration: none; position: relative; transition: border-color .15s, transform .15s; }
.vt-rond:hover { border-color: var(--accent); }
.vt-rond:active { transform: scale(.94); }
.vt-rond svg { width: 20px; height: 20px; }
.vt-compteur { position: absolute; top: -4px; right: -4px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--accent); color: var(--sur-accent); font-size: .7rem; font-weight: 700; display: grid; place-items: center; transition: transform .2s; }
.vt-compteur[data-n="0"] { display: none; }
.vt-compteur.saute { animation: vt-saute .35s; }
@keyframes vt-saute { 40% { transform: scale(1.35); } }
.vt-recherche { display: none; align-items: center; gap: 6px; border: 1px solid var(--bord); background: var(--surface); border-radius: 999px; padding: 0 6px 0 12px; flex: 0 1 260px; }
.vt-recherche input { border: 0; background: transparent; padding: 8px 0; width: 100%; min-width: 0; outline: none; }
.vt-recherche input::placeholder { color: var(--texte-2); }
.vt-rond--plat { border: 0; width: 34px; height: 34px; background: transparent; }
.vt-recherche--mobile { display: flex; margin: 10px 0 0; flex: 1 1 auto; }
.vt-recherche--mobile[hidden] { display: none !important; }
@media (min-width: 760px) { .vt-recherche { display: flex; } .vt-rond--recherche { display: none; } .vt-recherche--mobile { display: none !important; } }

/* ---------- Avis ---------- */
.vt-avis { margin: 18px 0 0; padding: 12px 16px; border-radius: var(--rayon-petit); border: 1px solid var(--bord); background: var(--surface); color: var(--texte); display: flex; gap: 10px; align-items: flex-start; }
.vt-avis--alerte { border-color: #d97706; background: #fef3c7; color: #78350f; }
.vt-avis--erreur { border-color: #dc2626; background: #fee2e2; color: #7f1d1d; }
.vt-avis--succes { border-color: #16a34a; background: #dcfce7; color: #14532d; }
.vt-avis--info { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 10%, var(--surface)); }

/* ---------- Sections, filtres ---------- */
.vt-section { margin-top: 28px; }
.vt-section-tete { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 0 0 12px; }
.vt-section-titre { font-size: 1.2rem; display: flex; align-items: center; gap: 8px; }
.vt-section-titre svg { color: var(--accent); }
.vt-section-lien { font-size: .88rem; color: var(--accent); text-decoration: none; font-weight: 600; white-space: nowrap; }
.vt-filtres { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 14px 0 20px; }
.vt-filtres select, .vt-filtres input { padding: 8px 10px; border: 1px solid var(--bord); border-radius: var(--rayon-petit); background: var(--surface); font-size: .9rem; max-width: 100%; }
.vt-filtres .vt-prix-fourchette { display: flex; align-items: center; gap: 6px; }
.vt-filtres .vt-prix-fourchette input { width: 96px; }
.vt-filtres-etat { font-size: .85rem; color: var(--texte-2); margin-left: auto; }
.vt-puce-effacer { background: none; border: 1px solid var(--bord); border-radius: 999px; padding: 4px 10px; font-size: .82rem; color: var(--texte-2); }
.vt-defilant { display: flex; gap: 14px; overflow-x: auto; padding: 4px 2px 12px; scroll-snap-type: x mandatory; scrollbar-width: thin; -webkit-overflow-scrolling: touch; }
.vt-defilant > * { flex: 0 0 min(72%, 260px); scroll-snap-align: start; }
@media (min-width: 760px) { .vt-defilant > * { flex-basis: calc((100% - 42px) / 4); } }

/* ---------- Grille et cartes ---------- */
.vt-grille { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 8px; }
@media (min-width: 640px) { .vt-grille { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 1000px) { .vt-grille { grid-template-columns: repeat(var(--colonnes-bureau, 4), minmax(0, 1fr)); gap: 18px; } }
.vt-carte { background: var(--surface); border: 1px solid var(--bord); border-radius: var(--rayon); box-shadow: var(--ombre); overflow: hidden; display: flex; flex-direction: column; color: inherit; min-width: 0; transition: transform .2s, box-shadow .2s, border-color .2s; }
@media (hover: hover) { .vt-carte:hover { transform: translateY(-3px); box-shadow: var(--ombre-forte); border-color: color-mix(in srgb, var(--accent) 40%, var(--bord)); } .vt-carte:hover .vt-carte-image img { transform: scale(1.04); } }
.vt-carte-image { display: block; aspect-ratio: var(--ratio-carte, 1 / 1); background: var(--surface-2); position: relative; overflow: hidden; color: var(--texte-2); }
.vt-carte-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.vt-carte-image .vt-sans-image { width: 100%; height: 100%; display: grid; place-items: center; }
.vt-carte-image .vt-sans-image svg { width: 36%; height: 36%; opacity: .35; }
.vt-badges { position: absolute; top: 8px; left: 8px; display: flex; flex-direction: column; gap: 4px; }
.vt-badge { display: inline-block; padding: 3px 8px; border-radius: 999px; font-size: .72rem; font-weight: 700; background: #dc2626; color: #fff; letter-spacing: .02em; }
.vt-badge--nouveau { background: var(--accent); color: var(--sur-accent); }
.vt-badge--epuise { background: #374151; color: #fff; }
.vt-carte-corps { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.vt-carte-categorie { font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; color: var(--texte-2); }
.vt-carte-nom { font-size: .98rem; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.vt-carte-nom a { color: inherit; text-decoration: none; }
.vt-carte-nom a::after { content: ""; position: absolute; inset: 0; }
.vt-carte { position: relative; }
.vt-carte-prix { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin-top: 2px; }
.vt-prix { font-weight: 700; font-size: 1.05rem; color: var(--texte); }
.vt-prix-barre { color: var(--texte-2); font-size: .85rem; text-decoration: line-through; }
.vt-carte-actions { margin-top: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding-top: 8px; position: relative; z-index: 1; }
.vt-carte-actions .vt-bouton { padding: 8px 6px; font-size: .85rem; }
.vt-bouton { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 11px 18px; border-radius: var(--rayon-petit); background: var(--accent); color: var(--sur-accent); border: 1px solid var(--accent); font-weight: 600; text-decoration: none; cursor: pointer; text-align: center; line-height: 1.2; transition: background .15s, transform .1s, box-shadow .15s; }
.vt-bouton:hover { background: var(--accent-fonce); border-color: var(--accent-fonce); }
.vt-bouton:active { transform: scale(.98); }
.vt-bouton:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 60%, transparent); outline-offset: 2px; }
.vt-bouton--secondaire { background: transparent; color: var(--accent); border-color: var(--accent); }
.vt-bouton--secondaire:hover { background: color-mix(in srgb, var(--accent) 10%, transparent); }
.vt-bouton--discret { background: var(--surface); color: var(--texte); border-color: var(--bord); }
.vt-bouton--discret:hover { background: var(--surface-2); border-color: var(--texte-2); }
.vt-bouton--grand { padding: 14px 22px; font-size: 1.05rem; width: 100%; }
.vt-bouton[disabled], .vt-bouton[aria-disabled="true"] { opacity: .55; cursor: not-allowed; transform: none; }
.vt-bouton--whatsapp { background: #25d366; border-color: #25d366; color: #0b1a10; }
.vt-bouton--whatsapp:hover { background: #1fb858; border-color: #1fb858; }
.vt-vide { color: var(--texte-2); text-align: center; padding: 40px 12px; border: 1px dashed var(--bord); border-radius: var(--rayon); }

/* Squelettes */
.vt-squelette { background: linear-gradient(90deg, var(--surface-2) 25%, color-mix(in srgb, var(--surface-2) 60%, var(--surface)) 50%, var(--surface-2) 75%); background-size: 200% 100%; animation: vt-brille 1.3s infinite; border-radius: var(--rayon-petit); }
.vt-squelette-carte { border: 1px solid var(--bord); border-radius: var(--rayon); overflow: hidden; background: var(--surface); }
.vt-squelette-carte .vt-squelette--image { aspect-ratio: var(--ratio-carte, 1 / 1); border-radius: 0; }
.vt-squelette-carte .vt-squelette--ligne { height: 12px; margin: 10px 12px 0; }
.vt-squelette-carte .vt-squelette--ligne:last-child { width: 50%; margin-bottom: 14px; }
@keyframes vt-brille { to { background-position: -200% 0; } }
.vt-carte-image img[data-chargement] { opacity: 0; }
.vt-carte-image img.est-chargee { opacity: 1; transition: opacity .3s; }

/* Apparition au défilement */
.vt-reveal { opacity: 0; transform: translateY(14px); transition: opacity .45s ease, transform .45s ease; }
.vt-reveal.est-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; } .vt-reveal { opacity: 1; transform: none; } }

/* ---------- Page article ---------- */
.vt-fil { display: flex; flex-wrap: wrap; gap: 4px 6px; margin: 18px 0 0; padding: 0; list-style: none; font-size: .85rem; color: var(--texte-2); }
.vt-fil a { color: inherit; text-decoration: none; }
.vt-fil li + li::before { content: "›"; margin-right: 6px; }
/* minmax(0, 1fr) : la bande des vignettes (jusqu'à 10 médias, 08/11/2026) défile au lieu d'élargir la page sur téléphone. */
.vt-article { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; margin-top: 14px; }
@media (min-width: 800px) { .vt-article { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 32px; align-items: start; } .vt-galerie { position: sticky; top: 72px; } }
.vt-galerie-principale { border-radius: var(--rayon); overflow: hidden; background: var(--surface-2); border: 1px solid var(--bord); aspect-ratio: 1 / 1; display: grid; place-items: center; color: var(--texte-2); position: relative; }
.vt-galerie-principale img, .vt-galerie-principale video { width: 100%; height: 100%; object-fit: contain; cursor: zoom-in; background: var(--surface-2); }
.vt-galerie-principale .vt-sans-image svg { width: 30%; height: 30%; opacity: .35; }
.vt-galerie-vignettes { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.vt-galerie-vignettes button { flex: none; width: 64px; height: 64px; padding: 0; border-radius: var(--rayon-petit); border: 2px solid var(--bord); overflow: hidden; background: var(--surface-2); transition: border-color .15s; }
.vt-galerie-vignettes button[aria-current="true"] { border-color: var(--accent); }
.vt-galerie-vignettes img { width: 100%; height: 100%; object-fit: cover; }
.vt-galerie-vignettes .vt-vignette-video { display: grid; place-items: center; color: var(--accent); }
.vt-video-couverture { position: relative; width: 100%; height: 100%; }
.vt-video-couverture img { cursor: pointer; }
.vt-video-lire { position: absolute; inset: 0; display: grid; place-items: center; background: linear-gradient(transparent, rgba(0, 0, 0, .35)); border: 0; color: #fff; font-weight: 600; gap: 8px; }
.vt-video-lire svg { width: 64px; height: 64px; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .4)); }
.vt-video-cadre { width: 100%; height: 100%; border: 0; }
.vt-video-consentement { position: absolute; left: 10px; right: 10px; bottom: 10px; font-size: .75rem; color: #fff; text-align: center; text-shadow: 0 1px 3px rgba(0, 0, 0, .6); }
.vt-article-titre { font-size: clamp(1.4rem, 3.5vw, 1.9rem); }
.vt-article-prix { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin: 10px 0 12px; }
.vt-article-prix .vt-prix { font-size: 1.6rem; }
.vt-article-prix .vt-prix-barre { font-size: 1rem; }
.vt-promo-fin { font-size: .82rem; color: #b91c1c; font-weight: 600; }
.vt-article-description { color: var(--texte-2); white-space: pre-line; margin: 0 0 14px; }
.vt-stock { font-size: .85rem; color: #b45309; font-weight: 600; margin: 0 0 10px; }
.vt-variantes { margin: 0 0 14px; border: 0; padding: 0; min-width: 0; }
.vt-variantes legend, .vt-etiquette { display: block; font-size: .85rem; font-weight: 600; margin-bottom: 6px; }
.vt-etiquette--inline { margin: 0; }
.vt-puces { display: flex; flex-wrap: wrap; gap: 8px; }
.vt-puce { position: relative; }
.vt-puce input { position: absolute; opacity: 0; inset: 0; }
.vt-puce span { display: inline-block; padding: 8px 14px; border-radius: var(--rayon-petit); border: 1px solid var(--bord); background: var(--surface); font-size: .9rem; cursor: pointer; transition: border-color .15s, background .15s; }
.vt-puce input:checked + span { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, var(--surface)); font-weight: 600; }
.vt-puce input:focus-visible + span { outline: 3px solid color-mix(in srgb, var(--accent) 60%, transparent); }
.vt-puce.est-epuisee span { opacity: .5; text-decoration: line-through; cursor: not-allowed; }
.vt-quantite { display: inline-flex; align-items: center; border: 1px solid var(--bord); border-radius: var(--rayon-petit); background: var(--surface); overflow: hidden; }
.vt-quantite button { width: 40px; height: 42px; border: 0; background: transparent; font-size: 1.2rem; }
.vt-quantite button:hover { background: var(--surface-2); }
.vt-quantite input { width: 48px; text-align: center; border: 0; border-left: 1px solid var(--bord); border-right: 1px solid var(--bord); height: 42px; -moz-appearance: textfield; background: transparent; }
.vt-quantite input::-webkit-outer-spin-button, .vt-quantite input::-webkit-inner-spin-button { -webkit-appearance: none; }
.vt-achat { display: grid; gap: 10px; margin: 14px 0; padding: 14px; background: var(--surface); border: 1px solid var(--bord); border-radius: var(--rayon); }
.vt-achat-ligne { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.vt-achat-boutons { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
@media (max-width: 420px) { .vt-achat-boutons { grid-template-columns: 1fr; } }
.vt-partage { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; align-items: center; }
.vt-partage .vt-etiquette { margin: 0 4px 0 0; }
.vt-partage-bouton { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--bord); background: var(--surface); color: var(--texte); font-size: .85rem; text-decoration: none; transition: border-color .15s; }
.vt-partage-bouton:hover { border-color: var(--accent); }
.vt-partage-bouton svg { width: 16px; height: 16px; }
.vt-qr-bloc { display: grid; place-items: center; gap: 8px; margin-top: 10px; padding: 14px; background: var(--surface); border: 1px solid var(--bord); border-radius: var(--rayon); }
.vt-qr-bloc img { width: 180px; height: 180px; }
.vt-details { border: 1px solid var(--bord); border-radius: var(--rayon); background: var(--surface); margin-top: 12px; }
.vt-details > summary { cursor: pointer; padding: 12px 14px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.vt-details > summary::-webkit-details-marker { display: none; }
.vt-details > summary::after { content: "+"; font-size: 1.2rem; color: var(--texte-2); }
.vt-details[open] > summary::after { content: "–"; }
.vt-details > *:not(summary) { padding: 0 14px 14px; }
.vt-confiance { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 10px 0 0; padding: 0; list-style: none; font-size: .82rem; color: var(--texte-2); }
.vt-confiance li { display: inline-flex; align-items: center; gap: 5px; }
.vt-confiance svg { color: var(--accent); }

/* Lightbox */
.vt-lightbox { position: fixed; inset: 0; background: rgba(0, 0, 0, .92); z-index: 90; display: grid; place-items: center; padding: 16px; }
.vt-lightbox img { max-width: 100%; max-height: 90vh; object-fit: contain; border-radius: 6px; }
.vt-lightbox button { position: absolute; background: rgba(255, 255, 255, .12); color: #fff; border: 0; width: 44px; height: 44px; border-radius: 999px; display: grid; place-items: center; }
.vt-lightbox button:hover { background: rgba(255, 255, 255, .25); }
.vt-lightbox .vt-lb-fermer { top: 12px; right: 12px; }
.vt-lightbox .vt-lb-prec { left: 8px; top: 50%; transform: translateY(-50%); }
.vt-lightbox .vt-lb-suiv { right: 8px; top: 50%; transform: translateY(-50%); }
.vt-lightbox .vt-lb-compteur { position: absolute; bottom: 14px; left: 0; right: 0; text-align: center; color: #fff; font-size: .85rem; }

/* ---------- Formulaires ---------- */
.vt-formulaire { display: grid; gap: 12px; }
.vt-champ label { display: block; font-size: .88rem; font-weight: 600; margin-bottom: 4px; }
.vt-champ input, .vt-champ textarea, .vt-champ select { width: 100%; padding: 11px 12px; border: 1px solid var(--bord); border-radius: var(--rayon-petit); background: var(--surface); color: var(--texte); }
.vt-champ input:focus, .vt-champ textarea:focus, .vt-champ select:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.vt-champ-ligne { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 480px) { .vt-champ-ligne { grid-template-columns: 1fr; } }
.vt-aide { font-size: .82rem; color: var(--texte-2); margin: 4px 0 0; }
.vt-case { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; cursor: pointer; }
.vt-case input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--accent); flex: none; }
.vt-options { display: grid; gap: 8px; }
.vt-option { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border: 1px solid var(--bord); border-radius: var(--rayon-petit); background: var(--surface); cursor: pointer; }
.vt-option input { accent-color: var(--accent); margin-top: 3px; }
.vt-option:has(input:checked) { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 8%, var(--surface)); }
.vt-option strong { display: block; }
.vt-option small { color: var(--texte-2); }
.vt-bloc { padding: 16px; background: var(--surface); border: 1px solid var(--bord); border-radius: var(--rayon); box-shadow: var(--ombre); }
.vt-bloc + .vt-bloc { margin-top: 14px; }
.vt-bloc-titre { font-size: 1.05rem; margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.vt-bloc-titre svg { color: var(--accent); }
.vt-position { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.vt-position .vt-etat { font-size: .82rem; color: var(--texte-2); }
.vt-audio { display: grid; gap: 8px; }
.vt-audio-ligne { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.vt-audio-chrono { font-variant-numeric: tabular-nums; font-size: .9rem; color: var(--texte-2); }
.vt-audio .est-enregistrement { animation: vt-pulse 1s infinite; }
@keyframes vt-pulse { 50% { opacity: .55; } }
.vt-audio audio { width: 100%; }

/* ---------- Panier ---------- */
.vt-panier { display: grid; gap: 16px; margin-top: 16px; }
@media (min-width: 900px) { .vt-panier { grid-template-columns: minmax(0, 1.4fr) minmax(300px, 1fr); align-items: start; } .vt-panier-resume { position: sticky; top: 72px; } }
.vt-ligne { display: grid; grid-template-columns: 72px 1fr auto; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--bord); align-items: center; }
.vt-ligne:last-child { border-bottom: 0; }
.vt-ligne-image { width: 72px; height: 72px; border-radius: var(--rayon-petit); object-fit: cover; background: var(--surface-2); }
.vt-ligne-nom { font-weight: 600; font-size: .95rem; }
.vt-ligne-nom a { color: inherit; text-decoration: none; }
.vt-ligne-variante { font-size: .82rem; color: var(--texte-2); }
.vt-ligne-prix { font-size: .9rem; color: var(--texte-2); }
.vt-ligne-droite { display: grid; gap: 6px; justify-items: end; }
.vt-ligne-total { font-weight: 700; }
.vt-ligne-retirer { background: none; border: 0; color: var(--texte-2); font-size: .8rem; text-decoration: underline; padding: 2px; }
.vt-ligne .vt-quantite button { width: 32px; height: 34px; }
.vt-ligne .vt-quantite input { width: 40px; height: 34px; }
.vt-recap { display: grid; gap: 6px; font-size: .95rem; }
.vt-recap div { display: flex; justify-content: space-between; gap: 10px; }
.vt-recap .vt-recap-total { font-weight: 700; font-size: 1.15rem; border-top: 1px dashed var(--bord); padding-top: 8px; margin-top: 4px; }
.vt-total { display: flex; justify-content: space-between; font-weight: 700; font-size: 1.1rem; border-top: 1px dashed var(--bord); padding-top: 10px; }

/* ---------- Commande, suivi ---------- */
.vt-retour { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; color: var(--texte-2); text-decoration: none; font-size: .9rem; }
.vt-commande { min-width: 0; margin-top: 20px; padding: 20px; background: var(--surface); border: 1px solid var(--bord); border-radius: var(--rayon); box-shadow: var(--ombre); max-width: 680px; }
.vt-commande h1 { font-size: 1.4rem; margin-bottom: 6px; }
.vt-statut { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px; font-weight: 600; font-size: .85rem; background: var(--surface-2); border: 1px solid var(--bord); }
.vt-statut--PAYEE { background: #dcfce7; color: #14532d; border-color: #86efac; }
.vt-statut--ECHOUEE, .vt-statut--ANNULEE { background: #fee2e2; color: #7f1d1d; border-color: #fca5a5; }
.vt-statut--EXPIREE { background: #f3f4f6; color: #374151; }
.vt-recu { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: .95rem; }
.vt-recu td { padding: 8px 0; border-bottom: 1px solid var(--bord); vertical-align: top; }
.vt-recu td:last-child { text-align: right; font-weight: 600; overflow-wrap: anywhere; }
.vt-recu td:first-child { overflow-wrap: anywhere; }
.vt-recu tr.vt-recu-total td { font-size: 1.05rem; border-bottom: 0; }
.vt-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.vt-frise { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin: 16px 0; padding: 0; list-style: none; counter-reset: etape; }
.vt-frise li { text-align: center; font-size: .78rem; color: var(--texte-2); position: relative; padding-top: 30px; }
.vt-frise li::before { content: ""; position: absolute; top: 10px; left: 0; right: 0; height: 3px; background: var(--bord); }
.vt-frise li::after { content: ""; position: absolute; top: 3px; left: 50%; width: 18px; height: 18px; margin-left: -9px; border-radius: 999px; background: var(--surface); border: 3px solid var(--bord); box-sizing: border-box; }
.vt-frise li.est-faite { color: var(--texte); font-weight: 600; }
.vt-frise li.est-faite::before, .vt-frise li.est-faite::after { background: var(--accent); border-color: var(--accent); }
.vt-frise li.est-courante::after { box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 25%, transparent); }
.vt-frise li:first-child::before { left: 50%; }
.vt-frise li:last-child::before { right: 50%; }
.vt-point { padding: 14px 16px; border-left: 4px solid var(--accent); background: color-mix(in srgb, var(--accent) 7%, var(--surface)); border-radius: var(--rayon-petit); margin: 14px 0; }
.vt-point strong { display: block; margin-bottom: 4px; font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; color: var(--accent); }
.vt-code { display: inline-block; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 1.3rem; letter-spacing: .12em; padding: 6px 12px; border: 1px dashed var(--accent); border-radius: var(--rayon-petit); }
.vt-pin { display: flex; gap: 8px; align-items: center; }
.vt-pin input { width: 120px; text-align: center; font-size: 1.4rem; letter-spacing: .3em; }

/* ---------- Pages texte ---------- */
.vt-prose { max-width: 72ch; margin-top: 16px; white-space: pre-line; color: var(--texte); line-height: 1.7; }
.vt-prose h1 { margin-bottom: 12px; font-size: 1.6rem; }

/* ---------- Pied de page ---------- */
.vt-pied { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--bord); color: var(--texte-2); font-size: .86rem; display: grid; gap: 18px; }
.vt-pied-colonnes { display: grid; gap: 18px; }
@media (min-width: 760px) { .vt-pied-colonnes { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; align-items: start; } }
.vt-pied-bloc { display: flex; gap: 10px; align-items: flex-start; line-height: 1.55; }
.vt-pied-bloc > span { display: block; }
.vt-pied-titre { display: block; color: var(--texte); font-size: .95rem; margin-bottom: 6px; }
.vt-pied-bas { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; padding-top: 14px; border-top: 1px solid var(--bord); font-size: .8rem; }
.vt-pied-bas a { color: var(--texte-2); }
.vt-promo { display: flex; align-items: flex-start; gap: 10px; }
.vt-promo strong { color: var(--texte); }
.vt-pied-liens { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 760px) { .vt-pied-bloc .vt-pied-liens { flex-direction: column; gap: 6px; } }
.vt-pied-liens a { color: var(--texte-2); text-decoration: none; }
.vt-pied-liens a:hover { color: var(--accent); }

/* ---------- Toast ---------- */
.vt-toast { position: fixed; left: 50%; bottom: 20px; transform: translate(-50%, 20px); background: var(--texte); color: var(--fond); padding: 10px 16px; border-radius: 999px; font-size: .9rem; opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; z-index: 95; display: flex; align-items: center; gap: 8px; max-width: calc(100vw - 32px); }
.vt-toast.est-visible { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.vt-toast a { text-decoration: underline; text-underline-offset: 2px; padding: 4px 2px; margin: -4px -2px; white-space: nowrap; }
.vt-toast a { color: inherit; font-weight: 700; }

/* ---------- Vignette d'aperçu (galerie du portail) ---------- */
.vt-vignette { width: 100%; aspect-ratio: 4 / 3; border-radius: 8px; overflow: hidden; background: var(--fond); color: var(--texte); font-family: var(--police); border: 1px solid var(--bord); position: relative; font-size: 7px; }
.vt-vignette-bandeau { height: 26%; background: var(--motif, linear-gradient(120deg, var(--accent), var(--accent-fonce))); background-size: cover; }
.vt-vignette-logo { position: absolute; top: 17%; left: 7%; width: 16%; aspect-ratio: 1; border-radius: var(--rayon); background: var(--surface); border: 1px solid var(--bord); box-shadow: var(--ombre); }
.vt-vignette-nom { position: absolute; top: 29%; left: 27%; width: 38%; height: 6%; border-radius: 3px; background: var(--texte); opacity: .85; }
.vt-vignette-pastille { position: absolute; top: 37%; left: 27%; width: 24%; height: 5%; border-radius: 999px; background: var(--accent); }
.vt-vignette-menu { position: absolute; top: 46%; left: 7%; right: 7%; height: 6%; display: flex; gap: 3%; }
.vt-vignette-menu i { flex: 1; border-radius: 999px; border: 1px solid var(--bord); background: var(--surface); }
.vt-vignette-menu i:first-child { background: var(--accent); border-color: var(--accent); }
.vt-vignette-cartes { position: absolute; left: 7%; right: 7%; bottom: 6%; top: 56%; display: grid; grid-template-columns: repeat(3, 1fr); gap: 4%; }
.vt-vignette-carte { background: var(--surface); border: 1px solid var(--bord); border-radius: calc(var(--rayon) * .5); box-shadow: var(--ombre); overflow: hidden; display: flex; flex-direction: column; }
.vt-vignette-carte::before { content: ""; display: block; height: 55%; background: var(--surface-2); border-bottom: 1px solid var(--bord); }
.vt-vignette-carte::after { content: ""; display: block; margin: auto 8% 8%; height: 14%; border-radius: 2px; background: var(--accent); width: 45%; }

/* ---------- Thèmes ---------- */
/* Variables et quelques règles de caractère par thème, toutes sous [data-theme] : aucune fuite d'un thème à l'autre. */
[data-theme="clair"] { --fond: #f8fafc; --surface: #ffffff; --surface-2: #f1f5f9; --texte: #0f172a; --texte-2: #475569; --bord: #e2e8f0; --rayon: 14px; --rayon-petit: 10px; --ombre: 0 2px 10px rgba(15, 23, 42, .05); --ombre-forte: 0 12px 28px rgba(15, 23, 42, .12); --police: system-ui, -apple-system, "Segoe UI", Roboto, Ubuntu, sans-serif; --police-titre: var(--police); }

[data-theme="pastel"] { --fond: #fdf4f8; --surface: #ffffff; --surface-2: #fbe9f1; --texte: #3b1d36; --texte-2: #7a5577; --bord: #f3d6e8; --rayon: 22px; --rayon-petit: 14px; --ombre: 0 4px 16px rgba(194, 85, 156, .08); --ombre-forte: 0 14px 30px rgba(194, 85, 156, .18); --police: "Trebuchet MS", "Segoe UI", system-ui, sans-serif; --police-titre: var(--police); --motif: linear-gradient(135deg, #f9a8d4, #c4b5fd); }
[data-theme="pastel"] .vt-bouton, [data-theme="pastel"] .vt-menu a { border-radius: 999px; }

[data-theme="mineral"] { --fond: #eceff3; --surface: #ffffff; --surface-2: #e3e8ee; --texte: #0b1a2e; --texte-2: #4b5a6e; --bord: #c9d2de; --rayon: 3px; --rayon-petit: 2px; --ombre: none; --ombre-forte: 0 8px 20px rgba(11, 26, 46, .12); --police: "Segoe UI", system-ui, Roboto, sans-serif; --police-titre: var(--police); --motif: linear-gradient(120deg, #1f3a5f, #334e68); --espacement-titre: -.01em; }
[data-theme="mineral"] .vt-logo { border-color: var(--surface); }
[data-theme="mineral"] .vt-pastille, [data-theme="mineral"] .vt-badge, [data-theme="mineral"] .vt-menu a, [data-theme="mineral"] .vt-compteur { border-radius: 2px; }

[data-theme="bureau"] { --fond: #ffffff; --surface: #f8fafc; --surface-2: #eef2f7; --texte: #0f1f3d; --texte-2: #4b5563; --bord: #d6dce6; --rayon: 6px; --rayon-petit: 4px; --ombre: none; --ombre-forte: 0 8px 20px rgba(15, 31, 61, .1); --police: Georgia, "Times New Roman", serif; --police-titre: Georgia, "Times New Roman", serif; --motif: linear-gradient(90deg, #1d3f8a, #10275e); --ratio-carte: 4 / 3; --colonnes-bureau: 3; }
[data-theme="bureau"] .vt-bandeau { height: 110px; border-radius: 0; }
[data-theme="bureau"] .vt-carte-nom { font-size: 1.05rem; }

[data-theme="atelier"] { --fond: #f4ebdd; --surface: #fffaf2; --surface-2: #efe3d0; --texte: #3f2a1d; --texte-2: #7a5c48; --bord: #e0cdb5; --rayon: 10px; --rayon-petit: 6px; --ombre: 0 2px 0 #e0cdb5; --ombre-forte: 0 10px 24px rgba(63, 42, 29, .14); --police: Georgia, "Palatino Linotype", serif; --police-titre: Georgia, serif; --motif: repeating-linear-gradient(45deg, #b4532a 0 12px, #c76a3f 12px 24px); --ratio-carte: 1 / 1; --colonnes-bureau: 3; }
[data-theme="atelier"] body, body[data-theme="atelier"] { background-image: repeating-linear-gradient(0deg, rgba(0, 0, 0, .022) 0 1px, transparent 1px 3px); }

[data-theme="pixel"] { --fond: #0b1020; --surface: #141a2e; --surface-2: #1c2440; --texte: #e6ecff; --texte-2: #9aa6c7; --bord: #273052; --rayon: 8px; --rayon-petit: 6px; --ombre: 0 0 0 1px rgba(34, 211, 238, .12); --ombre-forte: 0 0 0 1px rgba(34, 211, 238, .4), 0 12px 30px rgba(0, 0, 0, .5); --police: "Segoe UI", system-ui, Roboto, sans-serif; --police-titre: ui-monospace, "SF Mono", Menlo, Consolas, monospace; --motif: linear-gradient(120deg, #0b1020, #1a2350 60%, #22d3ee); --colonnes-bureau: 4; }
[data-theme="pixel"] .vt-avis--alerte { background: #3b2a0a; color: #fde68a; }
[data-theme="pixel"] .vt-avis--succes { background: #0f2e1d; color: #bbf7d0; }
[data-theme="pixel"] .vt-avis--erreur { background: #3a1212; color: #fecaca; }
[data-theme="pixel"] .vt-barre { background: color-mix(in srgb, var(--fond) 85%, transparent); }
[data-theme="pixel"] .vt-toast { background: #22d3ee; color: #0b1020; }

[data-theme="wax"] { --fond: #fff8e7; --surface: #ffffff; --surface-2: #fdefc8; --texte: #2b1b0e; --texte-2: #6b4a2b; --bord: #e9c46a; --rayon: 8px; --rayon-petit: 6px; --ombre: 0 3px 0 #d97706; --ombre-forte: 0 10px 24px rgba(217, 119, 6, .25); --police: "Trebuchet MS", Verdana, sans-serif; --police-titre: "Trebuchet MS", Verdana, sans-serif; --motif: repeating-linear-gradient(135deg, #d97706 0 18px, #0f766e 18px 36px, #b91c1c 36px 54px, #f59e0b 54px 72px); }
[data-theme="wax"] .vt-carte { border: 2px solid var(--bord); }
[data-theme="wax"] .vt-section-titre::after { content: ""; flex: 1; height: 4px; margin-left: 6px; background: repeating-linear-gradient(90deg, #d97706 0 10px, #0f766e 10px 20px, #b91c1c 20px 30px); border-radius: 2px; }
[data-theme="wax"] .vt-pied { border-top: 4px solid; border-image: repeating-linear-gradient(90deg, #d97706 0 10px, #0f766e 10px 20px, #b91c1c 20px 30px) 4; }

[data-theme="marche"] { --fond: #f0fdf4; --surface: #ffffff; --surface-2: #e7f8ec; --texte: #14301c; --texte-2: #3f6b4c; --bord: #bbf7d0; --rayon: 12px; --rayon-petit: 8px; --ombre: 0 2px 10px rgba(21, 128, 61, .06); --ombre-forte: 0 12px 26px rgba(21, 128, 61, .16); --police: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; --police-titre: var(--police); --motif: linear-gradient(120deg, #15803d, #facc15); --ratio-carte: 1 / 1; }
[data-theme="marche"] .vt-prix { background: #fef08a; color: #14301c; padding: 1px 8px; border-radius: 6px; }
[data-theme="marche"] .vt-article-prix .vt-prix { padding: 3px 12px; }

[data-theme="mode"] { --fond: #ffffff; --surface: #ffffff; --surface-2: #f4f4f4; --texte: #111111; --texte-2: #6b6b6b; --bord: #e6e6e6; --rayon: 0px; --rayon-petit: 0px; --ombre: none; --ombre-forte: none; --police: "Helvetica Neue", Helvetica, Arial, sans-serif; --police-titre: "Helvetica Neue", Helvetica, Arial, sans-serif; --motif: linear-gradient(120deg, #111111, #3a3a3a); --ratio-carte: 3 / 4; --poids-titre: 400; --espacement-titre: .06em; --colonnes-bureau: 4; }
[data-theme="mode"] .vt-nom, [data-theme="mode"] .vt-section-titre, [data-theme="mode"] .vt-article-titre { text-transform: uppercase; }
[data-theme="mode"] .vt-carte { border: 0; }
[data-theme="mode"] .vt-carte-corps { padding: 10px 2px 12px; }
[data-theme="mode"] .vt-bouton, [data-theme="mode"] .vt-menu a { text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; }
[data-theme="mode"] .vt-pastille, [data-theme="mode"] .vt-badge, [data-theme="mode"] .vt-compteur, [data-theme="mode"] .vt-rond, [data-theme="mode"] .vt-recherche { border-radius: 0; }
@media (hover: hover) { [data-theme="mode"] .vt-carte:hover { transform: none; } }

[data-theme="beaute"] { --fond: #fbf5f0; --surface: #ffffff; --surface-2: #f6ebe2; --texte: #3d2b22; --texte-2: #8a6f62; --bord: #ecdccf; --rayon: 18px; --rayon-petit: 12px; --ombre: 0 4px 16px rgba(184, 134, 11, .08); --ombre-forte: 0 14px 30px rgba(184, 134, 11, .2); --police: Georgia, "Palatino Linotype", serif; --police-titre: Georgia, serif; --motif: linear-gradient(135deg, #e8c9b0, #b8860b); --ratio-carte: 4 / 5; --colonnes-bureau: 3; }
[data-theme="beaute"] .vt-bouton, [data-theme="beaute"] .vt-menu a { border-radius: 999px; }
[data-theme="beaute"] .vt-section-titre { font-style: italic; font-weight: 400; font-size: 1.35rem; }

[data-theme="evenement"] { --fond: #f5f3ff; --surface: #ffffff; --surface-2: #ede9fe; --texte: #1e1b4b; --texte-2: #5b5680; --bord: #ddd6fe; --rayon: 16px; --rayon-petit: 10px; --ombre: 0 4px 16px rgba(124, 58, 237, .08); --ombre-forte: 0 14px 30px rgba(124, 58, 237, .2); --police: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; --police-titre: var(--police); --motif: linear-gradient(120deg, #7c3aed, #db2777); --ratio-carte: 16 / 10; --colonnes-bureau: 3; }
[data-theme="evenement"] .vt-grille { grid-template-columns: 1fr; }
@media (min-width: 640px) { [data-theme="evenement"] .vt-grille { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { [data-theme="evenement"] .vt-grille { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
[data-theme="evenement"] .vt-carte-nom { font-size: 1.1rem; }

[data-theme="education"] { --fond: #f0f7ff; --surface: #ffffff; --surface-2: #e2effa; --texte: #0c2340; --texte-2: #44607a; --bord: #cfe3f7; --rayon: 8px; --rayon-petit: 6px; --ombre: none; --ombre-forte: 0 8px 20px rgba(3, 105, 161, .12); --police: Verdana, "Segoe UI", system-ui, sans-serif; --police-titre: Verdana, "Segoe UI", sans-serif; --motif: linear-gradient(120deg, #0369a1, #38bdf8); --ratio-carte: 16 / 10; --colonnes-bureau: 3; }
[data-theme="education"] .vt-grille { grid-template-columns: 1fr; gap: 10px; }
@media (min-width: 640px) { [data-theme="education"] .vt-grille { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { [data-theme="education"] .vt-grille { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
[data-theme="education"] .vt-carte { border-left: 4px solid var(--accent); }

[data-theme="nuit"] { --fond: #0f0f12; --surface: #1a1a20; --surface-2: #24242c; --texte: #f5f0e6; --texte-2: #b8b0a0; --bord: #3a3528; --rayon: 10px; --rayon-petit: 6px; --ombre: 0 0 0 1px rgba(212, 175, 55, .18); --ombre-forte: 0 0 0 1px rgba(212, 175, 55, .5), 0 14px 30px rgba(0, 0, 0, .6); --police: Georgia, "Palatino Linotype", serif; --police-titre: Georgia, serif; --motif: linear-gradient(120deg, #0f0f12, #2a2416 60%, #d4af37); --colonnes-bureau: 4; }
[data-theme="nuit"] .vt-section-titre::after { content: ""; flex: 1; height: 1px; margin-left: 6px; background: linear-gradient(90deg, #d4af37, transparent); }
[data-theme="nuit"] .vt-avis--alerte { background: #3b2a0a; color: #fde68a; }
[data-theme="nuit"] .vt-avis--succes { background: #0f2e1d; color: #bbf7d0; }
[data-theme="nuit"] .vt-avis--erreur { background: #3a1212; color: #fecaca; }
[data-theme="nuit"] .vt-barre { background: color-mix(in srgb, var(--fond) 85%, transparent); }
[data-theme="nuit"] .vt-toast { background: #d4af37; color: #0f0f12; }

@media (max-width: 600px) {
    .vt-bandeau { height: 120px; }
    .vt-logo { width: 72px; height: 72px; font-size: 26px; }
    .vt-entete { margin-top: -34px; }
    .vt-identite { margin-top: 40px; }
    .vt-section { margin-top: 22px; }
}
/* Mobile : en-tête compact (téléphone, WhatsApp et adresse sont dans le panneau du menu ; date de vérification masquée). */
@media (max-width: 759px) {
    .vt-coordonnees { display: none; }
    .vt-pastille-date { display: none; }
}
.vt-commande .vt-bloc { margin-top: 14px; }
.vt-ligne-retirer { padding: 8px 4px; min-height: 32px; }
@media print { .vt-barre, .vt-pied, .vt-partage, .vt-carte-actions, .vt-toast { display: none !important; } }

/* Compléments v2 : titres de page, barre d'achat mobile, cibles tactiles */
.vt-titre-page { margin-top: 14px; }
#vt-panier-payer { margin-top: 12px; }
.vt-carte-actions .vt-bouton, .vt-rond, .vt-quantite button, .vt-partage-bouton, .vt-menu a { min-height: 44px; }
.vt-quantite input { min-height: 44px; }
.vt-barre-achat { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: flex; align-items: center; gap: 10px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: color-mix(in srgb, var(--surface) 94%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-top: 1px solid var(--bord); box-shadow: 0 -8px 24px rgba(0, 0, 0, .08); transform: translateY(110%); transition: transform .25s; }
.vt-barre-achat.est-visible { transform: none; }
.vt-barre-achat .vt-prix { font-size: 1.1rem; flex: 1; min-width: 0; }
.vt-barre-achat .vt-prix small { display: block; font-size: .75rem; font-weight: 500; color: var(--texte-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vt-barre-achat .vt-bouton { min-height: 46px; padding: 10px 16px; }
.vt-barre-achat .vt-barre-achat-panier { width: 46px; padding: 0; flex: none; }
.vt-barre-achat .vt-barre-achat-panier svg { width: 22px; height: 22px; }
@media (min-width: 800px) { .vt-barre-achat { display: none; } }
body.a-barre-achat { padding-bottom: 80px; }
.vt-bloc--espace { margin-top: 14px; }

/* Menu mobile : panneau latéral (hamburger), fermé au bureau où la rangée du menu suffit */
.vt-rond--menu { display: inline-grid; }
@media (min-width: 760px) { .vt-rond--menu { display: none; } .vt-panneau, .vt-voile { display: none !important; } }
/* Téléphone : la barre ne garde que « Accueil » (demande du propriétaire du 08/11/2026) ; catégories, pages et « Plus » restent dans le panneau du bouton menu, qui les liste toutes. */
@media (max-width: 759.98px) { .vt-menu li:not(:first-child), .vt-menu-plus { display: none; } }
.vt-voile { position: fixed; inset: 0; background: rgba(0, 0, 0, .45); z-index: 60; opacity: 0; transition: opacity .25s; }
.vt-voile.est-visible { opacity: 1; }
.vt-panneau { position: fixed; top: 0; right: 0; bottom: 0; width: min(86vw, 360px); background: var(--surface); color: var(--texte); z-index: 61; transform: translateX(104%); transition: transform .28s cubic-bezier(.2, .8, .2, 1); display: flex; flex-direction: column; gap: 12px; padding: 14px 16px calc(16px + env(safe-area-inset-bottom)); overflow-y: auto; box-shadow: -10px 0 30px rgba(0, 0, 0, .18); }
.vt-panneau.est-ouvert { transform: none; }
.vt-panneau-tete { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 1.05rem; }
.vt-recherche--panneau { display: flex; flex: none; }
.vt-panneau-liste, .vt-panneau-liste ul { list-style: none; margin: 0; padding: 0; }
.vt-panneau-liste > li { border-bottom: 1px solid var(--bord); }
.vt-panneau-liste a, .vt-panneau-groupe > summary { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 10px 4px; color: var(--texte); text-decoration: none; font-weight: 500; cursor: pointer; list-style: none; }
.vt-panneau-groupe > summary::-webkit-details-marker { display: none; }
.vt-panneau-groupe > summary::after { content: "+"; margin-left: auto; color: var(--texte-2); font-size: 1.2rem; }
.vt-panneau-groupe[open] > summary::after { content: "–"; }
.vt-panneau-groupe ul a { padding-left: 34px; min-height: 44px; font-weight: 400; }
.vt-panneau-liste a[aria-current="page"] { color: var(--accent); font-weight: 700; }
.vt-panneau-nombre { font-size: .75rem; color: var(--texte-2); }
.vt-panneau-whatsapp { width: 100%; }
body.a-panneau-ouvert { overflow: hidden; }

/* ---------- Page Contact (03/11/2026) : formulaire relayé par CashChap, aucune coordonnée du vendeur avant le paiement ---------- */
.vt-contact { display: grid; gap: 14px; margin-top: 14px; max-width: 680px; }
.vt-contact-titre { font-size: clamp(1.4rem, 3.5vw, 1.9rem); display: flex; align-items: center; gap: 10px; }
.vt-contact-titre svg { color: var(--accent); width: 1.2em; height: 1.2em; }
.vt-contact-formulaire { padding: 18px; }
.vt-contact-article { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 12px; border: 1px solid var(--bord); border-radius: var(--rayon-petit); background: var(--surface-2); }
.vt-contact-article img, .vt-contact-article-vide { width: 64px; height: 64px; border-radius: var(--rayon-petit); object-fit: cover; background: var(--surface); display: grid; place-items: center; color: var(--texte-2); }
.vt-contact-article .vt-etiquette { margin-bottom: 2px; font-size: .72rem; color: var(--texte-2); text-transform: uppercase; letter-spacing: .06em; }
.vt-contact-article > div > a { color: var(--texte); text-decoration: none; font-weight: 600; display: block; overflow-wrap: anywhere; }
.vt-contact-article small { color: var(--texte-2); }
.vt-contact-article .vt-contact-article-retirer { font-size: .85rem; color: var(--texte-2); text-decoration: underline; }
.vt-facultatif { color: var(--texte-2); font-weight: 400; }
.vt-erreur { color: #b91c1c; font-size: .85rem; margin: 4px 0 0; font-weight: 600; }
[data-theme="pixel"] .vt-erreur, [data-theme="nuit"] .vt-erreur { color: #fca5a5; }
.vt-captcha-question { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: 6px 0 8px; }
.vt-captcha-question img { height: 60px; width: auto; max-width: 100%; border: 1px solid var(--bord); border-radius: var(--rayon-petit); background: #fff; }
.vt-captcha-question details, .vt-captcha-question a { font-size: .85rem; color: var(--texte-2); }
.vt-captcha-question details span { display: block; margin-top: 4px; color: var(--texte); }
.vt-captcha-texte { font-weight: 600; }
.vt-captcha input[type="text"] { max-width: 160px; }
.vt-piege { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.vt-question { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; margin: 12px 0; padding: 12px 14px; border: 1px dashed var(--bord); border-radius: var(--rayon); color: var(--texte-2); font-size: .92rem; }
.vt-envoye { max-width: 560px; margin: 32px auto 0; text-align: center; padding: 28px 20px; background: var(--surface); border: 1px solid var(--bord); border-radius: var(--rayon); box-shadow: var(--ombre); }
.vt-envoye-icone { width: 64px; height: 64px; margin: 0 auto 14px; border-radius: 999px; background: var(--accent); color: var(--sur-accent); display: grid; place-items: center; }
.vt-envoye-icone svg { width: 34px; height: 34px; }
.vt-envoye h1 { font-size: 1.5rem; margin-bottom: 8px; }
.vt-envoye p { color: var(--texte-2); }
.vt-envoye .vt-actions { justify-content: center; }
