.elementor-kit-5{--e-global-color-primary:#6EC1E4;--e-global-color-secondary:#54595F;--e-global-color-text:#7A7A7A;--e-global-color-accent:#61CE70;--e-global-color-3f4eb18:#2480df;--e-global-typography-primary-font-family:"Roboto";--e-global-typography-primary-font-weight:600;--e-global-typography-secondary-font-family:"Roboto Slab";--e-global-typography-secondary-font-weight:400;--e-global-typography-text-font-family:"Roboto";--e-global-typography-text-font-weight:400;--e-global-typography-accent-font-family:"Roboto";--e-global-typography-accent-font-weight:500;background-color:#FFFFFF00;}.elementor-kit-5 e-page-transition{background-color:#FFBC7D;}.elementor-section.elementor-section-boxed > .elementor-container{max-width:1500px;}.e-con{--container-max-width:1500px;--container-default-padding-top:0px;--container-default-padding-right:0px;--container-default-padding-bottom:0px;--container-default-padding-left:0px;}.elementor-widget:not(:last-child){--kit-widget-spacing:20px;}.elementor-element{--widgets-spacing:20px 20px;--widgets-spacing-row:20px;--widgets-spacing-column:20px;}{}h1.entry-title{display:var(--page-title-display);}@media(max-width:1024px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:1024px;}.e-con{--container-max-width:1024px;}}@media(max-width:767px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:767px;}.e-con{--container-max-width:767px;}}/* Start custom CSS *//* ===========================================================
   ✅ Zerobang 상세페이지 v6.4-opt (Elementor Custom CSS 버전)
   - Pretendard 폰트 + 2단 반응형
   - 썸네일 상단 고정 / 스티커 분리형
   - 여백, 색감, 폰트 완전 최적화
   =========================================================== */

:root {
  --zb-primary: #0076ff;
  --zb-secondary: #005ad1;
  --zb-bg: #f7f9fb;
  --zb-text: #222;
  --zb-border: #e5e7eb;
  --zb-radius: 14px;
}

/* 기본설정 */
body {
  font-family: 'Pretendard', sans-serif;
  background: var(--zb-bg);
  color: var(--zb-text);
  line-height: 1.6;
  font-size: 16px;
}

/* 레이아웃 구조 */
.zb-detail-wrap {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  max-width: 1180px;
  margin: 60px auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* 왼쪽 상세 설명 */
.zb-left {
  background: #fff;
  border-radius: var(--zb-radius);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  overflow: hidden;
}

.zb-description {
  padding: 28px;
  color: #333;
}

.zb-description img {
  width: 100%;
  border-radius: 10px;
  margin: 10px 0;
}

/* 오른쪽 카드 */
.zb-right {
  position: relative;
}

.zb-summary-card {
  position: sticky;
  top: 80px;
  background: #fff;
  border-radius: var(--zb-radius);
  padding: 24px 24px 30px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* 썸네일 상단 */
.zb-card-thumb {
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 14px;
}
.zb-card-thumb img {
  width: 100%;
  height: auto;
  display: block;
}

/* ✅ 스티커 컨테이너 */
.zb-sticker-wrap {
  display:flex;
  flex-wrap:wrap;
  gap:8px !important;   /* ← 간격 여기 수정 */
}

.zb-sticker-img {
  height:24px !important;
  width:auto !important;
  object-fit:contain;
  display:block;
}


/* 제목, 금액, 주소 */
.zb-title {
  font-size: 22px;
  font-weight: 700;
  color: #111;
  margin: 6px 0 10px;
  line-height: 1.4;
}

.zb-price {
  font-size: 20px;
  font-weight: 600;
  color: var(--zb-primary);
  margin-bottom: 6px;
}

.zb-address {
  font-size: 15px;
  color: #555;
  margin-bottom: 16px;
}

/* 정보 리스트 */
.zb-info-list {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  width: 100%;
  border-top: 1px solid var(--zb-border);
  border-bottom: 1px solid var(--zb-border);
}
.zb-info-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 0;
  border-bottom: 1px solid #f2f2f2;
  font-size: 15px;
}
.zb-info-list li span {
  color: #777;
}

/* 버튼 */
.zb-btn {
  display: inline-block;
  width: 100%;
  text-align: center;
  background: var(--zb-primary);
  color: #fff;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  padding: 13px 0;
  font-size: 16px;
  transition: all 0.2s ease;
  cursor: pointer;
}
.zb-btn:hover {
  background: var(--zb-secondary);
}

/* 문의 폼 */
.zb-contact-wrap {
  max-width: 800px;
  margin: 70px auto 40px;
  background: #fff;
  padding: 36px;
  border-radius: var(--zb-radius);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}
.zb-contact-wrap h3 {
  text-align: center;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 22px;
}
.zb-summary-grid input {
  width:100%;
  box-sizing:border-box;
}

#zb-contact-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
#zb-contact-form input,
#zb-contact-form textarea {
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 12px;
  font-family: inherit;
  font-size: 15px;
  width: 100%;
  box-sizing: border-box;
  transition: border 0.15s ease;
}
#zb-contact-form input:focus,
#zb-contact-form textarea:focus {
  outline: none;
  border-color: var(--zb-primary);
}
.zb-submit {
  margin-top: 6px;
}

