/* style.css - Luxury Real Estate Platform Stylesheet */
:root {
  --primary: #1e3a8a;       /* Deep Royal Blue */
  --primary-hover: #172554;
  --secondary: #0f172a;     /* Slate Dark */
  --accent-gold: #d97706;   /* Luxury Gold */
  --accent-gold-light: #fef3c7;
  --accent-cyan: #06b6d4;
  --bg-main: #f8fafc;
  --card-bg: #ffffff;
  --text-main: #0f172a;
  --text-muted: #64748b;
  --border-color: #e2e8f0;
  --radius-lg: 16px;
  --radius-md: 10px;
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.04);
  --shadow-md: 0 8px 24px rgba(15,23,42,0.08);
  --shadow-lg: 0 16px 40px rgba(15,23,42,0.12);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

body {
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Container */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header & Navigation */
.navbar {
  position: sticky;
  top: 0 !important;
  z-index: 9999;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  font-weight: 800;
  color: var(--secondary);
  white-space: nowrap;
}

.nav-brand i {
  color: var(--accent-gold);
  font-size: 24px;
}

.site-logo-img {
  max-height: 44px;
  max-width: 220px;
  width: auto;
  height: auto;
  object-fit: contain;
  vertical-align: middle;
  display: inline-block;
  transition: transform 0.2s;
}

.site-logo-img:hover {
  transform: scale(1.02);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-link {
  font-size: 15px;
  font-weight: 600;
  color: #334155;
  transition: color 0.2s;
  cursor: pointer;
  white-space: nowrap;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary);
}

.btn-admin {
  background: var(--secondary);
  color: white;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
  white-space: nowrap;
}

.btn-admin:hover {
  background: var(--primary);
}

/* Hero Section */
.hero {
  position: relative;
  background: linear-gradient(135deg, #09152e 0%, #1e3a8a 100%);
  color: white;
  padding: 80px 0 90px;
  text-align: center;
  overflow: hidden;
}

.hero-title {
  font-size: 40px;
  font-weight: 900;
  line-height: 1.3;
  margin-bottom: 14px;
  letter-spacing: -0.5px;
}

.hero-subtitle {
  font-size: 17px;
  color: #cbd5e1;
  margin-bottom: 40px;
  font-weight: 400;
}

/* Search Bar Card */
.search-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-lg);
  max-width: 960px;
  margin: 0 auto;
  text-align: left;
}

.category-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.cat-tab {
  padding: 8px 16px;
  border-radius: 30px;
  background: #f1f5f9;
  color: #475569;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.2s;
  white-space: nowrap;
}

.cat-tab:hover {
  background: #e2e8f0;
}

.cat-tab.active {
  background: var(--secondary);
  color: white;
}

/* 3-Tier Cascading Region Filter */
.search-region-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: 12px;
  margin-bottom: 12px;
  align-items: center;
}

.region-select-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.region-badge {
  position: absolute;
  left: 12px;
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  pointer-events: none;
  display: flex;
  align-items: center;
  gap: 4px;
  z-index: 2;
}

.region-select {
  padding-left: 78px !important;
  font-weight: 600;
  background-color: #f8fafc;
  transition: all 0.2s ease;
}

.region-select:disabled {
  background-color: #f1f5f9;
  color: #94a3b8;
  cursor: not-allowed;
  border-color: #e2e8f0;
}

.region-select:not(:disabled):hover {
  background-color: #ffffff;
  border-color: var(--primary);
}

.btn-reset-filter {
  background: #f1f5f9;
  color: var(--text-muted);
  border: 1px solid var(--border-color);
  padding: 12px 16px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  transition: all 0.2s;
}

.btn-reset-filter:hover {
  background: #e2e8f0;
  color: var(--text-main);
  border-color: #cbd5e1;
}

.search-form-row {
  display: grid;
  grid-template-columns: 140px 1fr 140px;
  gap: 12px;
}

.form-select, .form-input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  font-size: 15px;
  color: var(--text-main);
  background: #fff;
  outline: none;
}

