.cards__view {
    position: relative;
}

.cards__favorite {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 4;
    width: 28px;
    height: 26px;
    border: none;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform .2s ease, opacity .2s ease;
}

.cards__favorite:hover {
    transform: translateY(-1px);
}

.cards__favorite svg,
.cards__favorite path {
    transition: transform .2s ease, fill .2s ease, stroke .2s ease;
}

.cards__favorite.is-favorited svg {
    transform: scale(1.06);
}

.cards__favorite.is-loading {
    opacity: .7;
    pointer-events: none;
}

.cards__location-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    margin-top: 6px;
}

.cards__location-badge img {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.cards__location-badge--city {
    background: #e6f9ee;
    color: #1b7a3d;
}

.cards__location-badge--country {
    background: #e8f0fe;
    color: #1a56db;
}

.cards__location-badge--out-of-region {
    background: #fff3e6;
    color: #b45309;
}