/* 배너 */
.zb-banner {
  max-width: 1000px;
  margin: 40px auto 100px;
  padding: 20px;
  text-align: center;
  background: #f9fafb;
  border-radius: 12px;
  font-size: 15px;
  color: #555;
  box-shadow: 0 2px 10px rgba(0,0,0,.03);
}

/* 반응형 */
@media (max-width: 991px) {
  .zb-detail-wrap {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .zb-right {
    order: -1;
  }
  .zb-summary-card {
    position: relative;
    top: auto;
    width: 100%;
  }
  .zb-description {
    padding: 20px;
  }
  .zb-contact-wrap {
    margin-top: 40px;
    padding: 26px;
  }
 
}
@media (max-width:767px) {
    
  .zb-sticker-img {
    height:20px !important;
    width:auto !important; object-fit:contain; display:block; }
  }

/* 스크롤바 */
.zb-description::-webkit-scrollbar {
  width: 8px;
}
.zb-description::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 4px;
}
.zb-description {
  scroll-behavior: smooth;
}

/* ===========================================================
   ✅ Zerobang Header v2.3 (모바일 클린형)
   - PC: 로고 / 메뉴 / 문의 버튼
   - Mobile: 로고 / 햄버거 메뉴만 남기기
   - Pretendard 폰트, 최소 패딩
   =========================================================== */

:root {
  --zb-primary: #0076ff;
  --zb-secondary: #005ad1;
  --zb-text: #222;
  --zb-bg: #fff;
}

/* 전체 헤더 공통 */
header.elementor-location-header,
.elementor-location-header {
  background: var(--zb-bg);
  border-bottom: 1px solid #f3f4f6;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
  padding: 6px 0 !important;
  position: sticky;
  top: 0;
  z-index: 9999;
}

/* 내부 정렬 */
.elementor-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 64px;
}

/* 메뉴 기본 */
.elementor-nav-menu {
  display: flex;
  gap: 40px;
  font-family: 'Pretendard', sans-serif;
}
.elementor-nav-menu a {
  color: var(--zb-text);
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.25s ease;
}
.elementor-nav-menu a:hover {
  color: var(--zb-primary);
}

/* 문의 버튼 스타일 */
.elementor-button {
  background: var(--zb-primary);
  color: #fff;
  font-family: 'Pretendard', sans-serif;
  font-weight: 600;
  border-radius: 28px;
  padding: 10px 24px;
  transition: all 0.25s ease;
}
.elementor-button:hover {
  background: var(--zb-secondary);
}


}

/* 햄버거 버튼 색상 */
.elementor-menu-toggle {
  color: var(--zb-primary);
  font-size: 22px;
}

/* 모바일 메뉴 (드롭다운) */
.elementor-nav-menu--dropdown {
  background: #fff;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
  border-radius: 0 0 12px 12px;
}
.elementor-nav-menu--dropdown a {
  color: #333;
  padding: 14px 20px;
}
.elementor-nav-menu--dropdown a:hover {
  background: #f5f7fa;
  color: var(--zb-primary);
}

/* 사이트 컨테이너 폭 제한 해제 */
.elementor-section.elementor-section-boxed > .elementor-container {
  max-width: 100% !important;
  width: 100% !important;
}



