    :root {
      --primary-color: #059669;
      --secondary-color: #0068ff;
      --price-color: #dc2626;
      --text-main: #1f2937;
      --text-sub: #6b7280;
      --bg-body: #f3f4f6;
      --bg-white: #ffffff;
      --border: #e5e7eb;
      --spacing-md: 16px;
      --border-radius: 8px;
    }

    * {
      box-sizing: border-box;
    }

    body {
      font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
      margin: 0;
      padding: 0;
      background: var(--bg-body);
      color: var(--text-main);
      line-height: 1.6;
      /* Premium Background Ambient Aura */
      position: relative;
    }

    body::before {
      content: "";
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100vh;
      background:
        radial-gradient(circle at 0% 0%, rgba(5, 150, 105, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 100% 100%, rgba(0, 104, 255, 0.04) 0%, transparent 40%);
      pointer-events: none;
      z-index: -1;
    }

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

    /* --- Header --- */
    header {
      background: rgba(255, 255, 255, 0.85);
      /* Premium Glassmorphism */
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      border-bottom: 1px solid rgba(255, 255, 255, 0.4);
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
      /* Softer, elevated shadow */
      position: sticky;
      top: 0;
      z-index: 1000;
      height: 72px;
      display: flex;
      align-items: center;
      transition: all 0.3s ease;
    }

    .header-inner {
      width: 100%;
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 20px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      height: 100%;
    }

    .logo {
      font-size: 20px;
      font-weight: 800;
      color: var(--primary-color);
      display: flex;
      align-items: center;
      gap: 8px;
      text-decoration: none;
    }

    .logo i {
      font-size: 24px;
    }

    .nav-menu {
      display: flex;
      align-items: center;
      gap: 32px;
    }

    .nav-link {
      font-weight: 500;
      color: var(--text-sub);
      transition: all 0.2s ease;
      font-size: 15px;
      display: flex;
      align-items: center;
      gap: 6px;
    }

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

    .btn-post {
      background: var(--primary-color);
      color: white !important;
      padding: 10px 20px;
      border-radius: 8px;
      font-weight: 600;
      font-size: 15px;
      display: flex;
      align-items: center;
      gap: 8px;
      transition: all 0.2s ease;
      box-shadow: 0 2px 6px rgba(5, 150, 105, 0.25);
    }

    .btn-post:hover {
      transform: translateY(-1px);
      box-shadow: 0 4px 12px rgba(5, 150, 105, 0.35);
    }

    .nav-btn {
      background: transparent;
      border: none;
      cursor: pointer;
      font-family: inherit;
      padding: 0;
    }

    .nav-btn.saved {
      color: var(--price-color);
    }

    .nav-btn.saved i {
      font-weight: 900;
    }

    /* User Account */
    .user-account {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 40px;
      height: 40px;
      border-radius: 50%;
      cursor: pointer;
      transition: background 0.2s;
      margin-left: 10px;
    }

    .user-account:hover {
      background: #f3f4f6;
    }

    .user-avatar {
      width: 32px;
      height: 32px;
      border-radius: 50%;
      object-fit: cover;
      background: #e5e7eb;
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--text-sub);
      font-size: 14px;
      border: 1px solid #e5e7eb;
    }

    /* --- Main Layout --- */
    .container {
      max-width: 1440px;
      /* Nới rộng Full-width Splash */
      width: 95%;
      margin: 25px auto;
      padding: 0 20px;
      display: grid;
      grid-template-columns: 2.5fr 1fr;
      gap: 30px;
      align-items: stretch;
      /* Ngăn sidebar bị kéo giãn bằng cột trái - Nhưng sử dụng stretch cho cột trái tự co dãn để bằng đáy cột phải */
    }

    /* Left Column */
    .main-content {
      background: var(--bg-white);
      border-radius: 12px;
      padding: 25px;
      box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    }

    /* Gallery */
    .gallery-container {
      margin-bottom: 25px;
    }

    .main-image-wrapper {
      width: 100%;
      height: 600px;
      /* Panoramic view cho ảnh ngang */
      border-radius: 12px;
      overflow: hidden;
      background: #f0f0f0;
      position: relative;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .blur-bg {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-size: cover;
      background-position: center;
      filter: blur(20px) brightness(0.8);
      z-index: 0;
      transform: scale(1.1);
    }

    .main-image {
      max-width: 100%;
      max-height: 100%;
      object-fit: contain;
      cursor: pointer;
      position: relative;
      z-index: 1;
      box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    }

    .gallery-btn {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      background: rgba(0, 0, 0, 0.3);
      color: white;
      border: none;
      width: 40px;
      height: 40px;
      border-radius: 50%;
      cursor: pointer;
      z-index: 2;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: background 0.2s;
    }

    .gallery-btn:hover {
      background: rgba(0, 0, 0, 0.6);
    }

    .gallery-btn.prev {
      left: 10px;
    }

    .gallery-btn.next {
      right: 10px;
    }

    .thumbnails {
      display: flex;
      gap: 10px;
      margin-top: 10px;
      overflow-x: auto;
      padding-bottom: 5px;
      scrollbar-width: thin;
    }

    .thumb-wrapper {
      width: 100px;
      height: 70px;
      border-radius: 6px;
      cursor: pointer;
      opacity: 0.7;
      transition: all 0.2s ease;
      border: 2px solid transparent;
      flex-shrink: 0;
      overflow: hidden;
      position: relative;
    }

    .thumb-wrapper:hover,
    .thumb-wrapper.active {
      opacity: 1;
      border-color: var(--primary-color);
    }

    .thumb-wrapper img,
    .thumb-wrapper video,
    .thumb-wrapper .video-link-placeholder {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }

    /* Map Button */
    .gallery-map-btn {
      position: absolute;
      bottom: 20px;
      left: 20px;
      background: rgba(255, 255, 255, 0.95);
      color: #333;
      padding: 10px 20px;
      border-radius: 30px;
      font-weight: 700;
      border: none;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
      cursor: pointer;
      z-index: 5;
      display: flex;
      align-items: center;
      gap: 8px;
      transition: all 0.2s;
      font-size: 14px;
    }

    .gallery-map-btn:hover {
      background: #fff;
      transform: translateY(-2px);
      box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
    }

    .gallery-map-btn i {
      color: var(--primary-color);
      font-size: 16px;
    }

    /* Planning Modal */
    .planning-modal {
      display: none;
      position: fixed;
      z-index: 2000;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.8);
      justify-content: center;
      align-items: center;
    }

    .planning-modal.active {
      display: flex;
    }

    .planning-modal-content {
      width: 90%;
      height: 90%;
      background: white;
      border-radius: 12px;
      position: relative;
      display: flex;
      flex-direction: column;
      overflow: hidden;
    }

    .planning-map-container {
      flex: 1;
      width: 100%;
      height: 100%;
    }

    .planning-close {
      position: absolute;
      top: 15px;
      right: 15px;
      background: white;
      width: 40px;
      height: 40px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
      z-index: 1000;
      font-size: 20px;
      color: #333;
    }

    .planning-controls {
      position: absolute;
      bottom: 30px;
      left: 50%;
      transform: translateX(-50%);
      background: white;
      padding: 15px 25px;
      border-radius: 30px;
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
      z-index: 1000;
      display: flex;
      align-items: center;
      gap: 15px;
      width: 80%;
      max-width: 400px;
    }

    .opacity-slider {
      flex: 1;
      accent-color: var(--primary-color);
    }

    /* --- Info Section (Mobile Style) --- */
    .info-header {
      margin-bottom: 20px;
      border-bottom: 1px solid var(--border);
      padding-bottom: 20px;
    }

    .price-group {
      display: flex;
      align-items: baseline;
      gap: 15px;
      margin-bottom: 10px;
    }

    .price-large {
      color: var(--price-color);
      font-size: 36px;
      font-weight: 700;
    }

    .price-large.rent {
      color: var(--primary-color);
    }

    .unit-price {
      color: var(--text-sub);
      font-size: 16px;
    }

    .post-id {
      margin-left: auto;
      color: var(--text-sub);
      font-size: 14px;
    }

    .listing-title {
      font-size: 24px;
      font-weight: 700;
      color: var(--text-main);
      margin-bottom: 10px;
      line-height: 1.4;
      text-transform: capitalize;
    }

    .listing-address {
      color: var(--text-sub);
      font-size: 15px;
      display: flex;
      align-items: center;
      gap: 8px;
      margin-bottom: 15px;
      text-transform: capitalize;
    }

    /* Badges */
    .badge {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 6px 12px;
      border-radius: 6px;
      font-size: 13px;
      font-weight: 600;
      line-height: 1.2;
    }

    .badge--rose {
      background-color: #ffe4e6;
      color: #be123c;
    }

    .badge--blue {
      background-color: #dbeafe;
      color: #1e40af;
    }

    .badge--orange {
      background-color: #ffedd5;
      color: #9a3412;
    }

    .badge--gray {
      background-color: #f3f4f6;
      color: #374151;
    }

    .badge--purple {
      background-color: #f3e8ff;
      color: #6b21a8;
    }

    /* Specs Grid Premium Design */
    .specs-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 16px;
      margin-bottom: 30px;
    }

    .specs-item {
      display: flex;
      align-items: center;
      gap: 12px;
      background: #ffffff;
      border: 1px solid rgba(241, 245, 249, 0.8);
      border-radius: 12px;
      padding: 10px 14px;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
      transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
      cursor: pointer;
      position: relative;
    }

    /* Individual Themes */
    .specs-item.theme-area {
      border-color: rgba(16, 185, 129, 0.15);
      background: linear-gradient(135deg, #ffffff, rgba(16, 185, 129, 0.02));
    }

    .specs-item.theme-area .specs-icon-container {
      background: rgba(16, 185, 129, 0.08);
      color: #10b981;
    }

    .specs-item.theme-area:hover {
      transform: translateY(-3px);
      box-shadow: 0 8px 16px rgba(16, 185, 129, 0.08);
      border-color: rgba(16, 185, 129, 0.3);
    }

    .specs-item.theme-direction {
      border-color: rgba(59, 130, 246, 0.15);
      background: linear-gradient(135deg, #ffffff, rgba(59, 130, 246, 0.02));
    }

    .specs-item.theme-direction .specs-icon-container {
      background: rgba(59, 130, 246, 0.08);
      color: #3b82f6;
    }

    .specs-item.theme-direction:hover {
      transform: translateY(-3px);
      box-shadow: 0 8px 16px rgba(59, 130, 246, 0.08);
      border-color: rgba(59, 130, 246, 0.3);
    }

    .specs-item.theme-type {
      border-color: rgba(99, 102, 241, 0.15);
      background: linear-gradient(135deg, #ffffff, rgba(99, 102, 241, 0.02));
    }

    .specs-item.theme-type .specs-icon-container {
      background: rgba(99, 102, 241, 0.08);
      color: #6366f1;
    }

    .specs-item.theme-type:hover {
      transform: translateY(-3px);
      box-shadow: 0 8px 16px rgba(99, 102, 241, 0.08);
      border-color: rgba(99, 102, 241, 0.3);
    }

    .specs-item.theme-alley {
      border-color: rgba(245, 158, 11, 0.15);
      background: linear-gradient(135deg, #ffffff, rgba(245, 158, 11, 0.02));
    }

    .specs-item.theme-alley .specs-icon-container {
      background: rgba(245, 158, 11, 0.08);
      color: #f59e0b;
    }

    .specs-item.theme-alley:hover {
      transform: translateY(-3px);
      box-shadow: 0 8px 16px rgba(245, 158, 11, 0.08);
      border-color: rgba(245, 158, 11, 0.3);
    }

    .specs-icon-container {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 32px;
      height: 32px;
      border-radius: 8px;
      font-size: 15px;
      flex-shrink: 0;
      transition: all 0.3s ease;
    }

    .specs-item:hover .specs-icon-container {
      transform: scale(1.08) rotate(3deg);
    }

    .specs-info {
      display: flex;
      flex-direction: row;
      align-items: baseline;
      min-width: 0;
      flex: 1;
      gap: 6px;
    }

    .specs-label {
      font-size: 12px;
      color: #64748b;
      font-weight: 500;
      white-space: nowrap;
    }

    .specs-label::after {
      content: ":";
      margin-left: 1px;
      color: #cbd5e1;
    }

    .specs-value {
      font-size: 13.5px;
      font-weight: 700;
      color: #1e293b;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      flex: 1;
    }

    /* Description */
    .section-title {
      font-size: 18px;
      font-weight: 700;
      margin-bottom: 15px;
      color: var(--text-main);
      display: flex;
      align-items: center;
      gap: 8px;
      text-transform: uppercase;
    }

    /* Description collapse/expand */
    .description-wrapper {
      position: relative;
      margin-bottom: 20px;
    }

    .description-content {
      line-height: 1.7;
      color: #374151;
      white-space: pre-line;
      font-size: 15px;
      text-align: justify;
      max-height: 300px;
      overflow: hidden;
      transition: max-height 0.4s ease;
    }

    .description-wrapper::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      right: 0;
      height: 100px;
      background: linear-gradient(to bottom, transparent, #ffffff);
      pointer-events: none;
      transition: opacity 0.4s ease;
    }

    .description-wrapper.is-expanded::after {
      opacity: 0;
    }

    .description-wrapper.no-collapse::after {
      display: none;
    }

    .description-wrapper.is-expanded .description-content {
      max-height: 2000px;
    }

    .btn-toggle-desc {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      margin-top: 10px;
      margin-bottom: 25px;
      padding: 7px 16px;
      font-size: 14px;
      font-weight: 600;
      color: var(--primary-color);
      background: transparent;
      border: 1.5px solid var(--primary-color);
      border-radius: 20px;
      cursor: pointer;
      transition: all 0.2s ease;
    }

    .btn-toggle-desc:hover {
      background: var(--primary-color);
      color: #fff;
    }

    .btn-toggle-desc i {
      transition: transform 0.3s ease;
    }

    .description-wrapper.is-expanded .btn-toggle-desc i {
      transform: rotate(180deg);
    }

    /* Sidebar Widget (Related Listings - News Style) */
    .sidebar-widget {
      background: var(--bg-white);
      padding: 20px;
      border-radius: 12px;
      box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
      margin-top: 25px;
      border: 1px solid var(--border);
    }

    .widget-title {
      font-size: 16px;
      font-weight: 700;
      margin-bottom: 15px;
      border-bottom: 2px solid #f3f4f6;
      padding-bottom: 10px;
      color: var(--text-main);
      text-transform: uppercase;
    }

    .sidebar-list {
      display: flex;
      flex-direction: column;
      gap: 15px;
      max-height: 430px;
      overflow-y: auto;
      padding-right: 5px;
      position: relative;
      scrollbar-width: thin;
      scrollbar-color: #cbd5e1 transparent;
    }

    .sidebar-list::-webkit-scrollbar {
      width: 6px;
    }

    .sidebar-list::-webkit-scrollbar-thumb {
      background-color: #cbd5e1;
      border-radius: 10px;
    }

    .sidebar-item {
      display: flex;
      gap: 12px;
      align-items: flex-start;
      text-decoration: none;
      color: inherit;
      transition: transform 0.2s;
    }

    .sidebar-item:hover {
      transform: translateX(5px);
    }

    .sidebar-img-wrapper {
      position: relative;
      width: 110px;
      height: 80px;
      flex-shrink: 0;
      border-radius: 6px;
      overflow: hidden;
    }

    .sidebar-thumb {
      width: 100%;
      height: 100%;
      border-radius: 6px;
      object-fit: cover;
      background: #eee;
    }


    /* Sidebar VIP Badge */
    .sidebar-vip-badge {
      position: absolute;
      top: 5px;
      left: 5px;
      z-index: 10;
      border-radius: 20px;
      padding: 2px 6px;
      display: flex;
      align-items: center;
      gap: 3px;
      color: #fff;
      font-size: 8px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.5px;
      overflow: hidden;
      box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    }

    .sidebar-vip-badge::after {
      content: attr(data-label);
    }

    .sidebar-vip-badge.diamond::after {
      content: "Kim cương";
    }

    .sidebar-vip-badge.gold::after {
      content: "Vàng";
    }

    .sidebar-vip-badge.silver::after {
      content: "Bạc";
    }

    .sidebar-vip-badge.diamond {
      background: linear-gradient(135deg, #6d28d9, #be123c);
      border: 1px solid rgba(255, 255, 255, 0.3);
    }

    .sidebar-vip-badge.gold {
      background: linear-gradient(135deg, #b45309, #fbbf24);
      border: 1px solid rgba(255, 255, 255, 0.2);
    }

    .sidebar-vip-badge.silver {
      background: linear-gradient(135deg, #374151, #6b7280);
      border: 1px solid rgba(255, 255, 255, 0.2);
    }

    /* Shine Effect */
    @keyframes shine-sweep {
      0% {
        transform: translateX(-150%) skewX(-25deg);
      }

      20% {
        transform: translateX(250%) skewX(-25deg);
      }

      100% {
        transform: translateX(250%) skewX(-25deg);
      }
    }

    .sidebar-vip-badge::before {
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      width: 50%;
      height: 100%;
      background: linear-gradient(to right,
          rgba(255, 255, 255, 0) 0%,
          rgba(255, 255, 255, 0.4) 50%,
          rgba(255, 255, 255, 0) 100%);
      transform: translateX(-150%) skewX(-25deg);
      animation: shine-sweep 4s infinite ease-in-out;
      pointer-events: none;
    }

    .sidebar-info {
      flex: 1;
      min-width: 0;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      padding: 2px 0;
    }

    .sidebar-post-title {
      font-size: 14px;
      font-weight: 600;
      line-height: 1.3;
      margin-bottom: 4px;
      color: var(--text-main);
      display: -webkit-box;
      -webkit-line-clamp: 2;
      line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }

    .sidebar-meta {
      display: flex;
      flex-direction: column;
      gap: 2px;
    }

    .sidebar-price-row {
      display: flex;
      align-items: baseline;
      gap: 6px;
    }

    .sidebar-price {
      color: var(--price-color);
      font-weight: 700;
      font-size: 14px;
    }

    .sidebar-area {
      color: var(--text-sub);
      font-size: 12px;
    }

    .sidebar-address {
      font-size: 12px;
      color: var(--text-sub);
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      display: flex;
      align-items: center;
      gap: 4px;
    }

    /* Load More Button */
    .nearby-load-more {
      display: block;
      width: 100%;
      margin-top: 15px;
      padding: 10px;
      background: #fff;
      border: 1px solid var(--primary-color);
      color: var(--primary-color);
      border-radius: 8px;
      font-weight: 600;
      cursor: pointer;
      transition: all 0.2s;
      text-align: center;
      font-size: 13px;
      text-transform: uppercase;
    }

    .nearby-load-more:hover {
      background: var(--primary-color);
      color: white;
    }

    .nearby-load-more:active {
      transform: scale(0.98);
    }

    /* --- Premium Footer --- */
    .site-footer {
      background: #0f172a;
      /* Nền xanh biển đen cực sang */
      color: #cbd5e1;
      /* Màu chữ sáng dịu */
      padding-top: 60px;
      margin-top: 60px;
      font-family: "Inter", sans-serif;
    }

    .footer-container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 20px;
      display: grid;
      grid-template-columns: 1.5fr 1fr 1fr;
      gap: 50px;
      padding-bottom: 40px;
      border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .footer-logo {
      font-size: 22px;
      font-weight: 800;
      color: #ffffff;
      margin-bottom: 20px;
      display: flex;
      align-items: center;
      gap: 12px;
      font-family: "Be Vietnam Pro", sans-serif;
    }

    .footer-logo img {
      height: 48px;
    }

    .footer-desc {
      font-size: 14px;
      line-height: 1.7;
      color: #94a3b8;
      text-align: justify;
      margin-bottom: 25px;
    }

    .social-links {
      display: flex;
      gap: 15px;
    }

    .social-link {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 40px;
      height: 40px;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.05);
      color: #cbd5e1;
      font-size: 18px;
      transition: all 0.3s ease;
      text-decoration: none;
    }

    .social-link:hover {
      background: var(--primary-color);
      color: #ffffff;
      transform: translateY(-3px);
      box-shadow: 0 5px 15px rgba(5, 150, 105, 0.4);
    }

    .footer-title {
      font-size: 16px;
      font-weight: 700;
      color: #ffffff;
      margin-bottom: 24px;
      text-transform: uppercase;
      letter-spacing: 0.5px;
      font-family: "Be Vietnam Pro", sans-serif;
    }

    .footer-links,
    .footer-contact {
      list-style: none;
      padding: 0;
      margin: 0;
    }

    .footer-links li,
    .footer-contact li {
      margin-bottom: 12px;
    }

    .footer-links a {
      color: #94a3b8;
      transition: all 0.2s ease;
      font-size: 14px;
      display: inline-flex;
      align-items: center;
      gap: 8px;
      text-decoration: none;
    }

    .footer-links a::before {
      content: "›";
      font-size: 18px;
      color: var(--primary-color);
      transition: transform 0.2s;
    }

    .footer-links a:hover {
      color: var(--primary-color);
      transform: translateX(5px);
    }

    .footer-links a:hover::before {
      transform: translateX(3px);
    }

    .footer-contact li {
      display: flex;
      gap: 12px;
      font-size: 14px;
      color: #94a3b8;
      align-items: flex-start;
      line-height: 1.5;
    }

    .footer-contact i {
      color: var(--primary-color);
      margin-top: 3px;
    }

    .footer-bottom {
      padding: 20px;
      text-align: center;
      font-size: 13px;
      color: #64748b;
      background: #090e1a;
      font-weight: 500;
      letter-spacing: 0.5px;
    }

    @media (max-width: 900px) {
      .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: left;
      }

      .footer-logo {
        justify-content: flex-start;
      }

      .social-links {
        justify-content: flex-start;
      }

      .footer-title {
        text-align: left;
      }

      .footer-desc {
        text-align: left;
      }
    }

    /* Right Column (Sidebar) */
    /*
     * Sử dụng height: fit-content để sidebar chỉ cao bằng nội dung của nó.
     * Kết hợp với align-items: flex-start ở .container, sidebar sẽ không bị
     * kéo giãn bằng cột trái. Khi sidebar cao hơn viewport, position: sticky
     * chỉ giữ đầu sidebar bám màn hình — phần còn lại nằm sẵn trong DOM
     * và hiển thị toàn bộ không bị cắt.
     */
    .sidebar {
      display: flex;
      flex-direction: column;
      gap: 20px;
      position: sticky;
      top: 80px;
      height: fit-content;
      align-self: start;
    }

    /* Contact Card (Sticky) */
    .contact-card {
      background: var(--bg-white);
      padding: 25px;
      border-radius: 12px;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
      text-align: center;
      border: 1px solid var(--border);
    }

    .author-avatar {
      width: 90px;
      height: 90px;
      border-radius: 50%;
      object-fit: cover;
      margin-bottom: 15px;
      border: 3px solid #e5e7eb;
    }

    .author-name {
      font-weight: 700;
      font-size: 18px;
      margin-bottom: 5px;
      color: var(--text-main);
    }

    .author-role {
      color: var(--text-sub);
      font-size: 13px;
      margin-bottom: 20px;
      background: #f3f4f6;
      display: inline-block;
      padding: 2px 10px;
      border-radius: 12px;
    }

    .contact-btn {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      width: 100%;
      padding: 14px;
      border-radius: 8px;
      font-size: 16px;
      font-weight: 700;
      margin-bottom: 12px;
      cursor: pointer;
    }

    .action-button.zalo {
      background: linear-gradient(135deg, #82b4fd 0%, #5f9efc 100%);
      color: white;
      box-shadow: 0 4px 15px rgba(0, 104, 255, 0.3);
      border: none;
      transition: transform 0.2s, box-shadow 0.2s;
    }

    .action-button.call {
      background: linear-gradient(135deg, #059669 0%, #047857 100%);
      color: white;
      font-weight: 700;
      box-shadow: 0 4px 15px rgba(5, 150, 105, 0.3);
      border: none;
      transition: transform 0.2s, box-shadow 0.2s;
    }

    .action-button:hover {
      opacity: 0.9;
      transform: translateY(-2px);
    }

    .action-button:active {
      transform: scale(0.95);
      box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
    }

    #btn-zalo {
      background: linear-gradient(135deg, #3385ff 0%, #0068ff 100%);
      color: white;
      box-shadow: 0 4px 15px rgba(0, 104, 255, 0.3);
      border: none;
      transition: transform 0.2s, box-shadow 0.2s;
    }

    #btn-call {
      background: linear-gradient(135deg, #059669 0%, #047857 100%);
      color: white;
      font-weight: 700;
      box-shadow: 0 4px 15px rgba(5, 150, 105, 0.3);
      border: none;
      transition: transform 0.2s, box-shadow 0.2s;
    }

    #btn-zalo:hover,
    #btn-call:hover {
      transform: translateY(-2px);
      filter: brightness(1.05);
    }

    #btn-zalo:active,
    #btn-call:active {
      transform: scale(0.95);
      box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
    }

    /* Mini Map Widget */
    .mini-map-widget {
      background: var(--bg-white);
      border-radius: 12px;
      overflow: hidden;
      border: 1px solid var(--border);
      height: 220px;
      position: relative;
    }

    .mini-map-content {
      width: 100%;
      height: 100%;
      z-index: 0;
    }

    .mini-map-overlay {
      position: absolute;
      bottom: 0;
      left: 0;
      right: 0;
      padding: 10px;
      display: flex;
      justify-content: flex-end;
      pointer-events: none;
      background: linear-gradient(to top, rgba(0, 0, 0, 0.1), transparent);
    }

    .btn-expand-mini {
      pointer-events: auto;
      background: white;
      color: var(--text-main);
      border: 1px solid #ccc;
      padding: 6px 12px;
      border-radius: 20px;
      font-size: 12px;
      font-weight: 600;
      box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
      cursor: pointer;
      display: flex;
      align-items: center;
      gap: 5px;
      transition: all 0.2s;
    }

    .btn-expand-mini:hover {
      background: #f9fafb;
      transform: translateY(-1px);
    }

    /* Mini Map Zoom Controls Customization */
    #mini-map .leaflet-control-zoom {
      border: none !important;
      box-shadow: none !important;
    }

    #mini-map .leaflet-control-zoom-in,
    #mini-map .leaflet-control-zoom-out {
      width: 26px !important;
      height: 26px !important;
      line-height: 26px !important;
      border-radius: 4px !important;
      margin-bottom: 5px !important;
      box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15) !important;
      font-size: 14px !important;
      display: flex !important;
      align-items: center !important;
      justify-content: center !important;
      border: 1px solid #e5e7eb !important;
    }

    /* VIP Badges for Related */
    .vip-badge {
      position: absolute;
      top: 8px;
      left: 8px;
      padding: 2px 8px;
      border-radius: 4px;
      color: white;
      font-size: 10px;
      font-weight: 700;
      text-transform: uppercase;
      z-index: 2;
      box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    }

    .vip-badge.diamond {
      background: linear-gradient(135deg, #6d28d9, #be123c);
    }

    .vip-badge.gold {
      background: linear-gradient(135deg, #b45309, #fbbf24);
    }

    .vip-badge.silver {
      background: linear-gradient(135deg, #374151, #6b7280);
    }

    .distance-badge {
      position: absolute;
      bottom: 5px;
      right: 5px;
      background: rgba(0, 0, 0, 0.6);
      color: white;
      font-size: 11px;
      padding: 2px 6px;
      border-radius: 4px;
      backdrop-filter: blur(2px);
      display: flex;
      align-items: center;
      gap: 3px;
    }

    /* --- Action Buttons (Save & Share) --- */
    .listing-actions {
      display: flex;
      gap: 15px;
      margin-bottom: 20px;
    }

    .btn-action {
      background: white;
      border: 1px solid #e5e7eb;
      padding: 8px 16px;
      border-radius: 8px;
      cursor: pointer;
      font-weight: 600;
      color: var(--text-sub);
      display: flex;
      align-items: center;
      gap: 8px;
      transition: all 0.2s;
      font-size: 14px;
    }

    .btn-action:hover {
      background: #f9fafb;
      border-color: #d1d5db;
      color: var(--text-main);
    }

    .btn-save.saved {
      color: #dc2626;
      border-color: #fca5a5;
      background: #fef2f2;
    }

    .btn-save.saved i {
      font-weight: 900;
    }

    /* --- Toast Notification --- */
    #toast-container {
      position: fixed;
      top: 80px;
      right: 20px;
      z-index: 9999;
      display: flex;
      flex-direction: column;
      gap: 10px;
    }

    .toast {
      background: white;
      color: #333;
      padding: 16px 20px;
      border-radius: 8px;
      box-shadow: 0 4px 12px rgba(0,0,0,0.15);
      display: flex;
      align-items: center;
      gap: 12px;
      transform: translateX(120%);
      opacity: 0;
      transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
      font-size: 0.95rem;
      width: fit-content;
      max-width: 90vw;
      border-left: 4px solid #3b82f6;
    }

    .toast.show {
      transform: translateX(0);
      opacity: 1;
    }

    .toast.success { border-left-color: #059669; }
    .toast.error { border-left-color: #ef4444; }
    .toast.warning { border-left-color: #eab308; }
    .toast.info { border-left-color: #3b82f6; }

    .toast i { font-size: 1.25rem; }
    .toast.success i { color: #059669; }
    .toast.error i { color: #ef4444; }
    .toast.warning i { color: #eab308; }
    .toast.info i { color: #3b82f6; }

    /* --- User Listings Modal --- */
    .user-listings-modal {
      display: none;
      position: fixed;
      z-index: 2001;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.6);
      justify-content: center;
      align-items: center;
    }

    .user-listings-modal.active {
      display: flex;
    }

    .user-listings-content {
      background: white;
      width: 500px;
      max-width: 90%;
      max-height: 80vh;
      border-radius: 12px;
      display: flex;
      flex-direction: column;
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
      animation: fadeIn 0.2s ease-out;
    }

    .user-listings-header {
      padding: 15px 20px;
      border-bottom: 1px solid #eee;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .user-listings-title {
      font-weight: 700;
      font-size: 16px;
      color: var(--text-main);
    }

    .user-listings-close {
      cursor: pointer;
      font-size: 24px;
      color: #999;
      line-height: 1;
    }

    .user-listings-close:hover {
      color: #333;
    }

    .user-listings-body {
      padding: 0;
      overflow-y: auto;
      flex: 1;
    }

    .user-listing-item {
      display: flex;
      gap: 12px;
      padding: 12px 20px;
      border-bottom: 1px solid #f3f4f6;
      text-decoration: none;
      color: inherit;
      transition: background 0.2s;
    }

    .user-listing-item:hover {
      background: #f9fafb;
    }

    .user-listing-img {
      width: 80px;
      height: 60px;
      object-fit: cover;
      border-radius: 6px;
      background: #eee;
      flex-shrink: 0;
    }

    .user-listing-info {
      flex: 1;
      min-width: 0;
      display: flex;
      flex-direction: column;
      justify-content: center;
    }

    .user-listing-title {
      font-size: 14px;
      font-weight: 600;
      margin-bottom: 4px;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      color: var(--text-main);
    }

    .user-listing-price {
      color: var(--price-color);
      font-weight: 700;
      font-size: 13px;
    }

    .user-listing-address {
      font-size: 12px;
      color: var(--text-sub);
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      margin-top: 2px;
    }

    @keyframes fadeIn {
      from {
        opacity: 0;
        transform: scale(0.98);
      }

      to {
        opacity: 1;
        transform: scale(1);
      }
    }

    .author-meta {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      margin-bottom: 20px;
    }

    .author-role {
      margin-bottom: 0 !important;
    }

    .btn-view-page-small {
      background: #eff6ff;
      color: var(--secondary-color);
      border: none;
      font-size: 12px;
      font-weight: 600;
      padding: 4px 10px;
      border-radius: 12px;
      cursor: pointer;
      transition: background 0.2s;
      text-decoration: none;
      display: none;
    }

    .btn-view-page-small:hover {
      background: #dbeafe;
    }

    /* Responsive */
    /* Login Modal */
    .login-modal {
      display: none;
      position: fixed;
      z-index: 3000;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.6);
      justify-content: center;
      align-items: center;
    }

    .login-modal.active {
      display: flex;
    }

    .login-content {
      background: white;
      padding: 30px;
      border-radius: 12px;
      width: 400px;
      max-width: 90%;
      position: relative;
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    }

    .login-close {
      position: absolute;
      top: 15px;
      right: 15px;
      font-size: 24px;
      cursor: pointer;
      color: #999;
    }

    .login-title {
      font-size: 20px;
      font-weight: 700;
      margin-bottom: 20px;
      text-align: center;
      color: var(--text-main);
    }

    .form-group {
      margin-bottom: 15px;
    }

    .form-group label {
      display: block;
      margin-bottom: 5px;
      font-weight: 600;
      font-size: 14px;
    }

    .form-input {
      width: 100%;
      padding: 10px;
      border: 1px solid var(--border);
      border-radius: 6px;
      font-size: 14px;
    }

    .btn-submit-login {
      width: 100%;
      background: var(--primary-color);
      color: white;
      padding: 12px;
      border: none;
      border-radius: 6px;
      font-weight: 600;
      cursor: pointer;
      font-size: 15px;
      margin-top: 10px;
    }

    .btn-submit-login:hover {
      background: #047857;
    }

    .login-error {
      color: var(--price-color);
      font-size: 13px;
      margin-bottom: 15px;
      text-align: center;
      display: none;
    }

    @media (max-width: 1150px) {
      .specs-grid {
        grid-template-columns: repeat(2, 1fr);
      }
    }

    @media (max-width: 900px) {
      .container {
        grid-template-columns: 1fr;
      }

      /* V\u00f4 hi\u1ec7u h\u00f3a sticky sidebar tr\u00ean mobile */
      .sidebar {
        position: static;
        max-height: none;
        overflow-y: visible;
      }

      .contact-card {
        position: static;
        display: flex;
        flex-direction: column;
        align-items: center;
      }

      .main-image-wrapper {
        height: 300px;
      }

      .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
      }
    }

    /* --- Premium View Map Button --- */
    .btn-view-map-premium {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 6px;
      width: fit-content;
      height: 32px;
      padding: 0 14px;
      border: 1.5px solid var(--primary-color);
      border-radius: 16px;
      background: #ffffff;
      color: var(--primary-color);
      font-weight: 700;
      font-size: 12px;
      cursor: pointer;
      text-transform: uppercase;
      transition: all 0.2s ease-in-out;
      margin-top: 5px;
      margin-bottom: 20px;
    }

    .btn-view-map-premium i {
      font-size: 0.95rem;
    }

    .btn-view-map-premium:hover {
      background: rgba(5, 150, 105, 0.05);
      transform: translateY(-1px);
      box-shadow: 0 4px 12px rgba(5, 150, 105, 0.12);
    }

    .btn-view-map-premium:active {
      transform: translateY(0);
    }
