 
 @font-face {
  font-family: 'ToyotaType-Regular';
  src: url('.././images/ToyotaType-Regular.70738d48.woff2');
  font-weight: 400;
  font-style: normal; 
  font-display: swap; 
 }

 body { margin: 0; padding: 0;    font-family: "ToyotaType-Regular",arial,helvetica,sans-serif;}
 a{ text-decoration:none; }
    #map { width: 100vw; height: 100vh; }
    .toyota-marker{
    width: 50px;
    height: 50px;
    background-image: url('.././images/merker10.svg'); /* path to your logo */
    background-size: cover;
    background-position: center;
    background-color: transparent;
    cursor: pointer;
    }
    @media (max-width: 700px) {
      #map { height: 100vh;}
    }


    /* #dealers {
      position: absolute;
      top: 20px;
      right: 20px;
      width: 300px;
      background: white;
      padding: 15px;
      border-radius: 8px;
      font-family: Arial;
      font-size: 14px;
      box-shadow: 0 0 10px rgba(0,0,0,0.2);
      max-height: 80vh;
      overflow-y: auto;
    } */

#dealer-panel {
  position: fixed;
  background: white;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
  z-index: 10;
max-height: auto;
}
@media(min-width: 768px) {
  #dealer-panel {
    top: 20px;
    bottom:20px;
    right: 20px;
    width: 300px;
    height: auto;
    border-radius: 8px;
  }
  #dealer-header button {
    display: none;
  }
}
@media(max-width: 767px) {
  #dealer-panel {
    bottom:0px;
    scroll-behavior: auto;
    left: 0;
    width: 100%;
    max-height: 50%;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
  }
}

#dealer-panel.collapsed {
  transform: translateY(95%);
  display: none;
}

#dealer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 15px;
  background: #eee;
  cursor: pointer;
  font-weight: bold;
}

#dealer-list {
  height: 100vh;
  padding: 10px 15px;
  overflow-y: auto;
  overflow-x: hidden;
  border-left: 1px solid #ddd;
}