/* ✅ 금액 반응형(한 줄, …) */
.zb-responsive-text{
  font-size: clamp(22px, 2vw, 32px);
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (max-width:1024px){ .zb-responsive-text{font-size:clamp(20px,3vw,28px);} }
@media (max-width:767px) { .zb-responsive-text{font-size:clamp(18px,4vw,24px);} }



/* 기본 chip */
.zb-trade-tag {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:50px;
  height:38px;
  padding:0 10px;
  border-radius:17px;
  color:#fff;
  font-weight:700;
  font-size:14px;
  white-space:nowrap;
  background:#E53935;
  border:1px solid transparent;
}





/* ✅ 카드 리스트 컨테이너 설정 */
.zb-card-container {
  display: flex !important;       /* ✅ 옆으로 나열 (Flex 시작) */
  flex-wrap: nowrap !important;   /* ✅ 줄바꿈 없음 → 위아래 쌓이지 않음 */

  gap: 20px
             /* ✅ 카드 간 간격 */

  overflow-x: auto;               /* ✅ 가로 스크롤 허용 → 화면 작으면 좌/우로 넘김 */
  overflow-y: hidden;             /* ✅ 세로 스크롤 제거 */

  scrollbar-width: thin;          /* ✅ 브라우저 기본 스크롤 얇게 */
}

.zb-trade-img {
  position:absolute;
  top: -1px;
  left:-1px;
  height:60px !important;
  width:auto !important;
  z-index:30;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.10));
}



/* ✅ 월세일 때만 금액 폰트 작게 */
.elementor-loop-item[data-trade*="월세"] .zb-address {
  font-size: 1px !important;
  font-weight: 600 !important;
  color: #0d47a1 !important;
}

/* ✅ 나머지 (분양/전세)는 기존 유지 */
.elementor-loop-item:not([data-trade*="월세"]) .zb-address {
  font-size: 26px !important;
  font-weight: 700 !important;
  color: #000 !important;
}


/*************************************************
 ✅ Zerobang — 지도형 단지 검색 레이아웃 (카드 항상 표시)
**************************************************/

#zbWrap {
  display:flex;
  width:100%;
  height:calc(100vh - 120px);
  min-height:400px;
  overflow-x:hidden !important;
  max-width:100vw;
}

html, body {
  overflow-x:hidden !important;
}

#zbList {
  flex:0 0 500px !important;
  max-width:500px !important;
  min-width:500px !important;
  overflow-y:auto;
  overflow-x:hidden !important;
  padding-right:4px;
  background:#fff;
  border-left:1px solid #eee;
  box-sizing:border-box;
}

#zbMap {
  flex:1 1 auto !important;
  width:auto !important;
  min-width:200px;
  background:#eee;
}

여기서 수정해줘ㅏ



/*************************************************
 ✅ Zerobang — 지도형 / PC 기본
**************************************************/
/* ================================
 ✅ Zerobang — PC 지도/카드 레이아웃 Fix
   - 지도 높이에 맞춰 매물카드 스크롤
   - 페이지 전체 스크롤 X
================================= */
@media (min-width:1025px){

  /* 전체 래퍼 — 화면 높이 맞추기 */
  #zbWrap {
    display:flex;
    width:100%;
    height:calc(100vh - 60px);   /* ← header 높이 맞게 조정 */
    max-height:calc(100vh - 60px);
    min-height:400px;
    overflow:hidden !important;
    max-width:100vw;
  }

  /* 전체 페이지 스크롤 제거 */
  html, body {
    overflow:hidden !important;
  }

  /* 매물카드 패널 — 내부만 스크롤 */
  #zbList {
    flex:0 0 520px !important;
    max-width:520px !important;
    min-width:520px !important;
    height:100% !important;
    max-height:100% !important;

    overflow-y:auto !important;
    overflow-x:hidden !important;

    padding-right:4px;
    background:#fff;
    border-left:1px solid #eee;
    box-sizing:border-box;
  }

  /* 지도 영역 */
  #zbMap {
    flex:1 1 auto !important;
    width:auto !important;
    min-width:200px;
    height:100% !important;
    background:#eee;
  }
}


/*************************************************
 ✅ 카드 기본 (PC)
**************************************************/
.zb-map-card {
  width:490px !important;
  min-width:490px !important;
  max-width:490px !important;
  flex-shrink:0 !important;
  display:flex;
  flex-direction:column;
  gap:0 !important;
  padding:4px 20px 0 !important;
  border:1px solid #dbdde1;
  border-radius:12px;
  cursor:pointer;
  background:#fff;
  transition:all .2s;
  box-sizing:border-box;
    overflow: hidden !important;
    

}



.zb-map-card:hover {
  background:#f9fafb;
}

/*************************************************
 ✅ 상단 스티커
**************************************************/
/*************************************************
 ✅ FINAL – 스티커 한 줄 + 위치 정상화
*************************************************/
.zb-map-card-badges {
  display:flex !important;
  align-items:center !important;
  gap:8px !important;
  flex-wrap:nowrap !important;
  margin:0 0 8px 0 !important;
  padding:0 !important;
}

/* 거래 스티커 (분양 / 전세 / 월세) */
.zb-map-card-badges .zb-trade-badge,
.zb-map-card-badges .zb-trade-badge img {
  position:relative !important;
  top:-3px !important;
  left:-10px !important;
  margin:0 !important;
  height:40px !important;   /* 너가 쓰던 PC 기준 */
  width:auto !important;
  display:block !important;
}

