/* Shared compact card used by home collections and related properties. */
.hp-card { display:flex; flex-direction:column; min-width:0; border:1px solid var(--sp-border); border-radius:7px; background:var(--sp-surface); overflow:hidden; }
.hp-card__media { position:relative; flex:none; aspect-ratio:2 / 1; overflow:hidden; }
.hp-card__image, .hp-card__image img { display:block; width:100%; height:100%; object-fit:cover; }
.hp-card__placeholder { display:grid; place-items:center; width:100%; height:100%; background:var(--sp-primary-soft); color:var(--sp-primary); font-size:3rem; }
.hp-card__badge { position:absolute; left:.75rem; top:.75rem; border-radius:3px; background:var(--sp-surface); color:var(--sp-heading); padding:.25rem .5rem; font-size:.8125rem; font-weight:700; }
.hp-card__save { position:absolute; right:.5rem; top:.375rem; display:grid; place-items:center; margin:0; color:var(--sp-on-primary); border-radius:50%; width:44px; height:44px; filter:drop-shadow(0 1px 3px #0009); }
.hp-card__save button { display:grid; place-items:center; border:0; background:transparent; color:var(--sp-on-primary); width:44px; height:44px; padding:0; cursor:pointer; }
.hp-card__save .sp-icon { width:1.75rem; height:1.75rem; stroke-width:2; }
.hp-card__save [aria-pressed=true] .sp-icon { fill:var(--sp-primary); }
.hp-card__photos { position:absolute; bottom:.5rem; left:.75rem; color:var(--sp-on-primary); background:#0009; border-radius:3px; padding:.125rem .375rem; font-size:.75rem; display:flex; align-items:center; gap:.25rem; }
.hp-card__body { display:flex; flex:1; flex-direction:column; padding:1rem; }
.hp-card .hp-card__price { font-size:clamp(1.5rem, 1.25rem + .5vw, 1.75rem); line-height:1.2; font-weight:800; letter-spacing:-.025em; overflow-wrap:anywhere; }
.hp-card h3 { font-size:1.0625rem; line-height:1.45; letter-spacing:-.015em; margin:.375rem 0; font-weight:700; overflow-wrap:anywhere; }
.hp-card h3 a { color:var(--sp-heading); }
.hp-card .hp-card__location { display:flex; gap:.375rem; align-items:flex-start; font-size:.875rem; line-height:1.5; color:var(--sp-muted); }
.hp-card__location > .sp-icon { color:var(--sp-heading); flex:none; margin-top:.125rem; }
.hp-card__specs { display:flex; flex-wrap:wrap; gap:.25rem .375rem; list-style:none; margin:.625rem 0 .75rem; padding:0; font-size:.875rem; line-height:1.5; color:var(--sp-muted); }
.hp-card__specs li + li::before { content:'·'; margin-right:.375rem; }
.hp-card__footer { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:.375rem .75rem; margin-top:auto; font-size:.875rem; line-height:1.5; }
.hp-card__footer > span { display:flex; align-items:center; gap:.375rem; }
.hp-card__footer > a { display:flex; align-items:center; gap:.375rem; font-weight:650; color:var(--sp-secondary); min-height:36px; }
.hp-card a { text-decoration:none; }.hp-card a:hover { text-decoration:underline; }.hp-card p { margin:0; }.hp-card .hp-card__price { color:var(--sp-heading); }
