/* ============================================================================
   Marketplace ZIC (marketplace.zic.fi + alias marketplaces / market) —
   portage CSS du gabarit React « ZIC Marketplace » (plan « Marketplace ZIC »,
   lot L5, 28 oct 2026) : en-tête collant, onglets, bandeau orange + rail des
   catégories, « La sélection ZIC », grille, bloc « Vends », communauté
   WhatsApp, pied sombre, fiche (barre vendeur collante, galerie, partage,
   signalement, similaires), feuilles (filtres, achat, formule, signalement,
   succès) et toast. Préfixe `mkl-` (DOM + classes), jetons `--mkl-*` sur
   html.zh-marketplace-page. Chrome PROPRE : landing-home.css n'est PAS
   chargée sur cette page (aucune règle `zh-home*`). Contrat DOM :
   templates/marketplace/*.

   Variables INLINE (jamais définies ici) : `--mkl-cat` (couleur de
   remplissage d'une catégorie), `--mkl-cat-ink` (son encre ≥ 4,5:1 sur blanc)
   et `--mkl-av` (fond d'un avatar sans image), posées par les gabarits / le
   JS depuis CATEGORIES et AVATAR_INKS (services/marketplace_catalog.py).
   `--mkl-header-h` est mesurée par le JS (ResizeObserver) ; repli 116 px.

   Contraste (WCAG AA, recalculé par tests/test_marketplace_landing_css.py
   depuis les déclarations réelles) : bandeau orange ré-étalonné
   (--mkl-hero, #9A3F0B → #B4530F → #A54A0E : texte blanc ≥ 5:1 ; le
   #E58A2E du gabarit n'atteignait que 2,5:1), halos décoratifs qui
   ASSOMBRISSENT (voile noir ≤ 10 % : un voile blanc les ferait tomber sous
   4,5:1 là où le texte passe dessus), pastille du bandeau sur voile
   sombre (le voile blanc 20 % tombait à 3,5:1), texte atténué --mkl-mut
   #6B6383 (5,6:1 sur blanc, 5,1:1 sur --mkl-bg), CTA rouge --mkl-red
   #E11D48 (blanc 4,7:1), WhatsApp plein --mkl-wa-ink #15803D (blanc 5:1 ;
   le #25B000 du bouton du gabarit n'atteignait que 2,9:1 et #25D366 reste
   aux remplissages), bordures de champs --mkl-line-d #8B7BB8 (3,7:1, WCAG
   1.4.11 ; --mkl-line #E7E2F5 n'est que décorative), texte violet sur
   teinte --mkl-purple-h #5B21B6, encres de catégorie et d'avatar ≥ 4,5:1.

   Empilement (racine) — le contrat z :
     barre vendeur collante 5 < barre d'achat mobile 95 < en-tête collant
     100 (le panneau .zic-user-menu-panel 130 vit dans son contexte) = FAB
     chat 100 < overlay chat 1200 < feuilles et succès 1300 < popup
     MultiShop+ 1500 < modales zsb / ztk 3000 < popup produit physique 4000
     < toasts mshop 4500-4600 < `.mkl-toast` 5000 < popup de paiement 9500 <
     auth 9999 < modale légale 10050. Aucun autre z-index ≥ 100 ici.

   Points de rupture : ≥ 1280 grille à 5 colonnes ; 1200-1279 à 4 ;
   768-1199 à 3 + en-tête raccourci (Favoris et compte en icônes, « Publier »
   court) ; < 768 à 2 + en-tête mobile (logo + icônes, recherche pleine
   largeur, onglets défilants ; avec JS, ville et sélecteurs prix / tri
   passent dans la feuille « Filtres », sans JS les formulaires GET
   restent), barre vendeur statique, barre
   d'achat fixe ; < 380 grille resserrée ; feuilles du bas < 720
   (ZicShopSheet : `max-width: 719px`), fenêtres centrées au-delà.

   Accessibilité : cibles ≥ 44 px (boutons, liens-boutons, puces, onglets,
   cœurs, pas de quantité, flèches de rail), champs à 16 px < 768 (pas de
   zoom iOS), `:focus-visible` 3 px violet (blanc sur le bandeau et le pied
   sombres), survols sous `@media (hover: hover)`, mouvement neutralisé sous
   prefers-reduced-motion. Le `svg{height:auto}` de mobile.css écrase les
   attributs : chaque svg est dimensionné par classe.

   Modales réutilisées (shop-service-booking.css, shop-ticket-purchase.css)
   : elles ne lisent que `--pp-*` (avec replis) — ces jetons sont définis ICI
   SEULEMENT sous `.zsb-overlay` / `.ztk-overlay` (thème clair du profil,
   `--pp-text-soft` relevé à #6B6383), JAMAIS sur `:root` ni `html` : auth,
   chat, MultiShop+, MultiTicket+ et la modale légale gardent leurs replis.
   ============================================================================ */