/* 일반 스티커 (즉시입주 / 혜택 등) */
.zb-map-card-badges .zb-sticker-badges img {
  position:relative !important;
   top:-10px !important;
  left:-20px !important;
  margin:0 !important;
  height:20px !important;   /* 기존 수치 유지 */
  width:auto !important;
  display:block !important;
}

/* 공통 shadow */
.zb-map-card-badges img {
  filter:drop-shadow(0 3px 2px rgba(0,0,0,0.10)) !important;
}


/*************************************************
 ✅ 단지명
**************************************************/
.zb-map-card-title {
  font-size:24px !important;
  margin:0 !important;
  margin-top:10px !important;  /* ← 가장 아래에 재정의 */
  font-weight:700;
  line-height:1.2;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}


/*************************************************
 ✅ 메인 구조 — 내용 | 썸네일
**************************************************/
/*************************************************
 ✅ PC 썸네일 레이아웃 (내용 | 썸네일)
**************************************************/
@media (min-width:1025px){
  .zb-map-card-main {
    display:grid !important;
    grid-template-columns:1fr 180px !important; /* ← 원하는 썸네일 폭 */
    gap:8px !important;
    align-items:flex-start !important;
  }

  .zb-map-card-thumb {
    width:180px !important;
    height:180px !important;
    border-radius:8px;
    overflow:hidden;

    /* ✅ 세로 위치만 조절 */
      transform: translate(10px, -52px) !important;

    display:flex !important;
    justify-content:center !important;
    align-items:center !important;
  }

  .zb-map-card-thumb img {
    width:100% !important;
    height:100% !important;
    object-fit:cover !important;
  }
}


/*************************************************
 ✅ 왼쪽 정보
**************************************************/
.zb-map-card-left {
  display:flex;
  flex-direction:column;
  gap:4px !important;
  padding-top:0px !important;
  justify-content:flex-start !important;
}

.zb-benefit {
  display:inline-block;
  background:#e53935;
  color:#fff;
  font-size:18px;
  font-weight:500;
  padding:0px 6px;
  border-radius:8px;
  width:fit-content;
  position: relative;
  top: -4px;
}

.zb-map-card-price {
  font-size:33px !important;
  font-weight:700;
  color:#0067e5;
  padding-left:6px !important;
}

.zb-map-card-summary {
  font-size:13px;
  font-weight:500;
  color:#555;
}

.zb-map-card-addr {
  font-size:13px;
  font-weight:500;
  color:#666;
}

.zb-map-card-comment {
  font-size:20px;
  font-weight:600;
  color:#0067e5;
  line-height:1.3;
  margin-bottom:0 !important;
    margin-top:5px !important;
  display:-webkit-box;
  -webkit-line-clamp:1;
  -webkit-box-orient:vertical;
  overflow:hidden;
  text-overflow:ellipsis;
}

/*************************************************
 ✅ tablet + mobile (≤1024px)
 → 카드 100% + 지도 위로
**************************************************/
@media (max-width:1024px){

  #zbWrap {
    display:block !important;
    height:auto !important;
  }

  #zbMap {
    width:100% !important;
    height:400px !important;
  }

  #zbList {
    width:100% !important;
    min-width:100% !important;
    max-width:100% !important;
    padding:0 !important;
    height:auto !important;
  }

  .zb-map-card {
    width:100% !important;
    min-width:100% !important;
    max-width:100% !important;
    padding:10px !important;
    border-radius:10px;
  }

  /* 스티커 재정렬 */
  .zb-map-card-badges {
    margin:0 0 12px 0 !important;
    gap:8px !important;
  }

.zb-map-card-badges .zb-trade-badge,
.zb-map-card-badges .zb-trade-badge img {
  position:relative !important;
  top:-5px !important;
  left:-5px !important;
  margin:0 !important;
  height:40px !important;   /* 너가 쓰던 PC 기준 */
  width:auto !important;
  display:block !important;
}

/* 일반 스티커 (즉시입주 / 혜택 등) */
.zb-map-card-badges .zb-sticker-badges img {
  position:relative !important;
   top:-14px !important;
  left:-10px !important;
  margin:0 !important;
  height:20px !important;   /* 기존 수치 유지 */
  width:auto !important;
  display:block !important;
}

  /* 내용 | 썸네일 비율 */
  .zb-map-card-main {
    grid-template-columns:1fr 140px !important;
    gap:8px !important;
  }

  /* 폰트 축소 */
  .zb-map-card-title { font-size:22px !important; }
  
  .zb-map-card-price { font-size:22px !important; }
  .zb-map-card-summary { font-size:12px !important; }
  
  .zb-map-card-addr { font-size:14px !important; }
  .zb-map-card-comment{ font-size:16px !important; }
}

