 /* --- CSS RESET & VARIABLES --- */
    :root {
      --primary-color: #0A4C6A;
      --primary-dark: #073549;
      --secondary-color: #E8A900;
      --secondary-light: #FFC107;
      
      --bg-color: #f4f6f8;
      --card-bg: #ffffff;
      
      --text-main: #1f2937;
      --text-muted: #6b7280;
      
      --radius: 16px;
      --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
      --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.08);
      --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
      
      --container-width: 1350px;
    }

    * { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
    
    body {
      margin: 0;
      padding: 0;
      font-family: "Heebo", sans-serif;
      background: var(--bg-color);
      color: var(--text-main);
      line-height: 1.5;
    }

    a { text-decoration: none; color: inherit; transition: all 0.2s ease; }
    img { max-width: 100%; display: block; }
    ul { list-style: none; padding: 0; margin: 0; }
    button { font-family: inherit; }

    .container {
      max-width: var(--container-width);
      margin: 0 auto;
      padding: 0 16px;
    }

    /* --- HEADER (Fixed: Not Sticky as requested) --- */
    .main-header {
      background: #fff;
      padding: 12px 0;
      box-shadow: var(--shadow-sm);
      position: relative; /* Not sticky */
      z-index: 1000;
    }

    .main-header-inner {
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-direction: row-reverse;
      gap: 15px;
    }

    .logo {
      display: flex;
      flex-direction: column;
      line-height: 1;
      text-align: right;
    }
    .logo-primary {
      font-size: 1.8rem;
      font-weight: 900;
      color: var(--primary-color);
    }
    .logo-secondary { color: var(--secondary-color); }
    .logo-tagline {
      font-size: 0.85rem;
      font-weight: 500;
      color: var(--text-muted);
      margin-top: 2px;
    }

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

    /* Header Buttons */
    .btn-header-nav {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 10px 16px;
      border-radius: 50px;
      font-weight: 700;
      font-size: 0.95rem;
      background: #f8f9fa;
      color: var(--text-main);
      border: 1px solid rgba(0,0,0,0.05);
    }
    .btn-header-nav i { color: var(--secondary-color); }
    .btn-header-nav:hover {
      background: var(--primary-color);
      color: #fff;
      border-color: var(--primary-color);
    }
    .btn-header-nav:hover i { color: #fff; }

    .btn-add-prop {
      background: rgba(232, 169, 0, 0.15);
      color: #b47d00;
      font-weight: 800;
      padding: 10px 16px;
      border-radius: 50px;
      border: 1px solid rgba(232, 169, 0, 0.3);
    }
    .btn-add-prop:hover {
      background: var(--secondary-color);
      color: #fff;
    }

    /* --- INTRO & HERO --- */
    .mini-intro {
      text-align: center;
      margin: 40px 0 30px;
    }
    .mini-intro h1 {
      margin: 0 0 10px;
      font-size: 2.2rem;
      color: var(--primary-color);
      font-weight: 900;
    }
    .mini-intro p {
      margin: 0;
      color: var(--text-muted);
      font-size: 1.1rem;
      font-weight: 500;
    }

    /* --- GRID SYSTEM --- */
    .properties-grid {
      display: grid;
      /* Default: 3 columns for Desktop */
      grid-template-columns: repeat(3, 1fr);
      gap: 30px;
      margin-bottom: 50px;
    }

    /* --- CARD DESIGN --- */
    .prop-card {
      background: var(--card-bg);
      border-radius: var(--radius);
      overflow: hidden;
      border: 1px solid rgba(0,0,0,0.04);
      box-shadow: var(--shadow-sm);
      display: flex;
      flex-direction: column;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      position: relative;
    }

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

    /* Media Wrapper (16:9) */
    .card-media-wrapper {
      width: 100%;
      aspect-ratio: 16/9;
      background: #000;
      position: relative;
      cursor: pointer;
      overflow: hidden;
    }
    .card-media-wrapper:focus { outline: none; }
    
    .card-poster {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: opacity 0.3s ease;
      position: absolute;
      top: 0; left: 0; z-index: 1;
    }

    /* Play Button */
    .play-btn-overlay {
      position: absolute;
      top: 50%; left: 50%;
      transform: translate(-50%, -50%);
      width: 60px; height: 60px;
      background: rgba(0,0,0,0.5);
      border: 2px solid #fff;
      border-radius: 50%;
      display: flex; align-items: center; justify-content: center;
      z-index: 2;
      transition: all 0.3s;
      pointer-events: none;
    }
    .play-btn-overlay i { color: #fff; font-size: 24px; margin-left: 2px; }
    
    .card-media-wrapper:hover .play-btn-overlay {
      background: var(--secondary-color);
      border-color: var(--secondary-color);
      transform: translate(-50%, -50%) scale(1.1);
    }

    .yt-injected { position: absolute; inset: 0; z-index: 5; width: 100%; height: 100%; }

    /* Badges */
    .rating-badge {
      position: absolute; top: 12px; right: 12px;
      background: #fff;
      padding: 4px 10px;
      border-radius: 20px;
      font-weight: 800;
      font-size: 0.85rem;
      color: var(--primary-color);
      z-index: 3;
      box-shadow: 0 2px 4px rgba(0,0,0,0.15);
    }
    .rating-badge i { color: #FFC107; margin-left: 4px; }

    .coming-soon {
      position: absolute;
      bottom: 12px; right: 12px;
      background: rgba(255,255,255,0.95);
      padding: 6px 12px;
      border-radius: 8px;
      font-weight: 700;
      font-size: 0.85rem;
      display: none; /* JS toggles this */
      align-items: center; gap: 6px;
      z-index: 3;
    }
    .coming-soon i { color: var(--secondary-color); }

    .prop-card[data-video-ready="false"] .coming-soon { display: flex; }
    .prop-card[data-video-ready="false"] .play-btn-overlay { opacity: 0.4; }

    /* Card Content */
    .card-body {
      padding: 20px;
      flex: 1;
      display: flex;
      flex-direction: column;
      gap: 12px;
    }

    .card-title {
      margin: 0;
      line-height: 1.3;
    }
    .card-title a {
      font-size: 1.35rem;
      font-weight: 800;
      color: var(--primary-color);
    }
    .card-title a:hover { color: var(--secondary-color); }

    .card-subtitle {
      font-size: 0.9rem;
      color: var(--text-muted);
      font-weight: 600;
      display: flex; align-items: center; gap: 6px;
    }

    /* Features Row */
    .features-row {
      display: flex;
      justify-content: space-between;
      border-top: 1px solid #eee;
      border-bottom: 1px solid #eee;
      padding: 12px 0;
      margin: 5px 0 10px;
    }
    .feat-item {
      text-align: center;
      font-size: 0.8rem;
      font-weight: 700;
      color: #333;
      flex: 1;
    }
    .feat-item i {
      display: block;
      font-size: 1.1rem;
      color: var(--secondary-color);
      margin-bottom: 5px;
    }

    /* --- NEW: Details Button Style --- */
    .btn-details {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 100%;
      padding: 12px;
      border-radius: 10px;
      background: #f8f9fa;
      color: var(--primary-color);
      border: 2px solid var(--primary-color);
      font-weight: 800;
      font-size: 0.95rem;
      margin-top: auto; /* Push to bottom before actions */
      margin-bottom: 10px; /* Space from contacts */
      gap: 8px;
    }
    .btn-details:hover {
      background: var(--primary-color);
      color: #fff;
    }

    /* Action Buttons (Contact) */
    .action-buttons {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 12px;
    }
    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      padding: 12px;
      border-radius: 10px;
      font-weight: 800;
      font-size: 0.95rem;
      border: none;
      cursor: pointer;
    }
    .btn-wa {
      background: #dcf8c6;
      color: #075e54;
      border: 1px solid #25D366;
    }
    .btn-wa:hover { background: #25D366; color: #fff; }
    
    .btn-call {
      background: var(--primary-color);
      color: #fff;
    }
    .btn-call:hover { background: var(--primary-dark); }

    /* --- SECTIONS: CATEGORIES, NEWSLETTER, GUIDES --- */
    .section { padding: 40px 0; }
    
    .category-navigation {
      display: flex;
      justify-content: center;
      gap: 20px;
      margin-bottom: 40px;
      flex-wrap: wrap;
    }
    .btn-large-cat {
      background: #fff;
      padding: 15px 30px;
      border-radius: 100px;
      font-weight: 800;
      font-size: 1.1rem;
      box-shadow: var(--shadow-sm);
      display: flex; align-items: center; gap: 10px;
    }
    .btn-large-cat i { color: var(--secondary-color); font-size: 1.2rem; }
    .btn-large-cat:hover {
      transform: translateY(-3px);
      box-shadow: var(--shadow-md);
      color: var(--primary-color);
    }

    .newsletter-section {
      background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
      padding: 60px 0;
      color: #fff;
      border-radius: 20px;
      margin-bottom: 40px;
    }
    .newsletter-wrapper {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 30px;
      flex-wrap: wrap;
    }
    .newsletter-content { max-width: 600px; }
    .newsletter-content h2 { margin: 0 0 10px; font-size: 1.8rem; font-weight: 800; }
    .newsletter-content p { margin: 0; opacity: 0.9; font-size: 1.1rem; }
    
    .newsletter-form-container { flex: 1; min-width: 300px; }
    .newsletter-form { display: flex; gap: 10px; flex-wrap: wrap; }
    .newsletter-form input {
      flex: 1;
      padding: 14px;
      border-radius: 10px;
      border: none;
      font-family: inherit;
    }
    .btn-newsletter {
      background: var(--secondary-color);
      color: var(--primary-color);
      border: none;
      padding: 14px 24px;
      border-radius: 10px;
      font-weight: 900;
      cursor: pointer;
      white-space: nowrap;
    }
    .btn-newsletter:hover { background: #fff; }

    .guides-list {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 15px;
      margin-top: 20px;
    }
    .guides-list a {
      display: block;
      background: #fff;
      padding: 15px 20px;
      border-radius: 12px;
      font-weight: 700;
      color: var(--primary-color);
      box-shadow: var(--shadow-sm);
      border: 1px solid rgba(0,0,0,0.05);
    }
    .guides-list a:hover {
      transform: translateY(-2px);
      box-shadow: var(--shadow-md);
      background: #f8fbff;
    }

    .page-note {
      text-align: center;
      font-size: 0.85rem;
      color: var(--text-muted);
      margin: 40px auto;
      max-width: 800px;
      line-height: 1.6;
    }
    .page-note strong { color: var(--primary-color); }
    .page-note a { color: var(--primary-color); font-weight: 700; }

    /* --- FOOTER --- */
    .main-footer {
      background: var(--primary-dark);
      color: #fff;
      padding: 40px 0 20px;
      text-align: center;
      margin-top: 40px;
    }
    .footer-links {
      display: flex;
      justify-content: center;
      gap: 20px;
      flex-wrap: wrap;
      margin: 20px 0;
    }
    .footer-links a { color: rgba(255,255,255,0.8); font-weight: 600; font-size: 0.95rem; }
    .footer-links a:hover { color: #fff; text-decoration: underline; }
    .copyright { opacity: 0.6; font-size: 0.85rem; }

    /* --- RESPONSIVE & MOBILE --- */
    
    @media (max-width: 1100px) {
      /* טאבלט: 2 עמודות */
      .properties-grid {
        grid-template-columns: repeat(2, 1fr);
      }
    }

    @media (max-width: 768px) {
      /* התאמות תפריט למובייל */
      .main-header-inner {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
      }
      .logo { align-items: center; }
      
      .header-buttons-group {
        justify-content: flex-start;
        overflow-x: auto; /* גלילה אופקית */
        padding-bottom: 5px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
      }
      .header-buttons-group::-webkit-scrollbar { display: none; }
      
      .mini-intro h1 { font-size: 1.6rem; }
      .newsletter-wrapper { text-align: center; justify-content: center; }
      .newsletter-form { flex-direction: column; }
      .btn-newsletter, .newsletter-form input { width: 100%; }
    }

    @media (max-width: 650px) {
      /* מובייל: עמודה אחת בלבד */
      .properties-grid {
        grid-template-columns: 1fr; /* כופה פריט אחד בשורה */
        gap: 24px;
      }
      
      .container { padding: 0 12px; }
      
      /* הגדלת כפתורים ללחיצה נוחה */
      .action-buttons .btn, .btn-details { padding: 14px; font-size: 1rem; }
      
      .feat-item { font-size: 0.75rem; }
    }
	  /* === Force Nagishli button to bottom-left === */
@media (max-width: 768px) {
  #NagishLiBtn,
  #NagishLiBtnIcon,
  #NagishLiButton,
  nagishli #NagishLiBtn,
  nagishli #NagishLiBtnIcon,
  nagishli #NagishLiButton {
    left: 12px !important;
    bottom: 12px !important;
  }
}

	  .mini-intro {
  text-align: center;
  margin-bottom: 20px;
}

.mini-intro h1 {
  margin-bottom: 8px;
}

.intro-highlights {
  font-weight: 700;
  color: #0A4C6A;
  margin-bottom: 6px;
}

.intro-hint {
  font-size: 0.78rem !important;
  color: #adb5bd !important;
}