html.zh-marketplace-page {
  --mkl-bg: #F4F3F8;
  --mkl-card: #fff;
  --mkl-ink: #1F1340;
  --mkl-mut: #6B6383;
  --mkl-slate: #3E5468;
  --mkl-tab: #4B5563;
  --mkl-line: #E7E2F5;
  --mkl-line-d: #8B7BB8;
  --mkl-soft: #FAFAFC;
  --mkl-media: #E9E5F2;
  --mkl-pill-bg: #F3EEFF;
  --mkl-purple: #7B3FF2;
  --mkl-purple-h: #5B21B6;
  --mkl-purple-t: #F3EEFF;
  --mkl-red: #E11D48;
  --mkl-red-h: #BE123C;
  --mkl-red-t: #FEF2F2;
  --mkl-wa: #25D366;
  --mkl-wa-ink: #15803D;
  --mkl-ok-t: #F1FBF5;
  --mkl-save: #166534;
  --mkl-save-t: #DCFCE7;
  --mkl-fb: #1877F2;
  --mkl-hero: linear-gradient(120deg, #9A3F0B 0%, #B4530F 55%, #A54A0E 100%);
  --mkl-hero-deco: radial-gradient(circle at 92% 28%, rgba(0, 0, 0, 0.1) 0 14%, transparent 15%), radial-gradient(circle at 6% 94%, rgba(0, 0, 0, 0.08) 0 12%, transparent 13%);
  --mkl-hero-kicker: rgba(0, 0, 0, 0.2);
  --mkl-shadow: rgba(31, 19, 64, 0.35);
  --mkl-scrim: rgba(20, 10, 51, 0.6);
  --mkl-header-h: 116px;
  --mkl-buybar-h: 72px;
  --mkl-select-chev: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236B6383' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  color-scheme: light;
  scroll-padding-top: var(--mkl-header-h);
  background: var(--mkl-bg);
}

/* ── Gardes ─────────────────────────────────────────────────────────────── */

.mkl-page [hidden],
.mkl-sheet[hidden],
.mkl-sheet [hidden],
.mkl-toast[hidden] {
  display: none !important;
}

/* ZicScrollLock pose body.zh-sl-locked (sa règle vit dans public-profile.css,
   absente de cette page). */
body.zh-marketplace-page.zh-sl-locked {
  overflow: hidden;
}

/* ── Base ───────────────────────────────────────────────────────────────── */

body.zh-marketplace-page {
  margin: 0;
  background: var(--mkl-bg);
  color: var(--mkl-ink);
  font-family: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.mkl-page,
.mkl-page *,
.mkl-page *::before,
.mkl-page *::after,
.mkl-sheet,
.mkl-sheet *,
.mkl-sheet *::before,
.mkl-sheet *::after,
.mkl-toast,
.mkl-toast * {
  box-sizing: border-box;
}

.mkl-page button,
.mkl-page input,
.mkl-page select,
.mkl-page textarea,
.mkl-sheet button,
.mkl-sheet input,
.mkl-sheet select,
.mkl-sheet textarea {
  font-family: inherit;
}

html.zh-marketplace-page :focus-visible {
  outline: 3px solid var(--mkl-purple);
  outline-offset: 2px;
}

.mkl-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.mkl-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.mkl-skip {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.mkl-skip:focus {
  position: static;
  display: block;
  width: auto;
  height: auto;
  clip: auto;
  padding: 12px 16px;
  background: var(--mkl-ink);
  color: #fff;
  font-weight: 700;
}

.mkl-wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

.mkl-root {
  display: block;
  padding: 22px 0 60px;
}

/* Icônes du sprite : tracé hérité du svg appelant. */
.mkl-ic {
  width: 20px;
  height: 20px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mkl-ic--xs {
  width: 12px;
  height: 12px;
}

.mkl-ic--sm {
  width: 16px;
  height: 16px;
}

.mkl-ic--md {
  width: 18px;
  height: 18px;
}

.mkl-ic--lg {
  width: 22px;
  height: 22px;
}

.mkl-ic--xl {
  width: 32px;
  height: 32px;
}

.mkl-ic--ph {
  width: 48px;
  height: 48px;
  stroke-width: 1.6;
}

.mkl-ic--fill {
  fill: currentColor;
  stroke: none;
}

/* ── Boutons ────────────────────────────────────────────────────────────── */

.mkl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 100px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}

.mkl-btn--red {
  background: var(--mkl-red);
  color: #fff;
}

.mkl-btn--wa {
  background: var(--mkl-wa-ink);
  color: #fff;
}

.mkl-btn--ghost {
  background: var(--mkl-card);
  color: var(--mkl-ink);
  border-color: var(--mkl-line-d);
}

.mkl-btn--dark {
  background: var(--mkl-ink);
  color: #fff;
}

.mkl-btn--lg {
  min-height: 50px;
  padding: 0 26px;
  font-size: 15px;
}

.mkl-btn--block {
  width: 100%;
  white-space: normal;
}

.mkl-btn[disabled] {
  background: #E5E1EE;
  border-color: transparent;
  color: var(--mkl-mut);
  cursor: not-allowed;
}

/* ── En-tête collant ────────────────────────────────────────────────────── */

.mkl-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--mkl-card);
  border-bottom: 1px solid var(--mkl-line);
}

.mkl-header-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 12px;
  padding-bottom: 12px;
}

.mkl-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  flex: none;
}

.mkl-logo-link,
.mkl-pill-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
}

.mkl-logo {
  display: block;
  width: auto;
  height: 28px;
}

.mkl-pill {
  padding: 3px 9px;
  border-radius: 100px;
  background: var(--mkl-pill-bg);
  color: var(--mkl-ink);
  font-family: "Space Grotesk", "DM Sans", sans-serif;
  font-size: 15px;
  font-weight: 700;
}

.mkl-search {
  flex: 1 1 380px;
  display: flex;
  align-items: center;
  min-width: 0;
  height: 46px;
  border-radius: 100px;
  border: 1.5px solid var(--mkl-line-d);
  background: var(--mkl-soft);
  overflow: hidden;
}

.mkl-search:focus-within {
  border-color: var(--mkl-purple);
  box-shadow: 0 0 0 3px rgba(123, 63, 242, 0.2);
}

.mkl-search-ic {
  width: 18px;
  height: 18px;
  margin: 0 6px 0 16px;
  color: var(--mkl-mut);
}

/* Anneau de focus porté par la pilule (:focus-within ci-dessus). */
.mkl-search-input:focus-visible {
  outline: none;
}

.mkl-search-input {
  flex: 1 1 auto;
  min-width: 0;
  height: 100%;
  border: 0;
  background: transparent;
  color: var(--mkl-ink);
  font-size: 15px;
}

.mkl-search-input::placeholder {
  color: var(--mkl-mut);
}

.mkl-city {
  flex: none;
  max-width: 210px;
  height: 100%;
  padding: 0 38px 0 12px;
  border: 0;
  border-left: 1px solid var(--mkl-line);
  border-radius: 0;
  background: transparent var(--mkl-select-chev) no-repeat right 14px center;
  background-size: 12px;
  color: var(--mkl-ink);
  font-size: 14px;
  appearance: none;
  cursor: pointer;
}

.mkl-city:focus-visible {
  outline-offset: -3px;
}

.mkl-search-go {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--mkl-purple-h);
  cursor: pointer;
}

.mkl-search-go:focus-visible {
  outline-offset: -3px;
}

.mkl-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
}

.mkl-hbtn {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-width: 44px;
  min-height: 44px;
  padding: 2px 6px;
  border: 0;
  background: none;
  color: var(--mkl-ink);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.mkl-hbtn-av {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--mkl-purple);
  color: #fff;
}

.mkl-hbtn-count {
  position: absolute;
  top: 0;
  right: 0;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 100px;
  background: var(--mkl-red);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  line-height: 18px;
  text-align: center;
}

/* Compteur visible seulement quand le libellé est masqué (≤ 1199). */
.mkl-hbtn-label + .mkl-hbtn-count {
  display: none;
}

.mkl-header .zic-user-menu-trigger {
  width: 44px;
  height: 44px;
  background: var(--mkl-purple);
}

.mkl-user .zic-user-menu-item svg {
  width: 16px;
  height: 16px;
  flex: none;
}

.mkl-publish {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  padding: 0 20px;
  border-radius: 100px;
  background: var(--mkl-red);
  color: #fff;
  font-size: 14.5px;
  font-weight: 800;
  white-space: nowrap;
  text-decoration: none;
}

.mkl-publish-short {
  display: none;
}

.mkl-tabs {
  border-top: 1px solid var(--mkl-line);
}

.mkl-tabs-inner {
  display: flex;
  gap: 26px;
  overflow-x: auto;
  scrollbar-width: none;
}

