.df-renter-favorite-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 14px;
}

.df-renter-favorite-card {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(45, 28, 15, .08);
    border-radius: 8px;
    background: rgba(255, 255, 255, .72);
    box-shadow: 0 14px 34px rgba(45, 28, 15, .06);
    transition: opacity .22s ease, transform .22s ease;
}

.df-renter-favorite-card.is-removing {
    opacity: 0;
    transform: scale(.985);
}

.df-renter-favorite-media {
    display: block;
    color: inherit;
    text-decoration: none;
}

.df-renter-favorite-card img {
    width: 100%;
    aspect-ratio: 1 / .72;
    object-fit: cover;
}

.df-renter-favorite-body {
    display: grid;
    gap: 8px;
    padding: 12px;
}

.df-renter-favorite-card strong {
    overflow: hidden;
    font-size: 15px;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.df-renter-favorite-location {
    color: var(--color-muted);
    font-size: 12px;
    font-weight: 800;
}

.df-renter-favorite-meta,
.df-renter-favorite-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.df-renter-favorite-meta span {
    padding: 5px 8px;
    border-radius: 999px;
    background: rgba(45, 28, 15, .05);
    color: var(--color-muted);
    font-size: 11px;
    font-weight: 900;
}

.df-renter-favorite-actions {
    margin-top: 3px;
}

.df-renter-favorite-actions a {
    color: var(--color-primary);
    font-size: 12px;
    font-weight: 900;
    text-decoration: none;
}

.df-renter-favorite-actions a:first-child {
    color: var(--color-text);
}

.df-renter-favorite-actions a:hover {
    text-decoration: underline;
}

.df-favorite-toggle.is-compact {
    position: absolute;
    top: 8px;
    right: 8px;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .9);
    color: var(--color-text);
    text-decoration: none;
    box-shadow: 0 10px 24px rgba(45, 28, 15, .12);
}

.df-favorite-toggle.is-compact strong {
    display: none !important;
}

.df-favorite-toggle.is-compact span {
    margin: 0;
    font-size: 22px;
    line-height: 1;
}

.df-favorite-toggle.is-active span {
    color: #9b2f24;
}
