.filters {
  background-color: var(--surface-tint);
  gap: calc(var(--unit-row));
  padding: 20px;
}

/* Keyword filters */
.keyword_filters {
  gap: var(--unit-m-gutter);
  color: var(--primary-subtle);
}
.keyword_filters .keyword {
  background: var(--surface-bg);
  padding: 3px 7px;
  border: none;
}
.keyword_filters .active {
  color: var(--surface-bg);
  background: var(--primary);
}

/* kakao map infowindow */
.customoverlay {
  position: relative;
  bottom: 10px;
  overflow: hidden;
  background: var(--surface-bg);
  border: none;
}

.customoverlay::after {
  display: none;
}

.map-overlay-card {
  box-sizing: border-box;
  background-color: var(--surface-bg);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  position: relative;
}

.card-body {
  position: relative;
  padding: 20px 16px 0;
}

.wish_btn {
  color: var(--secondary);
  background: var(--surface-tint);
  cursor: pointer;
}

.card_header {
  gap: 10px;
}

.btn_detail_blue {
  width: 100%;
  height: 40px;
  background: var(--primary);
  color: var(--surface-bg);
  text-decoration: none;
}

.map_view_area {
  position: relative;
  width: 100%;
  height: calc(100dvh - 210px);
}

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

.store_sidebar {
  position: absolute;
  inset: 0;
  z-index: 7;
}

fieldset {
  position: relative;
}

.search_icon {
  position: absolute;
  left: 18px;
  top: 37%;
  transform: translateY(-50%);
  z-index: 9;
}

.input_search {
  width: 100%;
  height: 40px;
  padding: 0 var(--unit-m-gutter);
}

.input_search::placeholder {
  text-indent: 10px;
}

.list_toggle_bar {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9;
  transition: 0.3s;
}

.list_toggle_bar.active {
  bottom: calc(100vh - 300px);
}

.btn_toggle_list {
  height: 40px;
  padding: 0 24px;
}

.store_list_wrapper {
  position: sticky;
  left: 0;
  right: 0;
  bottom: -50px;
  width: 100%;
  height: 100%;
  background: var(--surface-tint);
  z-index: 8;
  opacity: 0;
  visibility: hidden;
  transform: translateY(100%);
  transition: 0.3s;
}

.store_list_wrapper.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.bottom_sheet_handle {
  width: 48px;
  height: 4px;
  border-radius: 999px;
  background: var(--text-light);
  margin: 12px auto;
}

.btn_detail {
  position: absolute;
  bottom: 40%;
  right: 20px;
  transform: translateY(-50%);
}

.store_list {
  height: calc(100% - 28px);
  overflow-y: auto;
}
.store_list .store_item {
  position: relative;
  padding: 24px 20px;
  border-bottom: 1px solid var(--stroke);
}
.store_list .store_item .store_address {
  margin-bottom: 12px;
}
.store_list .store_item .store_header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  cursor: pointer;
}
.store_list .store_item .store_header .wish_btn {
  color: var(--secondary);
}

.mobile_version {
  display: none;
}

@media (min-width: 768px) {
  .map_view_area {
    height: calc(100dvh - 190px);
  }
  .list_toggle_bar.active {
    bottom: calc(100vh - 280px);
  }
  .store_list_wrapper {
    bottom: -50px;
  }
}
@media (min-width: 1280px) {
  .filters {
    align-items: center;
  }
  .map_view_area {
    display: flex;
    max-width: 1440px;
    margin: 0 auto;
    padding: 40px 0;
    justify-content: center;
    align-items: center;
    gap: 112px;
    background-color: var(--surface-bg);
  }
  .store_sidebar {
    position: static;
    inset: auto;
    width: 508px;
    padding: 20px 24px;
    min-height: 544px;
    border: 1px solid var(--stroke);
    overflow-y: auto;
  }
  .desktop_search {
    display: flex;
    flex-direction: column;
    width: 100%;
  }
  .search_box {
    width: 100%;
    z-index: auto;
  }
  .store_list_wrapper {
    position: static;
    width: 100%;
    max-height: 460px;
    flex: 1;
    overflow-y: auto;
    transform: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .list_toggle_bar {
    display: none;
  }
  #map {
    flex: 1;
    min-width: 0;
    max-height: 544px;
  }
}
.side_bar .pc_version {
  display: flex;
}