.mkl-tabs-inner::-webkit-scrollbar {
  display: none;
}

.mkl-tab {
  flex: none;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  border-bottom: 2.5px solid transparent;
  color: var(--mkl-tab);
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
  text-decoration: none;
}

.mkl-tab:focus-visible {
  outline-offset: -3px;
}

.mkl-tab[aria-current] {
  border-bottom-color: var(--mkl-red);
  color: var(--mkl-ink);
  font-weight: 700;
}

/* ── Bandeau + rail des catégories ─────────────────────────────────────── */

.mkl-hero {
  border-radius: 20px;
  overflow: hidden;
  background: var(--mkl-card);
  box-shadow: 0 2px 10px rgba(31, 19, 64, 0.06);
}

.mkl-hero-band {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  min-height: 230px;
  padding: 24px 30px;
  background-color: #B4530F;
  background-image: var(--mkl-hero-deco), var(--mkl-hero);
  color: #fff;
}

.mkl-hero-band :focus-visible {
  outline-color: #fff;
}

.mkl-hero-copy {
  flex: 1 1 340px;
  min-width: 0;
}

.mkl-hero-kicker {
  display: inline-flex;
  align-items: center;
  margin: 0;
  padding: 5px 12px;
  border-radius: 100px;
  background: var(--mkl-hero-kicker);
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.mkl-hero-title {
  margin: 12px 0 0;
  font-family: "Space Grotesk", "DM Sans", sans-serif;
  font-size: clamp(28px, 3.6vw, 44px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -1px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
}

.mkl-hero-l1,
.mkl-hero-l2 {
  display: block;
}

.mkl-hero-sub {
  max-width: 440px;
  margin: 10px 0 0;
  font-size: 15.5px;
  line-height: 1.5;
}

.mkl-hero-pics {
  display: flex;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mkl-hero-pic {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 150px;
  overflow: hidden;
  border: 3px solid #fff;
  border-radius: 14px;
  background: var(--mkl-media);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
  color: var(--mkl-mut);
  transform: rotate(-6deg);
}

.mkl-hero-pic-item:nth-child(2) .mkl-hero-pic {
  transform: rotate(2deg);
}

.mkl-hero-pic-item:nth-child(3) .mkl-hero-pic {
  transform: rotate(7deg);
}

.mkl-hero-pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mkl-rail-wrap {
  position: relative;
}

.mkl-rail {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.mkl-rail::-webkit-scrollbar {
  display: none;
}

.mkl-rail:focus-visible {
  outline-offset: -3px;
}

.mkl-chips {
  gap: 4px;
  padding: 14px 60px;
}

.mkl-chip {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 7px 14px 7px 7px;
  border-radius: 100px;
  border: 1px solid var(--mkl-line);
  background: var(--mkl-card);
  color: var(--mkl-ink);
  font-size: 13.5px;
  font-weight: 700;
  white-space: nowrap;
  text-decoration: none;
}

.mkl-chip-ic {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--mkl-bg);
  background: color-mix(in srgb, var(--mkl-cat) 14%, #fff);
  color: var(--mkl-cat-ink);
}

.mkl-chip[aria-current] {
  border-color: var(--mkl-cat-ink);
  background: var(--mkl-cat-ink);
  color: #fff;
}

.mkl-chip[aria-current] .mkl-chip-ic {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
}

.mkl-rail-btn {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--mkl-line-d);
  background: var(--mkl-card);
  box-shadow: 0 2px 8px rgba(31, 19, 64, 0.12);
  color: var(--mkl-ink);
  cursor: pointer;
  transform: translateY(-50%);
}

.mkl-rail-btn--prev {
  left: 8px;
}

.mkl-rail-btn--next {
  right: 8px;
}

.mkl-rail-btn[disabled] {
  opacity: 0;
  pointer-events: none;
}

/* ── Sections ───────────────────────────────────────────────────────────── */

.mkl-h2 {
  margin: 0;
  color: var(--mkl-ink);
  font-family: "Space Grotesk", "DM Sans", sans-serif;
  font-size: 21px;
  font-weight: 700;
}

.mkl-h2--slate {
  margin-bottom: 14px;
  color: var(--mkl-slate);
  font-size: 19px;
}

.mkl-sel,
.mkl-results {
  margin-top: 30px;
}

.mkl-sec-head {
  margin-bottom: 12px;
}

.mkl-sec-sub {
  margin: 4px 0 0;
  color: var(--mkl-mut);
  font-size: 14px;
}

.mkl-rail-wrap--sel .mkl-rail-btn--prev {
  left: -8px;
}

.mkl-rail-wrap--sel .mkl-rail-btn--next {
  right: -8px;
}

.mkl-sel-rail {
  gap: 14px;
  padding: 2px 2px 6px;
  scroll-snap-type: x proximity;
}

.mkl-sel-item {
  flex: 0 0 250px;
  scroll-snap-align: start;
}

/* ── Grille des annonces ────────────────────────────────────────────────── */

.mkl-results-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.mkl-results-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
  margin-right: auto;
  min-width: 0;
}

.mkl-count {
  margin: 0;
  color: var(--mkl-mut);
  font-size: 14px;
}

.mkl-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.mkl-select {
  height: 46px;
  max-width: 100%;
  padding: 0 38px 0 14px;
  border-radius: 12px;
  border: 1px solid var(--mkl-line-d);
  background: var(--mkl-card) var(--mkl-select-chev) no-repeat right 14px center;
  background-size: 12px;
  color: var(--mkl-ink);
  font-size: 14px;
  appearance: none;
  cursor: pointer;
}

.mkl-select--block {
  width: 100%;
}

html.mkl-js .mkl-apply {
  display: none;
}

.mkl-filters-open {
  display: none;
}

.mkl-active-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin: -4px 0 14px;
}

.mkl-active {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mkl-active-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 100px;
  background: var(--mkl-purple-t);
  color: var(--mkl-purple-h);
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
}

.mkl-active-reset {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--mkl-purple-h);
  font-size: 13.5px;
  font-weight: 700;
}

.mkl-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  transition: opacity 0.2s ease;
}

.mkl-grid[aria-busy="true"] {
  opacity: 0.55;
}

.mkl-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 22px;
}

.mkl-more {
  min-width: 180px;
}

.mkl-empty {
  padding: 50px 20px;
  border-radius: 18px;
  border: 1px solid var(--mkl-line);
  background: var(--mkl-card);
  text-align: center;
}

.mkl-empty-title {
  margin: 0;
  font-family: "Space Grotesk", "DM Sans", sans-serif;
  font-size: 18px;
  font-weight: 700;
}

.mkl-empty-body {
  margin: 6px 0 16px;
  color: var(--mkl-mut);
  font-size: 14px;
}

/* ── Carte ──────────────────────────────────────────────────────────────── */

