/* Mi Golden House v6.1.0 · Propiedades públicas
   Todo está deliberadamente aislado bajo .ghp-* para no afectar el tema. */

.ghp-listing,
.ghp-detail{
  --ghp-navy:#1f3049;
  --ghp-taupe:#bb9684;
  --ghp-ink:#26384f;
  --ghp-muted:#6d7887;
  --ghp-border:#e6e2df;
  --ghp-soft:#f7f5f3;
  --ghp-white:#fff;
  color:var(--ghp-ink);
  font:inherit;
}

.ghp-listing *,.ghp-detail *{box-sizing:border-box}

/* Filters */
.ghp-filters{
  display:grid;
  grid-template-columns:1.5fr repeat(4,minmax(140px,1fr));
  gap:12px;
  align-items:end;
  margin:0 0 20px;
  padding:18px;
  border:1px solid var(--ghp-border);
  border-radius:18px;
  background:var(--ghp-white);
  box-shadow:0 10px 35px rgba(31,48,73,.05);
}
.ghp-filters label{display:flex;flex-direction:column;gap:6px;margin:0;font-size:12px;font-weight:700;color:var(--ghp-navy)}
.ghp-filters input,.ghp-filters select{
  width:100%;min-height:46px;border:1px solid #d9d4d0;border-radius:10px;
  background:#fff;padding:9px 12px;font:inherit;color:var(--ghp-navy);outline:none;
}
.ghp-filters input:focus,.ghp-filters select:focus{border-color:var(--ghp-taupe);box-shadow:0 0 0 3px rgba(187,150,132,.13)}
.ghp-filter-actions{grid-column:1/-1;display:flex;align-items:center;justify-content:flex-end;gap:12px;padding-top:2px}
.ghp-filter-actions button{
  min-height:44px;padding:10px 22px;border:0;border-radius:10px;background:var(--ghp-navy);
  color:#fff;font-weight:800;cursor:pointer;
}
.ghp-filter-actions a{color:var(--ghp-navy);font-size:13px;font-weight:700;text-decoration:none}
.ghp-listing-head{display:flex;justify-content:space-between;gap:20px;align-items:center;margin:0 0 16px;color:var(--ghp-muted);font-size:13px}
.ghp-listing-head strong{color:var(--ghp-navy);font-size:18px}
.ghp-listing-note{font-size:11px}

