/* ==========================================================================
   AnkibaMarket v3 — carte d'annonce et page de recherche (novembre 2026)
   Chargé en dernier. Préfixes : .vc (carte), .vs3 (recherche).
   ========================================================================== */

.vistore-theme {
  --v3-ink: #0f1c17;
  --v3-ink-2: #3a4a43;
  --v3-muted: #6b7a72;
  --v3-line: #e5ebe7;
  --v3-soft: #f4f7f5;
  --v3-surface: #ffffff;
  --v3-green: #007a3d;
  --v3-green-deep: #0b3d2a;
  --v3-gold: #f5c400;
  --v3-red: #ce1126;
  --v3-radius: 18px;
}
html.vistore-dark .vistore-theme {
  --v3-ink: #eef4f0;
  --v3-ink-2: #c4cfc9;
  --v3-muted: #93a199;
  --v3-line: #26332d;
  --v3-soft: #17211c;
  --v3-surface: #111a16;
}

/* --------------------------------------------------------------------------
   1. Carte d'annonce
   -------------------------------------------------------------------------- */
.vistore-theme .vistore-card.vc {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 0;
  overflow: visible;
  border: 0;
  border-radius: var(--v3-radius);
  background: transparent;
  box-shadow: none;
  transform: none;
  transition: transform .25s ease;
}
.vistore-theme .vistore-card.vc::before,
.vistore-theme .vistore-card.vc::after { content: none; display: none; }
.vistore-theme .vistore-card.vc:hover { transform: none; box-shadow: none; }

/* Photo */
.vistore-theme .vistore-card.vc .vc-media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  min-height: 0;
  height: auto;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: var(--v3-radius);
  background: var(--v3-soft);
  box-shadow: none;
  isolation: isolate;
}
.vistore-theme .vistore-card.vc .vc-media::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 38%;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, .28));
  opacity: 0;
  transition: opacity .25s ease;
}
.vistore-theme .vistore-card.vc:hover .vc-media::after { opacity: 1; }
.vistore-theme .vistore-card.vc .vistore-card__gallery,
.vistore-theme .vistore-card.vc .vistore-card__gallery img,
.vistore-theme .vistore-card.vc .vistore-card__gallery video { border-radius: 0; }
.vistore-theme .vistore-card.vc .vistore-card__gallery img { object-fit: cover; transition: transform .6s cubic-bezier(.2, .7, .2, 1), opacity .3s ease; }
.vistore-theme .vistore-card.vc:hover .vistore-card__gallery img.is-active { transform: scale(1.04); }
.vistore-theme .vistore-card.vc .vistore-card__image .vistore-card__gallery-progress { bottom: 10px; z-index: 2; }

/* Badge unique, discret */
.vistore-theme .vistore-card.vc .vc-flag {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 24px;
  padding: 0 9px 0 7px;
  border-radius: 999px;
  background: rgba(12, 20, 16, .58);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .02em;
  line-height: 1;
  backdrop-filter: blur(8px) saturate(140%);
  -webkit-backdrop-filter: blur(8px) saturate(140%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14);
}
.vistore-theme .vistore-card.vc .vc-flag .vc-icon { width: 13px; height: 13px; }
.vistore-theme .vistore-card.vc .vc-flag--premium .vc-icon { color: var(--v3-gold); filter: drop-shadow(0 0 4px rgba(245, 196, 0, .45)); }
.vistore-theme .vistore-card.vc .vc-flag--boosted .vc-icon { color: #ffb020; }
.vistore-theme .vistore-card.vc .vc-flag--sold { background: rgba(12, 20, 16, .78); padding-left: 9px; }
.vistore-theme .vistore-card.vc .vc-flag--reserved { background: rgba(155, 104, 0, .82); padding-left: 9px; }

/* Annonce premium : liseré or très fin autour de la photo, sans rien ajouter d'autre. */
.vistore-theme .vistore-card.vc.is-premium .vc-media { box-shadow: 0 0 0 1.5px rgba(245, 196, 0, .9), 0 10px 26px rgba(245, 196, 0, .14); }
.vistore-theme .vistore-card.vc.is-sold .vistore-card__gallery img { filter: grayscale(.85); opacity: .75; }

/* Favori et coup d'œil */
.vistore-theme .vistore-card.vc .vistore-favorite--card { position: absolute; top: 8px; right: 8px; z-index: 4; }
.vistore-theme .vistore-card.vc .vistore-favorite--card button {
  width: 36px;
  min-width: 36px;
  height: 36px;
  min-height: 36px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .92);
  color: var(--v3-ink);
  box-shadow: 0 2px 10px rgba(0, 0, 0, .14);
  backdrop-filter: blur(6px);
}
.vistore-theme .vistore-card.vc .vistore-favorite--card button .vistore-icon { width: 18px; height: 18px; }
.vistore-theme .vistore-card.vc .vistore-favorite--card.is-active button { color: var(--v3-red); }
.vistore-theme .vistore-card.vc .vistore-favorite--card.is-active button .vistore-icon { fill: currentColor; }
/* Coup d'œil : centré sur la photo (marge en % = % de la largeur → 37,5 % = mi-hauteur d'une photo 4:3). */
.vistore-theme .vistore-card.vc > .vistore-peek {
  position: absolute;
  top: 0;
  margin-top: 37.5%;
  min-height: 38px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, .95);
  color: var(--v3-ink);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .2);
}

/* Texte */
.vistore-theme .vistore-card.vc .vc-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  padding: 11px 4px 4px;
  border: 0;
  background: transparent;
}
.vistore-theme .vistore-card.vc .vc-price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 2px 8px;
  margin: 0;
  color: var(--v3-ink);
}
.vistore-theme .vistore-card.vc .vc-price strong {
  font-size: 17.5px;
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.15;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.vistore-theme .vistore-card.vc .vc-price strong.is-ask { font-size: 14px; font-weight: 700; color: var(--v3-ink-2); letter-spacing: 0; }
.vistore-theme .vistore-card.vc .vc-price del { color: var(--v3-muted); font-size: 12.5px; font-weight: 500; }
.vistore-theme .vistore-card.vc .vc-price em { padding: 2px 6px; border-radius: 6px; background: color-mix(in srgb, var(--v3-red) 10%, transparent); color: var(--v3-red); font-size: 11.5px; font-style: normal; font-weight: 800; }
.vistore-theme .vistore-card.vc .vc-title {
  margin: 0;
  color: var(--v3-ink);
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -.005em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: calc(14.5px * 1.35 * 2);
}
.vistore-theme .vistore-card.vc .vc-title a { color: inherit; text-decoration: none; }
.vistore-theme .vistore-card.vc .vc-title a::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: var(--v3-radius); }
.vistore-theme .vistore-card.vc .vc-title a:focus-visible::after { outline: 3px solid var(--v3-green); outline-offset: 3px; }
.vistore-theme .vistore-card.vc .vc-meta {
  display: flex;
  align-items: center;
  gap: 4px 10px;
  margin: 1px 0 0;
  min-width: 0;
  color: var(--v3-muted);
  font-size: 12.5px;
  line-height: 1.3;
}
.vistore-theme .vistore-card.vc .vc-meta > span { display: inline-flex; align-items: center; gap: 3px; min-width: 0; }
.vistore-theme .vistore-card.vc .vc-meta__place { overflow: hidden; }
.vistore-theme .vistore-card.vc .vc-meta__place { white-space: nowrap; text-overflow: ellipsis; display: block !important; overflow: hidden; }
.vistore-theme .vistore-card.vc .vc-meta__place .vc-icon { width: 13px; height: 13px; margin-right: 3px; vertical-align: -2px; }
.vistore-theme .vistore-card.vc .vc-meta__date { flex: none; }
.vistore-theme .vistore-card.vc .vc-meta__date::before { content: "·"; margin-right: 6px; }
.vistore-theme .vistore-card.vc .vc-meta__seen { flex: none; color: var(--v3-green); font-weight: 600; }
.vistore-theme .vistore-card.vc .vc-meta__seen[hidden] { display: none !important; }
.vistore-theme .vistore-card.vc .vc-meta__seen .vc-icon { width: 13px; height: 13px; }