.mkl-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-width: 0;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid var(--mkl-line);
  background: var(--mkl-card);
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}

.mkl-card-link {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
}

.mkl-card-link:focus-visible {
  outline-offset: -3px;
  border-radius: 16px;
}

.mkl-card-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--mkl-media);
}

.mkl-card-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mkl-card-ph,
.mkl-g-ph {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--mkl-media);
  background: color-mix(in srgb, var(--mkl-cat) 12%, #fff);
  color: var(--mkl-cat-ink);
}

.mkl-card-cat {
  position: absolute;
  top: 8px;
  left: 8px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  max-width: calc(100% - 64px);
  padding: 4px 9px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--mkl-cat-ink);
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mkl-badge {
  position: absolute;
  left: 8px;
  bottom: 8px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 9px;
  border-radius: 100px;
  font-size: 10.5px;
  font-weight: 800;
}

.mkl-badge--sel {
  background: var(--mkl-purple);
  color: #fff;
}

.mkl-badge--out {
  right: 8px;
  left: auto;
  background: var(--mkl-ink);
  color: #fff;
}

.mkl-card[data-sold-out] .mkl-card-img {
  filter: grayscale(0.7);
}

.mkl-card-body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 4px;
  padding: 11px 13px 0;
  min-width: 0;
}

.mkl-card-seller {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  margin-bottom: 2px;
  color: var(--mkl-mut);
  font-size: 12px;
}

.mkl-card-seller-name {
  min-width: 0;
  overflow: hidden;
  color: var(--mkl-ink);
  font-weight: 700;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.mkl-card-verified {
  display: inline-flex;
  flex: none;
}

.mkl-av {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 20px;
  height: 20px;
  overflow: hidden;
  border-radius: 50%;
  background: var(--mkl-av);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
}

.mkl-av-initial {
  line-height: 1;
}

.mkl-av-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mkl-card-price {
  margin: 0;
  color: var(--mkl-ink);
  font-family: "Space Grotesk", "DM Sans", sans-serif;
  font-size: 17px;
  font-weight: 700;
}

.mkl-card-per,
.mkl-card-compare {
  color: var(--mkl-mut);
  font-family: "DM Sans", sans-serif;
  font-size: 12px;
  font-weight: 500;
}

.mkl-card-title {
  display: -webkit-box;
  min-height: 2.7em;
  margin: 0;
  overflow: hidden;
  color: var(--mkl-ink);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.35;
  overflow-wrap: anywhere;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.mkl-card-meta {
  display: flex;
  align-items: center;
  gap: 5px;
  margin: auto 0 0;
  padding-top: 6px;
  color: var(--mkl-mut);
  font-size: 12px;
  min-width: 0;
}

.mkl-card-meta span {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.mkl-card-foot {
  display: flex;
  align-items: center;
  min-height: 32px;
  padding: 8px 13px 13px;
}

.mkl-card-cta {
  margin-left: auto;
  padding: 6px 12px;
  border-radius: 9px;
  background: var(--mkl-purple-t);
  color: var(--mkl-purple-h);
  font-size: 12.5px;
  font-weight: 800;
}

.mkl-card-cta::after {
  content: " \2192";
}

.mkl-fav {
  position: absolute;
  top: 2px;
  right: 2px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--mkl-ink);
  cursor: pointer;
}

.mkl-fav-dot {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 2px 8px rgba(31, 19, 64, 0.16);
}

.mkl-fav .mkl-ic {
  fill: none;
}

.mkl-fav[aria-pressed="true"] {
  color: var(--mkl-red);
}

.mkl-fav[aria-pressed="true"] .mkl-ic {
  fill: currentColor;
}

.mkl-fav[aria-busy="true"] {
  cursor: progress;
}

/* ── Vendre / communauté ────────────────────────────────────────────────── */

.mkl-sell {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-top: 34px;
  padding: 24px 26px;
  border-radius: 22px;
  border: 1px solid var(--mkl-line);
  background: var(--mkl-card);
}

.mkl-wa {
  gap: 22px;
  margin-top: 16px;
}

.mkl-sell-copy {
  flex: 1 1 320px;
  min-width: 0;
}

.mkl-sell-title {
  margin: 0;
  color: var(--mkl-ink);
  font-family: "Space Grotesk", "DM Sans", sans-serif;
  font-size: 20px;
  font-weight: 700;
}

.mkl-sell-body {
  margin: 5px 0 0;
  color: var(--mkl-mut);
  font-size: 14.5px;
  line-height: 1.5;
}

.mkl-wa-ic {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 60px;
  height: 60px;
  border-radius: 17px;
  background: var(--mkl-wa);
  color: #fff;
}

/* ── Pied de page sombre ────────────────────────────────────────────────── */

.mkl-footer {
  padding: 34px 0 calc(24px + env(safe-area-inset-bottom, 0px));
  background: var(--mkl-ink);
  color: rgba(255, 255, 255, 0.78);
}

.mkl-footer :focus-visible {
  outline-color: #fff;
}

.mkl-footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

.mkl-footer-brand {
  flex: 1 1 240px;
}

.mkl-footer-logo {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.mkl-footer-logo img {
  display: block;
  width: auto;
  height: 26px;
}

.mkl-footer-tagline {
  margin: 6px 0 0;
  font-size: 13.5px;
  line-height: 1.55;
}

.mkl-footer-col {
  flex: 1 1 150px;
}

.mkl-footer-h {
  margin: 0 0 4px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

.mkl-footer-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.mkl-footer-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  text-decoration: none;
}

.mkl-footer-link[aria-current] {
  color: #fff;
  font-weight: 700;
}

.mkl-footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 18px;
  margin-top: 22px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.mkl-footer-langs {
  display: inline-flex;
  gap: 14px;
}

.mkl-footer-root {
  margin-left: auto;
}

/* ── Fiche ──────────────────────────────────────────────────────────────── */

.mkl-d-main,
.mkl-gone {
  max-width: 900px;
  margin: 0 auto;
}

.mkl-d-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 14px;
  margin-bottom: 10px;
}

.mkl-back {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 44px;
  color: var(--mkl-ink);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.mkl-crumbs-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--mkl-mut);
  font-size: 14px;
}

.mkl-crumb {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.mkl-crumb + .mkl-crumb::before {
  content: "\203A";
  padding: 0 8px;
}

.mkl-crumb-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--mkl-mut);
  text-decoration: underline;
}

.mkl-crumb-current {
  color: var(--mkl-ink);
  font-weight: 700;
  overflow-wrap: anywhere;
}

.mkl-d-card {
  border-radius: 20px;
  border: 1px solid var(--mkl-line);
  background: var(--mkl-card);
}

.mkl-sellerbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 14px;
  padding: 14px 18px;
  border-radius: 20px 20px 0 0;
  border-bottom: 1px solid var(--mkl-line);
  background: var(--mkl-card);
  box-shadow: 0 6px 14px -12px var(--mkl-shadow);
}

