
 
  /*  ─ ─   M A P  overlay ───────────────────────────────── */ 
  
  .modalmap-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(20,30,40,.55);
    backdrop-filter: blur(4px);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 1rem;
  }
  .modalmap-overlay.open { display: flex; }

  .modalmap {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    width: 100%;
    max-width: 680px;
    box-shadow: 0 20px 60px rgba(0,0,0,.3);
    animation: modal-in .22s ease;
    display: flex;
    flex-direction: column;
  }
  @keyframes modal-in {
    from { opacity: 0; transform: scale(.95) translateY(10px); }
    to   { opacity: 1; transform: scale(1)  translateY(0); }
  }

  .modalmap-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .9rem 1.2rem;
    background: var(--sea-dk);
    color: #fff;
  }
  .modalmap-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: .04em;
  }
  .modalmap-close {
    background: none;
    border: none;
    color: rgba(255,255,255,.7);
    cursor: pointer;
    font-size: 1.4rem;
    line-height: 1;
    padding: .1rem .4rem;
    border-radius: 4px;
    transition: color .15s, background .15s;
  }
  .modalmap-close:hover { color: #fff; background: rgba(255,255,255,.15); }


  /* The map container — must have explicit height */
  #popup-map {
    width: 100%;
    height: 420px;
  }

  .modalmap-footer {
    padding: .6rem 1.2rem;
    font-size: .78rem;
    color: var(--muted);
    background: var(--sand);
    display: flex;
    align-items: center;
    gap: .5rem;
  }
  .modalmap-footer svg { width: 14px; height: 14px; fill: var(--sea); flex-shrink: 0; }

  /* ── responsive ─────────────── */
  @media (max-width: 520px) {
    #popup-map { height: 300px; }
  }


 
