/* NOVTINIS 1.0.76 — Mise en page stable du rail sous la photo.
 * Chargé après le bundle de la fiche (Lot 375). Presentation uniquement :
 * épingle CSS permanente, distance non sécable, catégorie tronquable,
 * statut complet et marge de sécurité à droite. Aucun changement GPS.
 */
@media (max-width: 767px) {
  html body.single-listing .single-v3-head-card > .single-v3-meta-line {
    box-sizing: border-box !important;
    display: grid !important;
    grid-template-columns: max-content minmax(0, 1fr) max-content !important;
    align-items: center !important;
    justify-content: initial !important;
    column-gap: 9px !important;
    row-gap: 0 !important;
    width: calc(100% - 16px) !important;
    max-width: calc(100% - 16px) !important;
    min-width: 0 !important;
    margin: 0 8px !important;
    padding: 0 16px 0 6px !important;
    overflow: hidden !important;
  }

  html body.single-listing .single-v3-head-card .single-v3-meta-line > .single-v3-chip.chip-distance {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    flex: none !important;
    flex-wrap: nowrap !important;
    justify-self: start !important;
    gap: 4px !important;
    min-width: max-content !important;
    max-width: none !important;
    width: max-content !important;
    white-space: nowrap !important;
    overflow-wrap: normal !important;
    word-break: keep-all !important;
  }
  /* L'épingle reste visible même si la traduction publique remanie le SVG. */
  html body.single-listing .single-v3-head-card .chip-distance > .nt-single-distance-pin {
    display: none !important;
  }
  html body.single-listing .single-v3-head-card .chip-distance::before {
    content: '' !important;
    display: block !important;
    flex: 0 0 15px !important;
    width: 15px !important;
    height: 18px !important;
    background: #2563eb !important;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 21s7-7.2 7-12a7 7 0 0 0-14 0c0 4.8 7 12 7 12z' fill='none' stroke='black' stroke-width='2'/%3E%3Ccircle cx='12' cy='9' r='2.3' fill='black'/%3E%3C/svg%3E") center / contain no-repeat !important;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 21s7-7.2 7-12a7 7 0 0 0-14 0c0 4.8 7 12 7 12z' fill='none' stroke='black' stroke-width='2'/%3E%3Ccircle cx='12' cy='9' r='2.3' fill='black'/%3E%3C/svg%3E") center / contain no-repeat !important;
  }
  html body.single-listing .single-v3-head-card .chip-distance > #single-distance {
    display: inline-block !important;
    flex: 0 0 auto !important;
    width: auto !important;
    min-width: max-content !important;
    max-width: none !important;
    white-space: nowrap !important;
    word-break: keep-all !important;
    overflow-wrap: normal !important;
    writing-mode: horizontal-tb !important;
  }

  html body.single-listing .single-v3-head-card .single-v3-meta-line > .single-v3-chip.nt-listing-category-chip {
    display: inline-flex !important;
    min-width: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
    justify-self: stretch !important;
    justify-content: flex-start !important;
    gap: 5px !important;
  }
  html body.single-listing .single-v3-head-card .single-v3-meta-line > .nt-listing-category-chip > span:last-child {
    min-width: 0 !important;
    max-width: 100% !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  html body.single-listing .single-v3-head-card .single-v3-meta-line > .single-v3-chip:last-child {
    display: inline-flex !important;
    min-width: max-content !important;
    max-width: max-content !important;
    flex: none !important;
    justify-self: end !important;
    justify-content: flex-end !important;
    white-space: nowrap !important;
    padding-right: 0 !important;
  }
}
