*,
ol,
ul {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

@font-face {
  font-family: Artois;
  font-style: normal;
  font-weight: 400;
  src: url("/themes/stella/font/ArtoisSebastian-Sans.woff2") format("woff2"),
    url("/themes/stella/font/ArtoisSebastian-Sans.woff2") format("woff");
  font-display: swap;
}

@font-face {
  font-family: "Cafe24Danjunghae";
  src: url("https://fastly.jsdelivr.net/gh/projectnoonnu/noonfonts_twelve@1.1/Cafe24Danjunghae.woff")
    format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: ArtoisIsabella-Serif;
  font-style: normal;
  font-weight: 400;
  src: url("/themes/stella/font/ArtoisIsabella-Serif.woff2") format("woff2"),
    url("/themes/stella/font/ArtoisIsabella-Serif.woff") format("woff");
  font-display: swap;
}

.Artois,
.nav-item {
  font-family: "Artois", sans-serif !important;
}
.Artois_s {
  font-family: ArtoisIsabella-Serif, serif !important;
  font-weight: 400;
}
.menuzone .mm-tit h2 {
  font-family: ArtoisIsabella-Serif, serif;
}
li {
  list-style: none;
}
a {
  text-decoration: none;
}

body {
  font-family: "Noto Sans KR", sans-serif;
  background-color: #ffffff;
  color: #333333;
  overflow-x: hidden;
}

.header {
  position: fixed;
  top: 0;
  width: 100%;
  background: #fff;
  z-index: 2000;
  padding: 2vh;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  box-sizing: border-box;
}

.header-container {
  max-width: 1735px;
  margin: 0 auto;
}

.header-top,
.nav-menu,
.social-links {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-bottom {
  padding: 0.7rem 0;
}

.logo {
  display: flex;
  align-items: center;
  width: 260px;
}

.logo img {
  width: 100%;
}

.nav-menu {
  list-style: none;
  font-family: "Artois", sans-serif;
  font-size: 1.3rem;
}

.nav-item {
  position: relative;
}

.social-link {
  width: 30px;
  margin-left: 10px;
}
.social-link img {
  width: 100%;
}

.modal-message {
  font-size: 16px;
  margin: 16px 0 20px;
}
.modal-close {
  padding: 10px 40px;
  background: #c11b17;
  color: #ffffff;
  border: none;
  border-radius: 999px;
  cursor: pointer;
}

/* 모바일 메뉴 */
.mobile-menu-btn {
  display: none !important;
  flex-direction: column !important;
  cursor: pointer !important;
  padding: 5px !important;
  background: none !important;
  border: none !important;
}

.mobile-menu-btn span {
  width: 25px !important;
  height: 3px !important;
  background: #333333 !important;
  margin: 3px 0 !important;
  transition: 0.3s !important;
  border-radius: 3px !important;
}

.locate-btn {
  position: fixed !important;
  bottom: 30px !important;
  right: 30px !important;
  width: 50px !important;
  height: 50px !important;
  /* background: linear-gradient(135deg, #c11b17, #b71c1c) !important; */
  border: none !important;
  border-radius: 50% !important;
  color: #ffffff !important;
  font-size: 24px !important;
  cursor: pointer !important;
  z-index: 1001 !important;
  box-shadow: 0 8px 25px rgba(227, 30, 36, 0.4) !important;
  transition: all 0.3s ease !important;
}

.locate-btn:hover {
  transform: translateY(-3px) scale(1.1) !important;
  box-shadow: 0 12px 35px rgba(227, 30, 36, 0.6) !important;
}

#body_container {
  padding-top: var(--header-offset, 173px);
}
#body_container * {
  letter-spacing: 0 !important;
}

#panelHeader {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 48px;
  padding: 4px;
  background-color: #f0f0f0;
}

.panel-title {
  line-height: 48px;
  text-align: center;
  width: 100%;
  height: 48px;
  padding-left: 30px;
  font-size: 18px;
  font-weight: bold;
  color: #d50032;
  font-family: "Cafe24Danjunghae", sans-serif;
}