/* Vendeur : une seule ligne légère */
.vistore-theme .vistore-card.vc .vc-seller {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: 100%;
  margin-top: 6px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--v3-ink-2);
  font-size: 12.5px;
  font-weight: 600;
  text-decoration: none;
}
.vistore-theme .vistore-card.vc .vc-seller:hover .vc-seller__name { color: var(--v3-green); text-decoration: underline; text-underline-offset: 2px; }
.vistore-theme .vistore-card.vc .vc-seller__avatar {
  flex: none;
  width: 20px;
  height: 20px;
  min-width: 20px;
  border-radius: 50%;
  font-size: 9px;
  overflow: hidden;
}
.vistore-theme .vistore-card.vc .vc-seller__avatar img { width: 100%; height: 100%; object-fit: cover; }
.vistore-theme .vistore-card.vc .vc-seller__name { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.vistore-theme .vistore-card.vc .vc-seller__verified { display: inline-flex; flex: none; color: #1d9bf0; }
.vistore-theme .vistore-card.vc .vc-seller__verified .vc-icon { width: 14px; height: 14px; }
.vistore-theme .vistore-card.vc .vc-seller__pro { flex: none; padding: 2px 5px; border-radius: 5px; background: var(--v3-green-deep); color: var(--v3-gold); font-size: 9.5px; font-weight: 800; letter-spacing: .06em; line-height: 1.2; }
.vistore-theme .vistore-card.vc .vc-seller__delivery { display: inline-flex; flex: none; color: var(--v3-muted); }
.vistore-theme .vistore-card.vc .vc-seller__delivery .vc-icon { width: 15px; height: 15px; }

/* Éléments réservés à la vue liste */
.vistore-theme .vistore-card.vc .vc-category,
.vistore-theme .vistore-card.vc .vc-summary,
.vistore-theme .vistore-card.vc .vc-list-action { display: none; }
.vistore-theme .vistore-card.vc .vistore-hook-zone:empty { display: none; }

/* Vue liste */
.vistore-theme .vistore-listing-grid.is-list { grid-template-columns: 1fr !important; gap: 14px !important; }
.vistore-theme .vistore-listing-grid.is-list .vistore-card.vc {
  display: grid;
  grid-template-columns: minmax(150px, 240px) minmax(0, 1fr);
  gap: 18px;
  padding: 10px;
  border: 1px solid var(--v3-line);
  border-radius: calc(var(--v3-radius) + 4px);
  background: var(--v3-surface);
}
.vistore-theme .vistore-listing-grid.is-list .vistore-card.vc .vc-media { grid-row: span 2; min-height: 0; border-radius: 14px; }
.vistore-theme .vistore-listing-grid.is-list .vistore-card.vc .vc-body { padding: 4px 44px 4px 0; gap: 6px; }
.vistore-theme .vistore-listing-grid.is-list .vistore-card.vc .vc-title { font-size: 16.5px; -webkit-line-clamp: 2; min-height: 0; }
.vistore-theme .vistore-listing-grid.is-list .vistore-card.vc .vc-category { display: block; order: -1; color: var(--v3-green); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.vistore-theme .vistore-listing-grid.is-list .vistore-card.vc .vc-summary { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin: 2px 0 0; color: var(--v3-ink-2); font-size: 13.5px; line-height: 1.5; }
.vistore-theme .vistore-listing-grid.is-list .vistore-card.vc > .vistore-favorite--card { top: 16px; right: 16px; }
.vistore-theme .vistore-listing-grid.is-list .vistore-card.vc > .vistore-peek { display: none; }

/* --------------------------------------------------------------------------
   2. Grilles
   -------------------------------------------------------------------------- */
.vistore-theme .vistore-listing-grid:not(.is-list) { gap: 26px 18px; }
.vistore-theme .vistore-search-results .vistore-listing-grid:not(.is-list) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (min-width: 1280px) {
  .vistore-theme .vistore-search-results .vistore-listing-grid:not(.is-list) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1024px) {
  .vistore-theme .vistore-search-results .vistore-listing-grid:not(.is-list) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* --------------------------------------------------------------------------
   3. Page de recherche
   -------------------------------------------------------------------------- */
.vistore-theme .vistore-search-page { padding-bottom: 48px; }
.vistore-theme .vistore-search-page .vistore-breadcrumbs { margin: 18px 0 6px; color: var(--v3-muted); font-size: 13px; }
.vistore-theme .vistore-search-page .vistore-breadcrumbs a { color: var(--v3-muted); }
.vistore-theme .vistore-search-page .vistore-breadcrumbs a:hover { color: var(--v3-green); }

.vistore-theme .vs3-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin: 4px 0 18px; }
.vistore-theme .vs3-head__count { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin: 0 0 6px; color: var(--v3-muted); font-size: 13.5px; font-weight: 600; }
.vistore-theme .vs3-head__count b { color: var(--v3-green); font-weight: 800; }
.vistore-theme .vs3-head__count .vistore-icon { width: 14px; height: 14px; }
.vistore-theme .vs3-head h1 { margin: 0; color: var(--v3-ink); font-size: clamp(26px, 3.2vw, 40px); font-weight: 800; letter-spacing: -.03em; line-height: 1.05; overflow-wrap: anywhere; }
.vistore-theme .vs3-head h1 em { font-style: normal; color: var(--v3-green); }
.vistore-theme .vs3-head__desc { max-width: 640px; margin: 8px 0 0; color: var(--v3-ink-2); font-size: 14.5px; line-height: 1.5; }
.vistore-theme .vs3-head__post { display: inline-flex; align-items: center; gap: 8px; flex: none; min-height: 44px; padding: 0 18px; border-radius: 999px; background: var(--v3-green); color: #fff; font-size: 14px; font-weight: 700; text-decoration: none; box-shadow: 0 8px 20px rgba(0, 122, 61, .22); }
.vistore-theme .vs3-head__post:hover { background: #00652f; color: #fff; }
.vistore-theme .vs3-head__post .vistore-icon { width: 18px; height: 18px; }

/* Rail des catégories */
.vistore-theme .vs3-rail { display: flex; gap: 8px; margin: 0 -16px 16px; padding: 2px 16px 10px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; }
.vistore-theme .vs3-rail::-webkit-scrollbar { display: none; }
.vistore-theme .vs3-rail__item {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  flex: none;
  min-height: 46px;
  padding: 5px 14px 5px 5px;
  border: 1px solid var(--v3-line);
  border-radius: 999px;
  background: var(--v3-surface);
  color: var(--v3-ink);
  font-size: 13.5px;
  font-weight: 650;
  text-decoration: none;
  white-space: nowrap;
  scroll-snap-align: start;
  transition: border-color .18s ease, background-color .18s ease, transform .18s ease;
}
.vistore-theme .vs3-rail__item:hover { border-color: color-mix(in srgb, var(--v3-green) 40%, var(--v3-line)); transform: translateY(-1px); }
.vistore-theme .vs3-rail__item.is-active { border-color: var(--v3-ink); background: var(--v3-ink); color: var(--v3-surface); }
.vistore-theme .vs3-rail__item.is-empty { opacity: .62; }
.vistore-theme .vs3-rail__ico { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 50%; overflow: hidden; background: var(--v3-soft); }
.vistore-theme .vs3-rail__ico img, .vistore-theme .vs3-rail__ico svg { width: 100%; height: 100%; object-fit: cover; }
.vistore-theme .vs3-rail__ico--all { color: var(--v3-green); }
.vistore-theme .vs3-rail__ico--all svg { width: 17px; height: 17px; }
.vistore-theme .vs3-rail__item.is-active .vs3-rail__ico--all { background: rgba(255, 255, 255, .14); color: #fff; }
.vistore-theme .vs3-rail__item small { min-width: 20px; padding: 2px 6px; border-radius: 999px; background: var(--v3-soft); color: var(--v3-muted); font-size: 11px; font-weight: 700; text-align: center; }
.vistore-theme .vs3-rail__item.is-active small { background: rgba(255, 255, 255, .16); color: #fff; }

/* Barre d'outils */
.vistore-theme .vs3-toolbar { display: flex; flex-direction: column; gap: 10px; margin-bottom: 18px; }
.vistore-theme .vs3-toolbar__controls { display: flex; align-items: center; justify-content: flex-end; gap: 10px; margin: 0; padding: 0; border: 0; background: none; }
.vistore-theme .vs3-toolbar .vistore-filter-open { display: none; min-height: 42px; padding: 0 16px; border: 1px solid var(--v3-line); border-radius: 999px; background: var(--v3-surface); color: var(--v3-ink); font-weight: 700; }
.vistore-theme .vs3-toolbar .vistore-filter-open b { margin-left: 2px; }
.vistore-theme .vs3-toolbar .vistore-sort { display: inline-flex; align-items: center; gap: 8px; margin: 0; }
.vistore-theme .vs3-toolbar .vistore-sort > span { color: var(--v3-muted); font-size: 13px; font-weight: 600; white-space: nowrap; }
.vistore-theme .vs3-toolbar .vistore-sort select {
  min-height: 42px;
  padding: 0 38px 0 16px;
  border: 1px solid var(--v3-line);
  border-radius: 999px;
  background: var(--v3-surface) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233a4a43' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='m6 9 6 6 6-6'/></svg>") no-repeat right 14px center / 15px;
  color: var(--v3-ink);
  font-size: 14px;
  font-weight: 650;
  appearance: none;
  cursor: pointer;
}
.vistore-theme .vs3-toolbar .vistore-view-toggle { display: inline-flex; gap: 0; padding: 3px; border: 1px solid var(--v3-line); border-radius: 999px; background: var(--v3-soft); }
.vistore-theme .vs3-toolbar .vistore-view-toggle button { display: grid; place-items: center; width: 36px; height: 34px; padding: 0; border: 0; border-radius: 999px; background: transparent; color: var(--v3-muted); box-shadow: none; }
.vistore-theme .vs3-toolbar .vistore-view-toggle button.is-active { background: var(--v3-surface); color: var(--v3-ink); box-shadow: 0 1px 3px rgba(15, 28, 23, .14); }
.vistore-theme .vs3-toolbar .vistore-view-toggle .vistore-icon { width: 17px; height: 17px; }
.vistore-theme .vs3-toolbar__chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; padding: 0; }
.vistore-theme .vs3-toolbar__chips .vistore-filter-chip { display: inline-flex; align-items: center; gap: 8px; min-height: 34px; padding: 0 8px 0 12px; border: 1px solid color-mix(in srgb, var(--v3-green) 30%, var(--v3-line)); border-radius: 999px; background: color-mix(in srgb, var(--v3-green) 7%, var(--v3-surface)); color: var(--v3-ink); font-size: 13px; text-decoration: none; }
.vistore-theme .vs3-toolbar__chips .vistore-filter-chip b { font-weight: 650; }
.vistore-theme .vs3-toolbar__chips .vistore-filter-chip i { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: rgba(15, 28, 23, .08); font-style: normal; font-size: 14px; line-height: 1; }
.vistore-theme .vs3-toolbar__chips .vistore-filter-chip:hover i { background: var(--v3-red); color: #fff; }

/* Sous-catégories : pastilles */
.vistore-theme .vistore-search-page .vistore-search-subcategories { display: flex; gap: 8px; margin: -6px 0 18px; padding-bottom: 4px; overflow-x: auto; scrollbar-width: none; }
.vistore-theme .vistore-search-page .vistore-search-subcategories a { display: inline-flex; align-items: center; gap: 8px; flex: none; min-height: 36px; padding: 3px 13px 3px 3px; border: 1px solid var(--v3-line); border-radius: 999px; background: var(--v3-surface); color: var(--v3-ink-2); font-size: 13px; font-weight: 600; white-space: nowrap; text-decoration: none; }
.vistore-theme .vistore-search-page .vistore-search-subcategories a:hover { border-color: var(--v3-green); color: var(--v3-green); }
.vistore-theme .vistore-search-page .vistore-search-subcategories a > :first-child { width: 28px; height: 28px; border-radius: 50%; overflow: hidden; flex: none; }
.vistore-theme .vistore-search-page .vistore-search-subcategories a > :first-child img { width: 100%; height: 100%; object-fit: cover; }

/* Mise en page : filtres à gauche, collants */
@media (min-width: 821px) {
.vistore-theme .vistore-search-page .vistore-search-layout { display: grid; grid-template-columns: 272px minmax(0, 1fr); gap: 28px; align-items: start; }
.vistore-theme .vistore-search-page .vistore-search-sidebar {
  position: sticky;
  top: calc(var(--vs-header-height, 72px) + 76px);
  max-height: calc(100vh - var(--vs-header-height, 72px) - 96px);
  overflow: auto;
  padding: 0;
  border: 1px solid var(--v3-line);
  border-radius: 20px;
  background: var(--v3-surface);
  box-shadow: none;
  scrollbar-width: thin;
}
}
.vistore-theme .vistore-search-page .vistore-search-sidebar__header { padding: 16px 18px 6px; border: 0; }
.vistore-theme .vistore-search-page .vistore-search-sidebar__header h2 { font-size: 17px; font-weight: 800; letter-spacing: -.01em; }
.vistore-theme .vistore-search-page .vistore-filter-form__body { padding: 0 18px; }
.vistore-theme .vistore-search-page .vistore-filter-section { padding: 14px 0; border: 0; border-top: 1px solid var(--v3-line); background: none; }
.vistore-theme .vistore-search-page .vistore-filter-section:first-child { border-top: 0; }
.vistore-theme .vistore-search-page .vistore-filter-section > h3 { margin: 0 0 10px; color: var(--v3-muted); font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.vistore-theme .vistore-search-page .vistore-filter-section > h3::before { display: none; }
.vistore-theme .vistore-search-page .vistore-filter-group { margin-bottom: 10px; }
.vistore-theme .vistore-search-page .vistore-filter-group > label,
.vistore-theme .vistore-search-page .vistore-price-range label > span { display: block; margin-bottom: 5px; color: var(--v3-ink-2); font-size: 13px; font-weight: 600; }
.vistore-theme .vistore-search-page .vistore-filter-panel input[type="search"],
.vistore-theme .vistore-search-page .vistore-filter-panel input[type="number"],
.vistore-theme .vistore-search-page .vistore-filter-panel input[type="text"],
.vistore-theme .vistore-search-page .vistore-filter-panel select {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--v3-line);
  border-radius: 12px;
  background-color: var(--v3-soft);
  color: var(--v3-ink);
  font-size: 14px;
  box-shadow: none;
}
.vistore-theme .vistore-search-page .vistore-filter-panel input:focus,
.vistore-theme .vistore-search-page .vistore-filter-panel select:focus { border-color: var(--v3-green); background-color: var(--v3-surface); outline: 3px solid color-mix(in srgb, var(--v3-green) 18%, transparent); outline-offset: 0; }
.vistore-theme .vistore-search-page .vistore-search-seller-option { min-height: 44px; border-radius: 12px; border-color: var(--v3-line); background: var(--v3-surface); }
.vistore-theme .vistore-search-page .vistore-filter-form__actions {
  position: sticky;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-top: 1px solid var(--v3-line);
  background: color-mix(in srgb, var(--v3-surface) 94%, transparent);
  backdrop-filter: blur(8px);
}
.vistore-theme .vistore-search-page .vistore-filter-form__actions .vistore-button { flex: 1; min-height: 44px; border-radius: 999px; }
.vistore-theme .vistore-search-page .vistore-filter-form__actions a { color: var(--v3-muted); font-size: 13px; font-weight: 700; }

/* Pagination */
.vistore-theme .vistore-search-page .vistore-pagination { margin-top: 34px; }

/* Tablette / mobile */
@media (min-width: 821px) and (max-width: 1100px) {
  .vistore-theme .vistore-search-page .vistore-search-layout { grid-template-columns: 236px minmax(0, 1fr); gap: 20px; }
}
@media (max-width: 820px) {
  /* Les filtres deviennent un tiroir (géré par le thème) : on garde seulement le bouton. */
  .vistore-theme .vs3-toolbar .vistore-filter-open { display: inline-flex; align-items: center; gap: 8px; margin-right: auto; }
  .vistore-theme .vistore-search-page .vistore-filter-form__actions { position: static; }
}
@media (max-width: 720px) {
  .vistore-theme .vs3-head { margin-bottom: 12px; }
  .vistore-theme .vs3-head__post { display: none; }
  .vistore-theme .vs3-head h1 { font-size: 27px; }
  .vistore-theme .vs3-rail { margin: 0 -12px 12px; padding: 2px 12px 8px; }
  .vistore-theme .vs3-rail__item { min-height: 42px; font-size: 13px; }
  .vistore-theme .vs3-rail__ico { width: 30px; height: 30px; }
  .vistore-theme .vs3-toolbar .vistore-sort > span { display: none; }
  .vistore-theme .vs3-toolbar .vistore-sort select { max-width: 160px; }
  .vistore-theme .vistore-listing-grid:not(.is-list) { gap: 20px 12px; }
  .vistore-theme .vistore-search-results .vistore-listing-grid:not(.is-list) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vistore-theme .vistore-card.vc { --v3-radius: 14px; }
  .vistore-theme .vistore-card.vc .vc-body { padding: 9px 2px 2px; gap: 3px; }
  .vistore-theme .vistore-card.vc .vc-price strong { font-size: 15.5px; }
  .vistore-theme .vistore-card.vc .vc-title { font-size: 13.5px; min-height: calc(13.5px * 1.35 * 2); }
  .vistore-theme .vistore-card.vc .vc-meta { font-size: 11.5px; }
  .vistore-theme .vistore-card.vc .vc-meta__date { display: none; }
  .vistore-theme .vistore-card.vc .vc-seller { font-size: 11.5px; margin-top: 4px; }
  .vistore-theme .vistore-card.vc .vc-seller__delivery { display: none; }
  .vistore-theme .vistore-card.vc .vc-flag { top: 8px; left: 8px; height: 22px; font-size: 10.5px; }
  .vistore-theme .vistore-card.vc .vistore-favorite--card button { width: 32px; min-width: 32px; height: 32px; min-height: 32px; }
  .vistore-theme .vistore-card.vc > .vistore-peek { display: none; }
  .vistore-theme .vistore-listing-grid.is-list .vistore-card.vc { grid-template-columns: 116px minmax(0, 1fr); gap: 12px; padding: 8px; }
  .vistore-theme .vistore-listing-grid.is-list .vistore-card.vc .vc-body { padding: 2px 34px 2px 0; }
  .vistore-theme .vistore-listing-grid.is-list .vistore-card.vc .vc-title { font-size: 14px; }
  .vistore-theme .vistore-listing-grid.is-list .vistore-card.vc .vc-summary { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .vistore-theme .vistore-card.vc *, .vistore-theme .vs3-rail__item { transition: none !important; }
}

/* Ajustements après vérification */
.vistore-theme .vistore-card.vc .vc-meta__place .vc-icon { display: inline-block; }
.vistore-theme .vs3-head { margin-top: 26px; }
.vistore-theme .vistore-search-page .vistore-filter-form__actions .vistore-button { white-space: nowrap; font-size: 14px; }
.vistore-theme .vistore-card.vc .vc-title,
.vistore-theme .vistore-card.vc .vc-title a { white-space: normal; text-overflow: clip; }
.vistore-theme .vistore-listing-grid.is-list .vistore-card.vc .vc-media { width: 100%; max-width: none; height: auto; margin: 0; }
.vistore-theme .vistore-listing-grid.is-list .vistore-card.vc .vc-body { margin: 0; min-width: 0; grid-column: 2; }
@media (max-width: 720px) {
  .vistore-theme .vistore-card.vc .vc-price del { display: none; }
}

/* Formulaire de publication : photo obligatoire signalée dans la page */
.vistore-theme .vistore-photo-required { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; padding: 12px 14px; border: 1px solid color-mix(in srgb, var(--v3-red) 35%, transparent); border-radius: 12px; background: color-mix(in srgb, var(--v3-red) 7%, var(--v3-surface)); color: #9b0d1d; font-size: 14px; font-weight: 650; }
.vistore-theme .vistore-photo-required::before { content: "!"; display: grid; place-items: center; flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--v3-red); color: #fff; font-weight: 800; font-size: 13px; }
.vistore-theme .vistore-photo-required[hidden] { display: none; }
.vistore-theme .vistore-publish-section.is-missing-photo { box-shadow: 0 0 0 2px color-mix(in srgb, var(--v3-red) 40%, transparent); }

/* Carrousels (annonces premium, annonces liées) : largeur fixe des cartes */
.vistore-theme .vistore-listing-grid--premium > .vistore-card.vc,
.vistore-theme .vistore-related__rail > .vistore-card.vc { flex: 0 0 auto; width: 250px; min-width: 250px; }
@media (max-width: 720px) {
  .vistore-theme .vistore-listing-grid--premium > .vistore-card.vc,
  .vistore-theme .vistore-related__rail > .vistore-card.vc { width: 172px; min-width: 172px; }
}

/* --------------------------------------------------------------------------
   4. Formulaire de publication : finitions après test réel
   -------------------------------------------------------------------------- */
/* Étape 1 : plus de grand vide sous le choix de catégorie */
.vistore-theme #item-post #publish-category { min-height: 0; }

/* Zone photos : une seule zone en pointillés, un seul bouton */
.vistore-theme #item-post .vistore-photo-uploader .qq-uploader {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 26px 16px;
  border: 2px dashed color-mix(in srgb, var(--v3-green) 35%, var(--v3-line));
  border-radius: 18px;
  background: color-mix(in srgb, var(--v3-green) 4%, var(--v3-surface));
  text-align: center;
}
.vistore-theme #item-post .vistore-photo-uploader .qq-upload-drop-area {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-height: 0;
  padding: 0;
  border: 0;
  background: none !important;
  color: var(--v3-ink-2);
  font-size: 14px;
  font-weight: 600;
  box-shadow: none;
}
.vistore-theme #item-post .vistore-photo-uploader .qq-upload-drop-area::before {
  content: "";
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--v3-green) 12%, var(--v3-surface)) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23007a3d' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><path d='M4 8h3l2-3h6l2 3h3v11H4Z'/><circle cx='12' cy='13' r='3.5'/></svg>") no-repeat center / 24px;
}
.vistore-theme #item-post .vistore-photo-uploader .qq-upload-drop-area span { color: var(--v3-ink-2); background: none; padding: 0; }
.vistore-theme #item-post .vistore-photo-uploader #uppy-upload-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  background: var(--v3-green);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0, 122, 61, .22);
}
.vistore-theme #item-post .vistore-photo-uploader #uppy-upload-button:hover { background: #00652f; }
.vistore-theme #item-post .vistore-photo-uploader #uppy-upload-button > div { color: inherit; }

/* Vignettes des photos envoyées */
.vistore-theme #item-post .vistore-photo-uploader .qq-upload-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 10px; width: 100%; margin: 6px 0 0; padding: 0; list-style: none; }
.vistore-theme #item-post .vistore-photo-uploader .qq-upload-list:empty { display: none; }
.vistore-theme #item-post .vistore-photo-uploader .qq-upload-list li {
  position: relative;
  aspect-ratio: 1;
  width: auto;
  height: auto;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--v3-line);
  border-radius: 14px;
  background: var(--v3-soft);
  cursor: grab;
}
.vistore-theme #item-post .vistore-photo-uploader .qq-upload-list li:first-child::after {
  content: "Photo principale";
  position: absolute;
  left: 6px;
  bottom: 6px;
  padding: 3px 7px;
  border-radius: 999px;
  background: rgba(12, 20, 16, .7);
  color: #fff;
  font-size: 10.5px;
  font-weight: 700;
}
.vistore-theme #item-post .vistore-photo-uploader .qq-upload-list .ajax_preview_img,
.vistore-theme #item-post .vistore-photo-uploader .qq-upload-list .ajax_preview_img img { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; object-fit: cover; }
.vistore-theme #item-post .vistore-photo-uploader .qq-upload-list .qq-upload-file { display: none; }
.vistore-theme #item-post .vistore-photo-uploader .qq-upload-list .qq-upload-move { display: none; }
.vistore-theme #item-post .vistore-photo-uploader .qq-upload-list .qq-upload-delete {
  position: absolute;
  top: 6px;
  right: 6px;
  z-index: 2;
  display: grid !important;
  place-items: center;
  width: 28px;
  height: 28px;
  padding: 0;
  overflow: hidden;
  border-radius: 50%;
  background: rgba(255, 255, 255, .94);
  color: transparent !important;
  font-size: 0;
  text-indent: -999px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .2);
}
.vistore-theme #item-post .vistore-photo-uploader .qq-upload-list .qq-upload-delete::before {
  content: "×";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--v3-red);
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  text-indent: 0;
}

