.ecmproductmap-container {
    width: 100%;
    border: 1px solid rgba(0, 0, 0, 0.25);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.ecmproductmap-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 14px 8px;
}

.ecmproductmap-title {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
}

/* .ecmproductmap-close {
position: absolute;
  right: 10px;
  top: 10px;
  height: 24px;
  width: 24px;
  cursor: pointer;
  border: none;
  background: transparent;
  padding: 0;
  display: block;
} */

.ecmproductmap-map {
    height: 370px;
    width: 100%;
}

.ecmproductmap-nearby-list {
    padding: 12px 18px 4px;
}

.ecmproductmap-group {
    margin-bottom: 14px;
}

.ecmproductmap-group-title {
    margin: 0 0 3px;
    font-size: 1rem;
    font-weight: 500;
}

.ecmproductmap-group-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
    line-height: 1.3;
}

.ecmproductmap-place-name {
    font-size: 1rem;
}

.ecmproductmap-place-distance {
    font-size: 1rem;
    white-space: nowrap;
}

.ecmproductmap-footer {
    padding: 1rem;
}

.ecmproductmap-toggle {
    width: 100%;
    border-radius: 100vw;
    background: var(--color-blue);
    color: var(--color-white);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    padding: .5rem 1rem;
}

.ecmproductmap-container.is-open .ecmproductmap-close {
    display: inline-block;
}

.ecmproductmap-container.is-open .ecmproductmap-nearby-list {
    display: block;
}

.ecmproductmap-container.is-closed .ecmproductmap-nearby-list {
    display: none;
}
