/* One saved-property collection for catalogue, home and property details. */
#hapen-favorites-panel{box-sizing:border-box;width:min(700px,calc(100% - 32px));max-width:700px;max-height:86svh;overflow:auto;padding:34px;border:1px solid var(--hapen-line);border-radius:6px;background:var(--hapen-cream);color:var(--hapen-green);font:15px/1.5 var(--hapen-font);box-shadow:0 24px 70px #071e1633}
#hapen-favorites-panel::backdrop{background:#102a23aa;backdrop-filter:none}
#hapen-favorites-panel .favorites-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}
#hapen-favorites-panel .favorites-head p{margin:0 0 6px;font-size:10px;letter-spacing:.18em;color:var(--hapen-muted)}
#hapen-favorites-panel h2{font:400 34px/1.2 var(--hapen-font);margin:0;color:var(--hapen-green)}
#hapen-favorites-panel button,#hapen-favorites-panel a{font-family:inherit}
#hapen-favorites-panel .favorites-close{display:grid;place-items:center;min-width:44px;height:44px;border:1px solid var(--hapen-line);border-radius:50%;background:transparent;color:var(--hapen-green);font:28px/1 var(--hapen-font);cursor:pointer;position:static}
#hapen-favorites-panel .favorites-intro{font-size:13px;color:var(--hapen-muted);margin:20px 0 26px;max-width:450px}
#hapen-favorites-panel .favorites-empty{padding:26px 0;font-size:16px;line-height:1.7;max-width:440px}
#hapen-favorites-panel .favorites-list{list-style:none;margin:0;padding:0}
#hapen-favorites-panel .saved-item{display:flex;align-items:center;gap:17px;padding:20px 0;border-top:1px solid var(--hapen-line)}
#hapen-favorites-panel .saved-index{font:24px var(--hapen-font);color:var(--hapen-gold-text)}
#hapen-favorites-panel .saved-item>div{flex:1;min-width:0}
#hapen-favorites-panel .saved-title{color:var(--hapen-green);font-size:16px;font-weight:600;text-decoration:none;overflow-wrap:anywhere}
#hapen-favorites-panel a.saved-title:hover{text-decoration:underline;text-underline-offset:4px}
#hapen-favorites-panel small{display:block;color:var(--hapen-muted);font-size:11px;margin-top:5px}
#hapen-favorites-panel .saved-remove{background:none;border:0;color:var(--hapen-muted);text-decoration:underline;font-size:12px;min-height:44px;padding:8px;cursor:pointer}
#hapen-favorites-panel .favorites-done{width:100%;min-height:48px;margin-top:24px;border:1px solid var(--hapen-green);background:var(--hapen-green);color:white;font-size:13px;font-weight:600;border-radius:3px;cursor:pointer}
#hapen-favorites-panel .favorites-storage{font-size:12px;background:#f6eddb;padding:12px}
.favorites-toast{position:fixed;bottom:26px;left:50%;transform:translateX(-50%);z-index:1000;background:var(--hapen-green);color:white;max-width:calc(100% - 30px);width:max-content;padding:14px 22px;border-radius:4px;text-align:center;font:13px/1.5 var(--hapen-font);box-shadow:0 4px 24px #0002}
.saved-button .favorites-label{font-size:12px;white-space:nowrap;margin:0 3px}.saved-button #saved-count{font-size:11px}
.catalog-favorite{width:40px;height:40px;min-height:40px;margin:0 0 6px auto;border:1px solid var(--hapen-line);border-radius:50%;display:grid;place-items:center;background:#fff;color:var(--hapen-green);cursor:pointer}.catalog-favorite svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}.catalog-favorite[aria-pressed=true]{background:var(--hapen-green);color:#fff;border-color:var(--hapen-green)}.catalog-favorite[aria-pressed=true] svg{fill:currentColor}.catalog-favorite:hover{border-color:var(--hapen-gold)}
@media(max-width:850px){.card-body{position:relative}.card-body .card-description{padding-right:40px}.card-body .catalog-favorite{position:absolute;right:16px;top:16px;margin:0}}
@media(max-width:600px){#hapen-favorites-panel{padding:24px 20px}#hapen-favorites-panel h2{font-size:29px}#hapen-favorites-panel .saved-item{gap:10px;align-items:flex-start}#hapen-favorites-panel .saved-title{font-size:14px}#hapen-favorites-panel .saved-remove{font-size:11px}.header-actions .saved-button .favorites-label{font-size:10px}.header-actions .saved-button{gap:3px}.header-actions .saved-button svg{width:20px}}
@media(max-width:380px){.header-actions .saved-button .favorites-label{max-width:55px;white-space:normal;line-height:1.2}}

#hapen-favorites-panel .favorites-share{display:grid;gap:12px;margin-top:24px}
#hapen-favorites-panel .favorites-share[hidden]{display:none}
#hapen-favorites-panel .favorites-share p{margin:0;font-size:13px;color:var(--hapen-muted)}
#hapen-favorites-panel .favorites-whatsapp{display:flex;align-items:center;justify-content:center;width:100%;min-height:48px;padding:12px 18px;border:1px solid var(--hapen-green);border-radius:3px;background:var(--hapen-green);color:#fff;font-size:13px;font-weight:600;line-height:1.5;text-align:center;text-decoration:none}
#hapen-favorites-panel .favorites-whatsapp:hover{background:var(--hapen-green)}
#hapen-favorites-panel .favorites-share:not([hidden])~.favorites-done{margin-top:12px;background:transparent;color:var(--hapen-green)}
#hapen-favorites-panel .favorites-whatsapp:focus-visible{outline:2px solid var(--hapen-gold);outline-offset:4px}
