body {
  margin: 0;
  font-family: 'Nunito', sans-serif;
  background: #dfebf4;
}

/* HEADER */
header {
  background: white;
  padding: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header img { height: 40px; }

/* STICKY SEARCH */
.sticky-search {
  position: sticky;
  top: 0;
  background: #fff;
  padding: 10px;
  display: flex;
  gap: 8px;
  border-bottom: 1px solid #ddd;
  z-index: 10;
}

.sticky-search input {
  flex: 1;
  padding: 10px;
}

.sticky-search button {
  padding: 10px;
  border: none;
  background: #299142;
  color: white;
  cursor: pointer;
}

/* LAYOUT */
.layout {
  display: flex;
  height: calc(100vh - 110px);
}

.list-panel {
  width: 40%;
  overflow-y: auto;
}

.map-panel {
  width: 60%;
}

#map {
  width: 100%;
  height: 100%;
}

/* CARD */
.card {
  background: white;
  margin: 10px;
  padding: 12px;
  border-radius: 12px;
  cursor: pointer;
}

.name { font-weight: 700; }
.addr { font-size: 12px; color: gray; }

.bottom {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
}

/* DRAWER */
.drawer {
  position: fixed;
  bottom: -100%;
  left: 0;
  width: 100%;
  background: white;
  transition: 0.3s;
}

.drawer.show {
  bottom: 0;
}

.drawer-content {
  padding: 20px;
}

.drawer button {
  width: 100%;
  padding: 12px;
  background: #e68126;
  border: none;
  color: white;
}

/* MOBILE */
@media(max-width:768px){
  .layout {
    flex-direction: column;
  }

  .list-panel,
  .map-panel {
    width: 100%;
    height: 50%;
  }
}