#map {
  width: 100%;
  height: calc(100vh - var(--header-offset, 173px));
}

#currentLocationBtn {
  position: absolute;
  bottom: 10px;
  right: 10px;
  z-index: 1000;
  background-color: transparent;
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 14px;
  cursor: pointer;
  box-shadow: none;
  display: flex;
  align-items: center;
}

#placePanel {
  position: absolute;
  top: 180px;
  left: 20px;
  max-height: 76vh;
  width: 350px;
  background: #ffffff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  z-index: 100;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

#placePanel.collapsed {
  height: 130px;
  overflow: hidden;
}

#tabContainer {
  background: #ffffff;
  display: flex;
  align-items: center;
  padding: 10px;
}

#placeList {
  padding: 0;
  overflow-y: auto;
  max-height: calc(100vh - 420px);
}

#placeListDetail {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  color: #ffffff;
  padding: 20px 15px;
  margin: 0;
  border-bottom: 1px solid #dfdfdf;
}

#placeList div {
  cursor: pointer;
  color: #000000;
}

#placeList div:hover {
  cursor: pointer;
}

.tag,
.curation-tag {
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 30px;
  font-weight: 400;
  padding: 0 8px;
  height: 24px;
  font-size: 11px;
}

.tag {
  justify-content: space-between;
  border: 1px solid transparent;
  background-color: #d50032;
  color: #ffffff;
  white-space: nowrap;
}

.curation-tag {
  background-color: #7671c2;
  color: #ffffff;
  border-radius: 99px;
  line-height: 1.2;
}

.tag span {
  display: inline-block;
  img {
    width: 16px !important;
    margin: 0;
    margin-top: -2px;
  }
}

.tag-scroller {
  position: relative;
  overflow: visible;
}

.tag-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  border: none;
  border-radius: 50%;
  background: #f8b6cd;
  color: #ffffff;
  font-size: 14px;
  display: none;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  user-select: none;
  z-index: 5;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
  line-height: 1;
  padding: 0;
}

.nav-prev {
  left: -6px;
}
.nav-next {
  right: -6px;
}

.tag-nav:disabled {
  opacity: 0.35;
  cursor: default;
  box-shadow: none;
}

.tag-scroller:hover .tag-nav {
  display: flex;
}

#tagContainer {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
  flex-wrap: wrap;
}

#tagContainer::-webkit-scrollbar {
  display: none;
}

#tagControls {
  padding: 15px 10px;
  background-color: #ffffff;
  box-shadow: 0px 2px 8px -3px #00000030;
}

#searchControls {
  display: none;
  padding: 0 10px;
  background-color: #ffffff;
}

#searchControls > div:nth-of-type(3) {
  margin-bottom: 0;
}

.search-row input[type="text"] {
  height: 34px;
  line-height: 34px;
  padding: 0 10px;
  color: #333333;
  background-color: #ffffff;
  border: 1.5px solid #cccccc;
  border-radius: 4px;
  font-size: 12px;
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 0;
  display: flex;
  align-items: center;
}

#searchControls input[type="text"]::placeholder {
  color: #000000;
  opacity: 1;
  line-height: 36px;
}
#searchMapBtn {
  height: 34px;
  padding: 0 14px;
  background-color: #d50032;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 13px;
  cursor: pointer;
  white-space: nowrap;
}

#searchControls .search-row {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
}

#searchControls select:focus {
  outline: none;
  border-color: #d50032;
}

#searchControls input:focus {
  outline: none;
  border-color: #d50032;
}
#searchControls select {
  height: 34px;
  width: 100%;
  padding: 0 12px;
  font-size: 12px;
  border: 1.5px solid #cccccc;
  border-radius: 4px;
  box-sizing: border-box;
  line-height: normal;
  display: flex;
  align-items: center;
  background-color: #ffffff;
  color: #333333;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: var(--chev-svg);
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 11px;
  padding-right: calc(10px + var(--chev-size, 0px) + 8px);
}