.mkl-seller {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  margin-right: auto;
  color: var(--mkl-ink);
  text-decoration: none;
}

.mkl-av--lg {
  width: 58px;
  height: 58px;
  font-family: "Space Grotesk", "DM Sans", sans-serif;
  font-size: 22px;
}

.mkl-seller-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.mkl-seller-name {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: "Space Grotesk", "DM Sans", sans-serif;
  font-size: 18px;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.mkl-seller-verified {
  display: inline-flex;
}

.mkl-seller-line {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--mkl-mut);
  font-size: 13.5px;
}

.mkl-seller-line--strong {
  font-weight: 700;
}

.mkl-seller-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.mkl-buy-note {
  flex-basis: 100%;
  margin: 0;
  color: var(--mkl-mut);
  font-size: 13.5px;
  text-align: right;
}

.mkl-d-body {
  padding: 18px 18px 26px;
}

.mkl-g-stage {
  position: relative;
  height: min(460px, 60vw);
  overflow: hidden;
  border-radius: 14px;
  background: var(--mkl-media);
}

.mkl-g-main,
.mkl-g-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.mkl-g-video {
  background: #000;
}

.mkl-g-nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: var(--mkl-card);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
  color: var(--mkl-red-h);
  cursor: pointer;
  transform: translateY(-50%);
}

.mkl-g-nav--prev {
  left: 12px;
}

.mkl-g-nav--next {
  right: 12px;
}

.mkl-fav--lg {
  top: auto;
  right: 10px;
  bottom: 10px;
  width: 52px;
  height: 52px;
  color: var(--mkl-red-h);
}

.mkl-fav--lg .mkl-fav-dot {
  width: 48px;
  height: 48px;
  background: var(--mkl-card);
}

.mkl-g-count {
  margin: 10px 0 0;
  color: var(--mkl-mut);
  font-size: 13px;
  text-align: center;
}

.mkl-g-thumbs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 10px 0 0;
  padding: 2px;
  overflow-x: auto;
  list-style: none;
}

.mkl-g-thumb {
  position: relative;
  display: block;
  width: 80px;
  height: 80px;
  padding: 0;
  overflow: hidden;
  border-radius: 12px;
  border: 2px solid transparent;
  background: var(--mkl-media);
  cursor: pointer;
}

.mkl-g-thumb[aria-current="true"] {
  border-color: var(--mkl-red);
}

.mkl-g-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mkl-g-thumb-play {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
}

.mkl-d-title {
  margin: 22px 0 0;
  color: var(--mkl-ink);
  font-family: "Space Grotesk", "DM Sans", sans-serif;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.mkl-d-price {
  margin: 8px 0 0;
  color: var(--mkl-ink);
  font-family: "Space Grotesk", "DM Sans", sans-serif;
  font-size: 32px;
  font-weight: 700;
}

.mkl-d-per,
.mkl-d-compare {
  color: var(--mkl-mut);
  font-family: "DM Sans", sans-serif;
  font-size: 16px;
  font-weight: 500;
}

.mkl-d-stock {
  margin: 6px 0 0;
  color: var(--mkl-wa-ink);
  font-size: 14px;
  font-weight: 700;
}

.mkl-d-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
  color: var(--mkl-slate);
  font-size: 16px;
}

.mkl-d-facts--col {
  flex-direction: column;
}

.mkl-d-fact {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  overflow-wrap: anywhere;
}

.mkl-d-sec {
  margin-top: 30px;
}

.mkl-d-h2 {
  margin: 0 0 6px;
  color: var(--mkl-slate);
  font-size: 18px;
  font-weight: 700;
}

.mkl-d-desc {
  margin: 0;
  color: var(--mkl-slate);
  font-size: 16px;
  line-height: 1.65;
  white-space: pre-line;
  overflow-wrap: anywhere;
}

.mkl-d-muted {
  margin: 8px 0 0;
  color: var(--mkl-mut);
  font-size: 14px;
}

.mkl-d-label,
.mkl-label {
  display: block;
  margin: 0 0 8px;
  padding: 0;
  color: var(--mkl-mut);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.mkl-d-list {
  margin: 0;
  padding: 0;
  overflow: hidden;
  border-radius: 13px;
  border: 1px solid var(--mkl-line);
  list-style: none;
}

.mkl-d-li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 13px;
  color: var(--mkl-ink);
  font-size: 14px;
}

.mkl-d-li + .mkl-d-li {
  border-top: 1px solid var(--mkl-line);
}

.mkl-d-li .mkl-ic {
  color: var(--mkl-mut);
}

.mkl-d-li-n {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 24px;
  height: 24px;
  border-radius: 7px;
  background: #F1EFF7;
  color: var(--mkl-mut);
  font-size: 12px;
  font-weight: 700;
}

.mkl-d-li-text {
  flex: 1 1 auto;
  min-width: 0;
  overflow-wrap: anywhere;
}

.mkl-d-li-size {
  color: var(--mkl-mut);
  font-size: 12.5px;
}

.mkl-teaser {
  margin-top: 14px;
  padding: 12px 13px;
  border-radius: 13px;
  background: #F4F1FC;
}

.mkl-teaser-label {
  margin: 0 0 8px;
  color: var(--mkl-purple-h);
  font-size: 12px;
  font-weight: 800;
}

.mkl-teaser-media {
  display: block;
  width: 100%;
  margin-top: 10px;
  border-radius: 12px;
}

.mkl-d-dl {
  display: grid;
  gap: 8px;
  margin: 0;
}

.mkl-d-dl-row {
  display: flex;
  gap: 10px;
  font-size: 15px;
}

.mkl-d-dl dt {
  min-width: 60px;
  color: var(--mkl-slate);
  font-weight: 700;
}

.mkl-d-dl dd {
  margin: 0;
  color: var(--mkl-ink);
  overflow-wrap: anywhere;
}

.mkl-tiers {
  display: grid;
  gap: 8px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.mkl-tier {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 12px;
  padding: 11px 13px;
  border-radius: 12px;
  border: 1px solid var(--mkl-line);
}

.mkl-tier-label {
  flex: 1 1 auto;
  font-weight: 700;
}

.mkl-tier-price {
  font-family: "Space Grotesk", "DM Sans", sans-serif;
  font-size: 15px;
  font-weight: 700;
}

.mkl-tier-left {
  flex-basis: 100%;
  color: var(--mkl-mut);
  font-size: 12.5px;
}

.mkl-tier[data-sold-out] .mkl-tier-label,
.mkl-tier[data-sold-out] .mkl-tier-price {
  text-decoration: line-through;
}

.mkl-perks {
  display: grid;
  gap: 10px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}

.mkl-perk {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--mkl-ink);
  font-size: 14.5px;
}

