@charset "UTF-8";

/* ==================== 디자인 변수 (메인화면 기준) ==================================== */
:root {
  --sale-primary: #244CB1;
  --sale-primary-light: #3b82f6;
  --sale-primary-dark: #1e3a8a;
  --sale-text-dark: #1e293b;
  --sale-text-gray: #64748b;
  --sale-text-light: #94a3b8;
  --sale-border: #e2e8f0;
  --sale-bg-light: #f8fafc;
  --sale-bg-white: #ffffff;
  --sale-shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
  --sale-shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --sale-shadow-lg: 0 8px 24px rgba(36, 76, 177, 0.12);
  --sale-shadow-hover: 0 12px 32px rgba(0, 0, 0, 0.1);
  --sale-border-radius: 12px;
  --sale-border-radius-sm: 8px;
  --sale-border-radius-lg: 16px;
  --sale-transition: all 0.25s ease;
  --sale-glass-bg: rgba(255, 255, 255, 0.95);
  --sale-glass-border: rgba(0, 0, 0, 0.08);
  --sale-chatbot-bg: #2e6bc4;
}

/* ==================== 빈집매물 관련 덮어쓰기 ==================================== */
/* ==================== 빈집매물 관련 덮어쓰기 ==================================== */

/* ----- 모달 속 (제목글/본문/문단/목록글) ----- */
/* ----- 모달 속 (제목글/본문/문단/목록글) ----- */
.sale_map_modal { font-size: 14px; }

/* ----- 모달 속 문단 ----- */
/* ----- 모달 속 문단 ----- */
.sale_map_modal .para_box_group { margin-bottom: 50px; }
.sale_map_modal .para_box { margin-bottom: 30px; }
@media (max-width:768px) {
  .sale_map_modal .para_box { margin-bottom: 30px; }
}
/* 모달속 p_txt 문장*/
.sale_map_modal .p_txt { margin-bottom: 10px; }
/* 모달속 들여쓰기 상자 */
.sale_map_modal .indent_box{margin-left: 24px;}
.sale_map_modal .indent_box .indent_box{margin-left: 13px;}

/* ----- 모달속 제목 ----- */
/* ----- 모달속 제목 ----- */
.sale_map_modal .headding1 { margin-bottom: 12px; font-size: 17px; font-weight: 700; color: #1e293b; }
.sale_map_modal .headding1:before { height: 18px; margin-top: 3px; margin-right: 8px; }
.sale_map_modal .headding2 {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 600;
  color: #374151;
  background: #f8fafc;
  border-left: 3px solid var(--sale-primary);
  border-radius: 0 4px 4px 0;
}
.sale_map_modal .headding2:before { display: none; }
.sale_map_modal .headding3 { margin-bottom: 5px; font-size: 14px; font-weight: 600; }
.sale_map_modal .headding3:before { margin-top: 7px; margin-right: 8px; }
.sale_map_modal .headding1 ~ .headding1{ margin-top: 30px;}
.sale_map_modal .headding2 ~ .headding2{ margin-top: 16px;}
.sale_map_modal .headding3 ~ .headding3{ margin-top: 10px;}





/* ==================== 빈집매물 ==================================== */
/* ==================== 빈집매물 ==================================== */
/* ----- 매물 ----- */
/* ----- 매물 ----- */
.sales_body { position: relative; height: calc(100vh - 80px); }
@media screen and (max-width:1200px) {
  .sales_body { height: calc(100vh - 60px); height: calc(100dvh - 60px); }
}

/* 지도 */
.sales_body .map_inner { position: relative; height: 100%; }

/* 전체화면 닫기 버튼 (전체화면 모드에서만 표시) */
.sales_body .map_inner .fullscreen_close_btn {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  background-color: rgba(0, 0, 0, 0.7);
  color: #fff;
  border: none;
  border-radius: 5px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s;
}
.sales_body .map_inner .fullscreen_close_btn:hover {
  background-color: rgba(0, 0, 0, 0.9);
}
.sales_body .map_inner .fullscreen_close_btn .txt {
  display: inline-block;
}
/* 전체화면 모드에서 버튼 표시 */
.sales_body .map_inner:fullscreen .fullscreen_close_btn,
.sales_body .map_inner:-webkit-full-screen .fullscreen_close_btn,
.sales_body .map_inner:-moz-full-screen .fullscreen_close_btn,
.sales_body .map_inner:-ms-fullscreen .fullscreen_close_btn {
  display: flex;
}



/* ----- sales_body 속 form 요소 높이 재설정 ----- */
/* ----- sales_body 속 form 요소 높이 재설정 ----- */
.sales_body select.custom_select {
  border: none;
  min-width: 0;
  height: 36px;
  font-size: 14px;
  padding-left: 12px;
  padding-right: 28px;
  background: url(/main/images/common/select_arrow_down.svg) no-repeat right 8px center;
  background-color: #f8fafc;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--sale-transition);
}
.sales_body select.custom_select:hover {
  background-color: #f1f5f9;
}
.sales_body select.custom_select:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(36, 76, 177, 0.2);
}
.sales_body input:not([type='checkbox']):not([type='range']):not([type='radio']) {
  height: 36px;
  font-size: 14px;
  padding: 0 14px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  transition: var(--sale-transition);
}
.sales_body input:not([type='checkbox']):focus:not([type='range']):focus:not([type='radio']):focus {
  outline: none;
  border-color: var(--sale-primary-light);
  box-shadow: 0 0 0 3px rgba(36, 76, 177, 0.1);
}

/* 버튼 재설정 */
.sales_body .btn {
  border: 1px solid #e2e8f0;
  min-width: 0;
  min-height: 36px;
  padding: 0px 14px;
  font-size: 14px;
  border-radius: 8px;
  font-weight: 500;
  transition: var(--sale-transition);
  cursor: pointer;
}
.sales_body .btn:hover {
  border-color: var(--sale-primary-light);
  background: linear-gradient(135deg, rgba(36, 76, 177, 0.05) 0%, rgba(6, 182, 212, 0.05) 100%);
}
.sales_body .btn[class*='btn_']{
  border: none;
  background: var(--sale-primary);
  color: #fff;
}
.sales_body .btn[class*='btn_']:hover {
  background: var(--sale-primary-dark);
}



