/* Independent, shared listing facts and account favorites. */
.hs-listing-facts { display:flex; flex-wrap:wrap; align-items:center; gap:6px 12px; min-width:0; }
.hs-listing-fact { display:inline-flex; align-items:center; gap:6px; white-space:nowrap; }
.hs-listing-fact :is(svg,.hs-icon) { display:block; width:18px; height:18px; flex-shrink:0; color:#666; }
.hs-listing-facts--compact .hs-listing-fact { font-size:13px; font-weight:400; color:#666; }
.hs-listing-facts--compact .hs-listing-fact--price,
.hs-listing-facts--compact .hs-listing-fact--area { color:#247006; font-weight:700; font-size:15px; }
.hs-listing-facts--compact .hs-listing-fact--unit_price { font-size:12px; }
.hs-listing-facts--compact .hs-listing-fact i { color:#666; font-size:14px; }
.hslands-single-related-card .hslands-single-related-card__meta.hs-listing-facts { display:flex; flex-wrap:wrap; gap:6px 10px; }
.hslands-single-related-card .hs-listing-fact--unit_price { flex-basis:100%; }
.hs-listing-card-location { font-size:13px; color:#666; margin:8px 0; }
.hslands-project-product-card__footer { display:flex; align-items:center; justify-content:space-between; gap:12px; }
/* Preserve the former whole-card link without nesting the save button in it. */
.hslands-project-product-card { position:relative; }
.hslands-project-product-card__image::after { content:""; position:absolute; inset:0; z-index:1; }
.hslands-project-product-card .hs-favorite-button { position:relative; z-index:2; }
button.hs-favorite-button { display:inline-flex; align-items:center; justify-content:center; flex-shrink:0; width:36px; height:36px; min-height:36px; min-width:36px; padding:0; margin:0; border:1px solid #ddd; border-radius:5px; background:#fff; color:#666; box-shadow:none; line-height:1; letter-spacing:normal; text-transform:none; }
button.hs-favorite-button svg { width:21px; height:21px; flex-shrink:0; pointer-events:none; }
button.hs-favorite-button[aria-pressed="true"] { color:#247006; border-color:#b6d2aa; background:#edf5e9; }
button.hs-favorite-button[aria-pressed="true"] svg { fill:currentColor; }
button.hs-favorite-button:hover { color:#247006; border-color:#247006; background:#f5f9f3; }
button.hs-favorite-button:focus-visible,
.hs-favorites-header button:focus-visible,
.hs-favorites-dialog button:focus-visible,
.hs-favorites-dialog a:focus-visible { outline:2px solid #247006; outline-offset:3px; }
button.hs-favorite-button[aria-busy="true"] { opacity:.55; cursor:wait; }
button.hs-favorite-button--labeled { width:auto; gap:8px; padding:0 12px; margin-bottom:12px; font-size:13px; font-weight:500; }
#header li.hs-favorites-header { flex:0 0 auto; margin:0 8px 0 0; }
#header .hs-favorites-header button { position:relative; display:inline-flex; align-items:center; justify-content:center; width:36px; height:36px; min-height:36px; padding:0; margin:0; border:0; border-radius:5px; background:transparent; color:#444; box-shadow:none; }
#header .hs-favorites-header button:hover { color:#247006; background:#edf5e9; }
[data-hs-favorites-count]:not([hidden]) { position:absolute; right:-3px; top:-2px; display:grid; place-items:center; min-width:17px; height:17px; padding:0 3px; border-radius:10px; background:#247006; color:#fff; font-size:10px; line-height:1; }
html.hs-favorites-open { overflow:hidden; }
@media(max-width:849px) {
 #header .header-inner > .flex-left > .mobile-nav { position:static; }
 #header .mobile-nav li.hs-favorites-header { position:absolute; left:12px; top:50%; transform:translateY(-50%); margin:0; }
 #header .mobile-nav .hs-favorites-header button { width:44px; height:44px; min-height:44px; }
 #header:not(.hs-header-scroll) .header-inner { position:relative; }
 #header:not(.hs-header-scroll) .mobile-nav li:has(.icon-menu) { position:absolute; right:12px; top:50%; transform:translateY(-50%); margin:0; }
 #header:not(.hs-header-scroll) .mobile-nav a:has(.icon-menu) { display:inline-flex; align-items:center; justify-content:center; width:44px; min-height:44px; }
 #header:not(.hs-header-scroll) .icon-menu { font-size:24px; }
 #header:not(.hs-header-scroll) #logo { width:180px; max-width:calc(100% - 128px); }
 #header:not(.hs-header-scroll) #logo img { max-width:100%; max-height:44px; object-fit:contain; }
}
dialog.hs-favorites-dialog { padding:0; width:680px; max-width:calc(100vw - 32px); max-height:calc(100dvh - 48px); margin:auto; border:0; border-radius:10px; background:#fff; color:#333; box-shadow:0 12px 48px #0003; }
.hs-favorites-dialog::backdrop { background:#0006; }
.hs-favorites-dialog[open] { display:flex; flex-direction:column; }
.hs-favorites-dialog header { display:flex; align-items:center; justify-content:space-between; padding:18px 24px; border-bottom:1px solid #eee; flex-shrink:0; }
.hs-favorites-dialog h2 { margin:0; font-size:21px; line-height:1.4; font-weight:700; }
.hs-favorites-dialog h2 span { font-weight:400; font-size:15px; color:#666; }
.hs-favorites-dialog button { min-height:36px; margin:0; border:1px solid #ddd; border-radius:5px; background:#fff; color:#444; padding:6px 12px; font-size:13px; line-height:1.4; font-weight:500; letter-spacing:normal; text-transform:none; box-shadow:none; }
.hs-favorites-dialog button:hover { border-color:#247006; color:#247006; }
.hs-favorites-dialog [data-hs-favorites-close] { border:0; font-size:27px; width:36px; padding:0; }
.hs-favorites-dialog__intro { flex-shrink:0; padding:12px 24px 0; margin:0; font-size:13px; color:#666; }
.hs-favorites-dialog__body { overflow:auto; overscroll-behavior:contain; min-height:80px; padding:12px 24px 20px; }
.hs-favorites-dialog__body>p { margin:12px 0; font-size:14px; }
.hs-favorites-item { display:flex; align-items:flex-start; gap:12px; padding:16px 0; border-bottom:1px solid #eee; }
.hs-favorites-item:last-child { border-bottom:0; }
.hs-favorites-item>a { flex:0 0 88px; }
.hs-favorites-item img { width:88px; height:76px; display:block; object-fit:cover; border-radius:5px; }
.hs-favorites-item__copy { flex:1; min-width:0; font-size:14px; }
.hs-favorites-item__title { display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2; overflow:hidden; color:#222; font-weight:600; font-size:14px; line-height:1.5; margin-bottom:7px; }
.hs-favorites-item__copy p { font-size:12px; color:#777; margin:6px 0 0; }
.hs-favorites-item__remove { flex-shrink:0; }
.hs-favorites-dialog footer { display:flex; justify-content:space-between; align-items:center; gap:10px; padding:12px 24px; border-top:1px solid #eee; font-size:13px; flex-shrink:0; }
.hs-favorites-dialog footer[hidden] { display:none; }
.hs-favorites-dialog .hs-favorites-login { color:#fff; background:#247006; border-color:#247006; }
.hs-favorites-notice { position:fixed; z-index:999999; left:50%; bottom:100px; transform:translateX(-50%); max-width:calc(100vw - 32px); width:max-content; padding:12px 18px; border:1px solid #bad2ae; border-radius:6px; background:#edf5e9; color:#1b4b0a; font-size:14px; box-shadow:0 4px 18px #0002; }
.hs-favorites-notice.is-error { background:#fff3ee; border-color:#dfb8aa; color:#853b25; }
.hs-favorites-notice[hidden] { display:none; }
@media(max-width:549px) {
 #header li.hs-favorites-header { margin:0 3px 0 0; }
 dialog.hs-favorites-dialog { width:100%; max-width:100%; max-height:100dvh; height:100dvh; border-radius:0; }
 .hs-favorites-dialog header { padding:14px 16px; }
 .hs-favorites-dialog__intro { padding:12px 16px 0; }
 .hs-favorites-dialog__body { padding:8px 16px 16px; flex:1; }
 .hs-favorites-dialog footer { padding:12px 16px max(12px,env(safe-area-inset-bottom)); }
 .hs-favorites-item { gap:10px; flex-wrap:wrap; }
 .hs-favorites-item>a { flex-basis:64px; }
 .hs-favorites-item img { width:64px; height:64px; }
 .hs-favorites-item__remove { margin-left:auto!important; }
}
