@charset "UTF-8";
/* --------------------------------------------------------------------------
   찰랑 매장 지도 — 스텔라 map3.css(map-v3) 를 그대로 옮겨 온 것.
   바뀐 것: 이미지 경로(/resources/img/map → /assets/images/map). 나머지는 원본과 같다.
   페이지는 /map/index.php, 스크립트는 /assets/js/map.js + /assets/js/vendor/MarkerClustering.js
   -------------------------------------------------------------------------- */

/*
 * 머리는 다른 페이지와 같은 .site-head (common.css) 를 그대로 쓴다 — 로고·물결 버튼 자리, 높이, 좌우 여백 모두 동일.
 * 지도 위에 얹히므로 배경만 흰색으로 채우고 아래 선을 긋는다.
 * map.js 가 이 머리의 높이를 재서 --map-header-banner-height 에 넣으므로 지도·패널이 그 아래에서 시작한다.
 */
/* 흰 띠·밑선은 common.css 의 .site-head::before 가 그린다 (메뉴가 열리면 서랍만큼 잘려 나가는 것도 거기서). 여기서는 색만 — PC 만, 모바일 머리는 높이 0 */
@media (min-width: 769px) {
   .map-head::before { background: #fff; border-bottom: 1px solid #00000014; box-sizing: border-box; }
}

/*
 * 모바일은 머리(흰 띠·로고)를 없앤다. 지도가 맨 위까지 차고, 물결 메뉴 버튼만 검색줄 오른쪽에
 * 흰 동그라미(44px)로 떠 있다. 머리 높이가 0 이 되므로 map.js 가 재는 --map-header-banner-height 도 0.
 * 버튼은 header.php 의 것을 그대로 쓴다 — 여닫기(header.js)·열렸을 때 X 로 바뀌는 것(common.css .nx-menu)이 그대로 산다.
 */
@media (max-width: 768px) {
   .is-map .site-head.map-head { height: 0; padding: 0; border: 0; background: transparent; overflow: visible; pointer-events: none; }
   /* 서랍과 그 위의 버튼·로고는 닫히는 동안에도 검색줄(1210)·시트 위에 있어야 한다 — 열렸을 때만이 아니라 늘 위층에 */
   .is-map .site-head.map-head { z-index: 3100; }
   .is-map .site-menu { z-index: 3090; }
   /*
    * 로고는 메뉴가 열렸을 때만 보인다. 닫혀 있을 때는 화면 오른쪽 밖(100vw)에 세워 두었다가
    * 서랍(common.css .site-menu, 480ms 같은 곡선)과 함께 밀려 들어오고, 닫을 때도 같이 밀려 나간다 — 서랍에 붙어 있는 것처럼
    */
   .is-map .map-head .site-head__logo {
      position: fixed; top: calc(var(--sbn-push-top, 0px) + 16px); left: 24px;
      opacity: 0; visibility: hidden;
      transform: translateX(100vw);
      transition: transform 480ms cubic-bezier(0.22, 1, 0.36, 1), opacity 0s linear 480ms, visibility 0s linear 480ms;
   }
   .is-map.nx-menu .map-head .site-head__logo {
      opacity: 1; visibility: visible; pointer-events: auto;
      transform: translateX(0);
      transition: transform 480ms cubic-bezier(0.22, 1, 0.36, 1), opacity 0s, visibility 0s;
   }
   /*
    * Figma 253:3983: 40 동그라미, 흰 바탕, #ccc 1px 선, 그림자. 물결은 20.67×12.
    * 메뉴를 열면 동그라미는 바로 사라지고(60ms), 닫기 X 는 서랍에 그려 둔 것(.site-menu::after)이 서랍과 함께 들어온다.
    * 이 버튼은 열린 동안 그 X 위에 투명하게 겹쳐 있어 누르면 닫힌다. 닫을 때는 서랍이 80% 빠진 시점(곡선상 약 130ms)부터 동그라미로 다시 떠오른다
    */
   .is-map .map-head .site-head__menu-btn {
      position: fixed;
      display: flex; align-items: center; justify-content: center;   /* 물결을 동그라미 한가운데로 */
      top: calc(var(--map-header-banner-height, 0px) + var(--sbn-push-top, 0px) + 34px);   /* 검색줄과 같은 줄 (Figma: 위 34) */
      right: 24px;
      width: 40px; height: 40px;
      border: 1px solid #ccc; border-radius: 50%;
      box-sizing: border-box;
      background: #fff;
      box-shadow: 0 2px 4px rgba(0, 0, 0, 0.18);
      pointer-events: auto;
      transition: opacity 160ms ease 130ms;
   }
   /* 열린 동안 보이는 X 는 서랍에 그린 것(아래 ::after). 이 버튼은 그 X 위에 투명하게 겹쳐 눌리기만 한다 — 크기·위치는 메인 모바일과 동일(48 / 오른쪽 24) */
   .is-map.nx-menu .map-head .site-head__menu-btn {
      top: calc(var(--sbn-push-top, 0px) + 8px);
      right: 20px;
      width: 48px; height: 48px;
      opacity: 0;
      /* 자리·크기는 다 사라진 뒤에 옮긴다 (옮기는 게 보이지 않게) */
      transition: opacity 60ms ease, top 0s linear 60ms, right 0s linear 60ms, width 0s linear 60ms, height 0s linear 60ms;
   }
   /* 닫기 X 는 서랍에 그린 것(아래 ::after)을 쓰므로 버튼 속 아이콘은 사라지는 동안에도 물결 그대로 — X 로 바뀌는 게 보이지 않게 */
   .is-map.nx-menu .map-head .site-head__ico-open { display: block; }
   .is-map.nx-menu .map-head .site-head__ico-close { display: none; }
   /* 서랍에 그려 둔 닫기 X — 메인 헤더의 닫기 SVG 를 그대로 그린다 (32 상자, 같은 패스·굵기). 로고(왼쪽 24)와 짝으로 X 의 오른쪽 끝이 화면 끝에서 24 */
   .is-map .site-menu::after {
      content: "";
      position: absolute;
      /* 서랍(.site-menu) 안에 그리므로 서랍 기준 좌표다. 밀어내기 띠배너는 서랍째 내려가므로
         (common.css 의 top: var(--sbn-push-top)) 여기서 또 더하면 X 만 배너 높이만큼 더 내려간다 */
      top: 18px; right: 28px;   /* 메인 모바일과 동일 — 열리면 헤더 패딩이 20 이 되고, 48 버튼 안에 32 X 가 가운데 (20 + 8) */
      width: 32px; height: 32px;
      /* 메인 헤더의 닫기 SVG 와 같은 패스·같은 굵기 (viewBox 24 / M3 3L21 21M21 3L3 21 / stroke-width 1.5, 색 #1F2950) */
      background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%231F2950" stroke-width="1.5"><path d="M3 3L21 21M21 3L3 21"/></svg>') center / 32px 32px no-repeat;
      pointer-events: none;
   }
   .is-map .map-head .site-head__ico-open { width: 18px; height: 18px; stroke-width: 1.5; }   /* 물결 이미지가 정사각(69×69) 이라 높이도 같게 — 가로로 눌리지 않게 */
   /* Figma 238:3288: 검색줄은 좌우 24, 동그라미와 사이 8 (오른쪽 24 + 40 + 8 = 72). 알약 #F8F8F8 + 남색 선 + 그림자, 안내 글 가운데. 돋보기는 PC 와 같이 오른쪽에 둔다 */
   .is-map #searchControlsV3 { left: 24px; right: 72px; }
   .is-map #searchControlsV3 .input-with-icon input { height: 40px; padding: 0 48px 0 16px; background: #F8F8F8; border: 1px solid #1F2950; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18); }
   .is-map #searchControlsV3 .input-with-icon .search-icon-btn { right: 16px; }
   /* 시트를 다 펼치면 검색줄이 시트 안으로 들어간다 — 버튼은 숨기고, 흰 시트 위라 입력창은 회색으로 */
   .is-map body.panel-expanded .site-head__menu-btn { display: none; }
   .is-map body.panel-expanded #searchControlsV3 .input-with-icon input { box-shadow: none; }
}

/* 메뉴가 열린 동안만 머리와 사이드 메뉴를 지도 UI(패널 1300·모달 3000) 위로 올린다. 닫히면 원래 층으로 */
.is-map.nx-menu .site-head { z-index: 3100; }
.is-map.nx-menu .site-menu { z-index: 3090; }

.is-map body { margin: 0; padding-top: 0; font-family: 'Pretendard Variable', 'Pretendard', -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif; }
/* 머리 높이만큼 안쪽 여백. 지도(흐름)와 패널(absolute, top: --map-header-banner-height)이 같은 선(68px)에서 시작한다 */
.is-map #body_container { position: relative; box-sizing: border-box; padding-top: var(--map-header-banner-height); }

/* ===== main.css 잔재 리셋 ===== */
body { display: block !important; scroll-padding-top: 0 !important; }
body #placeListDetail { display: block; flex-direction: unset; justify-content: unset; align-items: unset; color: inherit; padding: 14px 16px 16px; }
body #placeList div { color: inherit; }
body #placeList div:hover { cursor: default; }
 :root {
  /* ===== 이미지 URL ===== */
  --img-search-icon: url("/assets/images/map/search-icon.png");
  --img-current-location: url("/assets/images/map/current-location.svg");
  --img-pin-btn: url("/assets/images/map/pin-btn.png");
  --img-marker-default: url("/assets/images/map/marker-default.png?v=20260922");   /* 96×124 원본을 48×62 로 (map.js). 그림을 갈아끼우면 ?v= 날짜도 올린다 — ASSET_V 는 CSS 안의 이미지 주소엔 안 붙는다 */
  --img-marker-active-perfectserve: url("/assets/images/map/stella_marker_perfectserve-active.png");
  --img-my-location: url("https://navermaps.github.io/maps.js/docs/img/example/sp_pins_spot_v3.png");
  --img-chev-svg: url("/assets/images/map/function-icon.png");
  --map-header-banner-height: 65px;

  /* ===== 레이아웃 ===== */
  --banner-height: 0px;
 }

 /* ===== 아이콘 공통 ===== */
 .icon { display: inline-block; background-size: contain; background-repeat: no-repeat; background-position: center; }
 .icon-search { background-image: var(--img-search-icon); width: 20px; height: 20px; }
 .icon-current-location { background-image: var(--img-current-location); width: 24px; height: 24px; vertical-align: middle; }
 .icon-pin-btn { background-image: var(--img-pin-btn); width: 18px; height: 18px; }
 a { text-decoration: none; }

 /* ===== 문서 스크롤 차단 ===== */
 html, body { height: 100%; overflow: hidden; }

 /* ===== 띠배너 push 보정 ===== */
 .header { top: 0 !important; }

 /* ===== 지도 / 패널 ===== */
 #map { width: 100%; height: calc(100vh - var(--map-header-banner-height, 90px)); }
.drop-wrap {
  top: calc(var(--map-header-banner-height, 90px) + var(--sbn-push-top, 0px));
}
 #currentLocationBtn { position: absolute; bottom: calc(10px + var(--sbn-push-bottom, 0px)); right: 10px; z-index: 1000; background-color: #fff; border: 1px solid #ccc; border-radius: 8px; padding: 8px 12px; font-size: 14px; cursor: pointer; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2); display: flex; align-items: center; }
 /* top 에 --sbn-push-top 을 더하지 않는다 — 기준이 되는 #body_container 가 이미 본문과 함께
    배너 높이만큼 내려가 있어서(body margin-top) 여기서 또 더하면 패널만 그만큼 더 내려간다.
    높이는 화면 기준이라 위아래 배너를 모두 빼 줘야 한다. */
 #placePanel { position: absolute; top: var(--map-header-banner-height, 65px); left: 0; max-height: none; width: 375px; height: calc(100vh - var(--map-header-banner-height, 65px) - var(--sbn-push-top, 0px) - var(--sbn-push-bottom, 0px)); background: #fff; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); z-index: 100; display: flex; flex-direction: column; transition: all 0.3s ease; }
 #tabContainer { background: #1F2950; display: flex; align-items: center; padding: 20px 0; padding-top: 5px; }
 #placeList { padding: 0; overflow-y: auto; flex: 1 1 auto; min-height: 0; max-height: none; }
 #placeList .place-item { cursor: pointer; }

 /* ===== 태그 ===== */
 .tag { display: flex; align-items: center; justify-content: space-between; height: 26px;
 background-color: #fff; border: 1px solid #00000014; color: #333; border-radius: 30px; white-space: nowrap; }
 .tag > span { display: inline-flex; align-items: center; }
 .curation-tag { display: flex; align-items: center; justify-content: space-between; padding: 4px 8px; background-color: #c2a471; color: #ffffff; border-radius: 99px; font-size: 11px; line-height: 1.2; }
 .tag-scroller { position: relative; overflow: visible; }
 /* 가로 스크롤은 Swiper 가 맡는다 (.tag-strip-swiper) — 여기에 gap/overflow 를 두면 폭 계산이 어긋난다 */
 #tagContainer { display: flex; padding: 0; white-space: nowrap; }
 /* 여백·아래선은 #tagContainer.tag-strip 이 갖는다. 래퍼는 배경만 — 칩이 없어 컨테이너가 접히면 래퍼도 0px 이 된다 */
 #tagControls { background-color: #ffffff; }
 #tagControls .search-row.tag-row { margin: 0; }
 .tag-filter {
 display: flex; align-items: center; justify-content: center; padding: 5px 8px;
 font-size: 12px; background-color: #fff; border: 1px solid #00000014; border-radius: 30px; color: #4C4C4C; cursor: pointer; transition: all 0.2s ease; font-weight: 500;
}
 .tag-filter.active,
 #tagContainer .tag-filter.active { background-color: #fff; color: #1F2950; border: 1px solid #1F2950; }

 /* ===== 탭 ===== */
 .tab-group { display: flex; width: 330px; margin: auto; border-radius: 30px; background: #f4d9d8; padding: 4px; }
 .tab-button { flex: 1; padding: 4px 6px; font-size: 14px; background-color: #f4d9d8; color: #1F2950; border: none; cursor: pointer; transition: background-color 0.3s, color 0.3s; text-align: center; border-radius: 30px; }
 .tab-button.active { background-color: #1F2950; color: #fff; border-radius: 30px; }
 .tab-button:not(.active):hover { background-color: #fdf0ef; }

 /* ===== 마커 팝업 ===== */
 .custom-popup { padding: 15px; font-size: 16px; line-height: 1.5; width: 336px; background: #fff; z-index: 1000; box-shadow: 0 0px 8px 8px #00000030; border-radius: 10px; }
 .custom-popup b { font-size: 18px; color: #1F2950; font-weight: bold; }
 .custom-popup .address,
 .custom-popup .distance,
 .custom-popup .category { color: #000; font-size: 13px; display: block; }

 /* ===== 리스트 스크롤바 ===== */
 /* Figma 265:514: 6px, 바탕 #EFEFEF, 손잡이 남색 14% */
 #placeList::-webkit-scrollbar { width: 6px; }
 #placeList::-webkit-scrollbar-track { background: #EFEFEF; }
 #placeList::-webkit-scrollbar-thumb { background: rgba(31, 41, 80, 0.14); }

 /* ===== 로딩 ===== */
 #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 #5ae782; 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; }

 /* ===== 구 검색영역 (스크립트 앵커 전용, 비노출) ===== */
 #searchControls { display: none !important; padding: 0 11px 0 11px; background-color: #ffffff; box-shadow: 0px 2px 8px -3px #00000030; }
 .search-row input[type="text"] { height: 34px; line-height: 34px; padding: 0 10px; color: #333; background-color: #ffffff; border: 1.5px solid #ccc; 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: #000; opacity: 1; line-height: 36px; }
 #searchControls select { height: 48px; width: 100%; padding: 0; font-size: 12px; border: 0; border-bottom: 1px solid #E7E7E7; border-radius: 0; box-sizing: border-box; line-height: normal; display: flex; align-items: center; background-color: #fff; color: #333; }
 #searchControls #searchMapBtn.icon-only-btn { height: 34px; width: 36px; padding: 0; background: #fff; border: 1.5px solid #ccc; border-left: 0; border-top-left-radius: 0; border-bottom-left-radius: 0; color: #333; 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 .search-icon { width: 16px; height: 16px; display: block; fill: currentColor; }
 #searchControls #searchMapBtn { background: transparent; color: inherit; padding: 0; }
 #searchControls .input-with-icon { position: relative; width: 100%; }
 #searchControls .input-with-icon input { padding-right: 38px; }
 #searchControls .input-with-icon #searchMapBtn.search-icon-btn { position: absolute; top: 50%; right: 8px; transform: translateY(-50%); width: 28px; height: 28px; border: 0; background: transparent; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; opacity: .8; }
 #searchControls .input-with-icon #searchMapBtn.search-icon-btn svg { width: 18px; height: 18px; fill: #444; }
 #searchControls .input-with-icon #searchMapBtn.search-icon-btn:hover { opacity: 1; }
 #searchControls .input-with-icon #searchMapBtn.search-icon-btn:focus { outline: none; }
 #searchControls #searchMapBtn { background: transparent; color: inherit; padding: 0; border: 0; }
 #autocompleteList { z-index: 1300; }
 #searchControls .search-row { display: flex; margin-bottom: 8px; }
 #searchControls select:focus { outline: none; border-color: #1F2950; }
 #searchControls input:focus { outline: none; border-color: #1F2950; }
 #searchControls .common-row { margin-bottom: 4px; }

 /* ===== 클러스터 ===== */
 /* 묶인 개수가 많을수록 진해진다 (Figma 241:3531 — 하늘색 #7DD9FF → #5792B9, 글자는 남색).
    색은 map.js 의 stylingFunction 이 --cluster-bg 로 넣는다 */
 .custom-cluster { width: 42px; height: 42px; border-radius: 50%; background-color: var(--cluster-bg, #7DD9FF); color: #1F2950; font-size: 14px; font-weight: 700; display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 6px rgba(31, 41, 80, 0.25); transition: transform 0.2s ease; }
 .custom-cluster:hover { transform: scale(1.1); }
 #placeListCount { background-color: #ffffff !important; color: #1F2950 !important; padding: 75px 0px; font-weight: 500; }

 /* ===== 자동완성 ===== */
 .autocomplete-items { position: absolute; top: 100%; left: 0; right: 0; z-index: 999; max-height: 180px; overflow-y: auto; background-color: white; border-top: none; font-size: 13px; color: black; }
 .autocomplete-items div { padding: 8px; cursor: pointer; border-bottom: 1px solid #eee; font-size: 13px; }
 .autocomplete-items div:hover { background-color: #f0f0f0; }

 /* ===== 제보 태그 ===== */
 .report-tag { display: inline-flex; align-items: center; justify-content: center; padding: 3px 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: var(--img-chev-svg); }
 @supports (height: 100dvh) {
  :root { --vb: 100dvh; }
}

 /* ===== 지역 선택(select) 화살표 ===== */
 #searchControls select { -webkit-appearance: none; -moz-appearance: none; appearance: none; background-image: var(--chev-svg); background-repeat: no-repeat; background-position: right 10px center; background-size: 20px; padding-right: calc(10px + var(--chev-size) + 8px); }
 #searchControls select:hover,
 #searchControls select:focus { background-image: var(--img-chev-svg); }
 #searchControls { padding:0 11px; }
 #searchControls input[type="text"]::placeholder { color:#000; opacity:1; }

 /* ===== 큐레이션 드롭다운 ===== */
 #curationSelect,
 #curationSelect:hover,
 #curationSelect:focus,
 #curationSelect:active,
 #curationSelect:focus-visible,
 .dropdown.show #curationSelect { background-color: #fff !important; color: #333 !important; }
 #curationSelect.dropdown-toggle::after { display: none; }
 #curationSelect { -webkit-appearance: none; -moz-appearance: none; appearance: none;
 height: 48px; padding: 0 calc(10px + var(--chev-size) + 8px) 0 12px;
 border:0; border-bottom: 1px solid #E7E7E7;
 font-size: 12px; line-height: 34px; text-align: left;
 background-image: var(--chev-svg) !important;
 background-repeat: no-repeat; background-position: right 10px center; background-size: 20px; }
 #curationSelect:hover,
 #curationSelect:focus { background-color: #4C82DE10; }
 #curationSelect .label { font-size:12px; font-weight:300; color:#000; }
 #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 .32s cubic-bezier(.2,.8,.2,1),
 opacity .32s cubic-bezier(.2,.8,.2,1); will-change: transform, opacity; padding: 20px 10px !important;
 border-radius: 0 !important;
 overflow: auto; box-shadow: 0px 0px 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: .15s; }
 #curationDropdownMenu.animating-out { transform: translateY(-8px); opacity: 0; pointer-events: none; transition-delay: .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: #4C82DE !important; border-color: #4C82DE !important; color: #fff !important; border-radius: 30px !important; }
 #searchControls { padding-left: 10px; padding-right: 10px; }
 #searchControls .input-with-icon input { font-size: 12px !important; font-weight: 400 !important; color: #333 !important; line-height: 34px !important; border-radius: 99px; border-color: #4C82DE; text-indent: 10px; }
 #searchControls .input-with-icon input::placeholder { font-size: 12px !important; font-weight: 400 !important; color: #333 !important; border-radius: 99px; }
 #placeList .tag,
 #placeList .curation-tag,
 .custom-popup .tag,
 .custom-popup .curation-tag { margin: 0; }

 /* ===== 매장 리스트 태그 ===== */
 #placeList .tag { background-color: #1F2950; border-color: #1F2950; color: #ffffff; cursor: pointer; }

 /* ===== 모바일 ===== */
 @media (max-width: 768px){
 :root { --safe-bot: env(safe-area-inset-bottom, 0px); --banner-height: 0px; --sheet-peek-h: 181px; }

 /* 컨테이너 */
 #body_container { height: calc(100vh - var(--sbn-push-top, 0px) - var(--sbn-push-bottom, 0px)); overflow: hidden; box-sizing: border-box; position: relative; z-index: auto; }

 /* 지도 풀블리드 */
 #map { width: 100%; height: calc(100vh - var(--banner-height, 0px)); position: absolute; top: var(--banner-height, 0px); left: 0; z-index: 1; }

 /* GNB 축소 — 햄버거 플로팅 */
 #header_container { position: absolute; pointer-events: none; }
 #header_container .header-banner,
 #header_container .dis_mo_tab,
 #header_container .menu_button { pointer-events: auto; }
 #menu_container { background: transparent; }

 /* 헤더 오버레이 */
 .header { position: absolute !important; top: 0; left: 0; right: 0; z-index: 1100;
   transition: background-color 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease; }
 .header.menu-open { z-index: 1300; pointer-events: auto; }
 .header:not(.menu-open) { background: transparent !important; box-shadow: none !important; border-bottom-color: transparent !important; pointer-events: none; }
 .header:not(.menu-open) .header__logo { opacity: 0; visibility: hidden; pointer-events: none; }
 .header .header__logo { transition: opacity 0.4s ease, visibility 0s linear 0.4s; }
 .header.menu-open .header__logo { opacity: 1; visibility: visible; transition: opacity 0.25s ease, visibility 0s; }
 .header:not(.menu-open) .header__mobile { pointer-events: auto; }
 .header:not(.menu-open) .header__top { justify-content: flex-end !important; padding: 16px !important; }
 .header:not(.menu-open) .header__menu-open {
   display: block !important; pointer-events: auto;
   position: fixed; top: calc(var(--sbn-push-top, 0px) + 16px); right: 16px;
   width: 44px; height: 44px;
   background: #fff; border-radius: 50%;
   box-shadow: 0 2px 8px rgba(0,0,0,0.18);
   padding: 10px; box-sizing: border-box;
   z-index: 1200;
 }
 .header:not(.menu-open) .header__menu-open img { width: 100%; height: 100%; object-fit: contain; }
 /* 닫기(X) */
 .header.menu-open .header__menu-close {
   display: block !important; pointer-events: auto;
   position: fixed; top: var(--sbn-push-top, 0px); right: 16px;
   width: 44px; height: 40px;
   background: none; border: 0; border-radius: 0; box-shadow: none;
   padding: 8px 10px 8px 10px; box-sizing: border-box;
   z-index: 1400;
 }
 .header.menu-open .header__menu-close img { width: 100%; height: 100%; object-fit: contain; }
 /* 딤 */
 .header__mobile { top: 0 !important; }
 #menu_container .menu_logo { display: none; }
 #menu_container .menu_button { position: fixed; top: calc(var(--banner-height, 0px) + var(--sbn-push-top, 0px) + 16px); right: 16px; width: 44px; height: 44px; background: #fff; border-radius: 50%; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18); color: #333; }
 #menu_container .menu_button.is_active { background: transparent; box-shadow: none; }

 /* 하단 시트 */
 #placePanel { position: fixed !important; left: 0; top: auto !important; bottom: calc(var(--bnr-h, 0px) + var(--sbn-push-bottom, 0px)) !important; width: 100%; height: auto; min-height: 0; background: #fff; box-shadow: 0 -1px 3px 0 rgba(0, 0, 0, 0.14); z-index: 1000; display: flex; flex-direction: column; transition: all 0.3s ease; border-radius: 20px 20px 0 0; interpolate-size: allow-keywords; }
 /* 피크(접힌) 상태는 내용 높이에 딱 맞춘다 — 예전엔 min-height 로 181px 를 깔아서
    매장이 한두 건이면 카드 아래에 흰 여백이 남았다.
    --sheet-peek-h 는 map.js 가 시트 실제 높이를 재서 넣는 값이라(현재위치·쿠키 버튼이 그 위에 선다)
    여기서 바닥을 깔지 않아야 여백 없이 따라붙는다. */

 /* 시트 확장 */
 /* 띠배너가 밀어내기면 위아래로 그만큼 화면이 줄어든다 — 안 빼면 시트가 배너 뒤로 들어간다 (배너 없으면 0px 이라 그대로) */
 #placePanel.is-expanded { height: calc(100vh - var(--banner-height, 0px) - 56px - var(--bnr-h, 0px) - var(--sbn-push-top, 0px) - var(--sbn-push-bottom, 0px)); height: calc(100svh - var(--banner-height, 0px) - 56px - var(--bnr-h, 0px) - var(--sbn-push-top, 0px) - var(--sbn-push-bottom, 0px)); }
 #placeList { flex: 1 1 auto; overflow-y: auto; padding: 0; }

 /* 결과 없음 문구 */
 #placeListCount { order: 1; flex: 0 0 70px; display: none; text-align: center; padding: 50px 10px; }

 /* 현재 위치 버튼 */
 #currentLocationBtn { position: fixed; top: auto; bottom: calc(var(--sheet-peek-h, 181px) + 24px + var(--bnr-h, 0px) + var(--sbn-push-bottom, 0px)); right: 8px; padding: 5px; width: 35px; height: 35px; z-index: 900; display: flex; align-items: center; justify-content: center; background-color: #fff; border: 1px solid #ccc; border-radius: 8px; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2); cursor: pointer; }
 #currentLocationBtn img { width: 24px; height: 24px; }

 /* 팝업 */
 .custom-popup { padding: 6px 10px; font-size: 16px; line-height: 1.5; min-width: 300px; max-width: 400px; background: white; z-index: 1010; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.45); }
 }
 select:focus { outline: none !important; }
 .form-select:focus { box-shadow: unset !important; }

/* ===== 매장 카드 ===== */
/* Figma 238:3125: 위 14 · 좌우 16 · 아래 16, 밑선 남색 8%. 이름 16 Bold → 거리 12 → 주소 14 (모두 남색, 줄간 1.4, 사이 3) */
#placeListDetail { color: #1F2950; padding:14px 16px 16px; margin:0; border-bottom:1px solid rgba(31, 41, 80, 0.08); }
.pla-tit { display: flex; justify-content: space-between; align-items: center; padding: 0; margin:0 0 3px; }
.pla-shop-nm { display:block; flex:1 1 auto; min-width:0; font-size:16px; line-height:1.4; color:#1F2950; font-weight:700; letter-spacing:-0.32px; margin:0; padding:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.pla-gomap { display: flex; align-items: center; margin: 0; padding: 0; height: 15px; }
.pla-gomap img { width:18px; vertical-align:middle; }
.pla-tags { font-size: 11px; color: #fff; margin: 8px 0 0; padding: 0; display:flex; justify-content:flex-start; align-items:center; flex-wrap:wrap; gap:4px; }
.pla-dis { font-size: 12px; line-height: 1.4; color: #1F2950 !important; letter-spacing: -0.24px; margin-bottom: 3px; padding:0; }
.pla-dis span { margin-right: 10px; font-weight:500; }
.pla-cate { font-weight:500; color:#4C82DE; letter-spacing:-0.24px !important }
.pla-adr { width: auto; font-size: 14px; color:#1F2950 !important; margin: 0; padding:0; font-weight:500; letter-spacing:-0.28px !important; line-height:1.4;}
.tag, .curation-tag{font-size: 13px;display: flex;justify-content: center;align-items: center;border-radius: 30px;font-weight: 500;letter-spacing: -0.325px;padding: 5px 8px;}

/* ===== 퍼펙트서브 TOP 뱃지 ===== */
.rank1_title, .rank2_title, .rank3_title { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 4px; margin-left: 24px; padding: 5px 10px; border-radius: 99px; background: #ffe7ed; color: #333; font-size: 12px; font-weight: 500; line-height: 1; letter-spacing: -0.3px; white-space: nowrap; }
.rank_badge { width: 12px; height: 13px; flex-shrink: 0; }
.pla-tit { justify-content: flex-start; }
.pla-tit-wrap { display: flex; align-items: center; min-width: 0; margin-right: auto; }
.pla-shop-nm { width: auto; flex: 0 1 auto; }

/* ===== 네이버지도 바로가기 아이콘 ===== */
/* Figma 856:1273 — 매장명 줄 맨 오른쪽, PC 24×24.
   원본 png 가장자리에 투명 여백이 있어 시안과 같은 비율(122.23%)로 키운 뒤 가운데만 보여준다.
   .pla-tit-wrap 의 margin-right:auto 가 이 아이콘을 오른쪽 끝으로 밀고, margin-left 로 최소 간격을 둔다. */
.pla-naver { flex: 0 0 auto; margin-left: 8px; width: 24px; height: 24px; position: relative; overflow: hidden; line-height: 0; }
.pla-naver img { position: absolute; left: -10.99%; top: -11.11%; width: 122.23%; height: 122.23%; max-width: none; }

/* ===== 맵 상단 배너 ===== */
.header-banner {position: fixed;top: 0;left: 0;right: 0;z-index: 100;line-height:0;background: #1F2950;}
.header-banner .banner-wrap {margin: 0 auto;display: block;width: 100%;position: relative;line-height: 0;}
.header-banner picture {display:block;width:100%;height:auto;}
.header-banner img {display:block;width:70%;max-width:100%;margin: 0 auto;height:auto;object-fit:contain;object-position:center center;image-rendering:-webkit-optimize-contrast;image-rendering:crisp-edges;backface-visibility:hidden;transform:translateZ(0);}
.header-banner .banner-close-btn {position:absolute;top:30px;right:20px;transform:translateY(-50%);width:24px;height:24px;border:0;background: rgba(0, 0, 0, 0.5);border-radius:50%;line-height:1;display:flex;align-items:center;justify-content:center;cursor:pointer;z-index:101;}
@media (max-width: 1800px) {
  .header-banner img {width: 80%;}
}
@media (max-width: 1600px) {
  .header-banner img {width: 90%;}
}
@media (max-width: 1400px) {
  .header-banner img {width: 100%;}
}
@media (max-width: 1024px) {
  .header-banner .banner-wrap {margin: 0 auto;display: block;width: 100%;position: relative;}
  .header-banner picture {display:block;width:100%;height:auto;line-height:0;}
  .header-banner .banner-close-btn {right: 10px;}
}
@media (max-width: 768px) {
  .header-banner img {width: 80%;}
}
@media (max-width: 767px) {
 .header-banner .banner-wrap {max-width: 100%; padding: 0 10px 0 10px;}
 .header-banner picture {width: 100%; margin: 0;}
 .header-banner .banner-close-btn {right: 8px; top: 18px; width: 18px; height: 18px;}
 .header-banner .banner-close-btn svg { width: 8px; height: 8px;}
}
@media (max-width: 600px) {
  .header-banner img {width: 90%;}
}
@media (max-width: 500px) {
  .header-banner img {width: 100%;}
}
@media (max-width: 390px) {
 .header-banner .banner-wrap {padding: 0 5px 0 5px;}
}

/* ===== 상단 태그 스트립 높이 고정 ===== */
/* 여백을 둘로 나눠 갖는다 —
   · 위아래 15 와 아래선: 바깥 줄(.tag-row). 안쪽에 두면 선이 칩과 같이 밀려 나간다
   · 좌우 16: Swiper 요소(.tag-strip-swiper). 한맥과 같은 자리다
   #tagContainer 에는 어느 쪽도 두지 않는다 — swiper-wrapper 라 Swiper 가 transform 으로 옮긴다 */
#tagControls .tag-row.tag-scroller{box-sizing:border-box;padding:15px 0;border-bottom:1px solid #00000014;overflow:hidden;}
#tagControls .tag-strip-swiper{width:100%;overflow:hidden; padding: 0 16px;}
/* Swiper 를 못 받아왔을 때만 — 예전처럼 브라우저 가로 스크롤 */
#tagControls .tag-strip-swiper.is-native-scroll{overflow-x:auto;scrollbar-width:none;}
#tagControls .tag-strip-swiper.is-native-scroll::-webkit-scrollbar{display:none;}
/* 높이를 고정하지 않는다 — 칩(26) 보다 큰 34 로 잡혀 있으면 위아래로 4 씩 더 벌어져
   .tag-strip-swiper 의 패딩 15 가 화면에서는 19 로 보인다 (한맥도 높이 고정을 뺐다) */
#tagContainer.tag-strip{display:flex;flex-wrap:nowrap;align-items:center;gap:0;overflow:visible;white-space:nowrap;}
/* 칩 사이 간격은 슬라이드의 padding-right 로 — gap / spaceBetween 은 Swiper 의 폭 계산을 어긋나게 한다 */
#tagContainer.tag-strip .swiper-slide{width:auto;flex:none;padding-right:6px;}
#tagContainer.tag-strip .swiper-slide:last-child{padding-right:0;}
/* 태그가 하나도 없으면 영역 자체가 없는 것처럼 접는다. 크기 요소가 모두 컨테이너에 있어 :has() 를 모르는 브라우저에서도 래퍼가 남지 않는다 */
#tagContainer.tag-strip:empty{display:none;}
#tagControls:has(#tagContainer:empty){display:none;}
#tagContainer .tag-filter{display:inline-flex;flex:none;align-items:center;box-sizing:border-box;height:auto;padding:5px 8px;border:1px solid #00000014;border-radius:30px;background-color:#fff;color:#4C4C4C;font-size:12px;font-weight:500;}
#tagContainer .tag-filter img{height:auto;}
#tagContainer .tag-static{order:1;}

/* ===== JS 템플릿용 클래스 ===== */

/* 태그 아이콘 */
.tag-icon { margin-right: 2px; }
.tag-icon--list { width: 14px; }
.tag-icon--popup { width: 14px; height: 14px; vertical-align: middle; margin-top: -2px; }

/* 마커 라벨 */
.marker-label { padding: 2px 6px; font-size: 12px; color: #4C82DE; left: 50%; transform: translateX(-50%); white-space: nowrap; font-weight: bold; text-shadow: 0 1px white, 1px 0 white, -1px 0 white, 0 -1px white; }

/* 팝업 레이아웃 */
.popup-header { display: flex; justify-content: space-between; align-items: center; margin-top: 6px; }
.popup-title-wrap { display: flex; align-items: center; gap: 6px; }
.popup-name-link { align-items: center; text-decoration: underline; color: inherit; width: 280px; word-break: keep-all; overflow-wrap: break-word; line-height: 1; }
.popup-distance { font-size: 12px; color: #1F2950; font-weight: 400; }
.popup-report-link { display: none; align-items: center; text-decoration: none; padding-right: 10px; }
.popup-close { position: absolute; top: 5px; right: 10px; font-size: 16px; cursor: pointer; font-weight: bold; color: #1F2950; }
.popup-address { font-size: 12px; font-weight: 500; color: #1F2950; width: 280px; word-break: keep-all; overflow-wrap: break-word; }
.popup-category { font-size: 12px; color: #1F2950; margin: 0; padding: 0; font-weight: 400; }
.popup-tags { font-size: 12px; color: white; margin: 0; padding: 3px 0; display: flex; justify-content: flex-start; align-items: center; flex-wrap: wrap; gap: 4px; }

/* ===== [3.0] 통합 검색줄 + 필터 ===== */

/* 통합 검색줄 */
/* Figma 238:3089: 위 24 · 좌우 16 · 아래 12. 그림자는 패널(#placePanel)이 진다 */
#searchControlsV3 { padding: 24px 16px 12px; background-color: #ffffff; box-shadow: none; }
#searchControlsV3 .search-row { display: flex; align-items: center; }
#searchControlsV3 .input-with-icon { position: relative; width: 100%; }
/* Figma 238:3091: 40 높이 알약, 바탕 #F8F8F8, 남색 1px 선, 안쪽 17. 안내 글은 왼쪽 정렬 */
#searchControlsV3 .input-with-icon input { width: 100%; height: 40px; line-height: normal; padding: 0 17px; font-size: 16px; font-weight: 400; color: #1F2950; background: #F8F8F8; border: 1px solid #1F2950; border-radius: 99px; }
#searchControlsV3 .input-with-icon input::placeholder { font-size: 16px; color: #9C9C9C; text-align: left; }
#searchControlsV3 .input-with-icon input:focus { outline: none; box-shadow: 0 0 0 1px #1F2950; }
/* 검색 버튼(#searchMapBtn): 오른쪽 안쪽 17 에 24×24 아이콘(투명도 80%). 글이 아이콘 밑으로 들어가지 않게 오른쪽 여백을 비운다 */
#searchControlsV3 .input-with-icon input { padding: 0 49px 0 17px; }
#searchControlsV3 .input-with-icon .search-icon-btn { display: inline-flex; align-items: center; justify-content: center; position: absolute; top: 50%; right: 17px; transform: translateY(-50%); width: 24px; height: 24px; padding: 0; border: 0; background: transparent; cursor: pointer; z-index: 1; }
#searchControlsV3 .input-with-icon .search-icon-btn .icon-search { display: block; width: 24px; height: 24px; background-image: url("/assets/images/map/map-search-icon.png?v=20260922"); background-size: contain; background-repeat: no-repeat; background-position: center; }

/* 필터 열기 버튼 */
.filter-open-btn { position: relative; flex-shrink: 0; width: 40px; height: 40px; margin-left: 8px; display: inline-flex; align-items: center; justify-content: center; background: #fff; color: #000000; border: 1px solid #000000; border-radius: 99px; cursor: pointer; }

/* 필터 모달 */
.filter-modal { position: fixed; inset: 0; z-index: 3000; display: none; align-items: center; justify-content: center; padding: 16px; }
.filter-modal.is-open { display: flex; }
.filter-modal__dim { position: absolute; inset: 0; background: #00000080; cursor: pointer; }
/* 필터 열림 중 쿠키 아이콘 숨김 */
body.filter-open #ot-sdk-btn-floating.ot-floating-button { display: none; }
.filter-modal__card { position: relative; display: flex; flex-direction: column; width: 100%; max-width: 375px; max-height: calc(100vh - 100px); background: #fff; border-radius: 12px; box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3); overflow: hidden; }
.filter-modal__head { display: flex; align-items: center; justify-content: space-between; padding: 16px 16px 10px; border-bottom: 1px solid #eee; }
.filter-modal__head strong { font-size: 18px; font-weight: 600; color: #333; line-height: 100%; letter-spacing: -0.45px; }
.filter-modal__close { background: transparent; border: 0; font-size: 16px; color: #666; cursor: pointer; padding: 4px; }
.filter-modal__body { height: 280px; flex: 0 0 auto; overflow-y: auto; padding: 16px; }
.filter-section + .filter-section { margin-top: 24px; }
.filter-section__title { margin: 0 0 10px; font-size: 16px; font-weight: 600; color: #333; line-height: 100%; letter-spacing: -0.45px; }
.filter-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.filter-chips .tag-filter { flex: none; }
/* 칩 아이콘 */
.chip-icon { width: 14px; height: 14px; object-fit: contain; margin-right: 2px; flex-shrink: 0; }

/* 칩 라벨 */
.tag-label { font-weight: 500; line-height: normal; letter-spacing: -0.3px; }

/* 리스트 헤더 */
/* Figma 238:3120: 61 높이 (위 24 · 글 22 · 아래 15), 제목 18 Bold 남색, 갯수 파랑, '거리순' 12 Medium 회색 (사이 10) */
.place-list-head { display: flex; align-items: baseline; gap: 10px; padding: 24px 16px 15px; background: #fff; }
.place-list-head__title { font-size: 18px; font-weight: 700; color: #1F2950; letter-spacing: normal; line-height: normal; }
.place-list-head__title em { font-style: normal; color: #4C82DE; }
.place-list-head__sort { font-size: 12px; font-weight: 500; color: #9C9C9C; line-height: 120%; letter-spacing: -0.3px; }
.place-list-head__viewall { display: none; }
.sheet-mapview-btn { display: none; }
.sheet-grab { display: none; }

/* 매장 카드 선택 상태 */
#placeList .place-item.is-selected { background: rgba(125,217,255,0.05); }

/* 큐레이션 태그 숨김 (렌더는 유지) */
#placeList .curation-tag { display: none; }

/* 마커 팝업 숨김 (3.0 미사용) */
.custom-popup { display: none !important; }
.filter-modal__foot { display: flex; gap: 10px; padding: 12px 16px calc(16px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid #eee; }
.filter-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 0; border-radius: 8px; font-size: 14px; font-weight: 600; cursor: pointer; transition: background 0.2s ease; }
.filter-btn--reset { flex: 0 0 auto; padding: 14px 20px; background: #fff; border: 1px solid #33333333; color: #333; }
.filter-btn--reset:hover { background: #e4e4e4; }
.filter-btn--apply { flex: 1; padding: 14px 24px; background: #1F2950; color: #fff; font-size: 16px; }
.filter-btn--apply:hover { background: #4C82DE; }

/* ===== [3.0 모바일] 검색줄 / 태그 스트립 ===== */
@media (max-width: 768px) {
 /* 검색줄 */
 /* 모바일은 머리가 없어(위 .is-map .map-head 규칙) 맨 위에서 34px. 좌우는 위 .is-map 규칙이 24 / 72 로 덮어써 물결 동그라미 자리를 비운다 */
 #searchControlsV3 { position: fixed; top: calc(var(--map-header-banner-height, 0px) + var(--sbn-push-top, 0px) + 34px); left: 16px; right: 16px; z-index: 1210; padding: 0; background: transparent; box-shadow: none; }
 #searchControlsV3 .search-row { gap: 8px; }
 #searchControlsV3 .input-with-icon input { height: 40px; padding: 0 16px; background: #F8F8F8; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18); }
 .filter-open-btn { order: -1; margin-left: 0; width: 44px; height: 44px; background: #fff; border: 0; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18); color: #333; }

 /* 태그 스트립 */
 #tagControls { position: fixed; top: calc(var(--map-header-banner-height, 0px) + var(--sbn-push-top, 0px) + 82px); left: 0; right: 0; z-index: 1200; padding: 0; background: transparent; border-bottom: 0; }
 /* 칩 그림자가 잘리지 않게 위아래 6 (줄 자체는 -6 으로 당겨 자리는 그대로).
    좌우는 PC 와 같이 .tag-strip-swiper 가 16 을 갖는다 — 여기에 또 주면 32 가 된다 */
 #tagControls .tag-row.tag-scroller { padding: 6px 0; margin: -6px 0; border-bottom: 0; overflow: visible; }

 /* 시트 그랩바 */
 .sheet-grab { display: block; flex: 0 0 auto; width: 100%; padding: 10px 0; background: none; border: 0; cursor: pointer; }
 .sheet-grab::before { content: ""; display: block; width: 72px; height: 6px; margin: 0 auto; border-radius: 3px; background: #D9D9D9; }

 /* 피크 상태 */
 body:not(.panel-expanded) #placeList .place-item { display: none; }
 body:not(.panel-expanded) #placeList .place-item.is-selected { display: block; }

 /* 리스트 헤더 — Figma 238:3271: 34 높이, 제목 16 Bold #333 */
 .place-list-head { padding: 0 16px 12px; }
 .place-list-head__title { font-size: 16px; color: #333; }

 /* 리스트 카드 */
 /* Figma 238:3277: 이름 14 Medium → 거리·업종 12 → 주소 12. 글자색은 PC 와 같은 남색 #1F2950 으로 통일 */
 #placeListDetail { padding: 14px 16px 16px; color: #1F2950; }
 .pla-tit { margin: 0 0 3px; }
 .pla-shop-nm { font-size: 14px; font-weight: 500; color: #1F2950; letter-spacing: normal; line-height: normal; }
 /* Figma 856:1283 — 모바일은 20×20 */
 .pla-naver { width: 20px; height: 20px; }
 .pla-dis { color: #1F2950; letter-spacing: normal; line-height: normal; margin-bottom: 3px; }
 .pla-adr { font-size: 12px; color: #1F2950; letter-spacing: normal !important; line-height: 140%; }

 /* 전체보기 */
 .place-list-head__viewall { display: inline-block; margin-left: auto; padding: 0; background: none; border: 0; font-size: 12px; font-weight: 500; color: #1F2950; letter-spacing: normal; cursor: pointer; }

 /* 필터 바텀시트 */
 .filter-modal { padding: 0; align-items: flex-end; z-index: 10010; }
 .filter-modal__card { max-width: none; border-radius: 12px 12px 0 0; }

 /* 시트 확장(전체보기) 상태 */
 body.panel-expanded .menu_button { display: none !important; }
 body.panel-expanded .header .header__menu-open { display: none !important; pointer-events: none !important; }
 body.panel-expanded #tagControls { display: none; }
 body.panel-expanded .place-list-head__viewall { display: none; }
 body.panel-expanded #searchControlsV3 { position: static; padding: 10px 16px 10px; }
 body.panel-expanded #searchControlsV3 .input-with-icon input { box-shadow: none; }
 body.panel-expanded .filter-open-btn { box-shadow: none; border: 1px solid #4C82DE; color: #1F2950; }

 /* 지도보기 버튼 */
 body.panel-expanded .sheet-mapview-btn { display: inline-flex; align-items: center; justify-content: center; position: absolute; left: 50%; bottom: calc(20px + var(--safe-bot)); transform: translateX(-50%); z-index: 10; padding: 12px 28px; background: #1F2950; color: #fff; font-size: 14px; font-weight: 600; border: 0; border-radius: 99px; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25); cursor: pointer; }

 /* 네이버 줌 컨트롤 위치 */
 #map div[style*="z-index: 100"][style*="top: 0px"][style*="right: 0px"] { top: 118px !important; }

 /* 쿠키 아이콘 위치 */
 #ot-sdk-btn-floating.ot-floating-button { bottom: calc(var(--sheet-peek-h, 181px) + 27px + var(--bnr-h, 0px) + var(--sbn-push-bottom, 0px)) !important; z-index: 1100 !important; }
 body.panel-expanded #ot-sdk-btn-floating.ot-floating-button { display: none; }

 /* 칩 그림자 */
 #tagContainer .tag-filter { box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.20); }
 /* 칩 액티브 */
 #tagContainer .tag-filter.active { background: #1F2950; color: #fff; border-color: #1F2950; }

 /* 필터 시트 타이포 */
 .filter-modal__body { height: 232px; }
 .filter-modal__head strong { font-size: 16px; }
 .filter-section__title { font-size: 14px; }
 .filter-modal__foot { padding: 12px 10px calc(16px + var(--safe-bot)); }
}

/* ===== 네이버 줌 컨트롤 스킨 ===== */
#map div[style*="z-index: 100"][style*="top: 0px"][style*="right: 0px"] div[style*="border: 1px solid"] { border-color: #ccc !important; border-radius: 8px; overflow: hidden; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2); }
#map div[style*="z-index: 100"][style*="top: 0px"][style*="right: 0px"] a { border-color: #ccc !important; }

/* ===== 하단 띠배너 + 프로모 토스트 ===== */

/* 빈 결과 안내 */
#placeListCount .place-empty { display: flex; align-items: center; justify-content: center; gap: 6px; }
#placeListCount .place-empty svg { flex-shrink: 0; }
#placeListCount .place-empty p { margin: 0; font-size: 14px; letter-spacing: -0.35px; }

/* 띠배너 */
.sm-bnr { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1300; display: flex; align-items: center; justify-content: center; height: 40px; background: #1F2950; transition: transform 0.3s ease; }
.sm-bnr.is-hide { transform: translateY(100%); }
.sm-bnr__group { display: flex; align-items: center; gap: 6px; }
.sm-bnr__txtwrap { display: flex; align-items: center; gap: 8px; }
.sm-bnr__symbol { width: 30px; height: 30px; object-fit: contain; }
.sm-bnr__txt { margin: 0; color: #fff; font-size: 16px; font-weight: 500; letter-spacing: -0.4px; white-space: nowrap; }
.sm-bnr__em { color: #fff; font-size: 16px; font-weight: 700; letter-spacing: -0.4px; white-space: nowrap; }
.sm-bnr__link { display: inline-flex; align-items: center; gap: 2px; height: 20px; margin-left: 4px; padding: 0 12px; background: #000; border-radius: 20px; color: #fff; font-size: 14px; font-weight: 500; letter-spacing: -0.35px; }
.sm-bnr__close { position: absolute; right: max(16px, calc((100vw - 1280px) / 2)); top: 5px; width: 30px; height: 30px; padding: 0; background: none; border: 0; color: #fff; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }

/* 토스트 / 딤 */
.sm-toast, .sm-toast-dim { animation: sm-fade-in 0.3s ease; transition: opacity 0.25s ease; }
.sm-toast.is-hide, .sm-toast-dim.is-hide { opacity: 0; }
@keyframes sm-fade-in { from { opacity: 0; } }

/* 토스트 딤 (모바일 전용) */
.sm-toast-dim { display: none; position: fixed; inset: 0; z-index: 1390; background: #00000080; cursor: pointer; }

/* 토스트 */
.sm-toast { position: fixed; right: 80px; bottom: 60px; z-index: 1400; width: 300px; background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 0 12px rgba(0, 0, 0, 0.1); }
.sm-toast__link { display: block; height: 268px; background: #fff center / cover no-repeat; }
.sm-toast__cta { display: flex; align-items: center; justify-content: space-between; height: 32px; padding: 0 8px; background: #E3E3E3; }
.sm-toast__today { display: inline-flex; align-items: center; gap: 10px; padding: 4px 10px; background: none; border: 0; color: #1F2950; font-size: 13px; letter-spacing: -0.325px; white-space: nowrap; cursor: pointer; }
.sm-toast__today img { width: 16px; height: 16px; flex-shrink: 0; }
.sm-toast__close { width: 32px; height: 32px; padding: 0; background: none; border: 0; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; color: #333; }
@media (max-width: 768px) {
 /* 띠배너 */
 .sm-bnr { justify-content: flex-start; padding-left: 30px; }
 .sm-bnr__txt, .sm-bnr__em { font-size: 14px; letter-spacing: -0.35px; }
 .sm-bnr__link span { display: none; }
 .sm-bnr__link { width: 20px; height: 20px; margin-left: 0; padding: 0; justify-content: center; border-radius: 50%; }
 .sm-bnr__close { position: static; margin: 0; width: auto; height: auto; padding: 11px; }
 /* 토스트 — 중앙 모달 */
 .sm-toast-dim { display: block; }
 .sm-toast { right: auto; bottom: auto; left: 50%; top: 50%; transform: translate(-50%, -50%); }
 /* 배너 있을 때 하단 기준선 */
 body.has-smbnr { --bnr-h: 40px; }
}