#searchControls select:hover,
#searchControls select:focus {
  background-image: url("/themes/stella/img/map/map-arrow-down.png");
}

#searchControls .search-row {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 8px;
}

#searchControls .common-row {
  margin-bottom: 4px;
}

#searchControls .input-with-icon {
  position: relative;
  width: 100%;
}
#searchControls .input-with-icon input {
  padding-right: 38px;
  font-size: 12px !important;
  font-weight: 400 !important;
  color: #333333 !important;
  line-height: 34px !important;
  border-radius: 99px;
  border-color: #4c4c4c;
  text-indent: 10px;
}
#searchControls .input-with-icon input::placeholder {
  font-size: 12px !important;
  font-weight: 400 !important;
  color: #333333 !important;
}

#searchControls #searchMapBtn.icon-only-btn {
  height: 34px;
  width: 36px;
  padding: 0;
  background: #ffffff;
  border: 1.5px solid #cccccc;
  border-left: 0;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  color: #333333;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

#searchControls #searchMapBtn.icon-only-btn:hover {
  background: #f8f8f8;
}
#searchControls #searchMapBtn.icon-only-btn:focus {
  outline: none;
}

#searchControls .input-with-icon #searchMapBtn.search-icon-btn {
  position: absolute;
  top: 50%;
  right: 8px;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  border: 0;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0.8;
}

#searchControls .input-with-icon #searchMapBtn.search-icon-btn:hover {
  opacity: 1;
}
#searchControls .input-with-icon #searchMapBtn.search-icon-btn:focus {
  outline: none;
}

.search-icon-btn img {
  width: 100%;
}

#searchControls .input-with-icon #searchMapBtn.search-icon-btn svg {
  width: 18px;
  height: 18px;
  fill: #444444;
}

#searchControls select:focus,
#searchControls input:focus {
  outline: none;
  border-color: #014d39;
}

#autocompleteList {
  z-index: 1001;
}

.autocomplete-items {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 999;
  max-height: 180px;
  overflow-y: auto;
  background-color: #ffffff;
  font-size: 13px;
  color: #000000;
}

.autocomplete-items div {
  padding: 8px;
  cursor: pointer;
  border-bottom: 1px solid #eeeeee;
  font-size: 13px;
}

.autocomplete-items div:hover {
  background-color: #f0f0f0;
}

.tag-filter {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  font-size: 12px;
  background-color: #f0f0f0;
  border-radius: 30px;
  color: #4c4c4c;
  cursor: pointer;
  transition: all 0.2s ease;
  font-weight: 500;
}

.tag-filter.active {
  background-color: #d50032;
  color: #ffffff;
  border-color: #d50032;
}

#panelHeader .toggle-btn {
  position: static;
  background: transparent;
  border: none;
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.toggle-btn {
  position: static !important;
  box-shadow: none !important;
  left: auto !important;
  top: auto !important;
  bottom: auto !important;
}

.toggle-btn img {
  width: 20px;
  height: 20px;
}

.toggle-btn .chev {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 20px;
  height: 20px;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.toggle-btn .chev-up {
  opacity: 0;
  transform: translateY(4px);
}

.toggle-btn .chev-down {
  opacity: 1;
  transform: translateY(0);
}

.tab-group {
  display: flex;
  width: 330px;
  margin: auto;
  border-radius: 8px;
  background: #f0f0f0;
  padding: 4px;
}

.tab-button {
  flex: 1;
  padding: 10px 14px;
  font-size: 1rem;
  color: #7c7c7c;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s;
  text-align: center;
  border-radius: 6px;
}

.tab-button:not(.active):hover {
  background-color: #f0e0e1;
}
.tab-button.active {
  background-color: #d50032 !important;
  color: #ffffff;
  font-weight: bold;
}

.custom-popup {
  padding: 15px 10px;
  font-size: 1rem;
  line-height: 1.5;
  min-width: 250px;
  max-width: 300px;
  background: #ffffff;
  border-radius: 6px;
  z-index: 1000;
  box-shadow: -2px 3px 8px 0 rgba(0, 0, 0, 0.45);
}

.custom-popup b {
  font-size: 16px;
  color: #333333;
}

.custom-popup .address,
.custom-popup .distance,
.custom-popup .category {
  color: #000000;
  font-size: 13px;
  display: block;
}

#placeList::-webkit-scrollbar {
  width: 6px;
}