.mkl-perk .mkl-ic {
  margin-top: 2px;
  color: var(--mkl-wa-ink);
}

.mkl-perk-title,
.mkl-perk-desc {
  display: block;
}

.mkl-perk-title {
  font-weight: 700;
}

.mkl-perk-desc {
  color: var(--mkl-mut);
  font-size: 13.5px;
}

.mkl-share {
  margin-top: 30px;
  text-align: center;
}

.mkl-share-title {
  margin: 0;
  color: var(--mkl-slate);
  font-size: 17px;
  font-weight: 700;
}

.mkl-share-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 14px;
}

.mkl-share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  background: var(--mkl-card);
  color: var(--mkl-slate);
  cursor: pointer;
}

.mkl-share-btn--wa {
  color: var(--mkl-wa-ink);
}

.mkl-share-btn--fb {
  color: var(--mkl-fb);
}

.mkl-share-btn--x {
  color: #111;
}

.mkl-share-url-row {
  max-width: 440px;
  margin: 14px auto 0;
  text-align: left;
}

.mkl-report {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 50px;
  margin-top: 24px;
  padding: 0 28px;
  border-radius: 14px;
  border: 1.5px solid var(--mkl-slate);
  background: var(--mkl-card);
  color: var(--mkl-slate);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}

.mkl-report.is-done,
.mkl-report.is-done[disabled] {
  border-color: var(--mkl-red-h);
  background: var(--mkl-red-t);
  color: var(--mkl-red-h);
  cursor: default;
}

.mkl-similar {
  margin-top: 30px;
}

.mkl-grid--similar,
.mkl-gone .mkl-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.mkl-buybar {
  display: none;
}

.mkl-buybar-price {
  margin: 0 auto 0 0;
  min-width: 0;
  color: var(--mkl-ink);
  font-family: "Space Grotesk", "DM Sans", sans-serif;
  font-size: 18px;
  font-weight: 700;
}

.mkl-gone-box {
  padding: 40px 20px;
  border-radius: 20px;
  border: 1px solid var(--mkl-line);
  background: var(--mkl-card);
  text-align: center;
}

.mkl-gone-title {
  margin: 0;
  font-family: "Space Grotesk", "DM Sans", sans-serif;
  font-size: 24px;
  font-weight: 700;
}

.mkl-gone-body {
  margin: 8px 0 18px;
  color: var(--mkl-mut);
}

.mkl-gone-sel {
  margin-top: 30px;
}

.mkl-gone-sel .mkl-h2 {
  margin-bottom: 14px;
}

/* ── Feuilles (filtres, achat, formule, signalement, succès) ────────────── */

.mkl-sheet {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.mkl-sheet-scrim {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: var(--mkl-scrim);
  opacity: 0;
  transition: opacity 0.28s ease;
}

.mkl-sheet.is-open .mkl-sheet-scrim {
  opacity: 1;
}

.mkl-sheet-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 480px;
  max-height: calc(100vh - 32px);
  overflow: hidden;
  border-radius: 20px;
  background: var(--mkl-card);
  color: var(--mkl-ink);
  box-shadow: 0 24px 60px rgba(20, 10, 51, 0.35);
  opacity: 0;
  transform: translateY(12px);
  transition: transform 0.28s ease, opacity 0.28s ease;
}

.mkl-sheet.is-open .mkl-sheet-panel {
  opacity: 1;
  transform: none;
}

.mkl-sheet-panel:focus-visible {
  outline-offset: -3px;
}

.mkl-sheet--wide .mkl-sheet-panel {
  max-width: 560px;
}

.mkl-sheet-handle {
  display: none;
  flex: none;
  width: 44px;
  height: 24px;
  margin: 0 auto;
  padding: 9px 0;
  border-radius: 3px;
  background: var(--mkl-line-d);
  background-clip: content-box;
}

.mkl-sheet-head {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: none;
  padding: 14px 16px;
  border-bottom: 1px solid var(--mkl-line);
}

.mkl-sheet-title {
  flex: 1 1 auto;
  margin: 0;
  font-family: "Space Grotesk", "DM Sans", sans-serif;
  font-size: 17px;
  font-weight: 700;
}

.mkl-sheet-x {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--mkl-line-d);
  background: var(--mkl-card);
  color: var(--mkl-ink);
  cursor: pointer;
}

.mkl-sheet-body {
  display: grid;
  align-content: start;
  gap: 18px;
  flex: 1 1 auto;
  min-height: 0;
  margin: 0;
  padding: 18px;
  overflow-y: auto;
}

.mkl-sheet-foot {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  flex: none;
  padding: 12px 18px calc(14px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--mkl-line);
}

.mkl-sheet-foot--col {
  flex-direction: column;
  align-items: stretch;
}

.mkl-fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.mkl-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.mkl-options--col {
  flex-direction: column;
}

.mkl-option {
  position: relative;
  display: inline-flex;
}

.mkl-option input,
.mkl-plan-input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  opacity: 0;
}

