body { margin: 0; background: #edeceb; font-family: 'Noto Sans CJK KR', Helvetica, Arial, sans-serif;  line-height: 1.6; }
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
.main-layout { display: flex; position:relative; flex-direction: row;     height: calc(100vh - 166.5px); box-sizing: border-box; }
#map-wrap { flex: 1; position: relative; }
#map { position: absolute; left: 0; top: 0; right: 0; bottom: 0; width: 100%; height: 100%; z-index: 1; }


select.nb-footer-currency, select.currency-select {

  background: url('./img/chevron-down.svg') no-repeat right 12px center/18px 18px;
}
#listing-container {
  width: 445px;
  min-width: 445px;
  background: #fff;
  padding: 18px 16px 18px 16px;
  border-radius: 12px 0 0 12px;
  max-height: 100vh;
  overflow-y: auto;
  box-shadow: 2px 0 8px #0001;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  z-index: 2;
  margin-top: 60px; 
}

.detail-panel {
  width: 360px;
  min-width: 360px;
  background: #fff;
  border-left: 1.5px solid #e2e2e2;
  box-shadow: 2px 0 8px #0001;
  padding: 0 0 0 0;
  height: calc( 100vh - 166.5px);
  overflow-y: auto;
  position: relative;
  z-index: 200;
  display: none;
  margin-top:61px;
}
.detail-panel.active { display: block; }

.detail-header {
  display: flex; align-items: center;
  justify-content: space-between;
  font-size: 1.35rem; font-weight: bold;
  padding: 18px 26px 10px 24px;
  border-bottom: 1.5px solid #f2f2f2;
}
.detail-close-btn {
  font-size: 2.1rem; font-weight: bold; color: #aaa;
  background: none; border: none; cursor: pointer;
}
.detail-gallery {display: flex;  gap: 1px;}
.detail-gallery .main-img {
  width: 180px; height: 180px; object-fit: cover; 
  border: 1.5px solid #e2e2e2;
}
.detail-gallery .side-imgs {
    display: grid;
    grid-template-columns: repeat(2, 2fr);
    gap: 1px;
}
.detail-gallery .sub-img {
  width: 90px; height: 90px; object-fit: cover; 
  border: 1px solid #eee;
}

.detail-section1 {  padding: 24px 16px; }
.detail-section {  padding: 24px 16px; }
.detail-prices {font-size: 20px; font-weight: 700;  display: flex; align-items: center; gap: 10px; }
.detail-desc {   font-size: 14px; color: #52525B; font-weight: 400;margin-bottom: 14px; word-break: keep-all; }
.detail-key-summary {  display: flex;  flex-wrap: wrap;}
.detail-key-summary div {  width: 50%;  margin-bottom: 4px; }
.detail-key-item img {  margin-right: 4px; }

.detail-okane-title {  display: flex; align-items: center; font-size: 14px; font-weight: bold;   color: #000; width: 40%; padding-left: 8px; }
.detail-okane-value {   font-size: 14px;   font-weight: 400; }
span.detail-okane-icon { display: flex;  align-items: center; margin-left: 4px; }
.detail-okane-item { display: flex;  align-items: center; height: 36px; }


.detail-section { margin-bottom: 14px;     border-top: 1px solid #E4E4E7; }
.detail-section h3 { font-size: 16px; margin: 0 0 4px 0; font-weight: bold; color: #111;}
.detail-section > div { margin-bottom: 4px; font-size: 1.01rem;}
.type-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #000;
  font-weight: 700;  
  background: #fff;
}

/* 리스트 스타일 (아래는 기존 코드) */
.listing-item {
  display: flex;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  padding: 16px; 
  min-height: 155px;
  gap: 18px;
  cursor: pointer;
  border-bottom: 1px solid #E4E4E7;
}
.listing-thumb-wrap {
  flex: none;
  width: 120px;
  height: 120px;
  overflow: hidden;  
  background: #fafbfc;
  display: flex;
  align-items: center;
  justify-content: center;
}
.listing-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.listing-info {
  flex: 1;
  
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}
.listing-title-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 6px;
}
.listing-title {
  display: flex;
  align-items: center;
  font-size: 18px;
  font-weight: bold;
  color: #20222b;
  gap: 7px;
}
.listing-tag {
    display: flex;
    align-items: center;
    gap: 4px;
}
.listing-roomtype, .listing-midori {
  font-size: 12px;
  color: #000;
  height: 22px;
  display: flex;
  padding: 2px 4px;
  background-color: #DBEAFE;
  font-weight: 500;
  letter-spacing: 0.02em;  
  width: auto;
  border-radius: 4px;
  margin-bottom: 6px;
  
}
.listing-desc, .listing-okane {
  font-size: 12px;
  color: #52525B;
  font-weight: 500;
  margin-bottom: 2px;
}
.listing-okane { display: flex; align-items: center; }
span.list-okane-icon {    display: flex;  align-items: center; margin-left: 4px; cursor: pointer;}
.listing-summary {
  font-size: 12px;
  color: #52525B;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  max-width: 99%;
}


/* 조건 검색 바 */
.filter-bar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;  
  z-index: 99;
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.08);
  padding: 12px 16px;
  display: flex;
  gap: 12px;
  align-items: center;
}

.filter-bar select,
.filter-bar button {
  padding: 8px 12px;
  font-size: 0.95rem;
  border: 1px solid #ddd;
  border-radius: 6px;
  cursor: pointer;
}
.filter-bar select {
    background: url(./img/chevron-down.svg) no-repeat right 12px center / 18px 18px;
    padding-right: 36px;
}
.filter-bar button {
  background-color: #f5f5f5;
  font-weight: bold;
}


/* google maps 마커 */
.gmp-advanced-marker, gmp-advanced-marker {
  pointer-events: auto !important;
}
#filter-reset{ cursor: pointer; background-color: white; color: #71717A; font-family: "Font Awesome 6 Pro";}


.option-icon-list {display: grid; grid-template-columns: repeat(5, 1fr); gap: 7px 16px; }

.option-icon-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: auto; /* 아이콘+글자 간격 조정 */
  margin-bottom: 14px;
}

.option-icon-img {
  width: 48px;
  height: 48px;
  margin-bottom: 5px;
}

.option-icon-label {
  font-size: 12px ;
  font-weight: 400;
  color: #333;
  text-align: center;
  
}

img.option-icon-img {  width: auto;  height: 24px; }