#placeList::-webkit-scrollbar-thumb {
  background: #d50032;
  border-radius: 3px;
}

#placeList::-webkit-scrollbar-thumb:hover {
  background: #d50032;
}

/* Loading bar */
#loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 2000;
}

#loading-icon {
  width: 40px;
  height: 40px;
  border: 4px solid #f62544;
  border-top: 4px solid transparent;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.mobile-only-footer {
  display: none;
}

.custom-cluster {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background-color: #03d39c;
  color: #ffffff;
  font-size: 14px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease;
}

.custom-cluster:hover {
  transform: scale(1.1);
}

#placeListCount {
  background-color: #ffffff !important;
  color: #d50032 !important;
  padding: 75px 0;
}

.report-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 3px;
  font-size: 9px;
  line-height: 1;
  font-weight: 400;
  color: #595959;
  background-color: #f5f5f5;
  border: 1.1px solid #d9d9d9;
  border-radius: 4px;
}

:root {
  --safe-bot: env(safe-area-inset-bottom, 0px);
  --chev-svg: url("/themes/stella/img/map/map-arrow-down.png");
}

@supports (height: 100dvh) {
  :root {
    --vb: 100dvh;
  }
}

#curationSelect,
#curationSelect:hover,
#curationSelect:focus,
#curationSelect:active,
#curationSelect:focus-visible,
.dropdown.show #curationSelect {
  background-color: #ffffff !important;
  color: #333333 !important;
}

.dropdown-toggle::after {
  display: none !important;
}

#curationSelect {
  height: 34px;
  padding: 0 calc(10px + var(--chev-size, 0px) + 8px) 0 12px;
  border: 1.5px solid #cccccc;
  border-radius: 4px;
  font-size: 12px;
  line-height: 34px;
  text-align: left;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: var(--chev-svg) !important;
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 11px;
  padding-right: calc(10px + var(--chev-size, 0px) + 8px);
}

#curationSelect:hover,
#curationSelect:focus {
  background-color: #003d2810;
}

#curationSelect .label {
  font-size: 12px;
  font-weight: 400;
  color: #333333;
}

#curationDropdownMenu[data-bs-popper] {
  margin-top: 0 !important;
}

#curationDropdownMenu {
  --bs-dropdown-spacer: 0;
  display: flex;
  transform: translate(0, 65%) !important;
  opacity: 0;
  pointer-events: none;
  transition: transform 0.32s cubic-bezier(0.2, 0.8, 0.2, 1),
    opacity 0.32s cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: transform, opacity;
  padding: 20px 10px !important;
  border-radius: 0 !important;
  overflow: auto;
  box-shadow: 0 0 10px 2px #0000004f;
  border: 0;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  gap: 8px;
}

#curationDropdownMenu.show {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
  transition-delay: 0.15s;
}

#curationDropdownMenu.animating-out {
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition-delay: 0.15s;
}

#curationDropdownMenu .cur-tag {
  font-size: 12px !important;
  line-height: 1 !important;
  display: inline-flex;
  padding: 4px 8px !important;
  background: #f0f0f0 !important;
  color: #4c4c4c !important;
  border-radius: 30px !important;
  border-color: #f0f0f0 !important;
}

#curationDropdownMenu .cur-tag.btn-success {
  background: #d50032 !important;
  border-color: #d50032 !important;
  color: #ffffff !important;
  border-radius: 30px !important;
}

#placeList .tag,
#placeList .curation-tag,
.custom-popup .tag,
.custom-popup .curation-tag {
  margin: 0;
}

select:focus {
  outline: none !important;
}
.form-select:focus {
  box-shadow: unset !important;
}