.mkl-option span {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1.5px solid var(--mkl-line-d);
  background: var(--mkl-card);
  color: var(--mkl-ink);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.mkl-option--row,
.mkl-option--row span {
  width: 100%;
}

.mkl-option input:checked + span {
  border-color: var(--mkl-ink);
  background: var(--mkl-ink);
  color: #fff;
}

.mkl-option input:focus-visible + span {
  outline: 3px solid var(--mkl-purple);
  outline-offset: 2px;
}

.mkl-option input:disabled + span {
  color: var(--mkl-mut);
  text-decoration: line-through;
  cursor: not-allowed;
}

.mkl-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.mkl-flabel {
  color: var(--mkl-ink);
  font-size: 13px;
  font-weight: 600;
}

.mkl-input {
  width: 100%;
  height: 46px;
  padding: 0 12px;
  border-radius: 11px;
  border: 1px solid var(--mkl-line-d);
  background: var(--mkl-card);
  color: var(--mkl-ink);
  font-size: 15px;
}

.mkl-input[aria-invalid="true"] {
  border-color: var(--mkl-red-h);
}

.mkl-textarea {
  height: auto;
  min-height: 96px;
  padding: 10px 12px;
  resize: vertical;
}

.mkl-hint {
  margin: 0;
  color: var(--mkl-mut);
  font-size: 12px;
}

.mkl-address {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 12px;
}

.mkl-address .mkl-label,
.mkl-field--full {
  grid-column: 1 / -1;
}

.mkl-qty-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.mkl-qty-row .mkl-label {
  margin: 0;
}

.mkl-qty {
  display: flex;
  align-items: center;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid var(--mkl-line-d);
}

.mkl-qty-btn {
  width: 44px;
  height: 44px;
  border: 0;
  background: var(--mkl-card);
  color: var(--mkl-ink);
  font-size: 20px;
  cursor: pointer;
}

.mkl-qty-btn:focus-visible {
  outline-offset: -3px;
}

.mkl-qty-btn[disabled] {
  color: #B9B3C9;
  cursor: not-allowed;
}

.mkl-qty-val {
  min-width: 36px;
  font-family: "Space Grotesk", "DM Sans", sans-serif;
  font-size: 16px;
  font-weight: 700;
  text-align: center;
}

.mkl-qty-row .mkl-hint {
  flex-basis: 100%;
  text-align: right;
}

.mkl-sum-media {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 52px;
  height: 52px;
  overflow: hidden;
  border-radius: 12px;
  background: var(--mkl-media);
  color: var(--mkl-mut);
}

.mkl-sum-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mkl-sum-text {
  flex: 1 1 auto;
  min-width: 0;
}

.mkl-sum-name {
  margin: 2px 0 0;
  overflow: hidden;
  font-family: "Space Grotesk", "DM Sans", sans-serif;
  font-size: 15.5px;
  font-weight: 700;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.mkl-sum-line {
  margin: 2px 0 0;
  color: var(--mkl-mut);
  font-size: 13px;
}

.mkl-plans {
  display: grid;
  gap: 10px;
}

.mkl-plan {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 4px 12px;
  min-height: 44px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1.5px solid var(--mkl-line-d);
  background: var(--mkl-card);
  cursor: pointer;
}

.mkl-plan.is-checked {
  border-color: var(--mkl-wa-ink);
  background: var(--mkl-ok-t);
}

.mkl-plan:focus-within {
  outline: 3px solid var(--mkl-purple);
  outline-offset: 2px;
}

.mkl-plan-name {
  font-family: "Space Grotesk", "DM Sans", sans-serif;
  font-size: 15px;
  font-weight: 700;
}

.mkl-plan-price {
  font-family: "Space Grotesk", "DM Sans", sans-serif;
  font-size: 16px;
  font-weight: 700;
  text-align: right;
}

.mkl-plan-per {
  color: var(--mkl-mut);
  font-family: "DM Sans", sans-serif;
  font-size: 13px;
  font-weight: 500;
}

.mkl-plan-save {
  grid-column: 1 / -1;
  justify-self: start;
  padding: 3px 8px;
  border-radius: 100px;
  background: var(--mkl-save-t);
  color: var(--mkl-save);
  font-size: 12px;
  font-weight: 800;
}

.mkl-error {
  margin: 0;
  padding: 10px 12px;
  border-radius: 11px;
  background: var(--mkl-red-t);
  color: var(--mkl-red-h);
  font-size: 13.5px;
  font-weight: 600;
}

.mkl-wait {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: var(--mkl-ink);
  font-size: 14px;
}

.mkl-spinner {
  flex: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2.5px solid var(--mkl-line);
  border-top-color: var(--mkl-purple);
  animation: mkl-spin 0.8s linear infinite;
}

@keyframes mkl-spin {
  to {
    transform: rotate(360deg);
  }
}

.mkl-secure {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 0;
  color: var(--mkl-mut);
  font-size: 12px;
  text-align: center;
}

.mkl-success {
  align-items: stretch;
  padding: 26px 22px calc(22px + env(safe-area-inset-bottom, 0px));
  overflow-y: auto;
  text-align: center;
}

.mkl-success-ic {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  margin: 0 auto;
  border-radius: 50%;
  background: var(--mkl-wa-ink);
  color: #fff;
}

.mkl-success-title {
  margin: 14px 0 0;
  font-family: "Space Grotesk", "DM Sans", sans-serif;
  font-size: 19px;
  font-weight: 700;
}

.mkl-success-body {
  margin: 8px 0 0;
  color: var(--mkl-mut);
  font-size: 14px;
  line-height: 1.6;
}

.mkl-success-links {
  display: grid;
  gap: 10px;
  margin: 18px 0 10px;
}

/* ── Toast ──────────────────────────────────────────────────────────────── */

.mkl-toast {
  position: fixed;
  left: 50%;
  bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  z-index: 5000;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: calc(100% - 32px);
  padding: 12px 18px;
  border-radius: 14px;
  background: var(--mkl-ink);
  box-shadow: 0 12px 30px var(--mkl-shadow);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  transform: translateX(-50%);
}

.mkl-toast-ic {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--mkl-wa-ink);
  color: #fff;
  font-size: 12px;
}

.mkl-toast-msg {
  overflow-wrap: anywhere;
}

.mkl-toast[data-kind="err"] .mkl-toast-ic {
  background: var(--mkl-red);
}

/* Feuille du bas ouverte : le toast passe en haut (ZicShopSheet pose
   body.zh-shop-sheet-open). */
body.zh-shop-sheet-open .mkl-toast {
  top: calc(16px + env(safe-area-inset-top, 0px));
  bottom: auto;
}

/* ── Modales RDV / billets réutilisées : jetons --pp-* (thème clair) ───── */

html.zh-marketplace-page .zsb-overlay,
html.zh-marketplace-page .ztk-overlay {
  --pp-bg-soft: #f5f4fb;
  --pp-card: #fff;
  --pp-border: rgba(26, 10, 61, 0.1);
  --pp-text: #1a0a3d;
  --pp-text-muted: rgba(26, 10, 61, 0.6);
  --pp-text-soft: #6B6383;
  --pp-overlay: rgba(26, 10, 61, 0.05);
  --pp-overlay-strong: rgba(26, 10, 61, 0.09);
  --pp-scrim: rgba(20, 10, 51, 0.6);
  --pp-shadow: rgba(31, 19, 64, 0.3);
}

/* ── Survols (pointeur fin seulement) ───────────────────────────────────── */

@media (hover: hover) {
  .mkl-card:hover {
    box-shadow: 0 16px 34px -18px rgba(31, 19, 64, 0.4);
  }

  .mkl-chip:hover {
    border-color: #C4B5FD;
  }

  .mkl-chip[aria-current]:hover {
    border-color: var(--mkl-cat-ink);
  }

  .mkl-tab:hover {
    color: var(--mkl-ink);
  }

  .mkl-btn--red:hover,
  .mkl-publish:hover {
    background: var(--mkl-red-h);
  }

  .mkl-btn--ghost:hover,
  .mkl-sheet-x:hover,
  .mkl-share-btn:hover,
  .mkl-report:hover {
    background: var(--mkl-soft);
  }

  .mkl-btn[disabled]:hover {
    background: #E5E1EE;
  }

  .mkl-footer-link:hover {
    color: #fff;
  }

  .mkl-crumb-link:hover,
  .mkl-active-reset:hover {
    color: var(--mkl-ink);
  }
}

/* Carte soulevée au survol : jamais sous prefers-reduced-motion. */
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .mkl-card:hover {
    transform: translateY(-3px);
  }
}

/* ── ≥ 1280 / 1200-1279 / 768-1199 ──────────────────────────────────────── */

