:root {
    --green: #1a7a3c;
    --green-light: #2ea04f;
    --green-pale: #e8f5ed;
    --green-mid: #c5e8d0;
    --text-dark: #0f2016;
    --text-mid: #3a5244;
    --text-muted: #7a9585;
    --bg: #f7faf8;
    --white: #ffffff;
    --shadow-card: 0 4px 20px rgba(0,0,0,0.08);
    --radius: 16px;
    --radius-sm: 10px;
  }
  *, *::before, *::after { 
    box-sizing: border-box; 
    margin: 0; 
    padding: 0; 
  }
  body { 
    font-family: 'DM Sans', sans-serif; 
    background: var(--bg); 
    color: var(--text-dark); 
  }

  input,
  select,
  textarea {
      font-size: 16px;
  }

  .form-control{
    font-size:16px;
  }

  .mobile-input{
    font-size:16px;
  }

  body.modal-open{
    overflow:hidden !important;
    touch-action:none;
  }
  .modal{
    overflow-y:auto;
    position:fixed;
  }
  .modal-dialog{
    margin:1rem auto;
  }
  .modal-body{
    max-height:85vh;
    overflow-y:auto;
  }
  .modal input,
  .modal select,
  .modal textarea{
    font-size:16px;
  }

  .with-select{
    width: 55% !important;
  }

  /* ===== SECTION ===== */
  .search-section { 
    padding: 10px 15%; 
  }
  /* Botón abrir filtros */
  .search-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    border-bottom: 1px solid #dee2e6;
  }
  .search-topbar h2 {
    font-weight: 700;
    color: var(--text-dark);
    font-family: "Lexend", Sans-serif;
    font-size: 1.7rem;
    padding: 8px 0 19px;
  }
  .btn-filtros-modal {
    background-color: #ecf6ef;
    padding: .375rem 1.2rem .375rem 1.2rem;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    border-radius: 10px;
    color: #392F2D;
    line-height: 18px;
    height: 43px;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 13px;
    font-style: normal;
    font-family: "Lexend", Sans-serif;
    border: 1px solid #c5e8d0 !important;
    display: inline-flex;
    justify-content: center;
    opacity: 0.8 !important;
  }

  .btn-filtros-reset {
    background-color: #F2F2F2;
    border: 1px solid #BCBCBC !important;
    padding: .375rem 1.2rem .375rem 1.2rem;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    border-radius: 8px;
    color: #686868;
    line-height: 18px;
    height: 48px;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 15px;
    font-style: normal;
    font-weight: 600;
    font-family: "Lexend", Sans-serif;
    border: none;
    display: inline-flex;
    justify-content: center;
  }
  
  .btn-filtros-modal svg { 
    width: 15px; 
    height: 15px; 
  }
  /* ===== RESULTADOS ===== */
  .results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
  }
  .results-title {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
  }
  .results-view-btns { 
    display: flex; 
    gap: 6px; 
  }
  .view-btn {
    width: 36px; height: 36px;
    border-radius: var(--radius-sm);
    border: 1.5px solid #7D7A79;
    background: var(--white);
    color: #7D7A79;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
  }
  .view-btn:hover { 
    border-color: #595757; 
    color: #595757; 
  }
  .view-btn.active { 
    background: #e6e6e6; 
    border-color: #e6e6e6; 
    color: #392F2D; 
  }
  /* ===== CARDS RESULTADO ===== */
  .results-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  .results-list.grid-view {
    display: grid;
    grid-template-columns: repeat(3, 3fr);
    gap: 14px;
  }
  .results-list.grid-view .result-card { 
    flex-direction: column; 
  }
  .results-list.grid-view .result-img { 
    width: 100%; 
    height: 180px; 
  }
  .result-card {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    display: flex;
    align-items: stretch;
    position: relative;
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
    background:#f5f5f5;
    border: 1px solid #cbd6dc;
  }
  .result-card:hover { 
    box-shadow: 0 8px 2px 0 #fff0,0 5px 2px 0 rgb(0 0 0 / .01),0 3px 2px 0 rgb(0 0 0 / .05),0 1px 1px 0 rgb(0 0 0 / .09),0 0 1px 0 rgb(0 0 0 / .1); 
  }
  .result-card.featured { 
    border-color: var(--green); 
  }
  .result-img {
    width: 360px;
    min-height: 270px;
    height: 270px;        /* ← altura fija */
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
    background: #f0f0f0;
  }
  .result-img img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover;
    object-position: center;
    display: block;
  }
  .result-img-placeholder {
    width: 100%; 
    height: 100%;
    display: flex; 
    align-items: center; 
    justify-content: center;
  }
  .result-badge {
    position: absolute;
    top: 10px; 
    left: 10px;
    background: green;
    color: white;
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 50px;
    z-index: 2;
    font-weight: 400;
    font-family: AvenirLTStd-Roman,sans-serif;
  }
  .result-body {
    flex: 1;
    padding: 20px 16px 16px 20px;
    display: flex;
    text-decoration: none !important;
    /*align-items: center;*/
  }
  .result-name {
    font-size: 23px;
    margin-bottom: 3px !important;
    font-weight: 600;
    display: flex;
    font-family: "Lexend", Sans-serif;
    color: #c08c38 !important;
  }
  .result-titulo-propiedad{
    color: #000;
    display: block;
    font-weight: 600;
    font-size: 22px;
    line-height: 32px;
    margin: 0;
  }
  .result-address {
    font-size: 12px; color: var(--text-muted);
    display: flex; align-items: center; gap: 3px;
    margin-bottom: 10px;
  }
  .result-price { 
    font-size: 18px; 
    font-weight: 700; 
    color: var(--green); 
    margin-bottom: 10px; 
  }
  .result-price span { 
    font-size: 12px; 
    font-weight: 400; 
    color: var(--text-muted); 
  }
  .result-meta { 
    display: flex; 
    gap: 14px; 
  }
  .result-meta-item { 
    display: flex; 
    align-items: center; 
    gap: 4px; 
    font-size: 12px; 
    color: var(--text-muted); 
  }
  .result-fav {
    position: absolute;
    top: 14px; right: 14px;
    width: 32px; height: 32px;
    border-radius: 50%;
    background: var(--bg);
    border: 1px solid var(--green-mid);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
  }
  .result-fav:hover { 
    background: #fef2f2; 
    border-color: #e74c3c; 
  }
  .result-fav.active { 
    background: #fef2f2; 
    border-color: #e74c3c; 
  }
  .prop-fav-love {
    position: absolute;
    top: 12px; 
    right: 12px;
    padding: 8px 10px;
    background: none;
    border-radius: 0.375rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 400;
  }
  .btn-favorito {
    position: absolute;
    top: -2px;
    right: 0px;        /* ← lado derecho */
    z-index: 2;
    background: rgba(255, 255, 255, 0.85);
    border: none;
    border-radius: 50%;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 16px;
    color: #ccc;
    transition: color 0.2s, transform 0.15s;
  }
  .btn-favorito.activo { color: #e63946; }
  .btn-favorito:hover  { transform: scale(1.15); color: #e63946; }
  /* ===== OVERLAY ===== */
  .filters-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1040;
    animation: fadeIn 0.25s ease;
  }
  .filters-overlay.open { 
    display: block; 
  }
  @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
  /* ===== MODAL FILTROS ===== */
  .filters-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.95);
    z-index: 1050;
    background: var(--white);
    border-radius: var(--radius);
    width: 90%;
    max-width: 520px;
    max-height: 85dvh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 24px 64px rgba(0,0,0,0.18);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
  }
  .filters-modal.open {
    opacity: 1;
    pointer-events: all;
    transform: translate(-50%, -50%) scale(1);
  }
  .filters-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px 16px;
    border-bottom: 1px solid var(--green-pale);
    flex-shrink: 0;
    text-align:center;
  }
  .filters-modal-header h3 {
    font-size: 20px; 
    font-weight: 700;
    color: #392F2D;
    text-align: center !important;
    font-family: samsungsharpsans-bold;
  }
  .filters-modal-close {
    width: 34px; height: 34px;
    border-radius: 50%;
    border: 1.5px solid #5c6368;
    background: #5c6368;
    color: white;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
  }
  .filters-modal-close:hover { 
    background: #454545; 
    border-color: #454545; 
    color: var(--white); 
  }
  .filters-modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px 24px;
  }
  .filters-modal-footer {
    display: flex;
    gap: 12px;
    padding: 16px 24px 20px;
    border-top: 1px solid var(--green-pale);
    flex-shrink: 0;
  }
  .btn-reset-modal {
    flex: 1;
    padding: 12px;
    border-radius: var(--radius-sm);
    border: 1.5px solid #454545;
    background: var(--white);
    color: var(--text-mid);
    font-size: 14px; font-weight: 600;
    font-family: 'DM Sans', sans-serif;
    cursor: pointer;
    transition: all 0.2s;
  }
  .btn-reset-modal:hover { 
    border-color: #454545; 
    color: #454545; 
  }
  .btn-apply-modal {
    flex: 2;
    padding: 12px;
    border-radius: var(--radius-sm);
    border: none;
    background: var(--green);
    color: var(--white);
    font-size: 14px; font-weight: 600;
    font-family: 'DM Sans', sans-serif;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
  }
  .btn-apply-modal:hover { 
    background: var(--green-light); 
    transform: translateY(-1px); 
  }
  /* ===== FILTROS INTERNOS ===== */
  .filter-group {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #dee2e6;
  }
  .filter-group:last-child { 
    border-bottom: none; 
    padding-bottom: 0; 
  }
  .filter-label {
    display: block;
    font-size: 13px; 
    font-weight: 600;
    color: #000;
    margin-bottom: 12px;
    font-family: "Lexend", Sans-serif;
  }
  .prop-type-grid { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 8px; 
  }
  .prop-type-btn {
    display: flex; flex-direction: column;
    align-items: center; gap: 6px;
    padding: 12px 8px;
    border-radius: var(--radius-sm);
    border: 1.5px solid var(--green-mid);
    background: var(--white);
    color: var(--text-mid);
    font-size: 12px; font-weight: 500;
    cursor: pointer;
    font-family: 'DM Sans', sans-serif;
    transition: all 0.2s;
  }
  .prop-type-btn svg { 
    width: 22px; 
    height: 22px; 
  }
  .prop-type-btn:hover { 
    border-color: var(--green); 
    color: var(--green); 
  }
  .prop-type-btn.active { 
    background: var(--green); 
    border-color: var(--green); 
    color: var(--white); 
  }
  .filter-select-wrap {
    display: flex; align-items: center; gap: 8px;
    background: var(--bg);
    border: 1.5px solid var(--green-mid);
    border-radius: var(--radius-sm);
    padding: 10px 12px;
    font-family: "Lexend", Sans-serif;
    font-size: 12px;
  }
  .filter-select {
    flex: 1; border: none; background: transparent;
    font-size: 13px; color: var(--text-dark);
    font-family: 'DM Sans', sans-serif;
    outline: none; cursor: pointer;
  }
  .range-wrap { 
    position: relative; 
    height: 20px; 
    margin-bottom: 14px; 
  }
  .range-wrap input[type="range"] {
    position: absolute; 
    width: 100%; 
    height: 4px;
    background: transparent; 
    pointer-events: none;
    -webkit-appearance: none; 
    top: 8px;
  }
  .range-wrap input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 18px; height: 18px;
    border-radius: 50%;
    background: var(--green);
    pointer-events: all; cursor: pointer;
    border: 2px solid var(--white);
    box-shadow: 0 2px 6px rgba(26,122,60,0.3);
  }
  .range-wrap input[type="range"]::-webkit-slider-runnable-track {
    height: 4px; 
    background: var(--green-mid); 
    border-radius: 4px;
  }
  .range-inputs { 
    display: flex; 
    align-items: center; 
    gap: 8px; 
  }
  .range-input-wrap {
    flex: 1; display: flex; align-items: center; gap: 4px;
    background: var(--bg);
    border: 1.5px solid var(--green-mid);
    border-radius: var(--radius-sm);
    padding: 7px 10px;
    font-size: 13px; color: var(--text-muted);
  }
  .range-input-wrap input {
    border: none; background: transparent; width: 100%;
    font-size: 13px; font-weight: 600; color: var(--text-dark);
    font-family: 'DM Sans', sans-serif; outline: none;
  }
  .range-sep { 
    color: var(--text-muted); 
    font-size: 14px; 
  }
  .rooms-btns { 
    display: flex; 
    gap: 8px; 
  }
  .room-btn {
    width: 40px; height: 40px;
    border-radius: var(--radius-sm);
    border: 1.5px solid #454545;
    background: var(--white);
    color: var(--text-mid);
    font-size: 13px; font-weight: 600;
    cursor: pointer;
    font-family: "Lexend", Sans-serif;
    transition: all 0.2s;
  }
  .room-btn:hover { 
    border-color: #454545; 
    color: #454545; 
  }
  .room-btn.active { 
    background: #454545; 
    border-color: #454545; 
    color: var(--white); 
  }
  .checkboxes { 
    display: flex; 
    flex-direction: column; 
    gap: 10px; 
  }
  .check-item {
    display: flex; 
    align-items: center; 
    gap: 10px;
    font-size: 13px; 
    color: #454545; 
    cursor: pointer;
  }
  .check-item input[type="checkbox"] {
    width: 16px; height: 16px;
    accent-color: var(--green); 
    cursor: pointer;
  }
  .container-migajas{
    padding: 0px 5%;
    max-width: 1700px;
    margin: 0 auto;
  }
  .top_heading_realpress {
    padding: 16px 0;
    background-color: #F2F2F2;
  }
  .realpress-breadcrumb {
    margin: 0;
  }
  .realpress-breadcrumb ul {
    display: flex;
    flex-wrap: wrap;
    margin: 0;
  }
  .realpress-breadcrumb ul li {
    font-size: 16px;
    line-height: 1.5em;
    font-weight: regular;
    margin-right: 10px !important;
    display: inline-block;
    color: #686868;
    margin: 0;
    margin-left: 0;
    list-style: none;
  }
  .realpress-breadcrumb ul li a {
    font-weight: 500;
    color: #000;
    display: inline-block;
    text-decoration: none;
  }
  .realpress-breadcrumb ul li + li::before {
    margin-right: 10px;
    font-weight: 600;
    margin-left: 0;
    font-size: 11px;
    color: black;
  }
  .font-11{
    font-size: 11px;
  }

  /* ===== RESPONSIVE ===== */
  @media (max-width: 576px) {
    .filters-modal {
      top: auto; bottom: 0;
      left: 0; right: 0;
      transform: translateY(20px);
      width: 100%; max-width: 100%;
      max-height: 90dvh;
      border-radius: 20px 20px 0 0;
    }
    .filters-modal.open { 
      transform: translateY(0); 
    }
    .filters-modal::before {
      content: '';
      display: block;
      width: 40px; height: 4px;
      background: #454545;
      border-radius: 4px;
      margin: 12px auto 0;
    }
    .result-img { 
      width: 150px; 
      min-height: 160px;
    }
    .result-name { 
      font-size: 14px; 
    }
    .result-price { 
      font-size: 15px; 
    }
    .results-list.grid-view { 
      grid-template-columns: 1fr; 
    }
  }
  nav{
    z-index: 1020 !important;
    position: sticky !important;
    box-shadow: none !important;
  }
  .sticky-top {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 1020;
  }
  .border-line{
    border-bottom: 1px solid #dee2e6;
  }
  .color-select-filtros{
    background-color: #fff !important;
    border: 1px solid #ebebeb !important;
    font-size: 12px;
  }
  .color-select-filtros-modal{
    background-color: #f7faf8 !important;
    border: 1px solid #f7faf8 !important;
    font-size: 12px;
    color: #0f2016;
  }
  .color-select-filtros-principales{
    background-color: #ecf6ef !important;
    border: 1px solid #c5e8d0 !important;
    font-size: 13px !important;
    color: #0f2016;
    border-radius: 10px !important;
    height: 45px !important;
  }
  .filter-bar {
    position: sticky;
    top: 0px;
    z-index: 99;
    background: #fff;
  }
  .div_btn_whatsapp {
    z-index: 1030 !important;
  }
  /* CONTENEDOR */
  .filtro-container {
    padding: 15px 5%;
    max-width: 1550px;
    margin: 0 auto; /* 👈 esto centra */
  }
  /* TOP (DESKTOP) */
  .filtros-top {
      display: flex;
      gap: 10px;
      align-items: center;
  }
  .pl-50{
    padding-left: 50px !important;
  }
  /* INPUTS Y SELECT */
  select, input {
      padding: 10px 15px;
      border-radius: 10px;
      border: 1px solid #ccc;
      background: #fff;
      cursor: pointer;
  }
  /* BOTONES */
  .btn-filtros {
      padding: 10px 15px;
      border-radius: 10px;
      border: 1px solid #ccc;
      background: #eee;
      cursor: pointer;
  }
  .btn-alerta {
      padding: 10px 15px;
      border-radius: 20px;
      border: 1px solid #0d6efd;
      background: transparent;
      color: #0d6efd;
      cursor: pointer;
  }
  /* MOBILE SECTION */
  .filtros-mobile {
      display: none;
      margin-top: 20px;
  }
  /* GRID */
  .grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 10px;
      margin-top: 10px;
  }
  /* ACCIONES */
  .acciones {
      display: flex;
      gap: 10px;
      margin-top: 10px;
  }
  .btn-buscar {
      flex: 1;
      background: #198754;
      color: #fff;
      border: none;
      padding: 12px;
      border-radius: 30px;
  }
  .btn-borrar {
      flex: 1;
      background: #6c757d;
      color: #fff;
      border: none;
      padding: 12px;
      border-radius: 10px;
  }
  .form-control {
    display: block;
    width: 100%;
    font-size: 1rem;
    font-weight: 400;
    line-height: 17px;
    color:#fff;
    appearance: none;
    background-color: #fff;
    background-clip: padding-box;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
  }
  .mt-10{
    margin-top: 10px;
  }
  .filter-bar .form-control{
    border: 1px solid #727272;
    border-radius: 8px;
    height: 48px;
  }
  input{
    margin: 0;
    font-family: inherit;
  }
  .filter-bar .form-select {
    border: 1px solid #BCBCBC;
    border-radius: 30px;
    height: 48px;
    font-size: 0.9rem;
    line-height: 1.5;
    font-style: normal;
    font-weight: 400;
    font-family: "Lexend", Sans-serif;
  }
  .filter-bar {
    position:   sticky;
    top:        0;
    z-index:    1020;
    background: #fff;
    max-width:  100vw;
  }
  /* ← Contenedor que absorbe el overflow horizontal */
  .filtro-container {
      overflow-x: hidden;
  }
  .font-text {
    font-family: "Lexend", Sans-serif;
    font-size: 12px;
    color: #392F2D !important;
    opacity: 0.8 !important;
    font-weight: 700
  }
  .form-select {
    display: block;
    width: 100%;
    padding: .375rem 2.25rem .375rem 1.2rem;
    font-weight: 400;
    line-height: 1.5;
    appearance: none;
    background-color: #e6e6e6;  /* ← color aquí */
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right .75rem center;
    background-size: 16px 12px;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
  }
  select {
    word-wrap: normal;
  }
  .search-btn {
    border-radius: 10px;
    background-color: #158c30;
    border: 1px solid #158c30;
    color: #fff;
    padding: 10px 18px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-family: samsungsharpsans-medium, sans-serif;
    font-size: 15px;
    font-weight: 500;
  }
  .filter-btn-borrar {
    border-radius: 8px;
    background-color: #6c767f;
    border: 1px solid #6c767f;
    color: #fff;
    padding: 10px 18px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-family: samsungsharpsans-medium, sans-serif;
    font-size: 15px;
    font-weight: 500;
  }
  .w-100 {
    width: 100% !important;
  }
  .font-16{
    font-size:16px;
  }
  .mz-1{
    margin-left: .40rem !important;
  }
  .mde-1{
    margin-right: .40rem !important;
  }
  .text-derecha{
    text-align: right;
  }
  .section-label{
    font-size:14px !important;
  }
  .section-label {
    font-family: samsungsharpsans-medium, sans-serif;
    font-size: 12px;
    font-weight: 400;
    color: #1a7a3c;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    margin-bottom: 10px;
  }
  .text-precio-card {
    font-family: samsungsharpsans-bold,sans-serif !important;
    font-style: normal !important;
    font-size: 32px !important;
    font-weight: 500 !important;
    line-height: 30px;
    margin-top: 10px;
    color: #392F2D !important;
  }
  .txt-ubicacion {
    font-size: 16px;
    color: #848484;
    text-align: justify;
    font-style: normal;
    font-weight: 400;
    line-height: 22px;
    overflow-wrap: anywhere;
    margin-top: 10px;
    margin-bottom: 10px;
  }
  .section-label-card {
    font-family: samsungsharpsans-medium, sans-serif;
    font-size: 12px;
    font-weight: 400;
    color: #3a3a3a;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    margin-bottom: 10px;
  }
  .prop-meta{
    border-bottom: 1px solid #e4e4e4;
    border-top: none !important;
    padding-bottom: 14px;
    padding-top: 5px !important;
  }
  .texto-publicado-por{
    font-weight: 700;
    color: var(--text-dark);
    font-family: "Lexend", Sans-serif;
    font-size: 13px;
    padding-top:19px;
  }
  .propiedades-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  .estile-ul-pagination {
    margin-bottom: 0;
    padding-left: 0;
    list-style: none;
  }
  .mt-20 {
    margin-top: 20px;
  }
  .wd-navigation {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
  }
  .enlaces-propiedades{
    text-decoration: none !important;
    cursor: pointer;
  }
  .titulo-sinresultados{
    font-family: "Lexend", Sans-serif;
    font-size:25px; 
    font-weight:700; 
    margin:0; 
    color:#1a1a1a;
  }
  .sub-titulo-sinresultados{
    font-family: "Lexend", Sans-serif;
    font-size:14px; 
    font-weight:400;
    color:#6b6b6b; 
    margin:0; max-width:320px; 
    line-height:1.6;
  }
  .btn-reset-sinresultados{
    font-family: "Lexend", Sans-serif;
    margin-top:0.5rem; 
    padding:10px 24px; 
    font-size:14px; 
    border-radius:8px; 
    background:#392F2D; 
    border:none;
    color:white; 
    cursor:pointer;
  }
  .checkboxes-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 16px;
  }

  .check-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--color-text-primary);
    cursor: pointer;
    padding: 4px 0;
  }

  .check-item input[type="checkbox"] {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    cursor: pointer;
    accent-color: #your-brand-color; /* cambia por tu color */
  }

  .check-item:hover {
    color: var(--color-text-secondary);
  }
  .texto-camara {
    font-family: AvenirLTStd-Roman;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
  }
  .photo-count {
    position: absolute;
    bottom: 10px;
    left: 10px;
    z-index: 2;
    background: rgba(0,0,0,0.5);
    color: #fff;
    padding: 3px 8px;
    border-radius: 20px;
    font-size: 12px;
  }

  /* LOADER PAGINAS */
  #loading-ajax {
    background: rgba(0, 0, 0, 0.8);
    left: 0;
    position: fixed;
    top: 0;
    height: 100%;
    width: 100%;
    z-index: 5000;
  }
  .loading-bg {
    background: #fff url(../img/preloading.gif) no-repeat center center;
    height: 130px;
    width: 130px;
    margin: auto;
    position: absolute;
    top: 50%;
    margin-top: -65px;
    left: 50%;
    margin-left: -65px;
    z-index: 4000;
    border-radius: 9px;
  }

  /* ── Loader Buzón ── */
  #loaderBuzon {
      position:   fixed;
      inset:      0;
      z-index:    99999;
      background: rgba(0, 0, 0, 0.5);
      display:    flex;
      align-items:     center;
      justify-content: center;
  }

  .loader-buzon-box {
      background:    #fff;
      border-radius: 12px;
      padding:       28px 36px;
      display:       flex;
      flex-direction: column;
      align-items:   center;
      gap:           14px;
  }

  .loader-buzon-spinner {
      width:        42px;
      height:       42px;
      border:       4px solid #e0e0e0;
      border-top:   4px solid #1e662e;
      border-radius: 50%;
      animation:    girarLoader 0.7s linear infinite;
  }

  @keyframes girarLoader {
      to { transform: rotate(360deg); }
  }

  .loader-buzon-texto {
      font-size:   14px;
      color:       #555;
      margin:      0;
      font-family: AvenirLTStd-Roman, sans-serif;
  }

  /* ── Alerta Buzón ── */
  .alerta-buzon-overlay {
      position:        fixed;
      inset:           0;
      z-index:         999999;
      background:      rgba(0, 0, 0, 0.60);
      display:         flex;
      align-items:     center;
      justify-content: center;
      padding:         16px;
  }

  .alerta-buzon-box {
      background:    #fff;
      border-radius: 12px;
      padding:       28px 24px 24px;
      max-width:     360px;
      width:         100%;
      text-align:    center;
  }

  .alerta-buzon-icono {
      width:         44px;
      height:        44px;
      border-radius: 50%;
      display:       flex;
      align-items:   center;
      justify-content: center;
      font-size:     20px;
      font-weight:   700;
      margin:        0 auto 14px;
  }

  .alerta-buzon-titulo {
      font-size:     16px;
      font-weight:   700;
      color:         #222;
      margin-bottom: 8px;
  }

  .alerta-buzon-texto {
      font-size:     14px;
      color:         #555;
      margin-bottom: 20px;
      line-height:   1.5;
  }
  .alerta-buzon-btn {
      padding:       10px 28px;
      color:         #fff;
      border:        none;
      border-radius: 50px;
      font-size:     14px;
      font-weight:   600;
      cursor:        pointer;
      transition:    opacity 0.2s;
  }
  .alerta-buzon-btn:hover { opacity: 0.85; }

  .img-modal-alertas{
    width: 100px;
  }
  .result-info{
    width: 100%;
  }
  /* Contenedor con animación */
  .flat-animate-tab {
    animation: fadeSlideIn 0.35s ease forwards;
  }

  /* Efecto fade + slide hacia arriba */
  @keyframes fadeSlideIn {
    from {
      opacity: 0;
      transform: translateY(16px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  /* Para cada card con delay escalonado */
  .flat-animate-tab .result-card {
    animation: fadeSlideIn 0.35s ease forwards;
    opacity: 0;
  }

  .flat-animate-tab .result-card:nth-child(1) { animation-delay: 0.05s; }
  .flat-animate-tab .result-card:nth-child(2) { animation-delay: 0.10s; }
  .flat-animate-tab .result-card:nth-child(3) { animation-delay: 0.15s; }
  .flat-animate-tab .result-card:nth-child(4) { animation-delay: 0.20s; }
  .flat-animate-tab .result-card:nth-child(5) { animation-delay: 0.25s; }
  .flat-animate-tab .result-card:nth-child(6) { animation-delay: 0.30s; }
  
  /* En móvil una sola columna */
  @media (max-width: 480px) {
    .checkboxes-grid {
      grid-template-columns: 1fr;
    }
  }
  /* RESPONSIVE */
  @media (max-width: 576px) {
    .results-list {
      grid-template-columns: 1fr;
    }
    .search-section {
      padding: 10px 6%;
    }
    .wd-navigation {
      gap: 4px;
    }
    .section-padding-footer {
      padding-top: 30px;
      padding-bottom: 0px;
    }
  }
  @media (max-width: 768px) {
      .search-section {
        padding: 10px 6%;
      }
      .filtros-top {
          display: none;
      }
      .filtros-mobile {
          display: block;
      }
      .text-precio-card {
        font-size: 25px !important;
      }
      .section-label-card{
        font-size:10px;
      }
      .txt-ubicacion {
        font-size:14px;
        width: 90%;
      }
      /* GRID DE 2 COLUMNAS */
      .results-list {
        display: grid;
        grid-template-columns: 1fr; /* UNA SOLA COLUMNA */
        gap: 15px;
      }
      .result-card {
        flex-direction: column;
      }
      /* IMAGEN ARRIBA */
      .result-img {
        width: 100%;
        height: 180px; /* puedes subir un poco la altura */
      }
      /* CONTENIDO */
      .result-body {
        padding: 12px;
      }
      /* PRECIO MÁS PEQUEÑO */
      .text-precio-card {
        font-size: 18px;
      }
      /* OCULTAR TEXTO LARGO */
      .result-info p:nth-of-type(2) {
        display: none;
      }
      /* UBICACIÓN MÁS COMPACTA */
      .txt-ubicacion {
        font-size: 12px;
      }
      /* ICONOS MÁS CHICOS */
      .prop-meta {
        font-size: 11px;
        gap: 5px;
        flex-wrap: wrap;
      }
      /* OCULTAR "Publicado por" */
      .texto-publicado-por {
        display: block;
        font-size: 12px;
      }
      .wd-navigation {
        gap: 5px;
      }
      .section-padding-footer {
        padding-top: 30px;
        padding-bottom: 0px;
      }
      input[type="text"],
      input[type="email"],
      input[type="tel"],
      input[type="number"],
      input[type="password"],
      select,
      textarea {
          font-size: 16px !important;
      }
      .mobile-input{
        font-size: 16px;
      }
      .with-select{
        width: 75% !important;
        font-size: 13px !important;
      }
      .color-select-filtros-modal {
        font-size: 13px !important;
        font-family: "Lexend", Sans-serif;
      }
  }
  @media (min-width: 992px) {
    .col-lg {
      flex: 1 0 0%;
    }
    .col-lg-auto {
      flex: 0 0 auto;
      width: auto;
    }
    .results-list {
      grid-template-columns: repeat(2, 1fr);
    }
    
  }

  @media (max-width: 768px) {
    .btn-filtros-modal {
      width: 100% !important;
    }
    .pl-50{
      padding-left: 0 !important;
    }
  }