/* 매장 리스트 */
.pla-tit {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0;
  margin: 0;
}

.pla-shop-nm {
  font-size: 16px;
  font-weight: bold;
  margin: 0;
  padding: 0;
  overflow-wrap: break-word;
  width: 220px;
  word-break: keep-all;
}

.pla-gomap {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
  background: #f3f3f3;
  border: 1px solid #e1e1e1;
  border-radius: 4px;
}

.pla-gomap img {
  width: 15px;
  display: block;
  margin: auto;
  vertical-align: middle;
}

.pla-gomap span {
  font-size: 10px;
}

.pla-gomap a {
  color: #3c3c3c;
  text-decoration: none;
  display: block;
  padding: 6px 0;
  text-align: center;
  width: 56px;
  max-height: 56px;
}

.pla-tags {
  font-size: 11px;
  color: #ffffff;
  margin: 8px 0;
  padding: 0;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
}

.pla-dis {
  font-size: 10px;
  margin-bottom: 4px;
  padding: 0;
}

.pla-dis span {
  margin-right: 12px;
  font-weight: 500;
}

.pla-cate {
  font-weight: 500;
  color: #d50032;
  letter-spacing: -0.8px !important;
}

.pla-adr {
  font-size: 12px;
  margin: 0;
  padding: 0;
  font-weight: 500;
  letter-spacing: -0.8px !important;
  width: 260px;
  word-break: keep-all;
  word-wrap: break-word;
}

@media (max-width: 1024px) {
  .btn_menu_m,
  .btn_close {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 20px;
    height: 40px;
  }

  .btn_close {
    display: none;
  }

  .btn_menu_m img,
  .btn_close img {
    width: 100%;
  }

  .menuzone {
    position: absolute;
    right: 0;
    background: #ffffff;
    top: 80px;
    padding: 3vh 6vw;
    text-align: right;
    border-top-left-radius: 50px;
    border-bottom-left-radius: 50px;
    box-shadow: -6px 0 20px rgba(0, 0, 0, 0.15);
  }

  .menu-item {
    font-family: "Artois";
  }

  .mm-tit {
    margin-bottom: 3.5vh;
  }

  .mm-tit h2 {
    font-size: 2rem;
  }

  .menuzone .highlight-menu {
    color: #c11b17;
  }

  .menuzone li:nth-last-of-type(2) {
    margin-top: 7vh;
  }

  .stella-dining::before {
    content: "";
    display: inline-block;
    width: 52px;
    height: 27px;
    background-image: url("/themes/stella/img/member_only.png");
    background-size: cover;
    margin-right: 6px;
    vertical-align: middle;
  }

  .channel_txt {
    font-size: 1rem;
    font-weight: bold;
  }

  .channel {
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
  }

  .channel li:nth-last-of-type(2) {
    margin-top: 1vh;
  }
  .channel li {
    margin-left: 3vw;
  }
  .channel li a {
    width: 25px;
    display: flex;
    align-items: center;
    height: 40px;
  }

  .channel li a img {
    width: 100%;
  }

  .ht-desc {
    font-size: 1rem;
  }
  .ht-tit {
    font-size: 4rem;
  }

  .ct_title,
  .ht_title {
    height: 30vh;
  }

  .ct_title::before,
  .ht_title::before {
    border-width: 0 20vh 30vh 0;
  }

  .logo {
    width: 155px;
  }
  #placePanel {
    top: 100px;
  }
}