.zb-benefit {
  display:inline-block;
  background:#e53935;
  color:#fff;
  font-size:15px;
  font-weight:500;
  padding:0px 6px;
  border-radius:6px;
  width:fit-content;
  position: relative;
  top: -2px;
}

  .zb-map-card-title {
    position: relative;
    top: -10px;   /* ← 숫자 키우면 더 위로 */
  }

  .zb-map-card-left {
    position: relative;
    top: -10px;   /* ← 여기 수치로 위로 당김 (원하면 -20px까지 가능) */
  }
}
  .zb-map-card-main {
    align-items: flex-start !important;
  }

/* 썸네일 크기 + 이동 */
@media (max-width:1024px){

  /* 오른쪽 column 강제 */
  .zb-map-card-main {
    display:grid !important;
    grid-template-columns:1fr 140px !important;
    gap:8px !important;
  }

  .zb-map-card-thumb {
    grid-column:2 !important;     /* ✅ 오른쪽 column */
    justify-self:end !important;  /* ✅ 오른쪽 정렬 */

    width:140px !important;
    height:140px !important;
    transform:translate( 0px, -38px) !important;
    border-radius:10px !important;
    overflow:hidden !important;

    display:flex !important;
    justify-content:center !important;
    align-items:center !important;
  }

  .zb-map-card-thumb img {
    width:100% !important;
    height:100% !important;
    object-fit:cover !important;
  }
}

  /* 이미지 내부 정렬 */
  .zb-map-card-thumb img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }

.zb-map-card-left {
    margin-top: 2px !important;   /* ← 썸네일 올린 만큼 조정 */
  }
 

  /* 아래 남는 여백 제거 */
  .zb-map-card {
    padding-bottom: 0 !important;
  }
}

/* =====================================
/* ===========================================================
 ✅ Zerobang — 지도형 단지 검색 / PC + Mobile 통합 정리본
=========================================================== */

/* 지도 컨테이너 */
#zbMap {
  position:relative !important;
  background:#eee;
}


/* ===========================================================
 ✅ 필터 버튼 - 지도 내부 상단 overlay (공통)
=========================================================== */
.zb-filter-top {
  position:absolute !important;
  top:190px !important;
  left:15% !important;
  transform:translateX(-50%) !important;
  z-index: 900 !important;
  display:flex !important;
  gap:0px !important;
}


/* ===========================================================
 ✅ 모바일 (≤1024px)
=========================================================== */
@media (max-width:1024px){

  /* 지도 full height = 화면 – header – CTA */
  #zbMap {
    width:100% !important;
    height:calc(100vh - 60px - 60px) !important;
    margin:0 !important;
  }

  /* 리스트 숨기기 */
  #zbList {
    width:100% !important;
    min-width:100% !important;
    max-width:100% !important;
    padding:0 !important;
    height:auto !important;
  }

  /* CTA bottom 고정 */
  .zb-bottom-btn{
    position:fixed !important;
    bottom:0 !important;
    left:0 !important;
    width:100% !important;
    z-index:9999 !important;
    background:#fff !important;
  }

  /* 좌우 스크롤 방지 */
  html, body {
    overflow-x:hidden !important;
  }
}


/* ===========================================================
 ✅ PC (≥1025px)
=========================================================== */
@media (min-width:1025px){

  #zbWrap {
    display:flex;
    width:100%;
    height:calc(100vh - 70px);
    max-height:calc(100vh - 70px);
    min-height:400px;
    overflow:hidden !important;
    max-width:100vw;
  }

  /* 리스트 패널 */
  #zbList {
    flex:0 0 520px !important;
    max-width:520px !important;
    min-width:520px !important;
    height:100% !important;
    overflow-y:auto !important;
    overflow-x:hidden !important;
    background:#fff;
    padding-right:4px;
    border-left:1px solid #eee;
    box-sizing:border-box;
  }

  /* 지도 */
  #zbMap {
    flex:1 1 auto !important;
    width:auto !important;
    min-width:200px;
    height:100% !important;
  }

  /* CTA PC에서는 숨김 */
  .zb-bottom-btn {
    display:none !important;
  }
}


