

/* ======================================================
//////// VERSION WEB////////////
====================================================== */
@media screen and (min-width: 1025px) {

/* ======================================================
   CONTENEDOR GENERAL
====================================================== */
.propiedades-container {
    width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    box-sizing: border-box;
}

.page-header {
    text-align: center;
    margin-bottom: 40px;
}

.page-title {
    font-size: 28px;
    color: #333;
    font-weight: bold;
    margin: 0;
    font-family: Arial, sans-serif;
}

/* ======================================================
   GRID
====================================================== */
.propiedades-grid {
    width: 100%;
    margin: 30px 0;
}

.propiedades-grid:after {
    content: "";
    display: table;
    clear: both;
}

/* ======================================================
   TARJETA
====================================================== */
.propiedad-card {
    float: left;
    width: 350px;
    margin: 0 25px 28px 0;
    background: #ffffff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 22px rgba(0,0,0,0.14);
}

.propiedad-card:nth-child(3n) {
    margin-right: 0;
}

/* ======================================================
   IMAGEN
====================================================== */
.propiedad-image {
    position: relative;
    height: 235px;
    overflow: hidden;
}

.propiedad-featured-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ======================================================
   TAGS
====================================================== */
.propiedad-tags-container {
    position: absolute;
    top: 14px;
    left: 14px;
    right: 14px;
    z-index: 3;
}

.propiedad-tags-left { float: left; }
.propiedad-tags-right { float: right; }

.propiedad-type,
.propiedad-status {
    background: #ffd400;
    color: #000;
    padding: 5px 12px;
    border-radius: 8px;
    font-weight: bold;
    font-size: 13px;
    font-family: Arial, sans-serif;
}

/* ======================================================
   UBICACIÓN
====================================================== */
.propiedad-location {
    position: absolute;
    bottom: 14px;
    left: 14px;
    background: rgba(0,0,0,0.75);
    color: #fff;
    padding: 5px 12px;
    border-radius: 8px;
    font-weight: bold;
    font-size: 13px;
    font-family: Arial, sans-serif;
}

/* ======================================================
   CONTENIDO
====================================================== */
.propiedad-content {
    padding: 10px;
}

.propiedad-title {
    font-size: 17px;
    margin: 0 0 8px;
    color: #333;
    font-weight: bold;
    font-family: Arial, sans-serif;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ======================================================
   PRECIO
====================================================== */
.propiedad-price {
    margin-bottom: 8px;
    font-family: Arial, sans-serif;
}

.price-label {
    font-weight: bold;
    font-size: 14px;
}

.price-value {
    color: #28a745;
    font-size: 21px;
    font-weight: bold;
}

.price-unit {
    font-size: 14px;
    font-weight: bold;
}

.propiedad-extra {
    display: inline-block;
    margin-left: 6px;
    background: #ffd400;
    padding: 5px 10px;
    border-radius: 8px;
    font-weight: bold;
    font-size: 13px;
}



/* ======================================================
   CARACTERÍSTICAS – AJUSTADAS PARA ENTRAR HORIZONTAL
====================================================== */
.propiedad-features-container {
    width: 100%;
    margin: 12px 0 16px;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
}

.propiedad-features {
    display: inline-block;
}

.feature-item {
    display: inline-block;
    background: #f6f6f6;
    border: 1px solid #e2e2e2;
    border-radius: 10px;
    padding: 5px 9px;
    margin: 0 4px;
    font-family: Arial, sans-serif;
    font-size: 16px;
    white-space: nowrap;
    vertical-align: middle;
}

.feature-icon-container {
    display: inline-block;
    margin-right: 5px;
    font-size: 18px;
    vertical-align: middle;
}

.feature-text {
    font-weight: bold;
    display: inline-block;
    vertical-align: middle;
    color: #333;
}

/* ======================================================
   BOTONES
====================================================== */
.propiedad-actions {
    margin: 16px 0;
}

.propiedad-button {
    float: left;
    width: 35%;
    background: #ffd400;
    color: #000;
    text-align: center;
    padding: 13px;
    border-radius: 10px;
    font-weight: bold;
    font-size: 14px;
    text-decoration: none;
    font-family: Arial, sans-serif;
}

.propiedad-whatsapp {
    float: right;
    width: 45%;
    background: #28a745;
    color: #fff;
    text-align: center;
    padding: 11px 10px;
    border-radius: 10px;
    font-weight: bold;
    font-size: 14px;
    text-decoration: none;
    font-family: Arial, sans-serif;
}

/* ======================================================
   FECHA
====================================================== */
.propiedad-date {
    clear: both;
    margin-top: 0px;
    padding-top: 10px;
    border-top: 1px solid #eee;
    text-align: center;
    font-size: 12px;
    color: #666;
    font-family: Arial, sans-serif;
}

/* ======================================================
   ICONS
====================================================== */
.icon {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.icon-parking {
  width: 20px;
  height: 20px;
  position: relative;
  top: 2px;    /* baja */
  left: 0px;   /* mueve a la derecha */
  
}

.icon-whatsapp {
  width: 22px;
  height: 22px;
  display: inline-block;
  vertical-align: middle;
}

/* ======================================================
   CLEARFIX BOTONES
====================================================== */
.propiedad-actions::after {
    content: "";
    display: table;
    clear: both;
}

/* ======================================================
   FECHA DE PUBLICACIÓN – SVG
====================================================== */
.propiedad-date {
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px solid #eee;
    text-align: center;
    font-size: 12px;
    color: #666;
    font-family: Arial, sans-serif;
}

.icon-calendar {
    width: 22px;
    height: 22px;
    fill: #666;
    vertical-align: middle;
    display: inline-block;
    margin-right: 6px;
    margin-top: 0px;
}

.propiedad-date-text {
    vertical-align: middle;
}

/* ======================================================
   NO BORRAR NEVER
====================================================== */
.dashicons-clock:before
 {
    display: table-column;
    content: "\f469";
    display: none;
}


.propiedad-share-right {
    position: relative;
    right: -30px;
    bottom: -150px;
}

}
/* ======================================================
//////// VERSION WEB//////////// CIERRA AQUI /////
====================================================== */


/* ======================================================
//////// VERSION MOVIL (SOLO MOVIL) – FIX ICONOS + IMAGEN//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
====================================================== */
@media screen and (max-width: 1024px) {

/* ================= CONTENEDOR ================= */
.propiedades-container {
    width: 100%;
    padding: 5px 0px;
    box-sizing: border-box;
}

/* ================= TARJETA ================= */
.propiedad-card {
    width: 100%;
    margin-bottom: 26px;
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0,0,0,0.14);
    float: none !important;
}

/* ================= IMAGEN (1600 x 1067) ================= */
/* Ratio ≈ 66.7% */
.propiedad-image {
    position: relative;
    width: 100%;
    padding-top: 66.7%;
    overflow: hidden;
}

.propiedad-featured-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ================= TAGS ================= */
.propiedad-tags-container {
    position: absolute;
    top: 12px;
    left: 12px;
    right: 12px;
    display: flex;
    justify-content: space-between;
    z-index: 3;
}

.propiedad-type,
.propiedad-status {
    background: #ffd400;
    color: #000;
    padding: 5px 10px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: bold;
}

/* ================= UBICACIÓN ================= */
.propiedad-location {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: rgba(0,0,0,0.75);
    color: #fff;
    padding: 5px 10px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: bold;
    z-index: 3;
}

/* ================= CONTENIDO ================= */
.propiedad-content {
    padding: 14px;
}

/* ================= TITULO ================= */
/* ===== TITULO MOVIL – FIX REAL ELLIPSIS (SAFARI iOS) ===== */
@media screen and (max-width: 1024px) {

  .propiedad-title {
      font-size: 15px;
      font-weight: bold;
      color: #222;
      line-height: 1.25;
      margin: 1px 1px;

      /* CLAVE REAL */
      display: block;
      max-width: 100%;
      
      
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;

      box-sizing: border-box;
  }

}
/* ================= PRECIO ================= */
.propiedad-price {
    margin: 8px 1px;
    
}

.price-label {
    font-size: 13px;
    font-weight: bold;
}

.price-value {
    font-size: 18px;
    font-weight: bold;
    color: #28a745;
}

/* ================= FEATURES (ICONOS FIX) ================= */
.propiedad-features-container {
    width: 100%;
    margin-bottom: 14px;
}

.propiedad-features {
    display: flex;
    width: 100%;
    justify-content: space-between; /* usa TODO el ancho */
    align-items: center;
    gap: 12px;
}

.feature-item {
    flex: 1; /* TODOS ocupan el mismo espacio */
    display: flex;
    align-items: center;
    justify-content: center; /* centra icono + texto */
    gap: 6px;

    background: #f6f6f6;
    border: 1px solid #e2e2e2;
    border-radius: 10px;
    padding: 6px 12px;

    font-size: 15px;
    font-weight: bold;
    color: #333;
    white-space: nowrap;
}

/* ===== ICONOS SVG (CRÍTICO) ===== */
.feature-icon-container {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.feature-icon-container svg {
    width: 18px;
    height: 18px;
    fill: #000;
    display: block;
}

/* ================= BOTONES ================= */
.propiedad-actions {
    display: flex;
    gap: 10px;
    margin-bottom: 14px;
}

.propiedad-button,
.propiedad-whatsapp {
    flex: 1;
    height: 48px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    float: none !important;
}

.propiedad-button {
    background: #ffd400;
    color: #000;
}

.propiedad-whatsapp {
    background: #28a745;
    color: #fff;
}

/* WhatsApp icon */
.propiedad-whatsapp svg {
    width: 18px;
    height: 18px;
    margin-right: 6px;
    fill: #fff;
}

@media screen and (max-width: 1024px) {
    .feature-icon-container svg.icon-parking {
        width: 22px;
        height: 22px;
    }
}

@media screen and (max-width: 1024px) {
    .feature-icon-container svg.icon-bedroom-bed {
    position: relative;
    top: -2px;    /* baja */
    left: 0px;   /* mueve a la derecha */
      }
}

/* ================= FECHA ================= */
.propiedad-date {
    border-top: 1px solid #eee;
    padding-top: 10px;
    font-size: 11px;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.icon-calendar {
    width: 18px;
    height: 18px;
    fill: #666;
    position: relative;
    top: 1px;    /* baja */
    left: 2px;   /* mueve a la derecha */
}

/* ================= LIMPIEZA ================= */
.dashicons,
.dashicons-clock {
    display: none !important;
}

}

/* ================= UBICACIÓN (FIX DEFINITIVO) ================= */
.propiedad-location {
    position: absolute;
    bottom: 14px;
    left: 14px;

    display: inline-flex;
    align-items: center;
    gap: 6px;

    background: rgba(0,0,0,0.85);
    color: #ffffff;

    padding: 6px 12px;
    border-radius: 999px;

    font-weight: bold;
    font-size: 13px;
    font-family: Arial, sans-serif;

    z-index: 4;
}

.propiedad-location svg {
    width: 14px;
    height: 14px;
    fill: #ffffff !important;
    display: block;
    flex-shrink: 0;
}

@media screen and (max-width: 1024px) {
.propiedad-share-right {
    position: relative;
    right: -30px;
    bottom: -190px;
    z-index: 10;
}
}

.propiedad-share-whatsapp {
    transform: rotate(324deg);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #28a745;

    display: flex;
    align-items: center;
    justify-content: center;

    text-decoration: none;
}



/* ======================================================
//////// FIN VERSION MOVIL
====================================================== */