/* Rabais : la légende ne chevauche plus la case */
.vistore-theme #item-post .vistore-discount-editor { position: relative; margin-top: 14px; padding: 12px 14px; border: 1px solid var(--v3-line); border-radius: 14px; }
.vistore-theme #item-post .vistore-discount-editor > legend { position: static; float: none; width: auto; margin: 0 0 4px; padding: 0 6px; color: var(--v3-green); font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }

/* Résumé : la vraie photo dans l'aperçu */
.vistore-theme #item-post .vistore-publish-review__visual { position: relative; overflow: hidden; }
.vistore-theme #item-post .vistore-publish-review__visual .vistore-publish-review__thumb { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vistore-theme #item-post .vistore-publish-review__visual.has-photo > span { position: absolute; left: 10px; bottom: 10px; z-index: 1; padding: 4px 9px; border-radius: 999px; background: rgba(12, 20, 16, .7); color: #fff; font-size: 12px; font-weight: 700; }
.vistore-theme #item-post .vistore-publish-review__visual.has-photo > svg { display: none; }

/* --------------------------------------------------------------------------
   5. Panneau de filtres v3 (.vf)
   -------------------------------------------------------------------------- */
.vistore-theme .vf .vf-icon { width: 16px; height: 16px; flex: none; }
.vistore-theme .vf .vf-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 16px 18px 10px; }
.vistore-theme .vf .vf-head > div { display: flex; align-items: center; gap: 8px; }
.vistore-theme .vf .vf-head > div .vf-icon { width: 18px; height: 18px; color: var(--v3-green); }
.vistore-theme .vf .vf-head h2 { margin: 0; font-size: 17px; font-weight: 800; letter-spacing: -.01em; }
.vistore-theme .vf .vf-head .vistore-filter-count { display: grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--v3-green); color: #fff; font-size: 11.5px; font-weight: 800; }
.vistore-theme .vf .vf-head__reset { margin-left: auto; color: var(--v3-red); font-size: 13px; font-weight: 700; text-decoration: none; }
.vistore-theme .vf .vf-head__reset:hover { text-decoration: underline; }
@media (min-width: 821px) { .vistore-theme .vf .vf-head [data-vistore-filters-close] { display: none; } }