@media (min-width:1281px) {
  .zb-filter-top {
    width:300px !important;
    max-width:300px !important;
    min-width:300px !important;

    position:absolute !important;
    top:190px !important;
    left:40% !important;
    transform: translate(-50%, -25px) !important;

    display:flex !important;
    justify-content:center !important;
    align-items:center !important;
    gap:0 !important;
  }
}
@media (max-width:1024px) {
  .zb-filter-top {
    width:320px !important;
    max-width:320px !important;
    min-width:320px !important;

    position:absolute !important;
    top:40px !important;     /* ← 지도 안 상단 */
    left:50% !important;
    transform: translate(-50%, 60px) !important;
    display:flex !important;
    justify-content:center !important;
    align-items:center !important;
    gap:0 !important;
  }
}


@media (min-width:1025px) and (max-width:1280px) {
  .zb-filter-top {
    top:0px !important; /* ← 태블릿에서도 동일한 높이 */
  }
}

/* 공통 */
.zb-filter-top .elementor-button {
  position:relative;
  margin:0 !important;
  padding:10px 16px !important;
  background:#fff;
  border:none;
  border-radius:0;
  font-weight:600;
  font-size:15px;
    border-radius: 12px !important;
}

/* 구분선 */
.zb-filter-top .elementor-button:not(:last-child)::after {
  content:"";
  position:absolute;
  top:50%;
  right:0;
  transform:translateY(-50%);
  width:1px;
  height:18px;
  background:#0076ff;
  
  opacity:.5;
}

/* hover */
.zb-filter-top .elementor-button:hover {
    
  background:#e8f2ff !important;
  color:#0076ff !important;
    border-radius: 12px !important;   /* ← 원하는 값으로 변경 */
}

/* ✅ MOBILE MINI CARD — 최종 확정 

/* zbMap 위 요소는 클릭가능해야 함 */
#zbMap, #zbMap * {
  pointer-events: auto !important;
}

/* 모바일에서만 표시 */
@media (min-width: 1025px){
  #zbMiniCard {
    display:none !important;
  }
}
/* ===========================================================
 ✅ Zerobang — 지역 리스트 상단바
=========================================================== */
.zb-area-topbar {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
  padding: 14px 20px;
  position: sticky;
  top: 0;
  z-index: 99;
}

.zb-back-btn {
  background: none;
  border: none;
  color: #0076ff;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
}

.zb-area-title {
  font-size: 18px;
  font-weight: 700;
  color: #111;
}
/* 버튼 안 숫자 배지 */
#zbBtnViewArea{
  display:inline-flex; align-items:center; gap:8px;
}
#zbBtnViewArea {
  display: inline-flex;
  border-radius: 0 !important;  
  align-items: center;
  justify-content: center;
  gap: 8px; /* 텍스트와 숫자 간격 */
}

/* 숫자 배지 (버튼 안 자연스럽게 inline 위치) */
#zbBtnViewArea .zb-count-circle {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  background: #fff;
  color: #1E88E5;
  font-weight: 700;
  font-size: 16px;
  border-radius: 50%;
  width: 26px;
  height: 26px;
  line-height: 1;
}


/* ===========================================================
   ✅ Zerobang — 지역단지 리스트 헤더 (v1.2)
   =========================================================== */
.zb-area-topbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
  font-family: 'Pretendard', sans-serif;
}

/* 🔹 가운데 타이틀 */
.zb-area-topbar .zb-area-title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: #222;
}

/* 🔹 왼쪽 돌아가기 버튼 */
.zb-area-topbar .zb-back-btn {
  position: absolute;
  left: 8px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 17px;
  font-weight: 600;
  color: #0076ff;
  background: none;
  border: none;
  padding: 3px 8px;
  cursor: pointer;
  transition: color 0.2s ease;
}

.zb-area-topbar .zb-back-btn:hover {
  color: #005ad1;
}
.zb-filter-top,
.zb-filter-top * {
  position: relative;
  z-index: 10000 !important;
  pointer-events: all !important;
}
#zbMap {
  pointer-events: auto !important;
}



/* ===========================================================
 ✅ Zerobang — PC 지도 높이 고정 + 매물카드 스크롤만 활성 (디자인 그대로)
=========================================================== */
@media (min-width:1025px){
  /* 페이지는 그대로 스크롤 가능 */
  html, body {
    overflow-y: auto !important;
    overflow-x: hidden !important;
  }

  /* 부모 wrap은 auto, 단 지도는 sticky */
  #zbWrap {
    display: flex !important;
    align-items: flex-start !important;
    height: auto !important; /* 페이지 전체는 자유 스크롤 */
  }

  /* 지도: 헤더 바로 밑에서 고정된 높이 유지 */
  #zbMap {
    position: sticky !important;
    top: 70px !important; /* ← 헤더 높이 맞게 조정 */
    height: calc(100vh - 70px) !important;
    flex: 1 1 auto !important;
  }


  /* 오른쪽 매물 리스트는 내부 스크롤만 */
  #zbList {
    height: calc(100vh - 60px) !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
  }
}

