#singlemap {
  height: 500px;
  width: 100%;
  border: 12px solid #b8cd01;
  border-radius: 18px;
}
.filtros-mapa {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;

  .search-holder {
    grid-column: 1/3;
  }
}

#map-holder {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 32px;

  #data-preview {
    display: flex;
    flex-direction: column;
    gap: 12px;
    height: 500px;
    overflow-y: scroll;
    padding-right: 8px;

    h3 {
      color: #17273b;
      font-family: Roboto;
      font-size: 1.3125rem;
      font-style: normal;
      font-weight: 700;
      line-height: 1.33;
    }
    .point-card {
      display: flex;
      flex-direction: column;
      padding: 16px;
      border-radius: 10px;
      border: 2px solid #6b358b;
      background: #f0ebf3;
      gap: 12px;
      cursor: pointer;
      transition: all 0.5s;

      h4 {
        color: var(--Background-100, #251f1c);
        font-family: Roboto;
        font-size: 1rem;
        font-style: normal;
        font-weight: 500;
        line-height: 1.31;
        letter-spacing: 0.32px;
        margin: 0;
      }

      p {
        color: var(--Background-100, #251f1c);
        font-family: Roboto;
        font-size: 0.875rem;
        font-style: normal;
        font-weight: 300;
        line-height: 1.53;
        letter-spacing: 0.26px;
        margin: 0;
      }

      p:nth-child(2) {
        text-transform: uppercase;
      }

      p:nth-child(3) {
        display: flex;
        align-items: center;
      }

      i {
        width: 24px;
        height: 24px;
        content: "";
        display: inline-block;
        background: url("/wp-content/uploads/2026/10/target-icon.svg");
        margin-right: 8px;
        background-repeat: no-repeat;
        background-position: center;
        background-size: contain;
      }
    }
    .point-card.active {
      background: white;
      box-shadow: 4px 4px 10px #33333380;
      transform: translateY(-4px);
    }
  }
}

#data-view:not(:has(div)) {
  display: none;
}

#data-view {
  margin-top: 16px;
  border-radius: 18px;
  border: 1px solid #c2accf;
  padding: 24px;
  display: flex;
  justify-content: stretch;

  div {
    display: flex;
    flex-direction: column;
    padding: 0 16px;
    flex-grow: 1;

    p {
      font-weight: 500;
    }

    p,
    h3 {
      margin: 0;
    }

    p:nth-child(2) {
      margin-bottom: 20px;
    }
  }

  div:nth-child(1) {
    border-right: 1px solid #c2accf;
  }

  div:nth-child(2) {
    flex-grow: 1;
  }
}

@media screen and (max-width: 699px) {
  .filtros-mapa {
    display: flex;
    flex-direction: column;

    .search-holder {
      grid-column: unset;
    }
  }
  #map-holder {
    display: flex;
    flex-direction: column-reverse;
  }
  #data-view {
    flex-direction: column;
  }
}
