/* Wishlist Heart Icon */
.hrck-wishlist-heart {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: none;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.2s ease;
    position: relative;
    z-index: 10;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.12);
}

.hrck-wishlist-heart:hover {
    transform: scale(1.1);
    background: #fff;
}

.hrck-wishlist-heart:active {
    transform: scale(0.95);
}

.hrck-heart-svg {
    width: 22px;
    height: 22px;
}

.hrck-heart-fill {
    fill: transparent;
    transition: fill 0.25s ease;
}

.hrck-heart-stroke {
    fill: none;
    stroke: #333;
    stroke-width: 2;
    transition: stroke 0.25s ease;
}

/* Active state */
.hrck-wishlist-heart.hrck-heart-active .hrck-heart-fill {
    fill: var(--hrck-heart-color, #ff385c);
}

.hrck-wishlist-heart.hrck-heart-active .hrck-heart-stroke {
    stroke: var(--hrck-heart-color, #ff385c);
}

/* Animate on toggle */
@keyframes hrck-heart-pop {
    0% { transform: scale(1); }
    25% { transform: scale(1.3); }
    50% { transform: scale(0.9); }
    100% { transform: scale(1); }
}

.hrck-wishlist-heart.hrck-heart-animating {
    animation: hrck-heart-pop 0.4s ease;
}

/* Save-style variant — icon + "SAVE" text link */
.hrck-wishlist-save {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0;
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: #222;
    text-decoration: none;
    line-height: 1;
    transition: opacity 0.2s ease;
    -webkit-user-select: none;
    user-select: none;
}

.hrck-wishlist-save:hover {
    opacity: 0.7;
}

.hrck-wishlist-save:active {
    opacity: 0.5;
}

.hrck-wishlist-save .hrck-save-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.hrck-wishlist-save .hrck-save-icon .hrck-heart-fill {
    fill: transparent;
    transition: fill 0.25s ease;
}

.hrck-wishlist-save .hrck-save-icon .hrck-heart-stroke {
    fill: none;
    stroke: #222;
    stroke-width: 2;
    transition: stroke 0.25s ease;
}

.hrck-wishlist-save .hrck-save-label {
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* Save-style active state */
.hrck-wishlist-save.hrck-heart-active .hrck-save-icon .hrck-heart-fill {
    fill: var(--hrck-heart-color, #ff385c);
}

.hrck-wishlist-save.hrck-heart-active .hrck-save-icon .hrck-heart-stroke {
    stroke: var(--hrck-heart-color, #ff385c);
}

.hrck-wishlist-save.hrck-heart-active .hrck-save-label {
    color: var(--hrck-heart-color, #ff385c);
}

/* Save-style pop animation */
.hrck-wishlist-save.hrck-heart-animating .hrck-save-icon {
    animation: hrck-heart-pop 0.4s ease;
}

/* Explorer card overlay positioning */
.homelocal-explorer-card .hrck-wishlist-heart,
.property-card .hrck-wishlist-heart {
    position: absolute;
    top: 10px;
    right: 10px;
}