.vistore-theme .vf .vf-section { padding: 16px 0; border: 0; border-top: 1px solid var(--v3-line); background: none; }
.vistore-theme .vf .vistore-filter-form__body > .vf-section:first-child { border-top: 0; padding-top: 6px; }
.vistore-theme .vf .vf-section > h3 { display: flex; align-items: center; gap: 7px; margin: 0 0 10px; color: var(--v3-ink); font-size: 13.5px; font-weight: 750; letter-spacing: 0; text-transform: none; }
.vistore-theme .vf .vf-section > h3 .vf-icon { color: var(--v3-muted); }
.vistore-theme .vf .vf-section > h3 small { color: var(--v3-muted); font-size: 11px; font-weight: 700; }
.vistore-theme .vf .vistore-filter-group { margin: 0; }
.vistore-theme .vf .vistore-filter-group > label { display: block; margin: 0 0 5px; color: var(--v3-muted); font-size: 12px; font-weight: 650; }
.vistore-theme .vf .vf-grid2 { display: grid; grid-template-columns: 1fr; gap: 10px; }

/* Champs */
.vistore-theme .vf select,
.vistore-theme .vf input[type="search"],
.vistore-theme .vf input[type="text"],
.vistore-theme .vf input[type="number"] {
  width: 100%;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--v3-line);
  border-radius: 12px;
  background-color: var(--v3-soft);
  color: var(--v3-ink);
  font-size: 14px;
  font-weight: 500;
  box-shadow: none;
}
.vistore-theme .vf select { padding-right: 36px; appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7a72' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='m6 9 6 6 6-6'/></svg>"); background-repeat: no-repeat; background-position: right 12px center; background-size: 15px; cursor: pointer; }
.vistore-theme .vf select:disabled { opacity: .55; cursor: not-allowed; }
.vistore-theme .vf select:focus,
.vistore-theme .vf input:focus { border-color: var(--v3-green); background-color: var(--v3-surface); outline: 3px solid color-mix(in srgb, var(--v3-green) 16%, transparent); outline-offset: 0; }
.vistore-theme .vf .vf-search { position: relative; }
.vistore-theme .vf .vf-search > .vf-icon { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--v3-muted); pointer-events: none; }
.vistore-theme .vf .vf-search input { padding-left: 38px; }

