/*********************************************************************
 * C:/Apache24/sites/apptemplate/v1/Business/Modules/ProfessionalSpaces/Assets/css/public-location-card.css
 * @title 🎨 Carte de lieu partagée pour les activités de la Marketplace
 * @description Reprend la présentation premium validée de la fiche praticien, avec styles isolés et adaptation mobile.
 *********************************************************************/

.marketplace-shared-location-section {
  --mpp-ink: #1c2f39;
  --mpp-ink-soft: #566872;
  --mpp-muted: #869394;
  --mpp-line: rgba(31,52,62,.1);
  --mpp-pro-primary: #64866f;
  --mpp-pro-primary-strong: #516e7b;
  --mpp-pro-primary-soft: #e9f1ef;
  --mpp-pro-border: rgba(71,113,115,.14);
  --mpp-pro-surface: #f5f8f6;
  margin: 0;
  padding: clamp(18px, 2.4vw, 25px);
  border: 1px solid rgba(31,52,62,.08);
  border-radius: 25px;
  background: linear-gradient(150deg, #fff, #f9fbfa);
  box-shadow: 0 12px 30px rgba(31,52,62,.045);
}
.marketplace-shared-location-section__heading { margin-bottom: 16px; }
.marketplace-shared-location-section__heading > span {
  display: block; margin-bottom: 6px; color: #5f7e72;
  font-size: .65rem; font-weight: 900; letter-spacing: .08em;
  text-transform: uppercase;
}
.marketplace-shared-location-section__heading h2 {
  margin: 0; color: #1c2f39; font-family: "Manrope", "Inter", system-ui, sans-serif;
  font-size: clamp(1.3rem, 2.6vw, 1.6rem); font-weight: 650;
  letter-spacing: -.04em; line-height: 1.13;
}
.marketplace-shared-location-section__heading p {
  margin: 7px 0 0; color: #778486; font-size: .82rem; line-height: 1.55;
}
.marketplace-shared-location-section .marketplace-public-location { border-radius: 20px; }
@media (max-width: 720px) {
  .marketplace-shared-location-section { padding: 16px; border-radius: 20px; }
}

/* ======================================================
   📍 PRO-PROFILE-UX-V2 / LOT 3A — LIEUX D'EXERCICE PREMIUM
   Mise en forme uniquement. La projection serveur décide
   des informations affichables (exact / approximate / hidden).
   ====================================================== */
.marketplace-public-locations {
  overflow: hidden;
}
.marketplace-public-locations__intro {
  max-width: 590px;
  margin: 11px 0 21px;
  color: var(--mpp-muted);
  font-size: .88rem;
  line-height: 1.65;
}
.marketplace-public-locations__list {
  display: grid;
  gap: 13px;
}
.marketplace-shared-location-section .marketplace-public-location {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  min-width: 0;
  padding: clamp(18px, 2.5vw, 24px);
  border: 1px solid var(--mpp-pro-border, var(--mpp-line));
  border-radius: 23px;
  background: linear-gradient(145deg,
    rgba(255,255,255,.92),
    color-mix(in srgb, var(--mpp-pro-surface, #f5f8f3) 70%, #fff));
  box-shadow: 0 9px 28px rgba(25, 49, 43, .035);
  scroll-margin-top: 120px;
}
.marketplace-shared-location-section .marketplace-public-location__body {
  flex: 1 1 265px;
  min-width: 0;
}
.marketplace-shared-location-section .marketplace-public-location__headline {
  display: flex;
  align-items: center;
  gap: 12px;
}
.marketplace-shared-location-section .marketplace-public-location__icon {
  display: grid;
  flex: 0 0 46px;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid color-mix(in srgb, var(--mpp-pro-primary, #64866f) 14%, transparent);
  border-radius: 16px;
  background: var(--mpp-pro-primary-soft, #eaf5f0);
  color: var(--mpp-pro-primary-strong, #456653);
  font-size: 1rem;
}
.marketplace-shared-location-section .marketplace-public-location__heading {
  min-width: 0;
}
.marketplace-shared-location-section .marketplace-public-location__eyebrow {
  display: block;
  margin-bottom: 4px;
  color: var(--mpp-pro-primary-strong, #456653);
  font-size: .65rem;
  font-weight: 850;
  letter-spacing: .065em;
  text-transform: uppercase;
}
.marketplace-shared-location-section .marketplace-public-location__heading h3 {
  margin: 0;
  color: var(--mpp-ink);
  font-size: clamp(1.02rem, 1.8vw, 1.2rem);
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: -.025em;
  overflow-wrap: anywhere;
}
.marketplace-shared-location-section .marketplace-public-location__address {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 13px 0 0;
  padding-left: 3px;
  color: var(--mpp-ink-soft);
  font-size: .82rem;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
.marketplace-shared-location-section .marketplace-public-location__address i {
  margin-top: .3em;
  color: var(--mpp-pro-primary, #64866f);
  font-size: .76rem;
}
.marketplace-shared-location-section .marketplace-public-location__hint {
  margin: 14px 0 0;
  color: var(--mpp-ink-soft);
  font-size: .82rem;
  line-height: 1.65;
}
.marketplace-shared-location-section .marketplace-public-location__privacy {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  margin-top: 12px;
  color: var(--mpp-pro-primary-strong, #456653);
  font-size: .69rem;
  font-weight: 750;
}
.marketplace-shared-location-section .marketplace-public-location__privacy i {
  font-size: .73rem;
}
.marketplace-shared-location-section .marketplace-public-location__actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 17px;
}
.marketplace-shared-location-section .marketplace-public-location__actions a {
  min-width: 0;
  display: inline-flex;
  min-height: 39px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 13px;
  border: 1px solid var(--mpp-pro-border, var(--mpp-line));
  border-radius: 12px;
  background: #fff;
  color: var(--mpp-ink-soft) !important;
  font-size: .74rem;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
}
.marketplace-shared-location-section .marketplace-public-location__actions .marketplace-public-location__action--primary {
  grid-column: 1 / -1;
  border-color: transparent;
  background: var(--mpp-pro-primary-strong, #456653);
  color: #fff !important;
  box-shadow: 0 7px 20px color-mix(in srgb, var(--mpp-pro-primary, #64866f) 18%, transparent);
}
.marketplace-shared-location-section .marketplace-public-location__external {
  margin-left: 2px;
  font-size: .6rem;
  opacity: .8;
}
.marketplace-shared-location-section .marketplace-public-location__actions a:hover {
  transform: translateY(-1px);
  border-color: var(--mpp-pro-primary, #64866f);
  background: var(--mpp-pro-primary-soft, #eaf5f0);
  color: var(--mpp-pro-primary-strong, #456653) !important;
}
.marketplace-shared-location-section .marketplace-public-location__actions .marketplace-public-location__action--primary:hover {
  border-color: transparent;
  background: var(--mpp-pro-primary, #64866f);
  color: #fff !important;
}
.marketplace-shared-location-section .marketplace-public-location__actions a:focus-visible,
.marketplace-shared-location-section .marketplace-public-location__map button:focus-visible {
  outline: 3px solid var(--mpp-pro-primary, #64866f);
  outline-offset: 3px;
}
/* L'illustration abstraite évite tout service cartographique avant consentement. */
.marketplace-shared-location-section .marketplace-public-location__map {
  flex: 1 1 240px;
  min-width: 0;
  display: grid;
  align-content: center;
  gap: 7px;
}
.marketplace-shared-location-section .marketplace-public-location__map > button {
  position: relative;
  isolation: isolate;
  width: 100%;
  min-height: 170px;
  display: flex;
  align-items: flex-end;
  gap: 12px;
  overflow: hidden;
  padding: 17px;
  border: 1px solid var(--mpp-pro-border, var(--mpp-line));
  border-radius: 19px;
  background:
    linear-gradient(180deg, transparent 32%, rgba(255,255,255,.94) 100%),
    repeating-linear-gradient(35deg, transparent 0 27px, rgba(255,255,255,.83) 28px 32px, transparent 33px 88px),
    repeating-linear-gradient(124deg, transparent 0 38px, rgba(255,255,255,.75) 39px 43px, transparent 44px 106px),
    linear-gradient(145deg, #e5f0e7, #dbe8e2 50%, #e9f0eb);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8);
  color: var(--mpp-ink);
  text-align: left;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease;
}
.marketplace-shared-location-section .marketplace-public-location__map > button:hover {
  transform: translateY(-2px);
  box-shadow: 0 11px 28px rgba(25,49,43,.09);
}
.marketplace-shared-location-section .marketplace-public-location__map-art {
  position: absolute;
  inset: 0;
  z-index: -1;
  display: grid;
  place-items: center;
  pointer-events: none;
}
.marketplace-shared-location-section .marketplace-public-location__map-pin {
  position: absolute;
  top: 15%;
  left: 51%;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 5px solid rgba(255,255,255,.9);
  border-radius: 50%;
  background: var(--mpp-pro-primary-strong, #456653);
  color: #fff;
  box-shadow: 0 7px 17px rgba(36,78,58,.16);
  font-size: 1rem;
}
.marketplace-shared-location-section .marketplace-public-location__map-copy {
  flex: 1;
  min-width: 0;
  display: grid;
  gap: 3px;
  position: relative;
}
.marketplace-shared-location-section .marketplace-public-location__map-copy strong {
  color: var(--mpp-ink);
  font-size: .83rem;
  line-height: 1.3;
  font-weight: 850;
}
.marketplace-shared-location-section .marketplace-public-location__map-copy > span {
  color: var(--mpp-ink-soft);
  font-size: .69rem;
  font-weight: 600;
}
.marketplace-shared-location-section .marketplace-public-location__map-arrow {
  position: relative;
  flex: 0 0 32px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 11px;
  background: rgba(255,255,255,.9);
  color: var(--mpp-pro-primary-strong, #456653);
  font-size: .78rem;
}
.marketplace-shared-location-section .marketplace-public-location__map-note {
  display: flex;
  gap: 7px;
  align-items: center;
  justify-content: center;
  color: var(--mpp-muted);
  font-size: .63rem;
  line-height: 1.4;
  text-align: center;
}
.marketplace-shared-location-section .marketplace-public-location__map-note i {
  font-size: .59rem;
}
.marketplace-shared-location-section .marketplace-public-location__map iframe {
  display: block;
  width: 100%;
  height: 220px;
  min-height: 180px;
  border: 1px solid var(--mpp-pro-border, var(--mpp-line));
  border-radius: 19px;
  background: #eaf0eb;
}
.marketplace-shared-location-section .marketplace-public-location__session-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--mpp-pro-primary-strong, #456653);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-size: .79rem;
  font-weight: 800;
}
@supports not (color: color-mix(in srgb, #000 50%, #fff)) {
  .marketplace-shared-location-section .marketplace-public-location {
    background: var(--mpp-pro-surface, #f5f8f3);
  }
  .marketplace-shared-location-section .marketplace-public-location__actions .marketplace-public-location__action--primary {
    box-shadow: 0 7px 20px rgba(24,54,42,.12);
  }
}
@media (max-width: 560px) {
  .marketplace-shared-location-section .marketplace-public-location {
    padding: 16px;
    gap: 16px;
    border-radius: 19px;
  }
  .marketplace-shared-location-section .marketplace-public-location__body,
  .marketplace-shared-location-section .marketplace-public-location__map {
    flex-basis: 100%;
  }
  .marketplace-shared-location-section .marketplace-public-location__icon {
    flex-basis: 42px;
    width: 42px;
    height: 42px;
    border-radius: 14px;
  }
  .marketplace-shared-location-section .marketplace-public-location__actions a {
    min-height: 43px;
  }
  .marketplace-shared-location-section .marketplace-public-location__map > button {
    min-height: 150px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .marketplace-shared-location-section .marketplace-public-location__actions a,
  .marketplace-shared-location-section .marketplace-public-location__map > button {
    transition: none;
  }
}
