/** Shopify CDN: Minification failed

Line 147:0 Expected "}" to go with "{"

**/
.map-page {
  display: flex;
  flex-direction: column;
  height: 90vh;
}

.map-container {
  flex-grow: 1;
  position: relative;
  height: 90vh;
}

.side-bar {
  flex: 0 0 100%;
  height: auto;
  width: 100%;
  max-height: 40vh;
  padding: 10px;
  overflow-y: auto;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  background-color: #fff;

  h1{
    font-size: 24px;
    margin-bottom: 10px;
    
  }

  &.populated{
    flex: 1 1 100%;
    height: 40vh;
  }
}

#pac-input {
  width: 100%;
  padding: 8px;
  margin-bottom: 10px;
  box-sizing: border-box;
}

.store-listing{
  padding: .75rem;
  border-bottom: 1px solid #ccc;
  margin: 0 rem;
  max-height: 100%;
  cursor: pointer;
  &:hover{
    background-color: #f3f4f6;
  }
}

.store-name{
  font-weight: 600;
  color: #111827;
  font-size: 18px;
  margin-bottom: .25rem    
}

.store-address{
  font-size: 15px;
  color: #00B0DA;
}

.store-distance{
  font-size: 15px;
  color: #6B7280;
  
}



#map {
  height: 100%;
  width: 100%;
}

.store {
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 5px;
  background-color: #FFFFFF;
  border: 1px solid #E0E0E0;
  color: #263238;
  display: flex;
  font-size: 14px;
  gap: 15px;
  margin-top: 20px;
  padding: 10px;
  z-index: -999999;

  .details {
    display: flex;
    flex-direction: column;
    flex: 1;
  }

  .address {
    color: #9E9E9E;
    font-size: 14px;
    margin-bottom: 10px;
  }

  .features {
    align-items: flex-end;
    display: flex;
    flex-direction: row;
    gap: 10px;

    > div {
      align-items: center;
      background: #F5F5F5;
      border-radius: 5px;
      border: 1px solid #ccc;
      display: flex;
      font-size: 10px;
      gap: 5px;
      padding: 5px;
    }
  }
}

@media screen and (min-width: 769px) {
  .map-page {
    display: flex;
    flex-direction: row;
    height: 90vh;
  }

  .side-bar {
    width: 30%;
    max-width: 30%;
    height: 100%;
    max-height: none;

    &.populated{
      flex: 0 0 30%;
      height: 100%;
  }
}