/* Budget */
.vistore-theme .vf .vf-price { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: end; gap: 8px; }
.vistore-theme .vf .vf-price label { display: block; min-width: 0; margin: 0; }
.vistore-theme .vf .vf-price label > span { display: block; margin-bottom: 5px; color: var(--v3-muted); font-size: 12px; font-weight: 650; }
.vistore-theme .vf .vf-price input { font-variant-numeric: tabular-nums; }
.vistore-theme .vf .vf-price__dash { padding-bottom: 12px; color: var(--v3-muted); }
.vistore-theme .vf .vf-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.vistore-theme .vf .vf-chip { min-height: 32px; padding: 0 11px; border: 1px solid var(--v3-line); border-radius: 999px; background: var(--v3-surface); color: var(--v3-ink-2); font-size: 12.5px; font-weight: 650; cursor: pointer; box-shadow: none; transition: border-color .15s ease, background-color .15s ease; }
.vistore-theme .vf .vf-chip:hover { border-color: var(--v3-green); color: var(--v3-green); }
.vistore-theme .vf .vf-chip.is-active { border-color: var(--v3-green); background: var(--v3-green); color: #fff; }
.vistore-theme .vf .vf-note { margin: 8px 0 0; color: var(--v3-muted); font-size: 11.5px; line-height: 1.4; }

/* Date : bouton segmenté */
.vistore-theme .vf .vf-segmented { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; padding: 3px; border: 1px solid var(--v3-line); border-radius: 12px; background: var(--v3-soft); }
.vistore-theme .vf .vf-segmented label { position: relative; display: block; margin: 0; cursor: pointer; }
.vistore-theme .vf .vf-segmented input { position: absolute; opacity: 0; pointer-events: none; }
.vistore-theme .vf .vf-segmented span { display: grid; place-items: center; min-height: 34px; padding: 0 4px; border-radius: 9px; color: var(--v3-muted); font-size: 12.5px; font-weight: 700; text-align: center; white-space: nowrap; transition: background-color .15s ease, color .15s ease; }
.vistore-theme .vf .vf-segmented input:checked + span { background: var(--v3-surface); color: var(--v3-ink); box-shadow: 0 1px 3px rgba(15, 28, 23, .14); }
.vistore-theme .vf .vf-segmented input:focus-visible + span { outline: 2px solid var(--v3-green); }

/* Options : interrupteurs */
.vistore-theme .vf .vf-switches { display: grid; gap: 4px; }
.vistore-theme .vf .vf-switch { position: relative; display: grid; grid-template-columns: 32px minmax(0, 1fr) 38px; align-items: center; gap: 10px; min-height: 50px; margin: 0; padding: 6px 8px; border-radius: 12px; cursor: pointer; transition: background-color .15s ease; }
.vistore-theme .vf .vf-switch:hover { background: var(--v3-soft); }
.vistore-theme .vf .vf-switch__icon { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: var(--v3-soft); color: var(--v3-ink-2); }
.vistore-theme .vf .vf-switch.is-on .vf-switch__icon { background: color-mix(in srgb, var(--v3-green) 12%, var(--v3-surface)); color: var(--v3-green); }
.vistore-theme .vf .vf-switch__text { display: flex; flex-direction: column; min-width: 0; }
.vistore-theme .vf .vf-switch__text strong { color: var(--v3-ink); font-size: 13.5px; font-weight: 650; }
.vistore-theme .vf .vf-switch__text small { overflow: hidden; color: var(--v3-muted); font-size: 11.5px; white-space: nowrap; text-overflow: ellipsis; }
.vistore-theme .vf .vf-switch input { position: absolute; opacity: 0; pointer-events: none; }
.vistore-theme .vf .vf-switch__track { position: relative; width: 38px; height: 22px; border-radius: 999px; background: #cfd8d3; transition: background-color .18s ease; }
.vistore-theme .vf .vf-switch__track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: transform .18s ease; }
.vistore-theme .vf .vf-switch input:checked ~ .vf-switch__track { background: var(--v3-green); }
.vistore-theme .vf .vf-switch input:checked ~ .vf-switch__track::after { transform: translateX(16px); }
.vistore-theme .vf .vf-switch input:focus-visible ~ .vf-switch__track { outline: 2px solid var(--v3-green); outline-offset: 2px; }

/* Critères de catégorie */
.vistore-theme .vf .vf-details > summary { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 0; color: var(--v3-ink); font-size: 13.5px; font-weight: 750; cursor: pointer; list-style: none; }
.vistore-theme .vf .vf-details > summary::-webkit-details-marker { display: none; }
.vistore-theme .vf .vf-details > summary span { min-width: 22px; padding: 2px 7px; border-radius: 999px; background: var(--v3-soft); color: var(--v3-muted); font-size: 11px; text-align: center; }
.vistore-theme .vf .vf-details .vistore-filter-dynamic { display: grid; gap: 10px; margin-top: 12px; }
.vistore-theme .vf .vistore-space-filter > span:first-child { display: block; margin-bottom: 5px; color: var(--v3-muted); font-size: 12px; font-weight: 650; }
.vistore-theme .vf .vistore-filter-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.vistore-theme .vf .vistore-filter-pill { position: relative; margin: 0; cursor: pointer; }
.vistore-theme .vf .vistore-filter-pill input { position: absolute; opacity: 0; pointer-events: none; }
.vistore-theme .vf .vistore-filter-pill span { display: inline-flex; align-items: center; min-height: 32px; padding: 0 11px; border: 1px solid var(--v3-line); border-radius: 999px; background: var(--v3-surface); color: var(--v3-ink-2); font-size: 12.5px; font-weight: 650; }
.vistore-theme .vf .vistore-filter-pill input:checked + span { border-color: var(--v3-green); background: var(--v3-green); color: #fff; }
.vistore-theme .vf .vistore-space-filter__range { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }

/* Bouton d'application */
.vistore-theme .vf .vf-actions .vistore-button.is-loading { opacity: .7; pointer-events: none; }
@media (min-width: 821px) {
  /* Sur ordinateur les filtres s'appliquent tout seuls : le bouton devient discret. */
  .vistore-theme .vf .vf-actions { justify-content: space-between; }
  .vistore-theme .vf .vf-actions .vistore-button { flex: 0 0 auto; min-height: 40px; padding: 0 18px; font-size: 13.5px; }
}
@media (min-width: 1101px) {
  .vistore-theme .vf .vf-grid2 { grid-template-columns: 1fr; }
}
.vistore-theme .vf .vf-search input[type="search"] { padding-left: 38px !important; }
.vistore-theme .vf .vf-chips .vf-chip { width: auto !important; flex: 0 0 auto; margin: 0; }
.vistore-theme .vf .vistore-filter-pills { display: flex !important; flex-wrap: wrap; gap: 6px; }
.vistore-theme .vf .vistore-filter-pills .vistore-filter-pill { display: inline-flex !important; width: auto !important; flex: 0 0 auto; }
.vistore-theme .vf .vistore-filter-pill span { width: auto !important; }

/* --------------------------------------------------------------------------
   4. Fiche annonce v3 : galerie, bloc résumé (titre, prix, contacts), contenu
   -------------------------------------------------------------------------- */
.vistore-theme .vi-buy {
  display: grid;
  gap: 12px;
  padding: 20px;
  border: 1px solid var(--v3-line);
  border-radius: var(--v3-radius);
  background: var(--v3-surface);
  box-shadow: 0 12px 32px rgba(16, 24, 40, .06);
}
.vistore-theme .vi-buy .vistore-hook-zone:empty { display: none; }
.vistore-theme .vi-buy__top { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.vistore-theme .vi-flag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 25px;
  padding: 0 10px;
  border-radius: 999px;
  background: #0f1c17;
  color: #fff;
  font-size: 11.5px;
  font-weight: 750;
  letter-spacing: .02em;
}
.vistore-theme .vi-flag .vc-icon { width: 13px; height: 13px; }
.vistore-theme .vi-flag--premium .vc-icon { color: var(--v3-gold); filter: drop-shadow(0 0 4px rgba(245, 196, 0, .45)); }
.vistore-theme .vi-flag--boosted .vc-icon { color: #ffb020; }
.vistore-theme .vi-flag--sold { background: #55615b; }
.vistore-theme .vi-flag--reserved { background: #9b6800; }
.vistore-theme .vi-chip {
  display: inline-flex;
  align-items: center;
  height: 25px;
  max-width: 100%;
  padding: 0 10px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--v3-soft);
  color: var(--v3-ink-2);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.vistore-theme .vi-chip:hover { color: var(--v3-green); }
.vistore-theme .vi-buy .vi-title {
  margin: 0;
  color: var(--v3-ink);
  font-size: clamp(20px, 1.7vw, 24px);
  font-weight: 750;
  line-height: 1.25;
  letter-spacing: -.02em;
  overflow-wrap: anywhere;
}
.vistore-theme .vi-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; }
.vistore-theme .vi-price strong {
  color: var(--v3-ink);
  font-size: clamp(27px, 2.3vw, 32px);
  font-weight: 850;
  line-height: 1.05;
  letter-spacing: -.03em;
  font-variant-numeric: tabular-nums;
}
.vistore-theme .vi-price del { color: var(--v3-muted); font-size: 15px; font-weight: 500; }
.vistore-theme .vi-price em { padding: 3px 8px; border-radius: 8px; background: color-mix(in srgb, var(--v3-red) 10%, transparent); color: var(--v3-red); font-size: 13px; font-style: normal; font-weight: 800; }
.vistore-theme .vi-save { margin: -6px 0 0; color: var(--v3-green); font-size: 13px; font-weight: 600; }
.vistore-theme .vi-buy.is-sold .vi-price strong { color: var(--v3-muted); text-decoration: line-through; text-decoration-thickness: 2px; }
.vistore-theme .vi-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin: 0;
  padding: 12px 0 0;
  border-top: 1px solid var(--v3-line);
  list-style: none;
  color: var(--v3-muted);
  font-size: 13px;
}
.vistore-theme .vi-facts li { display: inline-flex; align-items: center; gap: 5px; min-width: 0; }
.vistore-theme .vi-facts svg { width: 15px; height: 15px; flex: none; }
.vistore-theme .vi-facts__ref { margin-left: auto; font-variant-numeric: tabular-nums; }
.vistore-theme .vi-cta { display: grid; gap: 8px; }
.vistore-theme .vi-cta form { margin: 0; }
.vistore-theme .vi-cta__row { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 8px; }
.vistore-theme .vi-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 48px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: 14px;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s ease, box-shadow .15s ease, transform .1s ease;
}
.vistore-theme .vi-btn svg { width: 18px; height: 18px; flex: none; }
.vistore-theme .vi-btn:active { transform: translateY(1px); }
.vistore-theme .vi-btn:focus-visible { outline: 3px solid color-mix(in srgb, var(--v3-green) 40%, transparent); outline-offset: 2px; }
.vistore-theme .vi-btn--primary { background: var(--v3-green); color: #fff; box-shadow: 0 8px 20px rgba(0, 122, 61, .22); }
.vistore-theme .vi-btn--primary:hover { background: #006733; color: #fff; }
.vistore-theme .vi-btn--whatsapp { background: #25d366; color: #05301a; }
.vistore-theme .vi-btn--whatsapp:hover { background: #1fbe5b; color: #05301a; }
.vistore-theme .vi-btn--ghost { border-color: var(--v3-line); background: var(--v3-surface); color: var(--v3-ink); }
.vistore-theme .vi-btn--ghost:hover { border-color: var(--v3-green); color: var(--v3-green); }
.vistore-theme .vi-seller {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  background: var(--v3-soft);
  color: var(--v3-ink);
  text-decoration: none;
}
.vistore-theme .vi-seller img,
.vistore-theme .vi-seller .vi-seller__avatar { width: 38px; height: 38px; min-width: 38px; border-radius: 50%; object-fit: cover; }
.vistore-theme .vi-seller > span:not(.vistore-avatar) { display: grid; flex: 1; min-width: 0; }
.vistore-theme .vi-seller > .vistore-avatar { display: block; flex: none; width: 38px; height: 38px; overflow: hidden; border-radius: 50%; }
.vistore-theme .vi-seller strong { display: flex; align-items: center; gap: 4px; overflow: hidden; font-size: 14px; white-space: nowrap; text-overflow: ellipsis; }
.vistore-theme .vi-seller strong .vc-icon { width: 15px; height: 15px; flex: none; color: var(--v3-green); }
.vistore-theme .vi-seller small { color: var(--v3-muted); font-size: 12px; }
.vistore-theme .vi-seller > svg:last-child { width: 16px; height: 16px; flex: none; color: var(--v3-muted); }
.vistore-theme .vi-safe { display: flex; align-items: flex-start; gap: 8px; margin: 0; color: var(--v3-muted); font-size: 12.5px; line-height: 1.45; }
.vistore-theme .vi-safe svg { width: 16px; height: 16px; flex: none; margin-top: 1px; color: var(--v3-green); }
.vistore-theme .vi-media.is-premium .vistore-gallery__stage { box-shadow: 0 0 0 1.5px rgba(245, 196, 0, .9), 0 12px 30px rgba(245, 196, 0, .12); }
.vistore-theme.vistore-item-detail .vi-aside .vistore-safety-card { display: none; }
.vistore-theme.vistore-item-detail .vi-layout .vistore-hook-zone:empty { display: none; }
.vistore-theme .vistore-seller-card__tagline { color: var(--v3-ink-2); font-family: inherit; font-size: 13px; letter-spacing: 0; line-height: 1.45; }

@media (min-width: 981px) {
  .vistore-theme.vistore-item-detail .vistore-item-layout.vi-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) clamp(330px, 27vw, 380px);
    grid-template-rows: auto 1fr;
    gap: 18px 24px;
    align-items: start;
  }
  .vistore-theme.vistore-item-detail .vi-layout > .vi-media { grid-column: 1; grid-row: 1; min-width: 0; }
  .vistore-theme.vistore-item-detail .vi-layout > .vi-content { grid-column: 1; grid-row: 2; min-width: 0; }
  .vistore-theme.vistore-item-detail .vi-layout > .vistore-item-aside.vi-aside { grid-column: 2; grid-row: 1 / span 2; position: static; display: grid; gap: 12px; }
  .vistore-theme .vi-buy .vi-seller { display: none; }
}

@media (max-width: 980px) {
  .vistore-theme.vistore-item-detail .vistore-item-layout.vi-layout { display: flex; flex-direction: column; align-items: stretch; gap: 12px; }
  .vistore-theme.vistore-item-detail .vi-layout > *,
  .vistore-theme.vistore-item-detail .vi-layout > .vi-aside > * { width: 100%; max-width: none; align-self: stretch; }
  .vistore-theme.vistore-item-detail .vi-layout > .vistore-item-aside.vi-aside { display: contents; }
  .vistore-theme.vistore-item-detail .vi-layout > .vi-media { order: 1; min-width: 0; }
  .vistore-theme.vistore-item-detail .vi-layout .vi-buy { order: 2; }
  .vistore-theme.vistore-item-detail .vi-layout .vistore-owner-actions { order: 3; }
  .vistore-theme.vistore-item-detail .vi-layout > .vi-content { order: 4; min-width: 0; width: 100%; }
  .vistore-theme.vistore-item-detail .vi-layout .vi-aside > :not(.vi-buy):not(.vistore-owner-actions) { order: 5; }
  .vistore-theme .vi-buy { padding: 16px; border-radius: 16px; gap: 10px; }
  .vistore-theme .vi-buy .vi-cta { display: none; }
}
@media (max-width: 480px) {
  .vistore-theme .vi-buy .vi-title { font-size: 19px; }
  .vistore-theme .vi-price strong { font-size: 26px; }
  .vistore-theme .vi-facts { font-size: 12.5px; gap: 5px 12px; }
}
html.vistore-dark .vistore-theme .vi-btn--ghost { background: transparent; }

/* --------------------------------------------------------------------------
   5. Alerte de recherche v3
   -------------------------------------------------------------------------- */
.vistore-theme .vs3-head__alert {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex: none;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--v3-line);
  border-radius: 999px;
  background: var(--v3-surface);
  color: var(--v3-ink);
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
  white-space: nowrap;
}
.vistore-theme .vs3-head__alert svg { width: 17px; height: 17px; color: var(--v3-green); }
.vistore-theme .vs3-head__alert:hover { border-color: var(--v3-green); color: var(--v3-green); }
.vistore-theme .vs3-head__text { min-width: 0; }
.vistore-theme .vs3-head__alert { margin-left: auto; }
.vistore-theme .vs3-head__alert + .vs3-head__post { margin-left: -10px; }
.vistore-theme .va {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) minmax(280px, 400px);
  align-items: center;
  gap: 16px 20px;
  margin: 28px 0 8px;
  padding: 22px 24px;
  border: 1px solid color-mix(in srgb, var(--v3-green) 22%, var(--v3-line));
  border-radius: 20px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--v3-green) 7%, var(--v3-surface)), var(--v3-surface) 60%);
  scroll-margin-top: 120px;
}
.vistore-theme .va__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: var(--v3-green);
  color: #fff;
  box-shadow: 0 10px 22px rgba(0, 122, 61, .24);
}
.vistore-theme .va__icon svg { width: 24px; height: 24px; }
.vistore-theme .va__copy { display: grid; gap: 4px; min-width: 0; }
.vistore-theme .va__copy h2 { margin: 0; color: var(--v3-ink); font-size: 19px; font-weight: 750; letter-spacing: -.015em; }
.vistore-theme .va__copy p { margin: 0; color: var(--v3-muted); font-size: 14px; line-height: 1.45; }
.vistore-theme .va__chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 0; padding: 0; list-style: none; }
.vistore-theme .va__chips li { padding: 4px 10px; border-radius: 999px; background: var(--v3-surface); box-shadow: inset 0 0 0 1px var(--v3-line); color: var(--v3-ink-2); font-size: 12.5px; font-weight: 600; }
.vistore-theme .va__form { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.vistore-theme .va__field { flex: 1 1 200px; margin: 0; }
.vistore-theme .va__field input {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--v3-line);
  border-radius: 13px;
  background: var(--v3-surface);
  color: var(--v3-ink);
  font: inherit;
  font-size: 15px;
}
.vistore-theme .va__field input:focus { border-color: var(--v3-green); outline: 3px solid color-mix(in srgb, var(--v3-green) 18%, transparent); }
.vistore-theme .va__btn {
  display: inline-flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 18px;
  border: 0;
  border-radius: 13px;
  background: var(--v3-green);
  color: #fff;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}
.vistore-theme .va__btn svg { width: 18px; height: 18px; }
.vistore-theme .va__btn:hover { background: #006733; }
.vistore-theme .va__btn:disabled { opacity: .6; cursor: default; }
.vistore-theme .va__form.is-done .va__field,
.vistore-theme .va__form.is-done .va__btn { display: none; }
.vistore-theme .va__msg { display: flex; flex-basis: 100%; align-items: center; gap: 8px; margin: 0; font-size: 14px; font-weight: 600; line-height: 1.4; }
.vistore-theme .va__form .va__msg { display: block; }
.vistore-theme .va__msg[hidden] { display: none; }
.vistore-theme .va__msg svg { width: 18px; height: 18px; flex: none; }
.vistore-theme .va__msg.is-ok { color: var(--v3-green); }
.vistore-theme .va__msg.is-error { color: var(--v3-red); }
.vistore-theme .va__msg a { color: inherit; text-decoration: underline; }
@media (max-width: 900px) {
  .vistore-theme .va { grid-template-columns: auto minmax(0, 1fr); padding: 18px; }
  .vistore-theme .va__form,
  .vistore-theme .va > .va__msg { grid-column: 1 / -1; }
  .vistore-theme .va__icon { width: 44px; height: 44px; border-radius: 13px; }
  .vistore-theme .va__copy h2 { font-size: 17px; }
}
@media (max-width: 560px) {
  .vistore-theme .vs3-head__alert span { display: none; }
  .vistore-theme .vs3-head__alert { width: 44px; padding: 0; justify-content: center; align-self: flex-start; }
}

/* ==========================================================================
   Nuru v2 — l'assistant du site (bouton flottant + fenêtre de discussion)
   ========================================================================== */
.nuru {
  --n-ink: var(--v3-ink, #0f1c17);
  --n-ink-2: var(--v3-ink-2, #3a4a43);
  --n-muted: var(--v3-muted, #6b7a72);
  --n-line: var(--v3-line, #e5ebe7);
  --n-soft: var(--v3-soft, #f4f7f5);
  --n-surface: var(--v3-surface, #ffffff);
  --n-green: var(--v3-green, #007a3d);
  --n-deep: var(--v3-green-deep, #0b3d2a);
  --n-gold: var(--v3-gold, #f5c400);
  --n-tint: rgba(0, 122, 61, .09);
  --n-accent: var(--n-green);
  font-family: inherit;
}
html.vistore-dark .nuru { --n-tint: rgba(64, 201, 128, .14); --n-accent: #6fdda3; }
.nuru *, .nuru *::before, .nuru *::after { box-sizing: border-box; }
.nuru [hidden] { display: none !important; }
.nuru button { font-family: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.nuru :focus-visible { outline: 2px solid var(--n-gold); outline-offset: 2px; }

/* Le petit robot */
.nuru-bot { display: block; width: 100%; height: 100%; fill: none; }
.nuru-bot__line { stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; fill: none; }
.nuru-bot__dot { fill: var(--n-gold); }
.nuru-bot__head { fill: currentColor; }
.nuru-bot__screen { fill: var(--n-deep); }
.nuru-bot__eye { fill: var(--n-gold); }
.nuru-bot__smile { stroke: var(--n-gold); stroke-width: 1.9; stroke-linecap: round; fill: none; }

/* Bouton flottant */
.nuru .nuru__launcher {
  position: fixed; right: 24px; bottom: calc(var(--nuru-lift, 0px) + 24px); z-index: 240;
  display: inline-flex; align-items: center; gap: 10px;
  height: 54px; padding: 0 20px 0 8px; border: 0; border-radius: 999px;
  background: linear-gradient(135deg, var(--n-deep), var(--n-green)); color: #fff;
  font-size: 14.5px; font-weight: 700; letter-spacing: .01em;
  box-shadow: 0 10px 28px rgba(11, 61, 42, .32), 0 2px 6px rgba(11, 61, 42, .2);
  transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease;
}
.nuru .nuru__launcher:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(11, 61, 42, .38), 0 3px 8px rgba(11, 61, 42, .22); }
.nuru .nuru__launcher:active { transform: scale(.97); }
.nuru .nuru__launcher-icon {
  position: relative; display: grid; place-items: center; width: 40px; height: 40px; padding: 6px;
  border-radius: 50%; background: rgba(255, 255, 255, .14); color: #fff;
}
.nuru .nuru__launcher-icon::after {
  content: ""; position: absolute; right: 1px; top: 1px; width: 10px; height: 10px; border-radius: 50%;
  background: #3ddc84; border: 2px solid var(--n-deep);
}
.nuru.is-open .nuru__launcher { opacity: 0; pointer-events: none; transform: scale(.9); }

/* Fenêtre */
.nuru .nuru__backdrop { display: none; }
.nuru .nuru__panel {
  position: fixed; right: 24px; bottom: 24px; z-index: 1300;
  display: flex; flex-direction: column; overflow: hidden;
  width: 404px; max-width: calc(100vw - 32px); height: min(680px, calc(100vh - 48px)); height: min(680px, calc(100dvh - 48px));
  border-radius: 22px; background: var(--n-surface); color: var(--n-ink);
  border: 1px solid var(--n-line);
  box-shadow: 0 28px 70px rgba(8, 24, 17, .28), 0 6px 18px rgba(8, 24, 17, .12);
  animation: nuru-in .22s cubic-bezier(.2, .8, .2, 1);
}
@keyframes nuru-in { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }

.nuru .nuru__head {
  display: flex; align-items: center; gap: 12px; flex: none;
  padding: 14px 12px 14px 16px; color: #fff;
  background: linear-gradient(135deg, var(--n-deep) 0%, var(--n-green) 100%);
}
.nuru .nuru__avatar {
  position: relative; flex: none; width: 44px; height: 44px; padding: 7px; border-radius: 50%;
  background: rgba(255, 255, 255, .14); color: #fff;
}
.nuru .nuru__avatar i {
  position: absolute; right: 1px; bottom: 1px; width: 11px; height: 11px; border-radius: 50%;
  background: #3ddc84; border: 2px solid var(--n-deep);
}
.nuru .nuru__id { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
.nuru .nuru__id strong { font-size: 16.5px; font-weight: 800; letter-spacing: .01em; color: #fff; }
.nuru .nuru__id small { font-size: 12px; color: rgba(255, 255, 255, .8); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nuru .nuru__head-btn {
  flex: none; display: grid; place-items: center; width: 38px; height: 38px; padding: 0; border: 0; border-radius: 50%;
  background: rgba(255, 255, 255, .13); color: #fff; transition: background .15s ease;
}
.nuru .nuru__head-btn:hover { background: rgba(255, 255, 255, .24); }
.nuru .nuru__head-btn svg { width: 18px; height: 18px; }
.nuru .nuru__head-btn--text { width: auto; padding: 0 13px; border-radius: 999px; font-size: 12.5px; font-weight: 600; }

.nuru .nuru__body {
  flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
  display: flex; flex-direction: column; gap: 14px; padding: 16px 14px 18px; background: var(--n-soft);
  scrollbar-width: thin;
}

/* Accueil */
.nuru .nuru__welcome { display: flex; flex-direction: column; gap: 12px; }
.nuru .nuru__hello { margin: 2px 2px 0; font-size: 15px; line-height: 1.5; color: var(--n-ink-2); }
.nuru .nuru__hello strong { display: block; margin-bottom: 2px; font-size: 20px; font-weight: 800; color: var(--n-ink); }
.nuru .nuru__quick { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.nuru .nuru__quick-btn {
  display: flex; flex-direction: column; align-items: flex-start; gap: 9px; min-height: 104px; padding: 12px;
  border: 1px solid var(--n-line); border-radius: 16px; background: var(--n-surface); color: var(--n-ink); text-align: left;
  transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.nuru .nuru__quick-btn:hover { border-color: var(--n-green); transform: translateY(-1px); box-shadow: 0 6px 16px rgba(8, 24, 17, .08); }
.nuru .nuru__quick-icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; background: var(--n-tint); color: var(--n-accent); }
.nuru .nuru__quick-icon svg { width: 19px; height: 19px; }
.nuru .nuru__quick-text { display: flex; flex-direction: column; gap: 2px; }
.nuru .nuru__quick-text strong { font-size: 13.5px; font-weight: 700; line-height: 1.25; }
.nuru .nuru__quick-text small { font-size: 11.5px; line-height: 1.3; color: var(--n-muted); }
.nuru .nuru__label { margin: 4px 2px -4px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--n-muted); }
.nuru .nuru__chips, .nuru .nuru__followups { display: flex; flex-wrap: wrap; gap: 6px; }
.nuru .nuru__chip {
  min-height: 36px; padding: 7px 13px; border: 1px solid var(--n-line); border-radius: 999px;
  background: var(--n-surface); color: var(--n-ink-2); font-size: 13px; font-weight: 500; line-height: 1.25; text-align: left;
  transition: border-color .15s ease, color .15s ease, background .15s ease;
}
.nuru .nuru__chip:hover { border-color: var(--n-green); color: var(--n-green); }
.nuru .nuru__followups .nuru__chip, .nuru .nuru__retry { border-color: rgba(0, 122, 61, .35); color: var(--n-green); font-weight: 600; }
html.vistore-dark .nuru .nuru__followups .nuru__chip, html.vistore-dark .nuru .nuru__retry, html.vistore-dark .nuru .nuru__chip:hover { color: #6fdda3; border-color: rgba(111, 221, 163, .4); }
.nuru .nuru__retry { align-self: flex-start; }

/* Messages */
.nuru .nuru__msg { display: flex; gap: 8px; align-items: flex-start; animation: nuru-msg .22s ease; }
@keyframes nuru-msg { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.nuru .nuru__msg--user { justify-content: flex-end; }
.nuru .nuru__msg-avatar { flex: none; width: 30px; height: 30px; padding: 5px; border-radius: 50%; background: var(--n-deep); color: #fff; }
.nuru .nuru__msg-main { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.nuru .nuru__bubble {
  max-width: 100%; padding: 10px 13px; border: 1px solid var(--n-line); border-radius: 4px 16px 16px 16px;
  background: var(--n-surface); color: var(--n-ink); font-size: 14.5px; line-height: 1.5;
  white-space: pre-line; overflow-wrap: anywhere;
}
.nuru .nuru__msg--user .nuru__bubble {
  max-width: 84%; border: 0; border-radius: 16px 16px 4px 16px;
  background: linear-gradient(135deg, var(--n-deep), var(--n-green)); color: #fff;
}
.nuru .nuru__understood { display: flex; flex-wrap: wrap; gap: 5px; }
.nuru .nuru__tag {
  display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px 3px 7px; border-radius: 999px;
  background: var(--n-tint); color: var(--n-accent); font-size: 11.5px; font-weight: 600; line-height: 1.4;
}
.nuru .nuru__tag svg { width: 12px; height: 12px; flex: none; }

.nuru .nuru__dots { display: inline-flex; align-items: center; gap: 5px; padding: 14px 15px; }
.nuru .nuru__dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--n-muted); animation: nuru-dot 1.1s infinite ease-in-out; }
.nuru .nuru__dots i:nth-child(2) { animation-delay: .15s; }
.nuru .nuru__dots i:nth-child(3) { animation-delay: .3s; }
@keyframes nuru-dot { 0%, 60%, 100% { opacity: .35; transform: none; } 30% { opacity: 1; transform: translateY(-4px); } }

/* Cartes d'annonces */
.nuru .nuru__cards { display: flex; flex-direction: column; gap: 7px; width: 100%; }
.nuru .nuru__card {
  display: grid; grid-template-columns: 68px minmax(0, 1fr); gap: 11px; align-items: center; padding: 7px 12px 7px 7px;
  border: 1px solid var(--n-line); border-radius: 15px; background: var(--n-surface); color: var(--n-ink); text-decoration: none;
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.nuru .nuru__card:hover { border-color: var(--n-green); box-shadow: 0 6px 16px rgba(8, 24, 17, .09); transform: translateY(-1px); }
.nuru .nuru__card-media { display: block; width: 68px; height: 68px; border-radius: 10px; overflow: hidden; background: var(--n-soft); }
.nuru .nuru__card-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.nuru .nuru__card-media.is-empty { background: var(--n-tint); }
.nuru .nuru__card-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.nuru .nuru__card-title {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  font-size: 13.5px; font-weight: 600; line-height: 1.3; color: var(--n-ink);
}
.nuru .nuru__card-price { font-size: 14.5px; font-weight: 800; color: var(--n-accent); }
.nuru .nuru__card-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-size: 11.5px; color: var(--n-muted); }
.nuru .nuru__card-city { display: inline-flex; align-items: center; gap: 3px; }
.nuru .nuru__card-city svg { width: 12px; height: 12px; }
.nuru .nuru__card-note { padding: 1px 7px; border-radius: 999px; background: rgba(245, 196, 0, .22); color: #6b5200; font-style: normal; font-weight: 600; }
html.vistore-dark .nuru .nuru__card-note { color: #ffd84a; background: rgba(245, 196, 0, .16); }

/* Lieux du guide */
.nuru .nuru__places { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; width: 100%; }
.nuru .nuru__place {
  position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 15px;
  background: linear-gradient(135deg, var(--n-deep), var(--n-green)); color: #fff; text-decoration: none;
}
.nuru .nuru__place img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.nuru .nuru__place:hover img { transform: scale(1.05); }
.nuru .nuru__place-text {
  position: absolute; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; gap: 1px; padding: 26px 10px 9px;
  background: linear-gradient(to top, rgba(4, 18, 12, .88), rgba(4, 18, 12, 0));
}
.nuru .nuru__place-text strong { font-size: 13px; font-weight: 700; line-height: 1.25; color: #fff; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.nuru .nuru__place-text small { font-size: 11px; color: rgba(255, 255, 255, .86); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.nuru .nuru__place--plain {
  aspect-ratio: auto; display: flex; flex-direction: column; gap: 8px; min-height: 96px; padding: 11px;
  border: 1px solid var(--n-line); background: var(--n-surface); color: var(--n-ink);
  transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.nuru .nuru__place--plain:hover { border-color: var(--n-green); transform: translateY(-1px); box-shadow: 0 6px 16px rgba(8, 24, 17, .08); }
.nuru .nuru__place-icon { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: var(--n-tint); color: var(--n-accent); }
.nuru .nuru__place-icon svg { width: 17px; height: 17px; }
.nuru .nuru__place--plain .nuru__place-text { position: static; padding: 0; background: none; }
.nuru .nuru__place--plain .nuru__place-text strong { color: var(--n-ink); }
.nuru .nuru__place--plain .nuru__place-text small { color: var(--n-muted); }

/* Boutons d'action */
.nuru .nuru__actions { display: flex; flex-wrap: wrap; gap: 7px; }
.nuru .nuru__action {
  display: inline-flex; align-items: center; gap: 7px; min-height: 40px; padding: 0 15px; border: 1px solid var(--n-line); border-radius: 999px;
  background: var(--n-surface); color: var(--n-ink); font-size: 13px; font-weight: 700; text-decoration: none;
  transition: border-color .15s ease, background .15s ease, transform .15s ease;
}
.nuru .nuru__action:hover { border-color: var(--n-green); transform: translateY(-1px); }
.nuru .nuru__action svg { width: 15px; height: 15px; flex: none; }
.nuru .nuru__action--main { border-color: transparent; background: var(--n-green); color: #fff; }
.nuru .nuru__action--main:hover { background: var(--n-deep); }
.nuru .nuru__action:disabled { opacity: .6; }

/* Zone de saisie */
.nuru .nuru__composer { flex: none; display: flex; align-items: flex-end; gap: 8px; padding: 10px 12px 8px; background: var(--n-surface); border-top: 1px solid var(--n-line); }
.nuru .nuru__composer textarea {
  flex: 1; min-width: 0; min-height: 44px; max-height: 112px; resize: none; margin: 0; padding: 11px 15px;
  border: 1px solid var(--n-line); border-radius: 22px; background: var(--n-soft); color: var(--n-ink);
  font: inherit; font-size: 15px; line-height: 1.35; box-shadow: none; outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.nuru .nuru__composer textarea::placeholder { color: var(--n-muted); }
.nuru .nuru__composer textarea:focus { border-color: var(--n-green); box-shadow: 0 0 0 3px var(--n-tint); }
.nuru .nuru__composer button {
  flex: none; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%;
  background: var(--n-green); color: #fff; transition: background .15s ease, transform .15s ease, opacity .15s ease;
}
.nuru .nuru__composer button:hover { background: var(--n-deep); }
.nuru .nuru__composer button:active { transform: scale(.94); }
.nuru .nuru__composer button:disabled { opacity: .45; cursor: default; }
.nuru .nuru__composer button svg { width: 19px; height: 19px; }
.nuru .nuru__notice { flex: none; margin: 0; padding: 0 14px 10px; background: var(--n-surface); color: var(--n-muted); font-size: 10.5px; line-height: 1.35; text-align: center; }

/* Téléphone : bouton rond au-dessus de la barre du bas, fenêtre en tiroir */
@media (max-width: 720px) {
  .nuru .nuru__launcher { right: 14px; bottom: calc(var(--nuru-lift, calc(64px + env(safe-area-inset-bottom))) + 14px); width: 56px; height: 56px; padding: 0; justify-content: center; }
  .nuru .nuru__launcher-icon { width: 56px; height: 56px; padding: 12px; background: transparent; }
  .nuru .nuru__launcher-icon::after { right: 5px; top: 5px; }
  .nuru .nuru__launcher-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .nuru .nuru__backdrop { display: block; position: fixed; inset: 0; z-index: 1290; background: rgba(6, 18, 13, .55); animation: nuru-fade .2s ease; }
  .nuru .nuru__panel {
    left: 0; right: 0; bottom: 0; width: 100%; max-width: none; height: min(90vh, calc(100vh - 28px)); height: min(90dvh, calc(100dvh - 28px));
    border: 0; border-radius: 22px 22px 0 0; animation: nuru-up .26s cubic-bezier(.2, .8, .2, 1);
  }
  .nuru .nuru__head { padding-top: 16px; }
  .nuru .nuru__composer textarea { font-size: 16px; }
  .nuru .nuru__notice { padding-bottom: calc(10px + env(safe-area-inset-bottom)); }
  html.nuru-lock, html.nuru-lock body { overflow: hidden; }
}
@keyframes nuru-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes nuru-up { from { transform: translateY(100%); } to { transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .nuru .nuru__panel, .nuru .nuru__backdrop, .nuru .nuru__msg, .nuru .nuru__dots i { animation: none; }
  .nuru .nuru__launcher, .nuru .nuru__card, .nuru .nuru__action, .nuru .nuru__quick-btn, .nuru .nuru__place img { transition: none; }
}
@media print { .nuru { display: none !important; } }

/* ==========================================================================
   Carte vendeur v3 (fiche annonce) — identité, chiffres clés, infos, suivre
   ========================================================================== */
.vistore-theme .vsc {
  --vsc-tint: rgba(0, 122, 61, .08);
  display: flex; flex-direction: column; gap: 14px; padding: 16px;
  border: 1px solid var(--v3-line); border-radius: var(--v3-radius, 18px);
  background: var(--v3-surface); color: var(--v3-ink);
  box-shadow: 0 1px 2px rgba(8, 24, 17, .04);
}
html.vistore-dark .vistore-theme .vsc { --vsc-tint: rgba(64, 201, 128, .12); }
.vistore-theme .vsc a { text-decoration: none; }
.vistore-theme .vsc svg { flex: none; }

/* Identité */
.vistore-theme .vsc .vsc__head { display: flex; align-items: center; gap: 13px; min-width: 0; margin: -4px; padding: 4px; border-radius: 14px; color: inherit; transition: background-color .15s ease; }
.vistore-theme .vsc .vsc__head:hover { background: var(--v3-soft); }
.vistore-theme .vsc .vsc__photo { position: relative; flex: none; width: 58px; height: 58px; }
.vistore-theme .vsc .vsc__photo > img,
.vistore-theme .vsc .vsc__photo > .vistore-avatar {
  display: grid; place-items: center; width: 58px; height: 58px; overflow: hidden; border-radius: 16px;
  border: 1px solid var(--v3-line); background: var(--v3-soft); object-fit: cover;
}
.vistore-theme .vsc:not(.is-pro) .vsc__photo > img,
.vistore-theme .vsc:not(.is-pro) .vsc__photo > .vistore-avatar { border-radius: 50%; }
.vistore-theme .vsc .vsc__photo > .vistore-avatar img { width: 100%; height: 100%; object-fit: cover; }
.vistore-theme .vsc .vsc__photo > .vistore-avatar > span { font-size: 20px; font-weight: 800; color: var(--v3-green); }
.vistore-theme .vsc .vsc__tick {
  position: absolute; right: -4px; bottom: -4px; display: grid; place-items: center; width: 22px; height: 22px;
  border: 2.5px solid var(--v3-surface); border-radius: 50%; background: var(--v3-green); color: #fff;
}
.vistore-theme .vsc .vsc__tick svg { width: 12px; height: 12px; stroke-width: 3; }
.vistore-theme .vsc .vsc__who { display: flex; flex: 1; flex-direction: column; gap: 3px; min-width: 0; }
.vistore-theme .vsc .vsc__kicker { font-size: 11px; font-weight: 700; letter-spacing: .07em; line-height: 1.2; text-transform: uppercase; color: var(--v3-muted); }
.vistore-theme .vsc .vsc__name { overflow: hidden; font-size: 17.5px; font-weight: 800; line-height: 1.2; white-space: nowrap; text-overflow: ellipsis; color: var(--v3-ink); }
.vistore-theme .vsc .vsc__badges { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 2px; }
.vistore-theme .vsc .vsc__badge {
  display: inline-flex; align-items: center; gap: 4px; height: 22px; padding: 0 8px 0 6px; border-radius: 999px;
  font-size: 11px; font-weight: 800; letter-spacing: .02em; line-height: 1;
}
.vistore-theme .vsc .vsc__badge svg { width: 13px; height: 13px; }
.vistore-theme .vsc .vsc__badge--pro { background: var(--v3-green-deep); color: var(--v3-gold); }
.vistore-theme .vsc .vsc__badge--ok { background: var(--vsc-tint); color: var(--v3-green); }
html.vistore-dark .vistore-theme .vsc .vsc__badge--ok { color: #6fdda3; }
html.vistore-dark .vistore-theme .vsc .vsc__badge--pro { background: #0d2b1f; }
.vistore-theme .vsc .vsc__go { display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 50%; color: var(--v3-muted); }
.vistore-theme .vsc .vsc__go svg { width: 18px; height: 18px; }
.vistore-theme .vsc .vsc__head:hover .vsc__go { color: var(--v3-green); }

/* Chiffres clés */
.vistore-theme .vsc .vsc__stats {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none;
  border: 1px solid var(--v3-line); border-radius: 14px; background: var(--v3-soft); overflow: hidden;
}
.vistore-theme .vsc .vsc__stats li { min-width: 0; margin: 0; }
.vistore-theme .vsc .vsc__stats li + li { border-left: 1px solid var(--v3-line); }
.vistore-theme .vsc .vsc__stats li > a,
.vistore-theme .vsc .vsc__stats li > span { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 10px 4px 9px; color: inherit; text-align: center; }
.vistore-theme .vsc .vsc__stats a:hover { background: var(--vsc-tint); }
.vistore-theme .vsc .vsc__stats strong { display: inline-flex; align-items: center; gap: 3px; font-size: 16px; font-weight: 800; line-height: 1.15; color: var(--v3-ink); font-variant-numeric: tabular-nums; }
.vistore-theme .vsc .vsc__stats small { overflow: hidden; max-width: 100%; font-size: 11px; line-height: 1.2; white-space: nowrap; text-overflow: ellipsis; color: var(--v3-muted); }
.vistore-theme .vsc .vsc__star { color: #f0a500; font-size: 15px; }

/* Présentation et infos */
.vistore-theme .vsc .vsc__tagline {
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
  margin: 0; font-size: 13.5px; line-height: 1.5; color: var(--v3-ink-2);
}
.vistore-theme .vsc .vsc__facts { display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 0; list-style: none; }
.vistore-theme .vsc .vsc__facts li { display: flex; align-items: flex-start; gap: 9px; margin: 0; font-size: 13.5px; line-height: 1.4; color: var(--v3-ink-2); }
.vistore-theme .vsc .vsc__facts svg { width: 16px; height: 16px; margin-top: 1px; color: var(--v3-green); }
html.vistore-dark .vistore-theme .vsc .vsc__facts svg { color: #6fdda3; }
.vistore-theme .vsc .vsc__facts .is-good { color: var(--v3-green); font-weight: 600; }
.vistore-theme .vsc .vsc__dot { flex: none; width: 9px; height: 9px; margin: 5px 3.5px 0; border-radius: 50%; background: var(--v3-muted); }
.vistore-theme .vsc .is-open { color: var(--v3-green); font-weight: 700; }
.vistore-theme .vsc .is-open .vsc__dot { background: #1fbf63; box-shadow: 0 0 0 3px rgba(31, 191, 99, .2); }
.vistore-theme .vsc .is-closed .vsc__dot { background: #e0a100; }
html.vistore-dark .vistore-theme .vsc .is-open, html.vistore-dark .vistore-theme .vsc .vsc__facts .is-good { color: #6fdda3; }

/* Actions */
.vistore-theme .vsc .vsc__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.vistore-theme .vsc .vsc__actions > :only-child { grid-column: 1 / -1; }
.vistore-theme .vsc .vistore-follow-form { display: block; margin: 0; }
.vistore-theme .vsc .vistore-follow-form .vistore-button--follow,
.vistore-theme .vsc .vsc__shop {
  display: flex; align-items: center; justify-content: center; gap: 7px; width: 100%; height: 44px; margin: 0; padding: 0 12px;
  border: 1px solid var(--v3-line); border-radius: 12px; box-shadow: none; background: var(--v3-surface); color: var(--v3-ink);
  font: inherit; font-size: 14px; font-weight: 700; line-height: 1; cursor: pointer;
  transition: border-color .15s ease, background-color .15s ease, color .15s ease;
}
.vistore-theme .vsc .vistore-follow-form .vistore-button--follow > .vistore-icon,
.vistore-theme .vsc .vsc__shop svg { width: 17px; height: 17px; padding: 0; border-radius: 0; background: none; box-shadow: none; color: currentColor; }
.vistore-theme .vsc .vistore-follow-form .vistore-button--follow > span { color: inherit; font-weight: 700; }
.vistore-theme .vsc .vistore-follow-form .vistore-button--follow > small { display: none; }
.vistore-theme .vsc .vistore-follow-form .vistore-button--follow { border-color: transparent; background: var(--v3-green); color: #fff; }
.vistore-theme .vsc .vistore-follow-form .vistore-button--follow:hover { background: #006733; color: #fff; }
.vistore-theme .vsc .vistore-follow-form .vistore-button--follow.is-following { border-color: var(--v3-line); background: var(--vsc-tint); color: var(--v3-green); }
html.vistore-dark .vistore-theme .vsc .vistore-follow-form .vistore-button--follow.is-following { color: #6fdda3; }
.vistore-theme .vsc .vsc__shop:hover { border-color: var(--v3-green); color: var(--v3-green); }
html.vistore-dark .vistore-theme .vsc .vsc__shop { background: transparent; }
.vistore-theme .vsc .vistore-hook-zone:empty { display: none; }
.vistore-theme .vsc .vsc__paylist b { font-weight: 500; white-space: nowrap; }
.vistore-theme .vsc .vsc__paylist b:not(:last-of-type)::after { content: " ·"; color: var(--v3-muted); }
.vistore-theme .vsc, .vistore-theme .vsc .vsc__facts li > span { min-width: 0; }
.vistore-theme .vsc .vsc__stats strong .vsc__star { display: inline; padding: 0; color: #f0a500; }