body.zb-map-page { overflow: hidden !important; }


/* PC에서만 현장한마디 폰트 크기 줄이기 */
@media (min-width: 1025px) {
  .zb-map-card-comment {
    font-size: 18px !important;
    line-height: 1 !important;
  }
}

@media (min-width: 1025px) {
  .zb-map-card-left > *:not(:first-child):not(:last-child) {
    margin-top: 8px !important;   /* 기존 3~4px → 8px 정도 추천 */
  }
    /* 전용정보(요약정보) */
  .zb-map-card-summary {
    font-size: 14px !important;
    font-weight: 500 !important;
    line-height: 1.45 !important;
  }

  /* 요약주소 */
  .zb-map-card-addr {
    font-size: 15px !important;
    font-weight: 500 !important;
    line-height: 1.45 !important;
  }
}


/* PC에서 홈카드 2열 */
@media (min-width: 1025px) {
  #zbHomeList {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1px !important;
  }
}


}

/* 버튼 전체 폭 */
.zb-loadmore-btn {
  display: block;
  width: 100%;
  max-width: 100%;
  padding: 18px 0;
  margin: 30px auto 0 auto;

  background: #0076ff;
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  border: none;
  border-radius: 12px;
  text-align: center;
  cursor: pointer;

  box-shadow: 0 4px 14px rgba(0,0,0,0.12);
}

/* hover */
.zb-loadmore-btn:hover {
  background: #005ad1;
}



/* 지역 버튼 활성화 색 */
[data-region].is-active a.elementor-button {
  background: #2480DF !important;   /* 연파랑 */
  color: #fff !important;
  border-color: #2480DF !important;
}

/* 거래 버튼 활성화 색 */
[data-trade].is-active a.elementor-button {
  background: #2480DF !important;
  color:#fff !important;
  border-color:#2480DF !important;
}

/* Elementor 내부 자동 is-active도 동일색 */
a.elementor-button.is-active {
  background:#2480DF !important;
  color:#fff !important;
  border-color:#2480DF !important;
}

/* hover 유지 */
[data-region].is-active a.elementor-button:hover,
[data-trade].is-active a.elementor-button:hover {
  background:#2480DF !important;   /* hover일 때만 약간 진하게 */
  color:#fff !important;
}

/* ===========================================================
   🔄 PC — 썸네일 위치 원래대로 복구
=========================================================== */
@media (min-width:1025px){

  .zb-map-card-main {
    display:grid !important;
    grid-template-columns:1fr 180px !important;
    gap:8px !important;
    align-items:flex-start !important;
  }

  .zb-map-card-thumb {
    width:180px !important;
    height:180px !important;
    border-radius:8px;
    overflow:hidden;

    /* 🔥 원래 너가 쓰던 썸네일 위치 */
    transform: translate(0px, -40px) !important;

    display:flex !important;
    justify-content:center !important;
    align-items:center !important;
  }

  .zb-map-card-thumb img {
    width:100% !important;
    height:100% !important;
    object-fit:cover !important;
  }

  /* 🔥 내용도 위로 올리던 원래 위치 */
  .zb-map-card-title {
    position: relative;
    top: -10px; 
  }

  .zb-map-card-left {
    position: relative;
    top: -10px;
  }
}

/* 🔥 PC에서 현장한마디 사이즈 조정 (원본 포함) */
@media (min-width: 1025px) {
  .zb-map-card-comment {
    font-size: 18px !important;
    line-height: 1 !important;
  }
}

/* 월세일 때만... 단지명 아래 간격 크게 줘서 줄 나누기 */
.zb-map-card[data-trade*="월세"] .zb-map-card-title {
  margin-bottom: 12px !important;   /* ← 간격 원하는 만큼 조절 */
}

/* 혜택(대표평형) 폰트/두께 한 단계 업 */
.zb-benefit {
    font-size: 16px !important;   /* 기존 13~14px → 한 단계 업 */
    font-weight: 600 !important;  /* 기존 500 → 한 단계 업 */
}