@media (max-width: 1279px) {
  .mkl-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 1199px) {
  .mkl-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .mkl-hbtn-label {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .mkl-hbtn-label + .mkl-hbtn-count {
    display: block;
  }

  .mkl-publish-long {
    display: none;
  }

  .mkl-publish-short {
    display: inline;
  }

  .mkl-city {
    max-width: 160px;
  }
}

/* ≥ 768 : barre vendeur collante sous l'en-tête. */
@media (min-width: 768px) {
  .mkl-sellerbar {
    position: sticky;
    top: calc(var(--mkl-header-h) + 8px);
    z-index: 5;
  }
}

/* ── < 768 : mobile ─────────────────────────────────────────────────────── */

@media (max-width: 767px) {
  .mkl-wrap {
    padding-left: 14px;
    padding-right: 14px;
  }

  .mkl-root {
    padding: 14px 0 44px;
  }

  .mkl-header-row {
    flex-wrap: wrap;
    gap: 6px 10px;
    padding-top: 8px;
    padding-bottom: 10px;
  }

  .mkl-brand {
    order: 1;
    margin-right: auto;
  }

  .mkl-actions {
    order: 2;
    gap: 2px;
  }

  .mkl-search {
    order: 3;
    flex: 1 1 100%;
    height: 44px;
  }

  /* Ville : dans la feuille « Filtres » (JS) ; sans JS, le sélecteur du
     formulaire GET reste dans la barre de recherche. */
  .mkl-city {
    max-width: 120px;
  }

  html.mkl-js .mkl-city {
    display: none;
  }

  .mkl-publish {
    width: 44px;
    height: 44px;
    padding: 0;
  }

  .mkl-publish-short {
    display: none;
  }

  .mkl-tabs-inner {
    gap: 18px;
  }

  .mkl-tab {
    font-size: 14px;
  }

  html.zh-marketplace-page input,
  html.zh-marketplace-page select,
  html.zh-marketplace-page textarea {
    font-size: 16px;
  }

  .mkl-hero-band {
    min-height: 0;
    gap: 16px;
    padding: 20px 18px;
  }

  .mkl-hero-title {
    font-size: 26px;
  }

  .mkl-hero-sub {
    font-size: 14.5px;
  }

  .mkl-hero-pics {
    margin: 0 auto;
  }

  .mkl-hero-pic {
    width: 84px;
    height: 105px;
  }

  .mkl-chips {
    padding: 12px;
  }

  .mkl-rail-btn {
    display: none;
  }

  .mkl-sel-item {
    flex-basis: 190px;
  }

  /* Prix / tri : feuille « Filtres » avec JS ; sans JS, le formulaire GET
     reste affiché (le bouton de la feuille ne ferait rien). */
  html.mkl-js .mkl-tools {
    display: none;
  }

  html.mkl-js .mkl-filters-open {
    display: inline-flex;
  }

  .mkl-grid,
  .mkl-grid--similar,
  .mkl-gone .mkl-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .mkl-card-body {
    padding: 10px 11px 0;
  }

  .mkl-card-foot {
    padding: 6px 11px 11px;
  }

  .mkl-sell {
    padding: 20px 18px;
  }

  .mkl-sellerbar {
    padding: 14px;
  }

  .mkl-seller-actions {
    width: 100%;
  }

  .mkl-seller-actions .mkl-btn {
    flex: 1 1 auto;
  }

  .mkl-sellerbar-buy {
    display: none;
  }

  .mkl-buy-note {
    text-align: left;
  }

  .mkl-d-body {
    padding: 14px 14px 22px;
  }

  .mkl-g-stage {
    height: 72vw;
  }

  .mkl-d-title {
    font-size: 22px;
  }

  .mkl-d-price {
    font-size: 26px;
  }

  .mkl-buybar {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 95;
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: var(--mkl-buybar-h);
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid var(--mkl-line);
    background: var(--mkl-card);
    box-shadow: 0 -8px 20px -12px var(--mkl-shadow);
  }

  body.mkl-detail-open .mkl-footer {
    padding-bottom: calc(var(--mkl-buybar-h) + 24px + env(safe-area-inset-bottom, 0px));
  }

  /* FAB chat au-dessus de la barre d'achat fixe de la fiche. */
  body.zh-marketplace-page.mkl-detail-open .zic-chat-fab-wrap {
    bottom: calc(var(--mkl-buybar-h) + 12px + env(safe-area-inset-bottom, 0px));
  }

  body.zh-marketplace-page.mkl-detail-open .mkl-toast {
    bottom: calc(var(--mkl-buybar-h) + 16px + env(safe-area-inset-bottom, 0px));
  }

  .mkl-footer-root {
    margin-left: 0;
  }
}

/* < 380 : grille resserrée. */
@media (max-width: 379px) {
  .mkl-wrap {
    padding-left: 10px;
    padding-right: 10px;
  }

  .mkl-grid,
  .mkl-grid--similar,
  .mkl-gone .mkl-grid {
    gap: 8px;
  }

  .mkl-card-body {
    padding: 10px 10px 0;
  }

  .mkl-card-foot {
    padding: 6px 10px 10px;
  }

  .mkl-card-title {
    font-size: 13px;
  }

  .mkl-card-price {
    font-size: 15px;
  }

  .mkl-hero-pic {
    width: 72px;
    height: 90px;
  }
}

/* < 720 : feuilles du bas (ZicShopSheet, NARROW_QUERY). */
@media (max-width: 719px) {
  .mkl-sheet {
    align-items: flex-end;
    padding: 0;
  }

  .mkl-sheet-panel,
  .mkl-sheet--wide .mkl-sheet-panel {
    max-width: none;
    max-height: 92vh;
    border-radius: 20px 20px 0 0;
    opacity: 1;
    transform: translateY(100%);
  }

  .mkl-sheet-handle {
    display: block;
  }

  .mkl-address {
    grid-template-columns: minmax(0, 1fr);
  }

  body.zh-shop-sheet-open .zic-chat-fab-wrap {
    visibility: hidden;
  }
}

/* ── Mouvement réduit ───────────────────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
  html.zh-marketplace-page {
    scroll-behavior: auto;
  }

  .mkl-rail {
    scroll-behavior: auto;
  }

  .mkl-card {
    transform: none;
    transition: none;
  }

  .mkl-hero-pic,
  .mkl-hero-pic-item:nth-child(2) .mkl-hero-pic,
  .mkl-hero-pic-item:nth-child(3) .mkl-hero-pic {
    transform: none;
  }

  .mkl-sheet-panel,
  .mkl-sheet--wide .mkl-sheet-panel,
  .mkl-sheet.is-open .mkl-sheet-panel {
    transform: none;
    transition: none;
  }

  .mkl-sheet-scrim,
  .mkl-grid {
    transition: none;
  }

  .mkl-spinner {
    animation: none;
  }
}
