/* OBENHAUS — Propiedades con etiqueta "Arrendada"
   CSS filter: no altera ni reemplaza los JPG/PNG/WebP originales.
   Se limita a la imagen; las etiquetas, botones y avatares quedan a color. */

/* Tarjetas: cartera, resultados, destacados, similares y carruseles. */
.obenhaus-arrendada-card .item-header img,
.obenhaus-arrendada-card .item-image img,
.obenhaus-arrendada-card .property-image img,
.obenhaus-arrendada-card .property-thumbnail img,
.obenhaus-arrendada-card .listing-image img,
.obenhaus-arrendada-card .hz-image-wrap img,
.obenhaus-arrendada-card img.wp-post-image,
.obenhaus-arrendada-photo {
  -webkit-filter: grayscale(100%) !important;
  filter: grayscale(100%) !important;
}

/* Ficha individual: banners, galerías y carruseles de fotos de Houzez. */
body.obenhaus-arrendada-single .property-banner img,
body.obenhaus-arrendada-single .property-detail-gallery img,
body.obenhaus-arrendada-single .property-gallery img,
body.obenhaus-arrendada-single .property-gallery-wrap img,
body.obenhaus-arrendada-single .gallery-wrap img,
body.obenhaus-arrendada-single .gallery-top-wrap img,
body.obenhaus-arrendada-single .top-gallery-section img,
body.obenhaus-arrendada-single .property-top-wrap .item-image img,
body.obenhaus-arrendada-single .houzez-property-gallery img,
body.obenhaus-arrendada-single .hz-gallery img,
body.obenhaus-arrendada-single .property-detail-media img,
body.obenhaus-arrendada-single .property-detail-gallery-slider img,
body.obenhaus-arrendada-single .houzez-property-gallery-slider img,
body.obenhaus-arrendada-single img.fancybox-image,
body.obenhaus-arrendada-single img.pswp__img,
body.obenhaus-arrendada-single img.lg-image,
body.obenhaus-arrendada-single .lightbox img {
  -webkit-filter: grayscale(100%) !important;
  filter: grayscale(100%) !important;
}

/* Imágenes dibujadas como background-image en ciertas variantes de Houzez. */
.obenhaus-arrendada-card .item-header [style*="background-image"],
.obenhaus-arrendada-card .item-image [style*="background-image"],
.obenhaus-arrendada-card .listing-image [style*="background-image"],
.obenhaus-arrendada-card .property-image [style*="background-image"],
body.obenhaus-arrendada-single .property-banner [style*="background-image"],
body.obenhaus-arrendada-single .property-detail-gallery [style*="background-image"],
body.obenhaus-arrendada-single .property-gallery [style*="background-image"] {
  -webkit-filter: grayscale(100%) !important;
  filter: grayscale(100%) !important;
}

/* NOTA: no modificamos el degradado oscuro original de las tarjetas.
   Es otro efecto independiente que puede ajustarse tras inspeccionar su selector. */

/* Botón propio del panel de Houzez: conserva el estilo tipográfico y del menú. */
.obenhaus-rent-action {
    display: flex;
    align-items: center;
    gap: 7px;
    width: 100%;
    background: transparent;
    border: none;
    padding: 8px 12px;
    margin: 0;
    color: inherit;
    font: inherit;
    font-size: inherit;
    text-align: left;
    cursor: pointer;
}
.obenhaus-rent-action:hover,
.obenhaus-rent-action:focus-visible { background: rgba(0,0,0,.04); }


/* Panel interno Houzez: solo miniaturas de propiedades arrendadas.
   No altera la Biblioteca de Medios ni los archivos originales. */
img.obenhaus-rented-dashboard-thumbnail {
    -webkit-filter: grayscale(100%) !important;
    filter: grayscale(100%) !important;
}

/* Acciones masivas de destaque: barra independiente del selector del tema. */
.obenhaus-featured-tools {
    display: flex;
    align-items: center;
    gap: 9px;
    flex-wrap: wrap;
    margin: 12px 0;
    padding: 8px 10px;
    background: #f4f8f8;
    border: 1px solid #dce7e5;
    border-radius: 8px;
    color: #35505a;
    font-size: 13px;
}
.obenhaus-featured-tools > span { font-weight: 600; }
.obenhaus-featured-tool-button {
    appearance: none;
    background: #fff;
    border: 1px solid #80b8b0;
    border-radius: 6px;
    padding: 7px 11px;
    color: #214d48;
    cursor: pointer;
    font: inherit;
}
.obenhaus-featured-tool-button:hover,
.obenhaus-featured-tool-button:focus-visible {
    background: #e6f6f2;
    border-color: #2dbea8;
}
.obenhaus-dashboard-action { white-space: normal; }