.form-select:focus, .form-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
}

.btn-search {
  background: linear-gradient(135deg, var(--accent-gold), #b45309);
  color: white;
  border: none;
  border-radius: var(--radius-md);
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: opacity 0.2s;
}

.btn-search:hover {
  opacity: 0.95;
}

/* Feature Badges Bar */
.trust-bar {
  background: white;
  border-bottom: 1px solid var(--border-color);
  padding: 24px 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: center;
}

.trust-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.trust-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #eff6ff;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.trust-text h4 {
  font-size: 15px;
  font-weight: 800;
  color: var(--secondary);
}

.trust-text p {
  font-size: 13px;
  color: var(--text-muted);
}

/* Section Header */
.section {
  padding: 60px 0;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 30px;
}

.section-title {
  font-size: 26px;
  font-weight: 900;
  color: var(--secondary);
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-subtitle {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Properties Grid */
.properties-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 28px;
}

/* Property Card */
.property-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s, box-shadow 0.25s;
  display: flex;
  flex-direction: column;
}

.property-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.card-img-wrap {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
  background: #e2e8f0;
}

.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.property-card:hover .card-img {
  transform: scale(1.05);
}

.badge-trade {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 800;
  color: white;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

.badge-trade.sale { background: #dc2626; }
.badge-trade.jeonse { background: #2563eb; }
.badge-trade.rent { background: #059669; }

.badge-featured {
  background: rgba(15, 23, 42, 0.88);
  color: #fbbf24;
  padding: 4px 9px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 800;
  box-shadow: 0 2px 4px rgba(0,0,0,0.25);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.card-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-category {
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.card-title {
  font-size: 17px;
  font-weight: 800;
  color: var(--secondary);
  line-height: 1.4;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-price {
  font-size: 20px;
  font-weight: 900;
  color: #b45309;
  margin-bottom: 12px;
}

.card-specs {
  display: flex;
  gap: 14px;
  font-size: 13px;
  color: #475569;
  padding: 10px 0;
  border-top: 1px solid #f1f5f9;
  border-bottom: 1px solid #f1f5f9;
  margin-bottom: 12px;
}

.card-specs span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.card-features {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.tag-feature {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #64748b;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px;
}

.card-footer {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 12px;
  border-top: 1px solid #f8fafc;
  font-size: 13px;
  color: var(--text-muted);
}

.btn-detail {
  background: #eff6ff;
  color: var(--primary);
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
  transition: all 0.2s;
}

.btn-detail:hover {
  background: var(--primary);
  color: white;
}

/* Pagination Bar */
.pagination-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 48px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  background: white;
  color: #334155;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.page-btn:hover:not(:disabled) {
  background: #f1f5f9;
  border-color: #cbd5e1;
  color: var(--primary);
}

.page-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
  box-shadow: 0 4px 10px rgba(30, 58, 138, 0.25);
  cursor: default;
}

.page-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  border-color: #e2e8f0;
}

.page-ellipsis {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 40px;
  color: #94a3b8;
  font-weight: 800;
}

/* Lead Collection Form Banner */
.inquiry-banner {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: white;
  border-radius: var(--radius-lg);
  padding: 48px;
  margin: 40px auto 60px;
}

.inquiry-banner-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.inquiry-banner h3 {
  font-size: 28px;
  font-weight: 900;
  margin-bottom: 12px;
}

.inquiry-banner p {
  color: #94a3b8;
  font-size: 15px;
  margin-bottom: 24px;
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}

.inquiry-input {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-md);
  color: white;
  font-size: 14px;
  outline: none;
}

.inquiry-input:focus {
  border-color: var(--accent-gold);
}

.inquiry-textarea {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-md);
  color: white;
  font-size: 14px;
  height: 80px;
  resize: none;
  outline: none;
  margin-bottom: 12px;
}

.btn-inquiry-submit {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, var(--accent-gold), #b45309);
  color: white;
  border: none;
  border-radius: var(--radius-md);
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  transition: opacity 0.2s;
}

/* Footer */
.footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 50px 0 30px;
  border-top: 1px solid #1e293b;
  font-size: 13px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer h5 {
  color: white;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 16px;
}

.footer-info p {
  margin-bottom: 6px;
}

.footer-bottom {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid #1e293b;
  font-size: 12px;
  color: #64748b;
}

/* Detail Page Specifics */
.detail-container {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 36px;
  margin: 40px auto;
}

.detail-gallery {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 12px;
  height: 420px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 30px;
}

.detail-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-sub-imgs {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 12px;
}

.detail-sub-imgs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-specs-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}

.detail-specs-table th {
  background: #f8fafc;
  color: #475569;
  font-size: 13px;
  font-weight: 700;
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
  width: 120px;
}

.detail-specs-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-color);
  font-size: 14px;
  font-weight: 600;
  color: var(--secondary);
}