/* ----- 지도 위 상세정보 레이어 ----- */
/* ----- 지도 위 상세정보 레이어 ----- */
.sales_body .pointer_detail{
  display: none;
  position: relative;
  width: 320px;
  background: var(--sale-glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--sale-border-radius);
  padding: 20px;
  border: 1px solid var(--sale-glass-border);
  box-shadow: var(--sale-shadow-lg);
  z-index: 100;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.sales_body .pointer_detail::before { content: ''; position: absolute; z-index: -1; top: 0; left: 0; bottom: 0; right: 0; background: var(--sale-glass-bg); border-radius: var(--sale-border-radius);}
.sales_body .pointer_detail::after {
  position: absolute;
  top: 100%;
  z-index: 1;
  left: 50%;
  margin-left: -12px;
  width: 0;
  height: 0;
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  border-top: 16px solid rgba(255, 255, 255, 0.9);
  content: "";
  filter: drop-shadow(0 4px 6px rgba(0,0,0,0.15));
}

.sales_body .pointer_detail .bt_layer_close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 28px;
  height: 28px;
  background: #f3f4f6 url(/main/images/sub/sale_close.svg) no-repeat center center;
  border-radius: 50%;
  transition: var(--sale-transition);
}
.sales_body .pointer_detail .bt_layer_close:hover {
  background-color: #e5e7eb;
  transform: rotate(90deg);
}
.sales_body .pointer_detail .detail_inner{ cursor: pointer; }
.sales_body .pointer_detail .detail_header { }
.sales_body .pointer_detail .detail_header .addr1 { padding-right: 40px;}
.sales_body .pointer_detail .detail_header .addr1 .txt{
  display: inline-block;
  font-weight: 700;
  font-size: 15px;
  color: #1e293b;
  line-height: 1.3;
}
.sales_body .pointer_detail .detail_header .addr2{ margin-top: 8px; font-size: 14px;}
.sales_body .pointer_detail .detail_header .addr2 .txt{ color: #6b7280;}

.sales_body .pointer_detail .detail_body{ margin-top: 16px; padding-top: 16px; border-top: 1px solid rgba(0,0,0,0.06);}
.sales_body .pointer_detail ul{ display: flex; flex-wrap: wrap; gap: 8px;}
.sales_body .pointer_detail ul li{ display: inline-flex; align-items: center; font-size: 14px; line-height: 1.2; background: #f8fafc; padding: 6px 10px; border-radius: 8px;}
.sales_body .pointer_detail ul li::after{ content: ''; display: none;}
.sales_body .pointer_detail ul li .label{ color: #64748b; font-size: 13px; }
.sales_body .pointer_detail ul li .txt{ font-weight: 600; margin-left: 6px; color: #1e293b;}



/* ----- search_tools ----- */
.sales_body .search_tools{
  display: none; /* 지도 중앙 검색창 숨김 - 왼쪽 패널로 이동 */
  position: absolute;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  min-height: 56px;
  background: var(--sale-glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--sale-border-radius);
  padding: 10px 16px;
  border: 1px solid var(--sale-glass-border);
  box-shadow: var(--sale-shadow-lg);
  transition: var(--sale-transition);
}
.sales_body .search_tools:hover {
  box-shadow: var(--sale-shadow-hover);
  transform: translateX(-50%) translateY(-2px);
}
.sales_body .search_tools:focus-within {
  border-color: var(--sale-primary-light);
  box-shadow: var(--sale-shadow-hover), 0 0 0 3px rgba(36, 76, 177, 0.1);
}
.sales_body .search_tools .con_inner{ display: flex; gap: 12px; align-items: center;}
.sales_body .search_tools .busi_type{}
.sales_body .search_tools .bt_submit{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--sale-primary);
  transition: var(--sale-transition);
}
.sales_body .search_tools .bt_submit:hover{
  background: var(--sale-primary-dark);
}
.sales_body .search_tools .bt_submit:active{
  transform: scale(0.95);
}
.sales_body .search_tools .bt_submit::before{
  content: '';
  display: block;
  width: 20px;
  height: 20px;
  background: url(/main/images/sub/sale_search.svg) no-repeat center center;
  filter: brightness(0) invert(1);
}
@media screen and (max-width:1200px) {
  .sales_body .search_tools{ top: 20px; left: 20px; transform: none; }
  .sales_body .search_tools:hover { transform: translateY(-2px); }
}
@media screen and (max-width:860px) {
  .sales_body .search_tools{ top: 10px; left: 10px; width: calc( 100% - 20px); transform: none; border-radius: var(--sale-border-radius-sm);}
  .sales_body .search_tools:hover { transform: translateY(-2px); }
  .sales_body .search_tools .con_inner input{ flex: 1 1 0; min-width: 0;}
}
@media screen and (max-width:380px) {
  .sales_body .search_tools .con_inner{ gap: 8px;}
}



/* ----- pop_layer 공통----- */
/* ----- pop_layer 공통----- */
.sales_body .pop_layer{
  border: none;
  box-shadow: var(--sale-shadow-lg);
  background: #fff;
  border-radius: var(--sale-border-radius);
  overflow: hidden;
}
.sales_body .pop_layer .pop_header{ }
/* title */
.sales_body .pop_layer .pop_header .title{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  height: 44px;
  background: var(--sale-primary);
  border-bottom: none;
}
.sales_body .pop_layer .search_tab .pop_header .title{
  background: var(--sale-primary);
}
.sales_body .pop_layer .chatbot_tab .pop_header .title{
  background: var(--sale-chatbot-bg);
}
.sales_body .pop_layer .pop_header .title .txt{
  display: inline-block;
  padding-right: 16px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  color: #fff;
}
.sales_body .pop_layer .pop_header .title .txt .header_count{
  font-weight: 600;
  font-size: 12px;
  opacity: 0.9;
}

.sales_body .pop_layer .pop_header .title .bt_layer_close {
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  background: rgba(255,255,255,0.2) url(/main/images/sub/sale_close.svg) no-repeat center center;
  background-size: 14px;
  border-radius: 50%;
  filter: brightness(0) invert(1);
  transition: var(--sale-transition);
}
.sales_body .pop_layer .pop_header .title .bt_layer_close:hover {
  background-color: rgba(255,255,255,0.3);
  transform: rotate(90deg);
}
.sales_body .pop_layer .bt_layer_close { width: 24px; height: 24px; margin: 10px; background: url(/main/images/sub/sale_close.svg) no-repeat center center; position: absolute; right: 5px;}


/* count */
.sales_body .pop_layer .pop_header .count{
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 16px;
  height: 32px;
  border-bottom: 1px solid #e2e8f0;
  background: #f8fafc;
}
.sales_body .pop_layer .pop_header .count .txt{ display: flex; align-items: center; font-size: 13px; color: #64748b;}
.sales_body .pop_layer .pop_header .count .txt .num{ font-weight: 700; margin-left: 5px; color: var(--sale-primary); }
/* pop_body */
.sales_body .pop_layer .pop_body{ padding-bottom: 16px; }

/* 페이지 네이션 케스케이딩 */
.sales_body .pop_body .pagination { gap: 6px; margin-top: 16px; }
.sales_body .pop_body .pagination .page_ctrl {
  height: 32px;
  padding: 0 10px;
  border-radius: 4px;
  background: #f1f5f9;
  transition: var(--sale-transition);
}
.sales_body .pop_body .pagination .page_ctrl:hover { background: var(--sale-primary); color: #fff; }
.sales_body .pop_body .pagination .page_link {
  min-width: 32px;
  height: 32px;
  font-size: 13px;
  border-radius: 4px;
  transition: var(--sale-transition);
}
.sales_body .pop_body .pagination .page_link:hover { background: #f1f5f9; }
.sales_body .pop_body .pagination .page_link.active {
  background: var(--sale-primary);
  color: #fff;
  font-weight: 600;
}




/* ----- search_results_layer ----- */
/* ----- search_results_layer ----- */
.sales_body .pop_layer.search_results_layer{
  display: none;
  position: absolute;
  z-index: 10;
  top: 0px;
  left: 0px;
  width: 310px;
  height: calc(100%);
  background: #fff;
  transform: translateX(0);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--sale-shadow-lg);
  border: none;
  border-radius: 0;
}

/* 접기버튼 */
.sales_body .pop_layer.search_results_layer .bt_layer_collapse{
  position: absolute;
  top: 50%;
  right: 0;
  width: 24px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transform: translate(100%, -50%);
  background: var(--sale-primary);
  border-top-right-radius: 6px;
  border-bottom-right-radius: 6px;
  border: none;
  box-shadow: var(--sale-shadow-sm);
  transition: var(--sale-transition);
}
.sales_body .pop_layer.search_results_layer .bt_layer_collapse:hover {
  background: var(--sale-primary-dark);
}
.sales_body .pop_layer.search_results_layer .bt_layer_collapse::before{
  content: '';
  display: inline-flex;
  width: 20px;
  height: 20px;
  background: url(/main/images/sub/sale_collapse_arrow.svg) no-repeat center center;
  transform: rotate(-180deg);
  filter: brightness(0) invert(1);
}
.sales_body .pop_layer.search_results_layer .bt_layer_collapse::after{ display: none; }

/* 닫기버튼 */
/* .sales_body .pop_layer.search_results_layer .pop_header .title .bt_layer_close { display: none;} */


/* 접힘처리 */
.sales_body .pop_layer.search_results_layer.collapsed { transform: translateX(calc(-100%)); box-shadow: none;}
.sales_body .pop_layer.search_results_layer.collapsed .bt_layer_collapse::before{ transform: rotate(0deg); }

.sales_body .pop_layer.search_results_layer .pop_body{ height: calc(100% - 76px); }
.sales_body .pop_layer.search_results_layer .pop_body .result_list{ height: calc(100% - 60px); padding: 0; }
.sales_body .pop_layer.search_results_layer .pop_body .result_list .scroll_wrap{
  height: 100%;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(36, 76, 177, 0.3) transparent;
}
.sales_body .pop_layer.search_results_layer .pop_body .result_list .scroll_wrap::-webkit-scrollbar { width: 6px; }
.sales_body .pop_layer.search_results_layer .pop_body .result_list .scroll_wrap::-webkit-scrollbar-track { background: transparent; }
.sales_body .pop_layer.search_results_layer .pop_body .result_list .scroll_wrap::-webkit-scrollbar-thumb { background: rgba(36, 76, 177, 0.3); border-radius: 3px; }


.sales_body .pop_layer.search_results_layer .pop_body .result_list .item{
  padding: 16px 20px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  transition: var(--sale-transition);
  cursor: pointer;
}
.sales_body .pop_layer.search_results_layer .pop_body .result_list .item:hover {
  background: #f8fafc;
}
.sales_body .pop_layer.search_results_layer .pop_body .result_list .item.active{
  background: rgba(36, 76, 177, 0.06);
  border-left: 3px solid var(--sale-primary);
}

.sales_body .pop_layer.search_results_layer .pop_body .result_list .item .thumb{
  position: relative;
  width: 100%;
  height: 150px;
  border-radius: var(--sale-border-radius-sm);
  overflow: hidden;
  box-shadow: var(--sale-shadow-sm);
  background-color: #f8fafc;
  border: 1px solid var(--sale-border);
}
/* 썸네일 배지 (건물유형) */
.sales_body .pop_layer.search_results_layer .pop_body .result_list .item .thumb .badge{
  position: absolute;
  z-index: 10;
  top: 0;
  left: 0;
  padding: 5px 14px;
  color: #fff;
  background: linear-gradient(135deg, var(--sale-primary), var(--sale-primary-light));
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  text-align: center;
  border-bottom-right-radius: var(--sale-border-radius-sm);
  box-shadow: 0 2px 6px rgba(36, 76, 177, 0.35);
}
.sales_body .pop_layer.search_results_layer .pop_body .result_list .item .thumb img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--sale-transition);
}
.sales_body .pop_layer.search_results_layer .pop_body .result_list .item:hover .thumb img {
  transform: scale(1.05);
}

.sales_body .pop_layer.search_results_layer .pop_body .result_list .info_header { margin-top: 12px; margin-bottom: 8px;}
.sales_body .pop_layer.search_results_layer .pop_body .result_list .info_header .addr1 {font-size: 14px; }
.sales_body .pop_layer.search_results_layer .pop_body .result_list .info_header .addr1 .txt{
  display: inline-block;
  font-weight: 600;
  color: #1e293b;
  line-height: 1.3;
}

.sales_body .pop_layer.search_results_layer .pop_body .result_list .info_body{ }
.sales_body .pop_layer.search_results_layer .pop_body .result_list .info_body ul{ display: flex; flex-wrap: wrap; gap: 6px;}
.sales_body .pop_layer.search_results_layer .pop_body .result_list .info_body ul li{
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  line-height: 1.2;
  background: #f8fafc;
  padding: 5px 10px;
  border-radius: 6px;
}
.sales_body .pop_layer.search_results_layer .pop_body .result_list .info_body ul li::after{ display: none; }
.sales_body .pop_layer.search_results_layer .pop_body .result_list .info_body ul li .label{ color: #64748b; font-size: 11px; }
.sales_body .pop_layer.search_results_layer .pop_body .result_list .info_body ul li .txt{ font-weight: 600; margin-left: 5px; color: #1e293b; font-size: 12px; }
/* 주소 표시 */
.sales_body .pop_layer.search_results_layer .pop_body .result_list .info_address{
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.sales_body .pop_layer.search_results_layer .pop_body .result_list .info_address .txt{
  font-size: 16px;
  color: #64748b;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}
/* 지도 이동 버튼 */
.sales_body .pop_layer.search_results_layer .pop_body .result_list .info_address .btn-move-map{
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(36, 76, 177, 0.3);
  border-radius: 6px;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--sale-transition);
  position: relative;
}
.sales_body .pop_layer.search_results_layer .pop_body .result_list .info_address .btn-move-map::before{
  content: '';
  display: block;
  width: 18px;
  height: 18px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23244cb1'%3E%3Cpath d='M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5z'/%3E%3C/svg%3E") no-repeat center center;
  background-size: contain;
  opacity: 0.6;
}
.sales_body .pop_layer.search_results_layer .pop_body .result_list .info_address .btn-move-map:hover{
  background: rgba(36, 76, 177, 0.1);
  border-color: rgba(36, 76, 177, 0.5);
  transform: scale(1.1);
}
.sales_body .pop_layer.search_results_layer .pop_body .result_list .info_address .btn-move-map:hover::before{
  opacity: 1;
}

/* 매물 아이템 내부 레이아웃 */
.sales_body .pop_layer.search_results_layer .pop_body .result_list .item .item_inner{
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.sales_body .pop_layer.search_results_layer .pop_body .result_list .item .item_content{
  flex: 1;
  min-width: 0;
  cursor: pointer;
}
/* 위치 이동 버튼 */
.sales_body .pop_layer.search_results_layer .pop_body .result_list .item .btn_goto_location{
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--sale-transition);
  margin-top: 4px;
}
.sales_body .pop_layer.search_results_layer .pop_body .result_list .item .btn_goto_location:hover{
  background: var(--sale-primary);
  border-color: var(--sale-primary);
}
.sales_body .pop_layer.search_results_layer .pop_body .result_list .item .btn_goto_location::before{
  content: '';
  display: block;
  width: 18px;
  height: 18px;
  background: url(/main/images/sub/sale_locate.svg) no-repeat center center;
  background-size: contain;
  opacity: 0.7;
  transition: var(--sale-transition);
}
.sales_body .pop_layer.search_results_layer .pop_body .result_list .item .btn_goto_location:hover::before{
  filter: brightness(0) invert(1);
  opacity: 1;
}

/* 일반검색/챗봇검색 구분 */
.sales_body .pop_layer.search_results_layer .pop_header {
  cursor: pointer;
  background: #f8fafc;
  margin-bottom: 0;
  border-bottom: 1px solid #e2e8f0;
  transition: var(--sale-transition);
}
.sales_body .pop_layer.search_results_layer .pop_header:hover {
  background: #f1f5f9;
}
.sales_body .pop_layer.search_results_layer .pop_header.active {
  background: var(--sale-primary);
}
.sales_body .pop_layer.search_results_layer .pop_header.active .title .txt {
  color: #fff;
}
.sales_body .pop_layer.search_results_layer .toggle_area {height: calc(100%);}
.sales_body .pop_layer.search_results_layer .toggle_area > li {height: calc(5%);}
.sales_body .pop_layer.search_results_layer .toggle_area li.active {height: calc(90%)}
.sales_body .pop_layer.search_results_layer .toggle_area li .pop_body {display: none;}
.sales_body .pop_layer.search_results_layer .toggle_area li.active .pop_body {display: block;}
.sales_body .pop_layer.search_results_layer .toggle_area .chatbot_tab.dn {display: none;}

/* chatbot_tab 헤더 - search_tab 대비 구분되는 톤 */
.sales_body .pop_layer.search_results_layer .chatbot_tab .pop_header {
  background: #3a7bd5;
  border-bottom: 1px solid #2e6bc4;
}
.sales_body .pop_layer.search_results_layer .chatbot_tab .pop_header .title .txt {
  color: rgba(255,255,255,0.85);
}
.sales_body .pop_layer.search_results_layer .chatbot_tab .pop_header:hover {
  background: #3370c8;
}
.sales_body .pop_layer.search_results_layer .chatbot_tab.active .pop_header {
  background: #3a7bd5;
  border-bottom-color: #2e6bc4;
}
.sales_body .pop_layer.search_results_layer .chatbot_tab.active .pop_header .title .txt {
  color: #fff;
}
/* chatbot_tab X 닫기 버튼 - 헤더와 동일 톤 */
.sales_body .pop_layer.search_results_layer .chatbot_tab .bt_chatbot_tab_close {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  background: url(/main/images/sub/sale_close.svg) no-repeat center center;
  background-size: 20px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  filter: brightness(0) invert(1);
  transition: var(--sale-transition);
}
.sales_body .pop_layer.search_results_layer .chatbot_tab .bt_chatbot_tab_close:hover {
  background-color: rgba(255,255,255,0.35);
  transform: rotate(90deg);
}

/* ----- search_results_layer 30% 확대 오버라이드 ----- */
/* 패널 너비: 310 → 400 */
.sales_body .pop_layer.search_results_layer { width: 400px; }

/* 접기 버튼 */
.sales_body .pop_layer.search_results_layer .bt_layer_collapse { width: 31px; height: 62px; border-top-right-radius: 8px; border-bottom-right-radius: 8px; }
.sales_body .pop_layer.search_results_layer .bt_layer_collapse::before { width: 26px; height: 26px; }

/* 헤더 타이틀 */
.sales_body .pop_layer.search_results_layer .pop_header .title { padding: 0 20px; height: 57px; }
.sales_body .pop_layer.search_results_layer .pop_header .title .txt { padding-right: 20px; font-size: 18px; }
.sales_body .pop_layer.search_results_layer .pop_header .title .txt .header_count { font-size: 16px; }
.sales_body .pop_layer.search_results_layer .pop_header .title .bt_layer_close { width: 42px; height: 42px; background-size: 18px; }

/* 닫기 버튼 (absolute) - popup_notice_close 스타일 통일 */
.sales_body .pop_layer.search_results_layer > .bt_layer_close {
  display: none;
  width: 32px;
  height: 32px;
  margin: 13px;
  background: none;
  border: none;
  cursor: pointer;
  position: absolute;
  right: 5px;
  top: 0;
  z-index: 10;
}
.sales_body .pop_layer.search_results_layer > .bt_layer_close::before,
.sales_body .pop_layer.search_results_layer > .bt_layer_close::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 2px;
  background: #fff;
  border-radius: 1px;
}
.sales_body .pop_layer.search_results_layer > .bt_layer_close::before { transform: translate(-50%, -50%) rotate(45deg); }
.sales_body .pop_layer.search_results_layer > .bt_layer_close::after  { transform: translate(-50%, -50%) rotate(-45deg); }
.sales_body .pop_layer.search_results_layer > .bt_layer_close:hover::before,
.sales_body .pop_layer.search_results_layer > .bt_layer_close:hover::after {
  background: #fca5a5;
}

/* 카운트 영역 */
.sales_body .pop_layer.search_results_layer .pop_header .count { padding: 0 20px; height: 42px; }
.sales_body .pop_layer.search_results_layer .pop_header .count .txt { font-size: 17px; }
.sales_body .pop_layer.search_results_layer .pop_header .count .txt .num { margin-left: 7px; }

/* 본문 영역 */
.sales_body .pop_layer.search_results_layer .pop_body { height: calc(100% - 99px); padding-bottom: 20px; }

/* 결과 리스트 */
.sales_body .pop_layer.search_results_layer .pop_body .result_list { height: calc(100% - 78px); }
.sales_body .pop_layer.search_results_layer .pop_body .result_list .scroll_wrap::-webkit-scrollbar { width: 8px; }

/* 리스트 아이템 */
.sales_body .pop_layer.search_results_layer .pop_body .result_list .item { padding: 21px 26px; }
.sales_body .pop_layer.search_results_layer .pop_body .result_list .item.active { border-left-width: 4px; }

/* 썸네일 */
.sales_body .pop_layer.search_results_layer .pop_body .result_list .item .thumb { height: 195px; }
.sales_body .pop_layer.search_results_layer .pop_body .result_list .item .thumb .badge { padding: 7px 18px; font-size: 17px; }

/* 정보 헤더 */
.sales_body .pop_layer.search_results_layer .pop_body .result_list .info_header { margin-top: 16px; margin-bottom: 10px; }
.sales_body .pop_layer.search_results_layer .pop_body .result_list .info_header .addr1 { font-size: 18px; }

/* 정보 본문 태그 */
.sales_body .pop_layer.search_results_layer .pop_body .result_list .info_body ul { gap: 8px; }
.sales_body .pop_layer.search_results_layer .pop_body .result_list .info_body ul li { font-size: 16px; padding: 7px 13px; border-radius: 8px; }
.sales_body .pop_layer.search_results_layer .pop_body .result_list .info_body ul li .label { font-size: 14px; }
.sales_body .pop_layer.search_results_layer .pop_body .result_list .info_body ul li .txt { font-size: 16px; margin-left: 7px; }

/* 주소 영역 */
.sales_body .pop_layer.search_results_layer .pop_body .result_list .info_address { margin-top: 10px; padding-top: 10px; gap: 10px; }
.sales_body .pop_layer.search_results_layer .pop_body .result_list .info_address .txt { font-size: 14px; }

/* 지도이동 버튼 */
.sales_body .pop_layer.search_results_layer .pop_body .result_list .info_address .btn-move-map { width: 36px; height: 36px; border-radius: 8px; }
.sales_body .pop_layer.search_results_layer .pop_body .result_list .info_address .btn-move-map::before { width: 23px; height: 23px; }

/* 아이템 내부 레이아웃 */
.sales_body .pop_layer.search_results_layer .pop_body .result_list .item .item_inner { gap: 16px; }
.sales_body .pop_layer.search_results_layer .pop_body .result_list .item .btn_goto_location { width: 47px; height: 47px; border-radius: 10px; margin-top: 5px; }
.sales_body .pop_layer.search_results_layer .pop_body .result_list .item .btn_goto_location::before { width: 23px; height: 23px; }

/* 패널 내 검색박스 */
.sales_body .pop_layer.search_results_layer .panel-search-box { gap: 10px; margin: 10px 13px 16px; }
.sales_body .pop_layer.search_results_layer .panel-search-box input { height: 44px; padding: 0 16px; border-radius: 8px; font-size: 17px; }
.sales_body .pop_layer.search_results_layer .panel-search-box .btn-panel-search { width: 44px; height: 44px; border-radius: 8px; }
.sales_body .pop_layer.search_results_layer .panel-search-box .btn-panel-search::before { width: 21px; height: 21px; }

/* 필터 행 */
.sales_body .pop_layer.search_results_layer .filter-row { gap: 13px; padding: 16px 13px 12px; margin-bottom: 0; }
.sales_body .pop_layer.search_results_layer .filter-row .filter-item label { font-size: 14px; margin-bottom: 5px; }
.sales_body .pop_layer.search_results_layer .filter-row .filter-item select { height: 42px; padding: 0 10px; font-size: 16px; border-radius: 8px; }
.sales_body .pop_layer.search_results_layer .filter-row .region-selects { gap: 8px; }

/* 챗봇 필터 패널 */
.sales_body .pop_layer.search_results_layer .filter-panel.compact { padding: 18px; padding-top: 26px; }
.sales_body .pop_layer.search_results_layer .filter-group { margin-bottom: 16px; }
.sales_body .pop_layer.search_results_layer .filter-group label,
.sales_body .pop_layer.search_results_layer .filter-group .group-label { font-size: 18px; margin-left: 7px; margin-bottom: 10px; }
.sales_body .pop_layer.search_results_layer .filter-group select { height: 47px; margin-left: 7px; padding: 7px 13px; font-size: 16px; border-radius: 8px; }

/* 페이지네이션 */
.sales_body .pop_layer.search_results_layer .pagination { gap: 8px; margin-top: 21px; }
.sales_body .pop_layer.search_results_layer .pagination .page_ctrl { height: 42px; padding: 0 13px; border-radius: 5px; }
.sales_body .pop_layer.search_results_layer .pagination .page_link { min-width: 42px; height: 42px; font-size: 17px; border-radius: 5px; }


@media screen and (max-width:860px) {

  .sales_body .pop_layer.search_results_layer{ display: none; }
  .sales_body .pop_layer.search_results_layer{  position: fixed; z-index: 2000; top: 60px; left: 0px; width: 100%; height: calc(100vh - 60px); height: calc(100dvh - 60px); }
  /* 접기버튼 */
  .sales_body .pop_layer.search_results_layer .bt_layer_collapse{ display: none;}
  /* 닫기버튼 */
  .sales_body .pop_layer.search_results_layer .pop_header .title .bt_layer_close { display: block; width: 28px; height: 28px; background-size: 12px; }
  /* 모바일: 페이지네이션 숨김 (무한스크롤 사용) */
  .sales_body .pop_layer.search_results_layer .pagination { display: none !important; }

  /* 모바일: pop_header 축소 */
  .sales_body .pop_layer.search_results_layer .pop_header .title { height: 36px; padding: 0 10px; }
  .sales_body .pop_layer.search_results_layer .pop_header .title .txt { font-size: 14px; padding-right: 10px; }
  .sales_body .pop_layer.search_results_layer .pop_header .title .txt .header_count { font-size: 12px; }

  /* 모바일: pop_body 높이 조정 */
  .sales_body .pop_layer.search_results_layer .pop_body { height: calc(100% - 36px); padding-bottom: 0; }

  /* 모바일: 필터 축소 */
  .sales_body .pop_layer.search_results_layer .filter-row { gap: 8px; padding: 8px 10px 8px; margin-bottom: 0; }
  .sales_body .pop_layer.search_results_layer .filter-row .filter-item label { font-size: 10px; margin-bottom: 2px; }
  .sales_body .pop_layer.search_results_layer .filter-row .filter-item select { height: 30px; padding: 0 6px; font-size: 12px; border-radius: 4px; }
  .sales_body .pop_layer.search_results_layer .filter-row .region-selects { gap: 4px; }

  /* 모바일: 검색박스 축소 */
  .sales_body .pop_layer.search_results_layer .panel-search-box { gap: 6px; margin: 6px 10px 8px; }
  .sales_body .pop_layer.search_results_layer .panel-search-box input { height: 32px; padding: 0 10px; border-radius: 4px; font-size: 13px; }
  .sales_body .pop_layer.search_results_layer .panel-search-box .btn-panel-search { width: 32px; height: 32px; border-radius: 4px; }
  .sales_body .pop_layer.search_results_layer .panel-search-box .btn-panel-search::before { width: 14px; height: 14px; }

  /* 모바일: 결과 리스트 높이 최대화 */
  .sales_body .pop_layer.search_results_layer .pop_body .result_list { height: calc(100% - 100px); }

  /* 상세모달 or 챗봇 전체화면 시 뒤쪽 GPU 레이어 숨김 (Android Chrome 플리커 방지) */
  body.sale_detail_modal_open .sales_body .pop_layer.search_results_layer,
  body.sale_detail_modal_open .sales_body .pop_layer.soc_pop_layer,
  body.sale_detail_modal_open .sales_body .pointer_detail,
  body.sale_detail_modal_open .sales_body .map_expend_control,
  body.sale_detail_modal_open .sales_body .mobile_bottom_navi,
  body.sale_detail_modal_open .sales_body .map_type_list,
  body.sale_detail_modal_open .sales_body .locate_tools,
  body.sale_detail_modal_open .sales_body .map_controls,
  body.sale_chatbot_fullscreen .sales_body .pop_layer.search_results_layer,
  body.sale_chatbot_fullscreen .sales_body .pop_layer.soc_pop_layer,
  body.sale_chatbot_fullscreen .sales_body .pointer_detail,
  body.sale_chatbot_fullscreen .sales_body .map_expend_control,
  body.sale_chatbot_fullscreen .sales_body .mobile_bottom_navi,
  body.sale_chatbot_fullscreen .sales_body .map_type_list,
  body.sale_chatbot_fullscreen .sales_body .locate_tools,
  body.sale_chatbot_fullscreen .sales_body .map_controls {
    display: none !important;
  }

}



/* ----- soc_pop_layer ----- */
/* ----- soc_pop_layer ----- */
.sales_body .pop_layer.soc_pop_layer{
  display: none;
  position: absolute;
  z-index: 10;
  top: 20px;
  right: 20px;
  width: 360px;
  height: 620px;
  max-height: calc(100% - 120px);
  background: #fff;
  border-radius: var(--sale-border-radius);
  box-shadow: var(--sale-shadow-lg);
  overflow: hidden;
}

.sales_body .pop_layer.soc_pop_layer.active{
  display: block;
}

.sales_body .pop_layer.soc_pop_layer .pop_header .title{ cursor: move;}
.sales_body .pop_layer.soc_pop_layer .pop_header .title:hover{ filter: brightness(1.05);}

.sales_body .pop_layer.soc_pop_layer .pop_body{ height: calc(100% - 76px); }
.sales_body .pop_layer.soc_pop_layer .pop_body .result_list{ height: calc(100%); padding: 0; }
.sales_body .pop_layer.soc_pop_layer .pop_body .result_list .scroll_wrap{
  height: 100%;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(36, 76, 177, 0.3) transparent;
}


.sales_body .pop_layer.soc_pop_layer .pop_body .result_list .item{
  padding: 16px 20px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  transition: var(--sale-transition);
}
.sales_body .pop_layer.soc_pop_layer .pop_body .result_list .item:hover {
  background: #f8fafc;
}
.sales_body .pop_layer.soc_pop_layer .pop_body .result_list .item.active{
  background: rgba(36, 76, 177, 0.06);
}


.sales_body .pop_layer.soc_pop_layer .pop_body .result_list .info_header {}
.sales_body .pop_layer.soc_pop_layer .pop_body .result_list .info_header .title1 {
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.sales_body .pop_layer.soc_pop_layer .pop_body .result_list .info_header .title1 img{
  width: 26px;
  height: 26px;
  padding: 4px;
  background: rgba(36, 76, 177, 0.08);
  border-radius: 6px;
}
.sales_body .pop_layer.soc_pop_layer .pop_body .result_list .info_header .title1 .txt{
  display: inline-block;
  font-weight: 600;
  color: #1e293b;
  line-height: 1;
}

.sales_body .pop_layer.soc_pop_layer .pop_body .result_list .info_body{ margin-top: 12px;}
.sales_body .pop_layer.soc_pop_layer .pop_body .result_list .info_body ul{ }
.sales_body .pop_layer.soc_pop_layer .pop_body .result_list .info_body ul li{ line-height: 1;}
.sales_body .pop_layer.soc_pop_layer .pop_body .result_list .info_body ul li + li{ margin-top: 8px;}
.sales_body .pop_layer.soc_pop_layer .pop_body .result_list .info_body ul li a {
  display: block;
  padding: 10px 12px;
  background: #f8fafc;
  border-radius: 8px;
  transition: var(--sale-transition);
}
.sales_body .pop_layer.soc_pop_layer .pop_body .result_list .info_body ul li a:hover {
  background: #f1f5f9;
  transform: translateX(4px);
}
.sales_body .pop_layer.soc_pop_layer .pop_body .result_list .info_body ul li .txt_row{ display: flex; justify-content: space-between; align-items: center; font-size: 14px; line-height: 1.2 !important;}
.sales_body .pop_layer.soc_pop_layer .pop_body .result_list .info_body ul li .txt_row .label{ font-weight: 600; color: #1e293b; }
.sales_body .pop_layer.soc_pop_layer .pop_body .result_list .info_body ul li .txt_row .txt{ color: var(--sale-primary); font-weight: 500; margin-left: 5px; }

@media all and (max-width:1500px){
	.sales_body .pop_layer.soc_pop_layer{ top: 20px; right: 20px; }
}

@media screen and (max-width:860px) {
  .sales_body .pop_layer.soc_pop_layer{
    display: none;
    position: fixed;
    z-index: 2000;
    top: 115px !important;
    left: 0px !important;
    right: auto !important;
    width: 100%;
    height: calc(100vh - 115px);
    height: calc(100dvh - 115px);
    border-radius: 0;
    box-shadow: none;
    border: none;
  }

  .sales_body .pop_layer.soc_pop_layer.active{ display: block; }

  .sales_body .pop_layer.soc_pop_layer .pop_header .title{ cursor: default;}
  .sales_body .pop_layer.soc_pop_layer .pop_header .title:hover{ filter: none; }
}

/* ----- 지도타입선택 ----- */
/* ----- 지도타입선택 ----- */

/* ------- 지도타입 선택---------------- */
.map_type_list{ position: absolute; top: 24px; right: 24px; }
.map_type_list .mobile_toggle{
  display: none;
  width: 48px;
  height: 48px;
  border-radius: var(--sale-border-radius-sm);
  background: var(--sale-glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--sale-glass-border);
  font-size: 15px;
  box-shadow: var(--sale-shadow-md);
  transition: var(--sale-transition);
}
.map_type_list .mobile_toggle:hover { transform: scale(1.05); }
.map_type_list .mobile_toggle.opened{ display: inline-flex; align-items: center; justify-content: center; }
.map_type_list .mobile_toggle.opened::before{ content: ''; display: inline-block; width: 24px; height: 24px; background: url(/main/images/sub/sale_close.svg) no-repeat center center; }
.map_type_list .mobile_toggle.opened .txt{ display: none;}


.map_type_list ul{ display: flex; gap: 8px;}
/* 타입버튼 */
.map_type_list ul li{ box-shadow: var(--sale-shadow-md); border-radius: var(--sale-border-radius-sm); overflow: hidden;}
.map_type_list ul li .bt{
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  width: 76px;
  height: 70px;
  background-color: #fff;
  border-radius: var(--sale-border-radius-sm);
  background-repeat: no-repeat;
  background-position: center top;
  overflow: hidden;
  transition: var(--sale-transition);
}
/* hover */
.map_type_list ul li .bt:hover {
  transform: translateY(-2px);
  box-shadow: var(--sale-shadow-hover);
}
.map_type_list ul li .bt .txt{
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 26px;
  color: #64748b;
  font-size: 13px;
  font-weight: 500;
  background: #f8fafc;
}
.map_type_list ul li .bt.bt1{ background-image: url(/main/images/sub/map_type_1.png);}
.map_type_list ul li .bt.bt2{ background-image: url(/main/images/sub/map_type_2.png);}
/* 활성화 */
.map_type_list ul li.active > .bt {
  box-shadow: inset 0px 0px 0px 2px var(--sale-primary);
}
.map_type_list ul li.active > .bt:before{
  content: "";
  position: absolute;
  top: 6px;
  right: 6px;
  width: 20px;
  height: 20px;
  background: var(--sale-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.map_type_list ul li.active > .bt:after{
  content: "✓";
  position: absolute;
  top: 6px;
  right: 6px;
  width: 22px;
  height: 22px;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.map_type_list ul li.active > .bt .txt{
  background: var(--sale-primary);
  color: #fff;
  font-weight: 600;
}

@media all and (max-width:1500px){
	.map_type_list{ top: 90px; right: 20px; }
}

@media all and (max-width:860px){
	.map_type_list{ top: 120px; right: 10px; }
	.map_type_list .mobile_toggle{ display: block;  }
	.map_type_list ul{ display: none; position: absolute; top: 0; right: 52px;}
	.map_type_list ul li{ }
	.map_type_list .mobile_toggle{ backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(255,255,255,0.97); }
	.map_type_list ul li .bt{
    width: 48px;
    height: 48px;
    border-radius: var(--sale-border-radius-sm);
    background-image: none !important;
    background: rgba(255,255,255,0.97);
    border: 1px solid var(--sale-glass-border);
  }
	.map_type_list ul li .bt .txt{ flex-direction: column; line-height: 1; width: 100%; height: 100%; font-size: 13px; background: transparent;}

  /* 활성화 */
	.map_type_list ul.on{ display: flex; gap: 8px;}
	.map_type_list ul li.active .bt:before{ display: none; }
  .map_type_list ul li.active .bt:after{ display: none; }
  .map_type_list ul li.active > .bt .txt { background: transparent; color: var(--sale-primary); }
}


/* ----- locate_tools ----- */
/* ----- locate_tools ----- */
.sales_body .locate_tools{ position: absolute; top: 24px; right: 220px; }
.sales_body .locate_tools .mobile_toggle{
  display: none;
  width: 48px;
  height: 48px;
  border-radius: var(--sale-border-radius-sm);
  background: var(--sale-glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--sale-glass-border);
  font-size: 15px;
  box-shadow: var(--sale-shadow-md);
  transition: var(--sale-transition);
}
.sales_body .locate_tools .mobile_toggle:hover { transform: scale(1.05); }
.sales_body .locate_tools .mobile_toggle.opened{ display: inline-flex; align-items: center; justify-content: center; }
.sales_body .locate_tools .mobile_toggle.opened::before{ content: ''; display: inline-block; width: 24px; height: 24px; background: url(/main/images/sub/sale_close.svg) no-repeat center center; }
.sales_body .locate_tools .mobile_toggle.opened .txt{ display: none;}

.sales_body .locate_tools .locate_select{
  position: relative;
  display: flex;
  align-items: center;
  background: var(--sale-glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--sale-border-radius);
  border: 1px solid var(--sale-glass-border);
  box-shadow: var(--sale-shadow-lg);
  overflow: hidden;
  transition: var(--sale-transition);
}
.sales_body .locate_tools .locate_select:hover {
  box-shadow: var(--sale-shadow-hover);
  transform: translateY(-2px);
}

.sales_body .locate_tools .locate_select .select_wrap { display: flex; align-items: center; padding: 0 12px; gap: 4px;}
.sales_body .locate_tools .locate_select .select_wrap select.custom_select{ max-width: 100px; text-overflow: ellipsis;}

.sales_body .locate_tools .locate_select .bt_submit{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 0;
  background: var(--sale-primary);
  transition: var(--sale-transition);
}
.sales_body .locate_tools .locate_select .bt_submit:hover{
  background: var(--sale-primary-dark);
}
.sales_body .locate_tools .locate_select .bt_submit::before{
  content: '';
  display: block;
  width: 24px;
  height: 24px;
  background: url(/main/images/sub/sale_locate.svg) no-repeat center center;
  filter: brightness(0) invert(1);
}


/* 패널 내 검색박스 */
.panel-search-box {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 8px 10px 12px;
}
.panel-search-box input {
  flex: 1;
  height: 34px;
  padding: 0 12px;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  background: #fff;
  font-size: 13px;
  color: #1e293b;
  outline: none;
  transition: var(--sale-transition);
}
.panel-search-box input:focus {
  border-color: var(--sale-primary);
  box-shadow: 0 0 0 2px rgba(36, 76, 177, 0.1);
}
.panel-search-box input::placeholder {
  color: #94a3b8;
}
.panel-search-box .btn-panel-search {
  width: 34px;
  height: 34px;
  border: none;
  background: var(--sale-primary);
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--sale-transition);
}
.panel-search-box .btn-panel-search:hover {
  background: var(--sale-primary-dark);
}
.panel-search-box .btn-panel-search::before {
  content: '';
  display: block;
  width: 16px;
  height: 16px;
  background: url(/main/images/sub/sale_search.svg) no-repeat center center;
  background-size: contain;
  filter: brightness(0) invert(1);
}

/* 필터 한줄 배치 */
.filter-row {
  display: flex;
  gap: 10px;
  padding: 12px 10px 12px;
  border-bottom: 1px solid #f1f5f9;
  margin-bottom: 0;
}
.filter-row .filter-item {
  flex: 1;
  min-width: 0;
}
.filter-row .filter-item.region {
  flex: 1.5;
}
.filter-row .filter-item label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: #64748b;
  margin-bottom: 4px;
}
.filter-row .filter-item select {
  width: 100%;
  height: 32px;
  padding: 0 8px;
  font-size: 12px;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  background: #fff;
  transition: var(--sale-transition);
}
.filter-row .filter-item select:focus {
  outline: none;
  border-color: var(--sale-primary);
}
.filter-row .region-selects {
  display: flex;
  gap: 6px;
}
.filter-row .region-selects select {
  flex: 1;
  min-width: 0;
}

/* 기존 필터 스타일 유지 (다른 페이지용) */
.filter-panel .compact     { padding: 14px; padding-top: 20px; background: #fff; border: 1px solid #e5e7eb; box-sizing: border-box; border-radius: var(--sale-border-radius-sm); }
.filter-group              { margin-bottom: 12px; }
.filter-group label,
.filter-group .group-label { display: block; font-size: 14px; font-weight: 700; color: #1e293b; margin-left: 5px; margin-bottom: 8px; }
.filter-group select       { width: calc(100% - 10px); height: 36px; margin-left: 5px; padding: 5px 10px; font-size: 12px; border: 1px solid #e2e8f0; border-radius: 6px; transition: var(--sale-transition);}
.region-grid               { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.region-grid .full         { grid-column: 1 / -1; }
.filter-group select:focus { outline: none; border-color: var(--sale-primary); box-shadow: 0 0 0 2px rgba(36, 76, 177, 0.15);}
@media all and (max-width:1500px){
	.sales_body .locate_tools{ right: 20px; }
}

@media screen and (max-width:860px) {
  .sales_body .locate_tools{ top: 70px; right: 10px; }
  .sales_body .locate_tools .mobile_toggle{ display: block; backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(255,255,255,0.97); }
  .sales_body .locate_tools .locate_select{ backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(255,255,255,0.97); }
  .sales_body .locate_tools .locate_select{ display: none; position: absolute; top: 0; right: 52px; border-radius: var(--sale-border-radius-sm); }
  .sales_body .locate_tools .locate_select .select_wrap { display: flex; align-items: center; padding: 0 8px;}
  .sales_body .locate_tools .locate_select .select_wrap select.custom_select{ max-width: 73px; font-size: 14px; }
  .sales_body .locate_tools .locate_select .bt_submit{ width: 42px; height: 42px; }
  /* on 활성화 */
  .sales_body .locate_tools .locate_select.active{ display: flex; }
}




/* ----- map_controls ----- */
/* ----- map_controls ----- */
.sales_body .map_controls{
  position: absolute;
  bottom: 24px;
  right: 24px;
  background: var(--sale-glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--sale-border-radius);
  border: 1px solid var(--sale-glass-border);
  box-shadow: var(--sale-shadow-lg);
  overflow: hidden;
}
.sales_body .map_controls .item{ border-bottom: 1px solid rgba(0,0,0,0.06); }
.sales_body .map_controls .item:last-child{ border: none; }
.sales_body .map_controls .item .bt{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: transparent;
  transition: var(--sale-transition);
}
.sales_body .map_controls .item .bt:hover{
  background: rgba(36, 76, 177, 0.08);
}
.sales_body .map_controls .item .bt:active{
  transform: scale(0.92);
}
.sales_body .map_controls .item .bt::before{
  content: '';
  display: block;
  width: 22px;
  height: 22px;
  opacity: 0.7;
  transition: var(--sale-transition);
}
.sales_body .map_controls .item .bt:hover::before{ opacity: 1; }
.sales_body .map_controls .item.plus .bt::before{ background: url(/main/images/sub/sale_ctrl_plus.svg) no-repeat center center; }
.sales_body .map_controls .item.minus .bt::before{ background: url(/main/images/sub/sale_ctrl_minus.svg) no-repeat center center; }
.sales_body .map_controls .item.curr .bt::before{ background: url(/main/images/sub/sale_ctrl_curr.svg) no-repeat center center; }
.sales_body .map_controls .item.full .bt::before{ background: url(/main/images/sub/sale_ctrl_full.svg) no-repeat center center; }
.sales_body .map_controls .item.mouse .bt::before{ background: url(/main/images/sub/sale_ctrl_mouse.svg) no-repeat center center; }
@media screen and (max-width:860px) {
  .sales_body .map_controls { bottom: 20px; right: 10px; border-radius: var(--sale-border-radius-sm); backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(255,255,255,0.97); }
  .sales_body .map_controls .item.plus { display: none; }
  .sales_body .map_controls .item.minus { display: none; }
  .sales_body .map_controls .item.full { display: none; }
  .sales_body .map_controls .item.mouse { display: none; }
}




/* ----- map_expend_control ----- */
/* ----- map_expend_control ----- */

.sales_body .map_expend_control{
  display: none;
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translate(-50%);
  background: var(--sale-glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--sale-border-radius);
  padding: 20px;
  border: 1px solid var(--sale-glass-border);
  box-shadow: var(--sale-shadow-lg);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* map_etc_tools */
.sales_body .map_etc_tools{ min-width: 360px; }


/* 모바일용 닫기버튼 */
.sales_body .map_etc_tools .mobile_layer_close {
  display: none;
  position: absolute;
  top: 16px;
  right: 16px;
  width: 28px;
  height: 28px;
  background: #f3f4f6 url(/main/images/sub/sale_close.svg) no-repeat center center;
  border-radius: 50%;
  transition: var(--sale-transition);
}
.sales_body .map_etc_tools .mobile_layer_close:hover {
  background-color: #e5e7eb;
  transform: rotate(90deg);
}


.sales_body .map_etc_tools .item{ }
.sales_body .map_etc_tools .item + .item{ border-top: 1px solid rgba(0,0,0,0.08); margin-top: 16px; padding-top: 16px; }

/* soc */
.sales_body .map_etc_tools .soc_box .soc_header{ display: flex; align-items: center; justify-content: space-between; }
.sales_body .map_etc_tools .soc_box .label{
  display: inline-flex;
  min-width: 100px;
  font-weight: 600;
  font-size: 14px;
  color: #1e293b;
}
.sales_body .map_etc_tools .soc_box .label .s_txt{ font-size: 13px; font-weight: 400; color: #64748b; }

/* range */
.sales_body .map_etc_tools .range_box .range_header{ display: flex; align-items: center; }
.sales_body .map_etc_tools .range_box .range_header .label{
  display: inline-flex;
  min-width: 100px;
  font-size: 14px;
  font-weight: 600;
  color: #1e293b;
}
.sales_body .map_etc_tools .range_box .range_header .label .s_txt{ font-size: 14px; font-weight: 500; }
.sales_body .map_etc_tools .range_box .range_header .curr_value{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 30px;
  min-width: 70px;
  background: rgba(36, 76, 177, 0.08);
  border: none;
  padding: 4px 10px;
  line-height: 1;
  text-align: center;
  border-radius: 4px;
  font-weight: 600;
  font-size: 13px;
  color: var(--sale-primary);
}
.sales_body .map_etc_tools .range_box .range_header .unit{ margin-left: 6px; color: #64748b; }


/* range 드래그바 커스텀 */
/* 범위 레이블 */
.sales_body .map_etc_tools .range_box .range_bar_wrap { position: relative; margin-top: 14px; margin-bottom: 10px; }
.sales_body .map_etc_tools .range_box .range_bar_wrap .range_label { display: flex; justify-content: space-between; margin-bottom: 10px; font-size: 12px; color: #94a3b8; }
/* 드래그바 커스텀*/
.sales_body .map_etc_tools .rangeslider--horizontal {
  height: 6px;
  width: 100%;
  box-shadow: none;
  background: linear-gradient(90deg, #e2e8f0 0%, #e2e8f0 100%);
  border-radius: 3px;
}
.sales_body .map_etc_tools .rangeslider--horizontal .rangeslider__fill {
  box-shadow: none;
  background: var(--sale-primary);
  border-radius: 3px;
}
/* 핸들 */
.sales_body .map_etc_tools .range_box .rangeslider__handle {
  background: var(--sale-primary) !important;
  border: 2px solid #fff !important;
  width: 18px !important;
  height: 18px !important;
  box-shadow: var(--sale-shadow-sm) !important;
  transition: var(--sale-transition);
}
.sales_body .map_etc_tools .range_box .rangeslider__handle:hover {
  transform: scale(1.1);
}
.sales_body .map_etc_tools .range_box .rangeslider__handle::after { display: none; }
/* 포커스 */
.sales_body .map_etc_tools .range_box input[type=range]:focus+.rangeslider .rangeslider__handle {
  box-shadow: var(--sale-shadow-md), 0 0 0 4px rgba(36, 76, 177, 0.2) !important;
  outline: none;
}
.sales_body .map_etc_tools .rangeslider--horizontal .rangeslider__handle { top: -8px; }

/* pc전용 collapsed */
/* 접기버튼 */
.sales_body .map_expend_control .bt_layer_collapse {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8fafc;
  border-radius: 50%;
  transition: var(--sale-transition);
}
.sales_body .map_expend_control .bt_layer_collapse:hover {
  background: #f1f5f9;
}
.sales_body .map_expend_control .bt_layer_collapse:after{
  content: '';
  display: inline-block;
  width: 16px;
  height: 16px;
  background: url(/main/images/common/select_arrow_down.svg) no-repeat center center;
  background-size: contain;
}
/* 펼침버튼 */
.sales_body .map_expend_control .bt_layer_expend{
  display: none;
  align-items: center;
  background: var(--sale-glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--sale-border-radius);
  padding: 12px 20px;
  font-weight: 600;
  font-size: 14px;
  color: var(--sale-primary);
  transition: var(--sale-transition);
}
.sales_body .map_expend_control .bt_layer_expend:hover {
  transform: translateY(-2px);
  box-shadow: var(--sale-shadow-hover);
}
.sales_body .map_expend_control .bt_layer_expend:after{
  content: '';
  display: inline-block;
  width: 16px;
  height: 16px;
  background: url(/main/images/common/select_arrow_down.svg) no-repeat center center;
  background-size: contain;
  transform: rotate(180deg);
  margin-left: 8px;
}

/* pc전용 collapsed 처리 */
/* pc전용 collapsed 처리 */
.sales_body .map_expend_control.collapsed{ padding: 0px; background: transparent; backdrop-filter: none; border: none; box-shadow: none; }
.sales_body .map_expend_control.collapsed .map_etc_tools{ display: none;}
.sales_body .map_expend_control.collapsed .bt_layer_collapse {display: none;}
.sales_body .map_expend_control.collapsed .bt_layer_expend{ display: inline-flex;}

@media screen and (max-width:860px) {
  .sales_body .map_expend_control{ bottom: 20px; left: 10px;  transform: none; width: calc(100% - 20px); backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(255,255,255,0.97); }

  /* 모바일용 닫기버튼 */
  .sales_body .map_etc_tools .mobile_layer_close { display: block;}


  /* map_etc_tools */
  .sales_body .map_etc_tools{ min-width: 0;}
  .sales_body .map_etc_tools .item + .item{ margin-top: 8px; padding-top: 8px; }
  /* soc */
  .sales_body .map_etc_tools .soc_box .label{ min-width: 100px;  font-size: 14px;  }
  .sales_body .map_etc_tools .soc_box .label .s_txt{ font-size: 14px; }
  /* range */
  .sales_body .map_etc_tools .range_box .range_header .label{ min-width: 100px;  font-size: 14px; }
  .sales_body .map_etc_tools .range_box .range_header .curr_value{ display: inline-flex; align-items: center; font-size: 14px; justify-content: center;}

  /* range 드래그바 커스텀 */
  /* 범위 레이블 */
  .sales_body .map_etc_tools .range_box .range_bar_wrap { }
  .sales_body .map_etc_tools .range_box .range_bar_wrap .range_label { display: none;  margin-bottom: 8px; font-size: 12px; }

  /* pc전용 collapsed */
  .sales_body .map_expend_control .bt_layer_collapse { display: none;}
  .sales_body .map_expend_control .bt_layer_expend{ display: none !important; }


}




/* ----- 모바일 전용 플로팅 원형 버튼 ----- */
/* ----- 모바일 전용 플로팅 원형 버튼 ----- */
.sales_body .mobile_bottom_navi{
  display: none;
}

@media screen and (max-width:860px) {
  .sales_body .mobile_bottom_navi{
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: fixed;
    bottom: 120px;
    right: 10px;
    left: auto;
    z-index: 5000;
    align-items: center;
  }
  .sales_body .mobile_bottom_navi .bt_floating{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid transparent;
    background-origin: border-box;
    background-image: linear-gradient(#ffffff, #ffffff), linear-gradient(225deg, #007AFF, #00CAE0);
    background-clip: content-box, border-box;
    color: #007AFF;
  }
  .sales_body .mobile_bottom_navi .bt_floating:active{
    transform: scale(0.9);
  }
  .sales_body .mobile_bottom_navi .bt_floating:hover{
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
  }
  .sales_body .mobile_bottom_navi .bt_floating svg{
    width: 20px;
    height: 20px;
    stroke: #007AFF;
  }
  .sales_body .mobile_bottom_navi .bt_floating .txt{
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    color: #007AFF;
    margin-top: 2px;
  }
  /* 지도화면이 아닐 때 (목록/SOC 패널 열려있을 때) 숨김 */
  .sales_body .mobile_bottom_navi.hidden{
    display: none;
  }
}



/* 매물 모달 */
/* 매물 모달 */
/* ----- 매물 상세보기 모달속 개별 컨텐츠 ------ */
/* ----- 매물 상세보기 모달속 개별 컨텐츠 ------ */
.sale_map_modal.sale_modal_001{
  border-radius: var(--sale-border-radius-lg);
  overflow: hidden;
  z-index: 6000;
}

.sale_modal_001 .modal_head {
  background: var(--sale-primary);
  padding: 16px 20px;
}
.sale_modal_001 .modal_head .tit {
  color: #fff;
  font-size: 16px;
  font-weight: 600;
}

.sale_modal_001 .modal_body {
  padding: 0;
  border-radius: 0;
}
.sale_modal_001 .modal_body .scroll_inner {
  padding: 20px;
  max-height: calc(100vh - 250px);
}

.sale_modal_001 .normal_table{
  margin-bottom: 20px;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid #d1d5db;
}
.sale_modal_001 .normal_table table {
  border-collapse: collapse;
  width: 100%;
}
.sale_modal_001 .normal_table th,
.sale_modal_001 .normal_table td {
  border: 1px solid #e5e7eb;
  padding: 10px 12px;
  font-size: 14px;
  line-height: 1.4;
}
.sale_modal_001 .normal_table th {
  background: #f8fafc;
  font-weight: 600;
  color: #374151;
  text-align: left;
}
.sale_modal_001 .normal_table td {
  color: #1e293b;
  background: #fff;
}

.sale_modal_001 .img_ul{ display: flex; flex-wrap: wrap; gap: 12px;}
.sale_modal_001 .img_ul > li{ flex: 0 0 calc((100% - 24px) / 3);}

.sale_modal_001 .thumb{
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f1f5f9;
  aspect-ratio: 233/130;
  border-radius: var(--sale-border-radius-sm);
  overflow: hidden;
  transition: var(--sale-transition);
}
.sale_modal_001 .thumb:hover {
  transform: scale(1.02);
  box-shadow: var(--sale-shadow-md);
}
.sale_modal_001 .thumb img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--sale-transition);
}
.sale_modal_001 .thumb:hover img {
  transform: scale(1.05);
}

/* ===== 상세 이미지 갤러리 (detail-gallery) ===== */
.detail-gallery {
  margin-bottom: 20px;
}

/* 메인 이미지 */
.detail-gallery .gallery-main {
  position: relative;
  width: 100%;
  aspect-ratio: 16/10;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 12px;
}
.detail-gallery .gallery-main .main-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--sale-transition);
}

/* 썸네일 영역 */
.detail-gallery .gallery-thumbs {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* 썸네일 네비게이션 버튼 */
.detail-gallery .gallery-nav {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--sale-transition);
}
.detail-gallery .gallery-nav:hover {
  background: #f1f5f9;
  border-color: var(--sale-primary);
}
.detail-gallery .gallery-nav.disabled {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}
.detail-gallery .gallery-nav span {
  display: block;
  width: 8px;
  height: 8px;
  border-top: 2px solid #374151;
  border-right: 2px solid #374151;
}
.detail-gallery .gallery-prev span {
  transform: rotate(-135deg);
  margin-left: 2px;
}
.detail-gallery .gallery-next span {
  transform: rotate(45deg);
  margin-right: 2px;
}
.detail-gallery .gallery-nav:hover span {
  border-color: var(--sale-primary);
}

/* 썸네일 컨테이너 */
.detail-gallery .thumbs-container {
  flex: 1;
  overflow: hidden;
  position: relative;
}
.detail-gallery .thumbs-list {
  display: flex;
  gap: 8px;
  transition: transform 0.3s ease;
  list-style: none;
  margin: 0;
  padding: 0;
}

/* 썸네일 아이템 */
.detail-gallery .thumb-item {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--sale-transition);
  background: #f1f5f9;
}
.detail-gallery .thumb-item:hover {
  border-color: rgba(36, 76, 177, 0.4);
}
.detail-gallery .thumb-item.active {
  border-color: var(--sale-primary);
  box-shadow: 0 0 0 2px rgba(36, 76, 177, 0.2);
}
.detail-gallery .thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 반응형 */
@media all and (max-width: 600px) {
  .detail-gallery .gallery-main {
    aspect-ratio: 4/3;
  }
  .detail-gallery .thumb-item {
    width: 48px;
    height: 48px;
  }
  .detail-gallery .gallery-nav {
    width: 24px;
    height: 24px;
  }
  .detail-gallery .gallery-nav span {
    width: 6px;
    height: 6px;
  }
}

/* ===== 이미지 갤러리 ===== */
.sale_gallery {
  margin-bottom: 20px;
  padding: 12px;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
}

/* 메인 이미지 */
.sale_gallery .gallery_main {
  position: relative;
  width: 100%;
  aspect-ratio: 16/10;
  background: #1e293b;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  margin-bottom: 10px;
}
.sale_gallery .gallery_main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: var(--sale-transition);
}
.sale_gallery .gallery_main .gallery_counter {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 500;
}

/* 썸네일 슬라이더 */
.sale_gallery .gallery_thumbs {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* 네비게이션 버튼 */
.sale_gallery .gallery_nav {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  background: #fff;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--sale-transition);
}
.sale_gallery .gallery_nav:hover {
  background: var(--sale-primary);
  border-color: var(--sale-primary);
}
.sale_gallery .gallery_nav:hover::before {
  filter: brightness(0) invert(1);
}
.sale_gallery .gallery_nav:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.sale_gallery .gallery_nav:disabled:hover {
  background: #fff;
  border-color: #d1d5db;
}
.sale_gallery .gallery_nav:disabled:hover::before {
  filter: none;
}
.sale_gallery .gallery_nav::before {
  content: '';
  width: 14px;
  height: 14px;
  background: url(/main/images/common/select_arrow_down.svg) no-repeat center center;
  background-size: contain;
  transition: var(--sale-transition);
}
.sale_gallery .gallery_prev::before {
  transform: rotate(90deg);
}
.sale_gallery .gallery_next::before {
  transform: rotate(-90deg);
}

/* 썸네일 리스트 래퍼 */
.sale_gallery .gallery_thumbs_wrap {
  flex: 1;
  overflow: hidden;
  border-radius: 4px;
}
.sale_gallery .gallery_thumbs_list {
  display: flex;
  gap: 6px;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  list-style: none;
  margin: 0;
  padding: 0;
}
.sale_gallery .gallery_thumbs_list li {
  flex: 0 0 auto;
  width: 64px;
  height: 48px;
}
.sale_gallery .gallery_thumbs_list li button {
  width: 100%;
  height: 100%;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  background: #e5e7eb;
  transition: var(--sale-transition);
}
.sale_gallery .gallery_thumbs_list li button:hover {
  border-color: #94a3b8;
}
.sale_gallery .gallery_thumbs_list li.active button {
  border-color: var(--sale-primary);
}
.sale_gallery .gallery_thumbs_list li button img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===== 라이트박스 ===== */
.gallery_lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 10000;
  align-items: center;
  justify-content: center;
}
.gallery_lightbox.active {
  display: flex;
}

.gallery_lightbox .lightbox_inner {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gallery_lightbox .lightbox_inner img {
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 4px;
}

/* 라이트박스 네비게이션 */
.gallery_lightbox .lightbox_prev,
.gallery_lightbox .lightbox_next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: var(--sale-transition);
  display: flex;
  align-items: center;
  justify-content: center;
}
.gallery_lightbox .lightbox_prev:hover,
.gallery_lightbox .lightbox_next:hover {
  background: rgba(255, 255, 255, 0.25);
}
.gallery_lightbox .lightbox_prev::before,
.gallery_lightbox .lightbox_next::before {
  content: '';
  width: 20px;
  height: 20px;
  background: url(/main/images/common/select_arrow_down.svg) no-repeat center center;
  background-size: contain;
  filter: brightness(0) invert(1);
}
.gallery_lightbox .lightbox_prev {
  left: -60px;
}
.gallery_lightbox .lightbox_prev::before {
  transform: rotate(90deg);
}
.gallery_lightbox .lightbox_next {
  right: -60px;
}
.gallery_lightbox .lightbox_next::before {
  transform: rotate(-90deg);
}

/* 라이트박스 닫기 버튼 */
.gallery_lightbox .lightbox_close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: var(--sale-transition);
}
.gallery_lightbox .lightbox_close:hover {
  background: rgba(255, 255, 255, 0.25);
}
.gallery_lightbox .lightbox_close::before {
  content: '✕';
  color: #fff;
  font-size: 16px;
}

/* 라이트박스 카운터 */
.gallery_lightbox .lightbox_counter {
  position: absolute;
  bottom: -36px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  font-weight: 500;
}

.sale_modal_001 .col_2_layout{ display: flex; gap: 16px; flex-wrap: wrap; margin-top: 16px; }
.sale_modal_001 .col_2_layout .col_item{ flex: 1 1 0; min-width: 280px; }

.sale_modal_001 .link_info{
  display: flex;
  align-items: center;
  padding: 12px 14px;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  margin-top: 16px;
}
.sale_modal_001 .link_info .ti{
  display: flex;
  align-items: center;
  font-weight: 600;
  font-size: 14px;
  margin-right: 12px;
  color: #374151;
  padding-left: 10px;
  border-left: 3px solid var(--sale-primary);
}
.sale_modal_001 .link_info .bt_wrap{
  display: flex;
  gap: 8px;
}
.sale_modal_001 .link_info .link{
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 6px 16px;
  border-radius: 4px;
  background: #fff;
  border: 1px solid #d1d5db;
  font-size: 13px;
  font-weight: 500;
  color: #374151;
  transition: var(--sale-transition);
}
.sale_modal_001 .link_info .link:hover {
  border-color: var(--sale-primary);
  background: rgba(36, 76, 177, 0.04);
}
.sale_modal_001 .link_info .link img{ margin-right: 6px; width: 16px; height: 16px; }

.sale_modal_001 .modal_foot {
  text-align: center;
  padding: 12px 0 16px;
  background: #fff;
}
.sale_modal_001 .btn_modal_close {
  display: inline-block;
  min-width: 120px;
  padding: 10px 32px;
  background: var(--sale-primary);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: var(--sale-transition);
}
.sale_modal_001 .btn_modal_close:hover {
  opacity: 0.85;
}

.sale_modal_001 .close_modal {
  width: 32px;
  height: 32px;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  transition: var(--sale-transition);
}
.sale_modal_001 .close_modal:hover {
  background: rgba(255,255,255,0.25);
}
.sale_modal_001 .close_modal::before {
  content: '✕';
  color: #fff;
  font-size: 14px;
}

/* 반응형 */
@media screen and (max-width:640px) {
  .sale_gallery {
    padding: 10px;
  }
  .sale_gallery .gallery_main {
    aspect-ratio: 4/3;
    border-radius: 4px;
  }
  .sale_gallery .gallery_thumbs_list li {
    width: 52px;
    height: 40px;
  }
  .sale_gallery .gallery_nav {
    width: 24px;
    height: 24px;
  }
  .sale_gallery .gallery_nav::before {
    width: 12px;
    height: 12px;
  }
  .gallery_lightbox .lightbox_prev,
  .gallery_lightbox .lightbox_next {
    width: 36px;
    height: 36px;
  }
  .gallery_lightbox .lightbox_prev {
    left: 10px;
  }
  .gallery_lightbox .lightbox_next {
    right: 10px;
  }
  .sale_modal_001 .img_ul>li { flex: 0 0 calc((100% - 12px) / 2); }
  .sale_modal_001 .col_2_layout{ gap: 12px; }
  .sale_modal_001 .col_2_layout .col_item{ flex: 1 1 100%; min-width: 0; }
  .sale_modal_001 .modal_body .scroll_inner { padding: 16px; max-height: calc(100vh - 220px); }
  .sale_modal_001 .modal_head { padding: 12px 16px; }
  .sale_modal_001 .modal_head .tit { font-size: 15px; }
  .sale_modal_001 .normal_table th,
  .sale_modal_001 .normal_table td { padding: 8px 10px; font-size: 13px; }
  .sale_map_modal .headding1 { font-size: 15px; }
  .sale_map_modal .headding2 { font-size: 13px; padding: 8px 12px; }
}


/* ==================== 빈집매물공개 안내 팝업 ==================================== */
.popup_notice_layer {
  position: fixed;
  z-index: 9999;
  left: 50%;
  top: 10%;
  transform: translateX(-50%);
  width: 600px;
  background: var(--sale-bg-white);
  border-radius: var(--sale-border-radius);
  box-shadow: var(--sale-shadow-lg);
  overflow: hidden;
}

/* 헤더 */
.popup_notice_header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  background: var(--sale-primary);
  color: #fff;
}
.popup_notice_title {
  font-size: 16px;
  font-weight: 700;
}
.popup_notice_close {
  width: 28px;
  height: 28px;
  background: transparent;
  border: none;
  cursor: pointer;
  position: relative;
}
.popup_notice_close::before,
.popup_notice_close::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 2px;
  background: #fff;
  border-radius: 1px;
}
.popup_notice_close::before { transform: translate(-50%, -50%) rotate(45deg); }
.popup_notice_close::after  { transform: translate(-50%, -50%) rotate(-45deg); }

/* 바디 */
.popup_notice_body {
  padding: 16px 20px;
  max-height: none;
  overflow-y: visible;
}

/* 섹션 (추진배경 / 주요내용) */
.notice_section {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--sale-border);
}
.notice_section:last-of-type {
  border-bottom: none;
  margin-bottom: 8px;
  padding-bottom: 0;
}
.notice_label {
  flex: 0 0 72px;
  padding: 5px 8px;
  background: var(--sale-primary);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  border-radius: 4px;
  line-height: 1.4;
  align-self: flex-start;
}
.notice_content {
  flex: 1;
  font-size: 13px;
  line-height: 1.6;
  color: var(--sale-text-dark);
}
.notice_content strong {
  color: var(--sale-primary);
  font-weight: 700;
  vertical-align: baseline;
}
.notice_ref {
  margin-top: 4px;
  font-size: 11px;
  color: var(--sale-text-gray);
}

/* 프로세스 플로우 */
.notice_process {
  margin-top: 4px;
}
.process_title {
  font-size: 13px;
  font-weight: 600;
  color: var(--sale-text-dark);
  text-align: center;
  margin-bottom: 8px;
}
.process_flow {
  display: flex;
  align-items: stretch;
  gap: 4px;
}
.process_step {
  flex: 1;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--sale-border);
}
.step_header {
  background: var(--sale-primary);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  text-align: center;
  padding: 5px 3px;
  line-height: 1.3;
}
.step_body {
  background: var(--sale-bg-light);
  font-size: 11px;
  color: var(--sale-text-dark);
  text-align: center;
  padding: 6px 4px;
  line-height: 1.4;
}
.step_body small {
  color: var(--sale-text-gray);
  font-size: 10px;
}
.process_arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: var(--sale-primary);
  flex: 0 0 14px;
}

/* 푸터 */
.popup_notice_footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  border-top: 1px solid var(--sale-border);
  background: var(--sale-bg-light);
}
.popup_notice_today {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--sale-text-gray);
  cursor: pointer;
}
.popup_notice_today input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--sale-primary);
  cursor: pointer;
}
.popup_notice_close_btn {
  padding: 6px 20px;
  background: var(--sale-primary);
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--sale-transition);
}
.popup_notice_close_btn:hover {
  background: var(--sale-primary-dark);
}

/* PC 50% 확대 */
@media all and (min-width: 769px) {
  .popup_notice_layer {
    width: 900px;
  }
  .popup_notice_header {
    padding: 18px 30px;
  }
  .popup_notice_title {
    font-size: 24px;
  }
  .popup_notice_close {
    width: 42px;
    height: 42px;
  }
  .popup_notice_close::before,
  .popup_notice_close::after {
    width: 24px;
    height: 3px;
  }
  .popup_notice_body {
    padding: 24px 30px;
  }
  .notice_section {
    gap: 18px;
    margin-bottom: 18px;
    padding-bottom: 18px;
  }
  .notice_label {
    flex: 0 0 108px;
    padding: 8px 12px;
    font-size: 20px;
    border-radius: 6px;
  }
  .notice_content {
    font-size: 20px;
  }
  .notice_ref {
    font-size: 16px;
    margin-top: 6px;
  }
  .process_title {
    font-size: 20px;
    margin-bottom: 12px;
  }
  .process_flow {
    gap: 6px;
  }
  .step_header {
    font-size: 16px;
    padding: 8px 5px;
  }
  .step_body {
    font-size: 16px;
    padding: 9px 6px;
  }
  .step_body small {
    font-size: 15px;
  }
  .process_arrow {
    flex: 0 0 20px;
    font-size: 18px;
  }
  .popup_notice_footer {
    padding: 15px 30px;
  }
  .popup_notice_today {
    font-size: 20px;
    gap: 9px;
  }
  .popup_notice_today input[type="checkbox"] {
    width: 24px;
    height: 24px;
  }
  .popup_notice_close_btn {
    padding: 9px 30px;
    font-size: 20px;
    border-radius: 6px;
  }
}

/* 모바일 반응형 - 원본값 명시 고정 */
@media all and (max-width: 768px) {
  .popup_notice_layer {
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 95%;
    border-radius: var(--sale-border-radius);
  }
  .popup_notice_header {
    padding: 12px 20px;
  }
  .popup_notice_title {
    font-size: 16px;
  }
  .popup_notice_close {
    width: 28px;
    height: 28px;
  }
  .popup_notice_close::before,
  .popup_notice_close::after {
    width: 16px;
    height: 2px;
  }
  .popup_notice_body {
    padding: 16px 20px;
    max-height: none;
  }
  .notice_section {
    gap: 12px;
    margin-bottom: 12px;
    padding-bottom: 12px;
  }
  .notice_label {
    flex: 0 0 72px;
    padding: 5px 8px;
    font-size: 13px;
    border-radius: 4px;
  }
  .notice_content {
    font-size: 13px;
  }
  .notice_ref {
    font-size: 11px;
    margin-top: 4px;
  }
  .process_title {
    font-size: 13px;
    margin-bottom: 8px;
  }
  .process_flow {
    flex-wrap: wrap;
    gap: 4px;
  }
  .process_step {
    flex: 1 1 40%;
  }
  .step_header {
    font-size: 11px;
    padding: 5px 3px;
  }
  .step_body {
    font-size: 11px;
    padding: 6px 4px;
  }
  .step_body small {
    font-size: 10px;
  }
  .process_arrow {
    flex: 0 0 10px;
    font-size: 10px;
  }
  .popup_notice_footer {
    padding: 10px 20px;
  }
  .popup_notice_today {
    font-size: 13px;
    gap: 6px;
  }
  .popup_notice_today input[type="checkbox"] {
    width: 16px;
    height: 16px;
  }
  .popup_notice_close_btn {
    padding: 6px 20px;
    font-size: 13px;
    border-radius: 4px;
  }
}