/* Cards */
.ghp-grid{display:grid;grid-template-columns:repeat(var(--ghp-columns,3),minmax(0,1fr));gap:22px}
.ghp-card{
  overflow:hidden;border:1px solid var(--ghp-border);border-radius:18px;background:#fff;
  box-shadow:0 9px 28px rgba(31,48,73,.07);transition:transform .2s ease,box-shadow .2s ease;
}
.ghp-card:hover{transform:translateY(-3px);box-shadow:0 16px 38px rgba(31,48,73,.11)}
.ghp-card-image{position:relative;display:block;aspect-ratio:4/3;overflow:hidden;background:var(--ghp-soft);text-decoration:none}
.ghp-card-image img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .3s ease}
.ghp-card:hover .ghp-card-image img{transform:scale(1.035)}
.ghp-no-image{display:flex;height:100%;align-items:center;justify-content:center;color:var(--ghp-taupe);font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.ghp-card-badges{position:absolute;top:12px;left:12px;right:12px;display:flex;gap:6px;flex-wrap:wrap}
.ghp-badge{
  display:inline-flex;align-items:center;min-height:27px;padding:5px 9px;border-radius:999px;
  background:rgba(31,48,73,.94);color:#fff;font-size:10px;font-weight:800;letter-spacing:.03em;
}
.ghp-badge-featured{background:var(--ghp-taupe)}
.ghp-badge-status{background:#fff;color:var(--ghp-navy);box-shadow:0 2px 8px rgba(0,0,0,.08)}
.ghp-badge-soft{background:var(--ghp-soft);color:var(--ghp-navy)}
.ghp-card-body{padding:17px 18px 18px}
.ghp-card-topline{display:flex;justify-content:space-between;gap:10px;margin:0 0 7px;color:var(--ghp-taupe);font-size:10px;font-weight:800;letter-spacing:.06em;text-transform:uppercase}
.ghp-card h3{margin:0 0 7px;font-size:20px;line-height:1.25}
.ghp-card h3 a{color:var(--ghp-navy);text-decoration:none}
.ghp-location{margin:0 0 11px;color:var(--ghp-muted);font-size:13px}
.ghp-price{margin:0 0 12px;color:var(--ghp-navy);font-size:19px;font-weight:850;line-height:1.25}
.ghp-specs{display:flex;flex-wrap:wrap;gap:7px 14px;padding-top:12px;border-top:1px solid var(--ghp-border);color:var(--ghp-muted);font-size:12px}
.ghp-specs strong{color:var(--ghp-navy)}
.ghp-card-cta{display:flex;justify-content:space-between;align-items:center;margin-top:15px;color:var(--ghp-navy);font-size:12px;font-weight:800;text-decoration:none}
.ghp-card-cta span{font-size:18px}
.ghp-empty{display:flex;flex-direction:column;gap:5px;padding:30px;border:1px dashed #d6d1cd;border-radius:15px;background:var(--ghp-soft);text-align:center;color:var(--ghp-muted)}
.ghp-empty strong{color:var(--ghp-navy)}
.ghp-pagination{display:flex;justify-content:center;gap:7px;flex-wrap:wrap;margin:28px 0 0}
.ghp-pagination a{display:inline-flex;align-items:center;justify-content:center;min-width:38px;height:38px;padding:0 8px;border:1px solid var(--ghp-border);border-radius:9px;color:var(--ghp-navy);background:#fff;text-decoration:none;font-weight:700}
.ghp-pagination a.is-current{background:var(--ghp-navy);border-color:var(--ghp-navy);color:#fff}

/* Detail */
.ghp-detail{max-width:1220px;margin:0 auto}
.ghp-back{display:inline-flex;margin:0 0 19px;color:var(--ghp-navy);text-decoration:none;font-size:13px;font-weight:800}
.ghp-detail-head{display:flex;gap:30px;justify-content:space-between;align-items:flex-end;margin:0 0 20px}
.ghp-detail-badges{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:10px}
.ghp-detail h1{margin:0;color:var(--ghp-navy);font-size:clamp(30px,4vw,50px);line-height:1.06;letter-spacing:-.025em}
.ghp-detail-location{margin:9px 0 0;color:var(--ghp-muted);font-size:16px}
.ghp-public-reference{margin:4px 0 0;color:var(--ghp-muted);font-size:13px}
.ghp-code{margin:7px 0 0;color:var(--ghp-taupe);font-size:11px;font-weight:800;letter-spacing:.05em;text-transform:uppercase}
.ghp-detail-price{max-width:420px;color:var(--ghp-navy);font-size:clamp(21px,2.6vw,31px);font-weight:850;line-height:1.25;text-align:right}
.ghp-detail-gallery{display:grid;grid-template-columns:2fr 1fr 1fr;grid-template-rows:repeat(2,minmax(150px,1fr));gap:8px;height:min(530px,52vw);min-height:350px;border-radius:20px;overflow:hidden;background:var(--ghp-soft)}
.ghp-detail-gallery .ghp-gallery-item{display:block;overflow:hidden;background:var(--ghp-soft)}
.ghp-detail-gallery .ghp-gallery-item-1{grid-row:1/3}
.ghp-detail-gallery img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .25s ease}
.ghp-detail-gallery a:hover img{transform:scale(1.02)}
.ghp-detail-gallery:not(.has-multiple){display:block;height:auto;min-height:0;aspect-ratio:16/8}
.ghp-hero-empty{display:flex;align-items:center;justify-content:center;aspect-ratio:16/7;border-radius:20px;background:var(--ghp-soft);color:var(--ghp-taupe);font-weight:800}
.ghp-detail-layout{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:36px;align-items:start;margin-top:28px}
.ghp-detail-main{min-width:0}
.ghp-detail-specs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
.ghp-detail-specs>div{padding:13px 14px;border:1px solid var(--ghp-border);border-radius:12px;background:#fff}
.ghp-detail-specs span{display:block;margin-bottom:4px;color:#7a8491;font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.05em}
.ghp-detail-specs strong{color:var(--ghp-navy);font-size:15px}
.ghp-section{padding:28px 0;border-bottom:1px solid var(--ghp-border)}
.ghp-section h2{margin:0 0 15px;color:var(--ghp-navy);font-size:24px}
.ghp-description{color:#4f5b69;line-height:1.75}
.ghp-features{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px 24px;margin:0;padding:0;list-style:none}
.ghp-features li{position:relative;padding-left:21px;color:#4f5b69}
.ghp-features li:before{content:"✓";position:absolute;left:0;top:0;color:var(--ghp-taupe);font-weight:900}
.ghp-gallery-more{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.ghp-gallery-more a{display:block;overflow:hidden;border-radius:12px;aspect-ratio:4/3}
.ghp-gallery-more img{width:100%;height:100%;object-fit:cover;display:block}
.ghp-contact-card{position:sticky;top:24px;padding:22px;border:1px solid var(--ghp-border);border-radius:18px;background:#fff;box-shadow:0 12px 32px rgba(31,48,73,.08)}
.ghp-contact-kicker{margin:0 0 5px;color:var(--ghp-taupe);font-size:11px;font-weight:850;text-transform:uppercase;letter-spacing:.08em}
.ghp-contact-card h2{margin:0 0 8px;color:var(--ghp-navy);font-size:23px}
.ghp-contact-card>p:not(.ghp-contact-kicker){margin:0 0 17px;color:var(--ghp-muted);font-size:13px;line-height:1.55}
.ghp-contact-primary,.ghp-contact-secondary{display:flex;align-items:center;justify-content:center;min-height:45px;margin-top:8px;border-radius:10px;text-decoration:none;font-weight:800;font-size:13px}
.ghp-contact-primary{background:var(--ghp-navy);color:#fff}
.ghp-contact-secondary{border:1px solid var(--ghp-navy);color:var(--ghp-navy)}
.ghp-contact-link{display:block;margin:13px 0;color:var(--ghp-navy);font-size:12px;font-weight:700;text-align:center;text-decoration:none;word-break:break-word}
.ghp-contact-card small{display:block;padding-top:13px;border-top:1px solid var(--ghp-border);color:#89919c;font-size:10px;line-height:1.5}
.ghp-related{padding:42px 0 10px}
.ghp-related-head{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:16px}
.ghp-related-head span{display:block;color:var(--ghp-taupe);font-size:10px;font-weight:850;text-transform:uppercase;letter-spacing:.07em}
.ghp-related-head h2{margin:3px 0 0;color:var(--ghp-navy);font-size:27px}
.ghp-related-head>a{color:var(--ghp-navy);font-size:12px;font-weight:800;text-decoration:none}

@media(max-width:1050px){
  .ghp-filters{grid-template-columns:repeat(3,minmax(0,1fr))}
  .ghp-filter-search{grid-column:span 2}
  .ghp-detail-layout{grid-template-columns:minmax(0,1fr) 290px;gap:24px}
}
@media(max-width:900px){
  .ghp-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .ghp-detail-head{align-items:flex-start}
  .ghp-detail-gallery{grid-template-columns:2fr 1fr;grid-template-rows:repeat(2,1fr)}
  .ghp-detail-gallery .ghp-gallery-item-4,.ghp-detail-gallery .ghp-gallery-item-5{display:none}
  .ghp-detail-layout{grid-template-columns:1fr}
  .ghp-contact-card{position:static}
}
@media(max-width:640px){
  .ghp-filters{grid-template-columns:1fr;padding:14px}
  .ghp-filter-search{grid-column:auto}
  .ghp-filter-actions{justify-content:stretch;align-items:stretch;flex-direction:column}
  .ghp-filter-actions button{width:100%}
  .ghp-listing-head{display:block}
  .ghp-listing-note{margin-top:4px}
  .ghp-grid{grid-template-columns:1fr}
  .ghp-detail-head{display:block}
  .ghp-detail-price{margin-top:13px;text-align:left}
  .ghp-detail-gallery{display:grid;height:330px;min-height:0;grid-template-columns:1fr 1fr;grid-template-rows:2fr 1fr}
  .ghp-detail-gallery .ghp-gallery-item-1{grid-column:1/3;grid-row:auto}
  .ghp-detail-gallery .ghp-gallery-item-3{display:block}
  .ghp-detail-gallery .ghp-gallery-item-4,.ghp-detail-gallery .ghp-gallery-item-5{display:none}
  .ghp-detail-specs{grid-template-columns:repeat(2,minmax(0,1fr))}
  .ghp-features,.ghp-gallery-more{grid-template-columns:1fr}
  .ghp-related-head{align-items:flex-start}
  .ghp-related .ghp-grid{grid-template-columns:1fr}
}


/* =========================================================
   v6.1.5 · Responsive images, gallery lightbox & similar properties
   ========================================================= */

/* Brand operation labels */
.ghp-listing .ghp-badge-rent,
.ghp-detail .ghp-badge-rent{
  background:#bb9684;
  color:#fff;
}
.ghp-listing .ghp-badge-sale,
.ghp-detail .ghp-badge-sale{
  background:#1f3049;
  color:#fff;
}
.ghp-card-badges{
  justify-content:flex-start;
  align-items:flex-start;
}

/* Card image: force responsive cover independently of theme rules */
.ghp-listing .ghp-card-image{
  width:100%;
  height:auto;
  aspect-ratio:4 / 3;
  overflow:hidden;
  border-radius:14px 14px 0 0;
}
.ghp-listing .ghp-card-image img{
  width:100% !important;
  height:100% !important;
  max-width:none !important;
  display:block !important;
  object-fit:cover !important;
  object-position:center center !important;
}

/* More editorial card style, close to the visual reference */
.ghp-listing .ghp-card{
  border:1px solid #d8dde3;
  border-radius:14px;
  box-shadow:none;
}
.ghp-listing .ghp-card:hover{
  transform:translateY(-2px);
  box-shadow:0 12px 28px rgba(31,48,73,.09);
}
.ghp-listing .ghp-card-body{
  padding:18px 20px 20px;
}
.ghp-listing .ghp-price{
  font-size:clamp(20px,2vw,28px);
  letter-spacing:-.02em;
}
.ghp-listing .ghp-card h3{
  font-size:18px;
}

/* Detail gallery: all cells adapt without stretching photos */
.ghp-detail .ghp-detail-gallery{
  width:100%;
  height:clamp(360px,46vw,590px);
  grid-template-columns:minmax(0,2fr) minmax(0,1fr) minmax(0,1fr);
  grid-template-rows:repeat(2,minmax(0,1fr));
  gap:10px;
  border-radius:18px;
  overflow:hidden;
}
.ghp-detail .ghp-gallery-item{
  position:relative;
  width:100%;
  height:100%;
  min-width:0;
  min-height:0;
  padding:0;
  border:0;
  appearance:none;
  cursor:zoom-in;
  overflow:hidden;
  background:#f3efeb;
}
.ghp-detail .ghp-gallery-item img{
  width:100% !important;
  height:100% !important;
  max-width:none !important;
  display:block !important;
  object-fit:cover !important;
  object-position:center center !important;
}
.ghp-detail .ghp-gallery-item-1{
  grid-row:1 / 3;
}
.ghp-gallery-more-label{
  position:absolute;
  right:14px;
  bottom:14px;
  display:inline-flex;
  align-items:center;
  min-height:38px;
  padding:8px 14px;
  border-radius:999px;
  background:rgba(255,255,255,.92);
  color:#1f3049;
  font-size:12px;
  font-weight:800;
  box-shadow:0 4px 16px rgba(0,0,0,.12);
}

/* Existing lower gallery also participates in lightbox */
.ghp-gallery-more-item{
  display:block;
  width:100%;
  aspect-ratio:4 / 3;
  padding:0;
  border:0;
  border-radius:12px;
  overflow:hidden;
  cursor:zoom-in;
  background:#f3efeb;
}
.ghp-gallery-more-item img{
  width:100% !important;
  height:100% !important;
  object-fit:cover !important;
  display:block !important;
}

/* Lightbox */
html.ghp-lightbox-open,
html.ghp-lightbox-open body{
  overflow:hidden !important;
}
.ghp-lightbox[hidden]{display:none !important}
.ghp-lightbox{
  position:fixed;
  z-index:999999;
  inset:0;
  display:grid;
  grid-template-columns:72px minmax(0,1fr) 72px;
  align-items:center;
  gap:10px;
  padding:34px 24px;
  background:rgba(10,18,29,.94);
  backdrop-filter:blur(4px);
}
.ghp-lightbox-stage{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
  height:min(86vh,920px);
  margin:0;
}
.ghp-lightbox-stage img{
  width:auto !important;
  height:auto !important;
  max-width:100% !important;
  max-height:100% !important;
  object-fit:contain !important;
  display:block;
  border-radius:8px;
  box-shadow:0 16px 60px rgba(0,0,0,.28);
}
.ghp-lightbox-stage figcaption{
  position:absolute;
  left:50%;
  bottom:-25px;
  transform:translateX(-50%);
  color:#fff;
  font-size:12px;
  font-weight:700;
  letter-spacing:.04em;
}
.ghp-lightbox-nav,
.ghp-lightbox-close{
  border:0;
  color:#fff;
  cursor:pointer;
  background:rgba(255,255,255,.14);
  backdrop-filter:blur(6px);
}
.ghp-lightbox-nav{
  width:56px;
  height:56px;
  border-radius:50%;
  font-size:42px;
  line-height:1;
  display:flex;
  align-items:center;
  justify-content:center;
}
.ghp-lightbox-nav:hover,
.ghp-lightbox-close:hover{
  background:rgba(187,150,132,.88);
}
.ghp-lightbox-close{
  position:absolute;
  z-index:2;
  top:20px;
  right:22px;
  width:44px;
  height:44px;
  border-radius:50%;
  font-size:29px;
  line-height:1;
}
.ghp-lightbox-prev{justify-self:start}
.ghp-lightbox-next{justify-self:end}

/* Similar properties */
.ghp-related{
  margin-top:42px;
  padding-top:34px;
  border-top:1px solid var(--ghp-border);
}
.ghp-related-head h2{
  font-size:30px;
}

@media(max-width:900px){
  .ghp-detail .ghp-detail-gallery{
    height:480px;
    grid-template-columns:1.7fr 1fr;
  }
  .ghp-detail .ghp-gallery-item-4,
  .ghp-detail .ghp-gallery-item-5{
    display:none;
  }
  .ghp-lightbox{
    grid-template-columns:54px minmax(0,1fr) 54px;
    padding:26px 10px;
  }
  .ghp-lightbox-nav{
    width:46px;
    height:46px;
    font-size:34px;
  }
}
@media(max-width:640px){
  .ghp-listing .ghp-card-image{aspect-ratio:4 / 3}
  .ghp-detail .ghp-detail-gallery{
    height:420px;
    grid-template-columns:1fr 1fr;
    grid-template-rows:2fr 1fr;
  }
  .ghp-detail .ghp-gallery-item-1{
    grid-column:1 / 3;
    grid-row:auto;
  }
  .ghp-detail .ghp-gallery-item-3{display:block}
  .ghp-detail .ghp-gallery-item-4,
  .ghp-detail .ghp-gallery-item-5{display:none}
  .ghp-lightbox{
    grid-template-columns:1fr;
    padding:58px 12px 42px;
  }
  .ghp-lightbox-stage{
    grid-column:1;
    height:78vh;
  }
  .ghp-lightbox-nav{
    position:absolute;
    z-index:3;
    top:50%;
    transform:translateY(-50%);
    width:44px;
    height:44px;
    background:rgba(31,48,73,.72);
  }
  .ghp-lightbox-prev{left:12px}
  .ghp-lightbox-next{right:12px}
  .ghp-related .ghp-grid{grid-template-columns:1fr}
}


/* =========================================================
   v6.1.8 · Iconografía pública y jerarquía visual
   ========================================================= */

.ghp-listing .ghp-icon,
.ghp-detail .ghp-icon{
  width:20px;
  height:20px;
  flex:0 0 20px;
  color:#1f3049;
}

/* Tarjetas del inventario: métricas con iconos */
.ghp-listing .ghp-specs{
  display:flex;
  flex-wrap:wrap;
  gap:10px 16px;
  align-items:center;
}
.ghp-listing .ghp-specs>span{
  display:inline-flex;
  align-items:center;
  gap:6px;
  color:#5f6b78;
  font-size:12px;
  white-space:nowrap;
}
.ghp-listing .ghp-specs .ghp-icon{
  width:18px;
  height:18px;
  flex-basis:18px;
  color:#1f3049;
}
.ghp-listing .ghp-specs strong{
  color:#1f3049;
  font-size:13px;
}

/* Título individual: sigue siendo protagonista, pero más sobrio */
.ghp-detail h1{
  font-size:clamp(25px,3vw,38px) !important;
  line-height:1.12 !important;
  letter-spacing:-.018em !important;
  max-width:820px;
}

/* Características principales, inspiradas en una ficha editorial */
.ghp-main-features{
  padding:4px 0 28px;
  border-bottom:1px solid var(--ghp-border);
}
.ghp-main-features h2{
  margin:0 0 22px;
  color:#1f3049;
  font-size:25px;
  line-height:1.2;
}
.ghp-detail .ghp-detail-specs{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:22px 34px;
}
.ghp-detail .ghp-detail-spec-item{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:0;
  padding:0;
  border:0;
  border-radius:0;
  background:transparent;
}
.ghp-detail .ghp-detail-spec-item .ghp-icon{
  width:23px;
  height:23px;
  flex-basis:23px;
  color:#1f3049;
}
.ghp-detail .ghp-detail-spec-item>div{
  min-width:0;
}
.ghp-detail .ghp-detail-spec-item span{
  display:block;
  margin:0 0 2px;
  color:#7a8491;
  font-size:10px;
  line-height:1.2;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.055em;
}
.ghp-detail .ghp-detail-spec-item strong{
  display:block;
  color:#26384f;
  font-size:15px;
  line-height:1.25;
  font-weight:700;
}

/* Amenidades / detalles con iconos */
.ghp-detail .ghp-amenities-section{
  padding-top:28px;
}
.ghp-detail .ghp-features{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:17px 30px;
  margin:0;
  padding:0;
  list-style:none;
}
.ghp-detail .ghp-features li{
  display:flex;
  align-items:center;
  gap:11px;
  min-width:0;
  padding:0;
  color:#354456;
  font-size:14px;
  line-height:1.35;
}
.ghp-detail .ghp-features li:before{
  display:none !important;
  content:none !important;
}
.ghp-detail .ghp-features li .ghp-icon{
  width:21px;
  height:21px;
  flex-basis:21px;
  color:#1f3049;
}
.ghp-detail .ghp-features li span{
  min-width:0;
}

/* Mobile */
@media(max-width:900px){
  .ghp-detail .ghp-detail-specs,
  .ghp-detail .ghp-features{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}
@media(max-width:640px){
  .ghp-detail h1{
    font-size:clamp(24px,7vw,31px) !important;
  }
  .ghp-detail .ghp-detail-specs,
  .ghp-detail .ghp-features{
    grid-template-columns:1fr;
    gap:15px;
  }
  .ghp-main-features h2,
  .ghp-detail .ghp-section h2{
    font-size:22px;
  }
}


/* =========================================================
   v6.1.9 · Shortcode compacto para página de inicio
   ========================================================= */
.ghp-home-properties{
  width:100%;
  max-width:1220px;
  margin:0 auto;
}
.ghp-home-properties .ghp-grid{
  margin:0;
}
.ghp-home-properties .ghp-card{
  height:100%;
}
@media(max-width:900px){
  .ghp-home-properties .ghp-grid{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  }
}
@media(max-width:640px){
  .ghp-home-properties .ghp-grid{
    grid-template-columns:1fr !important;
  }
}


/* =========================================================
   v6.2.0 · Tarjetas compactas para página de inicio
   ========================================================= */
.ghp-home-properties{
  width:100% !important;
  max-width:1180px !important;
  margin:0 auto !important;
  padding:0 16px !important;
  box-sizing:border-box !important;
}
.ghp-home-properties .ghp-grid{
  display:grid !important;
  grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  gap:24px !important;
  align-items:stretch !important;
  width:100% !important;
  margin:0 !important;
}
.ghp-home-properties .ghp-card{
  width:100% !important;
  max-width:370px !important;
  min-width:0 !important;
  height:auto !important;
  margin:0 auto !important;
  border-radius:14px !important;
}
.ghp-home-properties .ghp-card-image{
  width:100% !important;
  aspect-ratio:4 / 3 !important;
  min-height:0 !important;
  max-height:270px !important;
  overflow:hidden !important;
  border-radius:13px 13px 0 0 !important;
}
.ghp-home-properties .ghp-card-image img{
  width:100% !important;
  height:100% !important;
  max-width:none !important;
  max-height:none !important;
  object-fit:cover !important;
  object-position:center center !important;
  display:block !important;
}
.ghp-home-properties .ghp-card-body{
  padding:15px 16px 17px !important;
}
.ghp-home-properties .ghp-card h3{
  margin:0 0 6px !important;
  font-size:17px !important;
  line-height:1.28 !important;
}
.ghp-home-properties .ghp-location{
  margin:0 0 10px !important;
  font-size:12px !important;
}
.ghp-home-properties .ghp-price{
  margin:0 0 10px !important;
  font-size:20px !important;
  line-height:1.2 !important;
}
.ghp-home-properties .ghp-card-topline{
  margin-bottom:6px !important;
  font-size:9px !important;
}
.ghp-home-properties .ghp-specs{
  display:flex !important;
  flex-wrap:wrap !important;
  gap:8px 13px !important;
  padding-top:10px !important;
  font-size:11px !important;
}
.ghp-home-properties .ghp-specs>span{
  display:inline-flex !important;
  align-items:center !important;
  gap:5px !important;
  width:auto !important;
  min-width:0 !important;
  font-size:11px !important;
}
.ghp-home-properties .ghp-specs .ghp-icon,
.ghp-home-properties svg.ghp-icon{
  width:16px !important;
  height:16px !important;
  min-width:16px !important;
  max-width:16px !important;
  min-height:16px !important;
  max-height:16px !important;
  flex:0 0 16px !important;
  display:inline-block !important;
}
.ghp-home-properties .ghp-specs strong{
  font-size:12px !important;
}
.ghp-home-properties .ghp-card-cta{
  margin-top:12px !important;
  font-size:11px !important;
}
.ghp-home-properties .ghp-card-cta span{
  font-size:16px !important;
}
.ghp-home-properties .ghp-badge{
  min-height:24px !important;
  padding:4px 8px !important;
  font-size:9px !important;
}
.ghp-home-properties .ghp-card-badges{
  top:10px !important;
  left:10px !important;
  right:10px !important;
}

@media(max-width:900px){
  .ghp-home-properties{
    max-width:780px !important;
  }
  .ghp-home-properties .ghp-grid{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:20px !important;
  }
  .ghp-home-properties .ghp-card{
    max-width:360px !important;
  }
}
@media(max-width:640px){
  .ghp-home-properties{
    max-width:390px !important;
    padding:0 12px !important;
  }
  .ghp-home-properties .ghp-grid{
    grid-template-columns:1fr !important;
    gap:18px !important;
  }
  .ghp-home-properties .ghp-card{
    max-width:360px !important;
  }
}