.sticky-sidebar {
  position: sticky;
  top: 90px;
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  padding: 26px;
  box-shadow: var(--shadow-md);
}

/* Admin Dashboard Specifics */
.admin-header {
  background: var(--secondary);
  color: white;
  padding: 20px 0;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 30px 0;
}

.stat-card {
  background: white;
  border-radius: var(--radius-md);
  padding: 20px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.stat-val {
  font-size: 28px;
  font-weight: 900;
  color: var(--primary);
  margin-top: 4px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  background: white;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  margin-bottom: 20px;
}

.admin-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  background: white;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
}

.admin-table th {
  background: #f1f5f9;
  color: #475569;
  font-size: 13px;
  font-weight: 700;
  padding: 14px 16px;
  text-align: left;
}

.admin-table td {
  padding: 14px 16px;
  border-top: 1px solid #f1f5f9;
  font-size: 14px;
}

/* Modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.modal-card {
  background: white;
  border-radius: var(--radius-lg);
  width: 90%;
  max-width: 680px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 30px;
  box-shadow: var(--shadow-lg);
}

/* Responsive */
@media (max-width: 992px) {
  .hero-title { font-size: 30px; }
  .search-form-row { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
  .inquiry-banner-grid { grid-template-columns: 1fr; }
  .detail-container { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
}

/* Multilingual Language Selector */
.lang-selector-dropdown {
  position: relative;
  display: inline-block;
}
.lang-btn {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #cbd5e1;
  color: #1e293b;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
}
.lang-btn:hover {
  background: white;
  border-color: var(--primary);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.lang-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  background: white;
  min-width: 130px;
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  border: 1px solid #e2e8f0;
  padding: 6px 0;
  z-index: 1000;
}
.lang-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  color: #334155;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s;
}
.lang-option:hover {
  background: #f1f5f9;
  color: var(--primary);
}
.lang-option.active {
  background: #eff6ff;
  color: var(--primary);
  font-weight: 800;
}

/* Hide default Google Translate banner, toolbar, popups and iframes completely */
body > .skiptranslate,
body > iframe.skiptranslate,
iframe.goog-te-banner-frame,
.goog-te-banner-frame,
.goog-te-banner-frame.skiptranslate,
.VIpgJd-ZVi9od-ORHb,
.VIpgJd-ZVi9od-ORHb-OEVmcd,
.VIpgJd-ZVi9od-aZ2wEe-wOHMyf,
.VIpgJd-ZVi9od-xl07Ob-OEVmcd,
.VIpgJd-ZVi9od-vH1Gmf,
#goog-gt-tt,
.goog-te-balloon-frame,
.goog-te-gadget-icon,
.goog-tooltip,
.goog-tooltip:hover {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  height: 0 !important;
  width: 0 !important;
  max-height: 0 !important;
  position: absolute !important;
  top: -9999px !important;
  left: -9999px !important;
  z-index: -9999 !important;
}

html, body {
  top: 0px !important;
  position: static !important;
}

.goog-text-highlight {
  background-color: transparent !important;
  box-shadow: none !important;
}

#google_translate_element {
  display: none !important;
}

/* Floating SNS & Kakao Quick Action Bar */
.floating-sns-bar {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.floating-sns-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  border-radius: 30px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  font-weight: 800;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  outline: none;
}