@media (max-width: 768px) {
  :root {
    --safe-bot: env(safe-area-inset-bottom, 0px);
  }

  /* .menu-item,
  .mm-tit h2 { font-family: ArtoisIsabella-Serif, sans-serif !important; } */

  .nav-menu {
    display: none !important;
  }
  .mobile-menu-btn {
    display: flex !important;
  }

  .header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .gnb_m {
    padding-left: 0;
  }
  .social-links {
    display: none;
  }

  .sidebar {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    top: auto !important;
    width: 100% !important;
    max-height: 60vh !important;
    border-radius: 20px 20px 0 0 !important;
    border-bottom: none !important;
    transform: translateY(0) !important;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
    z-index: 1000 !important;
  }

  #body_container {
    height: calc(100vh - var(--header-offset, 72px));
    overflow: hidden;
    box-sizing: border-box;
    position: relative;
    padding-top: 0;
  }

  #panelHeader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 53px;
    background-color: #d50032;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10px;
    box-sizing: border-box;
    z-index: 2000;
  }

  .panel-title {
    color: #ffffff;
    font-size: 18px;
    font-weight: bold;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 0 20px;
  }

  #panelHeader .toggle-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 32px;
    height: 32px;
    background: transparent;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1003;
  }

  #map {
    width: 100%;
    height: calc(100vh - var(--header-offset, 72px));
    position: absolute;
    top: 72px;
    left: 0;
    z-index: 1;
  }

  #placePanel {
    position: fixed !important;
    left: 0;
    top: auto;
    max-height: unset;
    bottom: 0 !important;
    width: 100%;
    height: clamp(96px, 58vh, calc(100vh - 53px - var(--safe-bot)));
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: all 0.3s ease;
  }

  #placePanel.expanded {
    height: calc(var(--vb, 100vh) - 72px - var(--safe-bot));
  }

  #tagControls,
  #searchControls {
    order: 0;
    flex-shrink: 0;
    padding: 15px 10px;
    background-color: #ffffff;
    padding-bottom: 0;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    box-shadow: none;
  }

  #searchControls .search-row {
    margin-bottom: 3px;
  }
  #searchControls .common-row {
    margin-bottom: 0;
  }

  #curationSelect {
    margin: 3px 0;
  }

  #placeListDetail {
    padding: 10px 0;
  }

  #placeList {
    order: 1;
    flex: 1 1 auto;
    overflow-y: auto;
    padding: 0 10px 10px;
    max-height: unset;
  }

  #placeListCount {
    order: 1;
    flex: 0 0 70px;
    display: none;
    text-align: center;
    padding: 20px;
  }

  #tabContainer {
    order: 2;
    position: relative;
    background: #ffffff;
    display: flex;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
    z-index: 1001;
    padding: 15px 10px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
  }

  #placePanel #panelHeader {
    order: 3;
    position: relative;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
    border-top: 1px solid #e7e7e7;
    border-bottom: none;
    z-index: 1002;
  }

  #placePanel .panel-title {
    line-height: 48px;
    text-align: center;
    width: 100%;
    height: 48px;
    padding: 0 20px;
    font-size: 18px;
    font-weight: bold;
    color: #d50032;
    box-sizing: border-box;
    margin: 0;
  }

  .tab-group {
    display: flex;
    width: 100%;
    height: 100%;
    padding: 4px;
    background: #f0f0f0;
    border-radius: 10px;
  }

  .tab-button {
    flex: 1;
    padding: 12px 0;
    font-size: 16px;
    background-color: #f5f5f5;
    color: #d50032;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
    text-align: center;
    line-height: 24px;
  }

  #currentLocationBtn {
    position: fixed;
    top: 20%;
    right: 8px;
    padding: 5px;
    width: 35px;
    height: 35px;
    z-index: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    border-radius: 8px;
    box-shadow: none;
    cursor: pointer;
    transform: translateY(40%);
  }

  #currentLocationBtn img {
    width: 24px;
    height: 24px;
  }

  .locate-btn {
    bottom: unset !important;
    right: unset !important;
    width: 30px !important;
    height: 30px !important;
  }

  .mobile-only-footer {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    padding-bottom: var(--safe-bot);
    background-color: #ffffff;
    box-shadow: 0 -1px 5px rgba(0, 0, 0, 0.1);
    z-index: 999;
  }

  .custom-popup {
    padding: 6px 10px;
    font-size: 16px;
    line-height: 1.5;
    min-width: 250px;
    max-width: 300px;
    background: #ffffff;
    z-index: 1010;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
  }
}