.zb-benefit-tags {
  margin-top: 6px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.zb-benefit-main {
  font-size: 12px;
  padding: 4px 8px;
  font-weight: 600;
  color: #444;
}

.zb-benefit-tag {
  padding: 4px 8px;
  font-size: 12px;
  color: #fff;
  border-radius: 6px;
  display: inline-block;
  font-weight: 600;
}

.zb-benefit-2 { background:#ff7f00 !important; color:#fff !important; } /* 주황 */
.zb-benefit-3 { background:#22c55e !important; color:#fff !important; } /* 초록 */
.zb-benefit-4 { background:#3b82f6 !important; color:#fff !important; } /* 파랑 */
.zb-benefit-5 { background:#1E40AF !important; color:#fff !important; } /* 남색 */
.zb-benefit-6 { background:#8b5cf6 !important; color:#fff !important; } /* 보라 */
.zb-benefit-7 { background:#000 !important;    color:#fff !important; } /* 검정 */


/* "추가 정보" 텍스트 */
.zb-benefit-extra-title {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin-right: 6px;
}

.zb-map-card-benefits-extra {
    margin-top: 10px !important;   /* 위쪽 여백 */
}

/* 부모 div가 배경 먹는 문제 제거 */
.zb-benefit-detail {
    background: transparent !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* 왼쪽 박스만 배경 */
.zb-benefit-detail .zb-benefit-tag {
    background: #ff7f00 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 3px 5px !important;
    color: #fff !important;
    font-weight: 700 !important;
    font-size: 18px
    !important;
    border-radius: 6px !important;
    white-space: nowrap !important;

    /* Elementor 스타일 잡는 부분 */
    width: auto !important;
    height: auto !important;
}

/* 오른쪽 설명 */
.zb-benefit-detail .zb-benefit-desc {
    background: transparent !important;
    color: #444 !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    padding: 0 !important;
    margin: 0 !important;
    white-space: nowrap !important;
     margin-left: 5px !important;
}


/* 상세페이지 대표 혜택(베네핏1) 스타일 */
.single-listing .zb-benefit {
 display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 3px 6px !important;
    color: #fff !important;
    font-weight: 700 !important;
    font-size: 18px
    !important;
    border-radius: 6px !important;
    white-space: nowrap !important;
}

/* ✅ 혜택 2~7 : 줄 단위 레이아웃 & 간격 */
.zb-benefit-detail-wrap {
  margin-top: 10px;
  margin-bottom: 15px;
}

.zb-benefit-detail {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 6px 0 !important;   /* 위아래 간격 */
}

/* ✅ 공통 태그 박스 기본값 (상세페이지용) */
.zb-benefit-detail .zb-benefit-tag {
  border-radius: 8px;
  padding: 4px 8px;
  font-weight: 600;
  font-size: 13px;
  min-width: 34px;
  text-align: center;
  background: #f5f5f5;
  color: #333;
}

/* ✅ 색상 개별 적용 (상세페이지 강제 오버라이드 버전) */
.zb-benefit-detail.zb-benefit-2 .zb-benefit-tag { 
  background:#ff7f00 !important; 
  color:#fff !important; 
}

.zb-benefit-detail.zb-benefit-3 .zb-benefit-tag { 
  background:#22c55e !important; 
  color:#fff !important; 
}

.zb-benefit-detail.zb-benefit-4 .zb-benefit-tag { 
  background:#3b82f6 !important; 
  color:#fff !important; 
}

.zb-benefit-detail.zb-benefit-5 .zb-benefit-tag { 
  background:#1E40AF !important; 
  color:#fff !important; 
}

.zb-benefit-detail.zb-benefit-6 .zb-benefit-tag { 
  background:#8b5cf6 !important; 
  color:#fff !important; 
}

.zb-benefit-detail.zb-benefit-7 .zb-benefit-tag { 
  background:#000 !important;    
  color:#fff !important; 
}

/* ==========================================================
   ✅ 맵카드 혜택 2~7을 한 줄로 가로 정렬 (PC + Mobile 모두)
   ========================================================== */

.zb-map-card-benefits-extra {
    display: flex !important;
    flex-wrap: wrap !important;   /* 한 줄 넘치면 자동 줄바꿈 */
    gap: 6px !important;
    margin-top: 6px !important;
}

.zb-map-card-benefits-extra .zb-benefit {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    white-space: nowrap !important;
}

/* ==========================================================
   ✅ 모바일에서만 대표 혜택(.zb-benefit) 폰트 크기 14px로 변경
   ========================================================== */
@media (max-width: 1024px) {
    .zb-benefit {
        font-size: 13px !important;
    }
}

.zb-map-card-benefits-extra {
  margin-top: -20px !important;
  margin-bottom: 10px !important;
}

#zbListArea .zb-map-card-benefits-extra {
  margin-top: -10px !important;
  margin-bottom: 5px !important;
}

#zbHomeList .zb-map-card-benefits-extra {
  margin-top: -15px !important;
  margin-bottom: 15px !important;
}/* End custom CSS */