.floating-sns-item:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.floating-sns-item.kakao {
  background: #fee500;
  color: #3c1e1e;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 21px;
}
.floating-sns-item.kakao i {
  font-size: 21px;
  color: #3c1e1e;
}

.floating-sns-item.instagram {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: white;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 20px;
}

.floating-sns-item.youtube {
  background: #ff0000;
  color: white;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 20px;
}

.floating-sns-item.blog {
  background: #03c75a;
  color: white;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 19px;
  font-weight: 900;
}

.btn-kakao {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px;
  background: #fee500;
  color: #3c1e1e;
  font-weight: 800;
  font-size: 14px;
  border-radius: var(--radius-md);
  text-decoration: none;
  margin-bottom: 20px;
  transition: all 0.2s;
  cursor: pointer;
}
.btn-kakao:hover {
  background: #fdd800;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(254, 229, 0, 0.4);
}

@media (max-width: 768px) {
  /* Navbar Mobile */
  .navbar {
    height: 60px;
  }
  .nav-container {
    height: 60px;
    padding: 0 14px;
  }
  .nav-brand {
    font-size: 15px;
    gap: 8px;
    white-space: nowrap;
    max-width: 55vw;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .nav-brand i {
    font-size: 18px;
  }
  .site-logo-img {
    max-height: 32px;
    max-width: 150px;
    width: auto;
    height: auto;
    object-fit: contain;
  }
  .nav-menu {
    gap: 6px;
  }
  .nav-link-desktop {
    display: none !important;
  }
  .nav-back-text {
    display: none;
  }
  .nav-link-back {
    font-size: 13px !important;
    white-space: nowrap;
  }
  .btn-admin {
    padding: 6px 10px;
    font-size: 12px;
    white-space: nowrap;
  }

  /* Mobile Language Selector */
  .lang-btn {
    padding: 5px 8px;
    font-size: 12px;
  }
  #currentLangText {
    display: none;
  }

  /* Hero Section */
  .hero {
    padding: 40px 0 50px;
  }
  .hero-title {
    font-size: 22px;
    line-height: 1.35;
  }
  .hero-subtitle {
    font-size: 13.5px;
    margin-bottom: 24px;
  }

  .search-region-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .btn-reset-filter {
    justify-content: center;
    width: 100%;
  }
  .search-form-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  /* About Grid */
  .about-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  /* Admin Header & Stat Cards */
  .stat-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 20px 0;
  }
  .admin-pane-header {
    flex-wrap: wrap;
    gap: 12px;
  }

  /* Mobile Floating SNS */
  .floating-sns-bar {
    bottom: 16px;
    right: 16px;
    gap: 8px;
  }
  .floating-sns-item.kakao,
  .floating-sns-item.instagram,
  .floating-sns-item.youtube,
  .floating-sns-item.blog {
    width: 38px;
    height: 38px;
    font-size: 17px;
    border-radius: 50%;
    padding: 0;
  }
  .floating-sns-item.kakao i {
    font-size: 18px;
  }
}

/* ============================================================
   TOP 5 NEW ENHANCEMENTS CSS (Sliders, Chips, Badges, Modals, Print)
   ============================================================ */

/* 1. Dual Range Interactive Sliders (Price & Area) */
.slider-filter-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 14px;
  padding: 16px;
  background: #f8fafc;
  border-radius: var(--radius-md);
  border: 1px solid #e2e8f0;
}

@media (max-width: 860px) {
  .slider-filter-panel {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 12px;
  }
}

.slider-box {
  display: flex;
  flex-direction: column;
}

.slider-box-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.slider-title {
  font-size: 13px;
  font-weight: 800;
  color: #1e293b;
  display: flex;
  align-items: center;
  gap: 6px;
}

.slider-value-badge {
  font-size: 12px;
  font-weight: 800;
  color: #2563eb;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  padding: 3px 10px;
  border-radius: 12px;
}

.range-slider-container {
  position: relative;
  height: 28px;
  display: flex;
  align-items: center;
}

.range-slider-container::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 6px;
  background: #e2e8f0;
  border-radius: 4px;
  z-index: 1;
}

.slider-track-highlight {
  position: absolute;
  height: 6px;
  background: linear-gradient(90deg, #3b82f6, #1d4ed8);
  border-radius: 4px;
  z-index: 2;
  pointer-events: none;
}

.range-input {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 28px;
  background: none;
  pointer-events: none;
  -webkit-appearance: none;
  appearance: none;
  z-index: 3;
  margin: 0;
}

.range-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  pointer-events: auto;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #ffffff;
  border: 3px solid #2563eb;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
  transition: transform 0.15s ease, border-color 0.15s;
}

.range-input::-webkit-slider-thumb:hover {
  transform: scale(1.2);
  border-color: #1d4ed8;
}

.range-input::-webkit-slider-thumb:active {
  transform: scale(1.3);
  box-shadow: 0 0 0 6px rgba(37, 99, 235, 0.2);
}

.range-input::-moz-range-thumb {
  pointer-events: auto;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #ffffff;
  border: 3px solid #2563eb;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

.slider-scale-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 4px;
  font-size: 11px;
  color: #94a3b8;
  font-weight: 600;
}

/* 2. Quick Filter Preset Chips */
.quick-chips-wrap {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed #e2e8f0;
}

.chip-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.chip-label {
  font-size: 12px;
  font-weight: 800;
  color: #475569;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 4px;
  min-width: 65px;
}

.chips-scroll {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 2px;
}
.chips-scroll::-webkit-scrollbar {
  display: none;
}

.chip-btn {
  background: #f1f5f9;
  color: #475569;
  border: 1px solid #cbd5e1;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.chip-btn:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.chip-btn.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.3);
}

/* 2. Property Card Status Badges & Overlay */
.card-top-badges {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  z-index: 5;
  pointer-events: none;
}

.badge-status-pill {
  padding: 4px 9px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 800;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.badge-status-pill.available {
  background: #059669;
  color: white;
}

.badge-status-pill.pending {
  background: #d97706;
  color: white;
}

.badge-status-pill.completed {
  background: #475569;
  color: white;
}

.property-card-completed .card-img {
  filter: grayscale(80%) brightness(0.7);
}

.card-completed-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  pointer-events: none;
}

.card-completed-overlay span {
  background: rgba(15, 23, 42, 0.85);
  color: #f8fafc;
  padding: 8px 20px;
  border: 2px solid #ef4444;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 2px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.5);
  transform: rotate(-8deg);
}

/* 3. Detail Action Bar (Share, Print, Tax Calc) */
.detail-action-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #e2e8f0;
}

.btn-detail-action {
  background: #f8fafc;
  color: #334155;
  border: 1px solid #cbd5e1;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.btn-detail-action:hover {
  background: #eff6ff;
  color: #2563eb;
  border-color: #93c5fd;
}

.btn-detail-action.kakao-share {
  background: #fee500;
  color: #191919;
  border-color: #eed600;
}
.btn-detail-action.kakao-share:hover {
  background: #ffd900;
}

.btn-detail-action.print-action {
  background: #0f172a;
  color: white;
  border-color: #0f172a;
}
.btn-detail-action.print-action:hover {
  background: #1e293b;
}

/* 4. Toast Notification */
.app-toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: rgba(15, 23, 42, 0.95);
  color: white;
  padding: 12px 24px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 999999;
}
.app-toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* 5. Clean Print / PDF Styling */
@media print {
  body * {
    visibility: hidden;
  }
  .print-report-container, .print-report-container * {
    visibility: visible !important;
  }
  .print-report-container {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    margin: 0;
    padding: 20px;
    background: white !important;
    color: #0f172a !important;
  }
  header, footer, .detail-action-bar, .floating-sns-bar, .inquiry-box, .gallery-thumbs, .slider-arrow, .slider-zoom-btn, .slider-counter-badge, .btn-admin, .nav-links, .lang-dropdown {
    display: none !important;
  }
}



